1 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/base/gstadapter.c:
4 Debug category should be 'adapter', not 'GstAdapter'.
6 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7 (gst_collectpads_class_init), (gst_collectpads_init),
8 (gst_collectpads_peek), (gst_collectpads_pop),
9 (gst_collectpads_event), (gst_collectpads_chain):
10 Add debug category and some debugging output. Use boilerplate
11 macros. Remove some extraneous words from docs.
13 2005-11-05 Andy Wingo <wingo@pobox.com>
15 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20 * docs/gst/gstreamer-sections.txt:
23 * gst/gstminiobject.h:
28 2005-11-04 Wim Taymans <wim@fluendo.com>
30 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
31 Small update to stop at the configured segment_end
34 2005-11-04 Stefan Kost <ensonic@users.sf.net>
40 2005-11-04 Edward Hervey <edward@fluendo.com>
42 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
43 Check if we are doing a segment seek and have arrived at the
46 2005-11-04 Wim Taymans <wim@fluendo.com>
48 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
49 Don't leak a mutex unlock in case of an error.
54 2005-11-04 Wim Taymans <wim@fluendo.com>
56 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
58 Get the context to wake up only once.
60 2005-11-03 Wim Taymans <wim@fluendo.com>
62 * check/states/sinks.c: (GST_START_TEST):
63 Uncomment fixed check.
65 * docs/design/part-TODO.txt:
68 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
69 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
70 (gst_base_sink_get_position):
71 If we are going to PLAYING, post the right pending state
72 when we post the intermediate paused message.
74 * gst/gstelement.c: (gst_element_continue_state),
75 (gst_element_set_state_func), (gst_element_change_state):
76 Don't post state changes that were between the same state
79 2005-11-03 Stefan Kost <ensonic@users.sf.net>
81 * docs/gst/gstreamer-sections.txt:
84 * gst/gstminiobject.h:
87 more docs and doc style fixes
89 2005-11-03 Stefan Kost <ensonic@users.sf.net>
91 * docs/gst/gstreamer-sections.txt:
93 * gst/gstminiobject.c:
96 2005-11-03 Andy Wingo <wingo@pobox.com>
98 * check/states/sinks.c (test_livesrc_sink): Add checks that the
99 state-changed messages actually have the right order and the right
102 2005-11-03 Wim Taymans <wim@fluendo.com>
104 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
105 Added some more checks. Specifically the case where NO_PREROLL
106 elements are in the pipeline.
108 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
109 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
110 (gst_base_sink_get_position):
111 Post READY->PAUSED state change messages too.
112 Fix bug where VOID was posted as pending state...
114 * gst/gstbin.c: (gst_bin_recalc_state):
115 use _element_continue_state() to continue the state change.
117 * gst/gstelement.c: (gst_element_continue_state),
118 (gst_element_commit_state), (gst_element_set_state_func),
119 (gst_element_change_state), (gst_element_change_state_func):
120 Lots of state change cleanups, assign the STATE_RETURN in
121 a new continue_state() function that also propagates the
122 last return value from a state change to the app.
123 Update some debug statements with proper category.
125 2005-11-03 Wim Taymans <wim@fluendo.com>
127 * docs/design/part-events.txt:
128 * docs/design/part-gstpipeline.txt:
129 * docs/design/part-messages.txt:
130 * docs/design/part-overview.txt:
131 * docs/design/part-seeking.txt:
132 * docs/design/part-states.txt:
133 * docs/design/part-trickmodes.txt:
134 * docs/manual/advanced-position.xml:
138 People think !! is ugly, this looks better.
140 * gst/gstpad.c: (gst_pad_set_blocked_async):
141 Remove !! since it's fixed elsewhere now.
143 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
145 * gst/gstminiobject.h:
147 Add !! to _FLAG_IS_SET macros to make the result boolean.
149 2005-11-03 Edward Hervey <edward@fluendo.com>
151 * gst/gstpad.c: (gst_pad_set_blocked_async):
152 comparing a flag and a gboolean rarely returns coherent results...
153 Added two characters (!!) to make that work correctly.
155 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
157 * gst/gstbus.c: (gst_bus_class_init):
160 * gst/gstqueue.c: (gst_queue_loop):
161 Don't assume a miniobject that isn't a buffer is an
162 event (it could be that there is a refcounting
163 problem somewhere and the pointer is stale and
164 refers to an already destroyed miniobject).
166 2005-11-03 Julien MOUTTE <julien@moutte.net>
168 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
170 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
172 * docs/manual/advanced-position.xml:
173 Update seek example and explanations to current 0.9 API.
175 * gst/elements/gsttypefindelement.c:
176 (gst_type_find_element_activate):
177 Remove FIXME comment now that the found caps
180 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
182 * gst/gstregistryxml.c: (load_feature):
183 Add another GST_STR_NULL instance
185 2005-11-02 Edward Hervey <edward@fluendo.com>
187 * gst/gstpad.c: (handle_pad_block):
188 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
190 2005-11-02 Wim Taymans <wim@fluendo.com>
195 * gst/gstelement.c: (gst_element_commit_state):
199 Mention that the returned element is reffed in the docs.
201 2005-11-02 Wim Taymans <wim@fluendo.com>
203 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
204 (gst_pad_push), (gst_pad_push_event):
205 Unlock blocked pads when they are flushed.
207 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
210 * docs/gst/gstreamer-sections.txt:
213 * gst/gstregistry.c: (gst_registry_scan_path_level):
214 fix for a nasty little missed situation where an installed plug-in
215 which was in the cache did not get overridden by an uninstalled one
216 which was earlier in the plugin path because the newly created plugin
217 for the uninstalled one (not in the registry) didn't get its
218 ->registered set to TRUE
220 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
222 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
223 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
224 (gst_collectpads_is_active), (gst_collectpads_collect),
225 (gst_collectpads_collect_range), (gst_collectpads_start),
226 (gst_collectpads_stop), (gst_collectpads_peek),
227 (gst_collectpads_pop), (gst_collectpads_available),
228 (gst_collectpads_read), (gst_collectpads_flush):
229 Guard public API with assertions.
232 Fix docs for gst_pad_set_link_function().
234 2005-11-02 Johan Dahlin <johan@gnome.org>
236 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
237 Unref found_caps after we used it.
239 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
241 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
242 Don't try to ref NULL.
244 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
246 * win32/common/config.h.in:
247 provide a GST_FUNCTION that just gives a string for now
249 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
251 * win32/common/gstenumtypes.c: (register_gst_object_flags),
252 (gst_object_flags_get_type), (register_gst_bin_flags),
253 (gst_bin_flags_get_type), (register_gst_buffer_flag),
254 (gst_buffer_flag_get_type), (register_gst_bus_flags),
255 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
256 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
257 (gst_clock_return_get_type), (register_gst_clock_entry_type),
258 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
259 (gst_clock_flags_get_type), (register_gst_state),
260 (gst_state_get_type), (register_gst_state_change_return),
261 (gst_state_change_return_get_type), (register_gst_state_change),
262 (gst_state_change_get_type), (register_gst_element_flags),
263 (gst_element_flags_get_type), (register_gst_core_error),
264 (gst_core_error_get_type), (register_gst_library_error),
265 (gst_library_error_get_type), (register_gst_resource_error),
266 (gst_resource_error_get_type), (register_gst_stream_error),
267 (gst_stream_error_get_type), (register_gst_event_type),
268 (gst_event_type_get_type), (register_gst_seek_type),
269 (gst_seek_type_get_type), (register_gst_seek_flags),
270 (gst_seek_flags_get_type), (register_gst_format),
271 (gst_format_get_type), (register_gst_index_certainty),
272 (gst_index_certainty_get_type), (register_gst_index_entry_type),
273 (gst_index_entry_type_get_type),
274 (register_gst_index_lookup_method),
275 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
276 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
277 (gst_index_resolver_method_get_type), (register_gst_index_flags),
278 (gst_index_flags_get_type), (register_gst_debug_level),
279 (gst_debug_level_get_type), (register_gst_debug_color_flags),
280 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
281 (gst_iterator_result_get_type), (register_gst_iterator_item),
282 (gst_iterator_item_get_type), (register_gst_message_type),
283 (gst_message_type_get_type), (register_gst_mini_object_flags),
284 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
285 (gst_pad_link_return_get_type), (register_gst_flow_return),
286 (gst_flow_return_get_type), (register_gst_activate_mode),
287 (gst_activate_mode_get_type), (register_gst_pad_direction),
288 (gst_pad_direction_get_type), (register_gst_pad_flags),
289 (gst_pad_flags_get_type), (register_gst_pad_presence),
290 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
291 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
292 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
293 (gst_plugin_error_get_type), (register_gst_plugin_flags),
294 (gst_plugin_flags_get_type), (register_gst_rank),
295 (gst_rank_get_type), (register_gst_query_type),
296 (gst_query_type_get_type), (register_gst_tag_merge_mode),
297 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
298 (gst_tag_flag_get_type), (register_gst_task_state),
299 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
300 (gst_alloc_trace_flags_get_type),
301 (register_gst_type_find_probability),
302 (gst_type_find_probability_get_type), (register_gst_uri_type),
303 (gst_uri_type_get_type), (register_gst_parse_error),
304 (gst_parse_error_get_type):
305 * win32/common/gstversion.h:
308 2005-11-01 Luca Ognibene <luogni@tin.it>
311 fix docs. popt is dead, long live GOption.
313 2005-10-31 Wim Taymans <wim@fluendo.com>
318 2005-10-31 Andy Wingo <wingo@pobox.com>
322 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
324 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
325 need to serialize property notifications on GLib 2.8. GLib 2.6 has
326 the possibility of deadlocks here if code calling notify() or
327 set() has a lock that can be taken in another notify handler (ABBA
328 with class lock and e.g. python GIL state lock).
330 2005-10-28 Julien MOUTTE <julien@moutte.net>
332 * gst/gstbus.c: Doc updates.
334 2005-10-28 Wim Taymans <wim@fluendo.com>
336 * docs/design/part-TODO.txt:
338 * gst/gstsystemclock.c:
339 * gst/gstsystemclock.h:
342 2005-10-28 Edward Hervey <edward@fluendo.com>
344 * docs/gst/gstreamer-docs.sgml:
345 * docs/gst/gstreamer-sections.txt:
346 the GstURIType documentation page is private, it only defines GstURIType
347 which should be defined in the GstURIHandler page
349 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
351 * gst/gstbin.c: (gst_bin_class_init):
354 Documentation updates.
356 2005-10-28 Wim Taymans <wim@fluendo.com>
358 * docs/gst/gstreamer-sections.txt:
361 Documented the clocks.
363 2005-10-28 Stefan Kost <ensonic@users.sf.net>
365 * docs/gst/gstreamer-sections.txt:
366 move some macros to private sections
367 * gst/gstminiobject.c:
368 * gst/gstminiobject.h:
369 add descriptions provided by ds and some more
371 mark macro as to be removed
373 2005-10-28 Wim Taymans <wim@fluendo.com>
375 * docs/design/part-TODO.txt:
378 * gst/gstiterator.c: (gst_iterator_fold),
379 (gst_iterator_find_custom):
383 2005-10-28 Wim Taymans <wim@fluendo.com>
385 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
386 (gst_base_transform_init):
389 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
390 An EOS event marks the queue as completely filled.
392 2005-10-27 Wim Taymans <wim@fluendo.com>
394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
395 (gst_base_sink_do_sync), (gst_base_sink_get_position):
398 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
399 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
400 (gst_base_transform_event), (gst_base_transform_getrange),
401 (gst_base_transform_chain):
402 * gst/base/gstbasetransform.h:
404 Protect transform and concurrent buffer alloc with a new lock.
405 Try not to break ABI/API.
407 2005-10-27 Wim Taymans <wim@fluendo.com>
409 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
410 (gst_base_src_init), (gst_base_src_query),
411 (gst_base_src_default_newsegment),
412 (gst_base_src_configure_segment), (gst_base_src_do_seek),
413 (gst_base_src_send_event), (gst_base_src_event_handler),
414 (gst_base_src_pad_get_range), (gst_base_src_loop),
415 (gst_base_src_unlock), (gst_base_src_default_negotiate),
416 (gst_base_src_start), (gst_base_src_deactivate),
417 (gst_base_src_activate_push), (gst_base_src_change_state):
418 Move some stuff around and cleanup things.
420 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
422 * gst/base/gstbasesrc.c: (gst_base_src_query):
423 Add missing break statements.
425 2005-10-27 Wim Taymans <wim@fluendo.com>
427 * check/gst/gstbin.c: (GST_START_TEST):
428 An extra refcount is taken in basesrc.
430 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
431 (gst_base_src_get_range), (gst_base_src_pad_get_range),
433 Small cleanups, check for flushing after being unlocked from the
434 LIVE_LOCK. take refcounts correctly (not yet everywhere).
435 Don't send out EOS when going to READY.
437 2005-10-27 Wim Taymans <wim@fluendo.com>
439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
440 (gst_base_sink_get_position):
443 * gst/gstbin.c: (message_check), (bin_replace_message),
444 (bin_remove_messages), (is_eos), (gst_bin_add_func),
445 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
446 (bin_query_duration_init), (bin_query_duration_fold),
447 (bin_query_duration_done), (bin_query_generic_fold),
449 * tools/gst-launch.c: (main):
452 2005-10-26 Stefan Kost <ensonic@users.sf.net>
454 * examples/controller/audio-example.c: (main):
455 * examples/queue/queue.c: (event_loop):
456 * gst/base/gstbasetransform.h:
457 * gst/gstelement.c: (gst_element_send_event):
459 * gst/gstpad.c: (gst_pad_send_event):
462 changing log priority in error situations
464 2005-10-25 Wim Taymans <wim@fluendo.com>
466 * gst/gstbin.c: (message_check), (bin_replace_message),
467 (bin_remove_messages), (is_eos), (gst_bin_add_func),
468 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
469 (bin_query_duration_init), (bin_query_duration_fold),
470 (bin_query_duration_done), (bin_query_generic_fold),
472 Some doc and debug updates.
473 Cache previously requested query DURATION for speed. invalidate
474 cached duration if element posts a DURATION message.
476 2005-10-25 Wim Taymans <wim@fluendo.com>
478 * docs/design/part-TODO.txt:
481 * gst/gstbin.c: (message_check), (bin_replace_message),
482 (bin_remove_messages), (is_eos), (gst_bin_add_func),
483 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
484 (bin_query_duration_init), (bin_query_duration_fold),
485 (bin_query_duration_done), (bin_query_generic_fold),
487 Handle SEGMENT_START/DONE messages correctly.
488 More evolved query algorithm that handles duration queries
491 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
492 (gst_element_get_state_func), (gst_element_abort_state),
493 (gst_element_commit_state), (gst_element_lost_state):
499 2005-10-25 Wim Taymans <wim@fluendo.com>
501 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
502 Don't use invalid stream_time.
504 * gst/gstevent.c: (gst_event_new_newsegment):
505 stream_time in newsegment cannot be undefined.
507 2005-10-24 Wim Taymans <wim@fluendo.com>
512 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
514 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
516 2005-10-24 Stefan Kost <ensonic@users.sf.net>
518 * docs/libs/tmpl/gstdparam.sgml:
519 * docs/libs/tmpl/gstdplinint.sgml:
520 * docs/libs/tmpl/gstdpman.sgml:
521 * docs/libs/tmpl/gstdpsmooth.sgml:
522 * docs/libs/tmpl/gstunitconvert.sgml:
525 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
530 === release 0.9.4 ===
532 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
535 releasing 0.9.4, "Tyrannosaurus Rex"
537 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
539 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
540 (gst_file_sink_get_current_offset):
541 Use fseeko() and ftello() if available. When falling back on
542 lseek() to get the current offset, fflush() first to make sure
543 everything is up-to-date and we get the right offset.
545 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
548 * gst/base/gstbasesrc.c: (gst_base_src_loop):
549 * gst/gsterror.c: (_gst_stream_errors_init):
551 * gst/gstqueue.c: (gst_queue_loop):
553 remove prematurely added error category and clean up the instances
555 2005-10-21 Wim Taymans <wim@fluendo.com>
557 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
558 (gst_base_sink_get_position), (gst_base_sink_query),
559 (gst_base_sink_change_state):
560 Simply set the right flag when going to playing, that's all
561 we need to do instead of calling a function inside the object
562 lock (that could take the lock as well and deadlock)
564 2005-10-21 Wim Taymans <wim@fluendo.com>
566 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
568 Don't warn, the peer element knows what to do best when
569 the seek failed, it might try something else.
571 2005-10-21 Wim Taymans <wim@fluendo.com>
573 * gst/base/gstbasesrc.c: (gst_base_src_init),
574 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
577 2005-10-21 Wim Taymans <wim@fluendo.com>
579 * docs/design/part-segments.txt:
582 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
583 Correctly set caps, even on the subbufer.
585 2005-10-21 Wim Taymans <wim@fluendo.com>
587 * docs/gst/gstreamer-docs.sgml:
588 * docs/gst/gstreamer-sections.txt:
595 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
599 And 2% more doc coverage.
601 2005-10-21 Andy Wingo <wingo@pobox.com>
603 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
606 2005-10-20 Wim Taymans <wim@fluendo.com>
608 * gst/gsterror.c: (gst_error_get_message):
611 * gst/gststructure.c:
616 2005-10-20 Wim Taymans <wim@fluendo.com>
621 Another 1% more coverage.
623 2005-10-20 Wim Taymans <wim@fluendo.com>
625 * docs/gst/gstreamer-sections.txt:
626 * gst/gstelement.c: (gst_element_get_state_func),
627 (gst_element_abort_state), (gst_element_commit_state),
628 (gst_element_lost_state):
630 * gst/gstquery.c: (gst_query_set_position),
631 (gst_query_parse_position), (gst_query_set_duration),
632 (gst_query_parse_duration), (gst_query_new_convert):
634 Yay! 1% more docs coverage.
636 2005-10-20 Wim Taymans <wim@fluendo.com>
639 * gst/gstquery.c: (gst_query_set_position),
640 (gst_query_parse_position), (gst_query_set_duration),
641 (gst_query_parse_duration), (gst_query_new_convert):
643 * gst/gstutils.c: (gst_element_query_convert):
645 Docs and consistency fixes.
647 2005-10-20 Wim Taymans <wim@fluendo.com>
653 2005-10-20 Wim Taymans <wim@fluendo.com>
655 * gst/gstbin.c: (message_check), (bin_replace_message),
656 (bin_remove_messages), (is_eos), (gst_bin_add_func),
657 (update_degree), (gst_bin_sort_iterator_next),
658 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
659 Reworked the message handling a bit, cache the messages instead of
660 only the senders. alows us to do more in the future.
662 2005-10-20 Wim Taymans <wim@fluendo.com>
664 * docs/design/part-TODO.txt:
667 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
668 (gst_base_sink_query):
669 Don't use clock time to report position when in EOS.
671 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
673 * tools/gst-inspect.c: (print_interfaces),
674 (print_element_properties_info), (print_element_info):
675 Fix interface output with gst-inspect -a; don't print
676 newlines after double/float properties.
678 2005-10-20 Wim Taymans <wim@fluendo.com>
680 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
681 (gst_base_sink_query):
682 Speed up current position calculation.
684 * gst/base/gstbasesrc.c: (gst_base_src_query),
685 (gst_base_src_default_newsegment):
686 Correctly set stream position in newsegment.
688 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
689 (update_degree), (gst_bin_sort_iterator_next),
690 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
691 * gst/gstmessage.c: (gst_message_new_custom):
692 Clean up debugging info
694 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
695 (gst_queue_loop), (gst_queue_handle_src_query):
698 2005-10-19 Wim Taymans <wim@fluendo.com>
700 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
701 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
702 Fix query handling again.
704 2005-10-19 Wim Taymans <wim@fluendo.com>
706 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
707 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
708 * gst/base/gstbasesrc.c: (gst_base_src_query):
709 * gst/elements/gstfilesink.c: (gst_file_sink_query):
710 * gst/elements/gsttypefindelement.c:
711 (gst_type_find_handle_src_query), (find_element_get_length),
712 (gst_type_find_element_activate):
715 * gst/gstquery.c: (gst_query_new_position),
716 (gst_query_set_position), (gst_query_parse_position),
717 (gst_query_new_duration), (gst_query_set_duration),
718 (gst_query_parse_duration), (gst_query_set_segment),
719 (gst_query_parse_segment):
721 Bundling query position/duration is not a good idea since duration
722 does not change much and we don't want to recalculate it for every
723 position query, so they are separated again..
724 Base value in segment query is not needed.
726 * gst/gstqueue.c: (gst_queue_handle_src_query):
727 * gst/gstutils.c: (gst_element_query_position),
728 (gst_element_query_duration), (gst_pad_query_position),
729 (gst_pad_query_duration):
731 Updates for query API change.
732 Added some docs here and there.
734 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
736 * check/gst/gstbin.c: (GST_START_TEST):
737 * check/gst/gstghostpad.c: (GST_START_TEST):
738 * check/pipelines/cleanup.c: (GST_START_TEST):
739 wait on thread to die so we can check refcount correctly
741 2005-10-18 Wim Taymans <wim@fluendo.com>
743 * check/pipelines/stress.c: (GST_START_TEST):
744 Make check a little more time consuming.
746 2005-10-18 Wim Taymans <wim@fluendo.com>
749 * check/pipelines/stress.c: (GST_START_TEST),
750 (simple_launch_lines_suite), (main):
751 Small state change torture test.
753 * docs/design/part-states.txt:
754 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
755 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
756 (gst_base_sink_change_state):
757 Never take state lock from streaming thread, clean up ugly
758 hacks. Unfortunatly core does not yet support nice ways to
761 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
763 Start state recalc if a STATE_DIRTY message is posted, but only
766 * gst/gstelement.c: (gst_element_sync_state_with_parent),
767 (gst_element_get_state_func), (gst_element_abort_state),
768 (gst_element_commit_state), (gst_element_lost_state),
769 (gst_element_set_state_func), (gst_element_change_state):
771 State variables are now protected with the LOCK, the state
772 lock is only used to serialize _set_state().
774 2005-10-18 Wim Taymans <wim@fluendo.com>
776 * check/gst/gstbin.c: (GST_START_TEST):
777 * check/gst/gstmessage.c: (GST_START_TEST):
778 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
779 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
781 * gst/gstelement.c: (gst_element_abort_state),
782 (gst_element_commit_state), (gst_element_lost_state):
783 * gst/gstmessage.c: (gst_message_new_state_changed),
784 (gst_message_new_state_dirty), (gst_message_new_segment_start),
785 (gst_message_new_segment_done), (gst_message_new_duration),
786 (gst_message_parse_state_changed),
787 (gst_message_parse_segment_start),
788 (gst_message_parse_segment_done), (gst_message_parse_duration):
790 * tools/gst-launch.c: (event_loop):
791 Seriously, this is better than a previous commit as we only need
792 to notify the fact that an element changed state in a streaming
793 thread, marking the state of the parents dirty, hence the
794 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
797 2005-10-18 Wim Taymans <wim@fluendo.com>
799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
800 (gst_bin_recalc_func):
801 * gst/gstelement.c: (gst_element_set_clock),
802 (gst_element_abort_state), (gst_element_lost_state):
803 Cleanups, prepare for state change fixes.
805 2005-10-18 Wim Taymans <wim@fluendo.com>
808 * gst/gstelement.c: (gst_element_class_init),
809 (gst_element_set_state), (gst_element_set_state_func):
812 GThreadPool in GstBinClass to monitor async state changes.
813 state_cookie in GstElement to detect concurrent gst/set state.
814 set_state is now virtual too in case a very complicated element
815 has to be constructed.
817 2005-10-18 Wim Taymans <wim@fluendo.com>
819 * check/gst/gstbin.c: (GST_START_TEST):
820 * check/gst/gstmessage.c: (GST_START_TEST):
821 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
822 * gst/gstbin.c: (bin_bus_handler):
823 * gst/gstelement.c: (gst_element_commit_state),
824 (gst_element_lost_state):
825 * gst/gstmessage.c: (gst_message_new_state_changed),
826 (gst_message_new_segment_start), (gst_message_new_segment_done),
827 (gst_message_new_duration), (gst_message_parse_state_changed),
828 (gst_message_parse_segment_start),
829 (gst_message_parse_segment_done), (gst_message_parse_duration):
831 * tools/gst-launch.c: (event_loop):
832 Make messages future proof.
833 state-change gets a flag if it was a message comming from the
835 segment-start/stop can also be specified in other formats.
836 A message to notify an app that a pipeline changed playback
838 Also fix a GstMessage leak in -launch
840 2005-10-18 Andy Wingo <wingo@pobox.com>
842 * gst/gstelement.c (gst_element_dispose): More helpful message.
844 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
846 * gst/gstregistry.c: (gst_registry_scan_path_level):
847 unref a plug-in we get that was already initialized
849 2005-10-18 Stefan Kost <ensonic@users.sf.net>
851 * docs/gst/gstreamer-sections.txt:
852 * docs/libs/gstreamer-libs-sections.txt:
857 2005-10-17 Andy Wingo <wingo@pobox.com>
859 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
862 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
864 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
866 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
867 (gst_element_get_state_func): Better debug message.
868 (gst_element_commit_state): s/INFO/DEBUG/.
869 (gst_element_lost_state, gst_element_change_state):
871 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
872 (gst_message_new_custom): s/INFO/LOG/.
874 2005-10-17 Michael Smith <msmith@fluendo.com>
876 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
877 Check if end time is valid using end time, not start time.
879 2005-10-17 Stefan Kost <ensonic@users.sf.net>
881 * check/gst-libs/controller.c: (GST_START_TEST),
882 (gst_controller_suite):
883 * libs/gst/controller/gstcontroller.c:
884 (gst_controlled_property_set_interpolation_mode):
885 * libs/gst/controller/gstcontroller.h:
886 * libs/gst/controller/gstinterpolation.c:
887 * testsuite/controller/.cvsignore:
888 * testsuite/controller/Makefile.am:
889 * testsuite/controller/interpolator.c:
890 merge controller testsuites
892 remove mem-chunk from docs
894 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
898 * gst/gsttrashstack.c:
899 * gst/gsttrashstack.h:
900 out. get out. you're fired. to the Attic !
902 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
904 * gst/gstcaps.c: (gst_caps_intersect):
905 fix signedness issues in a (hopefully) correct way
906 * gst/gstelement.c: (gst_element_pads_activate):
908 * gst/gstobject.c: (gst_object_set_parent):
911 2005-10-17 Julien MOUTTE <julien@moutte.net>
913 * gst/gstvalue.h: Fix prototypes.
915 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
917 * docs/gst/gstreamer-sections.txt:
918 * gst/gst.c: (gst_version_string):
920 * gst/gstversion.h.in:
921 * win32/common/libgstreamer.def:
922 add gst_version_string ()
924 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
928 * gst/gst.c: (init_post):
929 * win32/common/config.h.in:
931 * gst/gstcaps.c: (gst_caps_intersect):
932 use gint64, the range could be bigger than a guint
934 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
937 document potential problem in 2038
939 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
941 * gst/gstcaps.c: (gst_caps_intersect):
942 Fix guint j diving under 0
944 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
947 * win32/common/config.h:
948 * win32/common/config.h.in:
949 check for process.h, declares getpid() on Windows
951 include process.h if we have it
952 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
954 fix signedness issues
955 * win32/common/libgstreamer.def:
958 2005-10-16 Julien MOUTTE <julien@moutte.net>
960 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
961 fix. Because of unsigned ints, caps intersection was going nuts and
962 trying to access structures with G_MAXUINT index. That fixes
963 videotestsrc ! ffmpegcolorspace ! fakesink
964 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
967 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
970 use the gettext macro
971 * gst/elements/gstelements.c:
973 * gst/indexers/gstindexers.c:
974 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
975 * win32/common/config.h:
977 * win32/common/config.h.in:
978 add the template to generate config.h
979 * win32/common/gstenumtypes.c:
980 * win32/common/gstversion.h:
983 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
985 * gst/gst.c: (gst_version):
986 * gst/gstversion.h.in:
989 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
992 Oops, add missing closing bracket.
994 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
997 use common m4's for argument checking
999 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1001 * docs/gst/gstreamer-sections.txt:
1003 Add GST_EVENT_TYPE_NAME() macro.
1005 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1008 * gst/gstpluginfeature.c:
1010 privatize more symbols
1012 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1015 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1016 everything that uses GStreamer API should have the includes
1018 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1020 * docs/gst/gstreamer-sections.txt:
1021 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1023 give each value a _get_type, removes the DATA exports
1025 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1029 remove _gst_registry_auto_load, not used anymore
1030 * gst/gstbin.c: (gst_bin_get_type):
1032 * gst/gstelement.c: (gst_element_get_type):
1034 * gst/gstobject.c: (gst_object_get_type):
1036 * gst/gstpad.c: (gst_pad_get_type):
1038 make _get_type functions similar, fixes data export from library
1040 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1043 correctly make conditionals
1044 * gst/elements/Makefile.am:
1045 * gst/elements/gstelements.c:
1046 fix typo causing fdsrc not to build
1048 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1050 * testsuite/Makefile.am:
1051 * testsuite/bytestream/.cvsignore:
1052 * testsuite/bytestream/Makefile.am:
1053 * testsuite/bytestream/filepadsink.c:
1054 * testsuite/bytestream/gstbstest.c:
1055 * testsuite/bytestream/test1.c:
1056 * testsuite/bytestream/testfile1:
1057 * testsuite/caps/normalisation.c:
1058 * testsuite/caps/random.c: (main):
1059 * testsuite/cleanup/.cvsignore:
1060 * testsuite/cleanup/Makefile.am:
1061 * testsuite/cleanup/cleanup1.c:
1062 * testsuite/cleanup/cleanup2.c:
1063 * testsuite/cleanup/cleanup3.c:
1064 * testsuite/cleanup/cleanup4.c:
1065 * testsuite/cleanup/cleanup5.c:
1066 * testsuite/controller/interpolator.c:
1067 * testsuite/debug/printf_extension.c: (main):
1068 * testsuite/elements/tee.c:
1069 * testsuite/negotiation/.cvsignore:
1070 * testsuite/negotiation/Makefile.am:
1071 * testsuite/negotiation/pad_link.c:
1072 * testsuite/pad/Makefile.am:
1073 * testsuite/pad/chainnopull.c:
1074 * testsuite/pad/getnopush.c:
1075 * testsuite/pad/link.c:
1076 * testsuite/refcounting/sched.c: (create_pipeline):
1077 * testsuite/registry/Makefile.am:
1078 * testsuite/registry/gst-print-formats.c:
1079 * testsuite/schedulers/.cvsignore:
1080 * testsuite/schedulers/142183-2.c:
1081 * testsuite/schedulers/142183.c:
1082 * testsuite/schedulers/143777-2.c:
1083 * testsuite/schedulers/143777.c:
1084 * testsuite/schedulers/147713.c:
1085 * testsuite/schedulers/147819.c:
1086 * testsuite/schedulers/147894-2.c:
1087 * testsuite/schedulers/147894.c:
1088 * testsuite/schedulers/Makefile.am:
1089 * testsuite/schedulers/group_link.c:
1090 * testsuite/schedulers/queue_link.c:
1091 * testsuite/schedulers/relink.c:
1092 * testsuite/schedulers/unlink.c:
1093 * testsuite/schedulers/unref.c:
1094 * testsuite/schedulers/useless_iteration.c:
1095 * testsuite/states/bin.c:
1096 clean out/remove some stuff from the testsuite directories
1098 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1101 check for some headers
1102 * gst/elements/Makefile.am:
1103 * gst/elements/gstelements.c:
1104 don't compile fdsrc without sys/socket.h
1105 * gst/indexers/Makefile.am:
1106 * gst/indexers/gstindexers.c: (plugin_init):
1107 don't compile fileindex without mmap
1109 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1116 * check/Makefile.am:
1117 * docs/gst/Makefile.am:
1118 * examples/helloworld/Makefile.am:
1120 * gst/base/Makefile.am:
1121 * gst/check/Makefile.am:
1122 * gst/elements/Makefile.am:
1123 * gst/indexers/Makefile.am:
1124 * gst/parse/Makefile.am:
1125 * libs/gst/controller/Makefile.am:
1126 * libs/gst/dataprotocol/Makefile.am:
1127 * examples/helloworld/helloworld.c: (event_loop):
1128 compile fixes, though it's not being compiled currently
1130 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1132 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1133 Add some simple tests for the new taglist date API.
1135 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1137 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1138 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1139 Beautify 'last-message' output: print 'none' for buffer timestamps
1140 and durations if none is set; improve alignment with next messages.
1142 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1144 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1145 * gst/gstpluginfeature.h:
1146 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1147 * gst/gstregistry.h:
1148 * docs/gst/gstreamer-sections.txt:
1149 Add new API to check plugin feature version requirements.
1151 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1152 Some basic tests for the above.
1154 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1156 * gst/gststructure.c: (gst_structure_to_string):
1157 guard against NULL printf - happens when for example
1158 a message structure with GstClock gets serialized
1160 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1162 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1163 Fix presumable copy'n'pasto.
1165 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1167 * gst/elements/gstfakesrc.h:
1168 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1169 * gst/elements/gsttypefindelement.c:
1171 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1172 I wonder if this could actually write +2GB files before
1174 2005-10-13 Andy Wingo <wingo@pobox.com>
1176 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1177 Fix Timmeke Waymans bug.
1178 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1179 string of the proper length to gst_caps_from_string. There's a
1180 potential for, before this fix, that this could cause someone
1181 connecting over the network to cause a segfault if the payload is
1184 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1186 * docs/design/draft-push-pull.txt:
1187 * docs/design/part-overview.txt:
1188 * docs/random/TODO-pre-0.9:
1189 * docs/random/old/ChangeLog.gstreamer:
1190 * gst/base/gstpushsrc.c:
1194 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1196 * gst/glib-compat.c: (gst_flags_get_first_value):
1197 * gst/glib-compat.h:
1198 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1199 (gst_value_compare_double), (gst_value_serialize_flags):
1200 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1203 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1206 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1208 * tools/gst-launch.c: (event_loop):
1209 print out clock nicely
1211 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1213 * docs/gst/gstreamer-sections.txt:
1215 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1216 (gst_tag_list_get_date_index):
1217 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1218 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1220 2005-10-13 Julien MOUTTE <julien@moutte.net>
1222 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1223 (gst_collectpads_chain):
1224 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1227 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1229 * docs/gst/gstreamer-sections.txt:
1232 * tools/gst-inspect.c: (main):
1233 * tools/gst-launch.c: (main):
1234 * tools/gst-run.c: (main):
1235 * tools/gst-xmlinspect.c: (main):
1236 fix GOption context leaks
1239 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * win32/common/config.h:
1245 * win32/vs6/grammar.dsp:
1246 * win32/vs6/libgstelements.dsp:
1247 * win32/vs6/libgstreamer.dsp:
1250 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1253 * gst/base/gstbasesrc.c: (gst_base_src_query):
1254 fix more guint64<->gdouble conversions
1256 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1259 add win32-update target
1260 * win32/common/gstconfig.h:
1261 * win32/common/gstenumtypes.c:
1262 * win32/common/gstenumtypes.h:
1263 * win32/common/gstversion.h:
1264 add files that visual studio can't generate
1266 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1269 add a win32-update target
1272 2005-10-12 Wim Taymans <wim@fluendo.com>
1274 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1275 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1276 * gst/gstelement.c: (gst_element_commit_state),
1277 (gst_element_set_state):
1278 Protect flags with proper lock.
1279 unref provided cached clock in dispose.
1281 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1284 * gst/gstminiobject.h:
1286 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1287 removed unused flags from miniobject
1290 2005-10-12 Wim Taymans <wim@fluendo.com>
1292 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1293 (gst_file_sink_event), (gst_file_sink_render):
1294 Flush before seeking.
1296 2005-10-12 Andy Wingo <wingo@pobox.com>
1298 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1299 always been the case.
1301 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1303 * check/gst/gstbin.c: (GST_START_TEST):
1304 * docs/gst/gstreamer-sections.txt:
1305 * gst/base/gstbasesink.c: (gst_base_sink_init):
1306 * gst/base/gstbasesrc.c: (gst_base_src_init),
1307 (gst_base_src_get_range), (gst_base_src_check_get_range),
1308 (gst_base_src_start), (gst_base_src_stop):
1309 * gst/base/gstbasesrc.h:
1310 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1311 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1312 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1316 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1318 * gst/gstelement.c: (gst_element_is_locked_state),
1319 (gst_element_set_locked_state), (gst_element_commit_state),
1320 (gst_element_set_state):
1322 * gst/gstindex.c: (gst_index_init):
1324 * gst/gstminiobject.h:
1325 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1326 (gst_object_set_parent):
1328 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1329 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1331 * gst/gstpadtemplate.h:
1332 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1333 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1334 * gst/gstpipeline.h:
1335 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1336 (gst_file_index_commit):
1337 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1338 * testsuite/pad/link.c: (gst_test_src_init),
1339 (gst_test_filter_init), (gst_test_sink_init):
1340 * testsuite/states/locked.c: (main):
1341 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1342 moved bitshift from macro to enum definition
1344 2005-10-12 Wim Taymans <wim@fluendo.com>
1346 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1347 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1348 (gst_file_sink_render):
1349 Some more debugging info.
1351 2005-10-12 Wim Taymans <wim@fluendo.com>
1353 * docs/design/part-states.txt:
1354 * tools/gst-launch.c: (main):
1356 Revert non-intentional change.
1358 2005-10-12 Wim Taymans <wim@fluendo.com>
1360 * check/gst/gstbin.c: (GST_START_TEST):
1361 * check/gst/gstelement.c: (GST_START_TEST):
1362 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1363 * check/gst/gstghostpad.c: (GST_START_TEST):
1364 * check/gst/gstpipeline.c: (GST_START_TEST):
1365 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1366 * check/states/sinks.c: (GST_START_TEST):
1367 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1368 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1369 (gst_bin_remove_func), (gst_bin_get_state_func),
1370 (gst_bin_recalc_state), (gst_bin_change_state_func),
1372 * gst/gstelement.c: (gst_element_get_state_func),
1373 (gst_element_get_state), (gst_element_abort_state),
1374 (gst_element_commit_state), (gst_element_set_state),
1375 (gst_element_change_state), (gst_element_change_state_func):
1377 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1378 (gst_pipeline_provide_clock_func):
1379 * gst/gstutils.c: (gst_element_link_pads_filtered):
1380 * tools/gst-launch.c: (main):
1381 * tools/gst-typefind.c: (main):
1382 Use GstClockTime in _get_state() instead of GTimeVal.
1383 Remove old code in gstutils.c
1385 2005-10-12 Andy Wingo <wingo@pobox.com>
1387 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1390 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1391 there is no task. Shouldn't affect any code, as nothing in our
1392 plugins checks this return value.
1393 (gst_pad_stop_task): Also take the stream lock if the pad has no
1396 2005-10-12 Wim Taymans <wim@fluendo.com>
1398 * gst/gstpad.c: (pre_activate), (post_activate),
1399 (gst_pad_activate_pull), (gst_pad_activate_push):
1400 Cleanup activation code. Reset old state if
1403 2005-10-12 Wim Taymans <wim@fluendo.com>
1405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1406 (gst_base_sink_change_state):
1407 No need to prerol after receiving EOS.
1409 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1410 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1411 * gst/elements/gstidentity.c: (gst_identity_event):
1412 Print events more verbosely.
1414 2005-10-12 Wim Taymans <wim@fluendo.com>
1416 * check/Makefile.am:
1417 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1418 * check/states/sinks2.c:
1419 Moved sinks2 testcode in sinks check.
1421 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1422 (gst_bin_remove_func), (gst_bin_recalc_state),
1423 (gst_bin_change_state_func), (bin_bus_handler):
1424 Fix potential race condition when _get_state() iterated over an
1425 ASYNC element right before it posted a state completion.
1428 Do proper cast here.
1430 * gst/gstevent.c: (gst_event_new_newsegment),
1431 (gst_event_parse_newsegment):
1432 A playback rate of 0.0 is not allowed.
1434 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1436 * win32/common/config.h:
1437 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1438 (_trewinddir), (_ttelldir), (_tseekdir):
1439 * win32/common/dirent.h:
1440 * win32/common/gtchar.h:
1441 * win32/common/libgstbase.def:
1442 * win32/common/libgstreamer.def:
1443 * win32/vs6/grammar.dsp:
1444 * win32/vs6/gst_inspect.dsp:
1445 * win32/vs6/gst_launch.dsp:
1446 * win32/vs6/gstreamer.dsw:
1447 * win32/vs6/libgstbase.dsp:
1448 * win32/vs6/libgstelements.dsp:
1449 * win32/vs6/libgstreamer.dsp:
1450 Visual Studio 6 project files, and a new common directory.
1453 2005-10-11 Wim Taymans <wim@fluendo.com>
1455 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1456 (gst_base_sink_do_sync), (gst_base_sink_query),
1457 (gst_base_sink_change_state):
1458 * gst/base/gstbasesink.h:
1459 Correctly parse newsegment info.
1461 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1463 * gst/gst.c: (init_post):
1464 split plugin paths correctly
1466 2005-10-11 Wim Taymans <wim@fluendo.com>
1468 * check/gst/gstevent.c: (GST_START_TEST):
1469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1470 (gst_base_sink_change_state):
1471 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1472 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1473 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1474 * gst/gstevent.c: (gst_event_new_newsegment),
1475 (gst_event_parse_newsegment):
1477 Added extra flag to newsegment for future API freeze.
1478 Updated check and base elements.
1480 2005-10-11 Julien MOUTTE <julien@moutte.net>
1482 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1483 (gst_collectpads_add_pad), (gst_collectpads_pop),
1484 (gst_collectpads_event), (gst_collectpads_chain):
1485 * gst/base/gstcollectpads.h: Handle EOS correctly.
1487 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1489 * tools/gst-launch.c: (main):
1490 more null protecting
1492 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1494 * gst/gst-i18n-lib.h:
1495 check for ENABLE_NLS, not GETTEXT_PACKAGE
1496 * gst/gstregistry.c: (gst_registry_add_plugin),
1497 (gst_registry_scan_path_level),
1498 (_gst_registry_remove_cache_plugins):
1499 protect possibly NULL strings
1500 * gst/parse/types.h:
1501 config.h already included before
1502 * tools/gst-inspect.c: (main):
1503 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1504 check for ENABLE_NLS, not GETTEXT_PACKAGE
1505 * tools/gst-launch.c: (main):
1506 check for ENABLE_NLS, not GETTEXT_PACKAGE
1508 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1511 if we don't have glib, fail before testing 2.8
1512 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1513 fix a leak, should fix plugins-base testsuite
1515 2005-10-11 Andy Wingo <wingo@pobox.com>
1517 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1518 take the mode we're going to as an arg. Go head and set the mode
1519 and flushing flags now, so that if the activate function starts a
1520 thread all the flags will be in the right state.
1521 (post_activate): Renamed also. Just handle making sure streaming
1522 finishes for the deactivation case, and setting the deactivated
1524 (gst_pad_set_active): Complain loudly if deactivation fails.
1525 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1526 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1527 remove the terrible hack.
1529 2005-10-11 Wim Taymans <wim@fluendo.com>
1531 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1532 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1533 (gst_bin_recalc_state), (gst_bin_change_state_func),
1534 (gst_bin_dispose), (bin_bus_handler):
1536 Prepare to make current EOS message queue more generic.
1539 * gst/gstevent.c: (gst_event_new_newsegment),
1540 (gst_event_parse_newsegment):
1542 Rename base to stream_time.
1547 2005-10-11 Wim Taymans <wim@fluendo.com>
1549 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1550 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1551 (gst_bin_change_state_func), (bin_bus_handler):
1553 Work on proper clock selection.
1555 2005-10-11 Edward Hervey <edward@fluendo.com>
1557 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1558 * libs/gst/controller/gstcontroller.h:
1559 Added GList* version of _remove_properties() in order to be able to wrap
1562 2005-10-11 Wim Taymans <wim@fluendo.com>
1564 * docs/design/part-states.txt:
1567 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1568 (gst_bin_change_state_func), (bin_bus_handler):
1569 Doc updates. Don't distribute the same clock over and over again.
1575 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1576 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1577 (gst_pad_send_event):
1579 Make probe emission threadsafe again.
1580 Register quarks and move _get_name() from utils.
1583 * gst/gstpipeline.c: (gst_pipeline_class_init),
1584 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1585 Only redistribute the clock of it changed.
1587 * gst/gstsystemclock.h:
1592 Moved the _flow_get_name() to GstPad.
1594 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1596 * check/gst-libs/gdp.c: (GST_START_TEST):
1597 * check/gst/gstcaps.c: (GST_START_TEST):
1598 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1599 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1600 (gst_dp_packet_from_caps):
1601 fix more valgrind warnings before turning up the heat
1603 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1605 * gst/parse/grammar.y:
1606 some cleanup before the hacking
1608 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1610 * gst/base/gstbasesrc.c: (gst_base_src_query):
1612 * gst/gstutils.c: (gst_guint64_to_gdouble),
1613 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1615 externalize, basesrc uses it
1616 obviously the implementation needs testing
1618 2005-10-10 Wim Taymans <wim@fluendo.com>
1620 * tests/sched/Makefile.am:
1621 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1622 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1624 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1626 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1627 apparently converting from guint64 to double is not implemented
1630 2005-10-10 Wim Taymans <wim@fluendo.com>
1632 * check/Makefile.am:
1633 * check/generic/states.c: (GST_START_TEST):
1634 * check/gst/gstbin.c: (GST_START_TEST):
1635 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1636 * check/states/sinks.c: (GST_START_TEST):
1637 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1639 Check fixes, use API as stated in design docs, remove hacks.
1641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1642 (gst_base_sink_change_state):
1643 Catch stopping our task while we're shutting down.
1645 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1646 (gst_bin_remove_func), (gst_bin_get_state_func),
1647 (gst_bin_recalc_state), (gst_bin_change_state_func),
1650 * gst/gstelement.c: (gst_element_init),
1651 (gst_element_get_state_func), (gst_element_abort_state),
1652 (gst_element_commit_state), (gst_element_lost_state),
1653 (gst_element_set_state), (gst_element_change_state),
1654 (gst_element_change_state_func):
1656 New state change algorithm (see #318116)
1658 * gst/gstpipeline.c: (gst_pipeline_class_init),
1659 (gst_pipeline_init), (gst_pipeline_set_property),
1660 (gst_pipeline_get_property), (do_pipeline_seek),
1661 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1662 * gst/gstpipeline.h:
1663 Remove crude state change hacks.
1668 * tools/gst-launch.c: (main):
1669 Fixes for state change. Needs some more work to fully use the
1672 2005-10-10 Andy Wingo <wingo@pobox.com>
1674 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1676 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1677 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1680 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1682 * gst/gstiterator.c: (gst_iterator_new):
1683 Fix my previous commit: GTypes passed to gst_iterator_new()
1684 can be fundamental types.
1686 2005-10-10 Wim Taymans <wim@fluendo.com>
1688 * gst/gstelement.c: (gst_element_iterate_pad_list),
1689 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1690 (gst_element_iterate_sink_pads):
1691 Use src/sink pads lists for the respective iterators instead
1694 2005-10-10 Andy Wingo <wingo@pobox.com>
1696 Merged in popt removal + GOption addition patch from Ronald, bug
1699 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1700 GstElement macros around, remove popt-related symbols, add goption
1703 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1705 * docs/gst/Makefile.am:
1706 * docs/libs/Makefile.am: No POPT_CFLAGS.
1708 * examples/manual/Makefile.am:
1709 * docs/manual/basics-init.xml: Doc updates with an example.
1711 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1712 (gst_init), (parse_one_option), (parse_goption_arg):
1713 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1714 bit of hand merging and debugging to get the GOption stuff working
1717 * tests/Makefile.am:
1718 * tools/Makefile.am:
1719 * tools/gst-inspect.c: (main):
1720 * tools/gst-launch.c: (main):
1721 * tools/gst-run.c: (main):
1722 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1724 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1726 * gst/gstiterator.c: (gst_iterator_new):
1727 Add assertions to make sure passed GType is likely to really
1728 be a GType (as the compiler won't catch it if the size and
1729 GType arguments get mixed up, see #318447).
1731 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1733 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1735 * gst/gstbin.c: (gst_bin_iterate_sorted):
1736 Pass GType and size arguments to gst_iterator_new() in the right
1737 order (maybe we should make _new() take the GType as first argument
1738 just like _new_list()?) (#318447).
1741 2005-10-10 Wim Taymans <wim@fluendo.com>
1743 * gst/gstelement.c: (gst_element_finalize):
1744 And free the GStaticRecMutex too
1746 2005-10-10 Andy Wingo <wingo@pobox.com>
1748 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1749 Allocate and free the mutex properly.
1751 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1753 (GstElement): The state_lock is now recursive. Rebuild your
1754 plugins, suckers. Old macros adapted.
1756 * docs/gst/gstreamer-sections.txt: Doc updates.
1759 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1760 (g_static_rec_cond_wait): Ported from state changes patch, while
1761 we wait on bug #317802 to be solved in a well-distributed GLib.
1763 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1764 gst_element_change_state, variable name changes.
1765 (gst_element_change_state): Split out of gst_element_set_state in
1766 preparation for the state change merge. Doesn't pay attention to
1767 the 'transition' argument.
1768 (gst_element_set_state): Updates, hopefully purely cosmetic.
1769 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1771 (gst_element_get_state_func): Renamed from get_state, cosmetic
1774 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1776 * gst/elements/gstelements.c:
1777 * win32/GStreamer.vcproj:
1779 * win32/dirent.c: (_tseekdir):
1780 * win32/gst-inspect.vcproj:
1781 * win32/gst-launch.vcproj:
1782 * win32/gstconfig.h:
1783 * win32/gstelements.vcproj:
1784 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1785 * win32/gstreamer.def:
1787 updates for the win32 build (patch from Sebastien Moutte)
1789 2005-10-10 Andy Wingo <wingo@pobox.com>
1791 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1792 gst_bin_get_state, cleaned up (but no logic changes).
1793 (bin_element_is_sink): Comment updates.
1794 (sink_iterator_filter): Remove needless cast.
1795 (gst_bin_iterate_sinks): Doc update.
1796 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1797 cleaned up (but no logic changes).
1799 * check/states/sinks.c (test_src_sink): Cleanups from the state
1801 (test_livesrc_sink): Sync on the state.
1803 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1804 the state change patch.
1806 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1809 * check/gst/gstbin.c: Merge in some style fixes and additional
1810 checks from Wim's state change patch.
1812 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1814 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1815 (gst_type_find_helper):
1816 Check whether we have the requested data already in our list of
1817 cached buffers before pulling a new buffer; also make the buffer
1818 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1820 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1825 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1826 don't use long long, it's not portable. Replacing with
1827 gint64 seems to work; let's hope no skeletons fall out of the closet.
1829 2005-10-10 Andy Wingo <wingo@pobox.com>
1831 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1833 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1835 * docs/gst/gstreamer-sections.txt:
1840 * gst/gstmessage.c: (gst_message_parse_state_changed):
1843 more docs, fix compilation
1845 2005-10-09 Philippe Khalaf <burger@speedy.org>
1847 Fixed a few forgotten variables on previous commit
1849 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1852 Fix evil typefind crasher: getrange() might return a short
1853 buffer at the end of a file, but gst_type_find_peek() must
1854 either return the full data as requested or NULL, but
1855 never a short buffer.
1857 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1859 * gst/gstmessage.c: (gst_message_new_state_changed),
1860 (gst_message_parse_state_changed):
1862 don't use "new", it's a C++ keyword
1864 2005-10-08 Wim Taymans <wim@fluendo.com>
1866 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1867 * gst/gstelement.c: (gst_element_post_message):
1868 * gst/gstpipeline.c: (gst_pipeline_change_state):
1869 Small docs and debug updates.
1871 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1873 * docs/gst/gstreamer-sections.txt:
1874 * gst/gstelementfactory.c:
1879 2005-10-08 Wim Taymans <wim@fluendo.com>
1881 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1882 (gst_bin_dispose), (bin_bus_handler):
1883 Fix typos, add comments.
1884 Clear EOS list when going to PAUSED from any direction and do it
1885 in a threadsafe way.
1886 Get base time in a threadsafe way too.
1887 Fix confusing debug in the change_state function.
1888 Various other small cleanups.
1890 * gst/gstelement.c: (gst_element_post_message):
1891 Fix very verbose bus posting code.
1893 * gst/gstpipeline.c: (gst_pipeline_class_init),
1894 (gst_pipeline_set_property), (gst_pipeline_get_property),
1895 (gst_pipeline_change_state):
1896 Small ARG_ -> PROP_ cleanup
1898 2005-10-08 Wim Taymans <wim@fluendo.com>
1900 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1901 Do a less CPU demanding EOS check because we can.
1903 2005-10-08 Wim Taymans <wim@fluendo.com>
1905 * libs/gst/dataprotocol/dataprotocol.c:
1906 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1907 (gst_dp_packet_from_event):
1908 * libs/gst/dataprotocol/dataprotocol.h:
1909 * libs/gst/dataprotocol/dp-private.h:
1910 It's about time we bump the version number.
1911 Since event types don't fit in the guint8 anymore describing
1912 the payload type, make payload type 16 bits wide.
1914 2005-10-08 Wim Taymans <wim@fluendo.com>
1916 * docs/design/part-TODO.txt:
1917 * docs/design/part-clocks.txt:
1918 * docs/design/part-events.txt:
1919 * docs/design/part-gstbin.txt:
1920 * docs/design/part-gstelement.txt:
1921 * docs/design/part-gstpipeline.txt:
1922 * docs/design/part-live-source.txt:
1923 * docs/design/part-messages.txt:
1924 * docs/design/part-overview.txt:
1925 * docs/design/part-states.txt:
1928 2005-10-08 Wim Taymans <wim@fluendo.com>
1932 Fix event quark registration.
1933 Add some space between events so we can insert them in the
1936 2005-10-08 Wim Taymans <wim@fluendo.com>
1938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1939 (gst_base_sink_handle_buffer):
1946 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1947 (gst_queue_set_property), (gst_queue_get_property):
1949 Remove old unused properties.
1951 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1952 * docs/gst/gstreamer-sections.txt:
1955 * gst/gstminiobject.c:
1956 * gst/gstminiobject.h:
1960 lots of new docs and doc fixes
1962 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1964 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1966 * gst/gstregistry.c: (gst_registry_lookup_locked),
1967 (gst_registry_scan_path_level):
1968 * gst/gstregistryxml.c: (load_plugin):
1969 Only ever load one plugin for a given plugin basename.
1970 This ensures correct overriding of GST_PLUGIN_PATH over
1971 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1972 system installed plugins.
1974 2005-10-08 Wim Taymans <wim@fluendo.com>
1976 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1977 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1978 Prepare for doing QOS.
1980 2005-10-08 Wim Taymans <wim@fluendo.com>
1982 * check/gst/gstbin.c: (GST_START_TEST):
1983 * check/pipelines/cleanup.c: (GST_START_TEST):
1984 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1985 Allow new clock message too.
1987 2005-10-08 Wim Taymans <wim@fluendo.com>
1989 * gst/gstmessage.c: (gst_message_new_error),
1990 (gst_message_new_warning), (gst_message_new_tag),
1991 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1992 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1993 (gst_message_new_segment_start), (gst_message_new_segment_done),
1994 (gst_message_parse_state_changed),
1995 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1996 (gst_message_parse_new_clock):
1998 Also carry the clock in question.
2000 2005-10-08 Wim Taymans <wim@fluendo.com>
2002 * gst/gstmessage.c: (gst_message_new_custom),
2003 (gst_message_new_eos), (gst_message_new_error),
2004 (gst_message_new_warning), (gst_message_new_tag),
2005 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2006 (gst_message_new_new_clock), (gst_message_new_segment_start),
2007 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2008 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2011 Added clock related messages.
2013 * gst/gstpipeline.c: (gst_pipeline_change_state):
2014 Post message when the clock changed.
2016 * tools/gst-launch.c: (event_loop):
2019 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2021 * tools/gst-inspect.c: (print_element_properties_info):
2022 Can't pass NULL strings to g_print() on windows.
2024 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2027 * docs/gst/Makefile.am:
2028 * docs/gst/gstreamer-docs.sgml:
2029 * docs/gst/running.xml:
2030 * docs/version.entities.in:
2031 add a chapter on running GStreamer.
2032 document GST_DEBUG and GST_PLUGIN* env vars
2034 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2039 remove PLUGINS_BUILDDIR stuff
2040 * gst/gst.c: (init_post):
2041 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2043 remove, it was condescending and not needed
2045 2005-10-08 Wim Taymans <wim@fluendo.com>
2047 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2048 (gst_base_sink_handle_object), (gst_base_sink_event),
2049 (gst_base_sink_wait), (gst_base_sink_handle_event),
2050 (gst_base_sink_change_state):
2051 * gst/base/gstbasesink.h:
2052 Repost EOS message while going to PLAYING if still EOS.
2053 Make sure that when receiving a FLUSH_START we don't attempt
2054 to sync on the clock anymore.
2056 2005-10-08 Wim Taymans <wim@fluendo.com>
2058 * tools/gst-launch.c: (event_loop):
2059 Better message printout.
2061 2005-10-08 Wim Taymans <wim@fluendo.com>
2063 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2064 (gst_bin_child_proxy_get_children_count):
2065 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2066 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2067 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2068 (gst_child_proxy_set_valist):
2069 * gst/parse/grammar.y:
2070 Make ChildProxy threadsafe and fix mem leaks.
2072 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2074 * gst/gst.c: (init_post):
2075 debug the GST_PLUGIN_ env vars
2077 2005-10-08 Wim Taymans <wim@fluendo.com>
2079 * check/gst/gstbin.c: (GST_START_TEST):
2080 * check/gst/gstmessage.c: (GST_START_TEST):
2081 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2082 * gst/gstelement.c: (gst_element_commit_state),
2083 (gst_element_lost_state):
2084 * gst/gstmessage.c: (gst_message_new_state_changed),
2085 (gst_message_parse_state_changed):
2087 * tools/gst-launch.c: (event_loop):
2088 Added extra field to STATE_CHANGE message with the pending
2089 state, which will be different from the new state soon.
2091 2005-10-08 Wim Taymans <wim@fluendo.com>
2093 * gst/gstbus.c: (gst_bus_pop):
2095 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2096 Small cleanups and doc updates.
2098 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2100 * gst/gst.c: (init_pre):
2101 * gst/gstbin.c: (gst_bin_add_func):
2102 log distributing clocks and base time
2103 * gst/gstregistry.c: (gst_registry_add_plugin),
2104 (gst_registry_scan_path_level), (gst_registry_scan_path):
2105 clean up the debugging output a little
2106 * gst/gstutils.c: (gst_element_state_get_name):
2107 warn about a memleak (I've actually seen this be used, though
2108 it was probably a bug)
2110 2005-10-07 Wim Taymans <wim@fluendo.com>
2112 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2113 (gst_base_src_init), (gst_base_src_default_newsegment),
2114 (gst_base_src_newsegment), (gst_base_src_do_seek),
2115 (gst_base_src_loop), (gst_base_src_start):
2116 * gst/base/gstbasesrc.h:
2117 Make the newsegment event customizable by subclasses.
2119 2005-10-07 Wim Taymans <wim@fluendo.com>
2121 * gst/gstevent.c: (gst_event_new_buffersize),
2122 (gst_event_parse_buffersize):
2124 New event for future idea.
2126 2005-10-07 Andy Wingo <wingo@pobox.com>
2128 * gst/gstelement.c (gst_element_post_message): Doc update.
2130 * docs/gst/gstreamer-sections.txt: Update.
2132 * gst/gstmessage.c (gst_message_new_application): Made into a
2133 function like honest API calls.
2134 (gst_message_new_element): New message type.
2136 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2138 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2139 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2142 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2143 NO_PREROLL from gst_element_change_state to fall through.
2145 2005-10-07 Wim Taymans <wim@fluendo.com>
2147 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2148 (gst_ghost_pad_do_activate_push):
2149 Activating a ghostpad with no internal pad in push mode
2152 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2155 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2156 Fixes compilation on Windows.
2158 2005-10-07 Michael Smith <msmith@fluendo.com>
2160 * tools/gst-inspect.c:
2161 Print out feature and plugin count at the end when printing out
2164 2005-10-04 Michael Smith <msmith@fluendo.com>
2166 * gst/gsterror.c: (_gst_stream_errors_init):
2167 Add another error string used in a few existing plugins.
2170 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2171 * tools/gst-inspect.c: (print_element_info):
2172 When a feature disappears from a plugin (and the feature exists in
2173 the cached registry file), things went horribly wrong. This isn't a
2174 complete fix, we should actually be removing the 'missing' features
2175 from the features list when we load the actual plugin. That's not
2178 2005-10-04 Johan Dahlin <johan@gnome.org>
2180 * check/gst/gstiterator.c: (GST_START_TEST):
2181 * gst/gstbin.c: (gst_bin_iterate_elements),
2182 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2183 * gst/gstelement.c: (gst_element_iterate_pads):
2184 * gst/gstformat.c: (gst_format_iterate_definitions):
2185 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2186 (gst_iterator_new_list), (gst_iterator_filter):
2187 * gst/gstiterator.h:
2188 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2189 Add a GType to GstIterator, update callsites and tests.
2191 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2193 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2194 give events a chance to be handled by event probes when the pad
2197 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2199 * gst/gstevent.c: (gst_event_type_get_name),
2200 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2202 add string representations for event types
2204 2005-10-06 Wim Taymans <wim@fluendo.com>
2206 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2207 Don't use NULL pointers.
2209 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2211 * gst/gst_private.h:
2215 * gst/gstpluginfeature.c:
2216 widen the debug category in output to fit the biggest one we have
2217 add a bus category and use it
2218 play with the colors
2219 fix up some categories
2221 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2223 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2224 add push activation of sink ghost pads.
2225 Andye, please verify
2227 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * gst/gstutils.c: (gst_element_link_pads):
2230 fix a bug in the case where neither element has a pad
2231 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2232 add a test for that case
2234 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2236 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2237 emit have-data before checking for peers. This allows
2238 for probe handlers to connect elements. This helps autopluggers.
2239 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2241 add six checks, linked/unlinked with no/true/false probe
2243 2005-10-04 Wim Taymans <wim@fluendo.com>
2245 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2246 (gst_fake_sink_event), (gst_fake_sink_preroll),
2247 (gst_fake_sink_render), (gst_fake_sink_change_state):
2248 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2249 (gst_fake_src_get_property), (gst_fake_src_create),
2250 (gst_fake_src_stop):
2251 * gst/elements/gstidentity.c: (gst_identity_stop):
2252 Protect last_message with lock.
2254 2005-10-04 Edward Hervey <edward@fluendo.com>
2257 Added precision in the comments for GST_FORMAT_DEFAULT
2259 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2261 * tools/gst-launch.c: (main):
2262 Don't try to run erroneous pipelines.
2264 2005-10-04 Julien MOUTTE <julien@moutte.net>
2266 * gst/gstbus.c: We don't need this header.
2268 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2273 === release 0.9.3 ===
2275 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2279 Releasing 0.9.3, "Unregistered"
2281 2005-10-03 Andy Wingo <wingo@pobox.com>
2283 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2284 whereby calling a pad's activatepush() function can start a thread
2285 that starts to push or pull before the pad gets the FLUSHING flag
2286 unset. Hack around it by holding the stream lock until the flag is
2287 set. Need to replace this with a proper solution. Together with
2288 the ghost pad fixes, this fixes mp3 playing/tagreading.
2290 * docs/design/part-gstghostpad.txt: Add a note about activation of
2291 proxy pads outside of ghost pads.
2293 * gst/gstghostpad.c: Implement the ghost pad activation design.
2295 2005-10-02 Andy Wingo <wingo@pobox.com>
2297 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2298 It is volatile, after all.
2300 * docs/design/part-gstghostpad.txt: Flesh out activation with
2303 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2306 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2309 Fix (unused) AM_CONDITIONAL tests.
2311 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2313 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2315 * gst/gstutils.c: (gst_pad_query_convert):
2316 Add assertion that makes sure src_val is >=0, just like
2317 gst_query_new_convert() has. (#315895)
2319 2005-09-30 Edward Hervey <edward@fluendo.com>
2321 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2322 Let's not iterate pads we're not interested in, it avoids getting
2323 sky-high refcounts on sinkpad.
2325 2005-09-30 Wim Taymans <wim@fluendo.com>
2327 * gst/gstelement.c: (gst_element_set_state),
2328 (gst_element_change_state):
2329 Small tweak, element in ASYNC remains ASYNC.
2331 2005-09-30 Wim Taymans <wim@fluendo.com>
2333 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2334 Only error is an error.
2336 * gst/gstbin.c: (gst_bin_change_state):
2339 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2340 Also call pad_block in pad alloc.
2342 * gst/gstutils.c: (gst_flow_get_name):
2345 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2347 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2348 (gst_base_src_get_range):
2349 Fix documentation typos. Add some more debug info.
2351 2005-09-29 David Schleef <ds@schleef.org>
2353 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2354 more end-user friendly.
2355 * tools/gst-inspect.c: (main): Check if command-line argument is
2356 a file and attempt to load that file as a plugin.
2358 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2360 * check/gst/gstbin.c:
2361 * check/states/sinks.c:
2362 fix tests for the new warning
2363 * check/gst/gstpipeline.c:
2364 add a test for pipeline and bus interaction
2366 elements should be NULL if they get disposed; add a warning if not
2368 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2371 for 2.6 refcounting, make debug log more correct by printing
2372 the actual refcounts at the time of swap (Wim)
2374 2005-09-29 Andy Wingo <wingo@pobox.com>
2376 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2377 removes signal watches previously added via
2378 gst_bus_add_signal_watch.
2379 (gst_bus_add_signal_watch): Don't return the source id, just store
2380 it on the bus if there wasn't an id already.
2382 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2383 add_signal_watch and remove_signal_watch.
2385 2005-09-29 Edward Hervey <edward@fluendo.com>
2387 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2388 Better if we actually iterate the list :)
2390 2005-09-29 Wim Taymans <wim@fluendo.com>
2392 * check/gst/gstbin.c: (GST_START_TEST):
2393 Change for new bus API.
2395 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2396 (send_messages), (GST_START_TEST), (gstbus_suite):
2397 Change for new bus signal API.
2399 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2400 (gst_bus_source_prepare), (gst_bus_source_check),
2401 (gst_bus_create_watch), (gst_bus_add_watch_full),
2402 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2403 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2405 Remove support for multiple GSources operating on different
2406 message types as it is too complex and unneeded when using
2408 Added support for receiving signals from the bus.
2410 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2412 * docs/libs/tmpl/gstdataprotocol.sgml:
2413 * docs/manual/advanced-dataaccess.xml:
2414 * gst/elements/gstcapsfilter.c:
2416 rename filter-caps to caps property
2418 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2420 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2421 More robust fraction string parsing.
2423 * docs/pwg/appendix-porting.xml:
2424 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2426 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2428 * gst/gstcaps.c: (gst_caps_do_simplify):
2429 Thou shalt not free a structure and then continue using it
2430 in the next loop iteration.
2432 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2434 Add test case for caps simplification.
2436 2005-09-29 Wim Taymans <wim@fluendo.com>
2438 * check/gst/gstbin.c: (GST_START_TEST):
2441 2005-09-29 Wim Taymans <wim@fluendo.com>
2443 * check/gst/gstbin.c: (GST_START_TEST):
2446 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2447 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2448 (find_element), (gst_bin_sort_iterator_next),
2449 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2450 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2451 (gst_bin_change_state), (gst_bin_dispose):
2452 A bin does not have a bus, it gets the bus from the parent.
2454 * gst/gstelement.c: (gst_element_requires_clock),
2455 (gst_element_provides_clock), (gst_element_is_indexable),
2456 (gst_element_is_locked_state), (gst_element_change_state),
2457 (gst_element_set_bus_func):
2460 * gst/gstpipeline.c: (gst_pipeline_class_init),
2461 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2462 The pipeline provides a bus.
2464 2005-09-28 Johan Dahlin <johan@gnome.org>
2466 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2467 gst_structure_get_enum instead of gst_structure_get_int
2469 * gst/gststructure.c (gst_structure_get_enum): Impl.
2471 * gst/gststructure.h (gst_structure_get_enum): Add
2473 * docs/gst/gstreamer-sections.txt: Ditto
2475 * gst/gstmessage.c (gst_message_new_state_changed): Use
2476 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2477 which does introspection.
2478 Reviewed by Christian Schaller
2480 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2482 * gst/gstinfo.c: (gst_debug_log_default):
2483 don't do dummy g_strdup()s
2484 * libs/gst/controller/gstcontroller.c:
2485 (on_object_controlled_property_changed),
2486 (gst_controlled_property_new), (gst_controller_new_valist),
2487 (gst_controller_new_list),
2488 (gst_controller_remove_properties_valist), (gst_controller_set),
2489 (gst_controller_get), (gst_controller_sync_values),
2490 (gst_controller_get_value_array), (_gst_controller_class_init),
2491 (gst_controller_get_type):
2492 * libs/gst/controller/gstcontroller.h:
2493 * libs/gst/controller/gstinterpolation.c:
2494 (gst_controlled_property_find_timed_value_node):
2495 convert // to /**/ comments
2497 2005-09-28 Wim Taymans <wim@fluendo.com>
2499 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2500 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2501 (gst_bus_sync_signal_handler):
2503 Added async-message and sync-message signals to the bus.
2504 Added helper BusFunc to emit signals for all posted messages.
2506 * gst/gstmessage.c: (gst_message_type_get_name),
2507 (gst_message_type_to_quark), (gst_message_get_type):
2509 Register quarks for message names.
2511 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2513 * docs/libs/gstreamer-libs-sections.txt:
2514 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2515 (gst_controller_new_list):
2516 * libs/gst/controller/gstcontroller.h:
2517 added another constructor for language bindings
2519 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2521 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2525 * gst/gstinfo.c: (_gst_debug_init):
2526 slightly more readable color for refcount debugging
2528 2005-09-28 Wim Taymans <wim@fluendo.com>
2530 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2531 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2532 (find_element), (gst_bin_sort_iterator_next),
2533 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2534 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2535 (gst_bin_change_state), (gst_bin_dispose):
2536 Small doc fixes. get_clock -> provide_clock.
2538 * gst/gstelement.c: (gst_element_class_init),
2539 (gst_element_provides_clock), (gst_element_provide_clock),
2540 (gst_element_get_clock), (gst_element_commit_state),
2541 (gst_element_lost_state):
2543 Make get/set_clock() symetric. Add provide_clock vmethod since
2544 that is actually what this function does.
2546 * gst/gstpipeline.c: (gst_pipeline_class_init),
2547 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2548 (gst_pipeline_get_clock):
2549 get_clock -> provide_clock.
2551 2005-09-28 Andy Wingo <wingo@pobox.com>
2553 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2554 lieu of real docs...
2556 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2558 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2560 * gst/elements/gstcapsfilter.c:
2561 * gst/elements/gstfakesink.c:
2562 * gst/elements/gstfakesrc.c:
2563 * gst/elements/gstfdsink.c:
2564 * gst/elements/gstfdsrc.c:
2565 * gst/elements/gstfilesink.c:
2566 * gst/elements/gstfilesrc.c:
2567 * gst/elements/gstidentity.c:
2568 * gst/elements/gsttee.c:
2569 * gst/elements/gsttypefindelement.c:
2570 Make element details static.
2572 2005-09-28 Wim Taymans <wim@fluendo.com>
2574 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2575 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2576 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2577 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2578 (gst_bin_change_state), (gst_bin_dispose):
2579 Some documentation updates.
2580 Clean up dispose handlers.
2582 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2583 * gst/gstpad.c: (gst_pad_dispose):
2584 Clean up dispose handler.
2586 * gst/gstpipeline.c: (gst_pipeline_change_state):
2587 Removed spurious UNLOCK.
2589 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2591 * docs/gst/gstreamer-sections.txt:
2592 * gst/base/gstbasesrc.h:
2597 * gst/gstpipeline.c:
2598 * gst/gstpipeline.h:
2601 added two new functions to the docs
2602 documents all undocumented GstXXXFlags
2603 completed some incomplete docs
2605 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2607 * gst/gstbin.c: (gst_bin_dispose):
2608 * gst/gstelement.c: (gst_element_dispose):
2609 remove now useless and leaky resurrection code in dispose
2610 * gst/base/gstbasesrc.c: (gst_base_src_init):
2611 * gst/gstelementfactory.c: (gst_element_factory_create):
2612 * gst/gstobject.c: (gst_object_set_parent):
2615 2005-09-27 Wim Taymans <wim@fluendo.com>
2617 * docs/design/part-TODO.txt:
2620 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2621 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2622 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2623 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2624 (gst_bin_change_state):
2626 Remove element variable, we keep element info in the iterator now.
2628 2005-09-27 Andy Wingo <wingo@pobox.com>
2630 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2633 2005-09-27 Wim Taymans <wim@fluendo.com>
2635 * check/gst/gstbin.c: (GST_START_TEST):
2636 Enable check that works now.
2638 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2639 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2640 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2641 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2642 (gst_bin_change_state):
2644 Redid the state change algorithm using a topological sort algo.
2645 Handles all cases correctly.
2646 Exposed iterator for state change order.
2649 Temp storage for state changes. Need to get rid of this soon.
2651 2005-09-27 Wim Taymans <wim@fluendo.com>
2653 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2654 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2655 (link_fold_func), (gst_pad_proxy_setcaps):
2656 Leak fixes, the fold functions need to unref the passed object and
2657 _get_parent_*() returns ref to parent.
2659 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2661 * check/gst/gstbuffer.c: (test_make_writable):
2662 Plug leak in test case and fix 'make check-valgrind'
2664 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2666 * gst/gstbuffer.c: (gst_subbuffer_init):
2667 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2668 works correctly in all circumstances (we could have just copied
2669 the parent buffer's readonly flag, but conceptually it seems
2670 cleaner to mark all subbuffers as read-only). (based on patch
2671 by Alessandro Decina, #314710).
2673 * check/gst/gstbuffer.c: (create_read_only_buffer),
2674 (test_make_writable), (test_subbuffer_make_writable),
2676 Add some tests for gst_buffer_make_writable().
2678 2005-09-27 Wim Taymans <wim@fluendo.com>
2680 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2681 use gst_object_has_ancestor().
2683 * gst/gstobject.c: (gst_object_has_ancestor):
2685 gst_object_has_ancestor() copied from gstbin.c as it is a
2688 * tests/instantiate/create.c: (create_all_elements):
2689 * tests/lat.c: (handoff_src), (handoff_sink):
2690 * tests/sched/runxml.c: (main):
2691 * tests/seeking/seeking1.c: (main):
2692 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2694 Fix compilation of some tests.
2696 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2699 Remove comment. GST_TYPE_G_ERROR is here to stay,
2700 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2703 2005-09-26 Wim Taymans <wim@fluendo.com>
2705 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2706 Added check that shows error in state change order.
2708 2005-09-26 Wim Taymans <wim@fluendo.com>
2710 * gst/gstbin.c: (gst_bin_change_state):
2711 Make state change function use 3 queues again, we were
2712 adding elements in the wrong order.
2714 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2717 * gst/gstpad.c: (gst_pad_dispose):
2718 Added some debug info first.
2720 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2722 * docs/design/draft-push-pull.txt:
2723 * docs/design/part-events.txt:
2724 * docs/design/part-overview.txt:
2725 * docs/design/part-scheduling.txt:
2726 Replace all _pull_region() with _pull_range()
2728 2005-09-26 Andy Wingo <wingo@pobox.com>
2730 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2732 * check/gst-libs/controller.c: Update for controller api change.
2735 * tests/Makefile.am:
2736 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2737 over by GLib bug 118439.
2739 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2740 routines to a function.
2742 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2744 * libs/gst/controller/gsthelper.c:
2745 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2746 (gst_object_sync_values): Renamed from sink_values. Ugh.
2748 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2750 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2751 Renamed from controller_key, as it is exported.
2753 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2755 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2760 * gst/gstpadtemplate.h:
2763 * gst/gstqueryutils.c:
2764 * gst/gstqueryutils.h:
2765 remove queryutils headers after moving the two used functions
2766 to gstquery. also fixes build problem for gstsiddec
2768 2005-09-26 Michael Smith <msmith@fluendo.com>
2770 * tools/gst-launch.1.in:
2771 Correct documentation in manpage of debug syntax
2773 2005-09-26 Wim Taymans <wim@fluendo.com>
2775 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2776 (gst_base_src_is_seekable), (gst_base_src_change_state):
2777 Some more debugging info.
2779 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2781 * docs/gst/gstreamer-sections.txt:
2782 * gst/base/gstbasetransform.h:
2786 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2788 * docs/gst/.cvsignore:
2789 * docs/gst/tmpl/.cvsignore:
2790 * docs/gst/tmpl/gstpipeline.sgml:
2791 * docs/gst/tmpl/gstplugin.sgml:
2792 * gst/gstpipeline.c:
2795 inlined the last two docs files
2796 removed the tmpl directory from cvs (no more conflicts here!)
2798 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2800 * docs/gst/gstreamer-sections.txt:
2801 * docs/gst/tmpl/.cvsignore:
2802 * docs/gst/tmpl/gstpad.sgml:
2803 * docs/gst/tmpl/gstpadtemplate.sgml:
2805 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2806 (gst_pad_finalize), (gst_pad_set_pad_template):
2808 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2809 (gst_pad_template_class_init), (gst_pad_template_init),
2810 (gst_pad_template_dispose), (name_is_valid),
2811 (gst_static_pad_template_get), (gst_pad_template_new),
2812 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2813 (gst_pad_template_pad_created):
2814 * gst/gstpadtemplate.h:
2815 inlined two more docs
2816 factored gstpadtemplate out of gstpad
2818 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2820 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2821 (test_children_state_change_order_semi_sink):
2822 Fix test case: we can't rely on a fixed state change order when
2823 going from READY => PAUSED because the sink might commit its
2824 new state first when the first buffer created by the source
2825 reaches the sink before the source has finished its change state.
2826 (Test case still fails at times, see #316856, comment 5 onwards)
2828 2005-09-24 Wim Taymans <wim@fluendo.com>
2830 * docs/design/part-events.txt:
2831 * docs/design/part-gstbus.txt:
2832 * docs/design/part-gstpipeline.txt:
2833 * docs/design/part-messages.txt:
2834 * docs/design/part-overview.txt:
2835 * docs/design/part-segments.txt:
2842 * gst/gstiterator.c:
2843 Various documentation updates.
2845 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2848 Well, that's embarassing. Luckily we weren't using
2849 GST_CLOCK_DIFF anywhere.
2851 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2853 * common/gtk-doc.mak:
2854 don't fail on building XML, FC4 slave shows a bunch of doc
2855 missing bits that I don't get
2857 * gst/gstpipeline.c:
2858 * gst/gststructure.c:
2861 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2863 * docs/design/part-gstbin.txt:
2864 * docs/design/part-gstbus.txt:
2866 Add blurb about how the bus goes into flushing mode and
2867 drops all messages when its bin goes from READY into NULL
2870 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2872 * docs/gst/gstreamer-sections.txt:
2873 * gst/gststructure.c: (gst_structure_get_clock_time):
2874 * gst/gststructure.h:
2875 add a method to get a GstClockTime out of a structure
2877 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2879 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2880 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2881 Added test to check state change order in bins (can still be made
2882 to fail here under heavy disk load; bails out with 'Push on pad
2883 fakesink:sink0, but it was not activated in push mode').
2885 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2886 Fix state change order when there is only a semi sink (#316856)
2888 * gst/gstbus.c: (gst_bus_class_init):
2889 Use _class_peek_parent(), not _class_ref(); fix docs to say
2890 'default main context' instead of 'mainloop' where that is
2893 * gst/gstelement.c: (gst_element_commit_state),
2894 (gst_element_set_state):
2895 Fix typos in debug messages
2897 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2900 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2901 * gst/gstpluginfeature.c:
2904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2905 change an assert into an error until it gets fixed properly
2907 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2909 * docs/gst/gstreamer-sections.txt:
2910 * docs/gst/tmpl/.cvsignore:
2911 * docs/gst/tmpl/gstelement.sgml:
2912 * docs/gst/tmpl/gstinfo.sgml:
2913 * docs/gst/tmpl/gstobject.sgml:
2918 * gst/gstobject.c: (gst_object_class_init):
2920 inlined 3 more biiiig doc files and added some missing docs on the fly
2922 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2924 * check/gst/.cvsignore:
2925 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2926 * gst/gstregistryxml.c: (load_plugin),
2927 (gst_registry_xml_save_plugin):
2928 put back source in registry. add checks for find_plugin.
2929 * testsuite/states/bin.c: (assert_state), (empty_bin),
2930 (test_adding_one_element), (main):
2931 * testsuite/states/locked.c: (main):
2932 some compile/run fixes
2934 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * check/gst/gstvalue.c: (GST_START_TEST):
2937 fix leaks in the test itself
2939 2005-09-22 Wim Taymans <wim@fluendo.com>
2941 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2942 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2943 (gst_base_sink_query):
2944 Prepare for more accurate position reporting and query
2947 * gst/gstelement.c: (gst_element_send_event),
2948 (gst_element_set_state):
2951 2005-09-22 Wim Taymans <wim@fluendo.com>
2953 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2954 (gst_query_parse_segment):
2957 Add segment query for future use.
2959 2005-09-22 Wim Taymans <wim@fluendo.com>
2961 * gst/gstbin.c: (gst_bin_add_func):
2962 Some more debug info.
2964 * gst/gstelement.c: (gst_element_send_event):
2968 Don't know how flags got broken.
2973 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2975 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2976 Add simplistic test suite for GST_TYPE_DATE serialisation and
2979 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2981 * docs/gst/gstreamer-sections.txt:
2982 * gst/gststructure.c: (gst_structure_set_valist),
2983 (gst_structure_get_date):
2984 * gst/gststructure.h:
2985 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2986 (gst_date_copy), (gst_value_compare_date),
2987 (gst_value_serialize_date), (gst_value_deserialize_date),
2988 (gst_value_transform_date_string),
2989 (gst_value_transform_string_date), (_gst_value_initialize):
2991 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2992 bunch of utility functions along with a hack that checks that
2993 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2994 is required. Part of the grand scheme in #170777.
2996 2005-09-22 Andy Wingo <wingo@pobox.com>
2998 * gst/gstconfig.h.in: Psych out gtk-doc.
3000 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3002 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3004 * tools/gst-inspect.c (print_element_list): Plug some
3005 inconsequential leaks.
3007 * gst/gstregistry.c (gst_registry_get_default): Doc.
3009 * check/gst/gstplugin.c:
3010 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3011 * gst/gstelementfactory.c (gst_element_factory_create):
3012 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3015 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3016 (gst_plugin_feature_load): Doc, don't eat refs.
3018 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3019 (gst_plugin_list_free): Doc.
3020 (gst_plugin_load_file): Doc updates.
3022 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3023 accessors returning refcounted objects, return a ref.
3025 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3026 accessor for caps. IDEMPOTENCE. Oh yes.
3028 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3030 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3032 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3033 (_gst_debug_register_funcptr):
3034 Add mutex to serialise access to the hash table with
3035 the function pointer => function name string mapping;
3036 make that hash table static scope (#316809).
3038 * gst/registries/.cvsignore:
3039 Remove left-over file.
3041 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3043 * docs/pwg/appendix-porting.xml:
3044 And something about newsegment events and caps-on-buffers to
3045 the porting guide (feel free to improve).
3047 2005-09-21 Andy Wingo <wingo@pobox.com>
3049 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3050 data and event probes on the same pad.
3051 (test_buffer_probe_once): Test that removing probes from within
3052 the probe functions works.
3054 2005-09-21 Andy Wingo <wingo@pobox.com>
3056 * check/gst/gstutils.c: New file.
3057 (test_buffer_probe_n_times): A simple buffer probe test. More to
3060 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3061 have-data::buffer, not have-data.
3062 (gst_pad_add_event_probe): Likewise for have-data::event.
3063 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3064 peer' isn't quite right yet though.
3065 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3066 (gst_pad_remove_data_probe): Change to take the guint handler_id
3067 as their arg, not the function+data, which is more glib-like.
3069 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3070 the signal emission to indicate if the data is a buffer or an
3072 (gst_pad_get_type): Initialize buffer and event quarks.
3073 (gst_pad_class_init): have-data is now a detailed signal, yes it
3076 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3078 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3079 * gst/gstutils.c: (gst_util_set_value_from_string),
3080 (gst_util_set_object_arg):
3081 Don't put functional code in g_return_if_fail() or
3082 g_return_val_if_fail() statements, otherwise things will
3083 break when G_DISABLE_CHECKS is defined during compilation.
3085 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3087 * docs/gst/tmpl/.cvsignore:
3088 * docs/gst/tmpl/gstvalue.sgml:
3091 inlied another one and added some obvious docs
3093 2005-09-21 Wim Taymans <wim@fluendo.com>
3095 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3096 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3097 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3098 (gst_fdsrc_get_property), (gst_fdsrc_create):
3099 * gst/elements/gstfdsrc.h:
3100 Properly implement fdsrc. Removed signal and timeout,
3101 better implemented somewhere else.
3103 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3105 * docs/gst/tmpl/.cvsignore:
3106 * docs/gst/tmpl/gstimplementsinterface.sgml:
3107 * gst/gstinterface.c:
3110 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3112 * docs/gst/gstreamer-sections.txt:
3113 * docs/gst/tmpl/.cvsignore:
3114 * docs/gst/tmpl/gstenumtypes.sgml:
3115 remove obsolete doc file
3117 2005-09-21 David Schleef <ds@schleef.org>
3119 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3120 little beer, fix a little leak.
3122 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3124 * docs/gst/gstreamer-docs.sgml:
3125 * docs/gst/gstreamer-sections.txt:
3126 * docs/gst/tmpl/.cvsignore:
3131 * gst/gstindex.c: (gst_index_class_init):
3133 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3134 (gst_index_factory_class_init), (gst_index_factory_init),
3135 (gst_index_factory_finalize), (gst_index_factory_new),
3136 (gst_index_factory_destroy), (gst_index_factory_find),
3137 (gst_index_factory_create), (gst_index_factory_make):
3138 * gst/gstindexfactory.h:
3139 * gst/gstpluginfeature.c:
3140 * gst/gstpluginfeature.h:
3141 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3142 more docs inlined, splitted gstindex.{c,h}
3144 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3146 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3149 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3151 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3152 Set sync to FALSE by default.
3154 2005-09-20 Wim Taymans <wim@fluendo.com>
3156 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3157 (gst_base_sink_init):
3158 Make sync property settable from subclass.
3160 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3161 (gst_fake_sink_change_state):
3162 Set sync to FALSE by default.
3164 2005-09-20 Wim Taymans <wim@fluendo.com>
3166 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3167 * tools/gst-launch.c: (main):
3168 The timeout handler should have lower priority than the source
3169 so we don't timeout before popping a message with 0 timeout.
3170 Dump error messages after failed state change.
3172 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3174 * tools/gst-inspect.c: (print_element_properties_info):
3177 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3179 * check/gst/gstevent.c:
3180 * gst/elements/gstfakesink.c:
3181 * gst/elements/gstfakesink.h:
3182 remove the sync property from fakesink.
3183 has the side effect of setting sync TRUE
3184 for fakesink, which is a change. Anyone who knows how
3185 to fix this nicely in a GObject-y way, feel free.
3187 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3189 * docs/gst/gstreamer-docs.sgml:
3190 remove probe refsection
3192 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3194 * check/Makefile.am:
3195 disable valgrinding the controller test again
3196 * docs/gst/gstreamer-sections.txt:
3197 update for api-changes
3199 2005-09-20 Wim Taymans <wim@fluendo.com>
3201 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3202 (gst_base_sink_set_property), (gst_base_sink_get_property),
3203 (gst_base_sink_do_sync):
3204 * gst/base/gstbasesink.h:
3205 Added sync property to basesink to disable clock sync.
3207 2005-09-20 Andy Wingo <wingo@pobox.com>
3209 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3210 eating the caller's refcount.
3212 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3213 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3216 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3217 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3218 of GLib 2.8 public, so we can know which refcount to check in
3221 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3222 (gst_object_init): Only set the gst refcount if we're going ahead
3223 with the refcount hack.
3225 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3227 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3228 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3229 more leaks plumbed, added more debug-logging
3233 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3236 remove include of gstmemchunk.h
3238 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3240 * gst/gstclock.c: (_gst_clock_id_free):
3241 Commit from the Political Party For More Atomic CVS Commits,
3242 so that people don't waste too much of their day fishing
3243 out obvious leaks out of massive commits.
3244 Oh, and fix a pretty damn obvious leak in the memchunk
3247 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3249 * check/Makefile.am:
3250 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3251 plug mem-leak, re-add to valgrindable tests
3253 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3256 unbreak the build for those who have chronic arthritis
3257 and typing "make check" is just too taxing on the hands
3259 2005-09-20 Andy Wingo <wingo@pobox.com>
3261 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3262 really want it out, you should fix plugins at the same time.
3264 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3267 * docs/gst/gstreamer-sections.txt:
3269 added missing symbols to api docs
3270 disable ref-count hack if we have glib >= 2.8
3272 2005-09-19 David Schleef <ds@schleef.org>
3274 * docs/gst/Makefile.am: Ignore a few more internal headers
3275 * docs/gst/gstreamer-docs.sgml: Remove old sections
3276 * docs/gst/gstreamer-sections.txt: Remove old sections
3277 * docs/gst/tmpl/gstobject.sgml: update
3278 * docs/gst/tmpl/gstplugin.sgml: update
3279 * docs/gst/tmpl/gstpluginfeature.sgml: update
3280 * docs/random/ds/0.9-suggested-changes: update.
3281 * gst/Makefile.am: remove memchunk and trashstack, since they're
3283 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3284 * gst/gst.h: don't include some headers
3285 * gst/gstchildproxy.c: add gstmarshal.h
3286 * gst/gstclock.c: Don't use memchunks
3287 * gst/gstminiobject.c: Add some docs
3288 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3289 * gst/gstobject.h: same
3290 * gst/gstplugin.c: include gstmacros.h
3291 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3292 * gst/gstquery.c: don't use memchunks
3293 * gst/gstregistry.c: rename gst_registry_deinit()
3294 * gst/gstregistry.h: same
3296 2005-09-19 David Schleef <ds@schleef.org>
3298 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3299 * docs/libs/gstreamer-libs-sections.txt:
3300 * docs/libs/tmpl/gstgetbits.sgml:
3301 * docs/libs/tmpl/gstputbits.sgml:
3303 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3305 * win32/gstenumtypes.c:
3306 * win32/gstenumtypes.h:
3309 2005-09-19 Wim Taymans <wim@fluendo.com>
3311 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3312 Automatically PAUSE and RESUME a pipeline when a flushing seek
3315 2005-09-19 Andy Wingo <wingo@pobox.com>
3317 * gst/gstregistry.h: Spacing fixen.
3319 2005-09-19 Wim Taymans <wim@fluendo.com>
3321 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3322 Handle state change failure more correctly.
3324 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3326 * check/Makefile.am:
3327 * check/pipelines/cleanup.c: (run_pipeline):
3328 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3330 enable cleanup again after fixing the leak
3332 some more info on docs
3334 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3336 * check/Makefile.am:
3337 re-enable tests now that leaks are plugged
3339 * check/gst/gstbin.c:
3340 * check/gst/gstpipeline.c:
3341 add some more tests while fixing leaks
3343 make sure binaries are uptodate when valgrinding/gdbing
3345 * gst/gstelementfactory.c:
3346 remove a ref too many, and add a FIXME for when we get
3347 round to disposing of classes
3349 fix the refcounting when loading a plugin from a file and
3350 the code pretends that the pointer is the same even though
3351 of course it can change
3352 * gst/gstpluginfeature.c:
3353 unref plugins marked cached (a bit confusing as a name)
3354 as the docs state should be done
3355 various doc additions to explain refcounting
3356 * gst/gstregistry.c:
3357 * gst/gstregistryxml.c:
3360 2005-09-19 Wim Taymans <wim@fluendo.com>
3362 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3363 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3364 (send_messages), (GST_START_TEST), (gstbus_suite):
3365 * check/gst/gstpipeline.c: (GST_START_TEST):
3366 * check/pipelines/cleanup.c: (run_pipeline):
3367 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3369 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3370 (gst_bus_source_check), (gst_bus_source_dispatch),
3371 (gst_bus_create_watch), (gst_bus_add_watch_full),
3372 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3374 * tools/gst-launch.c: (event_loop):
3375 * tools/gst-md5sum.c: (event_loop):
3376 GstBusHandler -> GstBusFunc, return value has the same meaning as
3377 any other GSource (FALSE == remove source).
3378 _add_watch() and _add_watch_full() now take a MessageType mask to
3379 only handle specific types of messages.
3380 _poll() returns the GstMessage instead of the message type to avoid
3382 _have_pending() takes a MessageType mask now too.
3383 Added testsuite for multiple bus watches.
3384 Fix testsuites and applications for new bus API.
3386 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3388 * check/Makefile.am:
3389 mark a bunch of the tests as to fix until we fix them
3391 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3394 use GST_PLUGIN settings for valgrind tests as well, so we're
3395 valgrinding the correct thing
3396 * gst/gst.c: (init_post):
3399 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3401 * gst/gst.c: (init_post), (gst_deinit):
3402 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3403 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3404 * gst/gstindex.c: (gst_index_factory_class_init),
3405 (gst_index_factory_finalize):
3406 * gst/gstobject.c: (gst_object_dispose):
3407 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3408 (gst_plugin_load_file), (gst_plugin_desc_free):
3409 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3410 (gst_plugin_feature_finalize):
3411 * gst/gstregistry.c: (gst_registry_class_init),
3412 (gst_registry_init), (gst_registry_finalize),
3413 (gst_registry_get_default), (gst_registry_deinit):
3414 * gst/gstregistry.h:
3415 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3416 various cleanups and memleak plugging. make valgrind is happy now.
3418 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3421 add a check-valgrind target
3423 2005-09-18 David Schleef <ds@schleef.org>
3425 * tools/gst-inspect.c: Revert the GOption code.
3427 2005-09-17 David Schleef <ds@schleef.org>
3429 * check/Makefile.am: Fix environment variables.
3430 * check/gst/gstplugin.c: Fix for API changes.
3431 * tools/gst-inspect.c: Fix for API changes.
3432 * tools/gst-xmlinspect.c: Fix for API changes.
3433 * gst/gstelementfactory.c:
3436 * gst/gstpluginfeature.c:
3437 * gst/gstpluginfeature.h:
3438 * gst/gstregistry.c:
3439 * gst/gstregistry.h:
3440 * gst/gstregistryxml.c:
3441 * gst/gsttypefind.c:
3442 * gst/gsttypefindfactory.c:
3443 * gst/indexers/gstfileindex.c:
3444 * gst/indexers/gstmemindex.c:
3445 * gst/schedulers/Makefile.am:
3446 Change registry to keep track of both plugins and features,
3447 removing the feature tracking from plugins themselves.
3449 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3451 * check/Makefile.am:
3452 * tools/gst-register.1.in:
3455 2005-09-15 David Schleef <ds@schleef.org>
3457 * check/gst/gstplugin.c:
3458 * gst/gstelementfactory.c:
3460 * gst/gstpluginfeature.c:
3461 * gst/gstregistry.c:
3462 Getting tired of debugging. Disabled all the unreffing of
3463 plugins and features, which fixes the segfaults, but of
3464 course leaks like crazy. At least playbin works.
3466 2005-09-15 David Schleef <ds@schleef.org>
3468 * check/gst/gstplugin.c: (register_check_elements),
3469 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3471 * gst/elements/gsttypefindelement.c: Fix refcounting.
3472 * gst/gsttypefind.c:
3473 * gst/gsttypefindfactory.c:
3474 * gst/gsttypefindfactory.h:
3476 2005-09-15 David Schleef <ds@schleef.org>
3478 * gst/gstindex.c: get refcounting correct.
3479 * gst/gstregistry.c: Handle the case where a feature/plugin is
3482 2005-09-15 David Schleef <ds@schleef.org>
3484 * check/Makefile.am:
3485 * check/gst/gstplugin.c: Add test
3486 * gst/gstplugin.c: Fix problems noticed by testsuite
3488 * gst/gstregistry.c:
3489 * gst/gstregistry.h:
3491 2005-09-15 David Schleef <ds@schleef.org>
3493 * gst/gstplugin.c: Implement semi-decent recounting and locking
3494 in plugins and plugin features.
3496 * gst/gstpluginfeature.c:
3497 * gst/gstpluginfeature.h:
3498 * gst/gstregistry.c:
3500 2005-09-15 Michael Smith <msmith@fluendo.com>
3502 * gst/gstregistry.c: (gst_registry_get_feature_list):
3503 Implement this. Makes oggdemux work; decodebin still broken.
3505 2005-09-14 David Schleef <ds@schleef.org>
3507 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3509 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3510 * gst/check/Makefile.am:
3511 * libs/gst/controller/Makefile.am:
3512 * libs/gst/dataprotocol/Makefile.am:
3514 2005-09-14 David Schleef <ds@schleef.org>
3516 * configure.ac: Remove getbits library. Nothing uses it, and
3517 it should be in something like liboil if someone did want
3519 * libs/gst/Makefile.am:
3520 * libs/gst/getbits/Makefile.am:
3521 * libs/gst/getbits/gbtest.c:
3522 * libs/gst/getbits/getbits.c:
3523 * libs/gst/getbits/getbits.h:
3524 * libs/gst/getbits/gstgetbits_generic.c:
3525 * libs/gst/getbits/gstgetbits_i386.s:
3526 * libs/gst/getbits/gstgetbits_inl.h:
3528 2005-09-14 David Schleef <ds@schleef.org>
3530 * gst/Makefile.am: Dist glib-compat.h
3532 2005-09-14 David Schleef <ds@schleef.org>
3534 * configure.ac: Remove gst/registries, since it's no longer used.
3535 * gst/registries/Makefile.am:
3536 * gst/registries/gstlibxmlregistry.c:
3537 * gst/registries/gstlibxmlregistry.h:
3538 * gst/registries/gstxmlregistry.c:
3539 * gst/registries/gstxmlregistry.h:
3540 * gst/registries/registrytest.c:
3542 2005-09-14 David Schleef <ds@schleef.org>
3544 * gst/glib-compat.h:
3545 * gst/gstregistryxml.c:
3546 Convergence is near. Seriously.
3548 2005-09-14 David Schleef <ds@schleef.org>
3550 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3551 * gst/glib-compat.h:
3552 Attempt #4 to appease the buildbots.
3554 2005-09-14 David Schleef <ds@schleef.org>
3556 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3559 2005-09-14 David Schleef <ds@schleef.org>
3561 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3564 2005-09-14 David Schleef <ds@schleef.org>
3566 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3569 2005-09-14 David Schleef <ds@schleef.org>
3571 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3572 * gst/glib-compat.h: Add some functions that are in newer versions
3573 of glib than we care to require.
3574 * gst/gstregistryxml.c: Use them.
3576 2005-09-14 David Schleef <ds@schleef.org>
3578 * po/POTFILES.in: remove gst-register.c
3580 2005-09-14 David Schleef <ds@schleef.org>
3582 * docs/gst/gstreamer-docs.sgml:
3583 * docs/gst/gstreamer-sections.txt:
3584 * docs/gst/gstreamer.types:
3585 * docs/gst/tmpl/gstelement.sgml:
3586 * docs/gst/tmpl/gstplugin.sgml:
3587 * docs/gst/tmpl/gstpluginfeature.sgml:
3588 Documentation updates for registry changes.
3590 2005-09-14 David Schleef <ds@schleef.org>
3592 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3593 because we don't require glib-2.8.
3595 2005-09-14 David Schleef <ds@schleef.org>
3597 * gst/gstregistryxml.c: Added. Essentially moved out of the
3598 registries directory.
3600 2005-09-14 David Schleef <ds@schleef.org>
3602 * check/Makefile.am:
3603 * check/generic/states.c:
3607 * gst/gst_private.h:
3608 * gst/gstelementfactory.c:
3613 * gst/gstpluginfeature.c:
3614 * gst/gstpluginfeature.h:
3615 * gst/gstregistry.c:
3616 * gst/gstregistry.h:
3617 * gst/gstregistrypool.c: remove
3618 * gst/gstregistrypool.h: remove
3619 * gst/gsttypefind.c:
3620 * gst/gsttypefindfactory.c:
3622 * tools/Makefile.am:
3623 * tools/gst-compprep.c:
3624 * tools/gst-inspect.c:
3625 * tools/gst-register.c: remove
3626 * tools/gst-xmlinspect.c:
3627 Registry rewrite. Changes registry from being a file created
3628 by a tool into a simple cache file created automatically by
3629 libgstreamer. Removed gst-register (because it's no longer
3630 needed). Remove registry pools, because we only have one
3631 registry implementation (XML). Fix up other subsystems as
3634 2005-09-13 Michael Smith <msmith@fluendo.com>
3636 * gst/gstconfig.h.in:
3637 Don't Use windows linking attributes for MinGW. Fixes #316157
3639 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3641 * gst/gstutils.c: (set_state_async_thread_func),
3642 (gst_element_set_state_async):
3643 Apparently people think it's better if this function doesn't
3644 try to set the state to whatever state was asked for on the first
3645 call to this function for any object. Seriously.
3647 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3649 * check/gst/gstpipeline.c: (GST_START_TEST):
3650 * docs/gst/gstreamer-sections.txt:
3651 * gst/gstutils.c: (set_state_async_thread_func),
3652 (gst_element_set_state_async):
3654 add a "gst_element_set_state_async" method that
3655 sets the state and starts a thread to make sure the state
3656 change completes as best as it can
3658 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3660 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3661 codify design+behaviour in testsuite after discussion
3663 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3665 * docs/gst/tmpl/gstelement.sgml:
3666 * docs/manual/appendix-quotes.xml:
3668 * gst/gstelement.c: (gst_element_set_state):
3671 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3673 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3674 (gst_base_transform_prepare_output_buf),
3675 (gst_base_transform_handle_buffer):
3676 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3677 (gst_capsfilter_prepare_buf):
3678 Remove the requirement for sub-classes to call the parent
3679 implementation of prepare_output_buffer with a wrapper function.
3682 * gst/gsttagsetter.h:
3685 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3687 * docs/gst/gstreamer-sections.txt:
3690 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3692 * docs/gst/gstreamer-sections.txt:
3693 * docs/gst/tmpl/gstelement.sgml:
3694 * docs/gst/tmpl/gstplugin.sgml:
3695 * gst/gstminiobject.c:
3697 docs now stop throwing warnings
3699 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3701 * docs/gst/gstreamer-sections.txt:
3702 * docs/gst/gstreamer.types:
3703 * docs/gst/tmpl/gstpad.sgml:
3704 * docs/gst/tmpl/gsttypes.sgml:
3705 * gst/base/gstadapter.h:
3706 * gst/base/gstbasesink.h:
3707 * gst/base/gstbasesrc.h:
3717 * gst/gststructure.c:
3718 * gst/registries/gstlibxmlregistry.h:
3719 various documentation fixes
3721 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3723 * docs/gst/gstreamer-sections.txt:
3724 * docs/gst/tmpl/gstvalue.sgml:
3725 rearrange gstvalue section
3726 * gst/gstutils.c: (gst_element_state_get_name):
3728 * gst/gstvalue.c: (_gst_value_initialize):
3732 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3734 * check/gst-libs/controller.c:
3736 * gst/base/gstbasetransform.c:
3737 (gst_base_transform_default_prepare_buf),
3738 (gst_base_transform_handle_buffer):
3739 * gst/base/gstbasetransform.h:
3740 Some more basetransform changes and fixes to enable sub-classes
3741 that modify buffer metadata only.
3742 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3743 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3744 (gst_capsfilter_prepare_buf):
3745 If the output pad has fixed allowed caps and input buffers
3746 don't have any, set the fixed caps on outgoing buffers.
3748 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3749 * check/elements/identity.c: (GST_START_TEST):
3750 Make the error a little clearer when the test fails because
3751 identity made a copy of the buffer.
3752 * docs/gst/gstreamer-sections.txt:
3753 New symbols in gstbasetransform.h
3754 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3755 (gst_base_transform_init), (gst_base_transform_transform_size),
3756 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3757 (gst_base_transform_default_prepare_buf),
3758 (gst_base_transform_get_unit_size),
3759 (gst_base_transform_buffer_alloc),
3760 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3761 (gst_base_transform_change_state),
3762 (gst_base_transform_set_passthrough),
3763 (gst_base_transform_set_in_place),
3764 (gst_base_transform_is_in_place):
3765 * gst/base/gstbasetransform.h:
3766 Change BaseTransform to separate in_place operate from same_caps
3767 output. in_place implies that the element can perform the transform
3768 on incoming buffers in-place, even if the caps on the output are
3770 Sub-class elements can now implement special buffer allocation
3771 methods for outgoing buffers if they wish to.
3772 Big documentation addition.
3773 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3774 * gst/elements/gstelements.c:
3775 Changes for basetransform modifications.
3776 * gst/elements/Makefile.am:
3777 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3778 Compile fix. Extra debug output.
3780 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3782 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3784 add tests for valid pad naming
3785 * gst/check/gstcheck.c: (gst_check_log_message_func),
3786 (gst_check_log_critical_func):
3788 remove printing of code, it is fragile when the code contains
3789 % and the line number is enough info
3790 * gst/check/gstcheck.h:
3791 * gst/gstpad.c: (gst_pad_template_new):
3794 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3797 say what CHECK flags we use
3798 * docs/libs/gstreamer-libs.types:
3799 * libs/gst/controller/Makefile.am:
3800 * libs/gst/controller/gst-controller.c:
3801 * libs/gst/controller/gst-controller.h:
3802 * libs/gst/controller/gst-helper.c:
3803 * libs/gst/controller/gst-interpolation.c:
3804 * libs/gst/controller/gstcontroller.c:
3805 * libs/gst/controller/gsthelper.c:
3806 * libs/gst/controller/gstinterpolation.c:
3807 * tools/gst-inspect.c: (print_plugin_info):
3808 we don't use dashes in header names
3810 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3812 * check/Makefile.am:
3813 * check/gst/.cvsignore:
3814 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3815 (gst_pipeline_suite), (main):
3816 adding a test for pipelines and state changes
3817 * gst/gstutils.c: (get_state_func):
3819 * gstreamer.spec.in:
3822 2005-09-08 Michael Smith <msmith@fluendo.com>
3824 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3825 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3826 (gst_file_src_is_seekable), (gst_file_src_get_size),
3827 (gst_file_src_start):
3828 * gst/elements/gstfilesrc.h:
3829 Various fixes for unseekable, unmmapable, and non-normal files, so
3830 that fallback to read() rather than mmap() works.
3831 * gst/gstevent.c: (gst_event_new_newsegment):
3832 Allow newsegment events with segment_start == segment_end, as will
3833 correctly happen if you use filesrc on a zero-size file, for
3836 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3838 * gst/gstplugin.c: (gst_plugin_load_file):
3839 Call g_module_close when we don't load the module
3841 * gst/registries/gstlibxmlregistry.c:
3842 (gst_xml_registry_get_property):
3843 Port leak fix from 0.8
3845 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3847 * docs/gst/gstreamer-docs.sgml:
3848 * docs/gst/tmpl/.cvsignore:
3849 * docs/gst/tmpl/gsttrace.sgml:
3850 * docs/gst/tmpl/gsttrashstack.sgml:
3859 * gst/gsttaginterface.c:
3860 * gst/gsttaginterface.h:
3863 * gst/gsttagsetter.c:
3864 * gst/gsttagsetter.h:
3867 * gst/gsttrashstack.c:
3868 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3869 inlined docs for gsttrace, gsttrashstack
3871 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3874 * gst/elements/gstbufferstore.h:
3875 * gst/elements/gsttypefindelement.c:
3876 * gst/elements/gsttypefindelement.h:
3878 * gst/gsttypefind.c:
3879 * gst/gsttypefind.h:
3880 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3881 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3882 (gst_type_find_factory_dispose),
3883 (gst_type_find_factory_unload_thyself),
3884 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3885 (gst_type_find_factory_get_caps),
3886 (gst_type_find_factory_get_extensions),
3887 (gst_type_find_factory_call_function):
3888 * gst/gsttypefindfactory.h:
3889 * gst/registries/gstlibxmlregistry.c:
3890 * gst/registries/gstxmlregistry.c:
3891 splitted gsttypefind into gsttypefind, gsttypefindfactory
3893 2005-09-07 Andy Wingo <wingo@pobox.com>
3895 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3896 condition whereby the pad's task function is entered before the
3897 pad_mode variable was set.
3899 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3901 * gst/gstpad.c: (gst_pad_alloc_buffer):
3902 Catch misbehaving pad_alloc functions that don't
3903 set up caps and do it for them.
3905 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3907 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3909 * docs/gst/tmpl/.cvsignore:
3910 * docs/gst/tmpl/gstmemchunk.sgml:
3911 * docs/gst/tmpl/gstparse.sgml:
3912 * docs/gst/tmpl/gsttaglist.sgml:
3913 * docs/gst/tmpl/gsttagsetter.sgml:
3914 * docs/gst/tmpl/gsttypefind.sgml:
3915 * docs/gst/tmpl/gsttypefindfactory.sgml:
3916 * gst/gstmemchunk.c:
3919 * gst/gsttaginterface.c:
3920 * gst/gsttypefind.c:
3921 * gst/gsttypefind.h:
3924 === release 0.9.2 ===
3926 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3931 releasing 0.9.2, "South"
3933 2005-09-05 Andy Wingo <wingo@pobox.com>
3935 * gst/registries/gstxmlregistry.h:
3936 * gst/registries/gstxmlregistry.c: Um... resurrect...
3938 * gst/registries/gstxmlregistry.h:
3939 * gst/registries/gstxmlregistry.c: and update to newer API.
3940 Incidentally they should be a bit faster now that they don't have
3943 2005-09-05 Andy Wingo <wingo@pobox.com>
3945 * gst/registries/gstxmlregistry.h:
3946 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3947 replaced by the libxml registry a while back
3949 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3951 * docs/gst/tmpl/gstplugin.sgml:
3952 * gst/elements/gstelements.c:
3954 * gst/gstplugin.c: (gst_plugin_register_func),
3955 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3956 (gst_plugin_get_source):
3958 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3959 (gst_xml_registry_save_plugin):
3960 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3961 (gst_xml_registry_save_plugin):
3962 * tools/gst-inspect.c: (print_plugin_info):
3963 add a "source" plugin description field, to represent the source
3964 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3965 will set it to PACKAGE, which is automake's idea of the name of
3968 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3974 * docs/faq/Makefile.am:
3975 * docs/gst/tmpl/gstelement.sgml:
3976 * docs/gst/tmpl/gsttypes.sgml:
3977 * docs/htmlinstall.mak:
3978 * docs/manual/Makefile.am:
3979 * docs/pwg/Makefile.am:
3980 reorganize doc build a little
3981 split out docbook and gtk-doc stuff
3982 have two separate --enable's and enable them through autogen
3983 but disable by default in configure (to be similar to other
3985 * gstreamer.spec.in:
3986 clean up docs install
4006 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4008 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4011 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4012 (gst_fake_sink_change_state):
4013 Make state change function thread-safe.
4015 * gst/gstpad.c: (gst_pad_alloc_buffer):
4016 Set offset on generic buffer allocated by fallback.
4018 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4020 * docs/gst/gstreamer-sections.txt:
4021 * docs/gst/tmpl/gstelement.sgml:
4023 * libs/gst/controller/gst-controller.c:
4024 (gst_controlled_property_set_interpolation_mode),
4025 (gst_controlled_property_new),
4026 (gst_controller_find_controlled_property):
4027 run the wingo-magic script against the docs
4029 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4031 * docs/gst/gstreamer-docs.sgml:
4032 * docs/gst/gstreamer-sections.txt:
4033 * docs/gst/tmpl/.cvsignore:
4034 * docs/gst/tmpl/gstelementdetails.sgml:
4035 * docs/gst/tmpl/gstelementfactory.sgml:
4038 * gst/gstelementfactory.c:
4039 * gst/gstelementfactory.h:
4040 merged elementdetails docs into elementfactory docs
4043 2005-09-02 Andy Wingo <wingo@pobox.com>
4045 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4046 consider this enum an enum and not a flags.
4048 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4050 * docs/gst/gstreamer-docs.sgml:
4051 * docs/gst/tmpl/.cvsignore:
4052 * docs/gst/tmpl/gstghostpad.sgml:
4053 * docs/gst/tmpl/gstiterator.sgml:
4054 * docs/gst/tmpl/gstmacros.sgml:
4055 * docs/gst/tmpl/gstrealpad.sgml:
4056 * docs/gst/tmpl/gstregistry.sgml:
4057 * docs/gst/tmpl/gstregistrypool.sgml:
4058 * docs/gst/tmpl/gststructure.sgml:
4059 * docs/gst/tmpl/gstsystemclock.sgml:
4060 * docs/gst/tmpl/gsttrace.sgml:
4061 * gst/gstghostpad.c:
4063 * gst/gstmemchunk.c:
4064 * gst/gstmemchunk.h:
4066 * gst/gstregistry.c:
4067 * gst/gstregistrypool.c:
4068 * gst/gststructure.c:
4069 * gst/gstsystemclock.c:
4072 2005-09-02 Andy Wingo <wingo@pobox.com>
4074 * gst/gstelement.h (GstState): Renamed from GstElementState,
4075 changed to be a normal enum instead of flags.
4076 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4077 munged to be GST_STATE_CHANGE_*.
4078 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4079 work with the new state representation.
4080 (GstStateChange): New enumeration of possible state transitions.
4081 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4082 (GstElementClass::change_state): Pass the GstStateChange along as
4083 an argument. Helps language bindings, so they don't have to use
4084 tricky lock-needing macros like GST_STATE_CHANGE ().
4086 * scripts/update-states (file): New script. Run it on a file to
4087 update it for state naming and API changes. Updates files in
4090 * All files updated for the new API.
4092 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4094 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4095 * gst/gstutils.c: (gst_util_set_value_from_string),
4096 (gst_util_set_object_arg):
4097 fix a bunch of unchecked return values
4098 * tools/gst-complete.c: (main):
4099 * gstreamer.spec.in:
4102 2005-09-01 Wim Taymans <wim@fluendo.com>
4104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4105 (gst_base_sink_event), (gst_base_sink_do_sync),
4106 (gst_base_sink_handle_event):
4107 * gst/base/gstbasesink.h:
4108 Handle newsegments more correctly.
4113 * gst/gstevent.c: (gst_event_new_newsegment):
4114 A newsegment cannot have a start_time of -1
4116 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4118 * win32/gstenumtypes.c:
4119 * win32/gstenumtypes.h:
4122 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4124 * libs/gst/controller/gst-controller.c:
4125 (gst_controlled_property_set_interpolation_mode),
4126 (gst_controlled_property_new):
4129 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4131 * docs/faq/gst-uninstalled:
4136 * gst/gstutils.c: (gst_element_link_filtered):
4138 add gst_element_link_filtered
4140 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4142 * docs/gst/gstreamer-docs.sgml:
4143 * docs/gst/gstreamer-sections.txt:
4144 * docs/gst/tmpl/.cvsignore:
4145 * docs/gst/tmpl/gsterror.sgml:
4146 * docs/gst/tmpl/gstfilter.sgml:
4147 * docs/gst/tmpl/gsturihandler.sgml:
4148 * docs/gst/tmpl/gsturitype.sgml:
4149 * docs/gst/tmpl/gstutils.sgml:
4150 * docs/gst/tmpl/gstxml.sgml:
4158 inlined more docs, fixed double id-ref
4160 2005-08-31 Wim Taymans <wim@fluendo.com>
4162 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4163 (gst_base_transform_handle_buffer):
4164 Passthrough elements don't need the caps as they don't care.
4166 2005-08-31 Wim Taymans <wim@fluendo.com>
4168 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4169 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4170 Don't leak refcounts on buffers.
4172 2005-08-31 Wim Taymans <wim@fluendo.com>
4174 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4175 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4176 (gst_base_transform_chain), (gst_base_transform_change_state):
4177 * gst/base/gstbasetransform.h:
4178 Handle the case where we are not negotiated more gracefully.
4180 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4182 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4183 (gst_file_src_map_region):
4184 Set READONLY flag on mmap'ed buffers, otherwise
4185 gst_buffer_make_writable() won't work properly (#314708).
4187 2005-08-31 Wim Taymans <wim@fluendo.com>
4189 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4190 passthrough elements can even do inplace on non writable
4191 buffers (as they don't touch them).
4193 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4195 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4196 (gst_test_mono_source_set_property),
4197 (gst_test_mono_source_class_init), (GST_START_TEST),
4198 (gst_controller_suite):
4199 more tests (hehe I have the most)
4201 describe popping messages whenusing mulltiple sources
4202 * libs/gst/controller/gst-controller.c:
4203 (gst_controlled_property_set_interpolation_mode),
4204 (gst_controlled_property_new):
4205 * libs/gst/controller/gst-controller.h:
4206 * libs/gst/controller/gst-interpolation.c:
4207 implement boolean properties
4209 2005-08-31 Wim Taymans <wim@fluendo.com>
4211 * gst/gstminiobject.c: (gst_mini_object_ref):
4212 Cannot assert that the refcount has to be positive
4213 since a disposed object can be resurrected.
4215 2005-08-31 Wim Taymans <wim@fluendo.com>
4217 * gst/gstpad.c: (gst_pad_init):
4218 Revert change, need to first fix badly behaving
4221 2005-08-30 Wim Taymans <wim@fluendo.com>
4223 * check/elements/fakesrc.c: (setup_fakesrc):
4224 * check/elements/identity.c: (setup_identity):
4225 Activate pads before using them.
4227 2005-08-30 Wim Taymans <wim@fluendo.com>
4229 * gst/base/gstadapter.c: (gst_adapter_flush):
4230 Flushing out 0 bytes is ok for this function.
4232 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4233 no newsegment gives a warning and sets the start/stop to
4236 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4237 (gst_base_transform_set_passthrough):
4240 * gst/gstminiobject.c: (gst_mini_object_ref):
4241 Check refcount here too.
4243 * gst/gstpad.c: (gst_pad_init):
4244 Pads are initially flushing and refusing data.
4246 * gst/gstutils.c: (gst_element_link_pads_filtered):
4247 When adding a capsfilter element make sure it has the
4248 same state as the parent bin.
4250 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4252 * docs/gst/tmpl/.cvsignore:
4253 * docs/gst/tmpl/gstformat.sgml:
4254 * docs/gst/tmpl/gstversion.sgml:
4258 * gst/gstversion.h.in:
4259 more docs and two more inlined
4261 2005-08-30 Wim Taymans <wim@fluendo.com>
4263 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4264 Don't sync to clock.
4266 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4268 * docs/gst/gstreamer-sections.txt:
4269 ultral33t func10ns deserve to appear in the docs actually
4270 * docs/gst/tmpl/.cvsignore:
4271 * docs/gst/tmpl/gstcompat.sgml:
4272 * docs/gst/tmpl/gstconfig.sgml:
4273 * gst/check/gstcheck.c:
4275 * gst/gstconfig.h.in:
4278 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4280 * docs/gst/tmpl/.cvsignore:
4281 * docs/gst/tmpl/gstquery.sgml:
4282 * docs/gst/tmpl/gstutils.sgml:
4285 inlined and extended docs
4287 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4289 * check/gst-libs/controller.c: (GST_START_TEST),
4290 (gst_controller_suite):
4292 * docs/gst/tmpl/gstutils.sgml:
4293 * docs/libs/gstreamer-libs-sections.txt:
4294 * docs/libs/tmpl/gstdataprotocol.sgml:
4296 * examples/controller/audio-example.c: (main):
4297 controller example works now
4300 * tools/gst-inspect.c: (print_element_properties_info):
4301 show param spec flags
4303 2005-08-29 Andy Wingo <wingo@pobox.com>
4305 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4307 2005-08-28 Andy Wingo <wingo@pobox.com>
4309 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4310 as having two arguments instead of just one. Allows superclasses
4311 to access information on subclasses -- see the terrible for() loop
4312 in gtype.c:g_type_create_instance for the reason why. All callers
4315 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4317 * docs/design/part-messages.txt:
4319 * docs/gst/tmpl/.cvsignore:
4320 * docs/gst/tmpl/gstcaps.sgml:
4321 * docs/gst/tmpl/gstclock.sgml:
4328 added descriptions for bus and message
4329 inline caps and clock docs
4331 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4337 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4339 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4342 2005-08-26 Andy Wingo <wingo@pobox.com>
4344 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4345 element_set_state's return val.
4346 (test_2_elements): Add test that's been disabled for months.
4348 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4349 can-activate-pull properties.
4351 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4352 can-activate-pull properties. Implement is_seekable so fakesrc can
4353 operate in pull mode.
4355 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4357 (gst_base_sink_activate, gst_base_sink_activate_pull)
4358 (gst_base_sink_activate_push): Make activation mode choosing work.
4360 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4361 is right. Make pull mode work. Post an eos before pausing in pull
4363 (gst_base_sink_change_state): Pay attention to the core's
4364 change_state() return val.
4366 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4367 has-getrange properties. Cleanups.
4369 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4370 has_getrange and replace with can_activate_pull and
4373 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4374 locking comments. Remove has_loop, has_chain and replace with
4375 can_activate_pull and can_activate_push.
4377 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4380 * examples/Makefile.am:
4381 * examples/metadata/Makefile.am:
4382 * examples/metadata/read-metadata.c: (message_loop),
4383 (have_pad_handler), (make_pipeline), (print_tag), (main):
4384 Add metadata reading example that loops over a list of filenames,
4385 dumping any tags found.
4387 * gst/gstbus.c: (gst_bus_dispose):
4388 * gst/gstelement.c: (gst_element_dispose):
4389 Release a few potentially-held references in dispose.
4391 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4393 * docs/gst/tmpl/gstminiobject.sgml:
4394 do *not* add tmpl/*.sgml files to CVS!
4396 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4398 * libs/gst/bytestream/.cvsignore:
4399 * libs/gst/bytestream/Makefile.am:
4400 * libs/gst/bytestream/adapter.c:
4401 * libs/gst/bytestream/adapter.h:
4402 * libs/gst/bytestream/bytestream.c:
4403 * libs/gst/bytestream/bytestream.h:
4404 * libs/gst/bytestream/filepad.c:
4405 * libs/gst/bytestream/filepad.h:
4406 removing obsolete files
4408 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4410 * docs/gst/gstreamer-docs.sgml:
4411 * docs/libs/gstreamer-libs-docs.sgml:
4412 disabed additional index entries again, as this makes docs-gen just
4413 slow and they aren't useful yet
4414 * docs/libs/gstreamer-libs-sections.txt:
4415 little -section.txt cleanup for libs
4417 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4420 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4421 fix up some debugging
4422 (gst_base_transform_get_unit_size),
4423 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4424 (gst_base_transform_handle_buffer):
4425 * gst/base/gstbasetransform.h:
4426 handle and store timed NEWSEGMENT events so that subclasses that
4427 calculate time by counting samples have a segment_start time they
4428 need to add to their timestamps - see audioresample
4430 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4433 removed ';' from the end of macro defs
4434 * docs/gst/gstreamer-docs.sgml:
4435 * docs/gst/gstreamer-sections.txt:
4436 * docs/gst/tmpl/.cvsignore:
4438 * gst/gstelement.c: (gst_element_class_init),
4439 (gst_element_set_state), (activate_pads),
4440 (gst_element_save_thyself):
4441 * gst/gstevent.c: (gst_event_new_newsegment):
4443 * gst/gstiterator.c:
4444 * gst/gstiterator.h:
4447 * gst/gstutils.c: (gst_pad_query_convert):
4449 fixed parameter name mismatches between source, header and docs
4450 added some more docs, resolved the last batch of unused elements in
4451 docs (now someone needs to doc them)
4453 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4455 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4456 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4457 don't walk through the plugins backwards. Where is all this
4458 reversed logic coming from ?
4460 2005-08-25 Wim Taymans <wim@fluendo.com>
4462 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4463 (gst_base_transform_transform_size),
4464 (gst_base_transform_configure_caps),
4465 (gst_base_transform_get_unit_size),
4466 (gst_base_transform_buffer_alloc),
4467 (gst_base_transform_change_state):
4468 * gst/base/gstbasetransform.h:
4469 Cache caps unit_size.
4470 Make sure we cannot negotiate up and downstream at the
4473 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4475 * gst/gst.c: (init_pre), (init_post):
4476 register the installed plugin path after the env var
4477 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4478 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4479 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4480 directories, so the tests can prefer uninstalled over installed
4482 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4484 * gst/base/gstbasetransform.h:
4489 2005-08-25 Wim Taymans <wim@fluendo.com>
4491 * gst/gstbin.c: (bin_bus_handler):
4492 Be a bit more conservative about the posted message.
4494 * gst/gstbus.c: (gst_bus_post):
4495 Some cleanups, warn wrong return values.
4497 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4499 * check/gst/gstbin.c: (GST_START_TEST):
4500 * gst/gstbin.c: (bin_bus_handler):
4501 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4502 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4503 (gst_message_new_warning), (gst_message_new_tag),
4504 (gst_message_new_state_changed), (gst_message_new_segment_start),
4505 (gst_message_new_segment_done), (gst_message_new_custom):
4507 * tools/gst-launch.c: (event_loop):
4508 * tools/gst-md5sum.c: (event_loop):
4509 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4511 2005-08-25 Wim Taymans <wim@fluendo.com>
4513 * check/generic/states.c: (GST_START_TEST):
4514 Cleanup can be done at the end.
4516 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4517 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4518 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4519 Oh boy.. Thanks for finding this, Thomas.
4521 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4523 * docs/gst/gstreamer.types:
4526 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4528 * docs/gst/gstreamer-docs.sgml:
4529 * docs/gst/gstreamer-sections.txt:
4530 * docs/gst/tmpl/.cvsignore:
4532 * gst/gstiterator.c:
4534 * gst/registries/gstxmlregistry.h:
4535 added missing classes and symbols (123 more to go)
4536 removed removed symbols from section file
4537 fixed many doc-comments
4539 2005-08-24 Wim Taymans <wim@fluendo.com>
4541 * check/generic/states.c: (GST_START_TEST):
4542 Make sure all tasks are stopped.
4544 * check/gst/gstbin.c: (GST_START_TEST):
4545 Unref after usage for proper valgrinding.
4547 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4548 Really wait for the task to stop before destroying the
4551 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4552 (gst_queue_src_activate_push):
4553 Small cleanups. Don't stop the task when we did not start
4556 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4557 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4558 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4561 Protect the stream lock with the object lock.
4562 Disallow setting the stream lock when running.
4563 Add cleanup_all to wait for the threadpool to finish.
4564 Remove code to autoallocate a mutex if none was provided.
4565 Add _join() to wait for a task to stop.
4566 Protect the thread pool with a global lock.
4568 2005-08-24 Wim Taymans <wim@fluendo.com>
4570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4571 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4572 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4573 * gst/base/gstbasesink.h:
4574 Handle newsegment events correctly.
4575 Drop buffers out of the segment range.
4577 2005-08-22 Andy Wingo <wingo@pobox.com>
4579 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4580 macro, implements an interface and gstimplementsinterface for a
4583 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4585 * check/Makefile.am:
4586 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4587 add a test that does a bunch of state changes on elements
4588 needs some fixing for valgrind
4589 * check/states/sinks.c: (gst_object_suite):
4592 add prototype for gst_caps_is_equal_fixed
4594 * gst/gstregistrypool.c:
4597 2005-08-24 Andy Wingo <wingo@pobox.com>
4599 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4600 convert a negative value. Doesn't make much sense. Mostly this is
4601 here to force callers to ensure -1 maps to -1.
4603 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4605 * docs/pwg/advanced-types.xml:
4606 Well done to Michael for catching my deliberate introduction
4607 of this spelling mistake.
4608 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4610 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4611 unlink pads before removing the element from the bin.
4613 2005-08-24 Andy Wingo <wingo@pobox.com>
4615 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4616 the same thing as GST_DEBUG=*:4.
4617 (parse_debug_level, parse_debug_category): New helper parsers.
4619 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4621 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4622 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4623 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4624 (gst_base_transform_buffer_alloc),
4625 (gst_base_transform_handle_buffer):
4626 use gboolean return values and pointers to size so we can use the
4627 full GST_BUFFER_SIZE range (guint) for buffer sizes
4628 use GstPadDirection for transform_caps
4629 * gst/base/gstbasetransform.h:
4630 rename get_size to get_unit_size since that's what it is
4631 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4632 use GstPadDirection for transform_caps
4633 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4635 cleanup and debugging
4637 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4639 * gst/gstelement.c: (gst_element_class_init),
4640 (gst_element_set_state), (activate_pads),
4641 (gst_element_save_thyself):
4642 * tools/gst-compprep.c: (main):
4643 * tools/gst-inspect.c: (print_element_properties_info):
4644 * tools/gst-xmlinspect.c: (print_element_properties):
4645 Fixed long standing mem-leak
4647 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4649 * check/gst/gstbin.c: (GST_START_TEST):
4650 * gst/gstbin.c: (bin_bus_handler):
4651 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4652 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4653 (gst_message_new_warning), (gst_message_new_tag),
4654 (gst_message_new_state_changed), (gst_message_new_segment_start),
4655 (gst_message_new_segment_done), (gst_message_new_custom):
4657 * tools/gst-launch.c: (event_loop):
4658 * tools/gst-md5sum.c: (event_loop):
4659 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4660 that applications can sensibly post custom messages with references
4661 to their own objects.
4663 2005-08-24 Andy Wingo <wingo@pobox.com>
4665 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4668 2005-08-24 Wim Taymans <wim@fluendo.com>
4670 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4671 (gst_base_transform_transform_caps),
4672 (gst_base_transform_transform_size),
4673 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4674 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4675 (gst_base_transform_handle_buffer):
4676 * gst/base/gstbasetransform.h:
4677 Many fixes and new features added by Thomas. Can now also do
4678 transforms with variable sizes and a custom fixate_caps function.
4680 2005-08-24 Wim Taymans <wim@fluendo.com>
4682 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4686 Cast to ClockTime before formatting to time.
4691 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4693 * check/gst-libs/controller.c: (GST_START_TEST),
4694 (gst_controller_suite):
4695 * docs/gst/tmpl/gstcaps.sgml:
4696 * docs/gst/tmpl/gstghostpad.sgml:
4697 * docs/gst/tmpl/gstquery.sgml:
4698 * docs/gst/tmpl/gstutils.sgml:
4699 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4700 (gst_object_sink_values), (gst_object_get_value_arrays),
4701 (gst_object_get_value_array):
4702 gracefully handle helper method calls to objects that are not beeing
4703 controlled, added test case for that
4705 2005-08-23 Wim Taymans <wim@fluendo.com>
4707 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4708 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4709 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4710 (gst_event_parse_qos), (gst_event_new_seek),
4711 (gst_event_parse_seek):
4713 Some more debugging output and doc cleanups.
4715 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4716 Fix possible deadlock.
4718 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4720 * docs/gst/gstreamer-docs.sgml:
4721 * docs/gst/gstreamer-sections.txt:
4722 * docs/gst/gstreamer.types:
4723 * docs/gst/tmpl/.cvsignore:
4728 added 100 symbols from gstreamer-unused.txt to the right sections
4729 fixed more broken comments
4730 added GstBus to docs
4732 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4734 * docs/gst/gstreamer-sections.txt:
4735 * docs/gst/tmpl/.cvsignore:
4736 * docs/gst/tmpl/gstbin.sgml:
4737 * docs/gst/tmpl/gstbuffer.sgml:
4738 * gst/base/gstbasesrc.c:
4739 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4742 * tools/gst-launch.1.in:
4743 inlined more doc comments, added missing comments and fixed comments
4746 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4748 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4752 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4754 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4755 * gst/gststructure.h:
4756 add a fixate function for booleans; add a FIXME that these func
4757 names should probably be gst_structure_fixate_*
4759 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4761 * docs/gst/gstreamer-docs.sgml:
4762 * docs/gst/gstreamer-sections.txt:
4764 * gst/gstbin.c: (gst_bin_get_type),
4765 (gst_bin_child_proxy_get_child_by_index),
4766 (gst_bin_child_proxy_get_children_count),
4767 (gst_bin_child_proxy_init):
4768 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4769 (gst_child_proxy_get_child_by_index),
4770 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4771 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4772 (gst_child_proxy_get), (gst_child_proxy_set_property),
4773 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4774 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4775 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4776 * gst/gstchildproxy.h:
4777 * gst/parse/grammar.y:
4778 * tools/gst-inspect.c: (print_interfaces),
4779 (print_element_properties_info), (print_element_info):
4780 ported gstchildproxy over from 0.8
4781 ported gst-inspect fixes and enhancements over from 0.8
4783 2005-08-22 Wim Taymans <wim@fluendo.com>
4785 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4786 (gst_base_transform_handle_buffer):
4787 Also call the transform function if we have ANY caps.
4789 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4792 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4794 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4795 Don't pretend to handle seek events if the source is not seekable
4797 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4800 Remove extra parameter to debug output
4802 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4803 (gst_base_src_do_seek), (gst_base_src_activate_push):
4804 Fix seek event handling.
4806 * gst/gstpipeline.c: (gst_pipeline_change_state):
4807 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4808 (gst_queue_src_activate_push):
4809 Don't start the src pad task on FLUSH_STOP if the pad
4813 2005-08-22 Wim Taymans <wim@fluendo.com>
4815 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4816 Added check for gst_static_caps_get() refcounting.
4818 2005-08-22 Wim Taymans <wim@fluendo.com>
4820 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4821 Make _static_caps_get() refcounting sane.
4823 * gst/gstelement.c: (gst_element_set_state):
4824 Add g_return_val_if_fail() to protect against segfaults.
4826 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4828 * docs/gst/tmpl/gstevent.sgml:
4831 inlined remaining docs, added missing doc comments
4833 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4835 * check/gst/gstbin.c: (GST_START_TEST):
4836 since we don't know when preroll is done, use refcount range
4838 * gst/check/gstcheck.h:
4839 add macro for checking refcount range
4841 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4843 * check/Makefile.am:
4844 clean up environment for when registry gets built versus
4845 when actual tests are run; valgrind seems to not report
4846 leaks if GST_PLUGIN_PATH is set to some specific values
4847 * check/gst/gstbin.c: (GST_START_TEST):
4848 add more refcounting checks; maybe this exposes a
4851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4852 * gst/check/gstcheck.h:
4853 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4854 (gst_bin_change_state):
4855 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4856 add/fix debugging/whitespace
4858 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4860 * check/gst/gstevent.c: (event_probe), (test_event),
4862 Er, don't call gst_bin_watch_for_state_change you idiot.
4864 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4866 * check/Makefile.am:
4867 Use CHECK_CFLAGS and CHECK_LIBS
4868 * check/gst/gstevent.c: (event_probe), (test_event),
4871 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4872 (gst_base_src_start), (gst_base_src_stop),
4873 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4874 (gst_base_src_change_state):
4875 Sprinkle gst_base_src_stop liberally around error paths to fix
4876 problems reusing a source after failed state changes.
4877 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4878 (helper_find_suggest), (gst_type_find_helper):
4879 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4881 * docs/gst/tmpl/gstevent.sgml:
4882 Migrate part of the docs from the SGML file. Wait for ensonic to
4883 tell me how I did it wrong ;)
4884 * tools/gst-typefind.c: (main):
4885 Extra robustness to state changes between files.
4887 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4889 * check/Makefile.am:
4890 don't valgrind the controller test - it's leaking - Stefan, HELP
4891 * gst/check/gstcheck.c: (gst_check_message_error),
4892 (gst_check_chain_func), (gst_check_setup_element),
4893 (gst_check_teardown_element), (gst_check_setup_src_pad),
4894 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4895 (gst_check_teardown_sink_pad):
4896 * gst/check/gstcheck.h:
4897 add a bunch of methods to set up elements, and src and sink pads
4898 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4899 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4904 whitespace/doc fixes
4906 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4909 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4910 be handled by the application and not always printed as well
4912 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4914 * check/Makefile.am:
4916 * gst/check/gstcheck.c: (gst_check_message_error):
4917 * gst/check/gstcheck.h:
4918 add a fail_unless_equals_int
4919 add fail_unless for error messages
4921 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4923 * check/Makefile.am:
4925 * common/Makefile.am:
4928 factor out some of the common stuff so we can use it
4930 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4932 * check/Makefile.am:
4933 * check/gst/gstiterator.c: (GST_START_TEST):
4934 * check/gst/gstsystemclock.c: (GST_START_TEST),
4935 (gst_systemclock_suite):
4936 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4940 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4942 * check/elements/.cvsignore:
4943 * check/elements/gstfakesrc.c:
4944 rename to name of element
4945 * check/elements/identity.c: (chain_func), (event_func),
4946 (setup_identity), (cleanup_identity), (GST_START_TEST),
4947 (identity_suite), (main):
4948 add a test for identity
4949 * check/Makefile.am:
4950 * pkgconfig/Makefile.am:
4951 * pkgconfig/gstreamer-check.pc.in:
4952 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4956 move the check stuff to a library that gets installed
4957 * check/gst-libs/controller.c: (GST_START_TEST):
4958 * check/gst-libs/gdp.c:
4959 * check/gst/gst.c: (GST_START_TEST):
4960 * check/gst/gstbin.c:
4961 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4962 * check/gst/gstbus.c:
4963 * check/gst/gstcaps.c: (GST_START_TEST):
4964 * check/gst/gstelement.c:
4965 * check/gst/gstghostpad.c:
4966 * check/gst/gstiterator.c:
4967 * check/gst/gstmessage.c:
4968 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4969 * check/gst/gstobject.c:
4970 * check/gst/gstpad.c: (GST_START_TEST):
4971 * check/gst/gststructure.c: (GST_START_TEST):
4972 * check/gst/gstsystemclock.c: (GST_START_TEST),
4973 (gst_systemclock_suite):
4974 * check/gst/gsttag.c: (gst_tag_suite):
4975 * check/gst/gstvalue.c:
4976 * check/pipelines/cleanup.c:
4977 * check/pipelines/simple_launch_lines.c:
4978 * check/states/sinks.c:
4979 change include statement
4981 * docs/gst/gstreamer-sections.txt:
4982 * docs/gst/tmpl/gstpad.sgml:
4983 document more pad stuff
4984 * gst/gstminiobject.c: (gst_mini_object_ref),
4985 (gst_mini_object_unref):
4988 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4990 * docs/gst/tmpl/gst.sgml:
4992 eliminate another tmpl file, fix spelling in the long-description
4994 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4996 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4997 (test_event), (timediff), (gstevents_suite):
4998 Should fix build on 64-bit arch's
5000 2005-08-18 Andy Wingo <wingo@pobox.com>
5002 Make sure that when a pipeline goes to PLAYING, that data has
5003 actually hit the sink.
5005 * check/states/sinks.c (test_sink): A sink that doesn't get any
5006 data shouldn't return SUCCESS for going to either PLAYING or
5007 PAUSED. Test also the return values on the way back down.
5009 * gst/gstelement.c (gst_element_set_state): When changing the
5010 state of an element currently changing state asynchronously, go to
5011 lost-state after commiting the pending state. Makes future calls
5012 to get_state continue to return ASYNC.
5014 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5015 ASYNC when going to PLAYING if we still don't have preroll, as can
5016 happen with live sources.
5018 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5020 * docs/pwg/advanced-types.xml:
5021 Hack long paragraph into 2 chunks as a workaround for buggy
5022 jadetex version in sid and breezy that loops infinitely and
5025 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5027 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5028 (test_event), (timediff), (gstevents_suite):
5029 Provide more error margin in clock measurements to allow for
5030 g_get_current_time inaccuracies.
5032 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5034 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5035 (test_event), (timediff), (gstevents_suite):
5036 Fix error message output so I might be able to tell why the
5037 test works here but fails on the build farm.
5039 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5041 * check/Makefile.am:
5042 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5043 (test_event), (timediff), (gstevents_suite), (main):
5046 * docs/design/part-seeking.txt:
5049 * docs/gst/tmpl/gstevent.sgml:
5050 * docs/gst/tmpl/gstfakesrc.sgml:
5053 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5054 Treat a buffer-without-newsegment the same as a receiving
5055 a newsegment not in time format, and disable syncing to the clock
5058 * gst/gstbus.c: (gst_bus_set_sync_handler):
5059 Assert if anyone tries to replace the existing sync_handler for bus,
5060 as only the owner should be setting it.
5063 Have a fixed set of custom event enums with events identified by
5064 their structure name (as in 0.8), rather than a free-for-all
5065 allowing collisions between enum values from different plugins.
5067 * gst/gstpad.c: (gst_pad_class_init):
5070 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5071 Handle out-of-band downstream events from the sending thread.
5073 2005-08-17 Andy Wingo <wingo@pobox.com>
5075 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5076 play-timeout==0 to mean no timeout at all. In that case, don't
5077 bother with a get_state or a warning, just return directly, even
5080 * gst/base/gstbasetransform.c: Debug changes.
5083 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5084 ensure bins post state change messages. A bit of a hack but I can't
5085 think of a way to avoid it.
5087 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5089 2005-08-16 Andy Wingo <wingo@pobox.com>
5091 * gst/base/gstadapter.h:
5092 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5093 peek() but you own the data. Not terribly efficient atm.
5095 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5097 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5098 (gst_element_found_tags):
5100 Add two utility functions for tag handling.
5102 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5104 * docs/manual/advanced-dataaccess.xml:
5105 * docs/manual/basics-helloworld.xml:
5106 Fix docs to use _bin_add() before _link(), which fixes the examples
5107 with recent core versions (reported by Madhan Raj M
5108 <raj_madan@rediffmail.com>, #313199).
5110 2005-08-16 Wim Taymans <wim@fluendo.com>
5112 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5113 Added subtract checks.
5115 * docs/design/part-events.txt:
5116 Some more docs about newsegment
5118 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5121 * gst/gstcaps.c: (gst_caps_to_string):
5122 Add comments, cleanups.
5124 * gst/gstelement.c: (gst_element_save_thyself):
5127 * gst/gstvalue.c: (gst_value_collect_int_range),
5128 (gst_string_unwrap), (gst_value_union_int_int_range),
5129 (gst_value_union_int_range_int_range),
5130 (gst_value_intersect_int_int_range),
5131 (gst_value_intersect_int_range_int_range),
5132 (gst_value_intersect_double_double_range),
5133 (gst_value_intersect_double_range_double_range),
5134 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5135 (gst_value_subtract_int_range_int),
5136 (gst_value_subtract_double_range_double),
5137 (gst_value_subtract_double_range_double_range),
5138 (gst_value_subtract_from_list), (gst_value_subtract_list),
5139 (gst_value_can_compare), (gst_value_compare_fraction):
5140 Cleanups, add comments, remove unneeded asserts.
5142 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5144 * tools/gst-launch.c: (event_loop):
5145 don't convert NULL structures to strings
5147 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5149 * docs/gst/gstreamer-sections.txt:
5150 made some defines private
5151 * docs/gst/tmpl/gstconfig.sgml:
5152 * docs/gst/tmpl/gstqueue.sgml:
5153 * docs/gst/tmpl/gsttaglist.sgml:
5154 * docs/gst/tmpl/gsttypes.sgml:
5155 * docs/gst/tmpl/gstutils.sgml:
5156 * docs/pwg/appendix-porting.xml:
5157 * gst/base/gstbasesink.h:
5158 * gst/base/gstbasesrc.c:
5159 * gst/base/gstbasesrc.h:
5160 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5161 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5162 * gst/gstelement.c: (gst_element_class_init):
5163 * gst/gstpad.c: (gst_pad_class_init):
5164 * gst/gstqueue.c: (gst_queue_class_init):
5165 * gst/gstxml.c: (gst_xml_class_init):
5166 documented all undocumented signal inline
5167 * libs/gst/controller/gst-controller.h:
5170 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5172 * docs/pwg/appendix-porting.xml:
5173 Document _set_link_function -> _set_setcaps_function.
5175 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5177 * check/Makefile.am:
5178 add a .check target for running the check
5179 * check/gst-libs/controller.c: (GST_START_TEST):
5181 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5182 complete checks for gstbuffer; would be nice if I could get the
5183 gcov stuff to work so I can see if I actually completed gstbuffer.c
5185 add ASSERT_BUFFER_REFCOUNT
5187 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5189 * docs/gst/gstreamer-sections.txt:
5190 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5192 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5193 spew out a warning if a tag that is already registered
5194 is re-registered, unless it is re-registered with a
5195 different type (#308438).
5197 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5199 * docs/pwg/appendix-porting.xml:
5200 * docs/pwg/building-state.xml:
5201 Add some paragraphs about state changes in 0.9 to the PWG
5202 and the porting guide, in particular about the new meaning
5203 of GST_STATE_PAUSED and how to write state change functions
5204 with concurrent access by multiple threads in mind.
5206 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5208 * docs/gst/gstreamer-docs.sgml:
5209 * docs/libs/gstreamer-libs-docs.sgml:
5210 added deprecation and since indexes
5211 * libs/gst/controller/gst-controller.c:
5212 * libs/gst/controller/gst-helper.c:
5216 2005-08-11 Wim Taymans <wim@fluendo.com>
5218 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5219 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5220 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5221 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5222 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5223 (gst_ghost_pad_set_target):
5224 Actually implement (re)setting the target on a ghostpad
5225 as described in the docs.
5227 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5229 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5230 Check whether GST_DEBUG_NO_COLOR environment variable is
5231 set and disable coloured debug output if that is the case.
5233 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5235 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5236 (gst_type_find_helper):
5237 The memory returned by gst_type_find_peek() needs to
5238 stay valid until the end of a typefind function, and
5239 typefind functions may keep results from different
5240 offsets around, so we can't just unref the buffer from
5241 the previous _peek(), but have to save all buffers
5242 returned by _peek() until typefinding is done and only
5245 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5247 * docs/gst/gstreamer-sections.txt:
5249 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5251 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5253 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5254 Fix a pretty good memleak.
5256 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5258 * gst/gstiterator.h:
5259 Fix wrong include and 'make distcheck'.
5261 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5263 * gst/gstbin.c: (bin_bus_handler):
5264 Use gst_element_post_message() instead.
5266 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5268 * gst/base/gstadapter.h:
5269 * gst/base/gstbasesink.h:
5270 * gst/base/gstbasesrc.h:
5271 * gst/base/gstbasetransform.h:
5272 * gst/base/gstcollectpads.h:
5273 * gst/base/gstpushsrc.h:
5274 * gst/gstiterator.h:
5275 Add padding to our base elements' class and instance structs and
5276 to GstIterator (you will need to rebuild all plugins and apps!)
5278 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5280 * gst/gstbin.c: (bin_bus_handler):
5281 Make default message forwarding from child->bus to bin->bus
5282 threadsafe and make it not emit warnings if the parent has no bus.
5284 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5286 * gst/gstelement.c: (activate_pads):
5287 On paused->ready, set pad->caps to NULL, as is the documented
5288 behaviour in this state change. Fixes playback of series of
5289 media files when visualization is enabled in Totem.
5291 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5293 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5294 Allow NULL as filter-caps (which means "any").
5296 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5298 * docs/libs/gstreamer-libs-sections.txt:
5299 * libs/gst/controller/gst-controller.c:
5300 * libs/gst/controller/gst-controller.h:
5301 * libs/gst/controller/gst-helper.c:
5302 adding more entries to the docs and fix small doc-bugs
5304 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5306 * docs/gst/gstreamer-docs.sgml:
5307 * docs/gst/gstreamer-sections.txt:
5308 * docs/gst/gstreamer.types:
5309 * docs/gst/tmpl/gstbasesink.sgml:
5310 * docs/gst/tmpl/gstbasesrc.sgml:
5311 * docs/gst/tmpl/gstbasetransform.sgml:
5312 * docs/gst/tmpl/gstfakesrc.sgml:
5313 * gst/base/gstcollectpads.c:
5314 * gst/base/gstcollectpads.h:
5315 * libs/gst/controller/gst-controller.c:
5316 * libs/gst/controller/gst-controller.h:
5317 * libs/gst/controller/gst-helper.c:
5318 * libs/gst/controller/gst-interpolation.c:
5319 * libs/gst/controller/lib.c:
5320 added long/short desc for controller docs
5321 added collectpads base class docs
5322 added correct includes to base-class docs
5324 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5326 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5327 (gst_test_mono_source_set_property),
5328 (gst_test_mono_source_class_init), (GST_START_TEST),
5329 (gst_controller_suite):
5330 * docs/gst/gstreamer-docs.sgml:
5331 * docs/gst/gstreamer-sections.txt:
5332 * docs/gst/gstreamer.types:
5333 * docs/libs/gstreamer-libs-docs.sgml:
5334 * docs/libs/gstreamer-libs-sections.txt:
5335 * gst/base/gstadapter.c:
5336 * libs/gst/controller/gst-controller.c:
5337 (gst_controlled_property_new), (gst_controlled_property_free),
5338 (gst_controller_new_valist),
5339 (gst_controller_remove_properties_valist),
5340 (gst_controller_sink_values), (_gst_controller_finalize):
5341 * libs/gst/controller/gst-controller.h:
5342 * libs/gst/controller/gst-helper.c:
5343 (gst_object_control_properties), (gst_object_uncontrol_properties),
5344 (gst_object_get_controller), (gst_object_set_controller),
5345 (gst_object_sink_values), (gst_object_get_value_arrays),
5346 (gst_object_get_value_array):
5347 more tests (and fixes) for the controller
5348 more docs for the controller
5349 integrated companies docs for the adapter
5351 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5353 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5354 (GST_START_TEST), (fakesrc_suite):
5355 add tests for sizetype
5357 2005-08-04 Andy Wingo <wingo@pobox.com>
5359 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5360 fixes buffer_alloc proxying among other things.
5362 * gst/base/gstbasetransform.c:
5363 * gst/base/gstbasetransform.h:
5364 Revert patch to gstbasetransform from 7-28 removing
5367 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5368 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5369 Semantics changed, should return not the size of the output buffer
5370 but the byte size of a buffer with a given caps.
5372 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5374 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5375 out) are not the pad caps until setcaps finishes.
5376 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5377 not-in-place case as well. Deal with changing from in-place to
5378 not-in-place within calling pad_alloc_buffer. Still a bit
5379 concerned about the overhead here...
5381 2005-08-03 Andy Wingo <wingo@pobox.com>
5383 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5384 fixating is an error.
5386 2005-08-04 Edward Hervey <edward@fluendo.com>
5388 * gst/base/gstadapter.h:
5389 Added gst_adapter_get_type() to the header
5391 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5393 * check/Makefile.am:
5394 * check/gst-libs/controller.c:
5395 * libs/gst/controller/gst-controller.c:
5396 (gst_controller_new_valist):
5397 added check test suite for the controller
5398 * gst/base/gstpushsrc.c:
5401 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5403 * docs/gst/Makefile.am:
5404 * docs/gst/gstreamer-docs.sgml:
5405 * docs/gst/gstreamer-sections.txt:
5406 * docs/gst/gstreamer.types:
5407 * docs/gst/tmpl/gstfakesrc.sgml:
5409 * gst/base/gstbasesink.c:
5410 * gst/base/gstbasesink.h:
5411 * gst/base/gstbasesrc.c:
5412 * gst/base/gstbasesrc.h:
5413 * gst/base/gstbasetransform.c:
5414 * gst/base/gstpushsrc.c:
5415 * gst/base/gstpushsrc.h:
5416 add short/long description docs to base classes
5417 add pushsrc to the docs
5418 remove consolidated doc fragments
5420 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5423 * docs/libs/Makefile.am:
5424 * docs/libs/gstreamer-libs-docs.sgml:
5425 * docs/libs/gstreamer-libs-sections.txt:
5426 * docs/libs/gstreamer-libs.types:
5427 * examples/Makefile.am:
5428 * examples/controller/.cvsignore:
5429 * examples/controller/Makefile.am:
5430 * examples/controller/audio-example.c: (main):
5431 * libs/gst/Makefile.am:
5432 * libs/gst/controller/.cvsignore:
5433 * libs/gst/controller/Makefile.am:
5434 * libs/gst/controller/gst-controller.c:
5435 (on_object_controlled_property_changed), (gst_timed_value_compare),
5436 (gst_timed_value_find),
5437 (gst_controlled_property_set_interpolation_mode),
5438 (gst_controlled_property_new), (gst_controlled_property_free),
5439 (gst_controller_find_controlled_property),
5440 (gst_controller_new_valist), (gst_controller_new),
5441 (gst_controller_remove_properties_valist),
5442 (gst_controller_remove_properties), (gst_controller_set),
5443 (gst_controller_set_from_list), (gst_controller_unset),
5444 (gst_controller_get), (gst_controller_get_all),
5445 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5446 (gst_controller_get_value_array),
5447 (gst_controller_set_interpolation_mode),
5448 (_gst_controller_finalize), (_gst_controller_init),
5449 (_gst_controller_class_init), (gst_controller_get_type):
5450 * libs/gst/controller/gst-controller.h:
5451 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5452 (g_object_uncontrol_properties), (g_object_get_controller),
5453 (g_object_set_controller), (g_object_sink_values),
5454 (g_object_get_value_arrays), (g_object_get_value_array):
5455 * libs/gst/controller/gst-interpolation.c:
5456 (gst_controlled_property_find_timed_value_node),
5457 (interpolate_none_get), (interpolate_trigger_get),
5458 (interpolate_trigger_get_value_array):
5459 * libs/gst/controller/lib.c: (gst_controller_init):
5460 * pkgconfig/Makefile.am:
5461 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5462 * pkgconfig/gstreamer-control.pc.in:
5463 * testsuite/Makefile.am:
5464 * testsuite/controller/.cvsignore:
5465 * testsuite/controller/Makefile.am:
5466 * testsuite/controller/interpolator.c: (main):
5467 added controller code
5468 removed dparam pc files
5470 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5471 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5472 (gst_collectpads_stop):
5473 Broadcast the condition when shutting down, to make sure we wake all
5474 threads up. Shut down pads on finalize, for safety.
5476 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5477 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5478 (gst_base_transform_handle_buffer),
5479 (gst_base_transform_change_state):
5480 Handle PAUSED->READY->PAUSED transition after negotiation
5482 * gst/gstmessage.c: (gst_message_init):
5483 Extra piece of debug for new messages.
5485 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5488 * docs/gst/tmpl/gstbasesrc.sgml:
5489 * docs/gst/tmpl/gstelement.sgml:
5490 * docs/gst/tmpl/gstevent.sgml:
5491 * docs/gst/tmpl/gstfakesrc.sgml:
5492 * docs/gst/tmpl/gstformat.sgml:
5493 * docs/gst/tmpl/gstghostpad.sgml:
5494 * docs/gst/tmpl/gstpad.sgml:
5495 * docs/gst/tmpl/gstquery.sgml:
5496 * docs/gst/tmpl/gststructure.sgml:
5497 * docs/gst/tmpl/gsttaglist.sgml:
5498 * docs/gst/tmpl/gstvalue.sgml:
5499 * docs/libs/gstreamer-libs-docs.sgml:
5500 * docs/libs/gstreamer-libs-sections.txt:
5501 * docs/libs/gstreamer-libs.types:
5502 * libs/gst/Makefile.am:
5503 * libs/gst/control/.cvsignore:
5504 * libs/gst/control/Makefile.am:
5505 * libs/gst/control/control.c:
5506 * libs/gst/control/control.h:
5507 * libs/gst/control/dparam.c:
5508 * libs/gst/control/dparam.h:
5509 * libs/gst/control/dparam_smooth.c:
5510 * libs/gst/control/dparam_smooth.h:
5511 * libs/gst/control/dparamcommon.h:
5512 * libs/gst/control/dparammanager.c:
5513 * libs/gst/control/dparammanager.h:
5514 * libs/gst/control/dplinearinterp.c:
5515 * libs/gst/control/dplinearinterp.h:
5516 * libs/gst/control/unitconvert.c:
5517 * libs/gst/control/unitconvert.h:
5518 * testsuite/Makefile.am:
5519 * testsuite/dynparams/.cvsignore:
5520 * testsuite/dynparams/Makefile.am:
5521 * testsuite/dynparams/dparamstest.c:
5522 * tools/Makefile.am:
5523 * tools/gst-inspect.c: (print_element_info), (main):
5524 * tools/gst-xmlinspect.c: (print_element_info), (main):
5525 deactivate and remove dparams (libgstcontrol)
5527 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5529 * gst/elements/gsttypefindelement.c:
5530 (gst_type_find_element_have_type), (gst_type_find_element_init),
5531 (stop_typefinding), (gst_type_find_element_handle_event),
5532 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5533 * gst/elements/gsttypefindelement.h:
5534 Set caps on all outgoing buffers, not just the first one.
5536 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5538 * gst/elements/gsttypefindelement.c:
5539 (gst_type_find_element_have_type),
5540 (gst_type_find_element_check_set_buffer_caps),
5541 (gst_type_find_element_init), (stop_typefinding),
5542 (gst_type_find_element_handle_event),
5543 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5544 * gst/elements/gsttypefindelement.h:
5545 Set caps on first outgoing buffer when we've found the type.
5547 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5549 * docs/gst/gstreamer-docs.sgml:
5550 * docs/gst/gstreamer-sections.txt:
5551 * docs/gst/tmpl/gstscheduler.sgml:
5552 * docs/gst/tmpl/gstschedulerfactory.sgml:
5553 Remove some old cruft from docs.
5555 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5558 Fix inline docs for GstPadLinkReturn.
5560 * gst/gststructure.c: (gst_structure_has_name):
5561 * gst/gststructure.h:
5562 * docs/gst/gstreamer-sections.txt:
5563 New API: gst_structure_has_name().
5565 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5568 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5569 and _LARGEFILE_SOURCE in config.h as required. Do not
5570 export those flags in our .pc files any longer (#142209).
5572 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5574 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5575 (gst_file_sink_do_seek), (gst_file_sink_event),
5576 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5577 Redo seek/tell calls with large file support in mind; add some
5578 debugging messages; add log message that tells us when large
5579 file support is unavailable or not enabled for some reason.
5581 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5582 Add log message that tells us when large file support
5583 is unavailable or not enabled for some reason.
5585 2005-07-29 Wim Taymans <wim@fluendo.com>
5587 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5588 Added test for removing an element with ghostpad from a bin.
5589 Fixed test as current implementation does the right thing.
5591 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5592 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5593 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5594 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5595 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5596 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5597 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5598 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5599 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5600 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5601 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5602 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5603 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5604 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5605 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5606 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5607 * gst/gstghostpad.h:
5608 Clean up ghostpads, remove properties for internal stuff.
5611 Prepare for switching targets, not all use cases work yet.
5613 2005-07-29 Wim Taymans <wim@fluendo.com>
5615 * docs/design/part-gstghostpad.txt:
5618 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5619 (gst_bin_remove_func):
5620 Unlinking pads while holding the bin LOCK is not a good
5623 * gst/gstpad.c: (gst_pad_class_init),
5624 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5625 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5626 No prob setting template after creating the pad.
5628 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5630 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5631 (gst_bus_peek), (gst_bus_source_dispatch),
5632 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5633 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5634 gst_bus_poll may be called from other threads. Handle
5635 this nicely by not making poll_data disappear off the
5636 stack once gst_bus_poll returns.
5637 gst_bus_peek now increments the refcount on the returned
5640 2005-07-29 Wim Taymans <wim@fluendo.com>
5642 * docs/design/part-gstghostpad.txt:
5643 Overview of current GhostPad datastructures and use
5644 cases for changing the target.
5646 2005-07-28 Wim Taymans <wim@fluendo.com>
5648 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5649 Added checks for hierarchy consistency whan adding linked
5652 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5653 Added check to test element scheduling without bin/pipeline.
5655 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5656 First add elements to bin, then link.
5658 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5659 (gst_bin_remove_func):
5660 Unlink pads from elements added/removed from bin to maintain
5661 hierarchy consistency.
5663 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5665 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5666 (gst_base_transform_handle_buffer):
5667 * gst/base/gstbasetransform.h:
5668 Remove broken delay_configure (fixes renegotiation of software
5669 scaling pipelines); remove some leftover printf()s.
5671 2005-07-28 Wim Taymans <wim@fluendo.com>
5673 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5674 Added some more tests for wrong hierarchy
5676 * docs/design/part-overview.txt:
5679 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5682 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5683 (gst_element_dispose):
5686 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5687 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5688 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5689 (gst_pad_set_caps), (gst_pad_send_event):
5690 Check for correct hierarchy when linking pads. Moving to
5691 strict requirement for ghostpads when linking elements in
5695 Clean ups. Added WRONG_HIERARCHY return value.
5697 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5699 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5700 Better debug if no transform is possible.
5702 2005-07-27 Wim Taymans <wim@fluendo.com>
5704 * docs/random/wtay/network-transp:
5707 2005-07-27 Wim Taymans <wim@fluendo.com>
5709 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5710 (gst_dp_event_from_packet):
5711 Fix serialization of seek events.
5713 2005-07-27 Wim Taymans <wim@fluendo.com>
5715 * check/gst-libs/gdp.c: (GST_START_TEST):
5716 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5717 Fix compilation and fix event serialization.
5719 2005-07-27 Wim Taymans <wim@fluendo.com>
5722 * docs/design/part-TODO.txt:
5723 * docs/design/part-events.txt:
5726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5727 (gst_base_sink_event), (gst_base_sink_do_sync),
5728 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5729 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5730 (gst_base_src_do_seek), (gst_base_src_event_handler),
5731 (gst_base_src_loop):
5732 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5733 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5734 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5735 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5736 (gst_base_transform_set_passthrough),
5737 (gst_base_transform_is_passthrough):
5738 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5739 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5745 * gst/gstelement.c: (gst_element_seek):
5747 Update gst_element_seek.
5749 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5750 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5751 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5752 (gst_event_new_eos), (gst_event_new_newsegment),
5753 (gst_event_parse_newsegment), (gst_event_new_tag),
5754 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5755 (gst_event_parse_qos), (gst_event_new_seek),
5756 (gst_event_parse_seek), (gst_event_new_navigation):
5758 Make GstEvent use GstStructure. Add parsing code, make sure the
5759 API is sufficiently generic.
5760 Mark possible directions of events and serialization.
5762 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5763 (_gst_message_copy), (gst_message_new_segment_start),
5764 (gst_message_new_segment_done), (gst_message_new_custom),
5765 (gst_message_parse_segment_start),
5766 (gst_message_parse_segment_done):
5769 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5770 (gst_pad_set_caps), (gst_pad_send_event):
5771 Update for new events.
5772 Catch events sent in wrong directions.
5774 * gst/gstqueue.c: (gst_queue_link_src),
5775 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5776 (gst_queue_handle_src_query):
5781 Remove event code from this file.
5783 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5784 (gst_dp_event_from_packet):
5787 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5789 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5790 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5791 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5792 Make debugging actually useful.
5794 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5796 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5797 (gst_pad_fixate_caps):
5798 Implement default fixation once again, so that gst_pad_fixate()
5799 actually does anything at all. This probably needs to be some
5800 sort of a last resort, and use profile-based fixation first, but
5801 since that doesn't exist yet, this is the best we have. Fixes
5802 visualization in Totem.
5804 2005-07-22 Wim Taymans <wim@fluendo.com>
5806 * docs/design/part-events.txt:
5809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5810 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5811 (gst_base_sink_activate_pull):
5814 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5815 (gst_fake_src_create):
5816 Fix handoff marshall.
5818 * gst/elements/gstidentity.c: (gst_identity_class_init),
5819 (gst_identity_transform_ip):
5820 We're a real inplace element.
5822 * gst/gstbus.c: (gst_bus_post):
5823 Added some comments.
5825 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5826 * tests/muxing/case1.c: (main):
5827 * tests/sched/dynamic-pipeline.c: (main):
5828 * tests/sched/interrupt1.c: (main):
5829 * tests/sched/interrupt2.c: (main):
5830 * tests/sched/interrupt3.c: (main):
5831 * tests/sched/runxml.c: (main):
5832 * tests/sched/sched-stress.c: (main):
5833 * tests/seeking/seeking1.c: (event_received), (main):
5834 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5836 * tests/threadstate/threadstate3.c: (main):
5837 * tests/threadstate/threadstate4.c: (main):
5838 * tests/threadstate/threadstate5.c: (main):
5841 2005-07-21 Wim Taymans <wim@fluendo.com>
5843 * docs/design/part-seeking.txt:
5844 Some small additions.
5846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5847 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5848 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5849 * gst/base/gstbasesink.h:
5850 discont values are gint64, handle the math correctly.
5852 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5853 Make the basesrc report error if the source pad is not linked.
5855 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5856 (gst_queue_loop), (gst_queue_handle_src_query),
5857 (gst_queue_src_activate_push):
5858 Make queue collect data even if the srcpad is not linked.
5859 Start pushing out data as soon as it is linked.
5861 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5863 Added gst_flow_get_name() to ease error reporting.
5865 2005-07-20 Wim Taymans <wim@fluendo.com>
5867 * gst/gstmessage.c: (gst_message_new_segment_start),
5868 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5869 (gst_message_parse_segment_done):
5871 Added a bunch of messages for advanced seeking.
5873 * gst/parse/grammar.y:
5874 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5875 (gst_dpman_state_changed):
5876 Fix some new-pad -> pad-added signals
5878 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5880 * docs/manual/appendix-porting.xml:
5881 * docs/pwg/appendix-porting.xml:
5882 Document new-pad/state-change signal renames and the FixedList
5885 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5887 * docs/manual/advanced-autoplugging.xml:
5888 * docs/manual/basics-helloworld.xml:
5889 * docs/manual/basics-pads.xml:
5890 * docs/random/ds/0.9-suggested-changes:
5891 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5896 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5897 (gst_structure_parse_array), (gst_structure_parse_value):
5898 * gst/gstvalue.c: (gst_type_is_fixed),
5899 (gst_value_list_prepend_value), (gst_value_list_append_value),
5900 (gst_value_list_get_size), (gst_value_list_get_value),
5901 (gst_value_transform_array_string), (gst_value_serialize_array),
5902 (gst_value_deserialize_array), (gst_value_intersect_array),
5903 (gst_value_is_fixed), (_gst_value_initialize):
5905 GstElement::new-pad -> pad-added, GstElement::state-change ->
5906 state-changed, GstValueFixedList -> GstValueArray, add format and
5907 flags as their own arguments in gst_element_seek() (should improve
5908 "bindeability"), remove function generators since they don't work
5909 under a whole bunch of compilers (they were deprecated already
5912 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5914 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5915 (_gst_debug_register_funcptr):
5917 Fix illegal cast on some platforms (#309253).
5919 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5921 * gst/gstmessage.c: (gst_message_new_custom):
5923 Add _new_custom, make _new_application a macro to _new_custom.
5925 2005-07-20 Wim Taymans <wim@fluendo.com>
5927 * gst/base/gstbasesrc.c: (gst_base_src_init),
5928 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5929 * gst/base/gstbasesrc.h:
5930 Add a gboolean to decide when to push out a discont.
5932 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5933 (gst_queue_loop), (gst_queue_handle_src_query),
5934 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5935 (gst_queue_set_property), (gst_queue_get_property):
5938 * tests/threadstate/threadstate1.c: (main):
5939 Make a thread test compile and run... very silly..
5942 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5944 * docs/manual/appendix-porting.xml:
5945 Mention removal of libgstgconf-0.9.la and existence of gconf
5948 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5950 * docs/pwg/advanced-clock.xml:
5951 * docs/pwg/appendix-porting.xml:
5952 * docs/pwg/intro-preface.xml:
5953 * docs/pwg/other-base.xml:
5954 * docs/pwg/other-manager.xml:
5955 * docs/pwg/other-nton.xml:
5956 * docs/pwg/other-ntoone.xml:
5957 * docs/pwg/other-oneton.xml:
5959 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5960 demuxer), remove n-to-n (was never written), fix some code examples
5961 and links and update the porting section to include all this.
5963 2005-07-19 Wim Taymans <wim@fluendo.com>
5965 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5966 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5967 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5968 (gst_queue_src_activate_push), (gst_queue_change_state),
5969 (gst_queue_get_property):
5971 Propagate GstFlowReturn more intelligently upstream and output
5972 an ERROR/EOS when streaming stopped due to fatal error.
5974 2005-07-19 Wim Taymans <wim@fluendo.com>
5976 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5977 Don't block forever for the state change to complete, the
5978 pipeline already did with a sensible timeout.
5980 2005-07-19 Wim Taymans <wim@fluendo.com>
5982 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5983 Make sure we never call the create function is we
5986 2005-07-19 Andy Wingo <wingo@pobox.com>
5988 * gst/parse/parse.l: Attempt to solve bug #172815.
5990 2005-07-19 Wim Taymans <wim@fluendo.com>
5992 * docs/design/part-clocks.txt:
5993 * docs/design/part-events.txt:
5994 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5996 Only update the seeking values when we are not
5999 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6001 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6002 Oops, ignore the result of gst_pad_push_event here.
6004 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6006 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6007 (gst_base_src_activate_push):
6008 Send discont event from the loop function, as pads
6009 aren't activated yet in the activate_push handler.
6011 * gst/gstbin.c: (bin_bus_handler):
6012 Don't leak element name.
6014 2005-07-18 Andy Wingo <wingo@pobox.com>
6016 * configure.ac: Use AS_LIBTOOL_TAGS.
6018 2005-07-18 Wim Taymans <wim@fluendo.com>
6020 * docs/gst/gstreamer.types:
6021 Remove deleted types.
6023 2005-07-18 Wim Taymans <wim@fluendo.com>
6025 * check/elements/gstfakesrc.c: (GST_START_TEST):
6028 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6029 (init_popt_callback):
6031 * gst/gst_private.h:
6032 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6033 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6036 * gst/gstconfig.h.in:
6037 * gst/gstelement.c: (gst_element_class_init),
6038 (gst_element_set_base_time), (gst_element_get_base_time),
6039 (iterator_fold_with_resync), (gst_element_change_state),
6040 (gst_element_dispose), (gst_element_get_bus):
6042 * gst/gstelementfactory.h:
6043 * gst/gsterror.c: (_gst_core_errors_init):
6046 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6048 * gst/gstinfo.c: (_gst_debug_init):
6049 * gst/gstmessage.c: (_gst_message_copy):
6051 * gst/gstminiobject.h:
6054 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6055 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6058 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6059 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6060 (gst_pipeline_get_last_stream_time):
6061 * gst/gstpipeline.h:
6062 * gst/gstpluginfeature.h:
6064 * gst/gstscheduler.c:
6065 * gst/gstscheduler.h:
6066 * gst/gststructure.h:
6067 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6068 (gst_task_finalize), (gst_task_func), (gst_task_create),
6069 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6070 (gst_task_stop), (gst_task_pause):
6072 * gst/gsttypefind.h:
6074 * gst/registries/gstlibxmlregistry.c: (load_feature),
6075 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6076 * gst/registries/gstxmlregistry.c:
6077 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6078 * gst/schedulers/threadscheduler.c:
6079 * libs/gst/control/dparammanager.h:
6080 * tools/gst-inspect.c: (print_element_list),
6081 (print_plugin_features), (print_element_features):
6082 * tools/gst-xmlinspect.c: (print_element_list),
6083 (print_plugin_info), (main):
6084 Removed plugable schedulers.
6085 Removed Scheduler/Manager from elements.
6086 Removed gsttypes.h, rearranged includes.
6087 Removed dependency pad<->element, element<>pipeline, and
6088 various others, fix includes.
6089 implement gst_pad_get_parent() with gst_object_get_parent()
6090 Make GstTask sefcontained.
6091 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6093 Fix endless loop in iterator_fold_with_resync.
6096 2005-07-18 Wim Taymans <wim@fluendo.com>
6102 2005-07-18 Wim Taymans <wim@fluendo.com>
6107 2005-07-18 Wim Taymans <wim@fluendo.com>
6113 2005-07-18 Wim Taymans <wim@fluendo.com>
6115 * docs/design/part-dynamic.txt:
6116 * docs/design/part-events.txt:
6117 * docs/design/part-seeking.txt:
6118 Some more docs in the works.
6120 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6121 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6122 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6123 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6124 (gst_base_transform_handle_buffer),
6125 (gst_base_transform_sink_activate_push),
6126 (gst_base_transform_src_activate_pull),
6127 (gst_base_transform_set_passthrough),
6128 (gst_base_transform_is_passthrough):
6131 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6134 * gst/gstevent.c: (gst_event_finalize):
6137 * gst/gstutils.c: (gst_element_unlink),
6138 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6139 (gst_pad_proxy_setcaps):
6141 Add _get_parent_element() to get a pads parent as an element.
6143 2005-07-18 Wim Taymans <wim@fluendo.com>
6145 * check/gst/gstbin.c: (GST_START_TEST):
6148 2005-07-18 Wim Taymans <wim@fluendo.com>
6150 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6151 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6152 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6153 (gst_base_sink_event), (gst_base_sink_do_sync),
6154 (gst_base_sink_chain), (gst_base_sink_loop),
6155 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6156 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6158 Fix logic for returning ASYNC when not prerolled.
6160 2005-07-18 Wim Taymans <wim@fluendo.com>
6162 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6163 Fix nasty refcount bug.
6165 2005-07-16 Philippe Khalaf <burger@speedy.org>
6167 * gst/elements/gstfdsrc.c:
6168 * gst/elements/gstfdsrc.h:
6169 * gst/elements/gstelements.c:
6170 * gst/elements/Makefile.am:
6171 Ported fdsrc to 0.9.
6173 2005-07-16 Wim Taymans <wim@fluendo.com>
6175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6176 (gst_base_sink_do_sync):
6179 2005-07-16 Wim Taymans <wim@fluendo.com>
6181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6182 (gst_base_sink_event), (gst_base_sink_get_times),
6183 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6184 * gst/base/gstbasesink.h:
6185 Store and use discont values when syncing buffers as described
6188 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6189 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6190 (gst_base_src_activate_push):
6191 Push discont event when starting.
6193 * gst/elements/gstidentity.c: (gst_identity_transform):
6196 * gst/gstbin.c: (gst_bin_change_state):
6197 Small cleanups in base_time distribution.
6199 * gst/gstelement.c: (gst_element_set_base_time),
6200 (gst_element_get_base_time), (gst_element_change_state):
6202 Added methods for the base_time of the element.
6205 * gst/gstpipeline.c: (gst_pipeline_send_event),
6206 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6207 (gst_pipeline_get_last_stream_time):
6208 * gst/gstpipeline.h:
6210 Handle seeking as described in design doc, remove stream_time
6212 Cleanups clock and stream_time selection code. Added accessors
6213 for the stream_time.
6216 2005-07-16 Andy Wingo <wingo@pobox.com>
6218 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6221 2005-07-16 Wim Taymans <wim@fluendo.com>
6223 * check/gst/gstbin.c: (GST_START_TEST):
6224 Make elements silent as the deep_notify refs the
6225 parent, which might make the test fail.
6227 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6228 Don't hold the lock for too long.
6230 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6232 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6233 Don't unref the caps we passed to gst_caps_make_writable() after
6234 passing them. gst_caps_make_writable() will do that for us.
6236 2005-07-15 Andy Wingo <wingo@pobox.com>
6238 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6241 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6242 own marshalling function for the handoff signal. Properly type the
6243 buffer as a buffer. Fixes some warnings. Should do a more general
6245 (gst_identity_class_init): Plug into the right marshaller.
6247 2005-07-15 Wim Taymans <wim@fluendo.com>
6249 * docs/design/part-TODO.txt:
6250 * docs/design/part-clocks.txt:
6251 * docs/design/part-element-sink.txt:
6252 * docs/design/part-events.txt:
6253 * docs/design/part-gstpipeline.txt:
6254 Updated docs, mostly DISCONT related.
6256 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6258 * docs/pwg/building-pads.xml:
6259 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6261 2005-07-15 Andy Wingo <wingo@pobox.com>
6263 * tools/gst-typefind.c: Update, add copyright block.
6265 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6266 Normalize and truncate caps before fixation.
6269 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6270 discards all but the first structure from its argument.
6272 2005-07-15 Wim Taymans <wim@fluendo.com>
6274 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6275 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6276 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6277 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6278 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6279 (gst_base_transform_chain), (gst_base_transform_change_state),
6280 (gst_base_transform_set_passthrough),
6281 (gst_base_transform_is_passthrough):
6282 * gst/base/gstbasetransform.h:
6283 Make passthrough work using the bufferpools.
6284 Changed API a bit, subclasses have to write into a buffer
6285 provided by the base class.
6286 More debug info in nego functions.
6288 * gst/elements/gstidentity.c: (gst_identity_init),
6289 (gst_identity_transform):
6290 Port to new base class.
6292 2005-07-15 Wim Taymans <wim@fluendo.com>
6294 * gst/gstmessage.c: (gst_message_new_state_changed):
6295 * tools/gst-launch.c: (event_loop), (main):
6296 Totally dump messages in -launch with the -m option.
6297 Fix message name for State messages,
6299 2005-07-14 Wim Taymans <wim@fluendo.com>
6301 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6302 Post error messages on errors.
6304 2005-07-14 Wim Taymans <wim@fluendo.com>
6306 * gst/gstcaps.c: (gst_caps_do_simplify):
6310 Define error for stream stopped.
6312 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6313 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6314 Do proper return values.
6316 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6317 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6318 (gst_pad_get_range):
6319 Better return values.
6322 Reorganise return values, add macro to check for fatal errors.
6324 * gst/gstqueue.c: (gst_queue_chain):
6325 Return proper GstFlowReturn values,
6327 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6329 * docs/gst/gstreamer-sections.txt:
6330 * docs/gst/gstreamer.types:
6331 * docs/gst/tmpl/gst.sgml:
6332 * docs/gst/tmpl/gstbasesink.sgml:
6333 * docs/gst/tmpl/gstbasesrc.sgml:
6334 * docs/gst/tmpl/gstbasetransform.sgml:
6335 * docs/gst/tmpl/gstbin.sgml:
6336 * docs/gst/tmpl/gstbuffer.sgml:
6337 * docs/gst/tmpl/gstcaps.sgml:
6338 * docs/gst/tmpl/gstclock.sgml:
6339 * docs/gst/tmpl/gstcompat.sgml:
6340 * docs/gst/tmpl/gstconfig.sgml:
6341 * docs/gst/tmpl/gstelement.sgml:
6342 * docs/gst/tmpl/gstelementdetails.sgml:
6343 * docs/gst/tmpl/gstelementfactory.sgml:
6344 * docs/gst/tmpl/gstenumtypes.sgml:
6345 * docs/gst/tmpl/gsterror.sgml:
6346 * docs/gst/tmpl/gstevent.sgml:
6347 * docs/gst/tmpl/gstfakesink.sgml:
6348 * docs/gst/tmpl/gstfakesrc.sgml:
6349 * docs/gst/tmpl/gstfilesink.sgml:
6350 * docs/gst/tmpl/gstfilesrc.sgml:
6351 * docs/gst/tmpl/gstfilter.sgml:
6352 * docs/gst/tmpl/gstformat.sgml:
6353 * docs/gst/tmpl/gstghostpad.sgml:
6354 * docs/gst/tmpl/gstimplementsinterface.sgml:
6355 * docs/gst/tmpl/gstindex.sgml:
6356 * docs/gst/tmpl/gstindexfactory.sgml:
6357 * docs/gst/tmpl/gstinfo.sgml:
6358 * docs/gst/tmpl/gstiterator.sgml:
6359 * docs/gst/tmpl/gstmacros.sgml:
6360 * docs/gst/tmpl/gstmemchunk.sgml:
6361 * docs/gst/tmpl/gstminiobject.sgml:
6362 * docs/gst/tmpl/gstobject.sgml:
6363 * docs/gst/tmpl/gstpad.sgml:
6364 * docs/gst/tmpl/gstpadtemplate.sgml:
6365 * docs/gst/tmpl/gstparse.sgml:
6366 * docs/gst/tmpl/gstpipeline.sgml:
6367 * docs/gst/tmpl/gstplugin.sgml:
6368 * docs/gst/tmpl/gstpluginfeature.sgml:
6369 * docs/gst/tmpl/gstquery.sgml:
6370 * docs/gst/tmpl/gstqueue.sgml:
6371 * docs/gst/tmpl/gstregistry.sgml:
6372 * docs/gst/tmpl/gstregistrypool.sgml:
6373 * docs/gst/tmpl/gstscheduler.sgml:
6374 * docs/gst/tmpl/gstschedulerfactory.sgml:
6375 * docs/gst/tmpl/gststructure.sgml:
6376 * docs/gst/tmpl/gstsystemclock.sgml:
6377 * docs/gst/tmpl/gsttaglist.sgml:
6378 * docs/gst/tmpl/gsttagsetter.sgml:
6379 * docs/gst/tmpl/gsttrace.sgml:
6380 * docs/gst/tmpl/gsttrashstack.sgml:
6381 * docs/gst/tmpl/gsttypefind.sgml:
6382 * docs/gst/tmpl/gsttypefindfactory.sgml:
6383 * docs/gst/tmpl/gsttypes.sgml:
6384 * docs/gst/tmpl/gsturihandler.sgml:
6385 * docs/gst/tmpl/gsturitype.sgml:
6386 * docs/gst/tmpl/gstutils.sgml:
6387 * docs/gst/tmpl/gstvalue.sgml:
6388 * docs/gst/tmpl/gstversion.sgml:
6389 * docs/gst/tmpl/gstxml.sgml:
6390 * docs/libs/tmpl/gstcontrol.sgml:
6391 * docs/libs/tmpl/gstdataprotocol.sgml:
6392 * docs/libs/tmpl/gstdparam.sgml:
6393 * docs/libs/tmpl/gstdplinint.sgml:
6394 * docs/libs/tmpl/gstdpman.sgml:
6395 * docs/libs/tmpl/gstdpsmooth.sgml:
6396 * docs/libs/tmpl/gstgetbits.sgml:
6397 * docs/libs/tmpl/gstunitconvert.sgml:
6398 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6399 (gst_push_src_base_init), (gst_push_src_class_init),
6400 (gst_push_src_init), (gst_push_src_create):
6401 * gst/base/gstpushsrc.h:
6402 * gst/elements/gstelements.c:
6403 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6404 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6405 (gst_fake_sink_init), (gst_fake_sink_set_property),
6406 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6407 (gst_fake_sink_event), (gst_fake_sink_preroll),
6408 (gst_fake_sink_render), (gst_fake_sink_change_state):
6409 * gst/elements/gstfakesink.h:
6410 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6411 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6412 (gst_fake_src_base_init), (gst_fake_src_class_init),
6413 (gst_fake_src_init), (gst_fake_src_event_handler),
6414 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6415 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6416 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6417 (gst_fake_src_create_buffer), (gst_fake_src_create),
6418 (gst_fake_src_start), (gst_fake_src_stop):
6419 * gst/elements/gstfakesrc.h:
6420 * gst/elements/gstfilesink.c: (_do_init),
6421 (gst_file_sink_base_init), (gst_file_sink_class_init),
6422 (gst_file_sink_init), (gst_file_sink_dispose),
6423 (gst_file_sink_set_location), (gst_file_sink_set_property),
6424 (gst_file_sink_get_property), (gst_file_sink_open_file),
6425 (gst_file_sink_close_file), (gst_file_sink_query),
6426 (gst_file_sink_event), (gst_file_sink_render),
6427 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6428 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6429 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6430 * gst/elements/gstfilesink.h:
6431 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6432 (gst_file_src_class_init), (gst_file_src_init),
6433 (gst_file_src_finalize), (gst_file_src_set_location),
6434 (gst_file_src_set_property), (gst_file_src_get_property),
6435 (gst_file_src_map_region), (gst_file_src_map_small_region),
6436 (gst_file_src_create_mmap), (gst_file_src_create_read),
6437 (gst_file_src_create), (gst_file_src_is_seekable),
6438 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6439 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6440 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6441 (gst_file_src_uri_handler_init):
6442 * gst/elements/gstfilesrc.h:
6443 more autistic cleanliness in functions/names/defines
6445 2005-07-13 Andy Wingo <wingo@pobox.com>
6447 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6448 source couldn't negotiate.
6450 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6454 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6455 function. I am channeling Hades. Put your boots on suckers!!!
6457 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6459 * testsuite/caps/Makefile.am:
6460 * testsuite/caps/value_compare.c:
6461 * testsuite/caps/value_intersect.c:
6462 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6463 move two testsuite apps over to the check dir
6465 2005-07-12 Wim Taymans <wim@fluendo.com>
6467 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6468 Added more debug info in the negotiate process.
6471 Prepare for segment playback.
6473 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6479 * tools/gst-launch.c: (main):
6480 NULL pipeline on errors.
6482 2005-07-12 Andy Wingo <wingo@pobox.com>
6484 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6485 not it comes from a malloc region. Make sure our copy gets freed.
6487 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6489 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6490 * check/gst/gstmessage.c: (GST_START_TEST):
6491 * check/gst/gststructure.c: (GST_START_TEST),
6492 (gst_structure_suite), (main):
6494 * gst/gstelement.c: (gst_element_message_full):
6495 clean up GError and debug string now that they get copied
6496 * gst/gstmessage.c: (gst_message_new_error),
6497 (gst_message_new_warning), (gst_message_parse_error),
6498 (gst_message_parse_warning):
6499 use GST_TYPE_G_ERROR for structure_new, and take copies of
6500 arguments, so that we don't mess up refcounting
6502 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6504 * check/Makefile.am:
6505 add per-test valgrind targets
6506 * check/gst-libs/gdp.c: (GST_START_TEST),
6507 (gst_data_protocol_suite), (main):
6510 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6512 * check/Makefile.am:
6513 instate more valgrindable tests
6514 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6515 (GST_START_TEST), (fakesrc_suite):
6516 * check/gst/gstpad.c: (GST_START_TEST):
6517 * check/gst/gststructure.c: (GST_START_TEST):
6519 * docs/gst/tmpl/gstminiobject.sgml:
6520 * gst/gstpad.c: (gst_pad_finalize):
6521 fix the static mutex leak
6523 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6525 * check/Makefile.am:
6526 add two more tests for valgrinding
6527 * check/gst/gstvalue.c: (GST_START_TEST):
6528 test refcount of deserialized buffer, found a leak
6529 * docs/gst/gstreamer-docs.sgml:
6530 * docs/gst/gstreamer-sections.txt:
6531 * docs/gst/gstreamer.types:
6532 * docs/gst/tmpl/gstminiobject.sgml:
6533 add miniobject to docs
6534 * gst/gstminiobject.c:
6536 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6537 (gst_string_unwrap):
6538 fix a hard-to-find invalid write for one of the tests
6539 fix a leak for deserialized buffers
6541 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6543 * docs/pwg/advanced-events.xml:
6544 * docs/pwg/advanced-request.xml:
6545 * docs/pwg/advanced-scheduling.xml:
6546 * docs/pwg/appendix-porting.xml:
6547 * docs/pwg/building-boiler.xml:
6548 * docs/pwg/intro-preface.xml:
6549 * docs/pwg/other-ntoone.xml:
6550 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6551 of example code and explanation for pad activation, loop() and
6552 getrange() functions and a bit more. Remove old comments pointing
6554 * examples/pwg/Makefile.am:
6555 Add loop/getrange examples.
6557 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6560 check for valgrind binary + some fixes
6562 valgrind suppressions for the tests
6563 * check/Makefile.am:
6564 add a valgrind: target that valgrinds the unit tests
6565 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6566 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6567 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6568 * check/gst/gstghostpad.c:
6570 * check/gst/gstdata.c:
6572 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6573 (thread_unref), (gst_mini_object_suite), (main):
6575 * gst/gst.c: (gst_deinit):
6577 add a method to clean up.
6578 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6579 (gst_system_clock_obtain):
6580 allow for disposing the system clock.
6581 * tools/gst-launch.c: (main):
6584 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6586 * docs/gst/tmpl/gstbasesrc.sgml:
6587 * docs/gst/tmpl/gstfakesrc.sgml:
6588 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6589 (gst_base_src_init), (gst_base_src_set_property),
6590 (gst_base_src_get_property), (gst_base_src_get_range),
6591 (gst_base_src_start):
6592 * gst/base/gstbasesrc.h:
6593 add num-buffers property
6594 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6595 (gst_fakesrc_init), (gst_fakesrc_set_property),
6596 (gst_fakesrc_get_property), (gst_fakesrc_create),
6597 (gst_fakesrc_start):
6598 remove num-buffers property
6600 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6602 * docs/gst/gstreamer-sections.txt:
6603 * docs/gst/tmpl/gstbasesink.sgml:
6604 * docs/gst/tmpl/gstbasesrc.sgml:
6605 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6606 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6607 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6608 (gst_base_sink_set_property), (gst_base_sink_get_property),
6609 (gst_base_sink_handle_object), (gst_base_sink_event),
6610 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6611 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6612 (gst_base_sink_loop), (gst_base_sink_deactivate),
6613 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6614 (gst_base_sink_change_state):
6615 * gst/base/gstbasesink.h:
6616 * gst/base/gstbasesrc.h:
6617 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6618 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6619 (gst_filesink_init):
6620 more macro splitting
6622 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6624 * gst/gstelement.c: (gst_element_get_bus):
6626 * tools/gst-launch.c: (check_intr), (event_loop):
6629 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6631 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6634 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6636 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6637 (gst_base_src_finalize):
6638 add finalize method and clean up properly
6639 * gst/gstpipeline.c: (gst_pipeline_dispose):
6642 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6644 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6646 add more things to check
6647 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6651 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6653 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6654 (GST_START_TEST), (fakesrc_suite):
6655 * check/gst-libs/gdp.c: (GST_START_TEST):
6656 * check/gst/gst.c: (GST_START_TEST):
6657 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6658 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6659 * check/gst/gstbus.c: (GST_START_TEST):
6660 * check/gst/gstcaps.c: (GST_START_TEST):
6661 * check/gst/gstdata.c: (GST_START_TEST):
6662 * check/gst/gstelement.c: (GST_START_TEST):
6663 * check/gst/gstghostpad.c: (GST_START_TEST):
6664 * check/gst/gstiterator.c: (GST_START_TEST):
6665 * check/gst/gstmessage.c: (GST_START_TEST):
6666 * check/gst/gstobject.c: (GST_START_TEST):
6667 * check/gst/gstpad.c: (GST_START_TEST):
6668 * check/gst/gststructure.c: (GST_START_TEST):
6669 * check/gst/gstsystemclock.c: (GST_START_TEST),
6670 (gst_systemclock_suite):
6671 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6672 * check/gst/gstvalue.c: (GST_START_TEST):
6673 * check/pipelines/cleanup.c: (GST_START_TEST):
6674 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6675 * check/states/sinks.c: (GST_START_TEST):
6676 * check/gstcheck.c: (gst_check_init):
6678 add debugging category
6679 use GST_START_TEST now, so we add a debug line
6681 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6683 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6684 add test for state change message on a bin
6685 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6687 * gst/gstbin.c: (gst_bin_init):
6688 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6689 * gst/gstelement.c: (gst_element_post_message),
6690 (gst_element_set_state):
6691 * gst/gstelementfactory.c: (gst_element_factory_create):
6692 * gst/gstmessage.c: (gst_message_new):
6693 * gst/gstscheduler.c:
6694 various debugging additions and cleanups
6696 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6698 * check/Makefile.am:
6699 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6701 adding tests for elements
6702 * gst/gstelement.c: (gst_element_dispose):
6704 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6706 * gst/registries/gstlibxmlregistry.c: (load_feature):
6707 plug more leaks. A simple gst_init() now is leakfree, yay.
6709 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6712 (gst_xml_registry_load):
6713 plug another memleak
6715 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6718 use GST_SET_ERROR_CFLAGS
6720 change to ERROR_CFLAGS
6722 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6725 make GST_ERROR_CFLAGS overridable and re-enable Werror
6727 add a note about error CFLAGS
6728 * docs/gst/tmpl/gstfakesrc.sgml:
6729 * gst/elements/gstfakesrc.c:
6730 comment out some unused code
6731 * gst/gst.c: (split_and_iterate):
6732 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6736 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6738 * common/Makefile.am:
6739 * common/gtk-doc.mak:
6740 * docs/gst/Makefile.am:
6741 factor out gtk-doc.mak
6743 2005-07-07 Wim Taymans <wim@fluendo.com>
6745 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6746 (gst_thread_scheduler_dispose):
6747 Unlock the STREAM_LOCK completely.
6749 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * check/Makefile.am:
6752 * check/elements/.cvsignore:
6753 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6754 (START_TEST), (fakesrc_suite), (main):
6755 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6756 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6757 (gst_fakesrc_create), (gst_fakesrc_start):
6758 * gst/elements/gstfakesrc.h:
6759 adding a first element test
6761 2005-07-07 Andy Wingo <wingo@pobox.com>
6763 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6766 2005-07-07 Wim Taymans <wim@fluendo.com>
6772 2005-07-07 Wim Taymans <wim@fluendo.com>
6774 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6775 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6776 Allow subclasses to implement their own negotiation.
6778 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6780 * docs/design/part-gstbin.txt:
6781 * docs/design/part-gstpipeline.txt:
6782 Update design notes to reflect the movement of
6783 responsibility for bus handling from GstPipeline to
6786 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6789 Remove unnecessary queue2/3/4 examples.
6791 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6793 * examples/Makefile.am:
6794 * examples/helloworld/helloworld.c: (event_loop), (main):
6795 * examples/queue/queue.c: (event_loop), (main):
6796 * examples/queue2/queue2.c: (main):
6797 Update a couple of the examples to work again.
6799 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6800 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6801 Spelling corrections and extra debug.
6803 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6804 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6805 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6807 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6808 (gst_pipeline_change_state):
6809 * gst/gstpipeline.h:
6810 Move the bus handler for children to the GstBin, and create a
6811 separate bus for receiving messages from children to the one the
6812 bus sends 'upwards' on.
6814 2005-07-06 Wim Taymans <wim@fluendo.com>
6817 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6818 (gst_base_sink_handle_object), (gst_base_sink_loop),
6819 (gst_base_sink_change_state):
6820 * gst/base/gstbasesink.h:
6821 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6822 (gst_base_src_init), (gst_base_src_setcaps),
6823 (gst_base_src_getcaps), (gst_base_src_loop),
6824 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6825 (gst_base_src_start), (gst_base_src_change_state):
6826 * gst/base/gstbasesrc.h:
6827 Make basesrc negotiate.
6828 Handle the case where preroll fails in basesink.
6831 2005-07-06 Wim Taymans <wim@fluendo.com>
6833 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6834 Implement the fixate function.
6835 Clean up acceptcaps.
6837 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6839 * docs/pwg/building-filterfactory.xml:
6841 Remove never-written filter-factory chapter; I'll add the various
6842 base classes to part 4 ("other element types") later on.
6844 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6846 * docs/pwg/advanced-negotiation.xml:
6847 * docs/pwg/building-boiler.xml:
6848 * docs/pwg/building-pads.xml:
6850 * examples/pwg/Makefile.am:
6851 Add a chapter on caps negotiation, simplify the original code
6852 samples a bit w.r.t. caps negotiation, add link to the advanced
6853 section. Add a bunch of examples showing different use cases of
6854 different types of caps negotiation. Upstream renegotiation isn't
6855 fully documented yet since nobody knows how that works.
6857 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6859 * check/gst/gstpad.c:
6861 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6862 if pad has no parent, return NULL as list of internal links
6864 2005-07-05 Andy Wingo <wingo@pobox.com>
6866 * gst/elements/gstfilesrc.c:
6867 * gst/elements/gstfakesrc.c:
6868 * gst/base/gstpushsrc.c:
6869 * gst/base/gstbasesrc.h:
6870 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6872 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6875 better report generation target (lcov needs a patch)
6877 2005-07-05 Andy Wingo <wingo@pobox.com>
6879 * gst/elements, testsuite: Null if we got it...
6881 2005-07-05 Wim Taymans <wim@fluendo.com>
6884 * libs/gst/dataprotocol/Makefile.am:
6885 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6886 * libs/gst/dataprotocol/dataprotocol.h:
6887 * pkgconfig/Makefile.am:
6888 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6889 * pkgconfig/gstreamer-dataprotocol.pc.in:
6890 Ported dataprotol to 0.9.
6891 Added pkgconfig files.
6893 2005-07-05 Andy Wingo <wingo@pobox.com>
6895 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6896 Default to returning TRUE for the case when tranform_caps returns
6897 a fixed caps, like for identity or volume.
6899 * check/gst/gstbus.c (pound_bus_with_messages):
6900 * check/gst/gstmessage.c (START_TEST):
6901 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6904 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6905 logic weaks here: always run transform_caps, trying passthrough
6906 operation only if the original caps intersects with the transform.
6908 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6909 source and sink caps.
6911 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6912 Intersect the peer caps with the pad template before going into
6914 (gst_base_transform_transform_caps): More debugging.
6916 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6919 2005-07-04 Edward Hervey <edward@fluendo.com>
6923 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6926 2005-07-04 Andy Wingo <wingo@pobox.com>
6928 * check/gst/gstpad.c: Only set explicit caps on pads.
6930 2005-07-01 Andy Wingo <wingo@pobox.com>
6932 * tests/network-clock.scm: Commentary update.
6934 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6935 Didn't really make sense, not implementable with basetransform,
6937 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6938 attempt at implementing the sync property, needs an unlock method.
6940 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6941 New func, by default returns the same caps (the identity
6943 (gst_base_transform_getcaps): Uses transform_caps to return
6945 (gst_base_transform_setcaps): Complicated logic to get caps on
6946 both pads, even if they are different, and to call set_caps once
6947 for every time both pads get their caps set.
6948 (gst_base_transform_handle_buffer): Give the ref to the transform
6949 function. Allows in-place modification of the buffer.
6951 * gst/base/gstbasetransform.h (transform_caps): New class method.
6952 Given caps on one side, what can I do on the other.
6953 (set_caps): Take two caps, one for each side of the element.
6956 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6957 caps in place. This is safe because we can check the mutability of
6958 the caps, and a good idea because fixate functions are just called
6959 as a matter of last resort. (Not actually implemented.)
6960 (gst_pad_set_caps): If the caps we're setting is actually the same
6961 as the existing pad caps, just update the pointer without calling
6962 setcaps. Assert that caps is either NULL or fixed, as per the
6965 * gst/gstghostpad.c: Update for fixate changes.
6967 2005-07-02 Andy Wingo <wingo@pobox.com>
6970 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6971 two refcounts makes it immutable, which is enough. Doc more.
6973 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6975 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6976 Put the mini_object into GValue as a mini_object,
6977 not a gpointer, since that's how we declared
6980 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6982 * examples/pwg/Makefile.am:
6985 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6987 * docs/pwg/building-testapp.xml:
6989 * examples/pwg/Makefile.am:
6992 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6995 * examples/Makefile.am:
6996 * examples/pwg/Makefile.am:
6997 * examples/pwg/extract.pl:
6998 Enable building the PWG examples.
6999 * docs/pwg/advanced-interfaces.xml:
7000 Add URI interface stub.
7001 * docs/pwg/advanced-types.xml:
7002 * docs/pwg/other-autoplugger.xml:
7003 * docs/pwg/appendix-porting.xml:
7005 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7006 * docs/pwg/building-boiler.xml:
7007 * docs/pwg/building-chainfn.xml:
7008 * docs/pwg/building-pads.xml:
7009 * docs/pwg/building-props.xml:
7010 * docs/pwg/building-state.xml:
7011 * docs/pwg/building-testapp.xml:
7012 Update the building-*.xml parts for 0.9 changes. All examples
7013 code blocks compile in examples/pwg/*.
7015 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7017 * docs/manual/advanced-autoplugging.xml:
7018 * docs/manual/appendix-checklist.xml:
7019 * docs/manual/appendix-integration.xml:
7020 * docs/manual/highlevel-components.xml:
7021 Fix playbin/decodebin examples, update docs a bit, mention bus
7022 instead of signals in various places, mention kmplayer and
7023 kaffeine since they have a working GStreamer backend in the KDE
7026 2005-06-30 Wim Taymans <wim@fluendo.com>
7029 * docs/design/draft-ghostpads.txt:
7030 * docs/design/draft-push-pull.txt:
7031 * docs/design/draft-query.txt:
7032 * docs/design/part-TODO.txt:
7033 * docs/design/part-query.txt:
7034 Added CHANGES-0.9 doc, updated status of other docs.
7039 2005-06-30 Wim Taymans <wim@fluendo.com>
7041 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7042 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7043 (gst_base_sink_change_state):
7044 * gst/base/gstbasesink.h:
7045 Some tweaks, only EOS and a buffer complete a preroll.
7047 2005-06-30 Andy Wingo <wingo@pobox.com>
7049 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7050 activate_push down to the internal pad as well.
7052 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7054 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7056 * gst/gsttaginterface.c:
7057 Some documentation fixes (#307394 and #307397).
7059 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7061 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7063 * gst/gstvalue.c: (gst_value_intersect_list):
7064 Fix memleak (#309125).
7066 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7068 * docs/manual/advanced-dataaccess.xml:
7069 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7070 * docs/manual/basics-pads.xml:
7071 Add reference for filtered caps to above chapter.
7073 2005-06-30 Wim Taymans <wim@fluendo.com>
7075 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7076 (gst_bin_change_state):
7078 Lame attempt at making the state change function a bit
7081 2005-06-30 Wim Taymans <wim@fluendo.com>
7083 * docs/design/part-clocks.txt:
7084 * docs/design/part-element-sink.txt:
7085 * docs/design/part-events.txt:
7086 * docs/design/part-preroll.txt:
7087 * docs/design/part-states.txt:
7088 Some more tweeks and additions to the docs.
7090 2005-06-30 Wim Taymans <wim@fluendo.com>
7092 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7093 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7094 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7095 (gst_pad_check_pull_range), (gst_pad_get_range),
7096 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7098 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7099 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7100 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7101 (gst_pad_remove_buffer_probe):
7102 Removed atomic operations, use existing LOCK.
7103 Move exception handling out of main code path.
7105 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7107 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7108 (silly_return_true_function), (gst_pad_class_init),
7109 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7110 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7111 (gst_pad_send_event):
7112 Fix accumulator, add default value by using _emitv() instead
7113 of _emit() for signal emission.
7115 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7117 * docs/manual/advanced-dataaccess.xml:
7118 * examples/manual/Makefile.am:
7120 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7123 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7125 * gst/elements/gstfilesink.c: (gst_filesink_render):
7126 Simplify code so that we don't have to handle short
7127 writes and return GST_FLOW_ERROR if an error occured.
7129 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7131 * docs/gst/gstreamer-docs.sgml:
7134 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7136 * docs/gst/gstreamer-sections.txt:
7137 * docs/gst/tmpl/gstpad.sgml:
7138 * docs/gst/tmpl/gstprobe.sgml:
7140 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7141 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7142 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7143 (gst_pad_push_event), (gst_pad_send_event):
7145 * gst/gstutils.c: (gst_pad_add_data_probe),
7146 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7147 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7148 (gst_pad_remove_buffer_probe):
7150 Remove old probes, add new g-signal-based probes and some utility
7153 2005-06-29 Edward Hervey <edward@fluendo.com>
7155 * gst/gstelementfactory.c:
7158 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7159 the definition to the header file.
7161 2005-06-29 Andy Wingo <wingo@pobox.com>
7163 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7164 plugins from the source directory.
7166 2005-06-29 Wim Taymans <wim@fluendo.com>
7168 * docs/gst/tmpl/gstbuffer.sgml:
7169 * docs/gst/tmpl/gstclock.sgml:
7170 Some fixings for blantently wrong text.
7172 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7174 * check/Makefile.am:
7175 * gst/gst.c: (add_path_func), (init_pre):
7176 * gst/gstregistry.c: (gst_registry_add_path):
7177 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7178 only scan the GST_PLUGIN_PATH locations, and not add
7181 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7183 * docs/gst/gstreamer-sections.txt:
7184 * docs/gst/tmpl/gstbasesrc.sgml:
7191 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7193 * docs/manual/advanced-autoplugging.xml:
7194 Fix autoplugging example.
7196 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7198 * docs/manual/advanced-autoplugging.xml:
7199 * docs/manual/mime-world.fig:
7200 Try to get autoplugging working, fix type detection. Fix text
7201 in hello-world image.
7203 2005-06-29 Wim Taymans <wim@fluendo.com>
7205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7206 (gst_base_sink_change_state):
7210 map SIGNAL and BROADCAST to the right function.
7213 Remove redundant braces.
7215 * gst/gstpad.c: (gst_pad_set_caps):
7216 Don't call setcaps function when reseting caps to NULL.
7218 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7219 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7220 (gst_system_clock_id_unschedule):
7221 Use BROADCAST as this is what we do.
7223 2005-06-29 Wim Taymans <wim@fluendo.com>
7225 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7226 We are actually prerolling before commiting the state
7229 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7231 * docs/manual/advanced-clocks.xml:
7232 * docs/manual/advanced-interfaces.xml:
7233 * docs/manual/advanced-metadata.xml:
7234 * docs/manual/advanced-position.xml:
7235 * docs/manual/advanced-schedulers.xml:
7236 * docs/manual/advanced-threads.xml:
7237 * docs/manual/appendix-porting.xml:
7238 * docs/manual/basics-bins.xml:
7239 * docs/manual/basics-bus.xml:
7240 * docs/manual/basics-elements.xml:
7241 * docs/manual/basics-helloworld.xml:
7242 * docs/manual/basics-pads.xml:
7243 * docs/manual/highlevel-components.xml:
7244 * docs/manual/manual.xml:
7245 * docs/manual/thread.fig:
7246 Update (until threads/scheduling) Application Development Manual;
7247 remove GstThread, add GstBus, add simple porting checklist, add
7248 documentation for tag writing, clocks, make all examples until this
7249 part compile and run.
7250 * examples/manual/Makefile.am:
7251 Update from changes to Application Development Manual; add bus
7252 example, remove thread example.
7254 2005-06-28 Wim Taymans <wim@fluendo.com>
7256 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7257 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7258 (gst_bus_source_dispatch):
7259 Add debugging messages.
7260 Make internal methods static.
7261 Handle the case where the bus is flushed in the handler.
7263 * gst/gstelement.c: (gst_element_get_bus):
7264 Fix refcount in _get_bus();
7266 * gst/gstpipeline.c: (gst_pipeline_change_state),
7267 (gst_pipeline_get_clock_func):
7268 Clock refcounting fixes.
7269 Handle the case where preroll timed out more gracefully.
7271 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7272 Clean up the internal thread in dispose. This is needed
7273 for subclasses that actually get disposed.
7275 * gst/schedulers/threadscheduler.c:
7276 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7277 (gst_thread_scheduler_dispose):
7278 Free thread pool in dispose.
7280 2005-06-28 Andy Wingo <wingo@pobox.com>
7282 * tests/network-clock-utils.scm (debug, print-event): New utils.
7284 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7285 (*packet-loss*): Unified loss probability.
7286 (network-time): Report out-of-band events.
7288 * tests/plot-data: Add support for out-of-band events. Hack it
7289 into this script instead of passing it down the pipe; should fix
7292 2005-06-28 Wim Taymans <wim@fluendo.com>
7294 * docs/gst/gstreamer.types:
7295 * docs/gst/tmpl/gstbasesrc.sgml:
7296 * docs/gst/tmpl/gstpad.sgml:
7299 2005-06-28 Wim Taymans <wim@fluendo.com>
7301 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7302 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7303 (gst_proxy_pad_do_fixatecaps):
7304 Correctly proxy the check_pull_range function.
7306 2005-06-28 Andy Wingo <wingo@pobox.com>
7308 * tests/network-clock.scm: Removed need for slib.
7310 2005-06-28 Wim Taymans <wim@fluendo.com>
7312 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7313 (gst_basesink_preroll_queue_flush):
7314 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7315 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7316 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7317 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7318 (gst_proxy_pad_set_property):
7321 * gst/gstqueue.c: (gst_queue_init):
7322 The deprecated pad loop function is removed now.
7324 2005-06-28 Andy Wingo <wingo@pobox.com>
7326 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7327 New parameters, simulate network packet loss.
7329 * tests/network-clock-utils.scm: Initialize the RNG.
7331 2005-06-28 Wim Taymans <wim@fluendo.com>
7333 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7334 (gst_basesink_event), (gst_basesink_deactivate):
7335 Flushing the preroll queue always needs to unlock the waiters.
7337 2005-06-28 Edward Hervey <edward@fluendo.com>
7339 * gst/gstpipeline.c: (gst_pipeline_send_event):
7340 Wheen a seek was successful on a pipeline, set the stream_time to the
7341 seek offset in order to have a synchronized stream_time.
7343 2005-06-28 Wim Taymans <wim@fluendo.com>
7345 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7346 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7347 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7348 (gst_proxy_pad_do_fixatecaps):
7349 Call wrapper function instead of just calling the function
7350 pointers. This takes care of any locking and whatmore.
7352 2005-06-28 Wim Taymans <wim@fluendo.com>
7354 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7355 (gst_pad_pull_range):
7357 CONNECTED -> LINKED.
7359 2005-06-28 Andy Wingo <wingo@pobox.com>
7361 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7362 source-munging commit!!!
7364 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7365 (gst_object_sink): Take gpointer arguments, not GstObject --
7366 avoids casts. Like GLib.
7368 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7371 2005-06-27 Andy Wingo <wingo@pobox.com>
7373 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7376 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7377 returns a sorted copy of the trace list.
7378 (gst_alloc_trace_print_live): New API, only prints traces with
7379 live objects. Sort the list.
7380 (gst_alloc_trace_print_all): Sort the list.
7381 (gst_alloc_trace_print): Align columns.
7383 * gst/elements/gstttypefindelement.c:
7384 * gst/elements/gsttee.c:
7385 * gst/base/gstbasesrc.c:
7386 * gst/base/gstbasesink.c:
7387 * gst/base/gstbasetransform.c:
7388 * gst/gstqueue.c: Adapt for pad activation changes.
7390 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7392 (gst_pipeline_dispose): Drop ref on sched.
7394 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7395 (gst_pad_activate_default): Push mode by default.
7396 (pre_activate_switch, post_activate_switch): New stubs, things to
7397 do before and after switching activation modes on pads.
7398 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7399 the pad's activate function to choose which mode to activate.
7400 Shortcut on deactivation and call the right function directly.
7401 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7403 (gst_pad_activate_push): New API, same for push mode.
7404 (gst_pad_set_activate_function)
7405 (gst_pad_set_activatepull_function)
7406 (gst_pad_set_activatepush_function): Setters for new API.
7408 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7409 Trace all miniobjects.
7410 (gst_mini_object_make_writable): Unref the arg if we copy, like
7411 gst_caps_make_writable.
7413 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7415 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7416 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7417 Adapt for new pad API.
7419 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7422 * gst/gstelement.c (gst_element_iterate_src_pads)
7423 (gst_element_iterate_sink_pads): New API functions.
7425 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7426 should fold into gstiterator.c in some form.
7427 (gst_element_pads_activate): Simplified via use of fold and
7428 delegation of decisions to gstpad->activate.
7430 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7433 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7434 class once in init, like gstmessage. Didn't run into this issue
7435 but it seems correct. Don't initialize a trace, gstminiobject does
7438 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7439 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7441 (assert_live_count): New util function, uses alloc traces to check
7444 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7445 To be modified when unlink drops the internal pad.
7447 2005-06-27 Wim Taymans <wim@fluendo.com>
7449 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7450 (gst_bin_change_state):
7451 Cleanup the get_state() function a little, make sure it
7452 iterates the same set of elements.
7453 Added stub iterate_state_order().
7455 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7457 * docs/gst/gstreamer-docs.sgml:
7458 * docs/gst/gstreamer-sections.txt:
7459 * docs/gst/gstreamer.types:
7460 * docs/gst/tmpl/gstbasesink.sgml:
7461 * docs/gst/tmpl/gstbasesrc.sgml:
7462 * docs/gst/tmpl/gstbasetransform.sgml:
7463 * docs/gst/tmpl/gstelement.sgml:
7464 * docs/gst/tmpl/gstiterator.sgml:
7465 * gst/base/gstbasesrc.c:
7466 * gst/base/gstbasesrc.h:
7467 * gst/base/gstbasetransform.h:
7469 * gst/gstiterator.h:
7470 adding basetransform and iterator docs
7472 2005-06-27 Andy Wingo <wingo@pobox.com>
7474 * docs/design/part-activation.txt: Notes on how activation should
7475 work -- not quite implemented yet.
7477 2005-06-25 Wim Taymans <wim@fluendo.com>
7479 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7480 At least get the chain function correct, needs more
7483 2005-06-25 Wim Taymans <wim@fluendo.com>
7485 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7486 (gst_basesink_handle_object), (gst_basesink_event),
7487 (gst_basesink_do_sync), (gst_basesink_handle_event),
7488 (gst_basesink_change_state):
7490 Right, two problems here: ghostpads don't take locks and
7491 glib _rec_mutex_lock_full() with depth==0 still locks.
7492 Catch illegal locking and g_warn them.
7494 2005-06-25 Wim Taymans <wim@fluendo.com>
7496 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7497 Have to check for completion now...
7499 2005-06-25 Wim Taymans <wim@fluendo.com>
7501 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7502 (gst_basesink_handle_object), (gst_basesink_event),
7503 (gst_basesink_do_sync), (gst_basesink_handle_event),
7504 (gst_basesink_change_state):
7506 Unlock STREAM_LOCK whatever the recursion was.
7508 2005-06-25 Wim Taymans <wim@fluendo.com>
7510 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7511 (gst_basesink_preroll_queue_empty),
7512 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7513 (gst_basesink_event), (gst_basesink_do_sync),
7514 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7515 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7516 (gst_basesink_change_state):
7517 Reworked the base sink, handle event and buffer serialisation
7518 correctly and removed possible deadlock.
7519 Handle EOS correctly.
7521 2005-06-25 Wim Taymans <wim@fluendo.com>
7523 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7524 (gst_pipeline_change_state):
7525 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7526 Allow elements to post EOS in the state change function.
7527 Fix up -launch, make it exit the poll loop when the
7528 pipeline actually changed state.
7529 Fix up warning parsing in -launch.
7531 2005-06-25 Wim Taymans <wim@fluendo.com>
7533 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7534 (gst_tee_sink_activate):
7535 Core takes STREAM_LOCK for us now.
7537 2005-06-25 Wim Taymans <wim@fluendo.com>
7539 * gst/gstelement.c: (gst_element_get_state_func),
7540 (gst_element_set_state):
7542 * gst/gstmessage.c: (gst_message_parse_error),
7543 (gst_message_parse_warning):
7544 Keep track of current target state while performing a state
7545 change so that subclasses can do something interesting.
7546 Fix parsing of warning/error messages when GError is NULL.
7548 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7550 * docs/gst/Makefile.am:
7551 * docs/gst/gstreamer-docs.sgml:
7552 * docs/gst/gstreamer-sections.txt:
7553 * docs/gst/gstreamer.types:
7554 * docs/gst/tmpl/gstbasesink.sgml:
7555 * docs/gst/tmpl/gstbasesrc.sgml:
7556 * docs/gst/tmpl/gstbin.sgml:
7557 * docs/gst/tmpl/gstcompat.sgml:
7558 * docs/gst/tmpl/gstfakesink.sgml:
7559 * docs/gst/tmpl/gstfakesrc.sgml:
7560 * docs/gst/tmpl/gstfilesink.sgml:
7561 * docs/gst/tmpl/gstfilesrc.sgml:
7562 * docs/gst/tmpl/gstindex.sgml:
7563 * docs/manual/appendix-quotes.xml:
7564 * gst/base/gstbasesrc.h:
7565 * gst/elements/gstfakesrc.h:
7567 start pulling in base classes and elements in our docs
7569 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7571 * docs/gst/Makefile.am:
7572 * docs/libs/Makefile.am:
7573 fixed make distcheck with gtk-doc 1.3
7575 2005-06-23 Wim Taymans <wim@fluendo.com>
7577 * gst/gstelement.c: (gst_element_get_state_func),
7578 (gst_element_set_state), (gst_element_change_state):
7579 When the state did not change, also report NO_PREROLL
7582 2005-06-23 Wim Taymans <wim@fluendo.com>
7584 * gst/gstpad.c: (gst_pad_event_default):
7585 * gst/gstqueue.c: (gst_queue_loop):
7586 No unsafe task pausing please.
7588 2005-06-23 Wim Taymans <wim@fluendo.com>
7590 * gst/schedulers/threadscheduler.c:
7591 (gst_thread_scheduler_task_start),
7592 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7593 Ref the task before pushing it on the threadpool. This
7594 makes sure that we have a ref when the threadfunction is
7597 2005-06-23 Andy Wingo <wingo@pobox.com>
7599 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7600 offset is greater than the file's size.
7602 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7603 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7604 * gst/gstobject.c (gst_object_class_init): Make the class lock
7605 recursive. Wim won't let me drop deep_notify. Decodebin works
7608 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7609 internal pad, and hacks accordingly. Doesn't do it on the target
7610 pad because we change its caps. Probably catches all cases of
7612 (gst_ghost_pad_set_property): Connect to notify::caps as
7615 * tests/network-clock.scm (plot-simulation): Pipe data to the
7616 elite python skript.
7618 * tests/network-clock-utils.scm (define-parameter): New macro,
7619 defines a parameter that can be set via the command line.
7620 (set-parameter!, parse-parameter-arguments): Command line args
7623 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7626 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7628 * gst/elements/gsttypefindelement.c:
7629 (gst_type_find_element_handle_event):
7630 Don't restart typefinding on a discont.
7631 * gst/gstelement.c: (gst_element_set_state):
7633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7634 Allow changing mode of an active pad.
7636 * gst/registries/gstlibxmlregistry.c: (load_feature):
7637 Don't cast a static pad template to a normal pad template.
7639 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7641 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7642 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7643 remove gst_strtoll completely, since it didn't actually do
7644 anything more than what g_ascii_strtoull already does.
7645 check for range errors when deserializing
7646 do a cast for the unsigned cases; but further fixing needs
7647 a decision on what the interpretation of "(int)" and
7648 deserialization should be for values that fall outside the
7649 type's boundaries (ie, refuse, or interpret as casting)
7651 2005-06-23 Wim Taymans <wim@fluendo.com>
7653 * check/Makefile.am:
7654 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7655 * docs/design/part-live-source.txt:
7656 * docs/design/part-states.txt:
7657 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7658 (gst_basesrc_set_live), (gst_basesrc_is_live),
7659 (gst_basesrc_get_range), (gst_basesrc_activate),
7660 (gst_basesrc_change_state):
7661 * gst/base/gstbasesrc.h:
7662 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7663 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7664 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7665 * gst/gstelement.c: (gst_element_get_state_func),
7666 (gst_element_set_state):
7669 * tools/gst-launch.c: (event_loop), (main):
7670 Added support for live sources and other elements that
7672 Updated design docs, added live-source design doc.
7673 Implemented live source functionality in basesrc
7674 Fix error condition in _bin_get_state()
7675 Implement live source handling in -launch.
7676 Added check for live sources.
7677 Fixed case in GstBin where elements were changed state
7681 2005-06-23 Andy Wingo <wingo@pobox.com>
7683 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7686 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7687 gst_caps_replace takes care of this for us.
7689 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7690 gst_pad_set_caps on the target, not just its setcaps() function.
7692 * tests/network-clock.scm:
7693 * tests/network-clock-utils.scm: A network clock simulator.
7694 Something of an algorithmic testbed before doing something in C.
7696 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7698 * check/Makefile.am:
7699 * check/gst/capslist.h:
7700 copy over from 0.8, and add two with bitmasks specified with
7702 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7703 add test to parse everything from capslist.h
7704 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7706 add test for structure deserialization
7707 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7708 add tests for deserialization of strings to int types
7709 * gst/gststructure.c: (gst_structure_nth_field_name):
7710 * gst/gststructure.h:
7711 add a way to get the name of a field referenced by index
7712 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7713 instead of checking if the resulting long long lies between
7714 min and max, we check if the long long would fit into
7715 a number of bytes for the final type.
7716 This fixes cases where a string represents 2^32 - 1, which
7717 when cast to int would be the (valid) -1, but is bigger than
7720 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7722 * gst/parse/grammar.y:
7723 add a log line for type deserialization
7725 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7727 * check/gst/gstvalue.c: (START_TEST):
7728 * gst/gstvalue.c: (gst_value_deserialize):
7729 return long long, not int, so gint64 deserialization actually
7730 works. Is there any flag that makes the compiler check this ?
7733 2005-06-22 Wim Taymans <wim@fluendo.com>
7736 Added convenience macros for setting buffers in GValue.
7738 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7740 * check/gst/.cvsignore:
7741 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7742 add a test deserializing int64, and comment part out because
7745 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7747 * check/Makefile.am:
7748 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7749 * testsuite/Makefile.am:
7750 * testsuite/caps/Makefile.am:
7751 * testsuite/caps/value_serialize.c:
7752 * testsuite/test_gst_init.c:
7753 move a value_serialize test over
7755 2005-06-20 Wim Taymans <wim@fluendo.com>
7760 * gst/gstvalue.c: (gst_value_compare_buffer),
7761 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7762 (gst_value_compare_flags), (gst_value_serialize_flags),
7763 (gst_value_deserialize_flags), (_gst_value_initialize):
7764 Fix serialisation of buffers, they are not boxed types anymore
7766 2005-06-20 Wim Taymans <wim@fluendo.com>
7768 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7769 Testcase to show error in buffer-on-caps serialisation.
7771 2005-06-20 Andy Wingo <wingo@pobox.com>
7773 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7774 will be adding to later.
7776 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7777 if its socks fill with rocks.
7778 (gst_system_clock_obtain): Set the name on object construction.
7779 Avoid double-checked locking.
7781 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7783 * gst/gsturi.c: (gst_element_make_from_uri):
7784 Fix potential endless loop.
7786 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * check/Makefile.am:
7790 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7792 move over from testsuite dir and clean up
7795 * testsuite/Makefile.am:
7796 * testsuite/tags/.cvsignore:
7797 * testsuite/tags/Makefile.am:
7798 * testsuite/tags/merge.c:
7799 remove testsuite/tags
7801 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7803 * docs/gst/gstreamer-sections.txt:
7804 * docs/gst/tmpl/gstenumtypes.sgml:
7805 * win32/gstenumtypes.c:
7806 clean up documentation build a little
7808 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7811 add macros for checking refcounts on objects and caps
7812 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7813 add some more unit tests
7814 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7815 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7816 fix leaked refcounts (I hope :)) so unittest works
7820 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * configure.ac: back to HEAD
7824 === release 0.9.1 ===
7826 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7832 2005-06-17 Andy Wingo <wingo@pobox.com>
7834 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7835 assert; it's always possible that the pad gets deactivated in
7836 between the checks in gstpad.c and the implementation. Rely on
7837 finish_preroll() to return a FLUSHING or similar instead of on the
7840 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7841 clock and post an EOS message if we come out of finish_preroll in
7844 2005-06-16 David Schleef <ds@schleef.org>
7846 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7847 (gst_capsfilter_set_property): Allow NULL as possible value
7848 for filter_caps property, indicating GST_CAPS_ANY.
7850 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7852 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7854 * gst/schedulers/Makefile.am:
7856 * gstreamer.spec.in:
7859 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7861 * gstreamer.spec.in:
7864 2005-06-08 Andy Wingo <wingo@pobox.com>
7866 * gst/gstutils.c: RPAD fixes all around.
7867 (gst_element_link_pads): Refcounting fixes.
7869 * tools/gst-inspect.c:
7870 * tools/gst-xmlinspect.c:
7872 * gst/base/gsttypefindhelper.c:
7873 * gst/base/gstbasesink.c:
7874 * gst/gstqueue.c: RPAD fixes.
7876 * gst/gstghostpad.h:
7877 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7878 pads. The tricky thing is they provide both source and sink
7879 interfaces, since they proxy the internal pad for the external
7880 pad, and vice versa. Implement with lower-level ProxyPad objects,
7881 with the interior proxy pad as a child of the exterior ghost pad.
7882 Should write a doc on this.
7884 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7885 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7888 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7889 pads are real pads. No ghost pads in this file. Not documenting
7890 the myriad s/RPAD/PAD/ and REALIZE fixes.
7891 (gst_pad_class_init): Add properties for "direction" and
7892 "template". Both are construct-only, so they can't change during
7893 the life of the pad. Fixes properly deriving from GstPad.
7894 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7895 derived objects, just set properties when creating the objects via
7897 (gst_pad_get_parent): Implement as a function, return NULL if the
7898 parent is not an element.
7899 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7900 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7902 * gst/gstobject.c (gst_object_class_init): Make name a construct
7903 property. Don't set it in the object init.
7905 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7906 with UNKNOWN direction.
7907 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7908 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7909 (gst_element_remove_pad): Remove ghost-pad special cases.
7910 (gst_element_pads_activate): Remove rpad cruft.
7912 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7913 catch the pad's-parent-not-an-element case.
7915 * gst/gst.h: Include gstghostpad.h.
7917 * gst/gst.c (init_post): No more real, ghost pads.
7919 * gst/Makefile.am: Add gstghostpad.[ch].
7921 * check/Makefile.am:
7922 * check/gst/gstbin.c:
7923 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7924 into a bin creates ghost pads, and that the refcounts are right.
7925 Partly moved from gstbin.c.
7927 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7929 * check/gst-libs/.cvsignore:
7930 * check/gst/.cvsignore:
7931 * check/pipelines/.cvsignore:
7933 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7934 (START_TEST), (cleanup_suite), (main):
7935 add some tests related to cleanup after running pipelines
7937 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7939 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7940 add a testsuite for GstBuffer
7942 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * gst/gstminiobject.h:
7945 add defines for accessing the refcount
7947 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7949 * Makefile.am: added support for html unit test coverage reports
7951 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7953 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7954 Free existing caps if the capsfilter changes. Add a FIXME about
7955 setting those caps on the pads.
7957 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7958 Before adding a ghost pad to a parent bin, check that there isn't
7959 already one for the element on the bin. Prevents infinite recursion
7960 when using decodebin in parse pipelines. Andy says he'll rewrite the
7961 way this works anyway, so ignore the hack.
7963 2005-06-02 Andy Wingo <wingo@pobox.com>
7965 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7966 file size, pass it on to the type find helper.
7968 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7969 segment_start and segment_end properly according to the seek
7970 method. Segment_end is still a bit flaky because offset can be
7971 negative for CUR and END cases, but it takes -1 as an "unset"
7974 2005-06-02 Wim Taymans <wim@fluendo.com>
7976 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7977 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7978 (gst_basesink_activate):
7979 * gst/base/gstbasesink.h:
7980 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7981 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7982 (gst_pad_query), (gst_pad_start_task):
7984 * gst/gstqueue.c: (gst_queue_bufferalloc),
7985 (gst_queue_handle_sink_event), (gst_queue_chain):
7986 Bufferalloc: return GstFlowReturn to more accuratly report
7987 why allocation failed.
7989 2005-06-02 Wim Taymans <wim@fluendo.com>
7991 * gst/gstpipeline.c: (gst_pipeline_send_event):
7992 Take snapshot of state without blocking.
7994 2005-06-02 Wim Taymans <wim@fluendo.com>
7996 * docs/design/part-TODO.txt:
7997 * docs/design/part-caps.txt:
7998 * docs/design/part-clocks.txt:
7999 * docs/design/part-negotiation.txt:
8000 * docs/design/part-preroll.txt:
8003 2005-05-30 Wim Taymans <wim@fluendo.com>
8005 * gst/elements/gstidentity.c: (gst_identity_event),
8006 (gst_identity_transform), (gst_identity_get_property):
8007 Protect last_message property as it is accessed from
8010 2005-05-30 Wim Taymans <wim@fluendo.com>
8012 * gst/gstelement.c: (gst_element_init),
8013 (gst_element_pads_activate), (gst_element_change_state):
8014 Slicker pad activation code.
8016 2005-05-30 Wim Taymans <wim@fluendo.com>
8020 * gst/gstelementfactory.h:
8022 Move elementfactory methods to separate .h file.
8024 2005-05-30 Wim Taymans <wim@fluendo.com>
8026 * docs/design/part-overview.txt:
8027 * gst/gstsystemclock.h:
8028 Small typo fixes, doc updates.
8030 2005-05-30 Wim Taymans <wim@fluendo.com>
8032 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8033 (init_popt_callback):
8034 Remove cpu-opt flag.
8036 2005-05-30 Wim Taymans <wim@fluendo.com>
8038 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8039 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8041 Avoid typechecking in places where not needed.
8042 Added accessor for malloc_data.
8044 2005-05-30 Wim Taymans <wim@fluendo.com>
8046 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8047 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8048 (gst_pad_configure_sink), (gst_pad_configure_src),
8049 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8050 (gst_pad_start_task):
8051 Propagate errors from _set_caps() in configure_src/sink
8052 functions instead of returning TRUE.
8053 FLUSH events can travel up and downstream
8056 2005-05-30 Wim Taymans <wim@fluendo.com>
8058 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8059 (gst_basesink_activate):
8060 Handle EOS in preroll.
8062 2005-05-30 Wim Taymans <wim@fluendo.com>
8064 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8065 (gst_queue_loop), (gst_queue_handle_src_event):
8066 Remove old pieces of code
8067 Flushing the queue in an upstream event is a very bad idea.
8069 2005-05-26 Andy Wingo <wingo@pobox.com>
8071 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8072 gst_value_set_mini_object so as to add a ref on the object (which
8073 will be removed when the value is unset).
8075 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8076 arg type in ::handoff.
8078 * gst/gstelement.c (gst_element_change_state): Also deactivate
8079 pads in READY->NULL, just in case the element didn't make it to
8080 PAUSED. Wingo tested, Wim approved.
8082 2005-05-26 Wim Taymans <wim@fluendo.com>
8084 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8085 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8086 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8087 A flushing pad cannot be used to alloc_buffer from.
8089 2005-05-26 Wim Taymans <wim@fluendo.com>
8091 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8092 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8093 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8094 (gst_bus_create_watch), (gst_bus_add_watch_full):
8096 Implement a real GSource and use g_main_context_wakeup() to
8097 signal new messages instead of the socketpair.
8099 2005-05-25 Wim Taymans <wim@fluendo.com>
8101 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8102 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8103 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8104 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8105 (gst_pad_send_event), (gst_pad_start_task):
8106 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8107 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8108 (gst_queue_sink_activate), (gst_queue_src_activate),
8109 (gst_queue_change_state):
8111 Fix state changes for non sinks. We now change sinks, then elements
8112 with unconnected srcpads, then the rest.
8113 More efficient queue unlocking in flush and state changes.
8114 Set the pad activate mode even if it does not have an activate
8117 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8119 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8120 Don't go in pull mode for non-seekable sources.
8121 * gst/elements/gsttypefindelement.h:
8122 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8123 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8124 (free_entry), (stop_typefinding),
8125 (gst_type_find_element_handle_event), (find_peek),
8126 (gst_type_find_element_chain), (do_pull_typefind),
8127 (gst_type_find_element_change_state):
8128 Allow typefinding (w/o seeking) in push-mode, simplified version
8130 * gst/gstutils.c: (gst_buffer_join):
8132 gst_buffer_join() from 0.8.
8134 2005-05-25 Wim Taymans <wim@fluendo.com>
8136 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8137 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8138 (gst_pad_send_event), (gst_pad_start_task):
8139 Disable attempt at mode switching until it is figured out.
8141 2005-05-25 Wim Taymans <wim@fluendo.com>
8143 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8144 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8145 (gst_basesink_finish_preroll), (gst_basesink_chain),
8146 (gst_basesink_loop), (gst_basesink_activate),
8147 (gst_basesink_change_state):
8148 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8149 (gst_basesrc_get_range), (gst_basesrc_loop),
8150 (gst_basesrc_activate):
8151 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8152 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8153 (gst_real_pad_init), (gst_real_pad_set_property),
8154 (gst_real_pad_get_property), (gst_pad_set_active),
8155 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8156 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8157 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8158 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8159 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8160 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8161 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8162 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8163 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8164 (gst_pad_stop_task):
8166 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8167 (gst_queue_loop), (gst_queue_src_activate):
8168 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8169 (gst_task_get_state):
8171 * gst/schedulers/threadscheduler.c:
8172 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8173 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8175 Remove ACTIVE pad flag, use FLUSHING everywhere
8176 Added _pad_chain(), _pad_get_range() to call chain/getrange
8178 Add locks around IS_FLUSHING when reading.
8179 Take STREAM lock in chain(), get_range() functions so plugins
8180 don't need to take it anymore.
8184 2005-05-25 Wim Taymans <wim@fluendo.com>
8186 * tools/gst-launch.c: (event_loop):
8187 Unref message after using its contents instead of
8190 2005-05-24 Wim Taymans <wim@fluendo.com>
8192 * docs/design/draft-ghostpads.txt:
8193 * docs/design/draft-push-pull.txt:
8194 * docs/design/draft-query.txt:
8195 * docs/design/part-overview.txt:
8196 Docs updates, added general overview doc.
8198 2005-05-21 David Schleef <ds@schleef.org>
8200 * docs/gst/tmpl/old/GstBin.sgml:
8201 * docs/gst/tmpl/old/GstBuffer.sgml:
8202 * docs/gst/tmpl/old/GstCaps.sgml:
8203 * docs/gst/tmpl/old/GstClock.sgml:
8204 * docs/gst/tmpl/old/GstCompat.sgml:
8205 * docs/gst/tmpl/old/GstData.sgml:
8206 * docs/gst/tmpl/old/GstElement.sgml:
8207 * docs/gst/tmpl/old/GstEvent.sgml:
8208 * docs/gst/tmpl/old/GstIndex.sgml:
8209 * docs/gst/tmpl/old/GstStructure.sgml:
8210 * docs/gst/tmpl/old/GstTag.sgml:
8211 * docs/gst/tmpl/old/cothreads.sgml:
8212 * docs/gst/tmpl/old/cothreads_compat.sgml:
8213 * docs/gst/tmpl/old/gettext.sgml:
8214 * docs/gst/tmpl/old/gobject2gtk.sgml:
8215 * docs/gst/tmpl/old/grammar.tab.sgml:
8216 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8217 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8218 * docs/gst/tmpl/old/gst_private.sgml:
8219 * docs/gst/tmpl/old/gstaggregator.sgml:
8220 * docs/gst/tmpl/old/gstarch.sgml:
8221 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8222 * docs/gst/tmpl/old/gstbufferstore.sgml:
8223 * docs/gst/tmpl/old/gstdata_private.sgml:
8224 * docs/gst/tmpl/old/gstdisksink.sgml:
8225 * docs/gst/tmpl/old/gstdisksrc.sgml:
8226 * docs/gst/tmpl/old/gstelementfactory.sgml:
8227 * docs/gst/tmpl/old/gstextratypes.sgml:
8228 * docs/gst/tmpl/old/gstfakesink.sgml:
8229 * docs/gst/tmpl/old/gstfakesrc.sgml:
8230 * docs/gst/tmpl/old/gstfdsink.sgml:
8231 * docs/gst/tmpl/old/gstfdsrc.sgml:
8232 * docs/gst/tmpl/old/gstfilesink.sgml:
8233 * docs/gst/tmpl/old/gstfilesrc.sgml:
8234 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8235 * docs/gst/tmpl/old/gstidentity.sgml:
8236 * docs/gst/tmpl/old/gstindexfactory.sgml:
8237 * docs/gst/tmpl/old/gstmarshal.sgml:
8238 * docs/gst/tmpl/old/gstmd5sink.sgml:
8239 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8240 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8241 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8242 * docs/gst/tmpl/old/gstpipefilter.sgml:
8243 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8244 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8245 * docs/gst/tmpl/old/gstshaper.sgml:
8246 * docs/gst/tmpl/old/gstspider.sgml:
8247 * docs/gst/tmpl/old/gstspideridentity.sgml:
8248 * docs/gst/tmpl/old/gststatistics.sgml:
8249 * docs/gst/tmpl/old/gsttee.sgml:
8250 * docs/gst/tmpl/old/gsttimecache.sgml:
8251 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8252 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8253 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8254 * docs/gst/tmpl/old/types.sgml:
8255 I didn't intend to add these or check them in.
8257 2005-05-19 David Schleef <ds@schleef.org>
8259 * configure.ac: Use -no-common everywhere. In a sane world, it
8260 would be the default in libtool, because without it, you can't
8261 build DLLs on Windows.
8262 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8263 * docs/gst/gstreamer-sections.txt:
8264 * docs/gst/tmpl/gstcpu.sgml:
8265 * docs/gst/tmpl/gstdata.sgml:
8266 * docs/gst/tmpl/gstthread.sgml:
8268 2005-05-19 David Schleef <ds@schleef.org>
8270 * gst/gstminiobject.c: (gst_value_set_mini_object),
8271 (gst_value_take_mini_object), (gst_value_get_mini_object):
8272 * gst/gstminiobject.h: Add GValue set/get functions.
8274 2005-05-19 Wim Taymans <wim@fluendo.com>
8276 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8277 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8278 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8280 * gst/gstbus.c: (gst_bus_post):
8281 * gst/gstelement.c: (gst_element_get_random_pad):
8282 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8283 Make subbufer unref the parent in finalize.
8284 some more debugging info.
8287 2005-05-19 Wim Taymans <wim@fluendo.com>
8289 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8290 (gst_basesink_init), (gst_basesink_finalize),
8291 (gst_basesink_activate), (gst_basesink_change_state):
8292 Don't free preroll queue too early.
8294 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8298 Hi, I'm outdated. Please shoot me.
8300 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8302 * gst/gstpipeline.c: (gst_pipeline_send_event):
8303 Do not access variables after they have been deleted.
8305 2005-05-19 Wim Taymans <wim@fluendo.com>
8307 * tools/gst-inspect.c: (print_plugin_features):
8308 A plugin feature does unfortunatly not use the
8311 2005-05-18 Wim Taymans <wim@fluendo.com>
8313 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8314 Port _span() functions to new subbuffers.
8316 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8318 * gst/gstbin.c: (gst_bin_add_func):
8319 Fix clock settery in bins when adding kids after the clock has
8322 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8324 * gst/elements/gstidentity.c: (gst_identity_class_init):
8325 Workaround until signals support GstMiniObject.
8327 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8330 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8332 2005-05-18 Wim Taymans <wim@fluendo.com>
8334 * gst/base/Makefile.am:
8335 * gst/base/gstadapter.c: (gst_adapter_base_init),
8336 (gst_adapter_class_init), (gst_adapter_init),
8337 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8338 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8339 (gst_adapter_flush), (gst_adapter_available),
8340 (gst_adapter_available_fast):
8341 * gst/base/gstadapter.h:
8342 Ported and added adapter to the base classes.
8344 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8348 Make sure the class is reffed/unreffed once before threads can be
8349 used. Fixes #304551.
8351 2005-05-17 Wim Taymans <wim@fluendo.com>
8353 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8354 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8355 * gst/gstminiobject.c: (gst_mini_object_get_type),
8356 (gst_mini_object_free):
8357 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8358 (gst_pad_push), (gst_pad_push_event):
8359 * gst/gstqueue.c: (gst_queue_change_state):
8360 Don't queue buffers in basesink when we are flushing.
8361 Unref buffer when flushing in basesink.
8362 Flush queue when going to READY
8363 Unref buffer when _push() returns an error.
8364 Don't free MiniObject instance when refcount is incremented
8365 in _finalize() so that we can recover objects.
8367 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8369 * docs/manual/advanced-schedulers.xml:
8370 * docs/manual/appendix-checklist.xml:
8371 * docs/pwg/advanced-clock.xml:
8372 * docs/pwg/advanced-interfaces.xml:
8373 * docs/pwg/advanced-request.xml:
8374 * docs/pwg/advanced-types.xml:
8375 * docs/pwg/intro-preface.xml:
8376 * examples/plugins/example.c: (gst_example_get_type),
8377 (gst_example_class_init), (gst_example_chain),
8378 (gst_example_set_property), (gst_example_get_property),
8379 (gst_example_change_state), (plugin_init):
8380 * examples/plugins/example.h:
8383 2005-05-17 Wim Taymans <wim@fluendo.com>
8385 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8386 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8387 * gst/gstqueue.c: (gst_queue_change_state):
8388 Clear queue when going to READY.
8389 Remove IN_SETCAPS flag too.
8391 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8393 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8394 Remove implicit cast from gboolean to GstElementStateReturn;
8395 make sure we still return failure in paused => ready case if
8396 the parent class fails to change state and our own stop
8399 2005-05-17 Wim Taymans <wim@fluendo.com>
8401 * tools/gst-launch.c: (event_loop):
8402 Message was unreffed too soon.
8404 2005-05-16 Andy Wingo <wingo@pobox.com>
8406 * gst/gstbin.c (sink_iterator_filter): Err... um...
8408 * check/gst/gstbin.c (test_ghost_pads): New test for the
8409 ghosting-if-elements-not-in-same-bin behavior.
8411 2005-05-16 David Schleef <ds@schleef.org>
8413 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8414 accessing refcount directly.
8416 2005-05-15 David Schleef <ds@schleef.org>
8418 * check/Makefile.am: remove GstData checks
8419 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8420 * gst/Makefile.am: add miniobject, remove data
8421 * gst/gst.h: add miniobject, remove data
8422 * gst/gstdata.c: remove
8423 * gst/gstdata.h: remove
8424 * gst/gstdata_private.h: remove
8425 * gst/gsttypes.h: remove GstEvent and GstMessage
8426 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8427 * gst/gstmarshal.list: change BOXED -> OBJECT
8429 Implement GstMiniObject.
8430 * gst/gstminiobject.c:
8431 * gst/gstminiobject.h:
8433 Modify to be subclasses of GstMiniObject.
8434 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8435 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8436 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8437 (gst_subbuffer_get_type), (gst_subbuffer_init),
8438 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8441 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8442 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8443 (_gst_event_copy), (gst_event_new):
8445 * gst/gstmessage.c: (_gst_message_initialize),
8446 (gst_message_get_type), (gst_message_class_init),
8447 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8448 (gst_message_new), (gst_message_new_error),
8449 (gst_message_new_warning), (gst_message_new_tag),
8450 (gst_message_new_state_changed), (gst_message_new_application):
8452 * gst/gstprobe.c: (gst_probe_perform),
8453 (gst_probe_dispatcher_dispatch):
8455 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8456 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8457 (_gst_query_copy), (gst_query_new):
8459 Update elements for GstData -> GstMiniObject changes
8461 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8462 (gst_queue_chain), (gst_queue_loop):
8463 * gst/elements/gstbufferstore.c:
8464 (gst_buffer_store_add_buffer_func),
8465 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8466 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8467 (gst_fakesink_render):
8468 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8469 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8470 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8471 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8472 (gst_filesrc_create_read):
8473 * gst/elements/gstidentity.c: (gst_identity_class_init):
8474 * gst/elements/gsttypefindelement.c:
8475 (gst_type_find_element_src_event), (free_entry_buffers),
8476 (gst_type_find_element_handle_event):
8477 * libs/gst/dataprotocol/dataprotocol.c:
8478 (gst_dp_header_from_buffer):
8479 * libs/gst/dataprotocol/dataprotocol.h:
8480 * libs/gst/dataprotocol/dp-private.h:
8482 2005-05-15 David Schleef <ds@schleef.org>
8484 * gst/elements/gstelements.c: Don't include headers that were
8487 2005-05-15 David Schleef <ds@schleef.org>
8489 * gst/elements/Makefile.am: Remove some elements that don't
8490 need to be in the core (or even exist at all).
8491 * gst/elements/gstaggregator.c:
8492 * gst/elements/gstaggregator.h:
8493 * gst/elements/gstmd5sink.c:
8494 * gst/elements/gstmd5sink.h:
8495 * gst/elements/gstmultifilesrc.c:
8496 * gst/elements/gstmultifilesrc.h:
8497 * gst/elements/gstpipefilter.c:
8498 * gst/elements/gstpipefilter.h:
8499 * gst/elements/gstshaper.c:
8500 * gst/elements/gstshaper.h:
8501 * gst/elements/gststatistics.c:
8502 * gst/elements/gststatistics.h:
8503 * po/POTFILES.in: Remove above files.
8505 2005-05-14 Andy Wingo <wingo@pobox.com>
8507 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8508 so as to get the refs right.
8509 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8510 unreffing objects that don't pass the filter.
8512 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8513 gst_element_set_bus.
8514 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8515 normal cases, this will destroy the bus.
8517 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8520 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8523 2005-05-13 Andy Wingo <wingo@pobox.com>
8525 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8526 gst_pad_link, call pad_link_maybe_ghosting,
8527 (pad_link_maybe_ghosting): Links pads, making sure that the
8528 elements being linked are in the same bin.
8529 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8530 Helpers for pad_link_maybe_ghosting.
8532 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8535 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8537 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8539 * docs/design/part-element-source.txt:
8542 2005-05-12 Wim Taymans <wim@fluendo.com>
8544 * gst/base/gstbasesink.c: (gst_basesink_init),
8545 (gst_basesink_activate):
8546 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8547 (gst_basesrc_is_seekable):
8548 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8549 (bin_element_is_sink), (gst_bin_change_state):
8550 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8552 Identify sinks by their flag to avoid overly complicated
8554 Do state changes even for elements not reachable from the
8556 BaseSink is a sink now :)
8557 Some more debugging info in the basesrc.
8560 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8563 Implement _query on a bin, similar to _send_event.
8565 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8567 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8568 Discont event offset format should be GST_FORMAT_BYTES,
8569 not GST_FORMAT_TIME.
8571 2005-05-12 Wim Taymans <wim@fluendo.com>
8573 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8574 Same fix as Ronald's but without the signal.
8576 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8578 * gst/gstutils.c: (gst_element_query_position):
8579 No, an element is not a pad.
8581 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8583 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8584 (gst_bin_get_state):
8585 If a child is removed from a bin while we remove the child from
8586 the bin and while we're retrieving its state, signal this to the
8587 get_state function so we abort the wait (instead of waiting for
8588 a timeout) and can immediately re-iterate over all other elements.
8590 2005-05-12 Wim Taymans <wim@fluendo.com>
8592 * gst/base/Makefile.am:
8593 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8594 (gst_basesrc_start):
8595 * gst/base/gstbasesrc.h:
8596 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8597 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8598 (gst_pushsrc_init), (gst_pushsrc_create):
8599 * gst/base/gstpushsrc.h:
8600 Added is_seekable to BaseSrc
8601 Added simple PushSrc.
8603 2005-05-11 Wim Taymans <wim@fluendo.com>
8605 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8606 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8607 (gst_element_link_pads), (gst_element_query_position),
8608 (gst_element_query_convert), (intersect_caps_func),
8609 (gst_pad_query_position), (gst_pad_query_convert):
8610 Fix refcounting in utils function.
8611 No point in trying to activate a pad when it's added, it could
8612 be added from the state change function and then we deadlock, the
8613 element has to decide what to do.
8615 2005-05-10 Andy Wingo <wingo@pobox.com>
8617 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8618 *all* the arguments.
8620 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8621 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8622 lock (according to the docs -- if this is wrong change the docs).
8624 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8625 flush messages in the NULL state.
8627 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8628 message immediately and return.
8629 (gst_bus_set_flushing): New function. If a bus is flushing, it
8630 flushes out any queued messages and immediately unrefs new
8631 messages. This is so when an element goes to NULL, all of the
8632 unhandled messages coming from it can be freed, and their
8633 references to the element dropped. In other words: message source
8634 ref considered harmful :P
8636 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8637 we're finished with it.
8639 * gst/gstmessage.c (gst_message_new_state_changed):
8641 2005-05-10 Wim Taymans <wim@fluendo.com>
8643 * gst/gstvalue.c: (gst_value_compare_flags),
8644 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8645 (_gst_value_initialize):
8646 Added flags serialize/deserialize/compare code.
8648 2005-05-09 Andy Wingo <wingo@pobox.com>
8650 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8651 Intersect the peer's caps with our caps.
8653 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8655 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8656 * gst/elements/gsttypefindelement.c: (find_peek):
8657 Handle negative offsets better. Fixes decodebin.
8659 2005-05-09 Wim Taymans <wim@fluendo.com>
8661 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8662 (gst_base_transform_event):
8663 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8664 Implement accept_caps.
8665 Fix silly lock/unlock mismatch in base class.
8667 2005-05-09 Wim Taymans <wim@fluendo.com>
8669 * docs/design/draft-push-pull.txt:
8670 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8671 * gst/elements/gstfilesink.c: (gst_filesink_init),
8672 (gst_filesink_query):
8673 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8674 (gst_type_find_handle_src_query), (find_element_get_length):
8675 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8679 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8680 (gst_real_pad_get_caps_unlocked),
8681 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8682 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8683 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8684 (gst_real_pad_dispose), (gst_real_pad_finalize),
8685 (gst_pad_load_and_link), (gst_pad_save_thyself),
8686 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8687 (gst_pad_check_pull_range), (gst_pad_pull_range),
8688 (gst_pad_template_get_type), (gst_pad_template_class_init),
8689 (gst_pad_template_init), (gst_pad_template_dispose),
8690 (name_is_valid), (gst_static_pad_template_get),
8691 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8692 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8693 (gst_pad_get_element_private), (gst_pad_start_task),
8694 (gst_pad_pause_task), (gst_pad_stop_task),
8695 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8696 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8697 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8698 (gst_ghost_pad_new):
8700 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8701 (gst_query_new_position), (gst_query_set_position),
8702 (gst_query_parse_position), (gst_query_new_convert),
8703 (gst_query_set_convert), (gst_query_parse_convert):
8705 * gst/gstqueryutils.c:
8706 * gst/gstqueryutils.h:
8707 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8708 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8709 (gst_queue_handle_src_query):
8710 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8711 (gst_element_query_position), (gst_element_query_convert),
8712 (intersect_caps_func), (gst_pad_query_position),
8713 (gst_pad_query_convert):
8715 * tools/gst-inspect.c: (print_pad_info):
8716 * tools/gst-xmlinspect.c: (print_element_info):
8717 Remove old query functions. Ported old code.
8718 Added position/convert helper functions to gstutils.
8719 Reordered gstpad.c code, grouping relevant things.
8720 Remove gst_message_new(), always need to speficy a specific
8724 2005-05-09 Andy Wingo <wingo@pobox.com>
8726 * gst/gstiterator.h: Add some includes.
8728 * gst/gstqueryutils.h: Include more headers.
8731 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8732 some uses of gst_pad_query.
8734 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8735 NULL out parameters.
8736 (gst_query_new_position): New proc, allocates a new position
8739 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8740 gstqueryutils.c to the build.
8742 * gst/gststructure.c (gst_structure_set_valist): Implement with
8743 the generic G_VALUE_COLLECT.
8745 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8747 * gst/Makefile.am: (gst_headers):
8748 Added gstqueryutils.h to the list of headers to install, that was
8749 a 'nachty' move wingo :)
8751 2005-05-06 Andy Wingo <wingo@pobox.com>
8754 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8755 GstData, init a memchunk.
8756 (standard_definitions): Add a few query types, deprecate a few.
8757 (gst_query_get_type): New proc.
8758 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8760 (gst_query_new_application, gst_query_get_structure): New public
8763 * docs/design/draft-query.txt: Removed LINKS from the query types,
8764 because all the rest can be dispatched to other pads -- seemed
8765 ugly to have a query that couldn't be dispatched. internal_links
8766 is fine as a pad method.
8768 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8769 in gstpad.c, but maintain binary compatibility for the moment.
8770 Will fix before 0.9 is out.
8772 * gst/gstqueryutils.c:
8773 * gst/gstqueryutils.h: New files, implement 3 methods for each
8774 query type: parse_query, parse_response, and set. Probably need an
8777 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8779 * gst/elements/gstfilesink.c (gst_filesink_query2):
8780 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8781 query_types, and formats methods.
8783 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8784 (gst_pad_set_query2_function): New functions.
8785 (gst_real_pad_init): Set query2_default as the default query2
8786 function. Basically just dispatches to internally linked pads.
8790 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8791 without using the atomic operations. Only one thread can possibly
8792 be accessing the data at this point. Changed so as to avoid
8793 gst_atomic operations.
8795 2005-05-06 Wim Taymans <wim@fluendo.com>
8797 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8798 Also set caps if we use the fallback buffer alloc.
8800 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8802 * docs/gst/Makefile.am:
8803 * docs/gst/gstreamer-docs.sgml:
8804 * docs/gst/gstreamer-sections.txt:
8805 * docs/gst/tmpl/gstatomic.sgml:
8806 * docs/gst/tmpl/gstmemchunk.sgml:
8807 * testsuite/elements/struct_i386.h:
8808 * win32/GStreamer.vcproj:
8810 Purge GstAtomic stuff from docs and win32 makefiles as well
8812 2005-05-06 Wim Taymans <wim@fluendo.com>
8814 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8815 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8816 * gst/gstpad.c: (gst_pad_peer_get_caps):
8817 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8818 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8819 (gst_queue_src_activate), (gst_queue_change_state):
8821 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8822 (intersect_caps_func):
8823 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8824 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8825 Some fixes for the peer_get_caps() change.
8827 2005-05-06 Wim Taymans <wim@fluendo.com>
8829 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8830 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8831 (gst_basesink_activate):
8832 Actually do something with error codes returned from the push
8835 2005-05-06 Wim Taymans <wim@fluendo.com>
8837 * docs/design/part-element-sink.txt:
8838 * docs/design/part-element-source.txt:
8839 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8840 (gst_basesink_event), (gst_basesink_activate):
8841 * gst/base/gstbasesink.h:
8842 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8843 (gst_basesrc_activate):
8844 * gst/base/gstbasesrc.h:
8845 * gst/gstelement.c: (gst_element_pads_activate):
8846 Some more documentation.
8847 Fixed scheduling decision in _pads_activate().
8849 2005-05-05 Andy Wingo <wingo@pobox.com>
8851 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8854 2005-05-05 Wim Taymans <wim@fluendo.com>
8856 * gst/base/Makefile.am:
8857 * gst/base/gstbasesink.h:
8858 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8859 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8860 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8861 (gst_collectpads_class_init), (gst_collectpads_init),
8862 (gst_collectpads_finalize), (gst_collectpads_new),
8863 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8864 (find_pad), (gst_collectpads_remove_pad),
8865 (gst_collectpads_is_active), (gst_collectpads_collect),
8866 (gst_collectpads_collect_range), (gst_collectpads_start),
8867 (gst_collectpads_stop), (gst_collectpads_peek),
8868 (gst_collectpads_pop), (gst_collectpads_available),
8869 (gst_collectpads_read), (gst_collectpads_flush),
8870 (gst_collectpads_chain):
8871 * gst/base/gstcollectpads.h:
8872 * gst/elements/Makefile.am:
8873 * gst/elements/gstelements.c:
8874 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8875 (gst_fakesink_get_times), (gst_fakesink_event),
8876 (gst_fakesink_preroll), (gst_fakesink_render):
8877 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8878 (gst_filesink_init), (gst_filesink_set_location),
8879 (gst_filesink_open_file), (gst_filesink_close_file),
8880 (gst_filesink_pad_query), (gst_filesink_event),
8881 (gst_filesink_render), (gst_filesink_change_state):
8882 * gst/elements/gstfilesink.h:
8883 Added object to help in making collect pad based elements.
8885 Make event function in sink baseclass return gboolean.
8887 2005-05-05 Wim Taymans <wim@fluendo.com>
8889 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8890 (gst_bin_get_by_name):
8892 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8893 (gst_clock_finalize):
8894 * gst/gstdata.c: (gst_data_replace):
8896 * gst/gstelement.c: (gst_element_request_pad),
8897 (gst_element_pads_activate):
8898 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8901 (gst_pad_set_checkgetrange_function),
8902 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8903 (gst_pad_check_pull_range), (gst_pad_pull_range),
8904 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8905 (gst_pad_pause_task), (gst_pad_stop_task):
8906 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8907 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8908 Fix name lookup in GstBin.
8909 Added _data_replace() function and _buffer_replace()
8910 Use finalize method to clean up clock.
8911 Fix refcounting on request pads.
8912 Fix pad schedule mode error.
8913 Some more object refcounting debug info,
8916 2005-05-04 Andy Wingo <wingo@pobox.com>
8918 * check/Makefile.am:
8919 * docs/gst/tmpl/gstatomic.sgml:
8920 * docs/gst/tmpl/gstplugin.sgml:
8921 * gst/base/gstbasesink.c: (gst_basesink_activate):
8922 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8923 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8924 (gst_basesrc_query), (gst_basesrc_set_property),
8925 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8926 (gst_basesrc_activate):
8927 * gst/base/gstbasesrc.h:
8928 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8929 (gst_base_transform_src_activate):
8930 * gst/elements/gstelements.c:
8931 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8932 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8933 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8934 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8935 (gst_type_find_element_checkgetrange),
8936 (gst_type_find_element_activate):
8937 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8938 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8939 (gst_caps_load_thyself):
8940 * gst/gstelement.c: (gst_element_pads_activate),
8941 (gst_element_save_thyself), (gst_element_restore_thyself):
8942 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8943 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8945 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8946 (gst_xml_parse_file), (gst_xml_parse_memory),
8947 (gst_xml_get_element), (gst_xml_make_element):
8948 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8949 (_file_index_id_save_xml), (gst_file_index_commit):
8950 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8951 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8953 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8954 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8955 * tools/gst-complete.c: (main):
8956 * tools/gst-compprep.c: (main):
8957 * tools/gst-inspect.c: (print_element_properties_info):
8958 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8959 * tools/gst-xmlinspect.c: (print_element_properties):
8962 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8964 * gst/gstplugin.c: (gst_plugin_check_module),
8965 (gst_plugin_check_file), (gst_plugin_load_file):
8966 apply patch from #172526 to make register work on MacOSX
8968 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8970 * docs/gst/tmpl/gstconfig.sgml:
8971 * gst/gstconfig.h.in:
8972 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8973 * testsuite/debug/printf_extension.c: (main):
8974 Do not use GST_PTR_FORMAT on pointers to types with
8975 sizeof < sizeof(gpointer). Fixes test on 64-bit
8976 * testsuite/elements/property.h:
8977 use correct printf format
8979 2005-05-02 Wim Taymans <wim@fluendo.com>
8981 * docs/design/draft-push-pull.txt:
8982 * docs/design/draft-query.txt:
8983 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8984 (gst_basesrc_start):
8985 Added draft for new query API.
8986 Added draft for better selecting scheduling methods.
8987 Make basesrc ignore length if the subclass does not support
8990 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8993 possible fixes for automake-1.5 - _LIBADD is reserved
8995 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8997 * docs/faq/Makefile.am:
8998 * docs/manual/Makefile.am:
9000 * docs/pwg/Makefile.am:
9002 possible fixes for automake-1.5
9004 2005-04-28 Wim Taymans <wim@fluendo.com>
9006 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9007 (gst_basesink_pad_getcaps), (gst_basesink_init),
9008 (gst_basesink_do_sync):
9009 * gst/gstclock.c: (gst_clock_entry_new):
9010 * gst/gstevent.c: (gst_event_discont_get_value):
9011 * gst/gstpipeline.c: (pipeline_bus_handler),
9012 (gst_pipeline_change_state):
9013 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9014 Better debugging of clocking info.
9015 Allow NULL values when getting discont values.
9017 2005-04-27 Wim Taymans <wim@fluendo.com>
9019 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9020 * check/gst/gstpad.c: (gst_pad_suite):
9021 Increase timeout for checks.
9023 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9025 * check/Makefile.am:
9026 fix the broken rule for cleanup. Apparently this rule is
9027 only needed on FC2, so maybe this warrants further autotool
9030 2005-04-26 Wim Taymans <wim@fluendo.com>
9032 * gst/gsttrashstack.h:
9033 Ooohh. a nasty one! After having a failed pop() from the stack,
9034 it's possible that the stack is empty. In that case, don't
9035 follow the NULL pointer.
9037 2005-04-25 Wim Taymans <wim@fluendo.com>
9039 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9040 (gst_pad_set_checkgetrange_function),
9041 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9042 (gst_pad_check_pull_range), (gst_pad_pull_range),
9043 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9044 (gst_pad_pause_task), (gst_pad_stop_task):
9045 * gst/gstplugin.c: (gst_plugin_load):
9047 Remove gst_library_load as it does more harm than good with
9048 the new g_module flags.
9049 Revert bogus caps template check in pad linking, pad caps
9050 are important when linking not the template, which is more
9051 general than the current caps.
9053 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9055 * gst/autoplug/.cvsignore:
9056 * gst/autoplug/Makefile.am:
9057 * gst/autoplug/gstsearchfuncs.c:
9058 * gst/autoplug/gstsearchfuncs.h:
9059 * gst/autoplug/gstspider.c:
9060 * gst/autoplug/gstspider.h:
9061 * gst/autoplug/gstspideridentity.c:
9062 * gst/autoplug/gstspideridentity.h:
9063 * gst/autoplug/spidertest.c:
9066 2005-04-25 Wim Taymans <wim@fluendo.com>
9068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9069 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9070 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9071 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9073 Added stubs for unimplemented functions.
9075 2005-04-24 David Schleef <ds@schleef.org>
9077 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9080 2005-04-24 David Schleef <ds@schleef.org>
9082 Convert everything from GstAtomicInt to g_atomic_int_*, and
9087 * gst/gstatomic_impl.h:
9095 * gst/gstdata_private.h:
9102 * gst/gststructure.c:
9103 * gst/gststructure.h:
9104 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9107 2005-04-24 David Schleef <ds@schleef.org>
9109 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9110 make the regressions tests work. Remove some code that is no
9112 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9113 Disable warning for pads without templates.
9115 2005-04-24 David Schleef <ds@schleef.org>
9117 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9118 functions that handle filtered links.
9119 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9121 * gst/gstutils.c: Fix/remove utility functions that handle
9124 * gst/gstvalue.c: Add serialization/deserialization of caps
9125 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9126 requires fixing so that the filter caps notation creates
9127 a capsfilter element and sets the filter_caps property. I
9128 think everyone probably wants to keep the shorthand notation.
9129 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9130 * docs/gst/tmpl/gstpad.sgml:
9132 * gst/elements/gstelements.c: Register capsfilter element.
9133 * gst/Makefile.am: fix spacing
9134 * docs/random/ds/0.9-suggested-changes: random
9136 2005-04-23 David Schleef <ds@schleef.org>
9138 * gst/elements/Makefile.am:
9139 * gst/elements/gstcapsfilter.c: New element that acts like an
9140 identity, but filters caps. Will eventually replace filtered
9141 caps in pad linking.
9142 * gst/gstutils.c: (gst_element_create_all_pads): New function
9143 to create all the ALWAYS pads that are registered with an
9144 element class. This functionality should eventually be
9145 merged in with GstElement initialization.
9147 * testsuite/trigger/README: part of trigger test code that should
9148 have been checked in a long time ago.
9150 2005-04-23 David Schleef <ds@schleef.org>
9152 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9153 needed with new versions of libtool (nobody will confirm this),
9154 and hard to carry around.
9155 * gst/autoplug/Makefile.am:
9156 * gst/base/Makefile.am:
9157 * gst/elements/Makefile.am:
9158 * gst/indexers/Makefile.am:
9159 * gst/schedulers/Makefile.am:
9160 * libs/gst/bytestream/Makefile.am:
9161 * libs/gst/control/Makefile.am:
9162 * libs/gst/dataprotocol/Makefile.am:
9163 * libs/gst/getbits/Makefile.am:
9165 2005-04-21 Wim Taymans <wim@fluendo.com>
9167 * docs/design/draft-push-pull.txt:
9168 * docs/design/part-MT-refcounting.txt:
9169 * docs/design/part-TODO.txt:
9170 * docs/design/part-caps.txt:
9171 * docs/design/part-events.txt:
9172 * docs/design/part-gstbus.txt:
9173 * docs/design/part-gstpipeline.txt:
9174 * docs/design/part-messages.txt:
9175 * docs/design/part-push-pull.txt:
9176 * docs/design/part-query.txt:
9179 2005-04-21 Wim Taymans <wim@fluendo.com>
9181 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9182 (gst_message_new), (gst_message_new_error),
9183 (gst_message_new_warning), (gst_message_new_tag),
9184 (gst_message_new_state_changed), (gst_message_new_application),
9185 (gst_message_get_structure):
9187 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9188 (gst_structure_copy_conditional):
9189 Use parent refcount in GstMessage to ensure GstStructure
9191 Cleaned up headers a bit.
9194 2005-04-20 Wim Taymans <wim@fluendo.com>
9196 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9197 (gst_basesink_pad_getcaps), (gst_basesink_init),
9198 (gst_basesink_chain_unlocked):
9199 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9200 (gst_type_find_helper):
9201 * gst/elements/gsttypefindelement.c:
9202 (gst_type_find_element_have_type), (gst_type_find_element_init),
9203 (stop_typefinding), (gst_type_find_element_handle_event),
9204 (find_suggest), (gst_type_find_element_chain),
9205 (gst_type_find_element_checkgetrange),
9206 (gst_type_find_element_getrange), (do_typefind),
9207 (gst_type_find_element_activate):
9208 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9209 (gst_buffer_default_free), (gst_buffer_default_copy),
9210 (gst_buffer_set_caps):
9211 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9213 * gst/gstmessage.c: (gst_message_new),
9214 (gst_message_new_state_changed):
9215 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9216 (gst_pad_set_checkgetrange_function),
9217 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9218 (gst_pad_set_caps), (gst_pad_check_pull_range),
9219 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9221 * gst/gsttypefind.c: (gst_type_find_register):
9222 Make gst_caps_replace() work like other _replace() functions.
9223 Use _caps_replace() where possible.
9224 Make sure _message_new() initialises its field.
9225 Add gst_static_pad_template_get_caps()
9228 2005-04-18 Andy Wingo <wingo@pobox.com>
9230 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9231 on the peer, not the pad. I think that was a typo. Pass an extra
9232 arg to see if random access is possible. Activate the pads as
9233 PULL_RANGE if possible.
9235 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9237 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9238 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9241 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9243 * docs/faq/using.xml:
9244 Add note on gstreamer-properties (#154996).
9246 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9248 * docs/random/bbb/optional-properties:
9249 Some analysis on optional properties.
9251 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9253 * docs/gst/tmpl/gstelementfactory.sgml:
9255 * gst/gstelementfactory.c: (gst_element_factory_init),
9256 (gst_element_factory_cleanup), (gst_element_register),
9257 (__gst_element_factory_add_static_pad_template),
9258 (gst_element_factory_get_static_pad_templates),
9259 (gst_element_factory_can_src_caps),
9260 (gst_element_factory_can_sink_caps):
9261 * gst/registries/Makefile.am:
9262 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9263 (gst_xml_registry_class_init), (gst_xml_registry_init),
9264 (gst_xml_registry_new), (gst_xml_registry_set_property),
9265 (gst_xml_registry_get_property), (get_time), (make_dir),
9266 (gst_xml_registry_get_perms_func),
9267 (plugin_times_older_than_recurse), (plugin_times_older_than),
9268 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9269 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9270 (add_to_char_array), (read_string), (read_uint), (read_enum),
9271 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9272 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9273 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9274 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9275 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9276 (gst_xml_registry_rebuild):
9277 * gst/registries/gstlibxmlregistry.h:
9278 * tools/gst-compprep.c: (main):
9279 * tools/gst-inspect.c: (print_pad_templates_info):
9280 * tools/gst-xmlinspect.c: (print_element_info):
9281 Use libxml2 for registry parsing, use staticpadtemplates in
9282 elementfactories. Makes gst_init() +/- 10x faster.
9284 2005-04-12 Wim Taymans <wim@fluendo.com>
9286 * gst/base/Makefile.am:
9287 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9288 (gst_basesink_pad_getcaps), (gst_basesink_init),
9289 (gst_basesink_event), (gst_basesink_change_state):
9290 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9291 (gst_basesrc_init), (gst_basesrc_query),
9292 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9293 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9294 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9295 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9296 (gst_basesrc_stop), (gst_basesrc_activate),
9297 (gst_basesrc_change_state):
9298 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9299 (helper_find_suggest), (gst_type_find_helper):
9300 * gst/base/gsttypefindhelper.h:
9301 * gst/elements/Makefile.am:
9302 * gst/elements/gstelements.c:
9303 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9304 (gst_fakesink_get_times), (gst_fakesink_event),
9305 (gst_fakesink_preroll), (gst_fakesink_render):
9306 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9307 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9308 (gst_fakesrc_get_property), (gst_fakesrc_create),
9309 (gst_fakesrc_start), (gst_fakesrc_stop):
9310 * gst/elements/gstfakesrc.h:
9311 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9312 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9313 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9314 (gst_filesrc_create_read), (gst_filesrc_create),
9315 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9316 (gst_filesrc_start):
9317 * gst/elements/gsttypefindelement.c:
9318 (gst_type_find_element_have_type), (gst_type_find_element_init),
9319 (start_typefinding), (stop_typefinding), (push_buffer_store),
9320 (gst_type_find_element_handle_event),
9321 (gst_type_find_element_chain),
9322 (gst_type_find_element_checkgetrange),
9323 (gst_type_find_element_getrange), (do_typefind),
9324 (gst_type_find_element_activate),
9325 (gst_type_find_element_change_state):
9326 * gst/elements/gsttypefindelement.h:
9327 * gst/gstpipeline.c: (pipeline_bus_handler):
9328 Added typefind helper.
9329 Small preroll fix in the base sink.
9330 Disable typefind code in basesrc.
9331 Crude port of typefindelement.
9335 2005-04-11 Wim Taymans <wim@fluendo.com>
9337 * check/gst/gstbus.c: (gstbus_suite):
9338 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9340 Fix up the timeout so that the test does not fail.
9342 2005-04-06 Wim Taymans <wim@fluendo.com>
9345 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9346 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9347 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9348 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9349 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9350 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9351 (gst_basesrc_stop), (gst_basesrc_activate),
9352 (gst_basesrc_change_state), (basesrc_find_peek),
9353 (basesrc_find_suggest), (gst_basesrc_type_find):
9354 * gst/base/gstbasesrc.h:
9355 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9356 (gst_filesrc_class_init), (gst_filesrc_init),
9357 (gst_filesrc_finalize), (gst_filesrc_set_location),
9358 (gst_filesrc_set_property), (gst_filesrc_get_property),
9359 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9360 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9361 (gst_filesrc_create_read), (gst_filesrc_create),
9362 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9363 * gst/elements/gstfilesrc.h:
9364 * gst/gstelement.c: (gst_element_get_state_func),
9365 (gst_element_lost_state), (gst_element_pads_activate):
9366 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9367 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9368 (gst_pad_pull_range):
9370 More work on the generic source base class, implement seeking,
9372 Make filesrc extend the base source class.
9373 Added gst_pad_set_checkgetrange_function to GstPad.
9375 2005-04-06 Andy Wingo <wingo@pobox.com>
9377 * pkgconfig/gstreamer-base.pc.in:
9378 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9380 * pkgconfig/Makefile.am:
9381 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9383 2005-04-04 Wim Taymans <wim@fluendo.com>
9385 * gst/base/Makefile.am:
9387 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9388 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9389 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9390 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9391 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9392 (gst_basesrc_base_init), (gst_basesrc_class_init),
9393 (gst_basesrc_init), (gst_basesrc_get_formats),
9394 (gst_basesrc_get_query_types), (gst_basesrc_query),
9395 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9396 (gst_basesrc_set_property), (gst_basesrc_get_property),
9397 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9398 (gst_basesrc_loop), (gst_basesrc_activate),
9399 (gst_basesrc_change_state):
9400 * gst/base/gstbasesrc.h:
9401 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9402 (gst_fakesrc_class_init), (gst_fakesrc_init),
9403 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9404 (gst_fakesrc_get_property), (gst_fakesrc_create):
9405 * gst/elements/gstfakesrc.h:
9406 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9407 (gst_filesrc_open_file), (gst_filesrc_loop),
9408 (gst_filesrc_activate), (filesrc_find_peek),
9409 (gst_filesrc_type_find):
9410 Made base source class, make fakesrc extend it.
9411 Add comments to basesink class.
9412 Some filesrc cleanup.
9414 2005-03-31 David Schleef <ds@schleef.org>
9416 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9417 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9418 expected to link against libgstreamer.
9419 * gst/base/Makefile.am: link against libgstreamer
9420 * gst/elements/Makefile.am: same
9422 2005-03-31 Andy Wingo <wingo@pobox.com>
9424 * tests/instantiate/Makefile.am:
9425 * tests/instantiate/caps.c: Add test to test speed of caps copy
9428 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9429 GMemChunk to be fair.
9431 * gst/gsttrashstack.h: Remove warning about using the fallback
9432 trash stack implementation, it's still faster than malloc.
9434 2005-03-30 Andy Wingo <wingo@pobox.com>
9436 * tests/complexity.c: Add a copyright.
9438 2005-03-31 Wim Taymans <wim@fluendo.com>
9440 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9441 (gst_base_transform_class_init), (gst_base_transform_init),
9442 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9443 (gst_base_transform_get_property),
9444 (gst_base_transform_sink_activate),
9445 (gst_base_transform_src_activate),
9446 (gst_base_transform_change_state):
9447 * gst/base/gstbasetransform.h:
9448 * gst/elements/gstidentity.c: (gst_identity_class_init),
9449 (gst_identity_event), (gst_identity_check_perfect),
9450 (gst_identity_transform), (gst_identity_start),
9451 (gst_identity_stop):
9452 Added start/stop methods to transform base class so subclasses
9453 don't need to deal with state changes even.
9455 2005-03-31 Wim Taymans <wim@fluendo.com>
9457 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9458 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9460 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9461 (gst_pad_pull_range):
9462 Added rate to the discont event to prepare for variable speed
9463 and reverse playback.
9465 2005-03-29 David Schleef <ds@schleef.org>
9468 * testsuite/trigger/Makefile.am:
9469 * testsuite/trigger/trigger.c: A little example program to show
9470 how trigger-based elements can work.
9472 2005-03-29 Wim Taymans <wim@fluendo.com>
9474 * gst/base/Makefile.am:
9476 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9477 (gst_basesink_base_init), (gst_basesink_class_init),
9478 (gst_basesink_pad_getcaps), (gst_basesink_init),
9479 (gst_basesink_activate), (gst_basesink_change_state):
9480 * gst/base/gstbasesink.h:
9481 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9482 (gst_base_transform_base_init), (gst_base_transform_finalize),
9483 (gst_base_transform_class_init), (gst_base_transform_init),
9484 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9485 (gst_base_transform_event), (gst_base_transform_getrange),
9486 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9487 (gst_base_transform_set_property),
9488 (gst_base_transform_get_property),
9489 (gst_base_transform_sink_activate),
9490 (gst_base_transform_src_activate),
9491 (gst_base_transform_change_state):
9492 * gst/base/gstbasetransform.h:
9493 * gst/elements/gstidentity.c: (gst_identity_finalize),
9494 (gst_identity_class_init), (gst_identity_init),
9495 (gst_identity_event), (gst_identity_check_perfect),
9496 (gst_identity_transform), (gst_identity_set_property),
9497 (gst_identity_get_property), (gst_identity_change_state):
9498 * gst/elements/gstidentity.h:
9499 * gst/gstelement.c: (gst_element_get_state_func),
9500 (gst_element_lost_state), (gst_element_pads_activate):
9501 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9502 (gst_pad_check_pull_range), (gst_pad_pull_range):
9504 Simplify pad activation.
9505 Added function to check if pull_range can be performed.
9506 Error out when pulling inactive or flushing pads.
9507 Removed const from refcounted types as it does not make sense.
9508 Simplify pad templates in basesink
9509 Added base class for simple 1-to-1 transforms.
9510 Make identity subclass the base transform.
9512 2005-03-29 Andy Wingo <wingo@pobox.com>
9514 * docs/libs/gstreamer-libs-overrides.txt:
9515 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9516 really don't understand what's going on, but like whatever. I want
9519 * docs/gst/Makefile.am:
9520 * docs/libs/Makefile.am: Dist the overrides files.
9522 * check/Makefile.am (clean-local): Remove .libs directories.
9524 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9525 elements to EXTRA_DIST, so po/ files are happy.
9527 * po/POTFILES.in: Er, remove it here.
9529 * po/POTFILES: Remove gstspider.c.
9531 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9533 * docs/libs/gstreamer-libs-docs.sgml:
9534 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9537 * tests/complexity.c (main): Set the length of the preroll queue
9538 on the sinks to prevent a lockup.
9540 * libs/gst/dataprotocol/Makefile.am:
9541 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9542 the same as the one in check/gst-libs/gdp.c.
9544 * po/, docs/gst/: Commit automatic changes to docs and po files.
9546 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9547 the versioned libgstbase.
9549 * check/Makefile.am: Depend on an unversioned gst-register, seems
9550 to make autoconf happier.
9552 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9554 2005-03-28 Wim Taymans <wim@fluendo.com>
9557 * docs/design/part-gstelement.txt:
9558 * docs/design/part-negotiation.txt:
9559 * docs/design/part-preroll.txt:
9560 * docs/design/part-scheduling.txt:
9561 * docs/design/part-states.txt:
9563 * gst/base/Makefile.am:
9565 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9566 (gst_basesink_base_init), (gst_basesink_class_init),
9567 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9568 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9569 (gst_basesink_set_pad_functions),
9570 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9571 (gst_basesink_set_property), (gst_basesink_get_property),
9572 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9573 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9574 (gst_basesink_preroll_queue_push),
9575 (gst_basesink_preroll_queue_empty),
9576 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9577 (gst_basesink_event), (gst_basesink_get_times),
9578 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9579 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9580 (gst_basesink_loop), (gst_basesink_activate),
9581 (gst_basesink_change_state):
9582 * gst/base/gstbasesink.h:
9583 * gst/elements/Makefile.am:
9584 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9585 (gst_fakesink_class_init), (gst_fakesink_init),
9586 (gst_fakesink_set_property), (gst_fakesink_get_property),
9587 (gst_fakesink_get_times), (gst_fakesink_event),
9588 (gst_fakesink_preroll), (gst_fakesink_render),
9589 (gst_fakesink_change_state):
9590 * gst/elements/gstfakesink.h:
9591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9592 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9593 * gst/gstelement.c: (gst_element_add_pad),
9594 (gst_element_get_state_func), (gst_element_abort_state),
9595 (gst_element_commit_state), (gst_element_lost_state),
9596 (gst_element_set_state), (gst_element_pads_activate):
9597 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9598 * gst/gstpipeline.c: (gst_pipeline_send_event),
9599 (gst_pipeline_change_state):
9600 Added state change code.
9602 Added sink base class, make fakesink extend the base class.
9603 Small cleanups in GstPipeline.
9605 2005-03-26 David Schleef <ds@schleef.org>
9607 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9608 is broken and should be implemented in a different library.
9609 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9610 * gst/gst.h: remove gstcpu.h
9611 * gst/gstcpu.c: remove
9612 * gst/gstcpu.h: remove
9613 * gst/Makefile.am.future: Remove this file. It's ancient.
9615 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9617 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9618 (gst_bin_send_event):
9619 Add default event/set_manager handlers. The set_manager handler
9620 takes care that the manager is distributed over kids that were
9621 already in the bin before the manager was set. The event handler
9622 is a utility virtual function that sends the event over all sinks,
9623 so that gst_element_send_event (bin, event); has the expected
9625 * gst/gstpad.c: (gst_pad_event_default):
9626 Re-install default event handling for discontinuities, so that
9627 seeking works without requiring hacks in applications or extra
9629 * gst/gstpipeline.c: (gst_pipeline_class_init),
9630 (gst_pipeline_send_event):
9631 Half hack, half utility: set a pipeline to PAUSED for seek events,
9632 since that is the only way we can guarantee a/v sync. Means that
9633 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9634 and it "just works".
9636 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9638 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9639 Lock/unlock mismatch.
9641 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9643 * docs/faq/gst-uninstalled:
9644 add gst-plugins-base
9645 * docs/gst/Makefile.am:
9646 don't error out until docs are fixed
9647 * docs/gst/gstreamer.types:
9650 2005-03-22 Wim Taymans <wim@fluendo.com>
9652 * check/Makefile.am:
9653 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9654 * gst/gststructure.c: (gst_structure_set_valist),
9655 (gst_structure_copy_conditional):
9656 Activated more tests.
9658 Added G_TYPE_POINTER to GstStructure.
9661 2005-03-22 Wim Taymans <wim@fluendo.com>
9663 * docs/design/part-TODO.txt:
9664 * docs/design/part-events.txt:
9665 * docs/design/part-gstbin.txt:
9666 * docs/design/part-gstbus.txt:
9667 * docs/design/part-gstpipeline.txt:
9668 * docs/design/part-messages.txt:
9673 2005-03-21 Wim Taymans <wim@fluendo.com>
9675 * gst/gstbus.c: (gst_bus_post):
9676 Fix copy-and-paste error.
9678 2005-03-21 Wim Taymans <wim@fluendo.com>
9680 * check/Makefile.am:
9682 * gst/elements/Makefile.am:
9683 * gst/elements/gstelements.c:
9684 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9685 (gst_fakesink_event), (gst_fakesink_chain):
9686 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9687 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9688 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9689 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9690 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9691 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9692 (gst_fakesrc_loop), (gst_fakesrc_activate),
9693 (gst_fakesrc_change_state):
9694 * gst/elements/gstfakesrc.h:
9695 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9696 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9697 (gst_filesrc_open_file), (gst_filesrc_loop),
9698 (gst_filesrc_activate), (gst_filesrc_change_state),
9699 (filesrc_find_peek), (filesrc_find_suggest),
9700 (gst_filesrc_type_find):
9701 * gst/elements/gstidentity.c: (gst_identity_finalize),
9702 (gst_identity_class_init), (gst_identity_init),
9703 (gst_identity_proxy_getcaps), (identity_queue_push),
9704 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9705 (gst_identity_getrange), (gst_identity_chain),
9706 (gst_identity_sink_loop), (gst_identity_src_loop),
9707 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9708 (gst_identity_set_property), (gst_identity_get_property),
9709 (gst_identity_change_state):
9710 * gst/elements/gstidentity.h:
9711 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9712 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9713 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9714 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9715 (gst_tee_sink_activate):
9716 * gst/elements/gsttee.h:
9717 * gst/gst.c: (gst_register_core_elements), (init_post):
9719 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9720 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9721 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9722 (gst_bin_change_state):
9724 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9725 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9726 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9727 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9728 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9729 (bus_watch_callback), (bus_watch_destroy),
9730 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9731 (poll_timeout), (gst_bus_poll):
9735 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9736 (gst_element_post_message), (gst_element_message_full),
9737 (gst_element_get_state_func), (gst_element_get_state),
9738 (gst_element_abort_state), (gst_element_commit_state),
9739 (gst_element_lost_state), (gst_element_set_state),
9740 (gst_element_pads_activate), (gst_element_change_state),
9741 (gst_element_dispose), (gst_element_set_manager_func),
9742 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9743 (gst_element_set_manager), (gst_element_get_manager),
9744 (gst_element_set_bus), (gst_element_get_bus),
9745 (gst_element_set_scheduler), (gst_element_get_scheduler):
9747 * gst/gstevent.c: (gst_event_new_segment_seek),
9748 (gst_event_new_flush):
9750 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9751 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9752 (gst_message_new_eos), (gst_message_new_error),
9753 (gst_message_new_warning), (gst_message_new_tag),
9754 (gst_message_new_state_changed), (gst_message_new_application),
9755 (gst_message_get_structure), (gst_message_parse_tag),
9756 (gst_message_parse_state_changed), (gst_message_parse_error),
9757 (gst_message_parse_warning):
9759 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9760 (gst_real_pad_set_property), (gst_pad_set_active),
9761 (gst_pad_is_active), (gst_pad_set_blocked_async),
9762 (gst_pad_set_blocked), (gst_pad_is_blocked),
9763 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9764 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9765 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9766 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9767 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9768 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9769 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9770 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9771 (gst_pad_set_caps), (gst_pad_configure_sink),
9772 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9773 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9774 (gst_real_pad_dispose), (gst_real_pad_finalize),
9775 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9776 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9777 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9779 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9780 (pipeline_bus_handler), (gst_pipeline_change_state),
9781 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9782 * gst/gstpipeline.h:
9784 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9785 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9786 (gst_queue_link_src), (gst_queue_bufferalloc),
9787 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9788 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9789 (gst_queue_loop), (gst_queue_handle_src_event),
9790 (gst_queue_handle_src_query), (gst_queue_src_activate),
9791 (gst_queue_change_state):
9793 * gst/gstscheduler.c: (gst_scheduler_init),
9794 (gst_scheduler_dispose), (gst_scheduler_create_task),
9795 (gst_scheduler_factory_create):
9796 * gst/gstscheduler.h:
9797 * gst/gststructure.c: (gst_structure_get_type),
9798 (gst_structure_copy_conditional):
9799 * gst/gststructure.h:
9800 * gst/gsttaginterface.h:
9801 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9802 (gst_task_init), (gst_task_dispose), (gst_task_create),
9803 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9809 * gst/schedulers/Makefile.am:
9810 * gst/schedulers/cothreads_compat.h:
9811 * gst/schedulers/entryscheduler.c:
9812 * gst/schedulers/faircothreads.c:
9813 * gst/schedulers/faircothreads.h:
9814 * gst/schedulers/fairscheduler.c:
9815 * gst/schedulers/gstbasicscheduler.c:
9816 * gst/schedulers/gstoptimalscheduler.c:
9817 * gst/schedulers/gthread-cothreads.h:
9818 * gst/schedulers/threadscheduler.c:
9819 (gst_thread_scheduler_task_get_type),
9820 (gst_thread_scheduler_task_class_init),
9821 (gst_thread_scheduler_task_init),
9822 (gst_thread_scheduler_task_start),
9823 (gst_thread_scheduler_task_stop),
9824 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9825 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9826 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9827 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9829 * libs/gst/Makefile.am:
9830 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9831 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9832 (gst_file_pad_parent_set):
9833 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9834 (gst_dp_event_from_packet):
9835 * tests/complexity.c: (main):
9836 * tests/mass_elements.c: (main):
9837 * testsuite/states/locked.c: (message_received), (main):
9838 * testsuite/states/parent.c: (main):
9839 * tools/gst-inspect.c: (print_element_flag_info),
9840 (print_implementation_info), (print_pad_info):
9841 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9843 * tools/gst-md5sum.c: (event_loop), (main):
9844 * tools/gst-typefind.c: (main):
9845 * tools/gst-xmlinspect.c: (print_element_info):
9847 Added GstBus for mainloop integration.
9848 Added GstMessage for sending notifications on the bus.
9849 Added GstTask as an abstraction for pipeline entry points.
9852 Simplified GstQueue for multithreaded core.
9853 Made _link threadsafe, removed old capsnego.
9854 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9855 Added pad blocking functions.
9856 Reworked scheduling functions in GstPad to prepare for
9857 scheduling updates soon.
9858 Moved events out of data stream.
9859 Simplified GstEvent types.
9860 Added return values to push/pull.
9861 Removed clocking from GstElement.
9862 Added prototypes for state change function for next merge.
9863 Removed iterate from bins and state change management.
9864 Fixed some elements, disabled others for now.
9865 Fixed -inspect and -launch.
9866 Added check for GstBus.
9868 2005-03-10 Wim Taymans <wim@fluendo.com>
9870 * docs/design/part-MT-refcounting.txt:
9871 * docs/design/part-clocks.txt:
9872 * docs/design/part-gstelement.txt:
9873 * docs/design/part-gstobject.txt:
9874 * docs/design/part-standards.txt:
9875 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9876 (gst_bin_remove_func), (gst_bin_remove):
9880 * testsuite/clock/clock1.c: (main):
9881 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9883 * testsuite/dlopen/loadgst.c: (do_test):
9884 * testsuite/refcounting/bin.c: (add_remove_test1),
9885 (add_remove_test2), (main):
9886 * testsuite/refcounting/element.c: (main):
9887 * testsuite/refcounting/element_pad.c: (main):
9888 * testsuite/refcounting/pad.c: (main):
9889 * tools/gst-launch.c: (sigint_handler_sighandler):
9890 * tools/gst-typefind.c: (main):
9892 Added doc about clock.
9893 removed gst_bin_iterate_recurse_up(), marked methods
9895 Fix more testsuites.
9897 2005-03-09 Wim Taymans <wim@fluendo.com>
9899 * gst/gstpad.c: (gst_pad_get_direction),
9900 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9901 (gst_pad_collect_valist):
9902 * testsuite/bins/interface.c: (main):
9903 * testsuite/caps/audioscale.c: (test_caps):
9904 * testsuite/caps/caps.c: (test1), (test2), (test3):
9905 * testsuite/caps/deserialize.c: (main):
9906 * testsuite/caps/enumcaps.c: (main):
9907 * testsuite/caps/filtercaps.c: (main):
9908 * testsuite/caps/intersect2.c: (main):
9909 * testsuite/caps/random.c: (main):
9910 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9911 * testsuite/caps/sets.c: (check_caps):
9912 * testsuite/caps/simplify.c: (check_caps), (main):
9913 * testsuite/caps/subtract.c: (check_caps):
9914 Fix _pad_get_direction wrt ghostpads.
9917 2005-03-09 Wim Taymans <wim@fluendo.com>
9919 * check/Makefile.am:
9920 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9921 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9922 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9924 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9925 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9926 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9927 (bin_element_is_sink), (gst_bin_iterate_sinks),
9928 (gst_bin_iterate_all_by_interface):
9930 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9931 (gst_element_change_state), (gst_element_dispose),
9932 (gst_element_finalize), (gst_element_set_loop_function):
9934 * gst/gstiterator.c: (find_custom_fold_func):
9935 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9936 (gst_pad_collectv), (gst_pad_collect_valist),
9937 (gst_pad_template_new):
9938 * gst/gstpipeline.c: (gst_pipeline_class_init),
9939 (gst_pipeline_dispose), (gst_pipeline_set_property),
9940 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9941 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9942 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9944 * gst/schedulers/entryscheduler.c:
9945 * gst/schedulers/gstbasicscheduler.c:
9946 (gst_basic_scheduler_cothreaded_chain),
9947 (gst_basic_scheduler_chain_add_element):
9948 * testsuite/bins/interface.c: (main):
9950 Added GstSystemClock test.
9951 Implemented clock distribution code in GstBin.
9952 Implemented iterate sinks method for future use.
9953 Rearranged gstelement.h
9954 Fix GstIterator comparison bug.
9955 Moved some code to GstPipeline, mostly clocking related.
9957 2005-03-09 Wim Taymans <wim@fluendo.com>
9960 * gst/gst_private.h:
9961 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9962 (gst_bin_remove_func), (gst_bin_remove),
9963 (gst_bin_get_by_name_recurse_up):
9964 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9965 (gst_clock_id_compare_func), (gst_clock_id_wait),
9966 (gst_clock_id_wait_async), (gst_clock_init),
9967 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9969 * gst/gstinfo.c: (_gst_debug_init):
9971 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9972 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9974 Bump version number, we're now 0.9.0
9975 Add future debugging category.
9976 Fix NULL _unref() in _get_by_name_recurse_up
9980 2005-03-08 Wim Taymans <wim@fluendo.com>
9982 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9983 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9984 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9985 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9986 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9987 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9988 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9989 * gst/elements/gstidentity.c: (gst_identity_class_init):
9990 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9991 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9992 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9993 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9994 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9996 * gst/gstelement.c: (gst_element_class_init),
9997 (gst_element_base_class_init), (gst_element_init),
9998 (gst_element_get_random_pad), (gst_element_wait_state_change),
9999 (gst_element_change_state), (gst_element_dispose),
10000 (gst_element_finalize), (gst_element_set_loop_function):
10001 * gst/gstelement.h:
10002 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10003 * gst/gstthread.c: (gst_thread_class_init),
10004 (gst_thread_release_children_locks), (gst_thread_change_state):
10005 * gst/schedulers/gstbasicscheduler.c:
10006 (gst_basic_scheduler_loopfunc_wrapper),
10007 (gst_basic_scheduler_chain_wrapper),
10008 (gst_basic_scheduler_src_wrapper),
10009 (gst_basic_scheduler_remove_element):
10010 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10011 Remove threadsafe properties. Fix elements because GObject
10012 complains when installing a property before declaring a
10013 set/get_property handler.
10014 Rearrange gstelement.h file, use STATE macros for state locks.
10015 Free mutexes in the finalize method instead of dispose.
10017 2005-03-08 Wim Taymans <wim@fluendo.com>
10019 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10020 * gst/gstthread.c: (gst_thread_release_children_locks):
10021 Added parentage check.
10022 Fix build og GstThread again.
10024 2005-03-08 Wim Taymans <wim@fluendo.com>
10026 * docs/design/part-MT-refcounting.txt:
10027 * docs/design/part-conventions.txt:
10028 * docs/design/part-gstobject.txt:
10029 * docs/design/part-relations.txt:
10030 * docs/design/part-standards.txt:
10031 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10032 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10033 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10034 (gst_bin_iterate_all_by_interface):
10037 * gst/gstelement.c: (gst_element_class_init),
10038 (gst_element_change_state), (gst_element_set_loop_function):
10039 * gst/gstelement.h:
10040 * gst/gstiterator.c:
10041 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10042 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10043 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10044 (gst_object_set_parent), (gst_object_unparent),
10045 (gst_object_check_uniqueness):
10047 Docs updates, clean up some headers.
10049 2005-03-07 Wim Taymans <wim@fluendo.com>
10051 * check/.cvsignore:
10052 * check/Makefile.am:
10053 * check/gst-libs/.cvsignore:
10054 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10055 * check/gst/.cvsignore:
10056 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10057 (START_TEST), (gstbus_suite), (main):
10058 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10059 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10060 (gst_data_suite), (main):
10061 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10062 (add_fold_func), (gstiterator_suite), (main):
10063 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10064 (thread_name_object), (thread_name_object_default),
10065 (gst_object_name_compare), (gst_object_suite), (main):
10066 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10067 (gst_pad_suite), (main):
10068 * check/gstcheck.c: (gst_check_log_message_func),
10069 (gst_check_log_critical_func), (gst_check_init):
10070 * check/gstcheck.h:
10071 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10072 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10075 2005-03-07 Wim Taymans <wim@fluendo.com>
10077 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10078 (gst_list_iterator_next), (gst_list_iterator_resync),
10079 (gst_list_iterator_free), (gst_iterator_new_list),
10080 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10081 (gst_iterator_free), (gst_iterator_push), (filter_next),
10082 (filter_resync), (filter_uninit), (filter_free),
10083 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10084 (gst_iterator_foreach), (find_custom_fold_func),
10085 (gst_iterator_find_custom):
10086 * gst/gstiterator.h:
10087 Added missing files.
10089 2005-03-07 Wim Taymans <wim@fluendo.com>
10093 * docs/design/part-MT-refcounting.txt:
10094 * docs/design/part-conventions.txt:
10095 * docs/design/part-gstobject.txt:
10096 * docs/design/part-relations.txt:
10097 * examples/mixer/mixer.c: (main):
10098 * examples/thread/thread.c: (eos), (main):
10100 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10101 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10102 (gst_spider_plug_from_srcpad):
10103 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10104 (gst_spider_identity_change_state),
10105 (gst_spider_identity_sink_loop_type_finding):
10106 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10107 * gst/elements/gstidentity.c: (gst_identity_init):
10108 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10109 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10110 * gst/elements/gsttypefindelement.c: (free_entry):
10113 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10114 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10115 (gst_bin_set_index), (gst_bin_set_element_sched),
10116 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10117 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10118 (gst_bin_iterate_elements), (iterate_child_recurse),
10119 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10120 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10121 (compare_interface), (gst_bin_get_by_interface),
10122 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10124 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10125 (gst_buffer_default_free), (gst_buffer_default_copy),
10126 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10127 (gst_buffer_create_sub):
10129 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10130 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10131 (gst_caps_unref), (gst_static_caps_get),
10132 (gst_caps_remove_and_get_structure), (gst_caps_append),
10133 (gst_caps_append_structure), (gst_caps_remove_structure),
10134 (gst_caps_copy_nth), (gst_caps_set_simple),
10135 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10136 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10137 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10138 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10139 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10140 (gst_caps_structure_figure_out_union),
10141 (gst_caps_switch_structures), (gst_caps_do_simplify),
10142 (gst_caps_replace), (gst_caps_from_string),
10143 (gst_caps_copy_conditional):
10145 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10146 (_gst_clock_id_free), (gst_clock_id_unref),
10147 (gst_clock_id_compare_func), (gst_clock_id_wait),
10148 (gst_clock_id_wait_async), (gst_clock_class_init),
10149 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10150 (gst_clock_get_time), (gst_clock_set_time_adjust),
10151 (gst_clock_set_property), (gst_clock_get_property):
10154 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10155 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10157 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10158 (gst_element_requires_clock), (gst_element_provides_clock),
10159 (gst_element_set_clock), (gst_element_clock_wait),
10160 (gst_element_wait), (gst_element_set_time_delay),
10161 (gst_element_is_indexable), (gst_element_add_pad),
10162 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10163 (pad_compare_name), (gst_element_get_static_pad),
10164 (gst_element_request_pad), (gst_element_get_request_pad),
10165 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10166 (gst_element_class_get_pad_template_list),
10167 (gst_element_class_get_pad_template), (gst_element_error_func),
10168 (gst_element_get_random_pad), (gst_element_get_event_masks),
10169 (gst_element_send_event), (gst_element_seek),
10170 (gst_element_get_query_types), (gst_element_query),
10171 (gst_element_get_formats), (gst_element_convert),
10172 (gst_element_is_locked_state), (gst_element_set_locked_state),
10173 (gst_element_sync_state_with_parent), (gst_element_change_state),
10174 (gst_element_finalize), (gst_element_yield),
10175 (gst_element_interrupt), (gst_element_set_scheduler),
10176 (gst_element_get_scheduler), (gst_element_set_loop_function):
10177 * gst/gstelement.h:
10179 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10180 (gst_format_get_by_nick), (gst_format_get_details),
10181 (gst_format_iterate_definitions):
10183 * gst/gstindex.c: (gst_index_gtype_resolver):
10186 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10187 (gst_mem_chunk_free):
10188 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10189 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10190 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10191 (gst_object_dispatch_properties_changed),
10192 (gst_object_set_name_default), (gst_object_set_name),
10193 (gst_object_get_name), (gst_object_set_name_prefix),
10194 (gst_object_get_name_prefix), (gst_object_set_parent),
10195 (gst_object_get_parent), (gst_object_unparent),
10196 (gst_object_check_uniqueness), (gst_object_save_thyself),
10197 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10198 (gst_object_set_property), (gst_object_get_property),
10199 (gst_object_get_path_string):
10201 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10202 (gst_real_pad_init), (gst_real_pad_get_property),
10203 (gst_pad_custom_new), (gst_pad_get_direction),
10204 (gst_pad_set_active), (gst_pad_is_active),
10205 (gst_pad_set_event_function), (gst_pad_is_linked),
10206 (gst_pad_link_free), (gst_pad_link_intersect),
10207 (gst_pad_link_fixate), (gst_pad_set_caps),
10208 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10209 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10210 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10211 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10212 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10213 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10214 (gst_pad_realize), (gst_pad_get_allowed_caps),
10215 (gst_real_pad_dispose), (gst_real_pad_finalize),
10216 (gst_pad_collectv), (gst_pad_collect_valist),
10217 (gst_pad_template_dispose), (gst_pad_template_new),
10218 (gst_pad_get_internal_links):
10220 * gst/gstpipeline.c: (gst_pipeline_dispose),
10221 (gst_pipeline_change_state):
10222 * gst/gstpipeline.h:
10224 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10225 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10226 * gst/gstpluginfeature.h:
10227 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10228 * gst/gstquery.c: (_gst_query_type_initialize),
10229 (gst_query_type_register), (gst_query_type_get_by_nick),
10230 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10232 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10233 * gst/gstscheduler.c: (gst_scheduler_add_element),
10234 (gst_scheduler_factory_create):
10235 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10236 (gst_structure_free), (gst_structure_set_name),
10237 (gst_structure_id_set_value), (gst_structure_set_value),
10238 (gst_structure_set_valist), (gst_structure_remove_field),
10239 (gst_structure_remove_fields),
10240 (gst_structure_remove_fields_valist),
10241 (gst_structure_remove_all_fields), (gst_structure_foreach),
10242 (gst_structure_map_in_place),
10243 (gst_caps_structure_fixate_field_nearest_int),
10244 (gst_caps_structure_fixate_field_nearest_double):
10245 * gst/gststructure.h:
10246 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10247 (gst_system_clock_init), (gst_system_clock_dispose),
10248 (gst_system_clock_async_thread),
10249 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10250 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10251 * gst/gstsystemclock.h:
10252 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10253 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10254 * gst/gsttaginterface.c:
10255 * gst/gstthread.c: (gst_thread_dispose),
10256 (gst_thread_release_children_locks), (gst_thread_change_state),
10257 (gst_thread_main_loop):
10258 * gst/gsttrashstack.h:
10259 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10261 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10262 (gst_element_request_pad), (gst_element_get_pad_from_template),
10263 (gst_element_request_compatible_pad),
10264 (gst_element_get_compatible_pad_filtered),
10265 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10266 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10267 (gst_element_link_many), (gst_element_link),
10268 (gst_element_link_pads), (gst_element_unlink_pads),
10269 (gst_element_unlink_many), (gst_element_unlink),
10270 (gst_pad_can_link_filtered), (gst_pad_can_link),
10271 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10272 (gst_object_default_error), (gst_bin_add_many),
10273 (gst_bin_remove_many), (gst_element_populate_std_props),
10274 (gst_element_class_install_std_props), (gst_buffer_merge),
10275 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10276 (link_fold_func), (gst_pad_proxy_setcaps):
10278 * gst/gstvalue.c: (gst_value_deserialize_string):
10279 * gst/parse/grammar.y:
10280 * gst/schedulers/gstbasicscheduler.c:
10281 (gst_basic_scheduler_cothreaded_chain),
10282 (gst_basic_scheduler_chain_recursive_add),
10283 (gst_basic_scheduler_pad_link):
10284 * gst/schedulers/gstoptimalscheduler.c:
10285 (get_group_schedule_function),
10286 (gst_opt_scheduler_state_transition),
10287 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10288 * libs/gst/bytestream/bytestream.c:
10289 * libs/gst/dataprotocol/dataprotocol.c:
10290 (gst_dp_header_from_buffer):
10293 * tests/threadstate/threadstate2.c: (eos):
10294 * tools/gst-compprep.c: (main):
10295 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10296 (print_pad_info), (print_children_info):
10297 * tools/gst-launch.c: (idle_func), (main):
10298 * tools/gst-md5sum.c: (idle_func), (main):
10299 * tools/gst-xmlinspect.c: (print_element_info):
10300 First THREADED backport attempt, focusing on adding locks and
10301 making sure the API is threadsafe. Needs more work. More docs
10304 2005-02-24 Andy Wingo <wingo@pobox.com>
10306 * tests/bench-complexity.scm:
10307 * tests/complexity.gnuplot: New files, good for running complexity
10310 * tests/Makefile.am:
10311 * tests/complexity.c: New test, sets up N elements, at each level
10312 teeing into M streams per element. Eeeenteresting.
10314 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10315 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10316 running bench-mass_elements.scm.
10318 * tests/bench-mass_elements.scm: New script, runs mass_elements
10319 for various numbers of identities, outputting the results to a
10320 file. Requires guile 1.6. Just for testing.
10322 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10324 * gst/schedulers/fairscheduler.c:
10325 compile with debug disabled
10327 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10330 hunting season on 0.9 is now OPEN