1 2005-11-04 Edward Hervey <edward@fluendo.com>
3 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4 Check if we are doing a segment seek and have arrived at the
7 2005-11-04 Wim Taymans <wim@fluendo.com>
9 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10 Don't leak a mutex unlock in case of an error.
15 2005-11-04 Wim Taymans <wim@fluendo.com>
17 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19 Get the context to wake up only once.
21 2005-11-03 Wim Taymans <wim@fluendo.com>
23 * check/states/sinks.c: (GST_START_TEST):
24 Uncomment fixed check.
26 * docs/design/part-TODO.txt:
29 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
30 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
31 (gst_base_sink_get_position):
32 If we are going to PLAYING, post the right pending state
33 when we post the intermediate paused message.
35 * gst/gstelement.c: (gst_element_continue_state),
36 (gst_element_set_state_func), (gst_element_change_state):
37 Don't post state changes that were between the same state
40 2005-11-03 Stefan Kost <ensonic@users.sf.net>
42 * docs/gst/gstreamer-sections.txt:
45 * gst/gstminiobject.h:
48 more docs and doc style fixes
50 2005-11-03 Stefan Kost <ensonic@users.sf.net>
52 * docs/gst/gstreamer-sections.txt:
54 * gst/gstminiobject.c:
57 2005-11-03 Andy Wingo <wingo@pobox.com>
59 * check/states/sinks.c (test_livesrc_sink): Add checks that the
60 state-changed messages actually have the right order and the right
63 2005-11-03 Wim Taymans <wim@fluendo.com>
65 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
66 Added some more checks. Specifically the case where NO_PREROLL
67 elements are in the pipeline.
69 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
70 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
71 (gst_base_sink_get_position):
72 Post READY->PAUSED state change messages too.
73 Fix bug where VOID was posted as pending state...
75 * gst/gstbin.c: (gst_bin_recalc_state):
76 use _element_continue_state() to continue the state change.
78 * gst/gstelement.c: (gst_element_continue_state),
79 (gst_element_commit_state), (gst_element_set_state_func),
80 (gst_element_change_state), (gst_element_change_state_func):
81 Lots of state change cleanups, assign the STATE_RETURN in
82 a new continue_state() function that also propagates the
83 last return value from a state change to the app.
84 Update some debug statements with proper category.
86 2005-11-03 Wim Taymans <wim@fluendo.com>
88 * docs/design/part-events.txt:
89 * docs/design/part-gstpipeline.txt:
90 * docs/design/part-messages.txt:
91 * docs/design/part-overview.txt:
92 * docs/design/part-seeking.txt:
93 * docs/design/part-states.txt:
94 * docs/design/part-trickmodes.txt:
95 * docs/manual/advanced-position.xml:
99 People think !! is ugly, this looks better.
101 * gst/gstpad.c: (gst_pad_set_blocked_async):
102 Remove !! since it's fixed elsewhere now.
104 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
106 * gst/gstminiobject.h:
108 Add !! to _FLAG_IS_SET macros to make the result boolean.
110 2005-11-03 Edward Hervey <edward@fluendo.com>
112 * gst/gstpad.c: (gst_pad_set_blocked_async):
113 comparing a flag and a gboolean rarely returns coherent results...
114 Added two characters (!!) to make that work correctly.
116 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
118 * gst/gstbus.c: (gst_bus_class_init):
121 * gst/gstqueue.c: (gst_queue_loop):
122 Don't assume a miniobject that isn't a buffer is an
123 event (it could be that there is a refcounting
124 problem somewhere and the pointer is stale and
125 refers to an already destroyed miniobject).
127 2005-11-03 Julien MOUTTE <julien@moutte.net>
129 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
131 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
133 * docs/manual/advanced-position.xml:
134 Update seek example and explanations to current 0.9 API.
136 * gst/elements/gsttypefindelement.c:
137 (gst_type_find_element_activate):
138 Remove FIXME comment now that the found caps
141 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
143 * gst/gstregistryxml.c: (load_feature):
144 Add another GST_STR_NULL instance
146 2005-11-02 Edward Hervey <edward@fluendo.com>
148 * gst/gstpad.c: (handle_pad_block):
149 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
151 2005-11-02 Wim Taymans <wim@fluendo.com>
156 * gst/gstelement.c: (gst_element_commit_state):
160 Mention that the returned element is reffed in the docs.
162 2005-11-02 Wim Taymans <wim@fluendo.com>
164 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
165 (gst_pad_push), (gst_pad_push_event):
166 Unlock blocked pads when they are flushed.
168 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
171 * docs/gst/gstreamer-sections.txt:
174 * gst/gstregistry.c: (gst_registry_scan_path_level):
175 fix for a nasty little missed situation where an installed plug-in
176 which was in the cache did not get overridden by an uninstalled one
177 which was earlier in the plugin path because the newly created plugin
178 for the uninstalled one (not in the registry) didn't get its
179 ->registered set to TRUE
181 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
183 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
184 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
185 (gst_collectpads_is_active), (gst_collectpads_collect),
186 (gst_collectpads_collect_range), (gst_collectpads_start),
187 (gst_collectpads_stop), (gst_collectpads_peek),
188 (gst_collectpads_pop), (gst_collectpads_available),
189 (gst_collectpads_read), (gst_collectpads_flush):
190 Guard public API with assertions.
193 Fix docs for gst_pad_set_link_function().
195 2005-11-02 Johan Dahlin <johan@gnome.org>
197 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
198 Unref found_caps after we used it.
200 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
202 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
203 Don't try to ref NULL.
205 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
207 * win32/common/config.h.in:
208 provide a GST_FUNCTION that just gives a string for now
210 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
212 * win32/common/gstenumtypes.c: (register_gst_object_flags),
213 (gst_object_flags_get_type), (register_gst_bin_flags),
214 (gst_bin_flags_get_type), (register_gst_buffer_flag),
215 (gst_buffer_flag_get_type), (register_gst_bus_flags),
216 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
217 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
218 (gst_clock_return_get_type), (register_gst_clock_entry_type),
219 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
220 (gst_clock_flags_get_type), (register_gst_state),
221 (gst_state_get_type), (register_gst_state_change_return),
222 (gst_state_change_return_get_type), (register_gst_state_change),
223 (gst_state_change_get_type), (register_gst_element_flags),
224 (gst_element_flags_get_type), (register_gst_core_error),
225 (gst_core_error_get_type), (register_gst_library_error),
226 (gst_library_error_get_type), (register_gst_resource_error),
227 (gst_resource_error_get_type), (register_gst_stream_error),
228 (gst_stream_error_get_type), (register_gst_event_type),
229 (gst_event_type_get_type), (register_gst_seek_type),
230 (gst_seek_type_get_type), (register_gst_seek_flags),
231 (gst_seek_flags_get_type), (register_gst_format),
232 (gst_format_get_type), (register_gst_index_certainty),
233 (gst_index_certainty_get_type), (register_gst_index_entry_type),
234 (gst_index_entry_type_get_type),
235 (register_gst_index_lookup_method),
236 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
237 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
238 (gst_index_resolver_method_get_type), (register_gst_index_flags),
239 (gst_index_flags_get_type), (register_gst_debug_level),
240 (gst_debug_level_get_type), (register_gst_debug_color_flags),
241 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
242 (gst_iterator_result_get_type), (register_gst_iterator_item),
243 (gst_iterator_item_get_type), (register_gst_message_type),
244 (gst_message_type_get_type), (register_gst_mini_object_flags),
245 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
246 (gst_pad_link_return_get_type), (register_gst_flow_return),
247 (gst_flow_return_get_type), (register_gst_activate_mode),
248 (gst_activate_mode_get_type), (register_gst_pad_direction),
249 (gst_pad_direction_get_type), (register_gst_pad_flags),
250 (gst_pad_flags_get_type), (register_gst_pad_presence),
251 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
252 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
253 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
254 (gst_plugin_error_get_type), (register_gst_plugin_flags),
255 (gst_plugin_flags_get_type), (register_gst_rank),
256 (gst_rank_get_type), (register_gst_query_type),
257 (gst_query_type_get_type), (register_gst_tag_merge_mode),
258 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
259 (gst_tag_flag_get_type), (register_gst_task_state),
260 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
261 (gst_alloc_trace_flags_get_type),
262 (register_gst_type_find_probability),
263 (gst_type_find_probability_get_type), (register_gst_uri_type),
264 (gst_uri_type_get_type), (register_gst_parse_error),
265 (gst_parse_error_get_type):
266 * win32/common/gstversion.h:
269 2005-11-01 Luca Ognibene <luogni@tin.it>
272 fix docs. popt is dead, long live GOption.
274 2005-10-31 Wim Taymans <wim@fluendo.com>
279 2005-10-31 Andy Wingo <wingo@pobox.com>
283 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
285 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
286 need to serialize property notifications on GLib 2.8. GLib 2.6 has
287 the possibility of deadlocks here if code calling notify() or
288 set() has a lock that can be taken in another notify handler (ABBA
289 with class lock and e.g. python GIL state lock).
291 2005-10-28 Julien MOUTTE <julien@moutte.net>
293 * gst/gstbus.c: Doc updates.
295 2005-10-28 Wim Taymans <wim@fluendo.com>
297 * docs/design/part-TODO.txt:
299 * gst/gstsystemclock.c:
300 * gst/gstsystemclock.h:
303 2005-10-28 Edward Hervey <edward@fluendo.com>
305 * docs/gst/gstreamer-docs.sgml:
306 * docs/gst/gstreamer-sections.txt:
307 the GstURIType documentation page is private, it only defines GstURIType
308 which should be defined in the GstURIHandler page
310 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
312 * gst/gstbin.c: (gst_bin_class_init):
315 Documentation updates.
317 2005-10-28 Wim Taymans <wim@fluendo.com>
319 * docs/gst/gstreamer-sections.txt:
322 Documented the clocks.
324 2005-10-28 Stefan Kost <ensonic@users.sf.net>
326 * docs/gst/gstreamer-sections.txt:
327 move some macros to private sections
328 * gst/gstminiobject.c:
329 * gst/gstminiobject.h:
330 add descriptions provided by ds and some more
332 mark macro as to be removed
334 2005-10-28 Wim Taymans <wim@fluendo.com>
336 * docs/design/part-TODO.txt:
339 * gst/gstiterator.c: (gst_iterator_fold),
340 (gst_iterator_find_custom):
344 2005-10-28 Wim Taymans <wim@fluendo.com>
346 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
347 (gst_base_transform_init):
350 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
351 An EOS event marks the queue as completely filled.
353 2005-10-27 Wim Taymans <wim@fluendo.com>
355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
356 (gst_base_sink_do_sync), (gst_base_sink_get_position):
359 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
360 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
361 (gst_base_transform_event), (gst_base_transform_getrange),
362 (gst_base_transform_chain):
363 * gst/base/gstbasetransform.h:
365 Protect transform and concurrent buffer alloc with a new lock.
366 Try not to break ABI/API.
368 2005-10-27 Wim Taymans <wim@fluendo.com>
370 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
371 (gst_base_src_init), (gst_base_src_query),
372 (gst_base_src_default_newsegment),
373 (gst_base_src_configure_segment), (gst_base_src_do_seek),
374 (gst_base_src_send_event), (gst_base_src_event_handler),
375 (gst_base_src_pad_get_range), (gst_base_src_loop),
376 (gst_base_src_unlock), (gst_base_src_default_negotiate),
377 (gst_base_src_start), (gst_base_src_deactivate),
378 (gst_base_src_activate_push), (gst_base_src_change_state):
379 Move some stuff around and cleanup things.
381 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
383 * gst/base/gstbasesrc.c: (gst_base_src_query):
384 Add missing break statements.
386 2005-10-27 Wim Taymans <wim@fluendo.com>
388 * check/gst/gstbin.c: (GST_START_TEST):
389 An extra refcount is taken in basesrc.
391 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
392 (gst_base_src_get_range), (gst_base_src_pad_get_range),
394 Small cleanups, check for flushing after being unlocked from the
395 LIVE_LOCK. take refcounts correctly (not yet everywhere).
396 Don't send out EOS when going to READY.
398 2005-10-27 Wim Taymans <wim@fluendo.com>
400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
401 (gst_base_sink_get_position):
404 * gst/gstbin.c: (message_check), (bin_replace_message),
405 (bin_remove_messages), (is_eos), (gst_bin_add_func),
406 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
407 (bin_query_duration_init), (bin_query_duration_fold),
408 (bin_query_duration_done), (bin_query_generic_fold),
410 * tools/gst-launch.c: (main):
413 2005-10-26 Stefan Kost <ensonic@users.sf.net>
415 * examples/controller/audio-example.c: (main):
416 * examples/queue/queue.c: (event_loop):
417 * gst/base/gstbasetransform.h:
418 * gst/gstelement.c: (gst_element_send_event):
420 * gst/gstpad.c: (gst_pad_send_event):
423 changing log priority in error situations
425 2005-10-25 Wim Taymans <wim@fluendo.com>
427 * gst/gstbin.c: (message_check), (bin_replace_message),
428 (bin_remove_messages), (is_eos), (gst_bin_add_func),
429 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
430 (bin_query_duration_init), (bin_query_duration_fold),
431 (bin_query_duration_done), (bin_query_generic_fold),
433 Some doc and debug updates.
434 Cache previously requested query DURATION for speed. invalidate
435 cached duration if element posts a DURATION message.
437 2005-10-25 Wim Taymans <wim@fluendo.com>
439 * docs/design/part-TODO.txt:
442 * gst/gstbin.c: (message_check), (bin_replace_message),
443 (bin_remove_messages), (is_eos), (gst_bin_add_func),
444 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
445 (bin_query_duration_init), (bin_query_duration_fold),
446 (bin_query_duration_done), (bin_query_generic_fold),
448 Handle SEGMENT_START/DONE messages correctly.
449 More evolved query algorithm that handles duration queries
452 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
453 (gst_element_get_state_func), (gst_element_abort_state),
454 (gst_element_commit_state), (gst_element_lost_state):
460 2005-10-25 Wim Taymans <wim@fluendo.com>
462 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
463 Don't use invalid stream_time.
465 * gst/gstevent.c: (gst_event_new_newsegment):
466 stream_time in newsegment cannot be undefined.
468 2005-10-24 Wim Taymans <wim@fluendo.com>
473 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
475 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
477 2005-10-24 Stefan Kost <ensonic@users.sf.net>
479 * docs/libs/tmpl/gstdparam.sgml:
480 * docs/libs/tmpl/gstdplinint.sgml:
481 * docs/libs/tmpl/gstdpman.sgml:
482 * docs/libs/tmpl/gstdpsmooth.sgml:
483 * docs/libs/tmpl/gstunitconvert.sgml:
486 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
491 === release 0.9.4 ===
493 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
496 releasing 0.9.4, "Tyrannosaurus Rex"
498 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
500 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
501 (gst_file_sink_get_current_offset):
502 Use fseeko() and ftello() if available. When falling back on
503 lseek() to get the current offset, fflush() first to make sure
504 everything is up-to-date and we get the right offset.
506 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
508 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
509 * gst/base/gstbasesrc.c: (gst_base_src_loop):
510 * gst/gsterror.c: (_gst_stream_errors_init):
512 * gst/gstqueue.c: (gst_queue_loop):
514 remove prematurely added error category and clean up the instances
516 2005-10-21 Wim Taymans <wim@fluendo.com>
518 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
519 (gst_base_sink_get_position), (gst_base_sink_query),
520 (gst_base_sink_change_state):
521 Simply set the right flag when going to playing, that's all
522 we need to do instead of calling a function inside the object
523 lock (that could take the lock as well and deadlock)
525 2005-10-21 Wim Taymans <wim@fluendo.com>
527 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
529 Don't warn, the peer element knows what to do best when
530 the seek failed, it might try something else.
532 2005-10-21 Wim Taymans <wim@fluendo.com>
534 * gst/base/gstbasesrc.c: (gst_base_src_init),
535 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
538 2005-10-21 Wim Taymans <wim@fluendo.com>
540 * docs/design/part-segments.txt:
543 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
544 Correctly set caps, even on the subbufer.
546 2005-10-21 Wim Taymans <wim@fluendo.com>
548 * docs/gst/gstreamer-docs.sgml:
549 * docs/gst/gstreamer-sections.txt:
556 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
560 And 2% more doc coverage.
562 2005-10-21 Andy Wingo <wingo@pobox.com>
564 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
567 2005-10-20 Wim Taymans <wim@fluendo.com>
569 * gst/gsterror.c: (gst_error_get_message):
572 * gst/gststructure.c:
577 2005-10-20 Wim Taymans <wim@fluendo.com>
582 Another 1% more coverage.
584 2005-10-20 Wim Taymans <wim@fluendo.com>
586 * docs/gst/gstreamer-sections.txt:
587 * gst/gstelement.c: (gst_element_get_state_func),
588 (gst_element_abort_state), (gst_element_commit_state),
589 (gst_element_lost_state):
591 * gst/gstquery.c: (gst_query_set_position),
592 (gst_query_parse_position), (gst_query_set_duration),
593 (gst_query_parse_duration), (gst_query_new_convert):
595 Yay! 1% more docs coverage.
597 2005-10-20 Wim Taymans <wim@fluendo.com>
600 * gst/gstquery.c: (gst_query_set_position),
601 (gst_query_parse_position), (gst_query_set_duration),
602 (gst_query_parse_duration), (gst_query_new_convert):
604 * gst/gstutils.c: (gst_element_query_convert):
606 Docs and consistency fixes.
608 2005-10-20 Wim Taymans <wim@fluendo.com>
614 2005-10-20 Wim Taymans <wim@fluendo.com>
616 * gst/gstbin.c: (message_check), (bin_replace_message),
617 (bin_remove_messages), (is_eos), (gst_bin_add_func),
618 (update_degree), (gst_bin_sort_iterator_next),
619 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
620 Reworked the message handling a bit, cache the messages instead of
621 only the senders. alows us to do more in the future.
623 2005-10-20 Wim Taymans <wim@fluendo.com>
625 * docs/design/part-TODO.txt:
628 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
629 (gst_base_sink_query):
630 Don't use clock time to report position when in EOS.
632 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
634 * tools/gst-inspect.c: (print_interfaces),
635 (print_element_properties_info), (print_element_info):
636 Fix interface output with gst-inspect -a; don't print
637 newlines after double/float properties.
639 2005-10-20 Wim Taymans <wim@fluendo.com>
641 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
642 (gst_base_sink_query):
643 Speed up current position calculation.
645 * gst/base/gstbasesrc.c: (gst_base_src_query),
646 (gst_base_src_default_newsegment):
647 Correctly set stream position in newsegment.
649 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
650 (update_degree), (gst_bin_sort_iterator_next),
651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
652 * gst/gstmessage.c: (gst_message_new_custom):
653 Clean up debugging info
655 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
656 (gst_queue_loop), (gst_queue_handle_src_query):
659 2005-10-19 Wim Taymans <wim@fluendo.com>
661 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
662 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
663 Fix query handling again.
665 2005-10-19 Wim Taymans <wim@fluendo.com>
667 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
668 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
669 * gst/base/gstbasesrc.c: (gst_base_src_query):
670 * gst/elements/gstfilesink.c: (gst_file_sink_query):
671 * gst/elements/gsttypefindelement.c:
672 (gst_type_find_handle_src_query), (find_element_get_length),
673 (gst_type_find_element_activate):
676 * gst/gstquery.c: (gst_query_new_position),
677 (gst_query_set_position), (gst_query_parse_position),
678 (gst_query_new_duration), (gst_query_set_duration),
679 (gst_query_parse_duration), (gst_query_set_segment),
680 (gst_query_parse_segment):
682 Bundling query position/duration is not a good idea since duration
683 does not change much and we don't want to recalculate it for every
684 position query, so they are separated again..
685 Base value in segment query is not needed.
687 * gst/gstqueue.c: (gst_queue_handle_src_query):
688 * gst/gstutils.c: (gst_element_query_position),
689 (gst_element_query_duration), (gst_pad_query_position),
690 (gst_pad_query_duration):
692 Updates for query API change.
693 Added some docs here and there.
695 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
697 * check/gst/gstbin.c: (GST_START_TEST):
698 * check/gst/gstghostpad.c: (GST_START_TEST):
699 * check/pipelines/cleanup.c: (GST_START_TEST):
700 wait on thread to die so we can check refcount correctly
702 2005-10-18 Wim Taymans <wim@fluendo.com>
704 * check/pipelines/stress.c: (GST_START_TEST):
705 Make check a little more time consuming.
707 2005-10-18 Wim Taymans <wim@fluendo.com>
710 * check/pipelines/stress.c: (GST_START_TEST),
711 (simple_launch_lines_suite), (main):
712 Small state change torture test.
714 * docs/design/part-states.txt:
715 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
716 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
717 (gst_base_sink_change_state):
718 Never take state lock from streaming thread, clean up ugly
719 hacks. Unfortunatly core does not yet support nice ways to
722 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
724 Start state recalc if a STATE_DIRTY message is posted, but only
727 * gst/gstelement.c: (gst_element_sync_state_with_parent),
728 (gst_element_get_state_func), (gst_element_abort_state),
729 (gst_element_commit_state), (gst_element_lost_state),
730 (gst_element_set_state_func), (gst_element_change_state):
732 State variables are now protected with the LOCK, the state
733 lock is only used to serialize _set_state().
735 2005-10-18 Wim Taymans <wim@fluendo.com>
737 * check/gst/gstbin.c: (GST_START_TEST):
738 * check/gst/gstmessage.c: (GST_START_TEST):
739 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
740 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
742 * gst/gstelement.c: (gst_element_abort_state),
743 (gst_element_commit_state), (gst_element_lost_state):
744 * gst/gstmessage.c: (gst_message_new_state_changed),
745 (gst_message_new_state_dirty), (gst_message_new_segment_start),
746 (gst_message_new_segment_done), (gst_message_new_duration),
747 (gst_message_parse_state_changed),
748 (gst_message_parse_segment_start),
749 (gst_message_parse_segment_done), (gst_message_parse_duration):
751 * tools/gst-launch.c: (event_loop):
752 Seriously, this is better than a previous commit as we only need
753 to notify the fact that an element changed state in a streaming
754 thread, marking the state of the parents dirty, hence the
755 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
758 2005-10-18 Wim Taymans <wim@fluendo.com>
760 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
761 (gst_bin_recalc_func):
762 * gst/gstelement.c: (gst_element_set_clock),
763 (gst_element_abort_state), (gst_element_lost_state):
764 Cleanups, prepare for state change fixes.
766 2005-10-18 Wim Taymans <wim@fluendo.com>
769 * gst/gstelement.c: (gst_element_class_init),
770 (gst_element_set_state), (gst_element_set_state_func):
773 GThreadPool in GstBinClass to monitor async state changes.
774 state_cookie in GstElement to detect concurrent gst/set state.
775 set_state is now virtual too in case a very complicated element
776 has to be constructed.
778 2005-10-18 Wim Taymans <wim@fluendo.com>
780 * check/gst/gstbin.c: (GST_START_TEST):
781 * check/gst/gstmessage.c: (GST_START_TEST):
782 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
783 * gst/gstbin.c: (bin_bus_handler):
784 * gst/gstelement.c: (gst_element_commit_state),
785 (gst_element_lost_state):
786 * gst/gstmessage.c: (gst_message_new_state_changed),
787 (gst_message_new_segment_start), (gst_message_new_segment_done),
788 (gst_message_new_duration), (gst_message_parse_state_changed),
789 (gst_message_parse_segment_start),
790 (gst_message_parse_segment_done), (gst_message_parse_duration):
792 * tools/gst-launch.c: (event_loop):
793 Make messages future proof.
794 state-change gets a flag if it was a message comming from the
796 segment-start/stop can also be specified in other formats.
797 A message to notify an app that a pipeline changed playback
799 Also fix a GstMessage leak in -launch
801 2005-10-18 Andy Wingo <wingo@pobox.com>
803 * gst/gstelement.c (gst_element_dispose): More helpful message.
805 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
807 * gst/gstregistry.c: (gst_registry_scan_path_level):
808 unref a plug-in we get that was already initialized
810 2005-10-18 Stefan Kost <ensonic@users.sf.net>
812 * docs/gst/gstreamer-sections.txt:
813 * docs/libs/gstreamer-libs-sections.txt:
818 2005-10-17 Andy Wingo <wingo@pobox.com>
820 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
823 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
825 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
827 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
828 (gst_element_get_state_func): Better debug message.
829 (gst_element_commit_state): s/INFO/DEBUG/.
830 (gst_element_lost_state, gst_element_change_state):
832 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
833 (gst_message_new_custom): s/INFO/LOG/.
835 2005-10-17 Michael Smith <msmith@fluendo.com>
837 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
838 Check if end time is valid using end time, not start time.
840 2005-10-17 Stefan Kost <ensonic@users.sf.net>
842 * check/gst-libs/controller.c: (GST_START_TEST),
843 (gst_controller_suite):
844 * libs/gst/controller/gstcontroller.c:
845 (gst_controlled_property_set_interpolation_mode):
846 * libs/gst/controller/gstcontroller.h:
847 * libs/gst/controller/gstinterpolation.c:
848 * testsuite/controller/.cvsignore:
849 * testsuite/controller/Makefile.am:
850 * testsuite/controller/interpolator.c:
851 merge controller testsuites
853 remove mem-chunk from docs
855 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
859 * gst/gsttrashstack.c:
860 * gst/gsttrashstack.h:
861 out. get out. you're fired. to the Attic !
863 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
865 * gst/gstcaps.c: (gst_caps_intersect):
866 fix signedness issues in a (hopefully) correct way
867 * gst/gstelement.c: (gst_element_pads_activate):
869 * gst/gstobject.c: (gst_object_set_parent):
872 2005-10-17 Julien MOUTTE <julien@moutte.net>
874 * gst/gstvalue.h: Fix prototypes.
876 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
878 * docs/gst/gstreamer-sections.txt:
879 * gst/gst.c: (gst_version_string):
881 * gst/gstversion.h.in:
882 * win32/common/libgstreamer.def:
883 add gst_version_string ()
885 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
889 * gst/gst.c: (init_post):
890 * win32/common/config.h.in:
892 * gst/gstcaps.c: (gst_caps_intersect):
893 use gint64, the range could be bigger than a guint
895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
898 document potential problem in 2038
900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
902 * gst/gstcaps.c: (gst_caps_intersect):
903 Fix guint j diving under 0
905 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
908 * win32/common/config.h:
909 * win32/common/config.h.in:
910 check for process.h, declares getpid() on Windows
912 include process.h if we have it
913 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
915 fix signedness issues
916 * win32/common/libgstreamer.def:
919 2005-10-16 Julien MOUTTE <julien@moutte.net>
921 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
922 fix. Because of unsigned ints, caps intersection was going nuts and
923 trying to access structures with G_MAXUINT index. That fixes
924 videotestsrc ! ffmpegcolorspace ! fakesink
925 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
928 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
931 use the gettext macro
932 * gst/elements/gstelements.c:
934 * gst/indexers/gstindexers.c:
935 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
936 * win32/common/config.h:
938 * win32/common/config.h.in:
939 add the template to generate config.h
940 * win32/common/gstenumtypes.c:
941 * win32/common/gstversion.h:
944 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
946 * gst/gst.c: (gst_version):
947 * gst/gstversion.h.in:
950 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
953 Oops, add missing closing bracket.
955 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
958 use common m4's for argument checking
960 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
962 * docs/gst/gstreamer-sections.txt:
964 Add GST_EVENT_TYPE_NAME() macro.
966 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
969 * gst/gstpluginfeature.c:
971 privatize more symbols
973 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
976 add srcdir, builddir includes to GST_ALL_CFLAGS, since
977 everything that uses GStreamer API should have the includes
979 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
981 * docs/gst/gstreamer-sections.txt:
982 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
984 give each value a _get_type, removes the DATA exports
986 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
990 remove _gst_registry_auto_load, not used anymore
991 * gst/gstbin.c: (gst_bin_get_type):
993 * gst/gstelement.c: (gst_element_get_type):
995 * gst/gstobject.c: (gst_object_get_type):
997 * gst/gstpad.c: (gst_pad_get_type):
999 make _get_type functions similar, fixes data export from library
1001 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1004 correctly make conditionals
1005 * gst/elements/Makefile.am:
1006 * gst/elements/gstelements.c:
1007 fix typo causing fdsrc not to build
1009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1011 * testsuite/Makefile.am:
1012 * testsuite/bytestream/.cvsignore:
1013 * testsuite/bytestream/Makefile.am:
1014 * testsuite/bytestream/filepadsink.c:
1015 * testsuite/bytestream/gstbstest.c:
1016 * testsuite/bytestream/test1.c:
1017 * testsuite/bytestream/testfile1:
1018 * testsuite/caps/normalisation.c:
1019 * testsuite/caps/random.c: (main):
1020 * testsuite/cleanup/.cvsignore:
1021 * testsuite/cleanup/Makefile.am:
1022 * testsuite/cleanup/cleanup1.c:
1023 * testsuite/cleanup/cleanup2.c:
1024 * testsuite/cleanup/cleanup3.c:
1025 * testsuite/cleanup/cleanup4.c:
1026 * testsuite/cleanup/cleanup5.c:
1027 * testsuite/controller/interpolator.c:
1028 * testsuite/debug/printf_extension.c: (main):
1029 * testsuite/elements/tee.c:
1030 * testsuite/negotiation/.cvsignore:
1031 * testsuite/negotiation/Makefile.am:
1032 * testsuite/negotiation/pad_link.c:
1033 * testsuite/pad/Makefile.am:
1034 * testsuite/pad/chainnopull.c:
1035 * testsuite/pad/getnopush.c:
1036 * testsuite/pad/link.c:
1037 * testsuite/refcounting/sched.c: (create_pipeline):
1038 * testsuite/registry/Makefile.am:
1039 * testsuite/registry/gst-print-formats.c:
1040 * testsuite/schedulers/.cvsignore:
1041 * testsuite/schedulers/142183-2.c:
1042 * testsuite/schedulers/142183.c:
1043 * testsuite/schedulers/143777-2.c:
1044 * testsuite/schedulers/143777.c:
1045 * testsuite/schedulers/147713.c:
1046 * testsuite/schedulers/147819.c:
1047 * testsuite/schedulers/147894-2.c:
1048 * testsuite/schedulers/147894.c:
1049 * testsuite/schedulers/Makefile.am:
1050 * testsuite/schedulers/group_link.c:
1051 * testsuite/schedulers/queue_link.c:
1052 * testsuite/schedulers/relink.c:
1053 * testsuite/schedulers/unlink.c:
1054 * testsuite/schedulers/unref.c:
1055 * testsuite/schedulers/useless_iteration.c:
1056 * testsuite/states/bin.c:
1057 clean out/remove some stuff from the testsuite directories
1059 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1062 check for some headers
1063 * gst/elements/Makefile.am:
1064 * gst/elements/gstelements.c:
1065 don't compile fdsrc without sys/socket.h
1066 * gst/indexers/Makefile.am:
1067 * gst/indexers/gstindexers.c: (plugin_init):
1068 don't compile fileindex without mmap
1070 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1077 * check/Makefile.am:
1078 * docs/gst/Makefile.am:
1079 * examples/helloworld/Makefile.am:
1081 * gst/base/Makefile.am:
1082 * gst/check/Makefile.am:
1083 * gst/elements/Makefile.am:
1084 * gst/indexers/Makefile.am:
1085 * gst/parse/Makefile.am:
1086 * libs/gst/controller/Makefile.am:
1087 * libs/gst/dataprotocol/Makefile.am:
1088 * examples/helloworld/helloworld.c: (event_loop):
1089 compile fixes, though it's not being compiled currently
1091 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1093 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1094 Add some simple tests for the new taglist date API.
1096 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1098 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1099 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1100 Beautify 'last-message' output: print 'none' for buffer timestamps
1101 and durations if none is set; improve alignment with next messages.
1103 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1105 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1106 * gst/gstpluginfeature.h:
1107 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1108 * gst/gstregistry.h:
1109 * docs/gst/gstreamer-sections.txt:
1110 Add new API to check plugin feature version requirements.
1112 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1113 Some basic tests for the above.
1115 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1117 * gst/gststructure.c: (gst_structure_to_string):
1118 guard against NULL printf - happens when for example
1119 a message structure with GstClock gets serialized
1121 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1123 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1124 Fix presumable copy'n'pasto.
1126 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1128 * gst/elements/gstfakesrc.h:
1129 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1130 * gst/elements/gsttypefindelement.c:
1132 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1133 I wonder if this could actually write +2GB files before
1135 2005-10-13 Andy Wingo <wingo@pobox.com>
1137 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1138 Fix Timmeke Waymans bug.
1139 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1140 string of the proper length to gst_caps_from_string. There's a
1141 potential for, before this fix, that this could cause someone
1142 connecting over the network to cause a segfault if the payload is
1145 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1147 * docs/design/draft-push-pull.txt:
1148 * docs/design/part-overview.txt:
1149 * docs/random/TODO-pre-0.9:
1150 * docs/random/old/ChangeLog.gstreamer:
1151 * gst/base/gstpushsrc.c:
1155 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1157 * gst/glib-compat.c: (gst_flags_get_first_value):
1158 * gst/glib-compat.h:
1159 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1160 (gst_value_compare_double), (gst_value_serialize_flags):
1161 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1164 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1167 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1169 * tools/gst-launch.c: (event_loop):
1170 print out clock nicely
1172 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1174 * docs/gst/gstreamer-sections.txt:
1176 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1177 (gst_tag_list_get_date_index):
1178 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1179 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1181 2005-10-13 Julien MOUTTE <julien@moutte.net>
1183 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1184 (gst_collectpads_chain):
1185 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1188 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1190 * docs/gst/gstreamer-sections.txt:
1193 * tools/gst-inspect.c: (main):
1194 * tools/gst-launch.c: (main):
1195 * tools/gst-run.c: (main):
1196 * tools/gst-xmlinspect.c: (main):
1197 fix GOption context leaks
1200 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1204 * win32/common/config.h:
1206 * win32/vs6/grammar.dsp:
1207 * win32/vs6/libgstelements.dsp:
1208 * win32/vs6/libgstreamer.dsp:
1211 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1214 * gst/base/gstbasesrc.c: (gst_base_src_query):
1215 fix more guint64<->gdouble conversions
1217 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1220 add win32-update target
1221 * win32/common/gstconfig.h:
1222 * win32/common/gstenumtypes.c:
1223 * win32/common/gstenumtypes.h:
1224 * win32/common/gstversion.h:
1225 add files that visual studio can't generate
1227 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1230 add a win32-update target
1233 2005-10-12 Wim Taymans <wim@fluendo.com>
1235 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1236 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1237 * gst/gstelement.c: (gst_element_commit_state),
1238 (gst_element_set_state):
1239 Protect flags with proper lock.
1240 unref provided cached clock in dispose.
1242 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1245 * gst/gstminiobject.h:
1247 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1248 removed unused flags from miniobject
1251 2005-10-12 Wim Taymans <wim@fluendo.com>
1253 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1254 (gst_file_sink_event), (gst_file_sink_render):
1255 Flush before seeking.
1257 2005-10-12 Andy Wingo <wingo@pobox.com>
1259 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1260 always been the case.
1262 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1264 * check/gst/gstbin.c: (GST_START_TEST):
1265 * docs/gst/gstreamer-sections.txt:
1266 * gst/base/gstbasesink.c: (gst_base_sink_init):
1267 * gst/base/gstbasesrc.c: (gst_base_src_init),
1268 (gst_base_src_get_range), (gst_base_src_check_get_range),
1269 (gst_base_src_start), (gst_base_src_stop):
1270 * gst/base/gstbasesrc.h:
1271 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1272 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1273 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1277 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1279 * gst/gstelement.c: (gst_element_is_locked_state),
1280 (gst_element_set_locked_state), (gst_element_commit_state),
1281 (gst_element_set_state):
1283 * gst/gstindex.c: (gst_index_init):
1285 * gst/gstminiobject.h:
1286 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1287 (gst_object_set_parent):
1289 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1290 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1292 * gst/gstpadtemplate.h:
1293 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1294 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1295 * gst/gstpipeline.h:
1296 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1297 (gst_file_index_commit):
1298 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1299 * testsuite/pad/link.c: (gst_test_src_init),
1300 (gst_test_filter_init), (gst_test_sink_init):
1301 * testsuite/states/locked.c: (main):
1302 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1303 moved bitshift from macro to enum definition
1305 2005-10-12 Wim Taymans <wim@fluendo.com>
1307 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1308 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1309 (gst_file_sink_render):
1310 Some more debugging info.
1312 2005-10-12 Wim Taymans <wim@fluendo.com>
1314 * docs/design/part-states.txt:
1315 * tools/gst-launch.c: (main):
1317 Revert non-intentional change.
1319 2005-10-12 Wim Taymans <wim@fluendo.com>
1321 * check/gst/gstbin.c: (GST_START_TEST):
1322 * check/gst/gstelement.c: (GST_START_TEST):
1323 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1324 * check/gst/gstghostpad.c: (GST_START_TEST):
1325 * check/gst/gstpipeline.c: (GST_START_TEST):
1326 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1327 * check/states/sinks.c: (GST_START_TEST):
1328 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1329 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1330 (gst_bin_remove_func), (gst_bin_get_state_func),
1331 (gst_bin_recalc_state), (gst_bin_change_state_func),
1333 * gst/gstelement.c: (gst_element_get_state_func),
1334 (gst_element_get_state), (gst_element_abort_state),
1335 (gst_element_commit_state), (gst_element_set_state),
1336 (gst_element_change_state), (gst_element_change_state_func):
1338 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1339 (gst_pipeline_provide_clock_func):
1340 * gst/gstutils.c: (gst_element_link_pads_filtered):
1341 * tools/gst-launch.c: (main):
1342 * tools/gst-typefind.c: (main):
1343 Use GstClockTime in _get_state() instead of GTimeVal.
1344 Remove old code in gstutils.c
1346 2005-10-12 Andy Wingo <wingo@pobox.com>
1348 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1351 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1352 there is no task. Shouldn't affect any code, as nothing in our
1353 plugins checks this return value.
1354 (gst_pad_stop_task): Also take the stream lock if the pad has no
1357 2005-10-12 Wim Taymans <wim@fluendo.com>
1359 * gst/gstpad.c: (pre_activate), (post_activate),
1360 (gst_pad_activate_pull), (gst_pad_activate_push):
1361 Cleanup activation code. Reset old state if
1364 2005-10-12 Wim Taymans <wim@fluendo.com>
1366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1367 (gst_base_sink_change_state):
1368 No need to prerol after receiving EOS.
1370 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1371 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1372 * gst/elements/gstidentity.c: (gst_identity_event):
1373 Print events more verbosely.
1375 2005-10-12 Wim Taymans <wim@fluendo.com>
1377 * check/Makefile.am:
1378 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1379 * check/states/sinks2.c:
1380 Moved sinks2 testcode in sinks check.
1382 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1383 (gst_bin_remove_func), (gst_bin_recalc_state),
1384 (gst_bin_change_state_func), (bin_bus_handler):
1385 Fix potential race condition when _get_state() iterated over an
1386 ASYNC element right before it posted a state completion.
1389 Do proper cast here.
1391 * gst/gstevent.c: (gst_event_new_newsegment),
1392 (gst_event_parse_newsegment):
1393 A playback rate of 0.0 is not allowed.
1395 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1397 * win32/common/config.h:
1398 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1399 (_trewinddir), (_ttelldir), (_tseekdir):
1400 * win32/common/dirent.h:
1401 * win32/common/gtchar.h:
1402 * win32/common/libgstbase.def:
1403 * win32/common/libgstreamer.def:
1404 * win32/vs6/grammar.dsp:
1405 * win32/vs6/gst_inspect.dsp:
1406 * win32/vs6/gst_launch.dsp:
1407 * win32/vs6/gstreamer.dsw:
1408 * win32/vs6/libgstbase.dsp:
1409 * win32/vs6/libgstelements.dsp:
1410 * win32/vs6/libgstreamer.dsp:
1411 Visual Studio 6 project files, and a new common directory.
1414 2005-10-11 Wim Taymans <wim@fluendo.com>
1416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1417 (gst_base_sink_do_sync), (gst_base_sink_query),
1418 (gst_base_sink_change_state):
1419 * gst/base/gstbasesink.h:
1420 Correctly parse newsegment info.
1422 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1424 * gst/gst.c: (init_post):
1425 split plugin paths correctly
1427 2005-10-11 Wim Taymans <wim@fluendo.com>
1429 * check/gst/gstevent.c: (GST_START_TEST):
1430 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1431 (gst_base_sink_change_state):
1432 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1433 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1434 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1435 * gst/gstevent.c: (gst_event_new_newsegment),
1436 (gst_event_parse_newsegment):
1438 Added extra flag to newsegment for future API freeze.
1439 Updated check and base elements.
1441 2005-10-11 Julien MOUTTE <julien@moutte.net>
1443 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1444 (gst_collectpads_add_pad), (gst_collectpads_pop),
1445 (gst_collectpads_event), (gst_collectpads_chain):
1446 * gst/base/gstcollectpads.h: Handle EOS correctly.
1448 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1450 * tools/gst-launch.c: (main):
1451 more null protecting
1453 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1455 * gst/gst-i18n-lib.h:
1456 check for ENABLE_NLS, not GETTEXT_PACKAGE
1457 * gst/gstregistry.c: (gst_registry_add_plugin),
1458 (gst_registry_scan_path_level),
1459 (_gst_registry_remove_cache_plugins):
1460 protect possibly NULL strings
1461 * gst/parse/types.h:
1462 config.h already included before
1463 * tools/gst-inspect.c: (main):
1464 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1465 check for ENABLE_NLS, not GETTEXT_PACKAGE
1466 * tools/gst-launch.c: (main):
1467 check for ENABLE_NLS, not GETTEXT_PACKAGE
1469 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1472 if we don't have glib, fail before testing 2.8
1473 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1474 fix a leak, should fix plugins-base testsuite
1476 2005-10-11 Andy Wingo <wingo@pobox.com>
1478 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1479 take the mode we're going to as an arg. Go head and set the mode
1480 and flushing flags now, so that if the activate function starts a
1481 thread all the flags will be in the right state.
1482 (post_activate): Renamed also. Just handle making sure streaming
1483 finishes for the deactivation case, and setting the deactivated
1485 (gst_pad_set_active): Complain loudly if deactivation fails.
1486 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1487 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1488 remove the terrible hack.
1490 2005-10-11 Wim Taymans <wim@fluendo.com>
1492 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1493 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1494 (gst_bin_recalc_state), (gst_bin_change_state_func),
1495 (gst_bin_dispose), (bin_bus_handler):
1497 Prepare to make current EOS message queue more generic.
1500 * gst/gstevent.c: (gst_event_new_newsegment),
1501 (gst_event_parse_newsegment):
1503 Rename base to stream_time.
1508 2005-10-11 Wim Taymans <wim@fluendo.com>
1510 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1511 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1512 (gst_bin_change_state_func), (bin_bus_handler):
1514 Work on proper clock selection.
1516 2005-10-11 Edward Hervey <edward@fluendo.com>
1518 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1519 * libs/gst/controller/gstcontroller.h:
1520 Added GList* version of _remove_properties() in order to be able to wrap
1523 2005-10-11 Wim Taymans <wim@fluendo.com>
1525 * docs/design/part-states.txt:
1528 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1529 (gst_bin_change_state_func), (bin_bus_handler):
1530 Doc updates. Don't distribute the same clock over and over again.
1536 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1537 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1538 (gst_pad_send_event):
1540 Make probe emission threadsafe again.
1541 Register quarks and move _get_name() from utils.
1544 * gst/gstpipeline.c: (gst_pipeline_class_init),
1545 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1546 Only redistribute the clock of it changed.
1548 * gst/gstsystemclock.h:
1553 Moved the _flow_get_name() to GstPad.
1555 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1557 * check/gst-libs/gdp.c: (GST_START_TEST):
1558 * check/gst/gstcaps.c: (GST_START_TEST):
1559 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1560 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1561 (gst_dp_packet_from_caps):
1562 fix more valgrind warnings before turning up the heat
1564 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1566 * gst/parse/grammar.y:
1567 some cleanup before the hacking
1569 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1571 * gst/base/gstbasesrc.c: (gst_base_src_query):
1573 * gst/gstutils.c: (gst_guint64_to_gdouble),
1574 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1576 externalize, basesrc uses it
1577 obviously the implementation needs testing
1579 2005-10-10 Wim Taymans <wim@fluendo.com>
1581 * tests/sched/Makefile.am:
1582 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1583 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1585 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1587 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1588 apparently converting from guint64 to double is not implemented
1591 2005-10-10 Wim Taymans <wim@fluendo.com>
1593 * check/Makefile.am:
1594 * check/generic/states.c: (GST_START_TEST):
1595 * check/gst/gstbin.c: (GST_START_TEST):
1596 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1597 * check/states/sinks.c: (GST_START_TEST):
1598 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1600 Check fixes, use API as stated in design docs, remove hacks.
1602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1603 (gst_base_sink_change_state):
1604 Catch stopping our task while we're shutting down.
1606 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1607 (gst_bin_remove_func), (gst_bin_get_state_func),
1608 (gst_bin_recalc_state), (gst_bin_change_state_func),
1611 * gst/gstelement.c: (gst_element_init),
1612 (gst_element_get_state_func), (gst_element_abort_state),
1613 (gst_element_commit_state), (gst_element_lost_state),
1614 (gst_element_set_state), (gst_element_change_state),
1615 (gst_element_change_state_func):
1617 New state change algorithm (see #318116)
1619 * gst/gstpipeline.c: (gst_pipeline_class_init),
1620 (gst_pipeline_init), (gst_pipeline_set_property),
1621 (gst_pipeline_get_property), (do_pipeline_seek),
1622 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1623 * gst/gstpipeline.h:
1624 Remove crude state change hacks.
1629 * tools/gst-launch.c: (main):
1630 Fixes for state change. Needs some more work to fully use the
1633 2005-10-10 Andy Wingo <wingo@pobox.com>
1635 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1637 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1638 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1641 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1643 * gst/gstiterator.c: (gst_iterator_new):
1644 Fix my previous commit: GTypes passed to gst_iterator_new()
1645 can be fundamental types.
1647 2005-10-10 Wim Taymans <wim@fluendo.com>
1649 * gst/gstelement.c: (gst_element_iterate_pad_list),
1650 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1651 (gst_element_iterate_sink_pads):
1652 Use src/sink pads lists for the respective iterators instead
1655 2005-10-10 Andy Wingo <wingo@pobox.com>
1657 Merged in popt removal + GOption addition patch from Ronald, bug
1660 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1661 GstElement macros around, remove popt-related symbols, add goption
1664 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1666 * docs/gst/Makefile.am:
1667 * docs/libs/Makefile.am: No POPT_CFLAGS.
1669 * examples/manual/Makefile.am:
1670 * docs/manual/basics-init.xml: Doc updates with an example.
1672 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1673 (gst_init), (parse_one_option), (parse_goption_arg):
1674 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1675 bit of hand merging and debugging to get the GOption stuff working
1678 * tests/Makefile.am:
1679 * tools/Makefile.am:
1680 * tools/gst-inspect.c: (main):
1681 * tools/gst-launch.c: (main):
1682 * tools/gst-run.c: (main):
1683 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1685 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1687 * gst/gstiterator.c: (gst_iterator_new):
1688 Add assertions to make sure passed GType is likely to really
1689 be a GType (as the compiler won't catch it if the size and
1690 GType arguments get mixed up, see #318447).
1692 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1694 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1696 * gst/gstbin.c: (gst_bin_iterate_sorted):
1697 Pass GType and size arguments to gst_iterator_new() in the right
1698 order (maybe we should make _new() take the GType as first argument
1699 just like _new_list()?) (#318447).
1702 2005-10-10 Wim Taymans <wim@fluendo.com>
1704 * gst/gstelement.c: (gst_element_finalize):
1705 And free the GStaticRecMutex too
1707 2005-10-10 Andy Wingo <wingo@pobox.com>
1709 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1710 Allocate and free the mutex properly.
1712 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1714 (GstElement): The state_lock is now recursive. Rebuild your
1715 plugins, suckers. Old macros adapted.
1717 * docs/gst/gstreamer-sections.txt: Doc updates.
1720 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1721 (g_static_rec_cond_wait): Ported from state changes patch, while
1722 we wait on bug #317802 to be solved in a well-distributed GLib.
1724 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1725 gst_element_change_state, variable name changes.
1726 (gst_element_change_state): Split out of gst_element_set_state in
1727 preparation for the state change merge. Doesn't pay attention to
1728 the 'transition' argument.
1729 (gst_element_set_state): Updates, hopefully purely cosmetic.
1730 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1732 (gst_element_get_state_func): Renamed from get_state, cosmetic
1735 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1737 * gst/elements/gstelements.c:
1738 * win32/GStreamer.vcproj:
1740 * win32/dirent.c: (_tseekdir):
1741 * win32/gst-inspect.vcproj:
1742 * win32/gst-launch.vcproj:
1743 * win32/gstconfig.h:
1744 * win32/gstelements.vcproj:
1745 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1746 * win32/gstreamer.def:
1748 updates for the win32 build (patch from Sebastien Moutte)
1750 2005-10-10 Andy Wingo <wingo@pobox.com>
1752 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1753 gst_bin_get_state, cleaned up (but no logic changes).
1754 (bin_element_is_sink): Comment updates.
1755 (sink_iterator_filter): Remove needless cast.
1756 (gst_bin_iterate_sinks): Doc update.
1757 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1758 cleaned up (but no logic changes).
1760 * check/states/sinks.c (test_src_sink): Cleanups from the state
1762 (test_livesrc_sink): Sync on the state.
1764 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1765 the state change patch.
1767 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1770 * check/gst/gstbin.c: Merge in some style fixes and additional
1771 checks from Wim's state change patch.
1773 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1775 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1776 (gst_type_find_helper):
1777 Check whether we have the requested data already in our list of
1778 cached buffers before pulling a new buffer; also make the buffer
1779 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1781 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1786 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1787 don't use long long, it's not portable. Replacing with
1788 gint64 seems to work; let's hope no skeletons fall out of the closet.
1790 2005-10-10 Andy Wingo <wingo@pobox.com>
1792 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1794 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1796 * docs/gst/gstreamer-sections.txt:
1801 * gst/gstmessage.c: (gst_message_parse_state_changed):
1804 more docs, fix compilation
1806 2005-10-09 Philippe Khalaf <burger@speedy.org>
1808 Fixed a few forgotten variables on previous commit
1810 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1812 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1813 Fix evil typefind crasher: getrange() might return a short
1814 buffer at the end of a file, but gst_type_find_peek() must
1815 either return the full data as requested or NULL, but
1816 never a short buffer.
1818 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1820 * gst/gstmessage.c: (gst_message_new_state_changed),
1821 (gst_message_parse_state_changed):
1823 don't use "new", it's a C++ keyword
1825 2005-10-08 Wim Taymans <wim@fluendo.com>
1827 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1828 * gst/gstelement.c: (gst_element_post_message):
1829 * gst/gstpipeline.c: (gst_pipeline_change_state):
1830 Small docs and debug updates.
1832 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1834 * docs/gst/gstreamer-sections.txt:
1835 * gst/gstelementfactory.c:
1840 2005-10-08 Wim Taymans <wim@fluendo.com>
1842 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1843 (gst_bin_dispose), (bin_bus_handler):
1844 Fix typos, add comments.
1845 Clear EOS list when going to PAUSED from any direction and do it
1846 in a threadsafe way.
1847 Get base time in a threadsafe way too.
1848 Fix confusing debug in the change_state function.
1849 Various other small cleanups.
1851 * gst/gstelement.c: (gst_element_post_message):
1852 Fix very verbose bus posting code.
1854 * gst/gstpipeline.c: (gst_pipeline_class_init),
1855 (gst_pipeline_set_property), (gst_pipeline_get_property),
1856 (gst_pipeline_change_state):
1857 Small ARG_ -> PROP_ cleanup
1859 2005-10-08 Wim Taymans <wim@fluendo.com>
1861 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1862 Do a less CPU demanding EOS check because we can.
1864 2005-10-08 Wim Taymans <wim@fluendo.com>
1866 * libs/gst/dataprotocol/dataprotocol.c:
1867 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1868 (gst_dp_packet_from_event):
1869 * libs/gst/dataprotocol/dataprotocol.h:
1870 * libs/gst/dataprotocol/dp-private.h:
1871 It's about time we bump the version number.
1872 Since event types don't fit in the guint8 anymore describing
1873 the payload type, make payload type 16 bits wide.
1875 2005-10-08 Wim Taymans <wim@fluendo.com>
1877 * docs/design/part-TODO.txt:
1878 * docs/design/part-clocks.txt:
1879 * docs/design/part-events.txt:
1880 * docs/design/part-gstbin.txt:
1881 * docs/design/part-gstelement.txt:
1882 * docs/design/part-gstpipeline.txt:
1883 * docs/design/part-live-source.txt:
1884 * docs/design/part-messages.txt:
1885 * docs/design/part-overview.txt:
1886 * docs/design/part-states.txt:
1889 2005-10-08 Wim Taymans <wim@fluendo.com>
1893 Fix event quark registration.
1894 Add some space between events so we can insert them in the
1897 2005-10-08 Wim Taymans <wim@fluendo.com>
1899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1900 (gst_base_sink_handle_buffer):
1907 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1908 (gst_queue_set_property), (gst_queue_get_property):
1910 Remove old unused properties.
1912 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1913 * docs/gst/gstreamer-sections.txt:
1916 * gst/gstminiobject.c:
1917 * gst/gstminiobject.h:
1921 lots of new docs and doc fixes
1923 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1925 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1927 * gst/gstregistry.c: (gst_registry_lookup_locked),
1928 (gst_registry_scan_path_level):
1929 * gst/gstregistryxml.c: (load_plugin):
1930 Only ever load one plugin for a given plugin basename.
1931 This ensures correct overriding of GST_PLUGIN_PATH over
1932 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1933 system installed plugins.
1935 2005-10-08 Wim Taymans <wim@fluendo.com>
1937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1938 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1939 Prepare for doing QOS.
1941 2005-10-08 Wim Taymans <wim@fluendo.com>
1943 * check/gst/gstbin.c: (GST_START_TEST):
1944 * check/pipelines/cleanup.c: (GST_START_TEST):
1945 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1946 Allow new clock message too.
1948 2005-10-08 Wim Taymans <wim@fluendo.com>
1950 * gst/gstmessage.c: (gst_message_new_error),
1951 (gst_message_new_warning), (gst_message_new_tag),
1952 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1953 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1954 (gst_message_new_segment_start), (gst_message_new_segment_done),
1955 (gst_message_parse_state_changed),
1956 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1957 (gst_message_parse_new_clock):
1959 Also carry the clock in question.
1961 2005-10-08 Wim Taymans <wim@fluendo.com>
1963 * gst/gstmessage.c: (gst_message_new_custom),
1964 (gst_message_new_eos), (gst_message_new_error),
1965 (gst_message_new_warning), (gst_message_new_tag),
1966 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1967 (gst_message_new_new_clock), (gst_message_new_segment_start),
1968 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1969 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1972 Added clock related messages.
1974 * gst/gstpipeline.c: (gst_pipeline_change_state):
1975 Post message when the clock changed.
1977 * tools/gst-launch.c: (event_loop):
1980 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1982 * tools/gst-inspect.c: (print_element_properties_info):
1983 Can't pass NULL strings to g_print() on windows.
1985 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1988 * docs/gst/Makefile.am:
1989 * docs/gst/gstreamer-docs.sgml:
1990 * docs/gst/running.xml:
1991 * docs/version.entities.in:
1992 add a chapter on running GStreamer.
1993 document GST_DEBUG and GST_PLUGIN* env vars
1995 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2000 remove PLUGINS_BUILDDIR stuff
2001 * gst/gst.c: (init_post):
2002 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2004 remove, it was condescending and not needed
2006 2005-10-08 Wim Taymans <wim@fluendo.com>
2008 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2009 (gst_base_sink_handle_object), (gst_base_sink_event),
2010 (gst_base_sink_wait), (gst_base_sink_handle_event),
2011 (gst_base_sink_change_state):
2012 * gst/base/gstbasesink.h:
2013 Repost EOS message while going to PLAYING if still EOS.
2014 Make sure that when receiving a FLUSH_START we don't attempt
2015 to sync on the clock anymore.
2017 2005-10-08 Wim Taymans <wim@fluendo.com>
2019 * tools/gst-launch.c: (event_loop):
2020 Better message printout.
2022 2005-10-08 Wim Taymans <wim@fluendo.com>
2024 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2025 (gst_bin_child_proxy_get_children_count):
2026 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2027 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2028 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2029 (gst_child_proxy_set_valist):
2030 * gst/parse/grammar.y:
2031 Make ChildProxy threadsafe and fix mem leaks.
2033 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2035 * gst/gst.c: (init_post):
2036 debug the GST_PLUGIN_ env vars
2038 2005-10-08 Wim Taymans <wim@fluendo.com>
2040 * check/gst/gstbin.c: (GST_START_TEST):
2041 * check/gst/gstmessage.c: (GST_START_TEST):
2042 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2043 * gst/gstelement.c: (gst_element_commit_state),
2044 (gst_element_lost_state):
2045 * gst/gstmessage.c: (gst_message_new_state_changed),
2046 (gst_message_parse_state_changed):
2048 * tools/gst-launch.c: (event_loop):
2049 Added extra field to STATE_CHANGE message with the pending
2050 state, which will be different from the new state soon.
2052 2005-10-08 Wim Taymans <wim@fluendo.com>
2054 * gst/gstbus.c: (gst_bus_pop):
2056 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2057 Small cleanups and doc updates.
2059 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2061 * gst/gst.c: (init_pre):
2062 * gst/gstbin.c: (gst_bin_add_func):
2063 log distributing clocks and base time
2064 * gst/gstregistry.c: (gst_registry_add_plugin),
2065 (gst_registry_scan_path_level), (gst_registry_scan_path):
2066 clean up the debugging output a little
2067 * gst/gstutils.c: (gst_element_state_get_name):
2068 warn about a memleak (I've actually seen this be used, though
2069 it was probably a bug)
2071 2005-10-07 Wim Taymans <wim@fluendo.com>
2073 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2074 (gst_base_src_init), (gst_base_src_default_newsegment),
2075 (gst_base_src_newsegment), (gst_base_src_do_seek),
2076 (gst_base_src_loop), (gst_base_src_start):
2077 * gst/base/gstbasesrc.h:
2078 Make the newsegment event customizable by subclasses.
2080 2005-10-07 Wim Taymans <wim@fluendo.com>
2082 * gst/gstevent.c: (gst_event_new_buffersize),
2083 (gst_event_parse_buffersize):
2085 New event for future idea.
2087 2005-10-07 Andy Wingo <wingo@pobox.com>
2089 * gst/gstelement.c (gst_element_post_message): Doc update.
2091 * docs/gst/gstreamer-sections.txt: Update.
2093 * gst/gstmessage.c (gst_message_new_application): Made into a
2094 function like honest API calls.
2095 (gst_message_new_element): New message type.
2097 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2099 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2100 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2103 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2104 NO_PREROLL from gst_element_change_state to fall through.
2106 2005-10-07 Wim Taymans <wim@fluendo.com>
2108 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2109 (gst_ghost_pad_do_activate_push):
2110 Activating a ghostpad with no internal pad in push mode
2113 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2116 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2117 Fixes compilation on Windows.
2119 2005-10-07 Michael Smith <msmith@fluendo.com>
2121 * tools/gst-inspect.c:
2122 Print out feature and plugin count at the end when printing out
2125 2005-10-04 Michael Smith <msmith@fluendo.com>
2127 * gst/gsterror.c: (_gst_stream_errors_init):
2128 Add another error string used in a few existing plugins.
2131 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2132 * tools/gst-inspect.c: (print_element_info):
2133 When a feature disappears from a plugin (and the feature exists in
2134 the cached registry file), things went horribly wrong. This isn't a
2135 complete fix, we should actually be removing the 'missing' features
2136 from the features list when we load the actual plugin. That's not
2139 2005-10-04 Johan Dahlin <johan@gnome.org>
2141 * check/gst/gstiterator.c: (GST_START_TEST):
2142 * gst/gstbin.c: (gst_bin_iterate_elements),
2143 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2144 * gst/gstelement.c: (gst_element_iterate_pads):
2145 * gst/gstformat.c: (gst_format_iterate_definitions):
2146 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2147 (gst_iterator_new_list), (gst_iterator_filter):
2148 * gst/gstiterator.h:
2149 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2150 Add a GType to GstIterator, update callsites and tests.
2152 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2154 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2155 give events a chance to be handled by event probes when the pad
2158 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2160 * gst/gstevent.c: (gst_event_type_get_name),
2161 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2163 add string representations for event types
2165 2005-10-06 Wim Taymans <wim@fluendo.com>
2167 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2168 Don't use NULL pointers.
2170 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2172 * gst/gst_private.h:
2176 * gst/gstpluginfeature.c:
2177 widen the debug category in output to fit the biggest one we have
2178 add a bus category and use it
2179 play with the colors
2180 fix up some categories
2182 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2184 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2185 add push activation of sink ghost pads.
2186 Andye, please verify
2188 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2190 * gst/gstutils.c: (gst_element_link_pads):
2191 fix a bug in the case where neither element has a pad
2192 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2193 add a test for that case
2195 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2197 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2198 emit have-data before checking for peers. This allows
2199 for probe handlers to connect elements. This helps autopluggers.
2200 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2202 add six checks, linked/unlinked with no/true/false probe
2204 2005-10-04 Wim Taymans <wim@fluendo.com>
2206 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2207 (gst_fake_sink_event), (gst_fake_sink_preroll),
2208 (gst_fake_sink_render), (gst_fake_sink_change_state):
2209 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2210 (gst_fake_src_get_property), (gst_fake_src_create),
2211 (gst_fake_src_stop):
2212 * gst/elements/gstidentity.c: (gst_identity_stop):
2213 Protect last_message with lock.
2215 2005-10-04 Edward Hervey <edward@fluendo.com>
2218 Added precision in the comments for GST_FORMAT_DEFAULT
2220 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2222 * tools/gst-launch.c: (main):
2223 Don't try to run erroneous pipelines.
2225 2005-10-04 Julien MOUTTE <julien@moutte.net>
2227 * gst/gstbus.c: We don't need this header.
2229 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2234 === release 0.9.3 ===
2236 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2240 Releasing 0.9.3, "Unregistered"
2242 2005-10-03 Andy Wingo <wingo@pobox.com>
2244 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2245 whereby calling a pad's activatepush() function can start a thread
2246 that starts to push or pull before the pad gets the FLUSHING flag
2247 unset. Hack around it by holding the stream lock until the flag is
2248 set. Need to replace this with a proper solution. Together with
2249 the ghost pad fixes, this fixes mp3 playing/tagreading.
2251 * docs/design/part-gstghostpad.txt: Add a note about activation of
2252 proxy pads outside of ghost pads.
2254 * gst/gstghostpad.c: Implement the ghost pad activation design.
2256 2005-10-02 Andy Wingo <wingo@pobox.com>
2258 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2259 It is volatile, after all.
2261 * docs/design/part-gstghostpad.txt: Flesh out activation with
2264 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2267 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2270 Fix (unused) AM_CONDITIONAL tests.
2272 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2274 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2276 * gst/gstutils.c: (gst_pad_query_convert):
2277 Add assertion that makes sure src_val is >=0, just like
2278 gst_query_new_convert() has. (#315895)
2280 2005-09-30 Edward Hervey <edward@fluendo.com>
2282 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2283 Let's not iterate pads we're not interested in, it avoids getting
2284 sky-high refcounts on sinkpad.
2286 2005-09-30 Wim Taymans <wim@fluendo.com>
2288 * gst/gstelement.c: (gst_element_set_state),
2289 (gst_element_change_state):
2290 Small tweak, element in ASYNC remains ASYNC.
2292 2005-09-30 Wim Taymans <wim@fluendo.com>
2294 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2295 Only error is an error.
2297 * gst/gstbin.c: (gst_bin_change_state):
2300 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2301 Also call pad_block in pad alloc.
2303 * gst/gstutils.c: (gst_flow_get_name):
2306 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2309 (gst_base_src_get_range):
2310 Fix documentation typos. Add some more debug info.
2312 2005-09-29 David Schleef <ds@schleef.org>
2314 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2315 more end-user friendly.
2316 * tools/gst-inspect.c: (main): Check if command-line argument is
2317 a file and attempt to load that file as a plugin.
2319 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * check/gst/gstbin.c:
2322 * check/states/sinks.c:
2323 fix tests for the new warning
2324 * check/gst/gstpipeline.c:
2325 add a test for pipeline and bus interaction
2327 elements should be NULL if they get disposed; add a warning if not
2329 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2332 for 2.6 refcounting, make debug log more correct by printing
2333 the actual refcounts at the time of swap (Wim)
2335 2005-09-29 Andy Wingo <wingo@pobox.com>
2337 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2338 removes signal watches previously added via
2339 gst_bus_add_signal_watch.
2340 (gst_bus_add_signal_watch): Don't return the source id, just store
2341 it on the bus if there wasn't an id already.
2343 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2344 add_signal_watch and remove_signal_watch.
2346 2005-09-29 Edward Hervey <edward@fluendo.com>
2348 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2349 Better if we actually iterate the list :)
2351 2005-09-29 Wim Taymans <wim@fluendo.com>
2353 * check/gst/gstbin.c: (GST_START_TEST):
2354 Change for new bus API.
2356 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2357 (send_messages), (GST_START_TEST), (gstbus_suite):
2358 Change for new bus signal API.
2360 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2361 (gst_bus_source_prepare), (gst_bus_source_check),
2362 (gst_bus_create_watch), (gst_bus_add_watch_full),
2363 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2364 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2366 Remove support for multiple GSources operating on different
2367 message types as it is too complex and unneeded when using
2369 Added support for receiving signals from the bus.
2371 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2373 * docs/libs/tmpl/gstdataprotocol.sgml:
2374 * docs/manual/advanced-dataaccess.xml:
2375 * gst/elements/gstcapsfilter.c:
2377 rename filter-caps to caps property
2379 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2382 More robust fraction string parsing.
2384 * docs/pwg/appendix-porting.xml:
2385 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2387 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2389 * gst/gstcaps.c: (gst_caps_do_simplify):
2390 Thou shalt not free a structure and then continue using it
2391 in the next loop iteration.
2393 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2395 Add test case for caps simplification.
2397 2005-09-29 Wim Taymans <wim@fluendo.com>
2399 * check/gst/gstbin.c: (GST_START_TEST):
2402 2005-09-29 Wim Taymans <wim@fluendo.com>
2404 * check/gst/gstbin.c: (GST_START_TEST):
2407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2408 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2409 (find_element), (gst_bin_sort_iterator_next),
2410 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2411 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2412 (gst_bin_change_state), (gst_bin_dispose):
2413 A bin does not have a bus, it gets the bus from the parent.
2415 * gst/gstelement.c: (gst_element_requires_clock),
2416 (gst_element_provides_clock), (gst_element_is_indexable),
2417 (gst_element_is_locked_state), (gst_element_change_state),
2418 (gst_element_set_bus_func):
2421 * gst/gstpipeline.c: (gst_pipeline_class_init),
2422 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2423 The pipeline provides a bus.
2425 2005-09-28 Johan Dahlin <johan@gnome.org>
2427 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2428 gst_structure_get_enum instead of gst_structure_get_int
2430 * gst/gststructure.c (gst_structure_get_enum): Impl.
2432 * gst/gststructure.h (gst_structure_get_enum): Add
2434 * docs/gst/gstreamer-sections.txt: Ditto
2436 * gst/gstmessage.c (gst_message_new_state_changed): Use
2437 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2438 which does introspection.
2439 Reviewed by Christian Schaller
2441 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2443 * gst/gstinfo.c: (gst_debug_log_default):
2444 don't do dummy g_strdup()s
2445 * libs/gst/controller/gstcontroller.c:
2446 (on_object_controlled_property_changed),
2447 (gst_controlled_property_new), (gst_controller_new_valist),
2448 (gst_controller_new_list),
2449 (gst_controller_remove_properties_valist), (gst_controller_set),
2450 (gst_controller_get), (gst_controller_sync_values),
2451 (gst_controller_get_value_array), (_gst_controller_class_init),
2452 (gst_controller_get_type):
2453 * libs/gst/controller/gstcontroller.h:
2454 * libs/gst/controller/gstinterpolation.c:
2455 (gst_controlled_property_find_timed_value_node):
2456 convert // to /**/ comments
2458 2005-09-28 Wim Taymans <wim@fluendo.com>
2460 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2461 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2462 (gst_bus_sync_signal_handler):
2464 Added async-message and sync-message signals to the bus.
2465 Added helper BusFunc to emit signals for all posted messages.
2467 * gst/gstmessage.c: (gst_message_type_get_name),
2468 (gst_message_type_to_quark), (gst_message_get_type):
2470 Register quarks for message names.
2472 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2474 * docs/libs/gstreamer-libs-sections.txt:
2475 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2476 (gst_controller_new_list):
2477 * libs/gst/controller/gstcontroller.h:
2478 added another constructor for language bindings
2480 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2482 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2486 * gst/gstinfo.c: (_gst_debug_init):
2487 slightly more readable color for refcount debugging
2489 2005-09-28 Wim Taymans <wim@fluendo.com>
2491 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2492 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2493 (find_element), (gst_bin_sort_iterator_next),
2494 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2495 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2496 (gst_bin_change_state), (gst_bin_dispose):
2497 Small doc fixes. get_clock -> provide_clock.
2499 * gst/gstelement.c: (gst_element_class_init),
2500 (gst_element_provides_clock), (gst_element_provide_clock),
2501 (gst_element_get_clock), (gst_element_commit_state),
2502 (gst_element_lost_state):
2504 Make get/set_clock() symetric. Add provide_clock vmethod since
2505 that is actually what this function does.
2507 * gst/gstpipeline.c: (gst_pipeline_class_init),
2508 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2509 (gst_pipeline_get_clock):
2510 get_clock -> provide_clock.
2512 2005-09-28 Andy Wingo <wingo@pobox.com>
2514 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2515 lieu of real docs...
2517 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2519 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2521 * gst/elements/gstcapsfilter.c:
2522 * gst/elements/gstfakesink.c:
2523 * gst/elements/gstfakesrc.c:
2524 * gst/elements/gstfdsink.c:
2525 * gst/elements/gstfdsrc.c:
2526 * gst/elements/gstfilesink.c:
2527 * gst/elements/gstfilesrc.c:
2528 * gst/elements/gstidentity.c:
2529 * gst/elements/gsttee.c:
2530 * gst/elements/gsttypefindelement.c:
2531 Make element details static.
2533 2005-09-28 Wim Taymans <wim@fluendo.com>
2535 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2536 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2537 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2538 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2539 (gst_bin_change_state), (gst_bin_dispose):
2540 Some documentation updates.
2541 Clean up dispose handlers.
2543 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2544 * gst/gstpad.c: (gst_pad_dispose):
2545 Clean up dispose handler.
2547 * gst/gstpipeline.c: (gst_pipeline_change_state):
2548 Removed spurious UNLOCK.
2550 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2552 * docs/gst/gstreamer-sections.txt:
2553 * gst/base/gstbasesrc.h:
2558 * gst/gstpipeline.c:
2559 * gst/gstpipeline.h:
2562 added two new functions to the docs
2563 documents all undocumented GstXXXFlags
2564 completed some incomplete docs
2566 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2568 * gst/gstbin.c: (gst_bin_dispose):
2569 * gst/gstelement.c: (gst_element_dispose):
2570 remove now useless and leaky resurrection code in dispose
2571 * gst/base/gstbasesrc.c: (gst_base_src_init):
2572 * gst/gstelementfactory.c: (gst_element_factory_create):
2573 * gst/gstobject.c: (gst_object_set_parent):
2576 2005-09-27 Wim Taymans <wim@fluendo.com>
2578 * docs/design/part-TODO.txt:
2581 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2582 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2583 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2584 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2585 (gst_bin_change_state):
2587 Remove element variable, we keep element info in the iterator now.
2589 2005-09-27 Andy Wingo <wingo@pobox.com>
2591 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2594 2005-09-27 Wim Taymans <wim@fluendo.com>
2596 * check/gst/gstbin.c: (GST_START_TEST):
2597 Enable check that works now.
2599 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2600 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2601 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2602 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2603 (gst_bin_change_state):
2605 Redid the state change algorithm using a topological sort algo.
2606 Handles all cases correctly.
2607 Exposed iterator for state change order.
2610 Temp storage for state changes. Need to get rid of this soon.
2612 2005-09-27 Wim Taymans <wim@fluendo.com>
2614 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2615 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2616 (link_fold_func), (gst_pad_proxy_setcaps):
2617 Leak fixes, the fold functions need to unref the passed object and
2618 _get_parent_*() returns ref to parent.
2620 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2622 * check/gst/gstbuffer.c: (test_make_writable):
2623 Plug leak in test case and fix 'make check-valgrind'
2625 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2627 * gst/gstbuffer.c: (gst_subbuffer_init):
2628 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2629 works correctly in all circumstances (we could have just copied
2630 the parent buffer's readonly flag, but conceptually it seems
2631 cleaner to mark all subbuffers as read-only). (based on patch
2632 by Alessandro Decina, #314710).
2634 * check/gst/gstbuffer.c: (create_read_only_buffer),
2635 (test_make_writable), (test_subbuffer_make_writable),
2637 Add some tests for gst_buffer_make_writable().
2639 2005-09-27 Wim Taymans <wim@fluendo.com>
2641 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2642 use gst_object_has_ancestor().
2644 * gst/gstobject.c: (gst_object_has_ancestor):
2646 gst_object_has_ancestor() copied from gstbin.c as it is a
2649 * tests/instantiate/create.c: (create_all_elements):
2650 * tests/lat.c: (handoff_src), (handoff_sink):
2651 * tests/sched/runxml.c: (main):
2652 * tests/seeking/seeking1.c: (main):
2653 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2655 Fix compilation of some tests.
2657 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2660 Remove comment. GST_TYPE_G_ERROR is here to stay,
2661 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2664 2005-09-26 Wim Taymans <wim@fluendo.com>
2666 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2667 Added check that shows error in state change order.
2669 2005-09-26 Wim Taymans <wim@fluendo.com>
2671 * gst/gstbin.c: (gst_bin_change_state):
2672 Make state change function use 3 queues again, we were
2673 adding elements in the wrong order.
2675 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2678 * gst/gstpad.c: (gst_pad_dispose):
2679 Added some debug info first.
2681 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2683 * docs/design/draft-push-pull.txt:
2684 * docs/design/part-events.txt:
2685 * docs/design/part-overview.txt:
2686 * docs/design/part-scheduling.txt:
2687 Replace all _pull_region() with _pull_range()
2689 2005-09-26 Andy Wingo <wingo@pobox.com>
2691 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2693 * check/gst-libs/controller.c: Update for controller api change.
2696 * tests/Makefile.am:
2697 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2698 over by GLib bug 118439.
2700 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2701 routines to a function.
2703 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2705 * libs/gst/controller/gsthelper.c:
2706 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2707 (gst_object_sync_values): Renamed from sink_values. Ugh.
2709 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2711 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2712 Renamed from controller_key, as it is exported.
2714 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2716 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2721 * gst/gstpadtemplate.h:
2724 * gst/gstqueryutils.c:
2725 * gst/gstqueryutils.h:
2726 remove queryutils headers after moving the two used functions
2727 to gstquery. also fixes build problem for gstsiddec
2729 2005-09-26 Michael Smith <msmith@fluendo.com>
2731 * tools/gst-launch.1.in:
2732 Correct documentation in manpage of debug syntax
2734 2005-09-26 Wim Taymans <wim@fluendo.com>
2736 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2737 (gst_base_src_is_seekable), (gst_base_src_change_state):
2738 Some more debugging info.
2740 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2742 * docs/gst/gstreamer-sections.txt:
2743 * gst/base/gstbasetransform.h:
2747 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2749 * docs/gst/.cvsignore:
2750 * docs/gst/tmpl/.cvsignore:
2751 * docs/gst/tmpl/gstpipeline.sgml:
2752 * docs/gst/tmpl/gstplugin.sgml:
2753 * gst/gstpipeline.c:
2756 inlined the last two docs files
2757 removed the tmpl directory from cvs (no more conflicts here!)
2759 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2761 * docs/gst/gstreamer-sections.txt:
2762 * docs/gst/tmpl/.cvsignore:
2763 * docs/gst/tmpl/gstpad.sgml:
2764 * docs/gst/tmpl/gstpadtemplate.sgml:
2766 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2767 (gst_pad_finalize), (gst_pad_set_pad_template):
2769 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2770 (gst_pad_template_class_init), (gst_pad_template_init),
2771 (gst_pad_template_dispose), (name_is_valid),
2772 (gst_static_pad_template_get), (gst_pad_template_new),
2773 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2774 (gst_pad_template_pad_created):
2775 * gst/gstpadtemplate.h:
2776 inlined two more docs
2777 factored gstpadtemplate out of gstpad
2779 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2781 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2782 (test_children_state_change_order_semi_sink):
2783 Fix test case: we can't rely on a fixed state change order when
2784 going from READY => PAUSED because the sink might commit its
2785 new state first when the first buffer created by the source
2786 reaches the sink before the source has finished its change state.
2787 (Test case still fails at times, see #316856, comment 5 onwards)
2789 2005-09-24 Wim Taymans <wim@fluendo.com>
2791 * docs/design/part-events.txt:
2792 * docs/design/part-gstbus.txt:
2793 * docs/design/part-gstpipeline.txt:
2794 * docs/design/part-messages.txt:
2795 * docs/design/part-overview.txt:
2796 * docs/design/part-segments.txt:
2803 * gst/gstiterator.c:
2804 Various documentation updates.
2806 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2809 Well, that's embarassing. Luckily we weren't using
2810 GST_CLOCK_DIFF anywhere.
2812 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2814 * common/gtk-doc.mak:
2815 don't fail on building XML, FC4 slave shows a bunch of doc
2816 missing bits that I don't get
2818 * gst/gstpipeline.c:
2819 * gst/gststructure.c:
2822 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2824 * docs/design/part-gstbin.txt:
2825 * docs/design/part-gstbus.txt:
2827 Add blurb about how the bus goes into flushing mode and
2828 drops all messages when its bin goes from READY into NULL
2831 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2833 * docs/gst/gstreamer-sections.txt:
2834 * gst/gststructure.c: (gst_structure_get_clock_time):
2835 * gst/gststructure.h:
2836 add a method to get a GstClockTime out of a structure
2838 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2840 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2841 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2842 Added test to check state change order in bins (can still be made
2843 to fail here under heavy disk load; bails out with 'Push on pad
2844 fakesink:sink0, but it was not activated in push mode').
2846 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2847 Fix state change order when there is only a semi sink (#316856)
2849 * gst/gstbus.c: (gst_bus_class_init):
2850 Use _class_peek_parent(), not _class_ref(); fix docs to say
2851 'default main context' instead of 'mainloop' where that is
2854 * gst/gstelement.c: (gst_element_commit_state),
2855 (gst_element_set_state):
2856 Fix typos in debug messages
2858 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2861 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2862 * gst/gstpluginfeature.c:
2865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2866 change an assert into an error until it gets fixed properly
2868 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2870 * docs/gst/gstreamer-sections.txt:
2871 * docs/gst/tmpl/.cvsignore:
2872 * docs/gst/tmpl/gstelement.sgml:
2873 * docs/gst/tmpl/gstinfo.sgml:
2874 * docs/gst/tmpl/gstobject.sgml:
2879 * gst/gstobject.c: (gst_object_class_init):
2881 inlined 3 more biiiig doc files and added some missing docs on the fly
2883 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2885 * check/gst/.cvsignore:
2886 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2887 * gst/gstregistryxml.c: (load_plugin),
2888 (gst_registry_xml_save_plugin):
2889 put back source in registry. add checks for find_plugin.
2890 * testsuite/states/bin.c: (assert_state), (empty_bin),
2891 (test_adding_one_element), (main):
2892 * testsuite/states/locked.c: (main):
2893 some compile/run fixes
2895 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2897 * check/gst/gstvalue.c: (GST_START_TEST):
2898 fix leaks in the test itself
2900 2005-09-22 Wim Taymans <wim@fluendo.com>
2902 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2903 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2904 (gst_base_sink_query):
2905 Prepare for more accurate position reporting and query
2908 * gst/gstelement.c: (gst_element_send_event),
2909 (gst_element_set_state):
2912 2005-09-22 Wim Taymans <wim@fluendo.com>
2914 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2915 (gst_query_parse_segment):
2918 Add segment query for future use.
2920 2005-09-22 Wim Taymans <wim@fluendo.com>
2922 * gst/gstbin.c: (gst_bin_add_func):
2923 Some more debug info.
2925 * gst/gstelement.c: (gst_element_send_event):
2929 Don't know how flags got broken.
2934 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2936 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2937 Add simplistic test suite for GST_TYPE_DATE serialisation and
2940 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2942 * docs/gst/gstreamer-sections.txt:
2943 * gst/gststructure.c: (gst_structure_set_valist),
2944 (gst_structure_get_date):
2945 * gst/gststructure.h:
2946 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2947 (gst_date_copy), (gst_value_compare_date),
2948 (gst_value_serialize_date), (gst_value_deserialize_date),
2949 (gst_value_transform_date_string),
2950 (gst_value_transform_string_date), (_gst_value_initialize):
2952 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2953 bunch of utility functions along with a hack that checks that
2954 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2955 is required. Part of the grand scheme in #170777.
2957 2005-09-22 Andy Wingo <wingo@pobox.com>
2959 * gst/gstconfig.h.in: Psych out gtk-doc.
2961 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2963 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2965 * tools/gst-inspect.c (print_element_list): Plug some
2966 inconsequential leaks.
2968 * gst/gstregistry.c (gst_registry_get_default): Doc.
2970 * check/gst/gstplugin.c:
2971 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2972 * gst/gstelementfactory.c (gst_element_factory_create):
2973 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2976 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2977 (gst_plugin_feature_load): Doc, don't eat refs.
2979 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2980 (gst_plugin_list_free): Doc.
2981 (gst_plugin_load_file): Doc updates.
2983 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2984 accessors returning refcounted objects, return a ref.
2986 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2987 accessor for caps. IDEMPOTENCE. Oh yes.
2989 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2991 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2993 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2994 (_gst_debug_register_funcptr):
2995 Add mutex to serialise access to the hash table with
2996 the function pointer => function name string mapping;
2997 make that hash table static scope (#316809).
2999 * gst/registries/.cvsignore:
3000 Remove left-over file.
3002 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3004 * docs/pwg/appendix-porting.xml:
3005 And something about newsegment events and caps-on-buffers to
3006 the porting guide (feel free to improve).
3008 2005-09-21 Andy Wingo <wingo@pobox.com>
3010 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3011 data and event probes on the same pad.
3012 (test_buffer_probe_once): Test that removing probes from within
3013 the probe functions works.
3015 2005-09-21 Andy Wingo <wingo@pobox.com>
3017 * check/gst/gstutils.c: New file.
3018 (test_buffer_probe_n_times): A simple buffer probe test. More to
3021 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3022 have-data::buffer, not have-data.
3023 (gst_pad_add_event_probe): Likewise for have-data::event.
3024 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3025 peer' isn't quite right yet though.
3026 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3027 (gst_pad_remove_data_probe): Change to take the guint handler_id
3028 as their arg, not the function+data, which is more glib-like.
3030 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3031 the signal emission to indicate if the data is a buffer or an
3033 (gst_pad_get_type): Initialize buffer and event quarks.
3034 (gst_pad_class_init): have-data is now a detailed signal, yes it
3037 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3039 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3040 * gst/gstutils.c: (gst_util_set_value_from_string),
3041 (gst_util_set_object_arg):
3042 Don't put functional code in g_return_if_fail() or
3043 g_return_val_if_fail() statements, otherwise things will
3044 break when G_DISABLE_CHECKS is defined during compilation.
3046 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3048 * docs/gst/tmpl/.cvsignore:
3049 * docs/gst/tmpl/gstvalue.sgml:
3052 inlied another one and added some obvious docs
3054 2005-09-21 Wim Taymans <wim@fluendo.com>
3056 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3057 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3058 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3059 (gst_fdsrc_get_property), (gst_fdsrc_create):
3060 * gst/elements/gstfdsrc.h:
3061 Properly implement fdsrc. Removed signal and timeout,
3062 better implemented somewhere else.
3064 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3066 * docs/gst/tmpl/.cvsignore:
3067 * docs/gst/tmpl/gstimplementsinterface.sgml:
3068 * gst/gstinterface.c:
3071 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3073 * docs/gst/gstreamer-sections.txt:
3074 * docs/gst/tmpl/.cvsignore:
3075 * docs/gst/tmpl/gstenumtypes.sgml:
3076 remove obsolete doc file
3078 2005-09-21 David Schleef <ds@schleef.org>
3080 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3081 little beer, fix a little leak.
3083 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3085 * docs/gst/gstreamer-docs.sgml:
3086 * docs/gst/gstreamer-sections.txt:
3087 * docs/gst/tmpl/.cvsignore:
3092 * gst/gstindex.c: (gst_index_class_init):
3094 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3095 (gst_index_factory_class_init), (gst_index_factory_init),
3096 (gst_index_factory_finalize), (gst_index_factory_new),
3097 (gst_index_factory_destroy), (gst_index_factory_find),
3098 (gst_index_factory_create), (gst_index_factory_make):
3099 * gst/gstindexfactory.h:
3100 * gst/gstpluginfeature.c:
3101 * gst/gstpluginfeature.h:
3102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3103 more docs inlined, splitted gstindex.{c,h}
3105 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3107 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3110 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3112 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3113 Set sync to FALSE by default.
3115 2005-09-20 Wim Taymans <wim@fluendo.com>
3117 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3118 (gst_base_sink_init):
3119 Make sync property settable from subclass.
3121 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3122 (gst_fake_sink_change_state):
3123 Set sync to FALSE by default.
3125 2005-09-20 Wim Taymans <wim@fluendo.com>
3127 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3128 * tools/gst-launch.c: (main):
3129 The timeout handler should have lower priority than the source
3130 so we don't timeout before popping a message with 0 timeout.
3131 Dump error messages after failed state change.
3133 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3135 * tools/gst-inspect.c: (print_element_properties_info):
3138 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3140 * check/gst/gstevent.c:
3141 * gst/elements/gstfakesink.c:
3142 * gst/elements/gstfakesink.h:
3143 remove the sync property from fakesink.
3144 has the side effect of setting sync TRUE
3145 for fakesink, which is a change. Anyone who knows how
3146 to fix this nicely in a GObject-y way, feel free.
3148 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3150 * docs/gst/gstreamer-docs.sgml:
3151 remove probe refsection
3153 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3155 * check/Makefile.am:
3156 disable valgrinding the controller test again
3157 * docs/gst/gstreamer-sections.txt:
3158 update for api-changes
3160 2005-09-20 Wim Taymans <wim@fluendo.com>
3162 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3163 (gst_base_sink_set_property), (gst_base_sink_get_property),
3164 (gst_base_sink_do_sync):
3165 * gst/base/gstbasesink.h:
3166 Added sync property to basesink to disable clock sync.
3168 2005-09-20 Andy Wingo <wingo@pobox.com>
3170 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3171 eating the caller's refcount.
3173 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3174 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3177 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3178 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3179 of GLib 2.8 public, so we can know which refcount to check in
3182 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3183 (gst_object_init): Only set the gst refcount if we're going ahead
3184 with the refcount hack.
3186 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3188 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3190 more leaks plumbed, added more debug-logging
3194 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3197 remove include of gstmemchunk.h
3199 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3201 * gst/gstclock.c: (_gst_clock_id_free):
3202 Commit from the Political Party For More Atomic CVS Commits,
3203 so that people don't waste too much of their day fishing
3204 out obvious leaks out of massive commits.
3205 Oh, and fix a pretty damn obvious leak in the memchunk
3208 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3210 * check/Makefile.am:
3211 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3212 plug mem-leak, re-add to valgrindable tests
3214 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3217 unbreak the build for those who have chronic arthritis
3218 and typing "make check" is just too taxing on the hands
3220 2005-09-20 Andy Wingo <wingo@pobox.com>
3222 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3223 really want it out, you should fix plugins at the same time.
3225 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3228 * docs/gst/gstreamer-sections.txt:
3230 added missing symbols to api docs
3231 disable ref-count hack if we have glib >= 2.8
3233 2005-09-19 David Schleef <ds@schleef.org>
3235 * docs/gst/Makefile.am: Ignore a few more internal headers
3236 * docs/gst/gstreamer-docs.sgml: Remove old sections
3237 * docs/gst/gstreamer-sections.txt: Remove old sections
3238 * docs/gst/tmpl/gstobject.sgml: update
3239 * docs/gst/tmpl/gstplugin.sgml: update
3240 * docs/gst/tmpl/gstpluginfeature.sgml: update
3241 * docs/random/ds/0.9-suggested-changes: update.
3242 * gst/Makefile.am: remove memchunk and trashstack, since they're
3244 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3245 * gst/gst.h: don't include some headers
3246 * gst/gstchildproxy.c: add gstmarshal.h
3247 * gst/gstclock.c: Don't use memchunks
3248 * gst/gstminiobject.c: Add some docs
3249 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3250 * gst/gstobject.h: same
3251 * gst/gstplugin.c: include gstmacros.h
3252 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3253 * gst/gstquery.c: don't use memchunks
3254 * gst/gstregistry.c: rename gst_registry_deinit()
3255 * gst/gstregistry.h: same
3257 2005-09-19 David Schleef <ds@schleef.org>
3259 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3260 * docs/libs/gstreamer-libs-sections.txt:
3261 * docs/libs/tmpl/gstgetbits.sgml:
3262 * docs/libs/tmpl/gstputbits.sgml:
3264 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3266 * win32/gstenumtypes.c:
3267 * win32/gstenumtypes.h:
3270 2005-09-19 Wim Taymans <wim@fluendo.com>
3272 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3273 Automatically PAUSE and RESUME a pipeline when a flushing seek
3276 2005-09-19 Andy Wingo <wingo@pobox.com>
3278 * gst/gstregistry.h: Spacing fixen.
3280 2005-09-19 Wim Taymans <wim@fluendo.com>
3282 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3283 Handle state change failure more correctly.
3285 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3287 * check/Makefile.am:
3288 * check/pipelines/cleanup.c: (run_pipeline):
3289 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3291 enable cleanup again after fixing the leak
3293 some more info on docs
3295 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3297 * check/Makefile.am:
3298 re-enable tests now that leaks are plugged
3300 * check/gst/gstbin.c:
3301 * check/gst/gstpipeline.c:
3302 add some more tests while fixing leaks
3304 make sure binaries are uptodate when valgrinding/gdbing
3306 * gst/gstelementfactory.c:
3307 remove a ref too many, and add a FIXME for when we get
3308 round to disposing of classes
3310 fix the refcounting when loading a plugin from a file and
3311 the code pretends that the pointer is the same even though
3312 of course it can change
3313 * gst/gstpluginfeature.c:
3314 unref plugins marked cached (a bit confusing as a name)
3315 as the docs state should be done
3316 various doc additions to explain refcounting
3317 * gst/gstregistry.c:
3318 * gst/gstregistryxml.c:
3321 2005-09-19 Wim Taymans <wim@fluendo.com>
3323 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3324 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3325 (send_messages), (GST_START_TEST), (gstbus_suite):
3326 * check/gst/gstpipeline.c: (GST_START_TEST):
3327 * check/pipelines/cleanup.c: (run_pipeline):
3328 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3330 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3331 (gst_bus_source_check), (gst_bus_source_dispatch),
3332 (gst_bus_create_watch), (gst_bus_add_watch_full),
3333 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3335 * tools/gst-launch.c: (event_loop):
3336 * tools/gst-md5sum.c: (event_loop):
3337 GstBusHandler -> GstBusFunc, return value has the same meaning as
3338 any other GSource (FALSE == remove source).
3339 _add_watch() and _add_watch_full() now take a MessageType mask to
3340 only handle specific types of messages.
3341 _poll() returns the GstMessage instead of the message type to avoid
3343 _have_pending() takes a MessageType mask now too.
3344 Added testsuite for multiple bus watches.
3345 Fix testsuites and applications for new bus API.
3347 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3349 * check/Makefile.am:
3350 mark a bunch of the tests as to fix until we fix them
3352 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3355 use GST_PLUGIN settings for valgrind tests as well, so we're
3356 valgrinding the correct thing
3357 * gst/gst.c: (init_post):
3360 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3362 * gst/gst.c: (init_post), (gst_deinit):
3363 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3364 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3365 * gst/gstindex.c: (gst_index_factory_class_init),
3366 (gst_index_factory_finalize):
3367 * gst/gstobject.c: (gst_object_dispose):
3368 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3369 (gst_plugin_load_file), (gst_plugin_desc_free):
3370 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3371 (gst_plugin_feature_finalize):
3372 * gst/gstregistry.c: (gst_registry_class_init),
3373 (gst_registry_init), (gst_registry_finalize),
3374 (gst_registry_get_default), (gst_registry_deinit):
3375 * gst/gstregistry.h:
3376 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3377 various cleanups and memleak plugging. make valgrind is happy now.
3379 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3382 add a check-valgrind target
3384 2005-09-18 David Schleef <ds@schleef.org>
3386 * tools/gst-inspect.c: Revert the GOption code.
3388 2005-09-17 David Schleef <ds@schleef.org>
3390 * check/Makefile.am: Fix environment variables.
3391 * check/gst/gstplugin.c: Fix for API changes.
3392 * tools/gst-inspect.c: Fix for API changes.
3393 * tools/gst-xmlinspect.c: Fix for API changes.
3394 * gst/gstelementfactory.c:
3397 * gst/gstpluginfeature.c:
3398 * gst/gstpluginfeature.h:
3399 * gst/gstregistry.c:
3400 * gst/gstregistry.h:
3401 * gst/gstregistryxml.c:
3402 * gst/gsttypefind.c:
3403 * gst/gsttypefindfactory.c:
3404 * gst/indexers/gstfileindex.c:
3405 * gst/indexers/gstmemindex.c:
3406 * gst/schedulers/Makefile.am:
3407 Change registry to keep track of both plugins and features,
3408 removing the feature tracking from plugins themselves.
3410 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3412 * check/Makefile.am:
3413 * tools/gst-register.1.in:
3416 2005-09-15 David Schleef <ds@schleef.org>
3418 * check/gst/gstplugin.c:
3419 * gst/gstelementfactory.c:
3421 * gst/gstpluginfeature.c:
3422 * gst/gstregistry.c:
3423 Getting tired of debugging. Disabled all the unreffing of
3424 plugins and features, which fixes the segfaults, but of
3425 course leaks like crazy. At least playbin works.
3427 2005-09-15 David Schleef <ds@schleef.org>
3429 * check/gst/gstplugin.c: (register_check_elements),
3430 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3432 * gst/elements/gsttypefindelement.c: Fix refcounting.
3433 * gst/gsttypefind.c:
3434 * gst/gsttypefindfactory.c:
3435 * gst/gsttypefindfactory.h:
3437 2005-09-15 David Schleef <ds@schleef.org>
3439 * gst/gstindex.c: get refcounting correct.
3440 * gst/gstregistry.c: Handle the case where a feature/plugin is
3443 2005-09-15 David Schleef <ds@schleef.org>
3445 * check/Makefile.am:
3446 * check/gst/gstplugin.c: Add test
3447 * gst/gstplugin.c: Fix problems noticed by testsuite
3449 * gst/gstregistry.c:
3450 * gst/gstregistry.h:
3452 2005-09-15 David Schleef <ds@schleef.org>
3454 * gst/gstplugin.c: Implement semi-decent recounting and locking
3455 in plugins and plugin features.
3457 * gst/gstpluginfeature.c:
3458 * gst/gstpluginfeature.h:
3459 * gst/gstregistry.c:
3461 2005-09-15 Michael Smith <msmith@fluendo.com>
3463 * gst/gstregistry.c: (gst_registry_get_feature_list):
3464 Implement this. Makes oggdemux work; decodebin still broken.
3466 2005-09-14 David Schleef <ds@schleef.org>
3468 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3470 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3471 * gst/check/Makefile.am:
3472 * libs/gst/controller/Makefile.am:
3473 * libs/gst/dataprotocol/Makefile.am:
3475 2005-09-14 David Schleef <ds@schleef.org>
3477 * configure.ac: Remove getbits library. Nothing uses it, and
3478 it should be in something like liboil if someone did want
3480 * libs/gst/Makefile.am:
3481 * libs/gst/getbits/Makefile.am:
3482 * libs/gst/getbits/gbtest.c:
3483 * libs/gst/getbits/getbits.c:
3484 * libs/gst/getbits/getbits.h:
3485 * libs/gst/getbits/gstgetbits_generic.c:
3486 * libs/gst/getbits/gstgetbits_i386.s:
3487 * libs/gst/getbits/gstgetbits_inl.h:
3489 2005-09-14 David Schleef <ds@schleef.org>
3491 * gst/Makefile.am: Dist glib-compat.h
3493 2005-09-14 David Schleef <ds@schleef.org>
3495 * configure.ac: Remove gst/registries, since it's no longer used.
3496 * gst/registries/Makefile.am:
3497 * gst/registries/gstlibxmlregistry.c:
3498 * gst/registries/gstlibxmlregistry.h:
3499 * gst/registries/gstxmlregistry.c:
3500 * gst/registries/gstxmlregistry.h:
3501 * gst/registries/registrytest.c:
3503 2005-09-14 David Schleef <ds@schleef.org>
3505 * gst/glib-compat.h:
3506 * gst/gstregistryxml.c:
3507 Convergence is near. Seriously.
3509 2005-09-14 David Schleef <ds@schleef.org>
3511 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3512 * gst/glib-compat.h:
3513 Attempt #4 to appease the buildbots.
3515 2005-09-14 David Schleef <ds@schleef.org>
3517 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3520 2005-09-14 David Schleef <ds@schleef.org>
3522 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3525 2005-09-14 David Schleef <ds@schleef.org>
3527 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3530 2005-09-14 David Schleef <ds@schleef.org>
3532 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3533 * gst/glib-compat.h: Add some functions that are in newer versions
3534 of glib than we care to require.
3535 * gst/gstregistryxml.c: Use them.
3537 2005-09-14 David Schleef <ds@schleef.org>
3539 * po/POTFILES.in: remove gst-register.c
3541 2005-09-14 David Schleef <ds@schleef.org>
3543 * docs/gst/gstreamer-docs.sgml:
3544 * docs/gst/gstreamer-sections.txt:
3545 * docs/gst/gstreamer.types:
3546 * docs/gst/tmpl/gstelement.sgml:
3547 * docs/gst/tmpl/gstplugin.sgml:
3548 * docs/gst/tmpl/gstpluginfeature.sgml:
3549 Documentation updates for registry changes.
3551 2005-09-14 David Schleef <ds@schleef.org>
3553 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3554 because we don't require glib-2.8.
3556 2005-09-14 David Schleef <ds@schleef.org>
3558 * gst/gstregistryxml.c: Added. Essentially moved out of the
3559 registries directory.
3561 2005-09-14 David Schleef <ds@schleef.org>
3563 * check/Makefile.am:
3564 * check/generic/states.c:
3568 * gst/gst_private.h:
3569 * gst/gstelementfactory.c:
3574 * gst/gstpluginfeature.c:
3575 * gst/gstpluginfeature.h:
3576 * gst/gstregistry.c:
3577 * gst/gstregistry.h:
3578 * gst/gstregistrypool.c: remove
3579 * gst/gstregistrypool.h: remove
3580 * gst/gsttypefind.c:
3581 * gst/gsttypefindfactory.c:
3583 * tools/Makefile.am:
3584 * tools/gst-compprep.c:
3585 * tools/gst-inspect.c:
3586 * tools/gst-register.c: remove
3587 * tools/gst-xmlinspect.c:
3588 Registry rewrite. Changes registry from being a file created
3589 by a tool into a simple cache file created automatically by
3590 libgstreamer. Removed gst-register (because it's no longer
3591 needed). Remove registry pools, because we only have one
3592 registry implementation (XML). Fix up other subsystems as
3595 2005-09-13 Michael Smith <msmith@fluendo.com>
3597 * gst/gstconfig.h.in:
3598 Don't Use windows linking attributes for MinGW. Fixes #316157
3600 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3602 * gst/gstutils.c: (set_state_async_thread_func),
3603 (gst_element_set_state_async):
3604 Apparently people think it's better if this function doesn't
3605 try to set the state to whatever state was asked for on the first
3606 call to this function for any object. Seriously.
3608 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3610 * check/gst/gstpipeline.c: (GST_START_TEST):
3611 * docs/gst/gstreamer-sections.txt:
3612 * gst/gstutils.c: (set_state_async_thread_func),
3613 (gst_element_set_state_async):
3615 add a "gst_element_set_state_async" method that
3616 sets the state and starts a thread to make sure the state
3617 change completes as best as it can
3619 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3621 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3622 codify design+behaviour in testsuite after discussion
3624 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3626 * docs/gst/tmpl/gstelement.sgml:
3627 * docs/manual/appendix-quotes.xml:
3629 * gst/gstelement.c: (gst_element_set_state):
3632 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3634 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3635 (gst_base_transform_prepare_output_buf),
3636 (gst_base_transform_handle_buffer):
3637 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3638 (gst_capsfilter_prepare_buf):
3639 Remove the requirement for sub-classes to call the parent
3640 implementation of prepare_output_buffer with a wrapper function.
3643 * gst/gsttagsetter.h:
3646 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3648 * docs/gst/gstreamer-sections.txt:
3651 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * docs/gst/gstreamer-sections.txt:
3654 * docs/gst/tmpl/gstelement.sgml:
3655 * docs/gst/tmpl/gstplugin.sgml:
3656 * gst/gstminiobject.c:
3658 docs now stop throwing warnings
3660 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3662 * docs/gst/gstreamer-sections.txt:
3663 * docs/gst/gstreamer.types:
3664 * docs/gst/tmpl/gstpad.sgml:
3665 * docs/gst/tmpl/gsttypes.sgml:
3666 * gst/base/gstadapter.h:
3667 * gst/base/gstbasesink.h:
3668 * gst/base/gstbasesrc.h:
3678 * gst/gststructure.c:
3679 * gst/registries/gstlibxmlregistry.h:
3680 various documentation fixes
3682 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3684 * docs/gst/gstreamer-sections.txt:
3685 * docs/gst/tmpl/gstvalue.sgml:
3686 rearrange gstvalue section
3687 * gst/gstutils.c: (gst_element_state_get_name):
3689 * gst/gstvalue.c: (_gst_value_initialize):
3693 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3695 * check/gst-libs/controller.c:
3697 * gst/base/gstbasetransform.c:
3698 (gst_base_transform_default_prepare_buf),
3699 (gst_base_transform_handle_buffer):
3700 * gst/base/gstbasetransform.h:
3701 Some more basetransform changes and fixes to enable sub-classes
3702 that modify buffer metadata only.
3703 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3704 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3705 (gst_capsfilter_prepare_buf):
3706 If the output pad has fixed allowed caps and input buffers
3707 don't have any, set the fixed caps on outgoing buffers.
3709 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3710 * check/elements/identity.c: (GST_START_TEST):
3711 Make the error a little clearer when the test fails because
3712 identity made a copy of the buffer.
3713 * docs/gst/gstreamer-sections.txt:
3714 New symbols in gstbasetransform.h
3715 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3716 (gst_base_transform_init), (gst_base_transform_transform_size),
3717 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3718 (gst_base_transform_default_prepare_buf),
3719 (gst_base_transform_get_unit_size),
3720 (gst_base_transform_buffer_alloc),
3721 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3722 (gst_base_transform_change_state),
3723 (gst_base_transform_set_passthrough),
3724 (gst_base_transform_set_in_place),
3725 (gst_base_transform_is_in_place):
3726 * gst/base/gstbasetransform.h:
3727 Change BaseTransform to separate in_place operate from same_caps
3728 output. in_place implies that the element can perform the transform
3729 on incoming buffers in-place, even if the caps on the output are
3731 Sub-class elements can now implement special buffer allocation
3732 methods for outgoing buffers if they wish to.
3733 Big documentation addition.
3734 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3735 * gst/elements/gstelements.c:
3736 Changes for basetransform modifications.
3737 * gst/elements/Makefile.am:
3738 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3739 Compile fix. Extra debug output.
3741 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3743 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3745 add tests for valid pad naming
3746 * gst/check/gstcheck.c: (gst_check_log_message_func),
3747 (gst_check_log_critical_func):
3749 remove printing of code, it is fragile when the code contains
3750 % and the line number is enough info
3751 * gst/check/gstcheck.h:
3752 * gst/gstpad.c: (gst_pad_template_new):
3755 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3758 say what CHECK flags we use
3759 * docs/libs/gstreamer-libs.types:
3760 * libs/gst/controller/Makefile.am:
3761 * libs/gst/controller/gst-controller.c:
3762 * libs/gst/controller/gst-controller.h:
3763 * libs/gst/controller/gst-helper.c:
3764 * libs/gst/controller/gst-interpolation.c:
3765 * libs/gst/controller/gstcontroller.c:
3766 * libs/gst/controller/gsthelper.c:
3767 * libs/gst/controller/gstinterpolation.c:
3768 * tools/gst-inspect.c: (print_plugin_info):
3769 we don't use dashes in header names
3771 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3773 * check/Makefile.am:
3774 * check/gst/.cvsignore:
3775 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3776 (gst_pipeline_suite), (main):
3777 adding a test for pipelines and state changes
3778 * gst/gstutils.c: (get_state_func):
3780 * gstreamer.spec.in:
3783 2005-09-08 Michael Smith <msmith@fluendo.com>
3785 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3786 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3787 (gst_file_src_is_seekable), (gst_file_src_get_size),
3788 (gst_file_src_start):
3789 * gst/elements/gstfilesrc.h:
3790 Various fixes for unseekable, unmmapable, and non-normal files, so
3791 that fallback to read() rather than mmap() works.
3792 * gst/gstevent.c: (gst_event_new_newsegment):
3793 Allow newsegment events with segment_start == segment_end, as will
3794 correctly happen if you use filesrc on a zero-size file, for
3797 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3799 * gst/gstplugin.c: (gst_plugin_load_file):
3800 Call g_module_close when we don't load the module
3802 * gst/registries/gstlibxmlregistry.c:
3803 (gst_xml_registry_get_property):
3804 Port leak fix from 0.8
3806 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3808 * docs/gst/gstreamer-docs.sgml:
3809 * docs/gst/tmpl/.cvsignore:
3810 * docs/gst/tmpl/gsttrace.sgml:
3811 * docs/gst/tmpl/gsttrashstack.sgml:
3820 * gst/gsttaginterface.c:
3821 * gst/gsttaginterface.h:
3824 * gst/gsttagsetter.c:
3825 * gst/gsttagsetter.h:
3828 * gst/gsttrashstack.c:
3829 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3830 inlined docs for gsttrace, gsttrashstack
3832 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3835 * gst/elements/gstbufferstore.h:
3836 * gst/elements/gsttypefindelement.c:
3837 * gst/elements/gsttypefindelement.h:
3839 * gst/gsttypefind.c:
3840 * gst/gsttypefind.h:
3841 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3842 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3843 (gst_type_find_factory_dispose),
3844 (gst_type_find_factory_unload_thyself),
3845 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3846 (gst_type_find_factory_get_caps),
3847 (gst_type_find_factory_get_extensions),
3848 (gst_type_find_factory_call_function):
3849 * gst/gsttypefindfactory.h:
3850 * gst/registries/gstlibxmlregistry.c:
3851 * gst/registries/gstxmlregistry.c:
3852 splitted gsttypefind into gsttypefind, gsttypefindfactory
3854 2005-09-07 Andy Wingo <wingo@pobox.com>
3856 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3857 condition whereby the pad's task function is entered before the
3858 pad_mode variable was set.
3860 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3862 * gst/gstpad.c: (gst_pad_alloc_buffer):
3863 Catch misbehaving pad_alloc functions that don't
3864 set up caps and do it for them.
3866 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3868 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3870 * docs/gst/tmpl/.cvsignore:
3871 * docs/gst/tmpl/gstmemchunk.sgml:
3872 * docs/gst/tmpl/gstparse.sgml:
3873 * docs/gst/tmpl/gsttaglist.sgml:
3874 * docs/gst/tmpl/gsttagsetter.sgml:
3875 * docs/gst/tmpl/gsttypefind.sgml:
3876 * docs/gst/tmpl/gsttypefindfactory.sgml:
3877 * gst/gstmemchunk.c:
3880 * gst/gsttaginterface.c:
3881 * gst/gsttypefind.c:
3882 * gst/gsttypefind.h:
3885 === release 0.9.2 ===
3887 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3892 releasing 0.9.2, "South"
3894 2005-09-05 Andy Wingo <wingo@pobox.com>
3896 * gst/registries/gstxmlregistry.h:
3897 * gst/registries/gstxmlregistry.c: Um... resurrect...
3899 * gst/registries/gstxmlregistry.h:
3900 * gst/registries/gstxmlregistry.c: and update to newer API.
3901 Incidentally they should be a bit faster now that they don't have
3904 2005-09-05 Andy Wingo <wingo@pobox.com>
3906 * gst/registries/gstxmlregistry.h:
3907 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3908 replaced by the libxml registry a while back
3910 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3912 * docs/gst/tmpl/gstplugin.sgml:
3913 * gst/elements/gstelements.c:
3915 * gst/gstplugin.c: (gst_plugin_register_func),
3916 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3917 (gst_plugin_get_source):
3919 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3920 (gst_xml_registry_save_plugin):
3921 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3922 (gst_xml_registry_save_plugin):
3923 * tools/gst-inspect.c: (print_plugin_info):
3924 add a "source" plugin description field, to represent the source
3925 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3926 will set it to PACKAGE, which is automake's idea of the name of
3929 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3935 * docs/faq/Makefile.am:
3936 * docs/gst/tmpl/gstelement.sgml:
3937 * docs/gst/tmpl/gsttypes.sgml:
3938 * docs/htmlinstall.mak:
3939 * docs/manual/Makefile.am:
3940 * docs/pwg/Makefile.am:
3941 reorganize doc build a little
3942 split out docbook and gtk-doc stuff
3943 have two separate --enable's and enable them through autogen
3944 but disable by default in configure (to be similar to other
3946 * gstreamer.spec.in:
3947 clean up docs install
3967 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3969 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3972 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3973 (gst_fake_sink_change_state):
3974 Make state change function thread-safe.
3976 * gst/gstpad.c: (gst_pad_alloc_buffer):
3977 Set offset on generic buffer allocated by fallback.
3979 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3981 * docs/gst/gstreamer-sections.txt:
3982 * docs/gst/tmpl/gstelement.sgml:
3984 * libs/gst/controller/gst-controller.c:
3985 (gst_controlled_property_set_interpolation_mode),
3986 (gst_controlled_property_new),
3987 (gst_controller_find_controlled_property):
3988 run the wingo-magic script against the docs
3990 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3992 * docs/gst/gstreamer-docs.sgml:
3993 * docs/gst/gstreamer-sections.txt:
3994 * docs/gst/tmpl/.cvsignore:
3995 * docs/gst/tmpl/gstelementdetails.sgml:
3996 * docs/gst/tmpl/gstelementfactory.sgml:
3999 * gst/gstelementfactory.c:
4000 * gst/gstelementfactory.h:
4001 merged elementdetails docs into elementfactory docs
4004 2005-09-02 Andy Wingo <wingo@pobox.com>
4006 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4007 consider this enum an enum and not a flags.
4009 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4011 * docs/gst/gstreamer-docs.sgml:
4012 * docs/gst/tmpl/.cvsignore:
4013 * docs/gst/tmpl/gstghostpad.sgml:
4014 * docs/gst/tmpl/gstiterator.sgml:
4015 * docs/gst/tmpl/gstmacros.sgml:
4016 * docs/gst/tmpl/gstrealpad.sgml:
4017 * docs/gst/tmpl/gstregistry.sgml:
4018 * docs/gst/tmpl/gstregistrypool.sgml:
4019 * docs/gst/tmpl/gststructure.sgml:
4020 * docs/gst/tmpl/gstsystemclock.sgml:
4021 * docs/gst/tmpl/gsttrace.sgml:
4022 * gst/gstghostpad.c:
4024 * gst/gstmemchunk.c:
4025 * gst/gstmemchunk.h:
4027 * gst/gstregistry.c:
4028 * gst/gstregistrypool.c:
4029 * gst/gststructure.c:
4030 * gst/gstsystemclock.c:
4033 2005-09-02 Andy Wingo <wingo@pobox.com>
4035 * gst/gstelement.h (GstState): Renamed from GstElementState,
4036 changed to be a normal enum instead of flags.
4037 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4038 munged to be GST_STATE_CHANGE_*.
4039 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4040 work with the new state representation.
4041 (GstStateChange): New enumeration of possible state transitions.
4042 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4043 (GstElementClass::change_state): Pass the GstStateChange along as
4044 an argument. Helps language bindings, so they don't have to use
4045 tricky lock-needing macros like GST_STATE_CHANGE ().
4047 * scripts/update-states (file): New script. Run it on a file to
4048 update it for state naming and API changes. Updates files in
4051 * All files updated for the new API.
4053 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4055 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4056 * gst/gstutils.c: (gst_util_set_value_from_string),
4057 (gst_util_set_object_arg):
4058 fix a bunch of unchecked return values
4059 * tools/gst-complete.c: (main):
4060 * gstreamer.spec.in:
4063 2005-09-01 Wim Taymans <wim@fluendo.com>
4065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4066 (gst_base_sink_event), (gst_base_sink_do_sync),
4067 (gst_base_sink_handle_event):
4068 * gst/base/gstbasesink.h:
4069 Handle newsegments more correctly.
4074 * gst/gstevent.c: (gst_event_new_newsegment):
4075 A newsegment cannot have a start_time of -1
4077 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4079 * win32/gstenumtypes.c:
4080 * win32/gstenumtypes.h:
4083 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4085 * libs/gst/controller/gst-controller.c:
4086 (gst_controlled_property_set_interpolation_mode),
4087 (gst_controlled_property_new):
4090 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4092 * docs/faq/gst-uninstalled:
4097 * gst/gstutils.c: (gst_element_link_filtered):
4099 add gst_element_link_filtered
4101 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4103 * docs/gst/gstreamer-docs.sgml:
4104 * docs/gst/gstreamer-sections.txt:
4105 * docs/gst/tmpl/.cvsignore:
4106 * docs/gst/tmpl/gsterror.sgml:
4107 * docs/gst/tmpl/gstfilter.sgml:
4108 * docs/gst/tmpl/gsturihandler.sgml:
4109 * docs/gst/tmpl/gsturitype.sgml:
4110 * docs/gst/tmpl/gstutils.sgml:
4111 * docs/gst/tmpl/gstxml.sgml:
4119 inlined more docs, fixed double id-ref
4121 2005-08-31 Wim Taymans <wim@fluendo.com>
4123 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4124 (gst_base_transform_handle_buffer):
4125 Passthrough elements don't need the caps as they don't care.
4127 2005-08-31 Wim Taymans <wim@fluendo.com>
4129 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4130 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4131 Don't leak refcounts on buffers.
4133 2005-08-31 Wim Taymans <wim@fluendo.com>
4135 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4136 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4137 (gst_base_transform_chain), (gst_base_transform_change_state):
4138 * gst/base/gstbasetransform.h:
4139 Handle the case where we are not negotiated more gracefully.
4141 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4143 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4144 (gst_file_src_map_region):
4145 Set READONLY flag on mmap'ed buffers, otherwise
4146 gst_buffer_make_writable() won't work properly (#314708).
4148 2005-08-31 Wim Taymans <wim@fluendo.com>
4150 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4151 passthrough elements can even do inplace on non writable
4152 buffers (as they don't touch them).
4154 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4156 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4157 (gst_test_mono_source_set_property),
4158 (gst_test_mono_source_class_init), (GST_START_TEST),
4159 (gst_controller_suite):
4160 more tests (hehe I have the most)
4162 describe popping messages whenusing mulltiple sources
4163 * libs/gst/controller/gst-controller.c:
4164 (gst_controlled_property_set_interpolation_mode),
4165 (gst_controlled_property_new):
4166 * libs/gst/controller/gst-controller.h:
4167 * libs/gst/controller/gst-interpolation.c:
4168 implement boolean properties
4170 2005-08-31 Wim Taymans <wim@fluendo.com>
4172 * gst/gstminiobject.c: (gst_mini_object_ref):
4173 Cannot assert that the refcount has to be positive
4174 since a disposed object can be resurrected.
4176 2005-08-31 Wim Taymans <wim@fluendo.com>
4178 * gst/gstpad.c: (gst_pad_init):
4179 Revert change, need to first fix badly behaving
4182 2005-08-30 Wim Taymans <wim@fluendo.com>
4184 * check/elements/fakesrc.c: (setup_fakesrc):
4185 * check/elements/identity.c: (setup_identity):
4186 Activate pads before using them.
4188 2005-08-30 Wim Taymans <wim@fluendo.com>
4190 * gst/base/gstadapter.c: (gst_adapter_flush):
4191 Flushing out 0 bytes is ok for this function.
4193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4194 no newsegment gives a warning and sets the start/stop to
4197 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4198 (gst_base_transform_set_passthrough):
4201 * gst/gstminiobject.c: (gst_mini_object_ref):
4202 Check refcount here too.
4204 * gst/gstpad.c: (gst_pad_init):
4205 Pads are initially flushing and refusing data.
4207 * gst/gstutils.c: (gst_element_link_pads_filtered):
4208 When adding a capsfilter element make sure it has the
4209 same state as the parent bin.
4211 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4213 * docs/gst/tmpl/.cvsignore:
4214 * docs/gst/tmpl/gstformat.sgml:
4215 * docs/gst/tmpl/gstversion.sgml:
4219 * gst/gstversion.h.in:
4220 more docs and two more inlined
4222 2005-08-30 Wim Taymans <wim@fluendo.com>
4224 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4225 Don't sync to clock.
4227 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4229 * docs/gst/gstreamer-sections.txt:
4230 ultral33t func10ns deserve to appear in the docs actually
4231 * docs/gst/tmpl/.cvsignore:
4232 * docs/gst/tmpl/gstcompat.sgml:
4233 * docs/gst/tmpl/gstconfig.sgml:
4234 * gst/check/gstcheck.c:
4236 * gst/gstconfig.h.in:
4239 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4241 * docs/gst/tmpl/.cvsignore:
4242 * docs/gst/tmpl/gstquery.sgml:
4243 * docs/gst/tmpl/gstutils.sgml:
4246 inlined and extended docs
4248 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4250 * check/gst-libs/controller.c: (GST_START_TEST),
4251 (gst_controller_suite):
4253 * docs/gst/tmpl/gstutils.sgml:
4254 * docs/libs/gstreamer-libs-sections.txt:
4255 * docs/libs/tmpl/gstdataprotocol.sgml:
4257 * examples/controller/audio-example.c: (main):
4258 controller example works now
4261 * tools/gst-inspect.c: (print_element_properties_info):
4262 show param spec flags
4264 2005-08-29 Andy Wingo <wingo@pobox.com>
4266 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4268 2005-08-28 Andy Wingo <wingo@pobox.com>
4270 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4271 as having two arguments instead of just one. Allows superclasses
4272 to access information on subclasses -- see the terrible for() loop
4273 in gtype.c:g_type_create_instance for the reason why. All callers
4276 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4278 * docs/design/part-messages.txt:
4280 * docs/gst/tmpl/.cvsignore:
4281 * docs/gst/tmpl/gstcaps.sgml:
4282 * docs/gst/tmpl/gstclock.sgml:
4289 added descriptions for bus and message
4290 inline caps and clock docs
4292 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4298 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4300 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4303 2005-08-26 Andy Wingo <wingo@pobox.com>
4305 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4306 element_set_state's return val.
4307 (test_2_elements): Add test that's been disabled for months.
4309 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4310 can-activate-pull properties.
4312 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4313 can-activate-pull properties. Implement is_seekable so fakesrc can
4314 operate in pull mode.
4316 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4318 (gst_base_sink_activate, gst_base_sink_activate_pull)
4319 (gst_base_sink_activate_push): Make activation mode choosing work.
4321 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4322 is right. Make pull mode work. Post an eos before pausing in pull
4324 (gst_base_sink_change_state): Pay attention to the core's
4325 change_state() return val.
4327 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4328 has-getrange properties. Cleanups.
4330 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4331 has_getrange and replace with can_activate_pull and
4334 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4335 locking comments. Remove has_loop, has_chain and replace with
4336 can_activate_pull and can_activate_push.
4338 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4341 * examples/Makefile.am:
4342 * examples/metadata/Makefile.am:
4343 * examples/metadata/read-metadata.c: (message_loop),
4344 (have_pad_handler), (make_pipeline), (print_tag), (main):
4345 Add metadata reading example that loops over a list of filenames,
4346 dumping any tags found.
4348 * gst/gstbus.c: (gst_bus_dispose):
4349 * gst/gstelement.c: (gst_element_dispose):
4350 Release a few potentially-held references in dispose.
4352 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4354 * docs/gst/tmpl/gstminiobject.sgml:
4355 do *not* add tmpl/*.sgml files to CVS!
4357 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4359 * libs/gst/bytestream/.cvsignore:
4360 * libs/gst/bytestream/Makefile.am:
4361 * libs/gst/bytestream/adapter.c:
4362 * libs/gst/bytestream/adapter.h:
4363 * libs/gst/bytestream/bytestream.c:
4364 * libs/gst/bytestream/bytestream.h:
4365 * libs/gst/bytestream/filepad.c:
4366 * libs/gst/bytestream/filepad.h:
4367 removing obsolete files
4369 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4371 * docs/gst/gstreamer-docs.sgml:
4372 * docs/libs/gstreamer-libs-docs.sgml:
4373 disabed additional index entries again, as this makes docs-gen just
4374 slow and they aren't useful yet
4375 * docs/libs/gstreamer-libs-sections.txt:
4376 little -section.txt cleanup for libs
4378 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4381 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4382 fix up some debugging
4383 (gst_base_transform_get_unit_size),
4384 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4385 (gst_base_transform_handle_buffer):
4386 * gst/base/gstbasetransform.h:
4387 handle and store timed NEWSEGMENT events so that subclasses that
4388 calculate time by counting samples have a segment_start time they
4389 need to add to their timestamps - see audioresample
4391 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4394 removed ';' from the end of macro defs
4395 * docs/gst/gstreamer-docs.sgml:
4396 * docs/gst/gstreamer-sections.txt:
4397 * docs/gst/tmpl/.cvsignore:
4399 * gst/gstelement.c: (gst_element_class_init),
4400 (gst_element_set_state), (activate_pads),
4401 (gst_element_save_thyself):
4402 * gst/gstevent.c: (gst_event_new_newsegment):
4404 * gst/gstiterator.c:
4405 * gst/gstiterator.h:
4408 * gst/gstutils.c: (gst_pad_query_convert):
4410 fixed parameter name mismatches between source, header and docs
4411 added some more docs, resolved the last batch of unused elements in
4412 docs (now someone needs to doc them)
4414 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4416 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4417 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4418 don't walk through the plugins backwards. Where is all this
4419 reversed logic coming from ?
4421 2005-08-25 Wim Taymans <wim@fluendo.com>
4423 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4424 (gst_base_transform_transform_size),
4425 (gst_base_transform_configure_caps),
4426 (gst_base_transform_get_unit_size),
4427 (gst_base_transform_buffer_alloc),
4428 (gst_base_transform_change_state):
4429 * gst/base/gstbasetransform.h:
4430 Cache caps unit_size.
4431 Make sure we cannot negotiate up and downstream at the
4434 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4436 * gst/gst.c: (init_pre), (init_post):
4437 register the installed plugin path after the env var
4438 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4439 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4440 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4441 directories, so the tests can prefer uninstalled over installed
4443 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * gst/base/gstbasetransform.h:
4450 2005-08-25 Wim Taymans <wim@fluendo.com>
4452 * gst/gstbin.c: (bin_bus_handler):
4453 Be a bit more conservative about the posted message.
4455 * gst/gstbus.c: (gst_bus_post):
4456 Some cleanups, warn wrong return values.
4458 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4460 * check/gst/gstbin.c: (GST_START_TEST):
4461 * gst/gstbin.c: (bin_bus_handler):
4462 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4463 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4464 (gst_message_new_warning), (gst_message_new_tag),
4465 (gst_message_new_state_changed), (gst_message_new_segment_start),
4466 (gst_message_new_segment_done), (gst_message_new_custom):
4468 * tools/gst-launch.c: (event_loop):
4469 * tools/gst-md5sum.c: (event_loop):
4470 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4472 2005-08-25 Wim Taymans <wim@fluendo.com>
4474 * check/generic/states.c: (GST_START_TEST):
4475 Cleanup can be done at the end.
4477 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4478 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4479 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4480 Oh boy.. Thanks for finding this, Thomas.
4482 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4484 * docs/gst/gstreamer.types:
4487 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4489 * docs/gst/gstreamer-docs.sgml:
4490 * docs/gst/gstreamer-sections.txt:
4491 * docs/gst/tmpl/.cvsignore:
4493 * gst/gstiterator.c:
4495 * gst/registries/gstxmlregistry.h:
4496 added missing classes and symbols (123 more to go)
4497 removed removed symbols from section file
4498 fixed many doc-comments
4500 2005-08-24 Wim Taymans <wim@fluendo.com>
4502 * check/generic/states.c: (GST_START_TEST):
4503 Make sure all tasks are stopped.
4505 * check/gst/gstbin.c: (GST_START_TEST):
4506 Unref after usage for proper valgrinding.
4508 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4509 Really wait for the task to stop before destroying the
4512 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4513 (gst_queue_src_activate_push):
4514 Small cleanups. Don't stop the task when we did not start
4517 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4518 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4519 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4522 Protect the stream lock with the object lock.
4523 Disallow setting the stream lock when running.
4524 Add cleanup_all to wait for the threadpool to finish.
4525 Remove code to autoallocate a mutex if none was provided.
4526 Add _join() to wait for a task to stop.
4527 Protect the thread pool with a global lock.
4529 2005-08-24 Wim Taymans <wim@fluendo.com>
4531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4532 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4533 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4534 * gst/base/gstbasesink.h:
4535 Handle newsegment events correctly.
4536 Drop buffers out of the segment range.
4538 2005-08-22 Andy Wingo <wingo@pobox.com>
4540 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4541 macro, implements an interface and gstimplementsinterface for a
4544 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4546 * check/Makefile.am:
4547 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4548 add a test that does a bunch of state changes on elements
4549 needs some fixing for valgrind
4550 * check/states/sinks.c: (gst_object_suite):
4553 add prototype for gst_caps_is_equal_fixed
4555 * gst/gstregistrypool.c:
4558 2005-08-24 Andy Wingo <wingo@pobox.com>
4560 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4561 convert a negative value. Doesn't make much sense. Mostly this is
4562 here to force callers to ensure -1 maps to -1.
4564 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4566 * docs/pwg/advanced-types.xml:
4567 Well done to Michael for catching my deliberate introduction
4568 of this spelling mistake.
4569 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4571 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4572 unlink pads before removing the element from the bin.
4574 2005-08-24 Andy Wingo <wingo@pobox.com>
4576 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4577 the same thing as GST_DEBUG=*:4.
4578 (parse_debug_level, parse_debug_category): New helper parsers.
4580 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4583 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4584 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4585 (gst_base_transform_buffer_alloc),
4586 (gst_base_transform_handle_buffer):
4587 use gboolean return values and pointers to size so we can use the
4588 full GST_BUFFER_SIZE range (guint) for buffer sizes
4589 use GstPadDirection for transform_caps
4590 * gst/base/gstbasetransform.h:
4591 rename get_size to get_unit_size since that's what it is
4592 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4593 use GstPadDirection for transform_caps
4594 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4596 cleanup and debugging
4598 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4600 * gst/gstelement.c: (gst_element_class_init),
4601 (gst_element_set_state), (activate_pads),
4602 (gst_element_save_thyself):
4603 * tools/gst-compprep.c: (main):
4604 * tools/gst-inspect.c: (print_element_properties_info):
4605 * tools/gst-xmlinspect.c: (print_element_properties):
4606 Fixed long standing mem-leak
4608 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4610 * check/gst/gstbin.c: (GST_START_TEST):
4611 * gst/gstbin.c: (bin_bus_handler):
4612 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4613 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4614 (gst_message_new_warning), (gst_message_new_tag),
4615 (gst_message_new_state_changed), (gst_message_new_segment_start),
4616 (gst_message_new_segment_done), (gst_message_new_custom):
4618 * tools/gst-launch.c: (event_loop):
4619 * tools/gst-md5sum.c: (event_loop):
4620 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4621 that applications can sensibly post custom messages with references
4622 to their own objects.
4624 2005-08-24 Andy Wingo <wingo@pobox.com>
4626 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4629 2005-08-24 Wim Taymans <wim@fluendo.com>
4631 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4632 (gst_base_transform_transform_caps),
4633 (gst_base_transform_transform_size),
4634 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4635 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4636 (gst_base_transform_handle_buffer):
4637 * gst/base/gstbasetransform.h:
4638 Many fixes and new features added by Thomas. Can now also do
4639 transforms with variable sizes and a custom fixate_caps function.
4641 2005-08-24 Wim Taymans <wim@fluendo.com>
4643 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4647 Cast to ClockTime before formatting to time.
4652 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4654 * check/gst-libs/controller.c: (GST_START_TEST),
4655 (gst_controller_suite):
4656 * docs/gst/tmpl/gstcaps.sgml:
4657 * docs/gst/tmpl/gstghostpad.sgml:
4658 * docs/gst/tmpl/gstquery.sgml:
4659 * docs/gst/tmpl/gstutils.sgml:
4660 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4661 (gst_object_sink_values), (gst_object_get_value_arrays),
4662 (gst_object_get_value_array):
4663 gracefully handle helper method calls to objects that are not beeing
4664 controlled, added test case for that
4666 2005-08-23 Wim Taymans <wim@fluendo.com>
4668 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4669 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4670 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4671 (gst_event_parse_qos), (gst_event_new_seek),
4672 (gst_event_parse_seek):
4674 Some more debugging output and doc cleanups.
4676 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4677 Fix possible deadlock.
4679 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4681 * docs/gst/gstreamer-docs.sgml:
4682 * docs/gst/gstreamer-sections.txt:
4683 * docs/gst/gstreamer.types:
4684 * docs/gst/tmpl/.cvsignore:
4689 added 100 symbols from gstreamer-unused.txt to the right sections
4690 fixed more broken comments
4691 added GstBus to docs
4693 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4695 * docs/gst/gstreamer-sections.txt:
4696 * docs/gst/tmpl/.cvsignore:
4697 * docs/gst/tmpl/gstbin.sgml:
4698 * docs/gst/tmpl/gstbuffer.sgml:
4699 * gst/base/gstbasesrc.c:
4700 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4703 * tools/gst-launch.1.in:
4704 inlined more doc comments, added missing comments and fixed comments
4707 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4709 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4713 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4715 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4716 * gst/gststructure.h:
4717 add a fixate function for booleans; add a FIXME that these func
4718 names should probably be gst_structure_fixate_*
4720 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4722 * docs/gst/gstreamer-docs.sgml:
4723 * docs/gst/gstreamer-sections.txt:
4725 * gst/gstbin.c: (gst_bin_get_type),
4726 (gst_bin_child_proxy_get_child_by_index),
4727 (gst_bin_child_proxy_get_children_count),
4728 (gst_bin_child_proxy_init):
4729 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4730 (gst_child_proxy_get_child_by_index),
4731 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4732 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4733 (gst_child_proxy_get), (gst_child_proxy_set_property),
4734 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4735 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4736 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4737 * gst/gstchildproxy.h:
4738 * gst/parse/grammar.y:
4739 * tools/gst-inspect.c: (print_interfaces),
4740 (print_element_properties_info), (print_element_info):
4741 ported gstchildproxy over from 0.8
4742 ported gst-inspect fixes and enhancements over from 0.8
4744 2005-08-22 Wim Taymans <wim@fluendo.com>
4746 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4747 (gst_base_transform_handle_buffer):
4748 Also call the transform function if we have ANY caps.
4750 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4753 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4755 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4756 Don't pretend to handle seek events if the source is not seekable
4758 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4761 Remove extra parameter to debug output
4763 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4764 (gst_base_src_do_seek), (gst_base_src_activate_push):
4765 Fix seek event handling.
4767 * gst/gstpipeline.c: (gst_pipeline_change_state):
4768 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4769 (gst_queue_src_activate_push):
4770 Don't start the src pad task on FLUSH_STOP if the pad
4774 2005-08-22 Wim Taymans <wim@fluendo.com>
4776 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4777 Added check for gst_static_caps_get() refcounting.
4779 2005-08-22 Wim Taymans <wim@fluendo.com>
4781 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4782 Make _static_caps_get() refcounting sane.
4784 * gst/gstelement.c: (gst_element_set_state):
4785 Add g_return_val_if_fail() to protect against segfaults.
4787 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4789 * docs/gst/tmpl/gstevent.sgml:
4792 inlined remaining docs, added missing doc comments
4794 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4796 * check/gst/gstbin.c: (GST_START_TEST):
4797 since we don't know when preroll is done, use refcount range
4799 * gst/check/gstcheck.h:
4800 add macro for checking refcount range
4802 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4804 * check/Makefile.am:
4805 clean up environment for when registry gets built versus
4806 when actual tests are run; valgrind seems to not report
4807 leaks if GST_PLUGIN_PATH is set to some specific values
4808 * check/gst/gstbin.c: (GST_START_TEST):
4809 add more refcounting checks; maybe this exposes a
4812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4813 * gst/check/gstcheck.h:
4814 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4815 (gst_bin_change_state):
4816 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4817 add/fix debugging/whitespace
4819 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4821 * check/gst/gstevent.c: (event_probe), (test_event),
4823 Er, don't call gst_bin_watch_for_state_change you idiot.
4825 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4827 * check/Makefile.am:
4828 Use CHECK_CFLAGS and CHECK_LIBS
4829 * check/gst/gstevent.c: (event_probe), (test_event),
4832 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4833 (gst_base_src_start), (gst_base_src_stop),
4834 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4835 (gst_base_src_change_state):
4836 Sprinkle gst_base_src_stop liberally around error paths to fix
4837 problems reusing a source after failed state changes.
4838 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4839 (helper_find_suggest), (gst_type_find_helper):
4840 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4842 * docs/gst/tmpl/gstevent.sgml:
4843 Migrate part of the docs from the SGML file. Wait for ensonic to
4844 tell me how I did it wrong ;)
4845 * tools/gst-typefind.c: (main):
4846 Extra robustness to state changes between files.
4848 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4850 * check/Makefile.am:
4851 don't valgrind the controller test - it's leaking - Stefan, HELP
4852 * gst/check/gstcheck.c: (gst_check_message_error),
4853 (gst_check_chain_func), (gst_check_setup_element),
4854 (gst_check_teardown_element), (gst_check_setup_src_pad),
4855 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4856 (gst_check_teardown_sink_pad):
4857 * gst/check/gstcheck.h:
4858 add a bunch of methods to set up elements, and src and sink pads
4859 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4860 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4865 whitespace/doc fixes
4867 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4870 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4871 be handled by the application and not always printed as well
4873 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4875 * check/Makefile.am:
4877 * gst/check/gstcheck.c: (gst_check_message_error):
4878 * gst/check/gstcheck.h:
4879 add a fail_unless_equals_int
4880 add fail_unless for error messages
4882 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4884 * check/Makefile.am:
4886 * common/Makefile.am:
4889 factor out some of the common stuff so we can use it
4891 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4893 * check/Makefile.am:
4894 * check/gst/gstiterator.c: (GST_START_TEST):
4895 * check/gst/gstsystemclock.c: (GST_START_TEST),
4896 (gst_systemclock_suite):
4897 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4901 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4903 * check/elements/.cvsignore:
4904 * check/elements/gstfakesrc.c:
4905 rename to name of element
4906 * check/elements/identity.c: (chain_func), (event_func),
4907 (setup_identity), (cleanup_identity), (GST_START_TEST),
4908 (identity_suite), (main):
4909 add a test for identity
4910 * check/Makefile.am:
4911 * pkgconfig/Makefile.am:
4912 * pkgconfig/gstreamer-check.pc.in:
4913 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4917 move the check stuff to a library that gets installed
4918 * check/gst-libs/controller.c: (GST_START_TEST):
4919 * check/gst-libs/gdp.c:
4920 * check/gst/gst.c: (GST_START_TEST):
4921 * check/gst/gstbin.c:
4922 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4923 * check/gst/gstbus.c:
4924 * check/gst/gstcaps.c: (GST_START_TEST):
4925 * check/gst/gstelement.c:
4926 * check/gst/gstghostpad.c:
4927 * check/gst/gstiterator.c:
4928 * check/gst/gstmessage.c:
4929 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4930 * check/gst/gstobject.c:
4931 * check/gst/gstpad.c: (GST_START_TEST):
4932 * check/gst/gststructure.c: (GST_START_TEST):
4933 * check/gst/gstsystemclock.c: (GST_START_TEST),
4934 (gst_systemclock_suite):
4935 * check/gst/gsttag.c: (gst_tag_suite):
4936 * check/gst/gstvalue.c:
4937 * check/pipelines/cleanup.c:
4938 * check/pipelines/simple_launch_lines.c:
4939 * check/states/sinks.c:
4940 change include statement
4942 * docs/gst/gstreamer-sections.txt:
4943 * docs/gst/tmpl/gstpad.sgml:
4944 document more pad stuff
4945 * gst/gstminiobject.c: (gst_mini_object_ref),
4946 (gst_mini_object_unref):
4949 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4951 * docs/gst/tmpl/gst.sgml:
4953 eliminate another tmpl file, fix spelling in the long-description
4955 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4957 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4958 (test_event), (timediff), (gstevents_suite):
4959 Should fix build on 64-bit arch's
4961 2005-08-18 Andy Wingo <wingo@pobox.com>
4963 Make sure that when a pipeline goes to PLAYING, that data has
4964 actually hit the sink.
4966 * check/states/sinks.c (test_sink): A sink that doesn't get any
4967 data shouldn't return SUCCESS for going to either PLAYING or
4968 PAUSED. Test also the return values on the way back down.
4970 * gst/gstelement.c (gst_element_set_state): When changing the
4971 state of an element currently changing state asynchronously, go to
4972 lost-state after commiting the pending state. Makes future calls
4973 to get_state continue to return ASYNC.
4975 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4976 ASYNC when going to PLAYING if we still don't have preroll, as can
4977 happen with live sources.
4979 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4981 * docs/pwg/advanced-types.xml:
4982 Hack long paragraph into 2 chunks as a workaround for buggy
4983 jadetex version in sid and breezy that loops infinitely and
4986 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4988 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4989 (test_event), (timediff), (gstevents_suite):
4990 Provide more error margin in clock measurements to allow for
4991 g_get_current_time inaccuracies.
4993 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4995 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4996 (test_event), (timediff), (gstevents_suite):
4997 Fix error message output so I might be able to tell why the
4998 test works here but fails on the build farm.
5000 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5002 * check/Makefile.am:
5003 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5004 (test_event), (timediff), (gstevents_suite), (main):
5007 * docs/design/part-seeking.txt:
5010 * docs/gst/tmpl/gstevent.sgml:
5011 * docs/gst/tmpl/gstfakesrc.sgml:
5014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5015 Treat a buffer-without-newsegment the same as a receiving
5016 a newsegment not in time format, and disable syncing to the clock
5019 * gst/gstbus.c: (gst_bus_set_sync_handler):
5020 Assert if anyone tries to replace the existing sync_handler for bus,
5021 as only the owner should be setting it.
5024 Have a fixed set of custom event enums with events identified by
5025 their structure name (as in 0.8), rather than a free-for-all
5026 allowing collisions between enum values from different plugins.
5028 * gst/gstpad.c: (gst_pad_class_init):
5031 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5032 Handle out-of-band downstream events from the sending thread.
5034 2005-08-17 Andy Wingo <wingo@pobox.com>
5036 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5037 play-timeout==0 to mean no timeout at all. In that case, don't
5038 bother with a get_state or a warning, just return directly, even
5041 * gst/base/gstbasetransform.c: Debug changes.
5044 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5045 ensure bins post state change messages. A bit of a hack but I can't
5046 think of a way to avoid it.
5048 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5050 2005-08-16 Andy Wingo <wingo@pobox.com>
5052 * gst/base/gstadapter.h:
5053 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5054 peek() but you own the data. Not terribly efficient atm.
5056 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5058 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5059 (gst_element_found_tags):
5061 Add two utility functions for tag handling.
5063 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5065 * docs/manual/advanced-dataaccess.xml:
5066 * docs/manual/basics-helloworld.xml:
5067 Fix docs to use _bin_add() before _link(), which fixes the examples
5068 with recent core versions (reported by Madhan Raj M
5069 <raj_madan@rediffmail.com>, #313199).
5071 2005-08-16 Wim Taymans <wim@fluendo.com>
5073 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5074 Added subtract checks.
5076 * docs/design/part-events.txt:
5077 Some more docs about newsegment
5079 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5082 * gst/gstcaps.c: (gst_caps_to_string):
5083 Add comments, cleanups.
5085 * gst/gstelement.c: (gst_element_save_thyself):
5088 * gst/gstvalue.c: (gst_value_collect_int_range),
5089 (gst_string_unwrap), (gst_value_union_int_int_range),
5090 (gst_value_union_int_range_int_range),
5091 (gst_value_intersect_int_int_range),
5092 (gst_value_intersect_int_range_int_range),
5093 (gst_value_intersect_double_double_range),
5094 (gst_value_intersect_double_range_double_range),
5095 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5096 (gst_value_subtract_int_range_int),
5097 (gst_value_subtract_double_range_double),
5098 (gst_value_subtract_double_range_double_range),
5099 (gst_value_subtract_from_list), (gst_value_subtract_list),
5100 (gst_value_can_compare), (gst_value_compare_fraction):
5101 Cleanups, add comments, remove unneeded asserts.
5103 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5105 * tools/gst-launch.c: (event_loop):
5106 don't convert NULL structures to strings
5108 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5110 * docs/gst/gstreamer-sections.txt:
5111 made some defines private
5112 * docs/gst/tmpl/gstconfig.sgml:
5113 * docs/gst/tmpl/gstqueue.sgml:
5114 * docs/gst/tmpl/gsttaglist.sgml:
5115 * docs/gst/tmpl/gsttypes.sgml:
5116 * docs/gst/tmpl/gstutils.sgml:
5117 * docs/pwg/appendix-porting.xml:
5118 * gst/base/gstbasesink.h:
5119 * gst/base/gstbasesrc.c:
5120 * gst/base/gstbasesrc.h:
5121 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5122 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5123 * gst/gstelement.c: (gst_element_class_init):
5124 * gst/gstpad.c: (gst_pad_class_init):
5125 * gst/gstqueue.c: (gst_queue_class_init):
5126 * gst/gstxml.c: (gst_xml_class_init):
5127 documented all undocumented signal inline
5128 * libs/gst/controller/gst-controller.h:
5131 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5133 * docs/pwg/appendix-porting.xml:
5134 Document _set_link_function -> _set_setcaps_function.
5136 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5138 * check/Makefile.am:
5139 add a .check target for running the check
5140 * check/gst-libs/controller.c: (GST_START_TEST):
5142 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5143 complete checks for gstbuffer; would be nice if I could get the
5144 gcov stuff to work so I can see if I actually completed gstbuffer.c
5146 add ASSERT_BUFFER_REFCOUNT
5148 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5150 * docs/gst/gstreamer-sections.txt:
5151 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5153 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5154 spew out a warning if a tag that is already registered
5155 is re-registered, unless it is re-registered with a
5156 different type (#308438).
5158 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5160 * docs/pwg/appendix-porting.xml:
5161 * docs/pwg/building-state.xml:
5162 Add some paragraphs about state changes in 0.9 to the PWG
5163 and the porting guide, in particular about the new meaning
5164 of GST_STATE_PAUSED and how to write state change functions
5165 with concurrent access by multiple threads in mind.
5167 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5169 * docs/gst/gstreamer-docs.sgml:
5170 * docs/libs/gstreamer-libs-docs.sgml:
5171 added deprecation and since indexes
5172 * libs/gst/controller/gst-controller.c:
5173 * libs/gst/controller/gst-helper.c:
5177 2005-08-11 Wim Taymans <wim@fluendo.com>
5179 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5180 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5181 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5182 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5183 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5184 (gst_ghost_pad_set_target):
5185 Actually implement (re)setting the target on a ghostpad
5186 as described in the docs.
5188 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5190 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5191 Check whether GST_DEBUG_NO_COLOR environment variable is
5192 set and disable coloured debug output if that is the case.
5194 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5196 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5197 (gst_type_find_helper):
5198 The memory returned by gst_type_find_peek() needs to
5199 stay valid until the end of a typefind function, and
5200 typefind functions may keep results from different
5201 offsets around, so we can't just unref the buffer from
5202 the previous _peek(), but have to save all buffers
5203 returned by _peek() until typefinding is done and only
5206 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5208 * docs/gst/gstreamer-sections.txt:
5210 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5212 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5214 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5215 Fix a pretty good memleak.
5217 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5219 * gst/gstiterator.h:
5220 Fix wrong include and 'make distcheck'.
5222 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5224 * gst/gstbin.c: (bin_bus_handler):
5225 Use gst_element_post_message() instead.
5227 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5229 * gst/base/gstadapter.h:
5230 * gst/base/gstbasesink.h:
5231 * gst/base/gstbasesrc.h:
5232 * gst/base/gstbasetransform.h:
5233 * gst/base/gstcollectpads.h:
5234 * gst/base/gstpushsrc.h:
5235 * gst/gstiterator.h:
5236 Add padding to our base elements' class and instance structs and
5237 to GstIterator (you will need to rebuild all plugins and apps!)
5239 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5241 * gst/gstbin.c: (bin_bus_handler):
5242 Make default message forwarding from child->bus to bin->bus
5243 threadsafe and make it not emit warnings if the parent has no bus.
5245 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5247 * gst/gstelement.c: (activate_pads):
5248 On paused->ready, set pad->caps to NULL, as is the documented
5249 behaviour in this state change. Fixes playback of series of
5250 media files when visualization is enabled in Totem.
5252 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5254 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5255 Allow NULL as filter-caps (which means "any").
5257 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5259 * docs/libs/gstreamer-libs-sections.txt:
5260 * libs/gst/controller/gst-controller.c:
5261 * libs/gst/controller/gst-controller.h:
5262 * libs/gst/controller/gst-helper.c:
5263 adding more entries to the docs and fix small doc-bugs
5265 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5267 * docs/gst/gstreamer-docs.sgml:
5268 * docs/gst/gstreamer-sections.txt:
5269 * docs/gst/gstreamer.types:
5270 * docs/gst/tmpl/gstbasesink.sgml:
5271 * docs/gst/tmpl/gstbasesrc.sgml:
5272 * docs/gst/tmpl/gstbasetransform.sgml:
5273 * docs/gst/tmpl/gstfakesrc.sgml:
5274 * gst/base/gstcollectpads.c:
5275 * gst/base/gstcollectpads.h:
5276 * libs/gst/controller/gst-controller.c:
5277 * libs/gst/controller/gst-controller.h:
5278 * libs/gst/controller/gst-helper.c:
5279 * libs/gst/controller/gst-interpolation.c:
5280 * libs/gst/controller/lib.c:
5281 added long/short desc for controller docs
5282 added collectpads base class docs
5283 added correct includes to base-class docs
5285 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5287 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5288 (gst_test_mono_source_set_property),
5289 (gst_test_mono_source_class_init), (GST_START_TEST),
5290 (gst_controller_suite):
5291 * docs/gst/gstreamer-docs.sgml:
5292 * docs/gst/gstreamer-sections.txt:
5293 * docs/gst/gstreamer.types:
5294 * docs/libs/gstreamer-libs-docs.sgml:
5295 * docs/libs/gstreamer-libs-sections.txt:
5296 * gst/base/gstadapter.c:
5297 * libs/gst/controller/gst-controller.c:
5298 (gst_controlled_property_new), (gst_controlled_property_free),
5299 (gst_controller_new_valist),
5300 (gst_controller_remove_properties_valist),
5301 (gst_controller_sink_values), (_gst_controller_finalize):
5302 * libs/gst/controller/gst-controller.h:
5303 * libs/gst/controller/gst-helper.c:
5304 (gst_object_control_properties), (gst_object_uncontrol_properties),
5305 (gst_object_get_controller), (gst_object_set_controller),
5306 (gst_object_sink_values), (gst_object_get_value_arrays),
5307 (gst_object_get_value_array):
5308 more tests (and fixes) for the controller
5309 more docs for the controller
5310 integrated companies docs for the adapter
5312 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5314 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5315 (GST_START_TEST), (fakesrc_suite):
5316 add tests for sizetype
5318 2005-08-04 Andy Wingo <wingo@pobox.com>
5320 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5321 fixes buffer_alloc proxying among other things.
5323 * gst/base/gstbasetransform.c:
5324 * gst/base/gstbasetransform.h:
5325 Revert patch to gstbasetransform from 7-28 removing
5328 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5329 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5330 Semantics changed, should return not the size of the output buffer
5331 but the byte size of a buffer with a given caps.
5333 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5335 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5336 out) are not the pad caps until setcaps finishes.
5337 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5338 not-in-place case as well. Deal with changing from in-place to
5339 not-in-place within calling pad_alloc_buffer. Still a bit
5340 concerned about the overhead here...
5342 2005-08-03 Andy Wingo <wingo@pobox.com>
5344 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5345 fixating is an error.
5347 2005-08-04 Edward Hervey <edward@fluendo.com>
5349 * gst/base/gstadapter.h:
5350 Added gst_adapter_get_type() to the header
5352 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5354 * check/Makefile.am:
5355 * check/gst-libs/controller.c:
5356 * libs/gst/controller/gst-controller.c:
5357 (gst_controller_new_valist):
5358 added check test suite for the controller
5359 * gst/base/gstpushsrc.c:
5362 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5364 * docs/gst/Makefile.am:
5365 * docs/gst/gstreamer-docs.sgml:
5366 * docs/gst/gstreamer-sections.txt:
5367 * docs/gst/gstreamer.types:
5368 * docs/gst/tmpl/gstfakesrc.sgml:
5370 * gst/base/gstbasesink.c:
5371 * gst/base/gstbasesink.h:
5372 * gst/base/gstbasesrc.c:
5373 * gst/base/gstbasesrc.h:
5374 * gst/base/gstbasetransform.c:
5375 * gst/base/gstpushsrc.c:
5376 * gst/base/gstpushsrc.h:
5377 add short/long description docs to base classes
5378 add pushsrc to the docs
5379 remove consolidated doc fragments
5381 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5384 * docs/libs/Makefile.am:
5385 * docs/libs/gstreamer-libs-docs.sgml:
5386 * docs/libs/gstreamer-libs-sections.txt:
5387 * docs/libs/gstreamer-libs.types:
5388 * examples/Makefile.am:
5389 * examples/controller/.cvsignore:
5390 * examples/controller/Makefile.am:
5391 * examples/controller/audio-example.c: (main):
5392 * libs/gst/Makefile.am:
5393 * libs/gst/controller/.cvsignore:
5394 * libs/gst/controller/Makefile.am:
5395 * libs/gst/controller/gst-controller.c:
5396 (on_object_controlled_property_changed), (gst_timed_value_compare),
5397 (gst_timed_value_find),
5398 (gst_controlled_property_set_interpolation_mode),
5399 (gst_controlled_property_new), (gst_controlled_property_free),
5400 (gst_controller_find_controlled_property),
5401 (gst_controller_new_valist), (gst_controller_new),
5402 (gst_controller_remove_properties_valist),
5403 (gst_controller_remove_properties), (gst_controller_set),
5404 (gst_controller_set_from_list), (gst_controller_unset),
5405 (gst_controller_get), (gst_controller_get_all),
5406 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5407 (gst_controller_get_value_array),
5408 (gst_controller_set_interpolation_mode),
5409 (_gst_controller_finalize), (_gst_controller_init),
5410 (_gst_controller_class_init), (gst_controller_get_type):
5411 * libs/gst/controller/gst-controller.h:
5412 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5413 (g_object_uncontrol_properties), (g_object_get_controller),
5414 (g_object_set_controller), (g_object_sink_values),
5415 (g_object_get_value_arrays), (g_object_get_value_array):
5416 * libs/gst/controller/gst-interpolation.c:
5417 (gst_controlled_property_find_timed_value_node),
5418 (interpolate_none_get), (interpolate_trigger_get),
5419 (interpolate_trigger_get_value_array):
5420 * libs/gst/controller/lib.c: (gst_controller_init):
5421 * pkgconfig/Makefile.am:
5422 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5423 * pkgconfig/gstreamer-control.pc.in:
5424 * testsuite/Makefile.am:
5425 * testsuite/controller/.cvsignore:
5426 * testsuite/controller/Makefile.am:
5427 * testsuite/controller/interpolator.c: (main):
5428 added controller code
5429 removed dparam pc files
5431 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5432 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5433 (gst_collectpads_stop):
5434 Broadcast the condition when shutting down, to make sure we wake all
5435 threads up. Shut down pads on finalize, for safety.
5437 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5438 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5439 (gst_base_transform_handle_buffer),
5440 (gst_base_transform_change_state):
5441 Handle PAUSED->READY->PAUSED transition after negotiation
5443 * gst/gstmessage.c: (gst_message_init):
5444 Extra piece of debug for new messages.
5446 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5449 * docs/gst/tmpl/gstbasesrc.sgml:
5450 * docs/gst/tmpl/gstelement.sgml:
5451 * docs/gst/tmpl/gstevent.sgml:
5452 * docs/gst/tmpl/gstfakesrc.sgml:
5453 * docs/gst/tmpl/gstformat.sgml:
5454 * docs/gst/tmpl/gstghostpad.sgml:
5455 * docs/gst/tmpl/gstpad.sgml:
5456 * docs/gst/tmpl/gstquery.sgml:
5457 * docs/gst/tmpl/gststructure.sgml:
5458 * docs/gst/tmpl/gsttaglist.sgml:
5459 * docs/gst/tmpl/gstvalue.sgml:
5460 * docs/libs/gstreamer-libs-docs.sgml:
5461 * docs/libs/gstreamer-libs-sections.txt:
5462 * docs/libs/gstreamer-libs.types:
5463 * libs/gst/Makefile.am:
5464 * libs/gst/control/.cvsignore:
5465 * libs/gst/control/Makefile.am:
5466 * libs/gst/control/control.c:
5467 * libs/gst/control/control.h:
5468 * libs/gst/control/dparam.c:
5469 * libs/gst/control/dparam.h:
5470 * libs/gst/control/dparam_smooth.c:
5471 * libs/gst/control/dparam_smooth.h:
5472 * libs/gst/control/dparamcommon.h:
5473 * libs/gst/control/dparammanager.c:
5474 * libs/gst/control/dparammanager.h:
5475 * libs/gst/control/dplinearinterp.c:
5476 * libs/gst/control/dplinearinterp.h:
5477 * libs/gst/control/unitconvert.c:
5478 * libs/gst/control/unitconvert.h:
5479 * testsuite/Makefile.am:
5480 * testsuite/dynparams/.cvsignore:
5481 * testsuite/dynparams/Makefile.am:
5482 * testsuite/dynparams/dparamstest.c:
5483 * tools/Makefile.am:
5484 * tools/gst-inspect.c: (print_element_info), (main):
5485 * tools/gst-xmlinspect.c: (print_element_info), (main):
5486 deactivate and remove dparams (libgstcontrol)
5488 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5490 * gst/elements/gsttypefindelement.c:
5491 (gst_type_find_element_have_type), (gst_type_find_element_init),
5492 (stop_typefinding), (gst_type_find_element_handle_event),
5493 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5494 * gst/elements/gsttypefindelement.h:
5495 Set caps on all outgoing buffers, not just the first one.
5497 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5499 * gst/elements/gsttypefindelement.c:
5500 (gst_type_find_element_have_type),
5501 (gst_type_find_element_check_set_buffer_caps),
5502 (gst_type_find_element_init), (stop_typefinding),
5503 (gst_type_find_element_handle_event),
5504 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5505 * gst/elements/gsttypefindelement.h:
5506 Set caps on first outgoing buffer when we've found the type.
5508 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5510 * docs/gst/gstreamer-docs.sgml:
5511 * docs/gst/gstreamer-sections.txt:
5512 * docs/gst/tmpl/gstscheduler.sgml:
5513 * docs/gst/tmpl/gstschedulerfactory.sgml:
5514 Remove some old cruft from docs.
5516 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5519 Fix inline docs for GstPadLinkReturn.
5521 * gst/gststructure.c: (gst_structure_has_name):
5522 * gst/gststructure.h:
5523 * docs/gst/gstreamer-sections.txt:
5524 New API: gst_structure_has_name().
5526 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5529 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5530 and _LARGEFILE_SOURCE in config.h as required. Do not
5531 export those flags in our .pc files any longer (#142209).
5533 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5535 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5536 (gst_file_sink_do_seek), (gst_file_sink_event),
5537 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5538 Redo seek/tell calls with large file support in mind; add some
5539 debugging messages; add log message that tells us when large
5540 file support is unavailable or not enabled for some reason.
5542 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5543 Add log message that tells us when large file support
5544 is unavailable or not enabled for some reason.
5546 2005-07-29 Wim Taymans <wim@fluendo.com>
5548 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5549 Added test for removing an element with ghostpad from a bin.
5550 Fixed test as current implementation does the right thing.
5552 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5553 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5554 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5555 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5556 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5557 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5558 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5559 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5560 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5561 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5562 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5563 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5564 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5565 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5566 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5567 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5568 * gst/gstghostpad.h:
5569 Clean up ghostpads, remove properties for internal stuff.
5572 Prepare for switching targets, not all use cases work yet.
5574 2005-07-29 Wim Taymans <wim@fluendo.com>
5576 * docs/design/part-gstghostpad.txt:
5579 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5580 (gst_bin_remove_func):
5581 Unlinking pads while holding the bin LOCK is not a good
5584 * gst/gstpad.c: (gst_pad_class_init),
5585 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5586 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5587 No prob setting template after creating the pad.
5589 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5591 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5592 (gst_bus_peek), (gst_bus_source_dispatch),
5593 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5594 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5595 gst_bus_poll may be called from other threads. Handle
5596 this nicely by not making poll_data disappear off the
5597 stack once gst_bus_poll returns.
5598 gst_bus_peek now increments the refcount on the returned
5601 2005-07-29 Wim Taymans <wim@fluendo.com>
5603 * docs/design/part-gstghostpad.txt:
5604 Overview of current GhostPad datastructures and use
5605 cases for changing the target.
5607 2005-07-28 Wim Taymans <wim@fluendo.com>
5609 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5610 Added checks for hierarchy consistency whan adding linked
5613 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5614 Added check to test element scheduling without bin/pipeline.
5616 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5617 First add elements to bin, then link.
5619 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5620 (gst_bin_remove_func):
5621 Unlink pads from elements added/removed from bin to maintain
5622 hierarchy consistency.
5624 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5626 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5627 (gst_base_transform_handle_buffer):
5628 * gst/base/gstbasetransform.h:
5629 Remove broken delay_configure (fixes renegotiation of software
5630 scaling pipelines); remove some leftover printf()s.
5632 2005-07-28 Wim Taymans <wim@fluendo.com>
5634 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5635 Added some more tests for wrong hierarchy
5637 * docs/design/part-overview.txt:
5640 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5643 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5644 (gst_element_dispose):
5647 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5648 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5649 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5650 (gst_pad_set_caps), (gst_pad_send_event):
5651 Check for correct hierarchy when linking pads. Moving to
5652 strict requirement for ghostpads when linking elements in
5656 Clean ups. Added WRONG_HIERARCHY return value.
5658 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5660 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5661 Better debug if no transform is possible.
5663 2005-07-27 Wim Taymans <wim@fluendo.com>
5665 * docs/random/wtay/network-transp:
5668 2005-07-27 Wim Taymans <wim@fluendo.com>
5670 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5671 (gst_dp_event_from_packet):
5672 Fix serialization of seek events.
5674 2005-07-27 Wim Taymans <wim@fluendo.com>
5676 * check/gst-libs/gdp.c: (GST_START_TEST):
5677 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5678 Fix compilation and fix event serialization.
5680 2005-07-27 Wim Taymans <wim@fluendo.com>
5683 * docs/design/part-TODO.txt:
5684 * docs/design/part-events.txt:
5687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5688 (gst_base_sink_event), (gst_base_sink_do_sync),
5689 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5690 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5691 (gst_base_src_do_seek), (gst_base_src_event_handler),
5692 (gst_base_src_loop):
5693 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5694 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5695 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5696 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5697 (gst_base_transform_set_passthrough),
5698 (gst_base_transform_is_passthrough):
5699 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5700 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5706 * gst/gstelement.c: (gst_element_seek):
5708 Update gst_element_seek.
5710 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5711 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5712 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5713 (gst_event_new_eos), (gst_event_new_newsegment),
5714 (gst_event_parse_newsegment), (gst_event_new_tag),
5715 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5716 (gst_event_parse_qos), (gst_event_new_seek),
5717 (gst_event_parse_seek), (gst_event_new_navigation):
5719 Make GstEvent use GstStructure. Add parsing code, make sure the
5720 API is sufficiently generic.
5721 Mark possible directions of events and serialization.
5723 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5724 (_gst_message_copy), (gst_message_new_segment_start),
5725 (gst_message_new_segment_done), (gst_message_new_custom),
5726 (gst_message_parse_segment_start),
5727 (gst_message_parse_segment_done):
5730 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5731 (gst_pad_set_caps), (gst_pad_send_event):
5732 Update for new events.
5733 Catch events sent in wrong directions.
5735 * gst/gstqueue.c: (gst_queue_link_src),
5736 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5737 (gst_queue_handle_src_query):
5742 Remove event code from this file.
5744 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5745 (gst_dp_event_from_packet):
5748 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5750 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5751 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5752 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5753 Make debugging actually useful.
5755 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5757 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5758 (gst_pad_fixate_caps):
5759 Implement default fixation once again, so that gst_pad_fixate()
5760 actually does anything at all. This probably needs to be some
5761 sort of a last resort, and use profile-based fixation first, but
5762 since that doesn't exist yet, this is the best we have. Fixes
5763 visualization in Totem.
5765 2005-07-22 Wim Taymans <wim@fluendo.com>
5767 * docs/design/part-events.txt:
5770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5771 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5772 (gst_base_sink_activate_pull):
5775 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5776 (gst_fake_src_create):
5777 Fix handoff marshall.
5779 * gst/elements/gstidentity.c: (gst_identity_class_init),
5780 (gst_identity_transform_ip):
5781 We're a real inplace element.
5783 * gst/gstbus.c: (gst_bus_post):
5784 Added some comments.
5786 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5787 * tests/muxing/case1.c: (main):
5788 * tests/sched/dynamic-pipeline.c: (main):
5789 * tests/sched/interrupt1.c: (main):
5790 * tests/sched/interrupt2.c: (main):
5791 * tests/sched/interrupt3.c: (main):
5792 * tests/sched/runxml.c: (main):
5793 * tests/sched/sched-stress.c: (main):
5794 * tests/seeking/seeking1.c: (event_received), (main):
5795 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5797 * tests/threadstate/threadstate3.c: (main):
5798 * tests/threadstate/threadstate4.c: (main):
5799 * tests/threadstate/threadstate5.c: (main):
5802 2005-07-21 Wim Taymans <wim@fluendo.com>
5804 * docs/design/part-seeking.txt:
5805 Some small additions.
5807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5808 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5809 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5810 * gst/base/gstbasesink.h:
5811 discont values are gint64, handle the math correctly.
5813 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5814 Make the basesrc report error if the source pad is not linked.
5816 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5817 (gst_queue_loop), (gst_queue_handle_src_query),
5818 (gst_queue_src_activate_push):
5819 Make queue collect data even if the srcpad is not linked.
5820 Start pushing out data as soon as it is linked.
5822 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5824 Added gst_flow_get_name() to ease error reporting.
5826 2005-07-20 Wim Taymans <wim@fluendo.com>
5828 * gst/gstmessage.c: (gst_message_new_segment_start),
5829 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5830 (gst_message_parse_segment_done):
5832 Added a bunch of messages for advanced seeking.
5834 * gst/parse/grammar.y:
5835 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5836 (gst_dpman_state_changed):
5837 Fix some new-pad -> pad-added signals
5839 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5841 * docs/manual/appendix-porting.xml:
5842 * docs/pwg/appendix-porting.xml:
5843 Document new-pad/state-change signal renames and the FixedList
5846 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5848 * docs/manual/advanced-autoplugging.xml:
5849 * docs/manual/basics-helloworld.xml:
5850 * docs/manual/basics-pads.xml:
5851 * docs/random/ds/0.9-suggested-changes:
5852 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5857 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5858 (gst_structure_parse_array), (gst_structure_parse_value):
5859 * gst/gstvalue.c: (gst_type_is_fixed),
5860 (gst_value_list_prepend_value), (gst_value_list_append_value),
5861 (gst_value_list_get_size), (gst_value_list_get_value),
5862 (gst_value_transform_array_string), (gst_value_serialize_array),
5863 (gst_value_deserialize_array), (gst_value_intersect_array),
5864 (gst_value_is_fixed), (_gst_value_initialize):
5866 GstElement::new-pad -> pad-added, GstElement::state-change ->
5867 state-changed, GstValueFixedList -> GstValueArray, add format and
5868 flags as their own arguments in gst_element_seek() (should improve
5869 "bindeability"), remove function generators since they don't work
5870 under a whole bunch of compilers (they were deprecated already
5873 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5875 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5876 (_gst_debug_register_funcptr):
5878 Fix illegal cast on some platforms (#309253).
5880 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5882 * gst/gstmessage.c: (gst_message_new_custom):
5884 Add _new_custom, make _new_application a macro to _new_custom.
5886 2005-07-20 Wim Taymans <wim@fluendo.com>
5888 * gst/base/gstbasesrc.c: (gst_base_src_init),
5889 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5890 * gst/base/gstbasesrc.h:
5891 Add a gboolean to decide when to push out a discont.
5893 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5894 (gst_queue_loop), (gst_queue_handle_src_query),
5895 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5896 (gst_queue_set_property), (gst_queue_get_property):
5899 * tests/threadstate/threadstate1.c: (main):
5900 Make a thread test compile and run... very silly..
5903 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5905 * docs/manual/appendix-porting.xml:
5906 Mention removal of libgstgconf-0.9.la and existence of gconf
5909 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5911 * docs/pwg/advanced-clock.xml:
5912 * docs/pwg/appendix-porting.xml:
5913 * docs/pwg/intro-preface.xml:
5914 * docs/pwg/other-base.xml:
5915 * docs/pwg/other-manager.xml:
5916 * docs/pwg/other-nton.xml:
5917 * docs/pwg/other-ntoone.xml:
5918 * docs/pwg/other-oneton.xml:
5920 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5921 demuxer), remove n-to-n (was never written), fix some code examples
5922 and links and update the porting section to include all this.
5924 2005-07-19 Wim Taymans <wim@fluendo.com>
5926 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5927 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5928 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5929 (gst_queue_src_activate_push), (gst_queue_change_state),
5930 (gst_queue_get_property):
5932 Propagate GstFlowReturn more intelligently upstream and output
5933 an ERROR/EOS when streaming stopped due to fatal error.
5935 2005-07-19 Wim Taymans <wim@fluendo.com>
5937 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5938 Don't block forever for the state change to complete, the
5939 pipeline already did with a sensible timeout.
5941 2005-07-19 Wim Taymans <wim@fluendo.com>
5943 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5944 Make sure we never call the create function is we
5947 2005-07-19 Andy Wingo <wingo@pobox.com>
5949 * gst/parse/parse.l: Attempt to solve bug #172815.
5951 2005-07-19 Wim Taymans <wim@fluendo.com>
5953 * docs/design/part-clocks.txt:
5954 * docs/design/part-events.txt:
5955 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5957 Only update the seeking values when we are not
5960 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5962 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5963 Oops, ignore the result of gst_pad_push_event here.
5965 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5967 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5968 (gst_base_src_activate_push):
5969 Send discont event from the loop function, as pads
5970 aren't activated yet in the activate_push handler.
5972 * gst/gstbin.c: (bin_bus_handler):
5973 Don't leak element name.
5975 2005-07-18 Andy Wingo <wingo@pobox.com>
5977 * configure.ac: Use AS_LIBTOOL_TAGS.
5979 2005-07-18 Wim Taymans <wim@fluendo.com>
5981 * docs/gst/gstreamer.types:
5982 Remove deleted types.
5984 2005-07-18 Wim Taymans <wim@fluendo.com>
5986 * check/elements/gstfakesrc.c: (GST_START_TEST):
5989 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5990 (init_popt_callback):
5992 * gst/gst_private.h:
5993 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5994 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5997 * gst/gstconfig.h.in:
5998 * gst/gstelement.c: (gst_element_class_init),
5999 (gst_element_set_base_time), (gst_element_get_base_time),
6000 (iterator_fold_with_resync), (gst_element_change_state),
6001 (gst_element_dispose), (gst_element_get_bus):
6003 * gst/gstelementfactory.h:
6004 * gst/gsterror.c: (_gst_core_errors_init):
6007 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6009 * gst/gstinfo.c: (_gst_debug_init):
6010 * gst/gstmessage.c: (_gst_message_copy):
6012 * gst/gstminiobject.h:
6015 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6016 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6019 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6020 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6021 (gst_pipeline_get_last_stream_time):
6022 * gst/gstpipeline.h:
6023 * gst/gstpluginfeature.h:
6025 * gst/gstscheduler.c:
6026 * gst/gstscheduler.h:
6027 * gst/gststructure.h:
6028 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6029 (gst_task_finalize), (gst_task_func), (gst_task_create),
6030 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6031 (gst_task_stop), (gst_task_pause):
6033 * gst/gsttypefind.h:
6035 * gst/registries/gstlibxmlregistry.c: (load_feature),
6036 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6037 * gst/registries/gstxmlregistry.c:
6038 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6039 * gst/schedulers/threadscheduler.c:
6040 * libs/gst/control/dparammanager.h:
6041 * tools/gst-inspect.c: (print_element_list),
6042 (print_plugin_features), (print_element_features):
6043 * tools/gst-xmlinspect.c: (print_element_list),
6044 (print_plugin_info), (main):
6045 Removed plugable schedulers.
6046 Removed Scheduler/Manager from elements.
6047 Removed gsttypes.h, rearranged includes.
6048 Removed dependency pad<->element, element<>pipeline, and
6049 various others, fix includes.
6050 implement gst_pad_get_parent() with gst_object_get_parent()
6051 Make GstTask sefcontained.
6052 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6054 Fix endless loop in iterator_fold_with_resync.
6057 2005-07-18 Wim Taymans <wim@fluendo.com>
6063 2005-07-18 Wim Taymans <wim@fluendo.com>
6068 2005-07-18 Wim Taymans <wim@fluendo.com>
6074 2005-07-18 Wim Taymans <wim@fluendo.com>
6076 * docs/design/part-dynamic.txt:
6077 * docs/design/part-events.txt:
6078 * docs/design/part-seeking.txt:
6079 Some more docs in the works.
6081 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6082 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6083 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6084 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6085 (gst_base_transform_handle_buffer),
6086 (gst_base_transform_sink_activate_push),
6087 (gst_base_transform_src_activate_pull),
6088 (gst_base_transform_set_passthrough),
6089 (gst_base_transform_is_passthrough):
6092 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6095 * gst/gstevent.c: (gst_event_finalize):
6098 * gst/gstutils.c: (gst_element_unlink),
6099 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6100 (gst_pad_proxy_setcaps):
6102 Add _get_parent_element() to get a pads parent as an element.
6104 2005-07-18 Wim Taymans <wim@fluendo.com>
6106 * check/gst/gstbin.c: (GST_START_TEST):
6109 2005-07-18 Wim Taymans <wim@fluendo.com>
6111 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6112 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6113 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6114 (gst_base_sink_event), (gst_base_sink_do_sync),
6115 (gst_base_sink_chain), (gst_base_sink_loop),
6116 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6117 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6119 Fix logic for returning ASYNC when not prerolled.
6121 2005-07-18 Wim Taymans <wim@fluendo.com>
6123 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6124 Fix nasty refcount bug.
6126 2005-07-16 Philippe Khalaf <burger@speedy.org>
6128 * gst/elements/gstfdsrc.c:
6129 * gst/elements/gstfdsrc.h:
6130 * gst/elements/gstelements.c:
6131 * gst/elements/Makefile.am:
6132 Ported fdsrc to 0.9.
6134 2005-07-16 Wim Taymans <wim@fluendo.com>
6136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6137 (gst_base_sink_do_sync):
6140 2005-07-16 Wim Taymans <wim@fluendo.com>
6142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6143 (gst_base_sink_event), (gst_base_sink_get_times),
6144 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6145 * gst/base/gstbasesink.h:
6146 Store and use discont values when syncing buffers as described
6149 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6150 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6151 (gst_base_src_activate_push):
6152 Push discont event when starting.
6154 * gst/elements/gstidentity.c: (gst_identity_transform):
6157 * gst/gstbin.c: (gst_bin_change_state):
6158 Small cleanups in base_time distribution.
6160 * gst/gstelement.c: (gst_element_set_base_time),
6161 (gst_element_get_base_time), (gst_element_change_state):
6163 Added methods for the base_time of the element.
6166 * gst/gstpipeline.c: (gst_pipeline_send_event),
6167 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6168 (gst_pipeline_get_last_stream_time):
6169 * gst/gstpipeline.h:
6171 Handle seeking as described in design doc, remove stream_time
6173 Cleanups clock and stream_time selection code. Added accessors
6174 for the stream_time.
6177 2005-07-16 Andy Wingo <wingo@pobox.com>
6179 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6182 2005-07-16 Wim Taymans <wim@fluendo.com>
6184 * check/gst/gstbin.c: (GST_START_TEST):
6185 Make elements silent as the deep_notify refs the
6186 parent, which might make the test fail.
6188 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6189 Don't hold the lock for too long.
6191 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6193 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6194 Don't unref the caps we passed to gst_caps_make_writable() after
6195 passing them. gst_caps_make_writable() will do that for us.
6197 2005-07-15 Andy Wingo <wingo@pobox.com>
6199 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6202 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6203 own marshalling function for the handoff signal. Properly type the
6204 buffer as a buffer. Fixes some warnings. Should do a more general
6206 (gst_identity_class_init): Plug into the right marshaller.
6208 2005-07-15 Wim Taymans <wim@fluendo.com>
6210 * docs/design/part-TODO.txt:
6211 * docs/design/part-clocks.txt:
6212 * docs/design/part-element-sink.txt:
6213 * docs/design/part-events.txt:
6214 * docs/design/part-gstpipeline.txt:
6215 Updated docs, mostly DISCONT related.
6217 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6219 * docs/pwg/building-pads.xml:
6220 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6222 2005-07-15 Andy Wingo <wingo@pobox.com>
6224 * tools/gst-typefind.c: Update, add copyright block.
6226 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6227 Normalize and truncate caps before fixation.
6230 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6231 discards all but the first structure from its argument.
6233 2005-07-15 Wim Taymans <wim@fluendo.com>
6235 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6236 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6237 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6238 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6239 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6240 (gst_base_transform_chain), (gst_base_transform_change_state),
6241 (gst_base_transform_set_passthrough),
6242 (gst_base_transform_is_passthrough):
6243 * gst/base/gstbasetransform.h:
6244 Make passthrough work using the bufferpools.
6245 Changed API a bit, subclasses have to write into a buffer
6246 provided by the base class.
6247 More debug info in nego functions.
6249 * gst/elements/gstidentity.c: (gst_identity_init),
6250 (gst_identity_transform):
6251 Port to new base class.
6253 2005-07-15 Wim Taymans <wim@fluendo.com>
6255 * gst/gstmessage.c: (gst_message_new_state_changed):
6256 * tools/gst-launch.c: (event_loop), (main):
6257 Totally dump messages in -launch with the -m option.
6258 Fix message name for State messages,
6260 2005-07-14 Wim Taymans <wim@fluendo.com>
6262 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6263 Post error messages on errors.
6265 2005-07-14 Wim Taymans <wim@fluendo.com>
6267 * gst/gstcaps.c: (gst_caps_do_simplify):
6271 Define error for stream stopped.
6273 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6274 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6275 Do proper return values.
6277 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6278 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6279 (gst_pad_get_range):
6280 Better return values.
6283 Reorganise return values, add macro to check for fatal errors.
6285 * gst/gstqueue.c: (gst_queue_chain):
6286 Return proper GstFlowReturn values,
6288 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6290 * docs/gst/gstreamer-sections.txt:
6291 * docs/gst/gstreamer.types:
6292 * docs/gst/tmpl/gst.sgml:
6293 * docs/gst/tmpl/gstbasesink.sgml:
6294 * docs/gst/tmpl/gstbasesrc.sgml:
6295 * docs/gst/tmpl/gstbasetransform.sgml:
6296 * docs/gst/tmpl/gstbin.sgml:
6297 * docs/gst/tmpl/gstbuffer.sgml:
6298 * docs/gst/tmpl/gstcaps.sgml:
6299 * docs/gst/tmpl/gstclock.sgml:
6300 * docs/gst/tmpl/gstcompat.sgml:
6301 * docs/gst/tmpl/gstconfig.sgml:
6302 * docs/gst/tmpl/gstelement.sgml:
6303 * docs/gst/tmpl/gstelementdetails.sgml:
6304 * docs/gst/tmpl/gstelementfactory.sgml:
6305 * docs/gst/tmpl/gstenumtypes.sgml:
6306 * docs/gst/tmpl/gsterror.sgml:
6307 * docs/gst/tmpl/gstevent.sgml:
6308 * docs/gst/tmpl/gstfakesink.sgml:
6309 * docs/gst/tmpl/gstfakesrc.sgml:
6310 * docs/gst/tmpl/gstfilesink.sgml:
6311 * docs/gst/tmpl/gstfilesrc.sgml:
6312 * docs/gst/tmpl/gstfilter.sgml:
6313 * docs/gst/tmpl/gstformat.sgml:
6314 * docs/gst/tmpl/gstghostpad.sgml:
6315 * docs/gst/tmpl/gstimplementsinterface.sgml:
6316 * docs/gst/tmpl/gstindex.sgml:
6317 * docs/gst/tmpl/gstindexfactory.sgml:
6318 * docs/gst/tmpl/gstinfo.sgml:
6319 * docs/gst/tmpl/gstiterator.sgml:
6320 * docs/gst/tmpl/gstmacros.sgml:
6321 * docs/gst/tmpl/gstmemchunk.sgml:
6322 * docs/gst/tmpl/gstminiobject.sgml:
6323 * docs/gst/tmpl/gstobject.sgml:
6324 * docs/gst/tmpl/gstpad.sgml:
6325 * docs/gst/tmpl/gstpadtemplate.sgml:
6326 * docs/gst/tmpl/gstparse.sgml:
6327 * docs/gst/tmpl/gstpipeline.sgml:
6328 * docs/gst/tmpl/gstplugin.sgml:
6329 * docs/gst/tmpl/gstpluginfeature.sgml:
6330 * docs/gst/tmpl/gstquery.sgml:
6331 * docs/gst/tmpl/gstqueue.sgml:
6332 * docs/gst/tmpl/gstregistry.sgml:
6333 * docs/gst/tmpl/gstregistrypool.sgml:
6334 * docs/gst/tmpl/gstscheduler.sgml:
6335 * docs/gst/tmpl/gstschedulerfactory.sgml:
6336 * docs/gst/tmpl/gststructure.sgml:
6337 * docs/gst/tmpl/gstsystemclock.sgml:
6338 * docs/gst/tmpl/gsttaglist.sgml:
6339 * docs/gst/tmpl/gsttagsetter.sgml:
6340 * docs/gst/tmpl/gsttrace.sgml:
6341 * docs/gst/tmpl/gsttrashstack.sgml:
6342 * docs/gst/tmpl/gsttypefind.sgml:
6343 * docs/gst/tmpl/gsttypefindfactory.sgml:
6344 * docs/gst/tmpl/gsttypes.sgml:
6345 * docs/gst/tmpl/gsturihandler.sgml:
6346 * docs/gst/tmpl/gsturitype.sgml:
6347 * docs/gst/tmpl/gstutils.sgml:
6348 * docs/gst/tmpl/gstvalue.sgml:
6349 * docs/gst/tmpl/gstversion.sgml:
6350 * docs/gst/tmpl/gstxml.sgml:
6351 * docs/libs/tmpl/gstcontrol.sgml:
6352 * docs/libs/tmpl/gstdataprotocol.sgml:
6353 * docs/libs/tmpl/gstdparam.sgml:
6354 * docs/libs/tmpl/gstdplinint.sgml:
6355 * docs/libs/tmpl/gstdpman.sgml:
6356 * docs/libs/tmpl/gstdpsmooth.sgml:
6357 * docs/libs/tmpl/gstgetbits.sgml:
6358 * docs/libs/tmpl/gstunitconvert.sgml:
6359 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6360 (gst_push_src_base_init), (gst_push_src_class_init),
6361 (gst_push_src_init), (gst_push_src_create):
6362 * gst/base/gstpushsrc.h:
6363 * gst/elements/gstelements.c:
6364 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6365 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6366 (gst_fake_sink_init), (gst_fake_sink_set_property),
6367 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6368 (gst_fake_sink_event), (gst_fake_sink_preroll),
6369 (gst_fake_sink_render), (gst_fake_sink_change_state):
6370 * gst/elements/gstfakesink.h:
6371 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6372 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6373 (gst_fake_src_base_init), (gst_fake_src_class_init),
6374 (gst_fake_src_init), (gst_fake_src_event_handler),
6375 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6376 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6377 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6378 (gst_fake_src_create_buffer), (gst_fake_src_create),
6379 (gst_fake_src_start), (gst_fake_src_stop):
6380 * gst/elements/gstfakesrc.h:
6381 * gst/elements/gstfilesink.c: (_do_init),
6382 (gst_file_sink_base_init), (gst_file_sink_class_init),
6383 (gst_file_sink_init), (gst_file_sink_dispose),
6384 (gst_file_sink_set_location), (gst_file_sink_set_property),
6385 (gst_file_sink_get_property), (gst_file_sink_open_file),
6386 (gst_file_sink_close_file), (gst_file_sink_query),
6387 (gst_file_sink_event), (gst_file_sink_render),
6388 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6389 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6390 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6391 * gst/elements/gstfilesink.h:
6392 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6393 (gst_file_src_class_init), (gst_file_src_init),
6394 (gst_file_src_finalize), (gst_file_src_set_location),
6395 (gst_file_src_set_property), (gst_file_src_get_property),
6396 (gst_file_src_map_region), (gst_file_src_map_small_region),
6397 (gst_file_src_create_mmap), (gst_file_src_create_read),
6398 (gst_file_src_create), (gst_file_src_is_seekable),
6399 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6400 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6401 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6402 (gst_file_src_uri_handler_init):
6403 * gst/elements/gstfilesrc.h:
6404 more autistic cleanliness in functions/names/defines
6406 2005-07-13 Andy Wingo <wingo@pobox.com>
6408 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6409 source couldn't negotiate.
6411 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6415 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6416 function. I am channeling Hades. Put your boots on suckers!!!
6418 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6420 * testsuite/caps/Makefile.am:
6421 * testsuite/caps/value_compare.c:
6422 * testsuite/caps/value_intersect.c:
6423 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6424 move two testsuite apps over to the check dir
6426 2005-07-12 Wim Taymans <wim@fluendo.com>
6428 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6429 Added more debug info in the negotiate process.
6432 Prepare for segment playback.
6434 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6440 * tools/gst-launch.c: (main):
6441 NULL pipeline on errors.
6443 2005-07-12 Andy Wingo <wingo@pobox.com>
6445 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6446 not it comes from a malloc region. Make sure our copy gets freed.
6448 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6450 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6451 * check/gst/gstmessage.c: (GST_START_TEST):
6452 * check/gst/gststructure.c: (GST_START_TEST),
6453 (gst_structure_suite), (main):
6455 * gst/gstelement.c: (gst_element_message_full):
6456 clean up GError and debug string now that they get copied
6457 * gst/gstmessage.c: (gst_message_new_error),
6458 (gst_message_new_warning), (gst_message_parse_error),
6459 (gst_message_parse_warning):
6460 use GST_TYPE_G_ERROR for structure_new, and take copies of
6461 arguments, so that we don't mess up refcounting
6463 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6465 * check/Makefile.am:
6466 add per-test valgrind targets
6467 * check/gst-libs/gdp.c: (GST_START_TEST),
6468 (gst_data_protocol_suite), (main):
6471 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6473 * check/Makefile.am:
6474 instate more valgrindable tests
6475 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6476 (GST_START_TEST), (fakesrc_suite):
6477 * check/gst/gstpad.c: (GST_START_TEST):
6478 * check/gst/gststructure.c: (GST_START_TEST):
6480 * docs/gst/tmpl/gstminiobject.sgml:
6481 * gst/gstpad.c: (gst_pad_finalize):
6482 fix the static mutex leak
6484 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6486 * check/Makefile.am:
6487 add two more tests for valgrinding
6488 * check/gst/gstvalue.c: (GST_START_TEST):
6489 test refcount of deserialized buffer, found a leak
6490 * docs/gst/gstreamer-docs.sgml:
6491 * docs/gst/gstreamer-sections.txt:
6492 * docs/gst/gstreamer.types:
6493 * docs/gst/tmpl/gstminiobject.sgml:
6494 add miniobject to docs
6495 * gst/gstminiobject.c:
6497 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6498 (gst_string_unwrap):
6499 fix a hard-to-find invalid write for one of the tests
6500 fix a leak for deserialized buffers
6502 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6504 * docs/pwg/advanced-events.xml:
6505 * docs/pwg/advanced-request.xml:
6506 * docs/pwg/advanced-scheduling.xml:
6507 * docs/pwg/appendix-porting.xml:
6508 * docs/pwg/building-boiler.xml:
6509 * docs/pwg/intro-preface.xml:
6510 * docs/pwg/other-ntoone.xml:
6511 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6512 of example code and explanation for pad activation, loop() and
6513 getrange() functions and a bit more. Remove old comments pointing
6515 * examples/pwg/Makefile.am:
6516 Add loop/getrange examples.
6518 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6521 check for valgrind binary + some fixes
6523 valgrind suppressions for the tests
6524 * check/Makefile.am:
6525 add a valgrind: target that valgrinds the unit tests
6526 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6527 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6528 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6529 * check/gst/gstghostpad.c:
6531 * check/gst/gstdata.c:
6533 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6534 (thread_unref), (gst_mini_object_suite), (main):
6536 * gst/gst.c: (gst_deinit):
6538 add a method to clean up.
6539 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6540 (gst_system_clock_obtain):
6541 allow for disposing the system clock.
6542 * tools/gst-launch.c: (main):
6545 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6547 * docs/gst/tmpl/gstbasesrc.sgml:
6548 * docs/gst/tmpl/gstfakesrc.sgml:
6549 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6550 (gst_base_src_init), (gst_base_src_set_property),
6551 (gst_base_src_get_property), (gst_base_src_get_range),
6552 (gst_base_src_start):
6553 * gst/base/gstbasesrc.h:
6554 add num-buffers property
6555 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6556 (gst_fakesrc_init), (gst_fakesrc_set_property),
6557 (gst_fakesrc_get_property), (gst_fakesrc_create),
6558 (gst_fakesrc_start):
6559 remove num-buffers property
6561 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6563 * docs/gst/gstreamer-sections.txt:
6564 * docs/gst/tmpl/gstbasesink.sgml:
6565 * docs/gst/tmpl/gstbasesrc.sgml:
6566 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6567 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6568 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6569 (gst_base_sink_set_property), (gst_base_sink_get_property),
6570 (gst_base_sink_handle_object), (gst_base_sink_event),
6571 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6572 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6573 (gst_base_sink_loop), (gst_base_sink_deactivate),
6574 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6575 (gst_base_sink_change_state):
6576 * gst/base/gstbasesink.h:
6577 * gst/base/gstbasesrc.h:
6578 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6579 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6580 (gst_filesink_init):
6581 more macro splitting
6583 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6585 * gst/gstelement.c: (gst_element_get_bus):
6587 * tools/gst-launch.c: (check_intr), (event_loop):
6590 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6592 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6595 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6598 (gst_base_src_finalize):
6599 add finalize method and clean up properly
6600 * gst/gstpipeline.c: (gst_pipeline_dispose):
6603 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6605 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6607 add more things to check
6608 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6612 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6615 (GST_START_TEST), (fakesrc_suite):
6616 * check/gst-libs/gdp.c: (GST_START_TEST):
6617 * check/gst/gst.c: (GST_START_TEST):
6618 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6619 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6620 * check/gst/gstbus.c: (GST_START_TEST):
6621 * check/gst/gstcaps.c: (GST_START_TEST):
6622 * check/gst/gstdata.c: (GST_START_TEST):
6623 * check/gst/gstelement.c: (GST_START_TEST):
6624 * check/gst/gstghostpad.c: (GST_START_TEST):
6625 * check/gst/gstiterator.c: (GST_START_TEST):
6626 * check/gst/gstmessage.c: (GST_START_TEST):
6627 * check/gst/gstobject.c: (GST_START_TEST):
6628 * check/gst/gstpad.c: (GST_START_TEST):
6629 * check/gst/gststructure.c: (GST_START_TEST):
6630 * check/gst/gstsystemclock.c: (GST_START_TEST),
6631 (gst_systemclock_suite):
6632 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6633 * check/gst/gstvalue.c: (GST_START_TEST):
6634 * check/pipelines/cleanup.c: (GST_START_TEST):
6635 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6636 * check/states/sinks.c: (GST_START_TEST):
6637 * check/gstcheck.c: (gst_check_init):
6639 add debugging category
6640 use GST_START_TEST now, so we add a debug line
6642 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6644 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6645 add test for state change message on a bin
6646 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6648 * gst/gstbin.c: (gst_bin_init):
6649 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6650 * gst/gstelement.c: (gst_element_post_message),
6651 (gst_element_set_state):
6652 * gst/gstelementfactory.c: (gst_element_factory_create):
6653 * gst/gstmessage.c: (gst_message_new):
6654 * gst/gstscheduler.c:
6655 various debugging additions and cleanups
6657 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * check/Makefile.am:
6660 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6662 adding tests for elements
6663 * gst/gstelement.c: (gst_element_dispose):
6665 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6667 * gst/registries/gstlibxmlregistry.c: (load_feature):
6668 plug more leaks. A simple gst_init() now is leakfree, yay.
6670 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6672 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6673 (gst_xml_registry_load):
6674 plug another memleak
6676 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6679 use GST_SET_ERROR_CFLAGS
6681 change to ERROR_CFLAGS
6683 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6686 make GST_ERROR_CFLAGS overridable and re-enable Werror
6688 add a note about error CFLAGS
6689 * docs/gst/tmpl/gstfakesrc.sgml:
6690 * gst/elements/gstfakesrc.c:
6691 comment out some unused code
6692 * gst/gst.c: (split_and_iterate):
6693 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6697 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6699 * common/Makefile.am:
6700 * common/gtk-doc.mak:
6701 * docs/gst/Makefile.am:
6702 factor out gtk-doc.mak
6704 2005-07-07 Wim Taymans <wim@fluendo.com>
6706 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6707 (gst_thread_scheduler_dispose):
6708 Unlock the STREAM_LOCK completely.
6710 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6712 * check/Makefile.am:
6713 * check/elements/.cvsignore:
6714 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6715 (START_TEST), (fakesrc_suite), (main):
6716 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6717 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6718 (gst_fakesrc_create), (gst_fakesrc_start):
6719 * gst/elements/gstfakesrc.h:
6720 adding a first element test
6722 2005-07-07 Andy Wingo <wingo@pobox.com>
6724 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6727 2005-07-07 Wim Taymans <wim@fluendo.com>
6733 2005-07-07 Wim Taymans <wim@fluendo.com>
6735 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6736 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6737 Allow subclasses to implement their own negotiation.
6739 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6741 * docs/design/part-gstbin.txt:
6742 * docs/design/part-gstpipeline.txt:
6743 Update design notes to reflect the movement of
6744 responsibility for bus handling from GstPipeline to
6747 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6750 Remove unnecessary queue2/3/4 examples.
6752 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6754 * examples/Makefile.am:
6755 * examples/helloworld/helloworld.c: (event_loop), (main):
6756 * examples/queue/queue.c: (event_loop), (main):
6757 * examples/queue2/queue2.c: (main):
6758 Update a couple of the examples to work again.
6760 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6761 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6762 Spelling corrections and extra debug.
6764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6765 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6766 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6768 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6769 (gst_pipeline_change_state):
6770 * gst/gstpipeline.h:
6771 Move the bus handler for children to the GstBin, and create a
6772 separate bus for receiving messages from children to the one the
6773 bus sends 'upwards' on.
6775 2005-07-06 Wim Taymans <wim@fluendo.com>
6778 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6779 (gst_base_sink_handle_object), (gst_base_sink_loop),
6780 (gst_base_sink_change_state):
6781 * gst/base/gstbasesink.h:
6782 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6783 (gst_base_src_init), (gst_base_src_setcaps),
6784 (gst_base_src_getcaps), (gst_base_src_loop),
6785 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6786 (gst_base_src_start), (gst_base_src_change_state):
6787 * gst/base/gstbasesrc.h:
6788 Make basesrc negotiate.
6789 Handle the case where preroll fails in basesink.
6792 2005-07-06 Wim Taymans <wim@fluendo.com>
6794 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6795 Implement the fixate function.
6796 Clean up acceptcaps.
6798 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6800 * docs/pwg/building-filterfactory.xml:
6802 Remove never-written filter-factory chapter; I'll add the various
6803 base classes to part 4 ("other element types") later on.
6805 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6807 * docs/pwg/advanced-negotiation.xml:
6808 * docs/pwg/building-boiler.xml:
6809 * docs/pwg/building-pads.xml:
6811 * examples/pwg/Makefile.am:
6812 Add a chapter on caps negotiation, simplify the original code
6813 samples a bit w.r.t. caps negotiation, add link to the advanced
6814 section. Add a bunch of examples showing different use cases of
6815 different types of caps negotiation. Upstream renegotiation isn't
6816 fully documented yet since nobody knows how that works.
6818 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6820 * check/gst/gstpad.c:
6822 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6823 if pad has no parent, return NULL as list of internal links
6825 2005-07-05 Andy Wingo <wingo@pobox.com>
6827 * gst/elements/gstfilesrc.c:
6828 * gst/elements/gstfakesrc.c:
6829 * gst/base/gstpushsrc.c:
6830 * gst/base/gstbasesrc.h:
6831 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6833 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6836 better report generation target (lcov needs a patch)
6838 2005-07-05 Andy Wingo <wingo@pobox.com>
6840 * gst/elements, testsuite: Null if we got it...
6842 2005-07-05 Wim Taymans <wim@fluendo.com>
6845 * libs/gst/dataprotocol/Makefile.am:
6846 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6847 * libs/gst/dataprotocol/dataprotocol.h:
6848 * pkgconfig/Makefile.am:
6849 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6850 * pkgconfig/gstreamer-dataprotocol.pc.in:
6851 Ported dataprotol to 0.9.
6852 Added pkgconfig files.
6854 2005-07-05 Andy Wingo <wingo@pobox.com>
6856 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6857 Default to returning TRUE for the case when tranform_caps returns
6858 a fixed caps, like for identity or volume.
6860 * check/gst/gstbus.c (pound_bus_with_messages):
6861 * check/gst/gstmessage.c (START_TEST):
6862 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6865 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6866 logic weaks here: always run transform_caps, trying passthrough
6867 operation only if the original caps intersects with the transform.
6869 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6870 source and sink caps.
6872 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6873 Intersect the peer caps with the pad template before going into
6875 (gst_base_transform_transform_caps): More debugging.
6877 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6880 2005-07-04 Edward Hervey <edward@fluendo.com>
6884 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6887 2005-07-04 Andy Wingo <wingo@pobox.com>
6889 * check/gst/gstpad.c: Only set explicit caps on pads.
6891 2005-07-01 Andy Wingo <wingo@pobox.com>
6893 * tests/network-clock.scm: Commentary update.
6895 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6896 Didn't really make sense, not implementable with basetransform,
6898 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6899 attempt at implementing the sync property, needs an unlock method.
6901 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6902 New func, by default returns the same caps (the identity
6904 (gst_base_transform_getcaps): Uses transform_caps to return
6906 (gst_base_transform_setcaps): Complicated logic to get caps on
6907 both pads, even if they are different, and to call set_caps once
6908 for every time both pads get their caps set.
6909 (gst_base_transform_handle_buffer): Give the ref to the transform
6910 function. Allows in-place modification of the buffer.
6912 * gst/base/gstbasetransform.h (transform_caps): New class method.
6913 Given caps on one side, what can I do on the other.
6914 (set_caps): Take two caps, one for each side of the element.
6917 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6918 caps in place. This is safe because we can check the mutability of
6919 the caps, and a good idea because fixate functions are just called
6920 as a matter of last resort. (Not actually implemented.)
6921 (gst_pad_set_caps): If the caps we're setting is actually the same
6922 as the existing pad caps, just update the pointer without calling
6923 setcaps. Assert that caps is either NULL or fixed, as per the
6926 * gst/gstghostpad.c: Update for fixate changes.
6928 2005-07-02 Andy Wingo <wingo@pobox.com>
6931 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6932 two refcounts makes it immutable, which is enough. Doc more.
6934 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6936 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6937 Put the mini_object into GValue as a mini_object,
6938 not a gpointer, since that's how we declared
6941 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6943 * examples/pwg/Makefile.am:
6946 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6948 * docs/pwg/building-testapp.xml:
6950 * examples/pwg/Makefile.am:
6953 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6956 * examples/Makefile.am:
6957 * examples/pwg/Makefile.am:
6958 * examples/pwg/extract.pl:
6959 Enable building the PWG examples.
6960 * docs/pwg/advanced-interfaces.xml:
6961 Add URI interface stub.
6962 * docs/pwg/advanced-types.xml:
6963 * docs/pwg/other-autoplugger.xml:
6964 * docs/pwg/appendix-porting.xml:
6966 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6967 * docs/pwg/building-boiler.xml:
6968 * docs/pwg/building-chainfn.xml:
6969 * docs/pwg/building-pads.xml:
6970 * docs/pwg/building-props.xml:
6971 * docs/pwg/building-state.xml:
6972 * docs/pwg/building-testapp.xml:
6973 Update the building-*.xml parts for 0.9 changes. All examples
6974 code blocks compile in examples/pwg/*.
6976 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6978 * docs/manual/advanced-autoplugging.xml:
6979 * docs/manual/appendix-checklist.xml:
6980 * docs/manual/appendix-integration.xml:
6981 * docs/manual/highlevel-components.xml:
6982 Fix playbin/decodebin examples, update docs a bit, mention bus
6983 instead of signals in various places, mention kmplayer and
6984 kaffeine since they have a working GStreamer backend in the KDE
6987 2005-06-30 Wim Taymans <wim@fluendo.com>
6990 * docs/design/draft-ghostpads.txt:
6991 * docs/design/draft-push-pull.txt:
6992 * docs/design/draft-query.txt:
6993 * docs/design/part-TODO.txt:
6994 * docs/design/part-query.txt:
6995 Added CHANGES-0.9 doc, updated status of other docs.
7000 2005-06-30 Wim Taymans <wim@fluendo.com>
7002 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7003 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7004 (gst_base_sink_change_state):
7005 * gst/base/gstbasesink.h:
7006 Some tweaks, only EOS and a buffer complete a preroll.
7008 2005-06-30 Andy Wingo <wingo@pobox.com>
7010 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7011 activate_push down to the internal pad as well.
7013 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7015 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7017 * gst/gsttaginterface.c:
7018 Some documentation fixes (#307394 and #307397).
7020 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7022 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7024 * gst/gstvalue.c: (gst_value_intersect_list):
7025 Fix memleak (#309125).
7027 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7029 * docs/manual/advanced-dataaccess.xml:
7030 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7031 * docs/manual/basics-pads.xml:
7032 Add reference for filtered caps to above chapter.
7034 2005-06-30 Wim Taymans <wim@fluendo.com>
7036 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7037 (gst_bin_change_state):
7039 Lame attempt at making the state change function a bit
7042 2005-06-30 Wim Taymans <wim@fluendo.com>
7044 * docs/design/part-clocks.txt:
7045 * docs/design/part-element-sink.txt:
7046 * docs/design/part-events.txt:
7047 * docs/design/part-preroll.txt:
7048 * docs/design/part-states.txt:
7049 Some more tweeks and additions to the docs.
7051 2005-06-30 Wim Taymans <wim@fluendo.com>
7053 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7054 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7055 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7056 (gst_pad_check_pull_range), (gst_pad_get_range),
7057 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7059 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7060 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7061 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7062 (gst_pad_remove_buffer_probe):
7063 Removed atomic operations, use existing LOCK.
7064 Move exception handling out of main code path.
7066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7068 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7069 (silly_return_true_function), (gst_pad_class_init),
7070 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7071 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7072 (gst_pad_send_event):
7073 Fix accumulator, add default value by using _emitv() instead
7074 of _emit() for signal emission.
7076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7078 * docs/manual/advanced-dataaccess.xml:
7079 * examples/manual/Makefile.am:
7081 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7084 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7086 * gst/elements/gstfilesink.c: (gst_filesink_render):
7087 Simplify code so that we don't have to handle short
7088 writes and return GST_FLOW_ERROR if an error occured.
7090 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7092 * docs/gst/gstreamer-docs.sgml:
7095 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7097 * docs/gst/gstreamer-sections.txt:
7098 * docs/gst/tmpl/gstpad.sgml:
7099 * docs/gst/tmpl/gstprobe.sgml:
7101 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7102 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7103 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7104 (gst_pad_push_event), (gst_pad_send_event):
7106 * gst/gstutils.c: (gst_pad_add_data_probe),
7107 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7108 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7109 (gst_pad_remove_buffer_probe):
7111 Remove old probes, add new g-signal-based probes and some utility
7114 2005-06-29 Edward Hervey <edward@fluendo.com>
7116 * gst/gstelementfactory.c:
7119 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7120 the definition to the header file.
7122 2005-06-29 Andy Wingo <wingo@pobox.com>
7124 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7125 plugins from the source directory.
7127 2005-06-29 Wim Taymans <wim@fluendo.com>
7129 * docs/gst/tmpl/gstbuffer.sgml:
7130 * docs/gst/tmpl/gstclock.sgml:
7131 Some fixings for blantently wrong text.
7133 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7135 * check/Makefile.am:
7136 * gst/gst.c: (add_path_func), (init_pre):
7137 * gst/gstregistry.c: (gst_registry_add_path):
7138 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7139 only scan the GST_PLUGIN_PATH locations, and not add
7142 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7144 * docs/gst/gstreamer-sections.txt:
7145 * docs/gst/tmpl/gstbasesrc.sgml:
7152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7154 * docs/manual/advanced-autoplugging.xml:
7155 Fix autoplugging example.
7157 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7159 * docs/manual/advanced-autoplugging.xml:
7160 * docs/manual/mime-world.fig:
7161 Try to get autoplugging working, fix type detection. Fix text
7162 in hello-world image.
7164 2005-06-29 Wim Taymans <wim@fluendo.com>
7166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7167 (gst_base_sink_change_state):
7171 map SIGNAL and BROADCAST to the right function.
7174 Remove redundant braces.
7176 * gst/gstpad.c: (gst_pad_set_caps):
7177 Don't call setcaps function when reseting caps to NULL.
7179 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7180 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7181 (gst_system_clock_id_unschedule):
7182 Use BROADCAST as this is what we do.
7184 2005-06-29 Wim Taymans <wim@fluendo.com>
7186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7187 We are actually prerolling before commiting the state
7190 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7192 * docs/manual/advanced-clocks.xml:
7193 * docs/manual/advanced-interfaces.xml:
7194 * docs/manual/advanced-metadata.xml:
7195 * docs/manual/advanced-position.xml:
7196 * docs/manual/advanced-schedulers.xml:
7197 * docs/manual/advanced-threads.xml:
7198 * docs/manual/appendix-porting.xml:
7199 * docs/manual/basics-bins.xml:
7200 * docs/manual/basics-bus.xml:
7201 * docs/manual/basics-elements.xml:
7202 * docs/manual/basics-helloworld.xml:
7203 * docs/manual/basics-pads.xml:
7204 * docs/manual/highlevel-components.xml:
7205 * docs/manual/manual.xml:
7206 * docs/manual/thread.fig:
7207 Update (until threads/scheduling) Application Development Manual;
7208 remove GstThread, add GstBus, add simple porting checklist, add
7209 documentation for tag writing, clocks, make all examples until this
7210 part compile and run.
7211 * examples/manual/Makefile.am:
7212 Update from changes to Application Development Manual; add bus
7213 example, remove thread example.
7215 2005-06-28 Wim Taymans <wim@fluendo.com>
7217 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7218 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7219 (gst_bus_source_dispatch):
7220 Add debugging messages.
7221 Make internal methods static.
7222 Handle the case where the bus is flushed in the handler.
7224 * gst/gstelement.c: (gst_element_get_bus):
7225 Fix refcount in _get_bus();
7227 * gst/gstpipeline.c: (gst_pipeline_change_state),
7228 (gst_pipeline_get_clock_func):
7229 Clock refcounting fixes.
7230 Handle the case where preroll timed out more gracefully.
7232 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7233 Clean up the internal thread in dispose. This is needed
7234 for subclasses that actually get disposed.
7236 * gst/schedulers/threadscheduler.c:
7237 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7238 (gst_thread_scheduler_dispose):
7239 Free thread pool in dispose.
7241 2005-06-28 Andy Wingo <wingo@pobox.com>
7243 * tests/network-clock-utils.scm (debug, print-event): New utils.
7245 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7246 (*packet-loss*): Unified loss probability.
7247 (network-time): Report out-of-band events.
7249 * tests/plot-data: Add support for out-of-band events. Hack it
7250 into this script instead of passing it down the pipe; should fix
7253 2005-06-28 Wim Taymans <wim@fluendo.com>
7255 * docs/gst/gstreamer.types:
7256 * docs/gst/tmpl/gstbasesrc.sgml:
7257 * docs/gst/tmpl/gstpad.sgml:
7260 2005-06-28 Wim Taymans <wim@fluendo.com>
7262 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7263 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7264 (gst_proxy_pad_do_fixatecaps):
7265 Correctly proxy the check_pull_range function.
7267 2005-06-28 Andy Wingo <wingo@pobox.com>
7269 * tests/network-clock.scm: Removed need for slib.
7271 2005-06-28 Wim Taymans <wim@fluendo.com>
7273 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7274 (gst_basesink_preroll_queue_flush):
7275 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7276 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7277 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7278 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7279 (gst_proxy_pad_set_property):
7282 * gst/gstqueue.c: (gst_queue_init):
7283 The deprecated pad loop function is removed now.
7285 2005-06-28 Andy Wingo <wingo@pobox.com>
7287 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7288 New parameters, simulate network packet loss.
7290 * tests/network-clock-utils.scm: Initialize the RNG.
7292 2005-06-28 Wim Taymans <wim@fluendo.com>
7294 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7295 (gst_basesink_event), (gst_basesink_deactivate):
7296 Flushing the preroll queue always needs to unlock the waiters.
7298 2005-06-28 Edward Hervey <edward@fluendo.com>
7300 * gst/gstpipeline.c: (gst_pipeline_send_event):
7301 Wheen a seek was successful on a pipeline, set the stream_time to the
7302 seek offset in order to have a synchronized stream_time.
7304 2005-06-28 Wim Taymans <wim@fluendo.com>
7306 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7307 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7308 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7309 (gst_proxy_pad_do_fixatecaps):
7310 Call wrapper function instead of just calling the function
7311 pointers. This takes care of any locking and whatmore.
7313 2005-06-28 Wim Taymans <wim@fluendo.com>
7315 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7316 (gst_pad_pull_range):
7318 CONNECTED -> LINKED.
7320 2005-06-28 Andy Wingo <wingo@pobox.com>
7322 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7323 source-munging commit!!!
7325 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7326 (gst_object_sink): Take gpointer arguments, not GstObject --
7327 avoids casts. Like GLib.
7329 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7332 2005-06-27 Andy Wingo <wingo@pobox.com>
7334 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7337 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7338 returns a sorted copy of the trace list.
7339 (gst_alloc_trace_print_live): New API, only prints traces with
7340 live objects. Sort the list.
7341 (gst_alloc_trace_print_all): Sort the list.
7342 (gst_alloc_trace_print): Align columns.
7344 * gst/elements/gstttypefindelement.c:
7345 * gst/elements/gsttee.c:
7346 * gst/base/gstbasesrc.c:
7347 * gst/base/gstbasesink.c:
7348 * gst/base/gstbasetransform.c:
7349 * gst/gstqueue.c: Adapt for pad activation changes.
7351 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7353 (gst_pipeline_dispose): Drop ref on sched.
7355 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7356 (gst_pad_activate_default): Push mode by default.
7357 (pre_activate_switch, post_activate_switch): New stubs, things to
7358 do before and after switching activation modes on pads.
7359 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7360 the pad's activate function to choose which mode to activate.
7361 Shortcut on deactivation and call the right function directly.
7362 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7364 (gst_pad_activate_push): New API, same for push mode.
7365 (gst_pad_set_activate_function)
7366 (gst_pad_set_activatepull_function)
7367 (gst_pad_set_activatepush_function): Setters for new API.
7369 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7370 Trace all miniobjects.
7371 (gst_mini_object_make_writable): Unref the arg if we copy, like
7372 gst_caps_make_writable.
7374 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7376 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7377 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7378 Adapt for new pad API.
7380 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7383 * gst/gstelement.c (gst_element_iterate_src_pads)
7384 (gst_element_iterate_sink_pads): New API functions.
7386 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7387 should fold into gstiterator.c in some form.
7388 (gst_element_pads_activate): Simplified via use of fold and
7389 delegation of decisions to gstpad->activate.
7391 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7394 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7395 class once in init, like gstmessage. Didn't run into this issue
7396 but it seems correct. Don't initialize a trace, gstminiobject does
7399 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7400 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7402 (assert_live_count): New util function, uses alloc traces to check
7405 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7406 To be modified when unlink drops the internal pad.
7408 2005-06-27 Wim Taymans <wim@fluendo.com>
7410 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7411 (gst_bin_change_state):
7412 Cleanup the get_state() function a little, make sure it
7413 iterates the same set of elements.
7414 Added stub iterate_state_order().
7416 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7418 * docs/gst/gstreamer-docs.sgml:
7419 * docs/gst/gstreamer-sections.txt:
7420 * docs/gst/gstreamer.types:
7421 * docs/gst/tmpl/gstbasesink.sgml:
7422 * docs/gst/tmpl/gstbasesrc.sgml:
7423 * docs/gst/tmpl/gstbasetransform.sgml:
7424 * docs/gst/tmpl/gstelement.sgml:
7425 * docs/gst/tmpl/gstiterator.sgml:
7426 * gst/base/gstbasesrc.c:
7427 * gst/base/gstbasesrc.h:
7428 * gst/base/gstbasetransform.h:
7430 * gst/gstiterator.h:
7431 adding basetransform and iterator docs
7433 2005-06-27 Andy Wingo <wingo@pobox.com>
7435 * docs/design/part-activation.txt: Notes on how activation should
7436 work -- not quite implemented yet.
7438 2005-06-25 Wim Taymans <wim@fluendo.com>
7440 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7441 At least get the chain function correct, needs more
7444 2005-06-25 Wim Taymans <wim@fluendo.com>
7446 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7447 (gst_basesink_handle_object), (gst_basesink_event),
7448 (gst_basesink_do_sync), (gst_basesink_handle_event),
7449 (gst_basesink_change_state):
7451 Right, two problems here: ghostpads don't take locks and
7452 glib _rec_mutex_lock_full() with depth==0 still locks.
7453 Catch illegal locking and g_warn them.
7455 2005-06-25 Wim Taymans <wim@fluendo.com>
7457 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7458 Have to check for completion now...
7460 2005-06-25 Wim Taymans <wim@fluendo.com>
7462 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7463 (gst_basesink_handle_object), (gst_basesink_event),
7464 (gst_basesink_do_sync), (gst_basesink_handle_event),
7465 (gst_basesink_change_state):
7467 Unlock STREAM_LOCK whatever the recursion was.
7469 2005-06-25 Wim Taymans <wim@fluendo.com>
7471 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7472 (gst_basesink_preroll_queue_empty),
7473 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7474 (gst_basesink_event), (gst_basesink_do_sync),
7475 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7476 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7477 (gst_basesink_change_state):
7478 Reworked the base sink, handle event and buffer serialisation
7479 correctly and removed possible deadlock.
7480 Handle EOS correctly.
7482 2005-06-25 Wim Taymans <wim@fluendo.com>
7484 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7485 (gst_pipeline_change_state):
7486 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7487 Allow elements to post EOS in the state change function.
7488 Fix up -launch, make it exit the poll loop when the
7489 pipeline actually changed state.
7490 Fix up warning parsing in -launch.
7492 2005-06-25 Wim Taymans <wim@fluendo.com>
7494 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7495 (gst_tee_sink_activate):
7496 Core takes STREAM_LOCK for us now.
7498 2005-06-25 Wim Taymans <wim@fluendo.com>
7500 * gst/gstelement.c: (gst_element_get_state_func),
7501 (gst_element_set_state):
7503 * gst/gstmessage.c: (gst_message_parse_error),
7504 (gst_message_parse_warning):
7505 Keep track of current target state while performing a state
7506 change so that subclasses can do something interesting.
7507 Fix parsing of warning/error messages when GError is NULL.
7509 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7511 * docs/gst/Makefile.am:
7512 * docs/gst/gstreamer-docs.sgml:
7513 * docs/gst/gstreamer-sections.txt:
7514 * docs/gst/gstreamer.types:
7515 * docs/gst/tmpl/gstbasesink.sgml:
7516 * docs/gst/tmpl/gstbasesrc.sgml:
7517 * docs/gst/tmpl/gstbin.sgml:
7518 * docs/gst/tmpl/gstcompat.sgml:
7519 * docs/gst/tmpl/gstfakesink.sgml:
7520 * docs/gst/tmpl/gstfakesrc.sgml:
7521 * docs/gst/tmpl/gstfilesink.sgml:
7522 * docs/gst/tmpl/gstfilesrc.sgml:
7523 * docs/gst/tmpl/gstindex.sgml:
7524 * docs/manual/appendix-quotes.xml:
7525 * gst/base/gstbasesrc.h:
7526 * gst/elements/gstfakesrc.h:
7528 start pulling in base classes and elements in our docs
7530 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7532 * docs/gst/Makefile.am:
7533 * docs/libs/Makefile.am:
7534 fixed make distcheck with gtk-doc 1.3
7536 2005-06-23 Wim Taymans <wim@fluendo.com>
7538 * gst/gstelement.c: (gst_element_get_state_func),
7539 (gst_element_set_state), (gst_element_change_state):
7540 When the state did not change, also report NO_PREROLL
7543 2005-06-23 Wim Taymans <wim@fluendo.com>
7545 * gst/gstpad.c: (gst_pad_event_default):
7546 * gst/gstqueue.c: (gst_queue_loop):
7547 No unsafe task pausing please.
7549 2005-06-23 Wim Taymans <wim@fluendo.com>
7551 * gst/schedulers/threadscheduler.c:
7552 (gst_thread_scheduler_task_start),
7553 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7554 Ref the task before pushing it on the threadpool. This
7555 makes sure that we have a ref when the threadfunction is
7558 2005-06-23 Andy Wingo <wingo@pobox.com>
7560 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7561 offset is greater than the file's size.
7563 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7564 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7565 * gst/gstobject.c (gst_object_class_init): Make the class lock
7566 recursive. Wim won't let me drop deep_notify. Decodebin works
7569 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7570 internal pad, and hacks accordingly. Doesn't do it on the target
7571 pad because we change its caps. Probably catches all cases of
7573 (gst_ghost_pad_set_property): Connect to notify::caps as
7576 * tests/network-clock.scm (plot-simulation): Pipe data to the
7577 elite python skript.
7579 * tests/network-clock-utils.scm (define-parameter): New macro,
7580 defines a parameter that can be set via the command line.
7581 (set-parameter!, parse-parameter-arguments): Command line args
7584 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7587 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7589 * gst/elements/gsttypefindelement.c:
7590 (gst_type_find_element_handle_event):
7591 Don't restart typefinding on a discont.
7592 * gst/gstelement.c: (gst_element_set_state):
7594 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7595 Allow changing mode of an active pad.
7597 * gst/registries/gstlibxmlregistry.c: (load_feature):
7598 Don't cast a static pad template to a normal pad template.
7600 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7602 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7603 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7604 remove gst_strtoll completely, since it didn't actually do
7605 anything more than what g_ascii_strtoull already does.
7606 check for range errors when deserializing
7607 do a cast for the unsigned cases; but further fixing needs
7608 a decision on what the interpretation of "(int)" and
7609 deserialization should be for values that fall outside the
7610 type's boundaries (ie, refuse, or interpret as casting)
7612 2005-06-23 Wim Taymans <wim@fluendo.com>
7614 * check/Makefile.am:
7615 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7616 * docs/design/part-live-source.txt:
7617 * docs/design/part-states.txt:
7618 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7619 (gst_basesrc_set_live), (gst_basesrc_is_live),
7620 (gst_basesrc_get_range), (gst_basesrc_activate),
7621 (gst_basesrc_change_state):
7622 * gst/base/gstbasesrc.h:
7623 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7624 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7625 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7626 * gst/gstelement.c: (gst_element_get_state_func),
7627 (gst_element_set_state):
7630 * tools/gst-launch.c: (event_loop), (main):
7631 Added support for live sources and other elements that
7633 Updated design docs, added live-source design doc.
7634 Implemented live source functionality in basesrc
7635 Fix error condition in _bin_get_state()
7636 Implement live source handling in -launch.
7637 Added check for live sources.
7638 Fixed case in GstBin where elements were changed state
7642 2005-06-23 Andy Wingo <wingo@pobox.com>
7644 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7647 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7648 gst_caps_replace takes care of this for us.
7650 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7651 gst_pad_set_caps on the target, not just its setcaps() function.
7653 * tests/network-clock.scm:
7654 * tests/network-clock-utils.scm: A network clock simulator.
7655 Something of an algorithmic testbed before doing something in C.
7657 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7659 * check/Makefile.am:
7660 * check/gst/capslist.h:
7661 copy over from 0.8, and add two with bitmasks specified with
7663 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7664 add test to parse everything from capslist.h
7665 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7667 add test for structure deserialization
7668 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7669 add tests for deserialization of strings to int types
7670 * gst/gststructure.c: (gst_structure_nth_field_name):
7671 * gst/gststructure.h:
7672 add a way to get the name of a field referenced by index
7673 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7674 instead of checking if the resulting long long lies between
7675 min and max, we check if the long long would fit into
7676 a number of bytes for the final type.
7677 This fixes cases where a string represents 2^32 - 1, which
7678 when cast to int would be the (valid) -1, but is bigger than
7681 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * gst/parse/grammar.y:
7684 add a log line for type deserialization
7686 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7688 * check/gst/gstvalue.c: (START_TEST):
7689 * gst/gstvalue.c: (gst_value_deserialize):
7690 return long long, not int, so gint64 deserialization actually
7691 works. Is there any flag that makes the compiler check this ?
7694 2005-06-22 Wim Taymans <wim@fluendo.com>
7697 Added convenience macros for setting buffers in GValue.
7699 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7701 * check/gst/.cvsignore:
7702 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7703 add a test deserializing int64, and comment part out because
7706 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7708 * check/Makefile.am:
7709 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7710 * testsuite/Makefile.am:
7711 * testsuite/caps/Makefile.am:
7712 * testsuite/caps/value_serialize.c:
7713 * testsuite/test_gst_init.c:
7714 move a value_serialize test over
7716 2005-06-20 Wim Taymans <wim@fluendo.com>
7721 * gst/gstvalue.c: (gst_value_compare_buffer),
7722 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7723 (gst_value_compare_flags), (gst_value_serialize_flags),
7724 (gst_value_deserialize_flags), (_gst_value_initialize):
7725 Fix serialisation of buffers, they are not boxed types anymore
7727 2005-06-20 Wim Taymans <wim@fluendo.com>
7729 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7730 Testcase to show error in buffer-on-caps serialisation.
7732 2005-06-20 Andy Wingo <wingo@pobox.com>
7734 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7735 will be adding to later.
7737 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7738 if its socks fill with rocks.
7739 (gst_system_clock_obtain): Set the name on object construction.
7740 Avoid double-checked locking.
7742 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7744 * gst/gsturi.c: (gst_element_make_from_uri):
7745 Fix potential endless loop.
7747 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7749 * check/Makefile.am:
7751 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7753 move over from testsuite dir and clean up
7756 * testsuite/Makefile.am:
7757 * testsuite/tags/.cvsignore:
7758 * testsuite/tags/Makefile.am:
7759 * testsuite/tags/merge.c:
7760 remove testsuite/tags
7762 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7764 * docs/gst/gstreamer-sections.txt:
7765 * docs/gst/tmpl/gstenumtypes.sgml:
7766 * win32/gstenumtypes.c:
7767 clean up documentation build a little
7769 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7772 add macros for checking refcounts on objects and caps
7773 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7774 add some more unit tests
7775 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7776 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7777 fix leaked refcounts (I hope :)) so unittest works
7781 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7783 * configure.ac: back to HEAD
7785 === release 0.9.1 ===
7787 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7793 2005-06-17 Andy Wingo <wingo@pobox.com>
7795 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7796 assert; it's always possible that the pad gets deactivated in
7797 between the checks in gstpad.c and the implementation. Rely on
7798 finish_preroll() to return a FLUSHING or similar instead of on the
7801 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7802 clock and post an EOS message if we come out of finish_preroll in
7805 2005-06-16 David Schleef <ds@schleef.org>
7807 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7808 (gst_capsfilter_set_property): Allow NULL as possible value
7809 for filter_caps property, indicating GST_CAPS_ANY.
7811 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7813 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7815 * gst/schedulers/Makefile.am:
7817 * gstreamer.spec.in:
7820 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * gstreamer.spec.in:
7825 2005-06-08 Andy Wingo <wingo@pobox.com>
7827 * gst/gstutils.c: RPAD fixes all around.
7828 (gst_element_link_pads): Refcounting fixes.
7830 * tools/gst-inspect.c:
7831 * tools/gst-xmlinspect.c:
7833 * gst/base/gsttypefindhelper.c:
7834 * gst/base/gstbasesink.c:
7835 * gst/gstqueue.c: RPAD fixes.
7837 * gst/gstghostpad.h:
7838 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7839 pads. The tricky thing is they provide both source and sink
7840 interfaces, since they proxy the internal pad for the external
7841 pad, and vice versa. Implement with lower-level ProxyPad objects,
7842 with the interior proxy pad as a child of the exterior ghost pad.
7843 Should write a doc on this.
7845 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7846 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7849 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7850 pads are real pads. No ghost pads in this file. Not documenting
7851 the myriad s/RPAD/PAD/ and REALIZE fixes.
7852 (gst_pad_class_init): Add properties for "direction" and
7853 "template". Both are construct-only, so they can't change during
7854 the life of the pad. Fixes properly deriving from GstPad.
7855 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7856 derived objects, just set properties when creating the objects via
7858 (gst_pad_get_parent): Implement as a function, return NULL if the
7859 parent is not an element.
7860 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7861 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7863 * gst/gstobject.c (gst_object_class_init): Make name a construct
7864 property. Don't set it in the object init.
7866 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7867 with UNKNOWN direction.
7868 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7869 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7870 (gst_element_remove_pad): Remove ghost-pad special cases.
7871 (gst_element_pads_activate): Remove rpad cruft.
7873 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7874 catch the pad's-parent-not-an-element case.
7876 * gst/gst.h: Include gstghostpad.h.
7878 * gst/gst.c (init_post): No more real, ghost pads.
7880 * gst/Makefile.am: Add gstghostpad.[ch].
7882 * check/Makefile.am:
7883 * check/gst/gstbin.c:
7884 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7885 into a bin creates ghost pads, and that the refcounts are right.
7886 Partly moved from gstbin.c.
7888 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7890 * check/gst-libs/.cvsignore:
7891 * check/gst/.cvsignore:
7892 * check/pipelines/.cvsignore:
7894 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7895 (START_TEST), (cleanup_suite), (main):
7896 add some tests related to cleanup after running pipelines
7898 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7900 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7901 add a testsuite for GstBuffer
7903 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7905 * gst/gstminiobject.h:
7906 add defines for accessing the refcount
7908 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7910 * Makefile.am: added support for html unit test coverage reports
7912 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7914 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7915 Free existing caps if the capsfilter changes. Add a FIXME about
7916 setting those caps on the pads.
7918 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7919 Before adding a ghost pad to a parent bin, check that there isn't
7920 already one for the element on the bin. Prevents infinite recursion
7921 when using decodebin in parse pipelines. Andy says he'll rewrite the
7922 way this works anyway, so ignore the hack.
7924 2005-06-02 Andy Wingo <wingo@pobox.com>
7926 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7927 file size, pass it on to the type find helper.
7929 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7930 segment_start and segment_end properly according to the seek
7931 method. Segment_end is still a bit flaky because offset can be
7932 negative for CUR and END cases, but it takes -1 as an "unset"
7935 2005-06-02 Wim Taymans <wim@fluendo.com>
7937 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7938 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7939 (gst_basesink_activate):
7940 * gst/base/gstbasesink.h:
7941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7942 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7943 (gst_pad_query), (gst_pad_start_task):
7945 * gst/gstqueue.c: (gst_queue_bufferalloc),
7946 (gst_queue_handle_sink_event), (gst_queue_chain):
7947 Bufferalloc: return GstFlowReturn to more accuratly report
7948 why allocation failed.
7950 2005-06-02 Wim Taymans <wim@fluendo.com>
7952 * gst/gstpipeline.c: (gst_pipeline_send_event):
7953 Take snapshot of state without blocking.
7955 2005-06-02 Wim Taymans <wim@fluendo.com>
7957 * docs/design/part-TODO.txt:
7958 * docs/design/part-caps.txt:
7959 * docs/design/part-clocks.txt:
7960 * docs/design/part-negotiation.txt:
7961 * docs/design/part-preroll.txt:
7964 2005-05-30 Wim Taymans <wim@fluendo.com>
7966 * gst/elements/gstidentity.c: (gst_identity_event),
7967 (gst_identity_transform), (gst_identity_get_property):
7968 Protect last_message property as it is accessed from
7971 2005-05-30 Wim Taymans <wim@fluendo.com>
7973 * gst/gstelement.c: (gst_element_init),
7974 (gst_element_pads_activate), (gst_element_change_state):
7975 Slicker pad activation code.
7977 2005-05-30 Wim Taymans <wim@fluendo.com>
7981 * gst/gstelementfactory.h:
7983 Move elementfactory methods to separate .h file.
7985 2005-05-30 Wim Taymans <wim@fluendo.com>
7987 * docs/design/part-overview.txt:
7988 * gst/gstsystemclock.h:
7989 Small typo fixes, doc updates.
7991 2005-05-30 Wim Taymans <wim@fluendo.com>
7993 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7994 (init_popt_callback):
7995 Remove cpu-opt flag.
7997 2005-05-30 Wim Taymans <wim@fluendo.com>
7999 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8000 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8002 Avoid typechecking in places where not needed.
8003 Added accessor for malloc_data.
8005 2005-05-30 Wim Taymans <wim@fluendo.com>
8007 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8008 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8009 (gst_pad_configure_sink), (gst_pad_configure_src),
8010 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8011 (gst_pad_start_task):
8012 Propagate errors from _set_caps() in configure_src/sink
8013 functions instead of returning TRUE.
8014 FLUSH events can travel up and downstream
8017 2005-05-30 Wim Taymans <wim@fluendo.com>
8019 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8020 (gst_basesink_activate):
8021 Handle EOS in preroll.
8023 2005-05-30 Wim Taymans <wim@fluendo.com>
8025 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8026 (gst_queue_loop), (gst_queue_handle_src_event):
8027 Remove old pieces of code
8028 Flushing the queue in an upstream event is a very bad idea.
8030 2005-05-26 Andy Wingo <wingo@pobox.com>
8032 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8033 gst_value_set_mini_object so as to add a ref on the object (which
8034 will be removed when the value is unset).
8036 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8037 arg type in ::handoff.
8039 * gst/gstelement.c (gst_element_change_state): Also deactivate
8040 pads in READY->NULL, just in case the element didn't make it to
8041 PAUSED. Wingo tested, Wim approved.
8043 2005-05-26 Wim Taymans <wim@fluendo.com>
8045 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8046 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8047 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8048 A flushing pad cannot be used to alloc_buffer from.
8050 2005-05-26 Wim Taymans <wim@fluendo.com>
8052 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8053 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8054 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8055 (gst_bus_create_watch), (gst_bus_add_watch_full):
8057 Implement a real GSource and use g_main_context_wakeup() to
8058 signal new messages instead of the socketpair.
8060 2005-05-25 Wim Taymans <wim@fluendo.com>
8062 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8063 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8064 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8065 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8066 (gst_pad_send_event), (gst_pad_start_task):
8067 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8068 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8069 (gst_queue_sink_activate), (gst_queue_src_activate),
8070 (gst_queue_change_state):
8072 Fix state changes for non sinks. We now change sinks, then elements
8073 with unconnected srcpads, then the rest.
8074 More efficient queue unlocking in flush and state changes.
8075 Set the pad activate mode even if it does not have an activate
8078 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8080 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8081 Don't go in pull mode for non-seekable sources.
8082 * gst/elements/gsttypefindelement.h:
8083 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8084 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8085 (free_entry), (stop_typefinding),
8086 (gst_type_find_element_handle_event), (find_peek),
8087 (gst_type_find_element_chain), (do_pull_typefind),
8088 (gst_type_find_element_change_state):
8089 Allow typefinding (w/o seeking) in push-mode, simplified version
8091 * gst/gstutils.c: (gst_buffer_join):
8093 gst_buffer_join() from 0.8.
8095 2005-05-25 Wim Taymans <wim@fluendo.com>
8097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8098 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8099 (gst_pad_send_event), (gst_pad_start_task):
8100 Disable attempt at mode switching until it is figured out.
8102 2005-05-25 Wim Taymans <wim@fluendo.com>
8104 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8105 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8106 (gst_basesink_finish_preroll), (gst_basesink_chain),
8107 (gst_basesink_loop), (gst_basesink_activate),
8108 (gst_basesink_change_state):
8109 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8110 (gst_basesrc_get_range), (gst_basesrc_loop),
8111 (gst_basesrc_activate):
8112 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8113 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8114 (gst_real_pad_init), (gst_real_pad_set_property),
8115 (gst_real_pad_get_property), (gst_pad_set_active),
8116 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8117 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8118 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8119 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8120 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8121 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8122 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8123 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8124 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8125 (gst_pad_stop_task):
8127 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8128 (gst_queue_loop), (gst_queue_src_activate):
8129 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8130 (gst_task_get_state):
8132 * gst/schedulers/threadscheduler.c:
8133 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8134 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8136 Remove ACTIVE pad flag, use FLUSHING everywhere
8137 Added _pad_chain(), _pad_get_range() to call chain/getrange
8139 Add locks around IS_FLUSHING when reading.
8140 Take STREAM lock in chain(), get_range() functions so plugins
8141 don't need to take it anymore.
8145 2005-05-25 Wim Taymans <wim@fluendo.com>
8147 * tools/gst-launch.c: (event_loop):
8148 Unref message after using its contents instead of
8151 2005-05-24 Wim Taymans <wim@fluendo.com>
8153 * docs/design/draft-ghostpads.txt:
8154 * docs/design/draft-push-pull.txt:
8155 * docs/design/draft-query.txt:
8156 * docs/design/part-overview.txt:
8157 Docs updates, added general overview doc.
8159 2005-05-21 David Schleef <ds@schleef.org>
8161 * docs/gst/tmpl/old/GstBin.sgml:
8162 * docs/gst/tmpl/old/GstBuffer.sgml:
8163 * docs/gst/tmpl/old/GstCaps.sgml:
8164 * docs/gst/tmpl/old/GstClock.sgml:
8165 * docs/gst/tmpl/old/GstCompat.sgml:
8166 * docs/gst/tmpl/old/GstData.sgml:
8167 * docs/gst/tmpl/old/GstElement.sgml:
8168 * docs/gst/tmpl/old/GstEvent.sgml:
8169 * docs/gst/tmpl/old/GstIndex.sgml:
8170 * docs/gst/tmpl/old/GstStructure.sgml:
8171 * docs/gst/tmpl/old/GstTag.sgml:
8172 * docs/gst/tmpl/old/cothreads.sgml:
8173 * docs/gst/tmpl/old/cothreads_compat.sgml:
8174 * docs/gst/tmpl/old/gettext.sgml:
8175 * docs/gst/tmpl/old/gobject2gtk.sgml:
8176 * docs/gst/tmpl/old/grammar.tab.sgml:
8177 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8178 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8179 * docs/gst/tmpl/old/gst_private.sgml:
8180 * docs/gst/tmpl/old/gstaggregator.sgml:
8181 * docs/gst/tmpl/old/gstarch.sgml:
8182 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8183 * docs/gst/tmpl/old/gstbufferstore.sgml:
8184 * docs/gst/tmpl/old/gstdata_private.sgml:
8185 * docs/gst/tmpl/old/gstdisksink.sgml:
8186 * docs/gst/tmpl/old/gstdisksrc.sgml:
8187 * docs/gst/tmpl/old/gstelementfactory.sgml:
8188 * docs/gst/tmpl/old/gstextratypes.sgml:
8189 * docs/gst/tmpl/old/gstfakesink.sgml:
8190 * docs/gst/tmpl/old/gstfakesrc.sgml:
8191 * docs/gst/tmpl/old/gstfdsink.sgml:
8192 * docs/gst/tmpl/old/gstfdsrc.sgml:
8193 * docs/gst/tmpl/old/gstfilesink.sgml:
8194 * docs/gst/tmpl/old/gstfilesrc.sgml:
8195 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8196 * docs/gst/tmpl/old/gstidentity.sgml:
8197 * docs/gst/tmpl/old/gstindexfactory.sgml:
8198 * docs/gst/tmpl/old/gstmarshal.sgml:
8199 * docs/gst/tmpl/old/gstmd5sink.sgml:
8200 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8201 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8202 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8203 * docs/gst/tmpl/old/gstpipefilter.sgml:
8204 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8205 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8206 * docs/gst/tmpl/old/gstshaper.sgml:
8207 * docs/gst/tmpl/old/gstspider.sgml:
8208 * docs/gst/tmpl/old/gstspideridentity.sgml:
8209 * docs/gst/tmpl/old/gststatistics.sgml:
8210 * docs/gst/tmpl/old/gsttee.sgml:
8211 * docs/gst/tmpl/old/gsttimecache.sgml:
8212 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8213 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8214 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8215 * docs/gst/tmpl/old/types.sgml:
8216 I didn't intend to add these or check them in.
8218 2005-05-19 David Schleef <ds@schleef.org>
8220 * configure.ac: Use -no-common everywhere. In a sane world, it
8221 would be the default in libtool, because without it, you can't
8222 build DLLs on Windows.
8223 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8224 * docs/gst/gstreamer-sections.txt:
8225 * docs/gst/tmpl/gstcpu.sgml:
8226 * docs/gst/tmpl/gstdata.sgml:
8227 * docs/gst/tmpl/gstthread.sgml:
8229 2005-05-19 David Schleef <ds@schleef.org>
8231 * gst/gstminiobject.c: (gst_value_set_mini_object),
8232 (gst_value_take_mini_object), (gst_value_get_mini_object):
8233 * gst/gstminiobject.h: Add GValue set/get functions.
8235 2005-05-19 Wim Taymans <wim@fluendo.com>
8237 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8238 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8239 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8241 * gst/gstbus.c: (gst_bus_post):
8242 * gst/gstelement.c: (gst_element_get_random_pad):
8243 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8244 Make subbufer unref the parent in finalize.
8245 some more debugging info.
8248 2005-05-19 Wim Taymans <wim@fluendo.com>
8250 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8251 (gst_basesink_init), (gst_basesink_finalize),
8252 (gst_basesink_activate), (gst_basesink_change_state):
8253 Don't free preroll queue too early.
8255 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8259 Hi, I'm outdated. Please shoot me.
8261 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8263 * gst/gstpipeline.c: (gst_pipeline_send_event):
8264 Do not access variables after they have been deleted.
8266 2005-05-19 Wim Taymans <wim@fluendo.com>
8268 * tools/gst-inspect.c: (print_plugin_features):
8269 A plugin feature does unfortunatly not use the
8272 2005-05-18 Wim Taymans <wim@fluendo.com>
8274 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8275 Port _span() functions to new subbuffers.
8277 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8279 * gst/gstbin.c: (gst_bin_add_func):
8280 Fix clock settery in bins when adding kids after the clock has
8283 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8285 * gst/elements/gstidentity.c: (gst_identity_class_init):
8286 Workaround until signals support GstMiniObject.
8288 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8291 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8293 2005-05-18 Wim Taymans <wim@fluendo.com>
8295 * gst/base/Makefile.am:
8296 * gst/base/gstadapter.c: (gst_adapter_base_init),
8297 (gst_adapter_class_init), (gst_adapter_init),
8298 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8299 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8300 (gst_adapter_flush), (gst_adapter_available),
8301 (gst_adapter_available_fast):
8302 * gst/base/gstadapter.h:
8303 Ported and added adapter to the base classes.
8305 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8309 Make sure the class is reffed/unreffed once before threads can be
8310 used. Fixes #304551.
8312 2005-05-17 Wim Taymans <wim@fluendo.com>
8314 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8315 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8316 * gst/gstminiobject.c: (gst_mini_object_get_type),
8317 (gst_mini_object_free):
8318 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8319 (gst_pad_push), (gst_pad_push_event):
8320 * gst/gstqueue.c: (gst_queue_change_state):
8321 Don't queue buffers in basesink when we are flushing.
8322 Unref buffer when flushing in basesink.
8323 Flush queue when going to READY
8324 Unref buffer when _push() returns an error.
8325 Don't free MiniObject instance when refcount is incremented
8326 in _finalize() so that we can recover objects.
8328 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * docs/manual/advanced-schedulers.xml:
8331 * docs/manual/appendix-checklist.xml:
8332 * docs/pwg/advanced-clock.xml:
8333 * docs/pwg/advanced-interfaces.xml:
8334 * docs/pwg/advanced-request.xml:
8335 * docs/pwg/advanced-types.xml:
8336 * docs/pwg/intro-preface.xml:
8337 * examples/plugins/example.c: (gst_example_get_type),
8338 (gst_example_class_init), (gst_example_chain),
8339 (gst_example_set_property), (gst_example_get_property),
8340 (gst_example_change_state), (plugin_init):
8341 * examples/plugins/example.h:
8344 2005-05-17 Wim Taymans <wim@fluendo.com>
8346 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8347 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8348 * gst/gstqueue.c: (gst_queue_change_state):
8349 Clear queue when going to READY.
8350 Remove IN_SETCAPS flag too.
8352 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8354 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8355 Remove implicit cast from gboolean to GstElementStateReturn;
8356 make sure we still return failure in paused => ready case if
8357 the parent class fails to change state and our own stop
8360 2005-05-17 Wim Taymans <wim@fluendo.com>
8362 * tools/gst-launch.c: (event_loop):
8363 Message was unreffed too soon.
8365 2005-05-16 Andy Wingo <wingo@pobox.com>
8367 * gst/gstbin.c (sink_iterator_filter): Err... um...
8369 * check/gst/gstbin.c (test_ghost_pads): New test for the
8370 ghosting-if-elements-not-in-same-bin behavior.
8372 2005-05-16 David Schleef <ds@schleef.org>
8374 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8375 accessing refcount directly.
8377 2005-05-15 David Schleef <ds@schleef.org>
8379 * check/Makefile.am: remove GstData checks
8380 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8381 * gst/Makefile.am: add miniobject, remove data
8382 * gst/gst.h: add miniobject, remove data
8383 * gst/gstdata.c: remove
8384 * gst/gstdata.h: remove
8385 * gst/gstdata_private.h: remove
8386 * gst/gsttypes.h: remove GstEvent and GstMessage
8387 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8388 * gst/gstmarshal.list: change BOXED -> OBJECT
8390 Implement GstMiniObject.
8391 * gst/gstminiobject.c:
8392 * gst/gstminiobject.h:
8394 Modify to be subclasses of GstMiniObject.
8395 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8396 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8397 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8398 (gst_subbuffer_get_type), (gst_subbuffer_init),
8399 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8402 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8403 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8404 (_gst_event_copy), (gst_event_new):
8406 * gst/gstmessage.c: (_gst_message_initialize),
8407 (gst_message_get_type), (gst_message_class_init),
8408 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8409 (gst_message_new), (gst_message_new_error),
8410 (gst_message_new_warning), (gst_message_new_tag),
8411 (gst_message_new_state_changed), (gst_message_new_application):
8413 * gst/gstprobe.c: (gst_probe_perform),
8414 (gst_probe_dispatcher_dispatch):
8416 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8417 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8418 (_gst_query_copy), (gst_query_new):
8420 Update elements for GstData -> GstMiniObject changes
8422 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8423 (gst_queue_chain), (gst_queue_loop):
8424 * gst/elements/gstbufferstore.c:
8425 (gst_buffer_store_add_buffer_func),
8426 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8427 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8428 (gst_fakesink_render):
8429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8430 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8431 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8432 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8433 (gst_filesrc_create_read):
8434 * gst/elements/gstidentity.c: (gst_identity_class_init):
8435 * gst/elements/gsttypefindelement.c:
8436 (gst_type_find_element_src_event), (free_entry_buffers),
8437 (gst_type_find_element_handle_event):
8438 * libs/gst/dataprotocol/dataprotocol.c:
8439 (gst_dp_header_from_buffer):
8440 * libs/gst/dataprotocol/dataprotocol.h:
8441 * libs/gst/dataprotocol/dp-private.h:
8443 2005-05-15 David Schleef <ds@schleef.org>
8445 * gst/elements/gstelements.c: Don't include headers that were
8448 2005-05-15 David Schleef <ds@schleef.org>
8450 * gst/elements/Makefile.am: Remove some elements that don't
8451 need to be in the core (or even exist at all).
8452 * gst/elements/gstaggregator.c:
8453 * gst/elements/gstaggregator.h:
8454 * gst/elements/gstmd5sink.c:
8455 * gst/elements/gstmd5sink.h:
8456 * gst/elements/gstmultifilesrc.c:
8457 * gst/elements/gstmultifilesrc.h:
8458 * gst/elements/gstpipefilter.c:
8459 * gst/elements/gstpipefilter.h:
8460 * gst/elements/gstshaper.c:
8461 * gst/elements/gstshaper.h:
8462 * gst/elements/gststatistics.c:
8463 * gst/elements/gststatistics.h:
8464 * po/POTFILES.in: Remove above files.
8466 2005-05-14 Andy Wingo <wingo@pobox.com>
8468 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8469 so as to get the refs right.
8470 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8471 unreffing objects that don't pass the filter.
8473 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8474 gst_element_set_bus.
8475 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8476 normal cases, this will destroy the bus.
8478 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8481 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8484 2005-05-13 Andy Wingo <wingo@pobox.com>
8486 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8487 gst_pad_link, call pad_link_maybe_ghosting,
8488 (pad_link_maybe_ghosting): Links pads, making sure that the
8489 elements being linked are in the same bin.
8490 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8491 Helpers for pad_link_maybe_ghosting.
8493 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8496 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8498 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8500 * docs/design/part-element-source.txt:
8503 2005-05-12 Wim Taymans <wim@fluendo.com>
8505 * gst/base/gstbasesink.c: (gst_basesink_init),
8506 (gst_basesink_activate):
8507 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8508 (gst_basesrc_is_seekable):
8509 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8510 (bin_element_is_sink), (gst_bin_change_state):
8511 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8513 Identify sinks by their flag to avoid overly complicated
8515 Do state changes even for elements not reachable from the
8517 BaseSink is a sink now :)
8518 Some more debugging info in the basesrc.
8521 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8523 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8524 Implement _query on a bin, similar to _send_event.
8526 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8528 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8529 Discont event offset format should be GST_FORMAT_BYTES,
8530 not GST_FORMAT_TIME.
8532 2005-05-12 Wim Taymans <wim@fluendo.com>
8534 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8535 Same fix as Ronald's but without the signal.
8537 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8539 * gst/gstutils.c: (gst_element_query_position):
8540 No, an element is not a pad.
8542 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8544 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8545 (gst_bin_get_state):
8546 If a child is removed from a bin while we remove the child from
8547 the bin and while we're retrieving its state, signal this to the
8548 get_state function so we abort the wait (instead of waiting for
8549 a timeout) and can immediately re-iterate over all other elements.
8551 2005-05-12 Wim Taymans <wim@fluendo.com>
8553 * gst/base/Makefile.am:
8554 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8555 (gst_basesrc_start):
8556 * gst/base/gstbasesrc.h:
8557 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8558 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8559 (gst_pushsrc_init), (gst_pushsrc_create):
8560 * gst/base/gstpushsrc.h:
8561 Added is_seekable to BaseSrc
8562 Added simple PushSrc.
8564 2005-05-11 Wim Taymans <wim@fluendo.com>
8566 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8567 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8568 (gst_element_link_pads), (gst_element_query_position),
8569 (gst_element_query_convert), (intersect_caps_func),
8570 (gst_pad_query_position), (gst_pad_query_convert):
8571 Fix refcounting in utils function.
8572 No point in trying to activate a pad when it's added, it could
8573 be added from the state change function and then we deadlock, the
8574 element has to decide what to do.
8576 2005-05-10 Andy Wingo <wingo@pobox.com>
8578 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8579 *all* the arguments.
8581 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8582 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8583 lock (according to the docs -- if this is wrong change the docs).
8585 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8586 flush messages in the NULL state.
8588 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8589 message immediately and return.
8590 (gst_bus_set_flushing): New function. If a bus is flushing, it
8591 flushes out any queued messages and immediately unrefs new
8592 messages. This is so when an element goes to NULL, all of the
8593 unhandled messages coming from it can be freed, and their
8594 references to the element dropped. In other words: message source
8595 ref considered harmful :P
8597 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8598 we're finished with it.
8600 * gst/gstmessage.c (gst_message_new_state_changed):
8602 2005-05-10 Wim Taymans <wim@fluendo.com>
8604 * gst/gstvalue.c: (gst_value_compare_flags),
8605 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8606 (_gst_value_initialize):
8607 Added flags serialize/deserialize/compare code.
8609 2005-05-09 Andy Wingo <wingo@pobox.com>
8611 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8612 Intersect the peer's caps with our caps.
8614 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8616 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8617 * gst/elements/gsttypefindelement.c: (find_peek):
8618 Handle negative offsets better. Fixes decodebin.
8620 2005-05-09 Wim Taymans <wim@fluendo.com>
8622 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8623 (gst_base_transform_event):
8624 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8625 Implement accept_caps.
8626 Fix silly lock/unlock mismatch in base class.
8628 2005-05-09 Wim Taymans <wim@fluendo.com>
8630 * docs/design/draft-push-pull.txt:
8631 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8632 * gst/elements/gstfilesink.c: (gst_filesink_init),
8633 (gst_filesink_query):
8634 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8635 (gst_type_find_handle_src_query), (find_element_get_length):
8636 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8640 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8641 (gst_real_pad_get_caps_unlocked),
8642 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8643 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8644 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8645 (gst_real_pad_dispose), (gst_real_pad_finalize),
8646 (gst_pad_load_and_link), (gst_pad_save_thyself),
8647 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8648 (gst_pad_check_pull_range), (gst_pad_pull_range),
8649 (gst_pad_template_get_type), (gst_pad_template_class_init),
8650 (gst_pad_template_init), (gst_pad_template_dispose),
8651 (name_is_valid), (gst_static_pad_template_get),
8652 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8653 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8654 (gst_pad_get_element_private), (gst_pad_start_task),
8655 (gst_pad_pause_task), (gst_pad_stop_task),
8656 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8657 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8658 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8659 (gst_ghost_pad_new):
8661 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8662 (gst_query_new_position), (gst_query_set_position),
8663 (gst_query_parse_position), (gst_query_new_convert),
8664 (gst_query_set_convert), (gst_query_parse_convert):
8666 * gst/gstqueryutils.c:
8667 * gst/gstqueryutils.h:
8668 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8669 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8670 (gst_queue_handle_src_query):
8671 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8672 (gst_element_query_position), (gst_element_query_convert),
8673 (intersect_caps_func), (gst_pad_query_position),
8674 (gst_pad_query_convert):
8676 * tools/gst-inspect.c: (print_pad_info):
8677 * tools/gst-xmlinspect.c: (print_element_info):
8678 Remove old query functions. Ported old code.
8679 Added position/convert helper functions to gstutils.
8680 Reordered gstpad.c code, grouping relevant things.
8681 Remove gst_message_new(), always need to speficy a specific
8685 2005-05-09 Andy Wingo <wingo@pobox.com>
8687 * gst/gstiterator.h: Add some includes.
8689 * gst/gstqueryutils.h: Include more headers.
8692 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8693 some uses of gst_pad_query.
8695 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8696 NULL out parameters.
8697 (gst_query_new_position): New proc, allocates a new position
8700 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8701 gstqueryutils.c to the build.
8703 * gst/gststructure.c (gst_structure_set_valist): Implement with
8704 the generic G_VALUE_COLLECT.
8706 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8708 * gst/Makefile.am: (gst_headers):
8709 Added gstqueryutils.h to the list of headers to install, that was
8710 a 'nachty' move wingo :)
8712 2005-05-06 Andy Wingo <wingo@pobox.com>
8715 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8716 GstData, init a memchunk.
8717 (standard_definitions): Add a few query types, deprecate a few.
8718 (gst_query_get_type): New proc.
8719 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8721 (gst_query_new_application, gst_query_get_structure): New public
8724 * docs/design/draft-query.txt: Removed LINKS from the query types,
8725 because all the rest can be dispatched to other pads -- seemed
8726 ugly to have a query that couldn't be dispatched. internal_links
8727 is fine as a pad method.
8729 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8730 in gstpad.c, but maintain binary compatibility for the moment.
8731 Will fix before 0.9 is out.
8733 * gst/gstqueryutils.c:
8734 * gst/gstqueryutils.h: New files, implement 3 methods for each
8735 query type: parse_query, parse_response, and set. Probably need an
8738 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8740 * gst/elements/gstfilesink.c (gst_filesink_query2):
8741 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8742 query_types, and formats methods.
8744 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8745 (gst_pad_set_query2_function): New functions.
8746 (gst_real_pad_init): Set query2_default as the default query2
8747 function. Basically just dispatches to internally linked pads.
8751 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8752 without using the atomic operations. Only one thread can possibly
8753 be accessing the data at this point. Changed so as to avoid
8754 gst_atomic operations.
8756 2005-05-06 Wim Taymans <wim@fluendo.com>
8758 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8759 Also set caps if we use the fallback buffer alloc.
8761 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8763 * docs/gst/Makefile.am:
8764 * docs/gst/gstreamer-docs.sgml:
8765 * docs/gst/gstreamer-sections.txt:
8766 * docs/gst/tmpl/gstatomic.sgml:
8767 * docs/gst/tmpl/gstmemchunk.sgml:
8768 * testsuite/elements/struct_i386.h:
8769 * win32/GStreamer.vcproj:
8771 Purge GstAtomic stuff from docs and win32 makefiles as well
8773 2005-05-06 Wim Taymans <wim@fluendo.com>
8775 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8776 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8777 * gst/gstpad.c: (gst_pad_peer_get_caps):
8778 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8779 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8780 (gst_queue_src_activate), (gst_queue_change_state):
8782 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8783 (intersect_caps_func):
8784 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8785 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8786 Some fixes for the peer_get_caps() change.
8788 2005-05-06 Wim Taymans <wim@fluendo.com>
8790 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8791 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8792 (gst_basesink_activate):
8793 Actually do something with error codes returned from the push
8796 2005-05-06 Wim Taymans <wim@fluendo.com>
8798 * docs/design/part-element-sink.txt:
8799 * docs/design/part-element-source.txt:
8800 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8801 (gst_basesink_event), (gst_basesink_activate):
8802 * gst/base/gstbasesink.h:
8803 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8804 (gst_basesrc_activate):
8805 * gst/base/gstbasesrc.h:
8806 * gst/gstelement.c: (gst_element_pads_activate):
8807 Some more documentation.
8808 Fixed scheduling decision in _pads_activate().
8810 2005-05-05 Andy Wingo <wingo@pobox.com>
8812 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8815 2005-05-05 Wim Taymans <wim@fluendo.com>
8817 * gst/base/Makefile.am:
8818 * gst/base/gstbasesink.h:
8819 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8820 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8821 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8822 (gst_collectpads_class_init), (gst_collectpads_init),
8823 (gst_collectpads_finalize), (gst_collectpads_new),
8824 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8825 (find_pad), (gst_collectpads_remove_pad),
8826 (gst_collectpads_is_active), (gst_collectpads_collect),
8827 (gst_collectpads_collect_range), (gst_collectpads_start),
8828 (gst_collectpads_stop), (gst_collectpads_peek),
8829 (gst_collectpads_pop), (gst_collectpads_available),
8830 (gst_collectpads_read), (gst_collectpads_flush),
8831 (gst_collectpads_chain):
8832 * gst/base/gstcollectpads.h:
8833 * gst/elements/Makefile.am:
8834 * gst/elements/gstelements.c:
8835 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8836 (gst_fakesink_get_times), (gst_fakesink_event),
8837 (gst_fakesink_preroll), (gst_fakesink_render):
8838 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8839 (gst_filesink_init), (gst_filesink_set_location),
8840 (gst_filesink_open_file), (gst_filesink_close_file),
8841 (gst_filesink_pad_query), (gst_filesink_event),
8842 (gst_filesink_render), (gst_filesink_change_state):
8843 * gst/elements/gstfilesink.h:
8844 Added object to help in making collect pad based elements.
8846 Make event function in sink baseclass return gboolean.
8848 2005-05-05 Wim Taymans <wim@fluendo.com>
8850 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8851 (gst_bin_get_by_name):
8853 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8854 (gst_clock_finalize):
8855 * gst/gstdata.c: (gst_data_replace):
8857 * gst/gstelement.c: (gst_element_request_pad),
8858 (gst_element_pads_activate):
8859 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8862 (gst_pad_set_checkgetrange_function),
8863 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8864 (gst_pad_check_pull_range), (gst_pad_pull_range),
8865 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8866 (gst_pad_pause_task), (gst_pad_stop_task):
8867 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8868 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8869 Fix name lookup in GstBin.
8870 Added _data_replace() function and _buffer_replace()
8871 Use finalize method to clean up clock.
8872 Fix refcounting on request pads.
8873 Fix pad schedule mode error.
8874 Some more object refcounting debug info,
8877 2005-05-04 Andy Wingo <wingo@pobox.com>
8879 * check/Makefile.am:
8880 * docs/gst/tmpl/gstatomic.sgml:
8881 * docs/gst/tmpl/gstplugin.sgml:
8882 * gst/base/gstbasesink.c: (gst_basesink_activate):
8883 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8884 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8885 (gst_basesrc_query), (gst_basesrc_set_property),
8886 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8887 (gst_basesrc_activate):
8888 * gst/base/gstbasesrc.h:
8889 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8890 (gst_base_transform_src_activate):
8891 * gst/elements/gstelements.c:
8892 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8893 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8894 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8895 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8896 (gst_type_find_element_checkgetrange),
8897 (gst_type_find_element_activate):
8898 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8899 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8900 (gst_caps_load_thyself):
8901 * gst/gstelement.c: (gst_element_pads_activate),
8902 (gst_element_save_thyself), (gst_element_restore_thyself):
8903 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8904 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8906 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8907 (gst_xml_parse_file), (gst_xml_parse_memory),
8908 (gst_xml_get_element), (gst_xml_make_element):
8909 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8910 (_file_index_id_save_xml), (gst_file_index_commit):
8911 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8912 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8914 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8915 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8916 * tools/gst-complete.c: (main):
8917 * tools/gst-compprep.c: (main):
8918 * tools/gst-inspect.c: (print_element_properties_info):
8919 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8920 * tools/gst-xmlinspect.c: (print_element_properties):
8923 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8925 * gst/gstplugin.c: (gst_plugin_check_module),
8926 (gst_plugin_check_file), (gst_plugin_load_file):
8927 apply patch from #172526 to make register work on MacOSX
8929 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8931 * docs/gst/tmpl/gstconfig.sgml:
8932 * gst/gstconfig.h.in:
8933 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8934 * testsuite/debug/printf_extension.c: (main):
8935 Do not use GST_PTR_FORMAT on pointers to types with
8936 sizeof < sizeof(gpointer). Fixes test on 64-bit
8937 * testsuite/elements/property.h:
8938 use correct printf format
8940 2005-05-02 Wim Taymans <wim@fluendo.com>
8942 * docs/design/draft-push-pull.txt:
8943 * docs/design/draft-query.txt:
8944 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8945 (gst_basesrc_start):
8946 Added draft for new query API.
8947 Added draft for better selecting scheduling methods.
8948 Make basesrc ignore length if the subclass does not support
8951 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8954 possible fixes for automake-1.5 - _LIBADD is reserved
8956 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8958 * docs/faq/Makefile.am:
8959 * docs/manual/Makefile.am:
8961 * docs/pwg/Makefile.am:
8963 possible fixes for automake-1.5
8965 2005-04-28 Wim Taymans <wim@fluendo.com>
8967 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8968 (gst_basesink_pad_getcaps), (gst_basesink_init),
8969 (gst_basesink_do_sync):
8970 * gst/gstclock.c: (gst_clock_entry_new):
8971 * gst/gstevent.c: (gst_event_discont_get_value):
8972 * gst/gstpipeline.c: (pipeline_bus_handler),
8973 (gst_pipeline_change_state):
8974 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8975 Better debugging of clocking info.
8976 Allow NULL values when getting discont values.
8978 2005-04-27 Wim Taymans <wim@fluendo.com>
8980 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8981 * check/gst/gstpad.c: (gst_pad_suite):
8982 Increase timeout for checks.
8984 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8986 * check/Makefile.am:
8987 fix the broken rule for cleanup. Apparently this rule is
8988 only needed on FC2, so maybe this warrants further autotool
8991 2005-04-26 Wim Taymans <wim@fluendo.com>
8993 * gst/gsttrashstack.h:
8994 Ooohh. a nasty one! After having a failed pop() from the stack,
8995 it's possible that the stack is empty. In that case, don't
8996 follow the NULL pointer.
8998 2005-04-25 Wim Taymans <wim@fluendo.com>
9000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9001 (gst_pad_set_checkgetrange_function),
9002 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9003 (gst_pad_check_pull_range), (gst_pad_pull_range),
9004 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9005 (gst_pad_pause_task), (gst_pad_stop_task):
9006 * gst/gstplugin.c: (gst_plugin_load):
9008 Remove gst_library_load as it does more harm than good with
9009 the new g_module flags.
9010 Revert bogus caps template check in pad linking, pad caps
9011 are important when linking not the template, which is more
9012 general than the current caps.
9014 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9016 * gst/autoplug/.cvsignore:
9017 * gst/autoplug/Makefile.am:
9018 * gst/autoplug/gstsearchfuncs.c:
9019 * gst/autoplug/gstsearchfuncs.h:
9020 * gst/autoplug/gstspider.c:
9021 * gst/autoplug/gstspider.h:
9022 * gst/autoplug/gstspideridentity.c:
9023 * gst/autoplug/gstspideridentity.h:
9024 * gst/autoplug/spidertest.c:
9027 2005-04-25 Wim Taymans <wim@fluendo.com>
9029 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9030 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9031 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9032 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9034 Added stubs for unimplemented functions.
9036 2005-04-24 David Schleef <ds@schleef.org>
9038 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9041 2005-04-24 David Schleef <ds@schleef.org>
9043 Convert everything from GstAtomicInt to g_atomic_int_*, and
9048 * gst/gstatomic_impl.h:
9056 * gst/gstdata_private.h:
9063 * gst/gststructure.c:
9064 * gst/gststructure.h:
9065 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9068 2005-04-24 David Schleef <ds@schleef.org>
9070 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9071 make the regressions tests work. Remove some code that is no
9073 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9074 Disable warning for pads without templates.
9076 2005-04-24 David Schleef <ds@schleef.org>
9078 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9079 functions that handle filtered links.
9080 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9082 * gst/gstutils.c: Fix/remove utility functions that handle
9085 * gst/gstvalue.c: Add serialization/deserialization of caps
9086 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9087 requires fixing so that the filter caps notation creates
9088 a capsfilter element and sets the filter_caps property. I
9089 think everyone probably wants to keep the shorthand notation.
9090 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9091 * docs/gst/tmpl/gstpad.sgml:
9093 * gst/elements/gstelements.c: Register capsfilter element.
9094 * gst/Makefile.am: fix spacing
9095 * docs/random/ds/0.9-suggested-changes: random
9097 2005-04-23 David Schleef <ds@schleef.org>
9099 * gst/elements/Makefile.am:
9100 * gst/elements/gstcapsfilter.c: New element that acts like an
9101 identity, but filters caps. Will eventually replace filtered
9102 caps in pad linking.
9103 * gst/gstutils.c: (gst_element_create_all_pads): New function
9104 to create all the ALWAYS pads that are registered with an
9105 element class. This functionality should eventually be
9106 merged in with GstElement initialization.
9108 * testsuite/trigger/README: part of trigger test code that should
9109 have been checked in a long time ago.
9111 2005-04-23 David Schleef <ds@schleef.org>
9113 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9114 needed with new versions of libtool (nobody will confirm this),
9115 and hard to carry around.
9116 * gst/autoplug/Makefile.am:
9117 * gst/base/Makefile.am:
9118 * gst/elements/Makefile.am:
9119 * gst/indexers/Makefile.am:
9120 * gst/schedulers/Makefile.am:
9121 * libs/gst/bytestream/Makefile.am:
9122 * libs/gst/control/Makefile.am:
9123 * libs/gst/dataprotocol/Makefile.am:
9124 * libs/gst/getbits/Makefile.am:
9126 2005-04-21 Wim Taymans <wim@fluendo.com>
9128 * docs/design/draft-push-pull.txt:
9129 * docs/design/part-MT-refcounting.txt:
9130 * docs/design/part-TODO.txt:
9131 * docs/design/part-caps.txt:
9132 * docs/design/part-events.txt:
9133 * docs/design/part-gstbus.txt:
9134 * docs/design/part-gstpipeline.txt:
9135 * docs/design/part-messages.txt:
9136 * docs/design/part-push-pull.txt:
9137 * docs/design/part-query.txt:
9140 2005-04-21 Wim Taymans <wim@fluendo.com>
9142 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9143 (gst_message_new), (gst_message_new_error),
9144 (gst_message_new_warning), (gst_message_new_tag),
9145 (gst_message_new_state_changed), (gst_message_new_application),
9146 (gst_message_get_structure):
9148 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9149 (gst_structure_copy_conditional):
9150 Use parent refcount in GstMessage to ensure GstStructure
9152 Cleaned up headers a bit.
9155 2005-04-20 Wim Taymans <wim@fluendo.com>
9157 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9158 (gst_basesink_pad_getcaps), (gst_basesink_init),
9159 (gst_basesink_chain_unlocked):
9160 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9161 (gst_type_find_helper):
9162 * gst/elements/gsttypefindelement.c:
9163 (gst_type_find_element_have_type), (gst_type_find_element_init),
9164 (stop_typefinding), (gst_type_find_element_handle_event),
9165 (find_suggest), (gst_type_find_element_chain),
9166 (gst_type_find_element_checkgetrange),
9167 (gst_type_find_element_getrange), (do_typefind),
9168 (gst_type_find_element_activate):
9169 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9170 (gst_buffer_default_free), (gst_buffer_default_copy),
9171 (gst_buffer_set_caps):
9172 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9174 * gst/gstmessage.c: (gst_message_new),
9175 (gst_message_new_state_changed):
9176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9177 (gst_pad_set_checkgetrange_function),
9178 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9179 (gst_pad_set_caps), (gst_pad_check_pull_range),
9180 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9182 * gst/gsttypefind.c: (gst_type_find_register):
9183 Make gst_caps_replace() work like other _replace() functions.
9184 Use _caps_replace() where possible.
9185 Make sure _message_new() initialises its field.
9186 Add gst_static_pad_template_get_caps()
9189 2005-04-18 Andy Wingo <wingo@pobox.com>
9191 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9192 on the peer, not the pad. I think that was a typo. Pass an extra
9193 arg to see if random access is possible. Activate the pads as
9194 PULL_RANGE if possible.
9196 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9198 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9199 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9202 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9204 * docs/faq/using.xml:
9205 Add note on gstreamer-properties (#154996).
9207 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9209 * docs/random/bbb/optional-properties:
9210 Some analysis on optional properties.
9212 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9214 * docs/gst/tmpl/gstelementfactory.sgml:
9216 * gst/gstelementfactory.c: (gst_element_factory_init),
9217 (gst_element_factory_cleanup), (gst_element_register),
9218 (__gst_element_factory_add_static_pad_template),
9219 (gst_element_factory_get_static_pad_templates),
9220 (gst_element_factory_can_src_caps),
9221 (gst_element_factory_can_sink_caps):
9222 * gst/registries/Makefile.am:
9223 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9224 (gst_xml_registry_class_init), (gst_xml_registry_init),
9225 (gst_xml_registry_new), (gst_xml_registry_set_property),
9226 (gst_xml_registry_get_property), (get_time), (make_dir),
9227 (gst_xml_registry_get_perms_func),
9228 (plugin_times_older_than_recurse), (plugin_times_older_than),
9229 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9230 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9231 (add_to_char_array), (read_string), (read_uint), (read_enum),
9232 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9233 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9234 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9235 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9236 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9237 (gst_xml_registry_rebuild):
9238 * gst/registries/gstlibxmlregistry.h:
9239 * tools/gst-compprep.c: (main):
9240 * tools/gst-inspect.c: (print_pad_templates_info):
9241 * tools/gst-xmlinspect.c: (print_element_info):
9242 Use libxml2 for registry parsing, use staticpadtemplates in
9243 elementfactories. Makes gst_init() +/- 10x faster.
9245 2005-04-12 Wim Taymans <wim@fluendo.com>
9247 * gst/base/Makefile.am:
9248 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9249 (gst_basesink_pad_getcaps), (gst_basesink_init),
9250 (gst_basesink_event), (gst_basesink_change_state):
9251 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9252 (gst_basesrc_init), (gst_basesrc_query),
9253 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9254 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9255 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9256 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9257 (gst_basesrc_stop), (gst_basesrc_activate),
9258 (gst_basesrc_change_state):
9259 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9260 (helper_find_suggest), (gst_type_find_helper):
9261 * gst/base/gsttypefindhelper.h:
9262 * gst/elements/Makefile.am:
9263 * gst/elements/gstelements.c:
9264 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9265 (gst_fakesink_get_times), (gst_fakesink_event),
9266 (gst_fakesink_preroll), (gst_fakesink_render):
9267 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9268 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9269 (gst_fakesrc_get_property), (gst_fakesrc_create),
9270 (gst_fakesrc_start), (gst_fakesrc_stop):
9271 * gst/elements/gstfakesrc.h:
9272 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9273 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9274 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9275 (gst_filesrc_create_read), (gst_filesrc_create),
9276 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9277 (gst_filesrc_start):
9278 * gst/elements/gsttypefindelement.c:
9279 (gst_type_find_element_have_type), (gst_type_find_element_init),
9280 (start_typefinding), (stop_typefinding), (push_buffer_store),
9281 (gst_type_find_element_handle_event),
9282 (gst_type_find_element_chain),
9283 (gst_type_find_element_checkgetrange),
9284 (gst_type_find_element_getrange), (do_typefind),
9285 (gst_type_find_element_activate),
9286 (gst_type_find_element_change_state):
9287 * gst/elements/gsttypefindelement.h:
9288 * gst/gstpipeline.c: (pipeline_bus_handler):
9289 Added typefind helper.
9290 Small preroll fix in the base sink.
9291 Disable typefind code in basesrc.
9292 Crude port of typefindelement.
9296 2005-04-11 Wim Taymans <wim@fluendo.com>
9298 * check/gst/gstbus.c: (gstbus_suite):
9299 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9301 Fix up the timeout so that the test does not fail.
9303 2005-04-06 Wim Taymans <wim@fluendo.com>
9306 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9307 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9308 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9309 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9310 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9311 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9312 (gst_basesrc_stop), (gst_basesrc_activate),
9313 (gst_basesrc_change_state), (basesrc_find_peek),
9314 (basesrc_find_suggest), (gst_basesrc_type_find):
9315 * gst/base/gstbasesrc.h:
9316 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9317 (gst_filesrc_class_init), (gst_filesrc_init),
9318 (gst_filesrc_finalize), (gst_filesrc_set_location),
9319 (gst_filesrc_set_property), (gst_filesrc_get_property),
9320 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9321 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9322 (gst_filesrc_create_read), (gst_filesrc_create),
9323 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9324 * gst/elements/gstfilesrc.h:
9325 * gst/gstelement.c: (gst_element_get_state_func),
9326 (gst_element_lost_state), (gst_element_pads_activate):
9327 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9328 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9329 (gst_pad_pull_range):
9331 More work on the generic source base class, implement seeking,
9333 Make filesrc extend the base source class.
9334 Added gst_pad_set_checkgetrange_function to GstPad.
9336 2005-04-06 Andy Wingo <wingo@pobox.com>
9338 * pkgconfig/gstreamer-base.pc.in:
9339 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9341 * pkgconfig/Makefile.am:
9342 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9344 2005-04-04 Wim Taymans <wim@fluendo.com>
9346 * gst/base/Makefile.am:
9348 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9349 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9350 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9351 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9352 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9353 (gst_basesrc_base_init), (gst_basesrc_class_init),
9354 (gst_basesrc_init), (gst_basesrc_get_formats),
9355 (gst_basesrc_get_query_types), (gst_basesrc_query),
9356 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9357 (gst_basesrc_set_property), (gst_basesrc_get_property),
9358 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9359 (gst_basesrc_loop), (gst_basesrc_activate),
9360 (gst_basesrc_change_state):
9361 * gst/base/gstbasesrc.h:
9362 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9363 (gst_fakesrc_class_init), (gst_fakesrc_init),
9364 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9365 (gst_fakesrc_get_property), (gst_fakesrc_create):
9366 * gst/elements/gstfakesrc.h:
9367 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9368 (gst_filesrc_open_file), (gst_filesrc_loop),
9369 (gst_filesrc_activate), (filesrc_find_peek),
9370 (gst_filesrc_type_find):
9371 Made base source class, make fakesrc extend it.
9372 Add comments to basesink class.
9373 Some filesrc cleanup.
9375 2005-03-31 David Schleef <ds@schleef.org>
9377 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9378 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9379 expected to link against libgstreamer.
9380 * gst/base/Makefile.am: link against libgstreamer
9381 * gst/elements/Makefile.am: same
9383 2005-03-31 Andy Wingo <wingo@pobox.com>
9385 * tests/instantiate/Makefile.am:
9386 * tests/instantiate/caps.c: Add test to test speed of caps copy
9389 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9390 GMemChunk to be fair.
9392 * gst/gsttrashstack.h: Remove warning about using the fallback
9393 trash stack implementation, it's still faster than malloc.
9395 2005-03-30 Andy Wingo <wingo@pobox.com>
9397 * tests/complexity.c: Add a copyright.
9399 2005-03-31 Wim Taymans <wim@fluendo.com>
9401 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9402 (gst_base_transform_class_init), (gst_base_transform_init),
9403 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9404 (gst_base_transform_get_property),
9405 (gst_base_transform_sink_activate),
9406 (gst_base_transform_src_activate),
9407 (gst_base_transform_change_state):
9408 * gst/base/gstbasetransform.h:
9409 * gst/elements/gstidentity.c: (gst_identity_class_init),
9410 (gst_identity_event), (gst_identity_check_perfect),
9411 (gst_identity_transform), (gst_identity_start),
9412 (gst_identity_stop):
9413 Added start/stop methods to transform base class so subclasses
9414 don't need to deal with state changes even.
9416 2005-03-31 Wim Taymans <wim@fluendo.com>
9418 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9419 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9421 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9422 (gst_pad_pull_range):
9423 Added rate to the discont event to prepare for variable speed
9424 and reverse playback.
9426 2005-03-29 David Schleef <ds@schleef.org>
9429 * testsuite/trigger/Makefile.am:
9430 * testsuite/trigger/trigger.c: A little example program to show
9431 how trigger-based elements can work.
9433 2005-03-29 Wim Taymans <wim@fluendo.com>
9435 * gst/base/Makefile.am:
9437 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9438 (gst_basesink_base_init), (gst_basesink_class_init),
9439 (gst_basesink_pad_getcaps), (gst_basesink_init),
9440 (gst_basesink_activate), (gst_basesink_change_state):
9441 * gst/base/gstbasesink.h:
9442 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9443 (gst_base_transform_base_init), (gst_base_transform_finalize),
9444 (gst_base_transform_class_init), (gst_base_transform_init),
9445 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9446 (gst_base_transform_event), (gst_base_transform_getrange),
9447 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9448 (gst_base_transform_set_property),
9449 (gst_base_transform_get_property),
9450 (gst_base_transform_sink_activate),
9451 (gst_base_transform_src_activate),
9452 (gst_base_transform_change_state):
9453 * gst/base/gstbasetransform.h:
9454 * gst/elements/gstidentity.c: (gst_identity_finalize),
9455 (gst_identity_class_init), (gst_identity_init),
9456 (gst_identity_event), (gst_identity_check_perfect),
9457 (gst_identity_transform), (gst_identity_set_property),
9458 (gst_identity_get_property), (gst_identity_change_state):
9459 * gst/elements/gstidentity.h:
9460 * gst/gstelement.c: (gst_element_get_state_func),
9461 (gst_element_lost_state), (gst_element_pads_activate):
9462 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9463 (gst_pad_check_pull_range), (gst_pad_pull_range):
9465 Simplify pad activation.
9466 Added function to check if pull_range can be performed.
9467 Error out when pulling inactive or flushing pads.
9468 Removed const from refcounted types as it does not make sense.
9469 Simplify pad templates in basesink
9470 Added base class for simple 1-to-1 transforms.
9471 Make identity subclass the base transform.
9473 2005-03-29 Andy Wingo <wingo@pobox.com>
9475 * docs/libs/gstreamer-libs-overrides.txt:
9476 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9477 really don't understand what's going on, but like whatever. I want
9480 * docs/gst/Makefile.am:
9481 * docs/libs/Makefile.am: Dist the overrides files.
9483 * check/Makefile.am (clean-local): Remove .libs directories.
9485 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9486 elements to EXTRA_DIST, so po/ files are happy.
9488 * po/POTFILES.in: Er, remove it here.
9490 * po/POTFILES: Remove gstspider.c.
9492 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9494 * docs/libs/gstreamer-libs-docs.sgml:
9495 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9498 * tests/complexity.c (main): Set the length of the preroll queue
9499 on the sinks to prevent a lockup.
9501 * libs/gst/dataprotocol/Makefile.am:
9502 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9503 the same as the one in check/gst-libs/gdp.c.
9505 * po/, docs/gst/: Commit automatic changes to docs and po files.
9507 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9508 the versioned libgstbase.
9510 * check/Makefile.am: Depend on an unversioned gst-register, seems
9511 to make autoconf happier.
9513 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9515 2005-03-28 Wim Taymans <wim@fluendo.com>
9518 * docs/design/part-gstelement.txt:
9519 * docs/design/part-negotiation.txt:
9520 * docs/design/part-preroll.txt:
9521 * docs/design/part-scheduling.txt:
9522 * docs/design/part-states.txt:
9524 * gst/base/Makefile.am:
9526 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9527 (gst_basesink_base_init), (gst_basesink_class_init),
9528 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9529 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9530 (gst_basesink_set_pad_functions),
9531 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9532 (gst_basesink_set_property), (gst_basesink_get_property),
9533 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9534 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9535 (gst_basesink_preroll_queue_push),
9536 (gst_basesink_preroll_queue_empty),
9537 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9538 (gst_basesink_event), (gst_basesink_get_times),
9539 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9540 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9541 (gst_basesink_loop), (gst_basesink_activate),
9542 (gst_basesink_change_state):
9543 * gst/base/gstbasesink.h:
9544 * gst/elements/Makefile.am:
9545 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9546 (gst_fakesink_class_init), (gst_fakesink_init),
9547 (gst_fakesink_set_property), (gst_fakesink_get_property),
9548 (gst_fakesink_get_times), (gst_fakesink_event),
9549 (gst_fakesink_preroll), (gst_fakesink_render),
9550 (gst_fakesink_change_state):
9551 * gst/elements/gstfakesink.h:
9552 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9553 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9554 * gst/gstelement.c: (gst_element_add_pad),
9555 (gst_element_get_state_func), (gst_element_abort_state),
9556 (gst_element_commit_state), (gst_element_lost_state),
9557 (gst_element_set_state), (gst_element_pads_activate):
9558 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9559 * gst/gstpipeline.c: (gst_pipeline_send_event),
9560 (gst_pipeline_change_state):
9561 Added state change code.
9563 Added sink base class, make fakesink extend the base class.
9564 Small cleanups in GstPipeline.
9566 2005-03-26 David Schleef <ds@schleef.org>
9568 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9569 is broken and should be implemented in a different library.
9570 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9571 * gst/gst.h: remove gstcpu.h
9572 * gst/gstcpu.c: remove
9573 * gst/gstcpu.h: remove
9574 * gst/Makefile.am.future: Remove this file. It's ancient.
9576 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9578 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9579 (gst_bin_send_event):
9580 Add default event/set_manager handlers. The set_manager handler
9581 takes care that the manager is distributed over kids that were
9582 already in the bin before the manager was set. The event handler
9583 is a utility virtual function that sends the event over all sinks,
9584 so that gst_element_send_event (bin, event); has the expected
9586 * gst/gstpad.c: (gst_pad_event_default):
9587 Re-install default event handling for discontinuities, so that
9588 seeking works without requiring hacks in applications or extra
9590 * gst/gstpipeline.c: (gst_pipeline_class_init),
9591 (gst_pipeline_send_event):
9592 Half hack, half utility: set a pipeline to PAUSED for seek events,
9593 since that is the only way we can guarantee a/v sync. Means that
9594 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9595 and it "just works".
9597 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9599 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9600 Lock/unlock mismatch.
9602 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9604 * docs/faq/gst-uninstalled:
9605 add gst-plugins-base
9606 * docs/gst/Makefile.am:
9607 don't error out until docs are fixed
9608 * docs/gst/gstreamer.types:
9611 2005-03-22 Wim Taymans <wim@fluendo.com>
9613 * check/Makefile.am:
9614 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9615 * gst/gststructure.c: (gst_structure_set_valist),
9616 (gst_structure_copy_conditional):
9617 Activated more tests.
9619 Added G_TYPE_POINTER to GstStructure.
9622 2005-03-22 Wim Taymans <wim@fluendo.com>
9624 * docs/design/part-TODO.txt:
9625 * docs/design/part-events.txt:
9626 * docs/design/part-gstbin.txt:
9627 * docs/design/part-gstbus.txt:
9628 * docs/design/part-gstpipeline.txt:
9629 * docs/design/part-messages.txt:
9634 2005-03-21 Wim Taymans <wim@fluendo.com>
9636 * gst/gstbus.c: (gst_bus_post):
9637 Fix copy-and-paste error.
9639 2005-03-21 Wim Taymans <wim@fluendo.com>
9641 * check/Makefile.am:
9643 * gst/elements/Makefile.am:
9644 * gst/elements/gstelements.c:
9645 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9646 (gst_fakesink_event), (gst_fakesink_chain):
9647 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9648 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9649 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9650 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9651 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9652 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9653 (gst_fakesrc_loop), (gst_fakesrc_activate),
9654 (gst_fakesrc_change_state):
9655 * gst/elements/gstfakesrc.h:
9656 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9657 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9658 (gst_filesrc_open_file), (gst_filesrc_loop),
9659 (gst_filesrc_activate), (gst_filesrc_change_state),
9660 (filesrc_find_peek), (filesrc_find_suggest),
9661 (gst_filesrc_type_find):
9662 * gst/elements/gstidentity.c: (gst_identity_finalize),
9663 (gst_identity_class_init), (gst_identity_init),
9664 (gst_identity_proxy_getcaps), (identity_queue_push),
9665 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9666 (gst_identity_getrange), (gst_identity_chain),
9667 (gst_identity_sink_loop), (gst_identity_src_loop),
9668 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9669 (gst_identity_set_property), (gst_identity_get_property),
9670 (gst_identity_change_state):
9671 * gst/elements/gstidentity.h:
9672 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9673 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9674 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9675 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9676 (gst_tee_sink_activate):
9677 * gst/elements/gsttee.h:
9678 * gst/gst.c: (gst_register_core_elements), (init_post):
9680 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9681 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9682 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9683 (gst_bin_change_state):
9685 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9686 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9687 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9688 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9689 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9690 (bus_watch_callback), (bus_watch_destroy),
9691 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9692 (poll_timeout), (gst_bus_poll):
9696 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9697 (gst_element_post_message), (gst_element_message_full),
9698 (gst_element_get_state_func), (gst_element_get_state),
9699 (gst_element_abort_state), (gst_element_commit_state),
9700 (gst_element_lost_state), (gst_element_set_state),
9701 (gst_element_pads_activate), (gst_element_change_state),
9702 (gst_element_dispose), (gst_element_set_manager_func),
9703 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9704 (gst_element_set_manager), (gst_element_get_manager),
9705 (gst_element_set_bus), (gst_element_get_bus),
9706 (gst_element_set_scheduler), (gst_element_get_scheduler):
9708 * gst/gstevent.c: (gst_event_new_segment_seek),
9709 (gst_event_new_flush):
9711 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9712 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9713 (gst_message_new_eos), (gst_message_new_error),
9714 (gst_message_new_warning), (gst_message_new_tag),
9715 (gst_message_new_state_changed), (gst_message_new_application),
9716 (gst_message_get_structure), (gst_message_parse_tag),
9717 (gst_message_parse_state_changed), (gst_message_parse_error),
9718 (gst_message_parse_warning):
9720 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9721 (gst_real_pad_set_property), (gst_pad_set_active),
9722 (gst_pad_is_active), (gst_pad_set_blocked_async),
9723 (gst_pad_set_blocked), (gst_pad_is_blocked),
9724 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9725 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9726 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9727 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9728 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9729 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9730 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9731 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9732 (gst_pad_set_caps), (gst_pad_configure_sink),
9733 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9734 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9735 (gst_real_pad_dispose), (gst_real_pad_finalize),
9736 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9737 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9738 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9740 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9741 (pipeline_bus_handler), (gst_pipeline_change_state),
9742 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9743 * gst/gstpipeline.h:
9745 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9746 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9747 (gst_queue_link_src), (gst_queue_bufferalloc),
9748 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9749 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9750 (gst_queue_loop), (gst_queue_handle_src_event),
9751 (gst_queue_handle_src_query), (gst_queue_src_activate),
9752 (gst_queue_change_state):
9754 * gst/gstscheduler.c: (gst_scheduler_init),
9755 (gst_scheduler_dispose), (gst_scheduler_create_task),
9756 (gst_scheduler_factory_create):
9757 * gst/gstscheduler.h:
9758 * gst/gststructure.c: (gst_structure_get_type),
9759 (gst_structure_copy_conditional):
9760 * gst/gststructure.h:
9761 * gst/gsttaginterface.h:
9762 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9763 (gst_task_init), (gst_task_dispose), (gst_task_create),
9764 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9770 * gst/schedulers/Makefile.am:
9771 * gst/schedulers/cothreads_compat.h:
9772 * gst/schedulers/entryscheduler.c:
9773 * gst/schedulers/faircothreads.c:
9774 * gst/schedulers/faircothreads.h:
9775 * gst/schedulers/fairscheduler.c:
9776 * gst/schedulers/gstbasicscheduler.c:
9777 * gst/schedulers/gstoptimalscheduler.c:
9778 * gst/schedulers/gthread-cothreads.h:
9779 * gst/schedulers/threadscheduler.c:
9780 (gst_thread_scheduler_task_get_type),
9781 (gst_thread_scheduler_task_class_init),
9782 (gst_thread_scheduler_task_init),
9783 (gst_thread_scheduler_task_start),
9784 (gst_thread_scheduler_task_stop),
9785 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9786 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9787 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9788 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9790 * libs/gst/Makefile.am:
9791 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9792 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9793 (gst_file_pad_parent_set):
9794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9795 (gst_dp_event_from_packet):
9796 * tests/complexity.c: (main):
9797 * tests/mass_elements.c: (main):
9798 * testsuite/states/locked.c: (message_received), (main):
9799 * testsuite/states/parent.c: (main):
9800 * tools/gst-inspect.c: (print_element_flag_info),
9801 (print_implementation_info), (print_pad_info):
9802 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9804 * tools/gst-md5sum.c: (event_loop), (main):
9805 * tools/gst-typefind.c: (main):
9806 * tools/gst-xmlinspect.c: (print_element_info):
9808 Added GstBus for mainloop integration.
9809 Added GstMessage for sending notifications on the bus.
9810 Added GstTask as an abstraction for pipeline entry points.
9813 Simplified GstQueue for multithreaded core.
9814 Made _link threadsafe, removed old capsnego.
9815 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9816 Added pad blocking functions.
9817 Reworked scheduling functions in GstPad to prepare for
9818 scheduling updates soon.
9819 Moved events out of data stream.
9820 Simplified GstEvent types.
9821 Added return values to push/pull.
9822 Removed clocking from GstElement.
9823 Added prototypes for state change function for next merge.
9824 Removed iterate from bins and state change management.
9825 Fixed some elements, disabled others for now.
9826 Fixed -inspect and -launch.
9827 Added check for GstBus.
9829 2005-03-10 Wim Taymans <wim@fluendo.com>
9831 * docs/design/part-MT-refcounting.txt:
9832 * docs/design/part-clocks.txt:
9833 * docs/design/part-gstelement.txt:
9834 * docs/design/part-gstobject.txt:
9835 * docs/design/part-standards.txt:
9836 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9837 (gst_bin_remove_func), (gst_bin_remove):
9841 * testsuite/clock/clock1.c: (main):
9842 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9844 * testsuite/dlopen/loadgst.c: (do_test):
9845 * testsuite/refcounting/bin.c: (add_remove_test1),
9846 (add_remove_test2), (main):
9847 * testsuite/refcounting/element.c: (main):
9848 * testsuite/refcounting/element_pad.c: (main):
9849 * testsuite/refcounting/pad.c: (main):
9850 * tools/gst-launch.c: (sigint_handler_sighandler):
9851 * tools/gst-typefind.c: (main):
9853 Added doc about clock.
9854 removed gst_bin_iterate_recurse_up(), marked methods
9856 Fix more testsuites.
9858 2005-03-09 Wim Taymans <wim@fluendo.com>
9860 * gst/gstpad.c: (gst_pad_get_direction),
9861 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9862 (gst_pad_collect_valist):
9863 * testsuite/bins/interface.c: (main):
9864 * testsuite/caps/audioscale.c: (test_caps):
9865 * testsuite/caps/caps.c: (test1), (test2), (test3):
9866 * testsuite/caps/deserialize.c: (main):
9867 * testsuite/caps/enumcaps.c: (main):
9868 * testsuite/caps/filtercaps.c: (main):
9869 * testsuite/caps/intersect2.c: (main):
9870 * testsuite/caps/random.c: (main):
9871 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9872 * testsuite/caps/sets.c: (check_caps):
9873 * testsuite/caps/simplify.c: (check_caps), (main):
9874 * testsuite/caps/subtract.c: (check_caps):
9875 Fix _pad_get_direction wrt ghostpads.
9878 2005-03-09 Wim Taymans <wim@fluendo.com>
9880 * check/Makefile.am:
9881 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9882 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9883 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9884 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9885 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9886 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9887 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9888 (bin_element_is_sink), (gst_bin_iterate_sinks),
9889 (gst_bin_iterate_all_by_interface):
9891 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9892 (gst_element_change_state), (gst_element_dispose),
9893 (gst_element_finalize), (gst_element_set_loop_function):
9895 * gst/gstiterator.c: (find_custom_fold_func):
9896 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9897 (gst_pad_collectv), (gst_pad_collect_valist),
9898 (gst_pad_template_new):
9899 * gst/gstpipeline.c: (gst_pipeline_class_init),
9900 (gst_pipeline_dispose), (gst_pipeline_set_property),
9901 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9902 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9903 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9905 * gst/schedulers/entryscheduler.c:
9906 * gst/schedulers/gstbasicscheduler.c:
9907 (gst_basic_scheduler_cothreaded_chain),
9908 (gst_basic_scheduler_chain_add_element):
9909 * testsuite/bins/interface.c: (main):
9911 Added GstSystemClock test.
9912 Implemented clock distribution code in GstBin.
9913 Implemented iterate sinks method for future use.
9914 Rearranged gstelement.h
9915 Fix GstIterator comparison bug.
9916 Moved some code to GstPipeline, mostly clocking related.
9918 2005-03-09 Wim Taymans <wim@fluendo.com>
9921 * gst/gst_private.h:
9922 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9923 (gst_bin_remove_func), (gst_bin_remove),
9924 (gst_bin_get_by_name_recurse_up):
9925 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9926 (gst_clock_id_compare_func), (gst_clock_id_wait),
9927 (gst_clock_id_wait_async), (gst_clock_init),
9928 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9930 * gst/gstinfo.c: (_gst_debug_init):
9932 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9933 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9935 Bump version number, we're now 0.9.0
9936 Add future debugging category.
9937 Fix NULL _unref() in _get_by_name_recurse_up
9941 2005-03-08 Wim Taymans <wim@fluendo.com>
9943 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9944 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9945 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9946 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9947 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9948 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9949 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9950 * gst/elements/gstidentity.c: (gst_identity_class_init):
9951 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9952 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9953 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9954 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9955 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9957 * gst/gstelement.c: (gst_element_class_init),
9958 (gst_element_base_class_init), (gst_element_init),
9959 (gst_element_get_random_pad), (gst_element_wait_state_change),
9960 (gst_element_change_state), (gst_element_dispose),
9961 (gst_element_finalize), (gst_element_set_loop_function):
9963 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9964 * gst/gstthread.c: (gst_thread_class_init),
9965 (gst_thread_release_children_locks), (gst_thread_change_state):
9966 * gst/schedulers/gstbasicscheduler.c:
9967 (gst_basic_scheduler_loopfunc_wrapper),
9968 (gst_basic_scheduler_chain_wrapper),
9969 (gst_basic_scheduler_src_wrapper),
9970 (gst_basic_scheduler_remove_element):
9971 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9972 Remove threadsafe properties. Fix elements because GObject
9973 complains when installing a property before declaring a
9974 set/get_property handler.
9975 Rearrange gstelement.h file, use STATE macros for state locks.
9976 Free mutexes in the finalize method instead of dispose.
9978 2005-03-08 Wim Taymans <wim@fluendo.com>
9980 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9981 * gst/gstthread.c: (gst_thread_release_children_locks):
9982 Added parentage check.
9983 Fix build og GstThread again.
9985 2005-03-08 Wim Taymans <wim@fluendo.com>
9987 * docs/design/part-MT-refcounting.txt:
9988 * docs/design/part-conventions.txt:
9989 * docs/design/part-gstobject.txt:
9990 * docs/design/part-relations.txt:
9991 * docs/design/part-standards.txt:
9992 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9993 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9994 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9995 (gst_bin_iterate_all_by_interface):
9998 * gst/gstelement.c: (gst_element_class_init),
9999 (gst_element_change_state), (gst_element_set_loop_function):
10000 * gst/gstelement.h:
10001 * gst/gstiterator.c:
10002 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10003 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10004 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10005 (gst_object_set_parent), (gst_object_unparent),
10006 (gst_object_check_uniqueness):
10008 Docs updates, clean up some headers.
10010 2005-03-07 Wim Taymans <wim@fluendo.com>
10012 * check/.cvsignore:
10013 * check/Makefile.am:
10014 * check/gst-libs/.cvsignore:
10015 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10016 * check/gst/.cvsignore:
10017 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10018 (START_TEST), (gstbus_suite), (main):
10019 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10020 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10021 (gst_data_suite), (main):
10022 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10023 (add_fold_func), (gstiterator_suite), (main):
10024 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10025 (thread_name_object), (thread_name_object_default),
10026 (gst_object_name_compare), (gst_object_suite), (main):
10027 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10028 (gst_pad_suite), (main):
10029 * check/gstcheck.c: (gst_check_log_message_func),
10030 (gst_check_log_critical_func), (gst_check_init):
10031 * check/gstcheck.h:
10032 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10033 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10036 2005-03-07 Wim Taymans <wim@fluendo.com>
10038 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10039 (gst_list_iterator_next), (gst_list_iterator_resync),
10040 (gst_list_iterator_free), (gst_iterator_new_list),
10041 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10042 (gst_iterator_free), (gst_iterator_push), (filter_next),
10043 (filter_resync), (filter_uninit), (filter_free),
10044 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10045 (gst_iterator_foreach), (find_custom_fold_func),
10046 (gst_iterator_find_custom):
10047 * gst/gstiterator.h:
10048 Added missing files.
10050 2005-03-07 Wim Taymans <wim@fluendo.com>
10054 * docs/design/part-MT-refcounting.txt:
10055 * docs/design/part-conventions.txt:
10056 * docs/design/part-gstobject.txt:
10057 * docs/design/part-relations.txt:
10058 * examples/mixer/mixer.c: (main):
10059 * examples/thread/thread.c: (eos), (main):
10061 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10062 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10063 (gst_spider_plug_from_srcpad):
10064 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10065 (gst_spider_identity_change_state),
10066 (gst_spider_identity_sink_loop_type_finding):
10067 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10068 * gst/elements/gstidentity.c: (gst_identity_init):
10069 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10070 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10071 * gst/elements/gsttypefindelement.c: (free_entry):
10074 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10075 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10076 (gst_bin_set_index), (gst_bin_set_element_sched),
10077 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10078 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10079 (gst_bin_iterate_elements), (iterate_child_recurse),
10080 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10081 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10082 (compare_interface), (gst_bin_get_by_interface),
10083 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10085 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10086 (gst_buffer_default_free), (gst_buffer_default_copy),
10087 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10088 (gst_buffer_create_sub):
10090 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10091 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10092 (gst_caps_unref), (gst_static_caps_get),
10093 (gst_caps_remove_and_get_structure), (gst_caps_append),
10094 (gst_caps_append_structure), (gst_caps_remove_structure),
10095 (gst_caps_copy_nth), (gst_caps_set_simple),
10096 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10097 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10098 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10099 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10100 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10101 (gst_caps_structure_figure_out_union),
10102 (gst_caps_switch_structures), (gst_caps_do_simplify),
10103 (gst_caps_replace), (gst_caps_from_string),
10104 (gst_caps_copy_conditional):
10106 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10107 (_gst_clock_id_free), (gst_clock_id_unref),
10108 (gst_clock_id_compare_func), (gst_clock_id_wait),
10109 (gst_clock_id_wait_async), (gst_clock_class_init),
10110 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10111 (gst_clock_get_time), (gst_clock_set_time_adjust),
10112 (gst_clock_set_property), (gst_clock_get_property):
10115 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10116 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10118 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10119 (gst_element_requires_clock), (gst_element_provides_clock),
10120 (gst_element_set_clock), (gst_element_clock_wait),
10121 (gst_element_wait), (gst_element_set_time_delay),
10122 (gst_element_is_indexable), (gst_element_add_pad),
10123 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10124 (pad_compare_name), (gst_element_get_static_pad),
10125 (gst_element_request_pad), (gst_element_get_request_pad),
10126 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10127 (gst_element_class_get_pad_template_list),
10128 (gst_element_class_get_pad_template), (gst_element_error_func),
10129 (gst_element_get_random_pad), (gst_element_get_event_masks),
10130 (gst_element_send_event), (gst_element_seek),
10131 (gst_element_get_query_types), (gst_element_query),
10132 (gst_element_get_formats), (gst_element_convert),
10133 (gst_element_is_locked_state), (gst_element_set_locked_state),
10134 (gst_element_sync_state_with_parent), (gst_element_change_state),
10135 (gst_element_finalize), (gst_element_yield),
10136 (gst_element_interrupt), (gst_element_set_scheduler),
10137 (gst_element_get_scheduler), (gst_element_set_loop_function):
10138 * gst/gstelement.h:
10140 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10141 (gst_format_get_by_nick), (gst_format_get_details),
10142 (gst_format_iterate_definitions):
10144 * gst/gstindex.c: (gst_index_gtype_resolver):
10147 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10148 (gst_mem_chunk_free):
10149 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10150 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10151 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10152 (gst_object_dispatch_properties_changed),
10153 (gst_object_set_name_default), (gst_object_set_name),
10154 (gst_object_get_name), (gst_object_set_name_prefix),
10155 (gst_object_get_name_prefix), (gst_object_set_parent),
10156 (gst_object_get_parent), (gst_object_unparent),
10157 (gst_object_check_uniqueness), (gst_object_save_thyself),
10158 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10159 (gst_object_set_property), (gst_object_get_property),
10160 (gst_object_get_path_string):
10162 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10163 (gst_real_pad_init), (gst_real_pad_get_property),
10164 (gst_pad_custom_new), (gst_pad_get_direction),
10165 (gst_pad_set_active), (gst_pad_is_active),
10166 (gst_pad_set_event_function), (gst_pad_is_linked),
10167 (gst_pad_link_free), (gst_pad_link_intersect),
10168 (gst_pad_link_fixate), (gst_pad_set_caps),
10169 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10170 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10171 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10172 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10173 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10174 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10175 (gst_pad_realize), (gst_pad_get_allowed_caps),
10176 (gst_real_pad_dispose), (gst_real_pad_finalize),
10177 (gst_pad_collectv), (gst_pad_collect_valist),
10178 (gst_pad_template_dispose), (gst_pad_template_new),
10179 (gst_pad_get_internal_links):
10181 * gst/gstpipeline.c: (gst_pipeline_dispose),
10182 (gst_pipeline_change_state):
10183 * gst/gstpipeline.h:
10185 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10186 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10187 * gst/gstpluginfeature.h:
10188 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10189 * gst/gstquery.c: (_gst_query_type_initialize),
10190 (gst_query_type_register), (gst_query_type_get_by_nick),
10191 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10193 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10194 * gst/gstscheduler.c: (gst_scheduler_add_element),
10195 (gst_scheduler_factory_create):
10196 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10197 (gst_structure_free), (gst_structure_set_name),
10198 (gst_structure_id_set_value), (gst_structure_set_value),
10199 (gst_structure_set_valist), (gst_structure_remove_field),
10200 (gst_structure_remove_fields),
10201 (gst_structure_remove_fields_valist),
10202 (gst_structure_remove_all_fields), (gst_structure_foreach),
10203 (gst_structure_map_in_place),
10204 (gst_caps_structure_fixate_field_nearest_int),
10205 (gst_caps_structure_fixate_field_nearest_double):
10206 * gst/gststructure.h:
10207 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10208 (gst_system_clock_init), (gst_system_clock_dispose),
10209 (gst_system_clock_async_thread),
10210 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10211 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10212 * gst/gstsystemclock.h:
10213 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10214 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10215 * gst/gsttaginterface.c:
10216 * gst/gstthread.c: (gst_thread_dispose),
10217 (gst_thread_release_children_locks), (gst_thread_change_state),
10218 (gst_thread_main_loop):
10219 * gst/gsttrashstack.h:
10220 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10222 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10223 (gst_element_request_pad), (gst_element_get_pad_from_template),
10224 (gst_element_request_compatible_pad),
10225 (gst_element_get_compatible_pad_filtered),
10226 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10227 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10228 (gst_element_link_many), (gst_element_link),
10229 (gst_element_link_pads), (gst_element_unlink_pads),
10230 (gst_element_unlink_many), (gst_element_unlink),
10231 (gst_pad_can_link_filtered), (gst_pad_can_link),
10232 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10233 (gst_object_default_error), (gst_bin_add_many),
10234 (gst_bin_remove_many), (gst_element_populate_std_props),
10235 (gst_element_class_install_std_props), (gst_buffer_merge),
10236 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10237 (link_fold_func), (gst_pad_proxy_setcaps):
10239 * gst/gstvalue.c: (gst_value_deserialize_string):
10240 * gst/parse/grammar.y:
10241 * gst/schedulers/gstbasicscheduler.c:
10242 (gst_basic_scheduler_cothreaded_chain),
10243 (gst_basic_scheduler_chain_recursive_add),
10244 (gst_basic_scheduler_pad_link):
10245 * gst/schedulers/gstoptimalscheduler.c:
10246 (get_group_schedule_function),
10247 (gst_opt_scheduler_state_transition),
10248 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10249 * libs/gst/bytestream/bytestream.c:
10250 * libs/gst/dataprotocol/dataprotocol.c:
10251 (gst_dp_header_from_buffer):
10254 * tests/threadstate/threadstate2.c: (eos):
10255 * tools/gst-compprep.c: (main):
10256 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10257 (print_pad_info), (print_children_info):
10258 * tools/gst-launch.c: (idle_func), (main):
10259 * tools/gst-md5sum.c: (idle_func), (main):
10260 * tools/gst-xmlinspect.c: (print_element_info):
10261 First THREADED backport attempt, focusing on adding locks and
10262 making sure the API is threadsafe. Needs more work. More docs
10265 2005-02-24 Andy Wingo <wingo@pobox.com>
10267 * tests/bench-complexity.scm:
10268 * tests/complexity.gnuplot: New files, good for running complexity
10271 * tests/Makefile.am:
10272 * tests/complexity.c: New test, sets up N elements, at each level
10273 teeing into M streams per element. Eeeenteresting.
10275 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10276 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10277 running bench-mass_elements.scm.
10279 * tests/bench-mass_elements.scm: New script, runs mass_elements
10280 for various numbers of identities, outputting the results to a
10281 file. Requires guile 1.6. Just for testing.
10283 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10285 * gst/schedulers/fairscheduler.c:
10286 compile with debug disabled
10288 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10291 hunting season on 0.9 is now OPEN