1 2005-11-07 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasesrc.c: (gst_base_src_init),
4 (gst_base_src_get_range):
5 Set the segment_end to -1 initially. Fixed typefind.
7 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9 * gst/base/gstadapter.c:
10 Debug category should be 'adapter', not 'GstAdapter'.
12 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13 (gst_collectpads_class_init), (gst_collectpads_init),
14 (gst_collectpads_peek), (gst_collectpads_pop),
15 (gst_collectpads_event), (gst_collectpads_chain):
16 Add debug category and some debugging output. Use boilerplate
17 macros. Remove some extraneous words from docs.
19 2005-11-05 Andy Wingo <wingo@pobox.com>
21 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
24 2005-11-04 Stefan Kost <ensonic@users.sf.net>
26 * docs/gst/gstreamer-sections.txt:
29 * gst/gstminiobject.h:
34 2005-11-04 Wim Taymans <wim@fluendo.com>
36 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
37 Small update to stop at the configured segment_end
40 2005-11-04 Stefan Kost <ensonic@users.sf.net>
46 2005-11-04 Edward Hervey <edward@fluendo.com>
48 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
49 Check if we are doing a segment seek and have arrived at the
52 2005-11-04 Wim Taymans <wim@fluendo.com>
54 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
55 Don't leak a mutex unlock in case of an error.
60 2005-11-04 Wim Taymans <wim@fluendo.com>
62 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
64 Get the context to wake up only once.
66 2005-11-03 Wim Taymans <wim@fluendo.com>
68 * check/states/sinks.c: (GST_START_TEST):
69 Uncomment fixed check.
71 * docs/design/part-TODO.txt:
74 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
75 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
76 (gst_base_sink_get_position):
77 If we are going to PLAYING, post the right pending state
78 when we post the intermediate paused message.
80 * gst/gstelement.c: (gst_element_continue_state),
81 (gst_element_set_state_func), (gst_element_change_state):
82 Don't post state changes that were between the same state
85 2005-11-03 Stefan Kost <ensonic@users.sf.net>
87 * docs/gst/gstreamer-sections.txt:
90 * gst/gstminiobject.h:
93 more docs and doc style fixes
95 2005-11-03 Stefan Kost <ensonic@users.sf.net>
97 * docs/gst/gstreamer-sections.txt:
99 * gst/gstminiobject.c:
102 2005-11-03 Andy Wingo <wingo@pobox.com>
104 * check/states/sinks.c (test_livesrc_sink): Add checks that the
105 state-changed messages actually have the right order and the right
108 2005-11-03 Wim Taymans <wim@fluendo.com>
110 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
111 Added some more checks. Specifically the case where NO_PREROLL
112 elements are in the pipeline.
114 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
115 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
116 (gst_base_sink_get_position):
117 Post READY->PAUSED state change messages too.
118 Fix bug where VOID was posted as pending state...
120 * gst/gstbin.c: (gst_bin_recalc_state):
121 use _element_continue_state() to continue the state change.
123 * gst/gstelement.c: (gst_element_continue_state),
124 (gst_element_commit_state), (gst_element_set_state_func),
125 (gst_element_change_state), (gst_element_change_state_func):
126 Lots of state change cleanups, assign the STATE_RETURN in
127 a new continue_state() function that also propagates the
128 last return value from a state change to the app.
129 Update some debug statements with proper category.
131 2005-11-03 Wim Taymans <wim@fluendo.com>
133 * docs/design/part-events.txt:
134 * docs/design/part-gstpipeline.txt:
135 * docs/design/part-messages.txt:
136 * docs/design/part-overview.txt:
137 * docs/design/part-seeking.txt:
138 * docs/design/part-states.txt:
139 * docs/design/part-trickmodes.txt:
140 * docs/manual/advanced-position.xml:
144 People think !! is ugly, this looks better.
146 * gst/gstpad.c: (gst_pad_set_blocked_async):
147 Remove !! since it's fixed elsewhere now.
149 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
151 * gst/gstminiobject.h:
153 Add !! to _FLAG_IS_SET macros to make the result boolean.
155 2005-11-03 Edward Hervey <edward@fluendo.com>
157 * gst/gstpad.c: (gst_pad_set_blocked_async):
158 comparing a flag and a gboolean rarely returns coherent results...
159 Added two characters (!!) to make that work correctly.
161 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
163 * gst/gstbus.c: (gst_bus_class_init):
166 * gst/gstqueue.c: (gst_queue_loop):
167 Don't assume a miniobject that isn't a buffer is an
168 event (it could be that there is a refcounting
169 problem somewhere and the pointer is stale and
170 refers to an already destroyed miniobject).
172 2005-11-03 Julien MOUTTE <julien@moutte.net>
174 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
176 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
178 * docs/manual/advanced-position.xml:
179 Update seek example and explanations to current 0.9 API.
181 * gst/elements/gsttypefindelement.c:
182 (gst_type_find_element_activate):
183 Remove FIXME comment now that the found caps
186 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
188 * gst/gstregistryxml.c: (load_feature):
189 Add another GST_STR_NULL instance
191 2005-11-02 Edward Hervey <edward@fluendo.com>
193 * gst/gstpad.c: (handle_pad_block):
194 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
196 2005-11-02 Wim Taymans <wim@fluendo.com>
201 * gst/gstelement.c: (gst_element_commit_state):
205 Mention that the returned element is reffed in the docs.
207 2005-11-02 Wim Taymans <wim@fluendo.com>
209 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
210 (gst_pad_push), (gst_pad_push_event):
211 Unlock blocked pads when they are flushed.
213 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
216 * docs/gst/gstreamer-sections.txt:
219 * gst/gstregistry.c: (gst_registry_scan_path_level):
220 fix for a nasty little missed situation where an installed plug-in
221 which was in the cache did not get overridden by an uninstalled one
222 which was earlier in the plugin path because the newly created plugin
223 for the uninstalled one (not in the registry) didn't get its
224 ->registered set to TRUE
226 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
228 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
229 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
230 (gst_collectpads_is_active), (gst_collectpads_collect),
231 (gst_collectpads_collect_range), (gst_collectpads_start),
232 (gst_collectpads_stop), (gst_collectpads_peek),
233 (gst_collectpads_pop), (gst_collectpads_available),
234 (gst_collectpads_read), (gst_collectpads_flush):
235 Guard public API with assertions.
238 Fix docs for gst_pad_set_link_function().
240 2005-11-02 Johan Dahlin <johan@gnome.org>
242 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
243 Unref found_caps after we used it.
245 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
247 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
248 Don't try to ref NULL.
250 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
252 * win32/common/config.h.in:
253 provide a GST_FUNCTION that just gives a string for now
255 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
257 * win32/common/gstenumtypes.c: (register_gst_object_flags),
258 (gst_object_flags_get_type), (register_gst_bin_flags),
259 (gst_bin_flags_get_type), (register_gst_buffer_flag),
260 (gst_buffer_flag_get_type), (register_gst_bus_flags),
261 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
262 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
263 (gst_clock_return_get_type), (register_gst_clock_entry_type),
264 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
265 (gst_clock_flags_get_type), (register_gst_state),
266 (gst_state_get_type), (register_gst_state_change_return),
267 (gst_state_change_return_get_type), (register_gst_state_change),
268 (gst_state_change_get_type), (register_gst_element_flags),
269 (gst_element_flags_get_type), (register_gst_core_error),
270 (gst_core_error_get_type), (register_gst_library_error),
271 (gst_library_error_get_type), (register_gst_resource_error),
272 (gst_resource_error_get_type), (register_gst_stream_error),
273 (gst_stream_error_get_type), (register_gst_event_type),
274 (gst_event_type_get_type), (register_gst_seek_type),
275 (gst_seek_type_get_type), (register_gst_seek_flags),
276 (gst_seek_flags_get_type), (register_gst_format),
277 (gst_format_get_type), (register_gst_index_certainty),
278 (gst_index_certainty_get_type), (register_gst_index_entry_type),
279 (gst_index_entry_type_get_type),
280 (register_gst_index_lookup_method),
281 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
282 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
283 (gst_index_resolver_method_get_type), (register_gst_index_flags),
284 (gst_index_flags_get_type), (register_gst_debug_level),
285 (gst_debug_level_get_type), (register_gst_debug_color_flags),
286 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
287 (gst_iterator_result_get_type), (register_gst_iterator_item),
288 (gst_iterator_item_get_type), (register_gst_message_type),
289 (gst_message_type_get_type), (register_gst_mini_object_flags),
290 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
291 (gst_pad_link_return_get_type), (register_gst_flow_return),
292 (gst_flow_return_get_type), (register_gst_activate_mode),
293 (gst_activate_mode_get_type), (register_gst_pad_direction),
294 (gst_pad_direction_get_type), (register_gst_pad_flags),
295 (gst_pad_flags_get_type), (register_gst_pad_presence),
296 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
297 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
298 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
299 (gst_plugin_error_get_type), (register_gst_plugin_flags),
300 (gst_plugin_flags_get_type), (register_gst_rank),
301 (gst_rank_get_type), (register_gst_query_type),
302 (gst_query_type_get_type), (register_gst_tag_merge_mode),
303 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
304 (gst_tag_flag_get_type), (register_gst_task_state),
305 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
306 (gst_alloc_trace_flags_get_type),
307 (register_gst_type_find_probability),
308 (gst_type_find_probability_get_type), (register_gst_uri_type),
309 (gst_uri_type_get_type), (register_gst_parse_error),
310 (gst_parse_error_get_type):
311 * win32/common/gstversion.h:
314 2005-11-01 Luca Ognibene <luogni@tin.it>
317 fix docs. popt is dead, long live GOption.
319 2005-10-31 Wim Taymans <wim@fluendo.com>
324 2005-10-31 Andy Wingo <wingo@pobox.com>
328 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
330 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
331 need to serialize property notifications on GLib 2.8. GLib 2.6 has
332 the possibility of deadlocks here if code calling notify() or
333 set() has a lock that can be taken in another notify handler (ABBA
334 with class lock and e.g. python GIL state lock).
336 2005-10-28 Julien MOUTTE <julien@moutte.net>
338 * gst/gstbus.c: Doc updates.
340 2005-10-28 Wim Taymans <wim@fluendo.com>
342 * docs/design/part-TODO.txt:
344 * gst/gstsystemclock.c:
345 * gst/gstsystemclock.h:
348 2005-10-28 Edward Hervey <edward@fluendo.com>
350 * docs/gst/gstreamer-docs.sgml:
351 * docs/gst/gstreamer-sections.txt:
352 the GstURIType documentation page is private, it only defines GstURIType
353 which should be defined in the GstURIHandler page
355 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
357 * gst/gstbin.c: (gst_bin_class_init):
360 Documentation updates.
362 2005-10-28 Wim Taymans <wim@fluendo.com>
364 * docs/gst/gstreamer-sections.txt:
367 Documented the clocks.
369 2005-10-28 Stefan Kost <ensonic@users.sf.net>
371 * docs/gst/gstreamer-sections.txt:
372 move some macros to private sections
373 * gst/gstminiobject.c:
374 * gst/gstminiobject.h:
375 add descriptions provided by ds and some more
377 mark macro as to be removed
379 2005-10-28 Wim Taymans <wim@fluendo.com>
381 * docs/design/part-TODO.txt:
384 * gst/gstiterator.c: (gst_iterator_fold),
385 (gst_iterator_find_custom):
389 2005-10-28 Wim Taymans <wim@fluendo.com>
391 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
392 (gst_base_transform_init):
395 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
396 An EOS event marks the queue as completely filled.
398 2005-10-27 Wim Taymans <wim@fluendo.com>
400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
401 (gst_base_sink_do_sync), (gst_base_sink_get_position):
404 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
405 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
406 (gst_base_transform_event), (gst_base_transform_getrange),
407 (gst_base_transform_chain):
408 * gst/base/gstbasetransform.h:
410 Protect transform and concurrent buffer alloc with a new lock.
411 Try not to break ABI/API.
413 2005-10-27 Wim Taymans <wim@fluendo.com>
415 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
416 (gst_base_src_init), (gst_base_src_query),
417 (gst_base_src_default_newsegment),
418 (gst_base_src_configure_segment), (gst_base_src_do_seek),
419 (gst_base_src_send_event), (gst_base_src_event_handler),
420 (gst_base_src_pad_get_range), (gst_base_src_loop),
421 (gst_base_src_unlock), (gst_base_src_default_negotiate),
422 (gst_base_src_start), (gst_base_src_deactivate),
423 (gst_base_src_activate_push), (gst_base_src_change_state):
424 Move some stuff around and cleanup things.
426 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
428 * gst/base/gstbasesrc.c: (gst_base_src_query):
429 Add missing break statements.
431 2005-10-27 Wim Taymans <wim@fluendo.com>
433 * check/gst/gstbin.c: (GST_START_TEST):
434 An extra refcount is taken in basesrc.
436 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
437 (gst_base_src_get_range), (gst_base_src_pad_get_range),
439 Small cleanups, check for flushing after being unlocked from the
440 LIVE_LOCK. take refcounts correctly (not yet everywhere).
441 Don't send out EOS when going to READY.
443 2005-10-27 Wim Taymans <wim@fluendo.com>
445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
446 (gst_base_sink_get_position):
449 * gst/gstbin.c: (message_check), (bin_replace_message),
450 (bin_remove_messages), (is_eos), (gst_bin_add_func),
451 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
452 (bin_query_duration_init), (bin_query_duration_fold),
453 (bin_query_duration_done), (bin_query_generic_fold),
455 * tools/gst-launch.c: (main):
458 2005-10-26 Stefan Kost <ensonic@users.sf.net>
460 * examples/controller/audio-example.c: (main):
461 * examples/queue/queue.c: (event_loop):
462 * gst/base/gstbasetransform.h:
463 * gst/gstelement.c: (gst_element_send_event):
465 * gst/gstpad.c: (gst_pad_send_event):
468 changing log priority in error situations
470 2005-10-25 Wim Taymans <wim@fluendo.com>
472 * gst/gstbin.c: (message_check), (bin_replace_message),
473 (bin_remove_messages), (is_eos), (gst_bin_add_func),
474 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
475 (bin_query_duration_init), (bin_query_duration_fold),
476 (bin_query_duration_done), (bin_query_generic_fold),
478 Some doc and debug updates.
479 Cache previously requested query DURATION for speed. invalidate
480 cached duration if element posts a DURATION message.
482 2005-10-25 Wim Taymans <wim@fluendo.com>
484 * docs/design/part-TODO.txt:
487 * gst/gstbin.c: (message_check), (bin_replace_message),
488 (bin_remove_messages), (is_eos), (gst_bin_add_func),
489 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
490 (bin_query_duration_init), (bin_query_duration_fold),
491 (bin_query_duration_done), (bin_query_generic_fold),
493 Handle SEGMENT_START/DONE messages correctly.
494 More evolved query algorithm that handles duration queries
497 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
498 (gst_element_get_state_func), (gst_element_abort_state),
499 (gst_element_commit_state), (gst_element_lost_state):
505 2005-10-25 Wim Taymans <wim@fluendo.com>
507 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
508 Don't use invalid stream_time.
510 * gst/gstevent.c: (gst_event_new_newsegment):
511 stream_time in newsegment cannot be undefined.
513 2005-10-24 Wim Taymans <wim@fluendo.com>
518 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
520 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
522 2005-10-24 Stefan Kost <ensonic@users.sf.net>
524 * docs/libs/tmpl/gstdparam.sgml:
525 * docs/libs/tmpl/gstdplinint.sgml:
526 * docs/libs/tmpl/gstdpman.sgml:
527 * docs/libs/tmpl/gstdpsmooth.sgml:
528 * docs/libs/tmpl/gstunitconvert.sgml:
531 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
536 === release 0.9.4 ===
538 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
541 releasing 0.9.4, "Tyrannosaurus Rex"
543 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
545 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
546 (gst_file_sink_get_current_offset):
547 Use fseeko() and ftello() if available. When falling back on
548 lseek() to get the current offset, fflush() first to make sure
549 everything is up-to-date and we get the right offset.
551 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
554 * gst/base/gstbasesrc.c: (gst_base_src_loop):
555 * gst/gsterror.c: (_gst_stream_errors_init):
557 * gst/gstqueue.c: (gst_queue_loop):
559 remove prematurely added error category and clean up the instances
561 2005-10-21 Wim Taymans <wim@fluendo.com>
563 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
564 (gst_base_sink_get_position), (gst_base_sink_query),
565 (gst_base_sink_change_state):
566 Simply set the right flag when going to playing, that's all
567 we need to do instead of calling a function inside the object
568 lock (that could take the lock as well and deadlock)
570 2005-10-21 Wim Taymans <wim@fluendo.com>
572 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
574 Don't warn, the peer element knows what to do best when
575 the seek failed, it might try something else.
577 2005-10-21 Wim Taymans <wim@fluendo.com>
579 * gst/base/gstbasesrc.c: (gst_base_src_init),
580 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
583 2005-10-21 Wim Taymans <wim@fluendo.com>
585 * docs/design/part-segments.txt:
588 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
589 Correctly set caps, even on the subbufer.
591 2005-10-21 Wim Taymans <wim@fluendo.com>
593 * docs/gst/gstreamer-docs.sgml:
594 * docs/gst/gstreamer-sections.txt:
601 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
605 And 2% more doc coverage.
607 2005-10-21 Andy Wingo <wingo@pobox.com>
609 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
612 2005-10-20 Wim Taymans <wim@fluendo.com>
614 * gst/gsterror.c: (gst_error_get_message):
617 * gst/gststructure.c:
622 2005-10-20 Wim Taymans <wim@fluendo.com>
627 Another 1% more coverage.
629 2005-10-20 Wim Taymans <wim@fluendo.com>
631 * docs/gst/gstreamer-sections.txt:
632 * gst/gstelement.c: (gst_element_get_state_func),
633 (gst_element_abort_state), (gst_element_commit_state),
634 (gst_element_lost_state):
636 * gst/gstquery.c: (gst_query_set_position),
637 (gst_query_parse_position), (gst_query_set_duration),
638 (gst_query_parse_duration), (gst_query_new_convert):
640 Yay! 1% more docs coverage.
642 2005-10-20 Wim Taymans <wim@fluendo.com>
645 * gst/gstquery.c: (gst_query_set_position),
646 (gst_query_parse_position), (gst_query_set_duration),
647 (gst_query_parse_duration), (gst_query_new_convert):
649 * gst/gstutils.c: (gst_element_query_convert):
651 Docs and consistency fixes.
653 2005-10-20 Wim Taymans <wim@fluendo.com>
659 2005-10-20 Wim Taymans <wim@fluendo.com>
661 * gst/gstbin.c: (message_check), (bin_replace_message),
662 (bin_remove_messages), (is_eos), (gst_bin_add_func),
663 (update_degree), (gst_bin_sort_iterator_next),
664 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
665 Reworked the message handling a bit, cache the messages instead of
666 only the senders. alows us to do more in the future.
668 2005-10-20 Wim Taymans <wim@fluendo.com>
670 * docs/design/part-TODO.txt:
673 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
674 (gst_base_sink_query):
675 Don't use clock time to report position when in EOS.
677 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
679 * tools/gst-inspect.c: (print_interfaces),
680 (print_element_properties_info), (print_element_info):
681 Fix interface output with gst-inspect -a; don't print
682 newlines after double/float properties.
684 2005-10-20 Wim Taymans <wim@fluendo.com>
686 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
687 (gst_base_sink_query):
688 Speed up current position calculation.
690 * gst/base/gstbasesrc.c: (gst_base_src_query),
691 (gst_base_src_default_newsegment):
692 Correctly set stream position in newsegment.
694 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
695 (update_degree), (gst_bin_sort_iterator_next),
696 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
697 * gst/gstmessage.c: (gst_message_new_custom):
698 Clean up debugging info
700 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
701 (gst_queue_loop), (gst_queue_handle_src_query):
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 Fix query handling again.
710 2005-10-19 Wim Taymans <wim@fluendo.com>
712 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
713 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
714 * gst/base/gstbasesrc.c: (gst_base_src_query):
715 * gst/elements/gstfilesink.c: (gst_file_sink_query):
716 * gst/elements/gsttypefindelement.c:
717 (gst_type_find_handle_src_query), (find_element_get_length),
718 (gst_type_find_element_activate):
721 * gst/gstquery.c: (gst_query_new_position),
722 (gst_query_set_position), (gst_query_parse_position),
723 (gst_query_new_duration), (gst_query_set_duration),
724 (gst_query_parse_duration), (gst_query_set_segment),
725 (gst_query_parse_segment):
727 Bundling query position/duration is not a good idea since duration
728 does not change much and we don't want to recalculate it for every
729 position query, so they are separated again..
730 Base value in segment query is not needed.
732 * gst/gstqueue.c: (gst_queue_handle_src_query):
733 * gst/gstutils.c: (gst_element_query_position),
734 (gst_element_query_duration), (gst_pad_query_position),
735 (gst_pad_query_duration):
737 Updates for query API change.
738 Added some docs here and there.
740 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
742 * check/gst/gstbin.c: (GST_START_TEST):
743 * check/gst/gstghostpad.c: (GST_START_TEST):
744 * check/pipelines/cleanup.c: (GST_START_TEST):
745 wait on thread to die so we can check refcount correctly
747 2005-10-18 Wim Taymans <wim@fluendo.com>
749 * check/pipelines/stress.c: (GST_START_TEST):
750 Make check a little more time consuming.
752 2005-10-18 Wim Taymans <wim@fluendo.com>
755 * check/pipelines/stress.c: (GST_START_TEST),
756 (simple_launch_lines_suite), (main):
757 Small state change torture test.
759 * docs/design/part-states.txt:
760 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
761 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
762 (gst_base_sink_change_state):
763 Never take state lock from streaming thread, clean up ugly
764 hacks. Unfortunatly core does not yet support nice ways to
767 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
769 Start state recalc if a STATE_DIRTY message is posted, but only
772 * gst/gstelement.c: (gst_element_sync_state_with_parent),
773 (gst_element_get_state_func), (gst_element_abort_state),
774 (gst_element_commit_state), (gst_element_lost_state),
775 (gst_element_set_state_func), (gst_element_change_state):
777 State variables are now protected with the LOCK, the state
778 lock is only used to serialize _set_state().
780 2005-10-18 Wim Taymans <wim@fluendo.com>
782 * check/gst/gstbin.c: (GST_START_TEST):
783 * check/gst/gstmessage.c: (GST_START_TEST):
784 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
787 * gst/gstelement.c: (gst_element_abort_state),
788 (gst_element_commit_state), (gst_element_lost_state):
789 * gst/gstmessage.c: (gst_message_new_state_changed),
790 (gst_message_new_state_dirty), (gst_message_new_segment_start),
791 (gst_message_new_segment_done), (gst_message_new_duration),
792 (gst_message_parse_state_changed),
793 (gst_message_parse_segment_start),
794 (gst_message_parse_segment_done), (gst_message_parse_duration):
796 * tools/gst-launch.c: (event_loop):
797 Seriously, this is better than a previous commit as we only need
798 to notify the fact that an element changed state in a streaming
799 thread, marking the state of the parents dirty, hence the
800 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
803 2005-10-18 Wim Taymans <wim@fluendo.com>
805 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
806 (gst_bin_recalc_func):
807 * gst/gstelement.c: (gst_element_set_clock),
808 (gst_element_abort_state), (gst_element_lost_state):
809 Cleanups, prepare for state change fixes.
811 2005-10-18 Wim Taymans <wim@fluendo.com>
814 * gst/gstelement.c: (gst_element_class_init),
815 (gst_element_set_state), (gst_element_set_state_func):
818 GThreadPool in GstBinClass to monitor async state changes.
819 state_cookie in GstElement to detect concurrent gst/set state.
820 set_state is now virtual too in case a very complicated element
821 has to be constructed.
823 2005-10-18 Wim Taymans <wim@fluendo.com>
825 * check/gst/gstbin.c: (GST_START_TEST):
826 * check/gst/gstmessage.c: (GST_START_TEST):
827 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
828 * gst/gstbin.c: (bin_bus_handler):
829 * gst/gstelement.c: (gst_element_commit_state),
830 (gst_element_lost_state):
831 * gst/gstmessage.c: (gst_message_new_state_changed),
832 (gst_message_new_segment_start), (gst_message_new_segment_done),
833 (gst_message_new_duration), (gst_message_parse_state_changed),
834 (gst_message_parse_segment_start),
835 (gst_message_parse_segment_done), (gst_message_parse_duration):
837 * tools/gst-launch.c: (event_loop):
838 Make messages future proof.
839 state-change gets a flag if it was a message comming from the
841 segment-start/stop can also be specified in other formats.
842 A message to notify an app that a pipeline changed playback
844 Also fix a GstMessage leak in -launch
846 2005-10-18 Andy Wingo <wingo@pobox.com>
848 * gst/gstelement.c (gst_element_dispose): More helpful message.
850 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
852 * gst/gstregistry.c: (gst_registry_scan_path_level):
853 unref a plug-in we get that was already initialized
855 2005-10-18 Stefan Kost <ensonic@users.sf.net>
857 * docs/gst/gstreamer-sections.txt:
858 * docs/libs/gstreamer-libs-sections.txt:
863 2005-10-17 Andy Wingo <wingo@pobox.com>
865 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
868 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
870 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
872 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
873 (gst_element_get_state_func): Better debug message.
874 (gst_element_commit_state): s/INFO/DEBUG/.
875 (gst_element_lost_state, gst_element_change_state):
877 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
878 (gst_message_new_custom): s/INFO/LOG/.
880 2005-10-17 Michael Smith <msmith@fluendo.com>
882 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
883 Check if end time is valid using end time, not start time.
885 2005-10-17 Stefan Kost <ensonic@users.sf.net>
887 * check/gst-libs/controller.c: (GST_START_TEST),
888 (gst_controller_suite):
889 * libs/gst/controller/gstcontroller.c:
890 (gst_controlled_property_set_interpolation_mode):
891 * libs/gst/controller/gstcontroller.h:
892 * libs/gst/controller/gstinterpolation.c:
893 * testsuite/controller/.cvsignore:
894 * testsuite/controller/Makefile.am:
895 * testsuite/controller/interpolator.c:
896 merge controller testsuites
898 remove mem-chunk from docs
900 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
904 * gst/gsttrashstack.c:
905 * gst/gsttrashstack.h:
906 out. get out. you're fired. to the Attic !
908 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
910 * gst/gstcaps.c: (gst_caps_intersect):
911 fix signedness issues in a (hopefully) correct way
912 * gst/gstelement.c: (gst_element_pads_activate):
914 * gst/gstobject.c: (gst_object_set_parent):
917 2005-10-17 Julien MOUTTE <julien@moutte.net>
919 * gst/gstvalue.h: Fix prototypes.
921 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
923 * docs/gst/gstreamer-sections.txt:
924 * gst/gst.c: (gst_version_string):
926 * gst/gstversion.h.in:
927 * win32/common/libgstreamer.def:
928 add gst_version_string ()
930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
934 * gst/gst.c: (init_post):
935 * win32/common/config.h.in:
937 * gst/gstcaps.c: (gst_caps_intersect):
938 use gint64, the range could be bigger than a guint
940 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
943 document potential problem in 2038
945 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
947 * gst/gstcaps.c: (gst_caps_intersect):
948 Fix guint j diving under 0
950 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
953 * win32/common/config.h:
954 * win32/common/config.h.in:
955 check for process.h, declares getpid() on Windows
957 include process.h if we have it
958 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
960 fix signedness issues
961 * win32/common/libgstreamer.def:
964 2005-10-16 Julien MOUTTE <julien@moutte.net>
966 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
967 fix. Because of unsigned ints, caps intersection was going nuts and
968 trying to access structures with G_MAXUINT index. That fixes
969 videotestsrc ! ffmpegcolorspace ! fakesink
970 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
973 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
976 use the gettext macro
977 * gst/elements/gstelements.c:
979 * gst/indexers/gstindexers.c:
980 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
981 * win32/common/config.h:
983 * win32/common/config.h.in:
984 add the template to generate config.h
985 * win32/common/gstenumtypes.c:
986 * win32/common/gstversion.h:
989 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
991 * gst/gst.c: (gst_version):
992 * gst/gstversion.h.in:
995 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
998 Oops, add missing closing bracket.
1000 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1003 use common m4's for argument checking
1005 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1007 * docs/gst/gstreamer-sections.txt:
1009 Add GST_EVENT_TYPE_NAME() macro.
1011 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1014 * gst/gstpluginfeature.c:
1016 privatize more symbols
1018 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1021 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1022 everything that uses GStreamer API should have the includes
1024 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1026 * docs/gst/gstreamer-sections.txt:
1027 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1029 give each value a _get_type, removes the DATA exports
1031 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1035 remove _gst_registry_auto_load, not used anymore
1036 * gst/gstbin.c: (gst_bin_get_type):
1038 * gst/gstelement.c: (gst_element_get_type):
1040 * gst/gstobject.c: (gst_object_get_type):
1042 * gst/gstpad.c: (gst_pad_get_type):
1044 make _get_type functions similar, fixes data export from library
1046 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1049 correctly make conditionals
1050 * gst/elements/Makefile.am:
1051 * gst/elements/gstelements.c:
1052 fix typo causing fdsrc not to build
1054 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1056 * testsuite/Makefile.am:
1057 * testsuite/bytestream/.cvsignore:
1058 * testsuite/bytestream/Makefile.am:
1059 * testsuite/bytestream/filepadsink.c:
1060 * testsuite/bytestream/gstbstest.c:
1061 * testsuite/bytestream/test1.c:
1062 * testsuite/bytestream/testfile1:
1063 * testsuite/caps/normalisation.c:
1064 * testsuite/caps/random.c: (main):
1065 * testsuite/cleanup/.cvsignore:
1066 * testsuite/cleanup/Makefile.am:
1067 * testsuite/cleanup/cleanup1.c:
1068 * testsuite/cleanup/cleanup2.c:
1069 * testsuite/cleanup/cleanup3.c:
1070 * testsuite/cleanup/cleanup4.c:
1071 * testsuite/cleanup/cleanup5.c:
1072 * testsuite/controller/interpolator.c:
1073 * testsuite/debug/printf_extension.c: (main):
1074 * testsuite/elements/tee.c:
1075 * testsuite/negotiation/.cvsignore:
1076 * testsuite/negotiation/Makefile.am:
1077 * testsuite/negotiation/pad_link.c:
1078 * testsuite/pad/Makefile.am:
1079 * testsuite/pad/chainnopull.c:
1080 * testsuite/pad/getnopush.c:
1081 * testsuite/pad/link.c:
1082 * testsuite/refcounting/sched.c: (create_pipeline):
1083 * testsuite/registry/Makefile.am:
1084 * testsuite/registry/gst-print-formats.c:
1085 * testsuite/schedulers/.cvsignore:
1086 * testsuite/schedulers/142183-2.c:
1087 * testsuite/schedulers/142183.c:
1088 * testsuite/schedulers/143777-2.c:
1089 * testsuite/schedulers/143777.c:
1090 * testsuite/schedulers/147713.c:
1091 * testsuite/schedulers/147819.c:
1092 * testsuite/schedulers/147894-2.c:
1093 * testsuite/schedulers/147894.c:
1094 * testsuite/schedulers/Makefile.am:
1095 * testsuite/schedulers/group_link.c:
1096 * testsuite/schedulers/queue_link.c:
1097 * testsuite/schedulers/relink.c:
1098 * testsuite/schedulers/unlink.c:
1099 * testsuite/schedulers/unref.c:
1100 * testsuite/schedulers/useless_iteration.c:
1101 * testsuite/states/bin.c:
1102 clean out/remove some stuff from the testsuite directories
1104 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1107 check for some headers
1108 * gst/elements/Makefile.am:
1109 * gst/elements/gstelements.c:
1110 don't compile fdsrc without sys/socket.h
1111 * gst/indexers/Makefile.am:
1112 * gst/indexers/gstindexers.c: (plugin_init):
1113 don't compile fileindex without mmap
1115 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1122 * check/Makefile.am:
1123 * docs/gst/Makefile.am:
1124 * examples/helloworld/Makefile.am:
1126 * gst/base/Makefile.am:
1127 * gst/check/Makefile.am:
1128 * gst/elements/Makefile.am:
1129 * gst/indexers/Makefile.am:
1130 * gst/parse/Makefile.am:
1131 * libs/gst/controller/Makefile.am:
1132 * libs/gst/dataprotocol/Makefile.am:
1133 * examples/helloworld/helloworld.c: (event_loop):
1134 compile fixes, though it's not being compiled currently
1136 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1138 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1139 Add some simple tests for the new taglist date API.
1141 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1143 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1144 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1145 Beautify 'last-message' output: print 'none' for buffer timestamps
1146 and durations if none is set; improve alignment with next messages.
1148 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1150 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1151 * gst/gstpluginfeature.h:
1152 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1153 * gst/gstregistry.h:
1154 * docs/gst/gstreamer-sections.txt:
1155 Add new API to check plugin feature version requirements.
1157 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1158 Some basic tests for the above.
1160 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1162 * gst/gststructure.c: (gst_structure_to_string):
1163 guard against NULL printf - happens when for example
1164 a message structure with GstClock gets serialized
1166 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1168 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1169 Fix presumable copy'n'pasto.
1171 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1173 * gst/elements/gstfakesrc.h:
1174 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1175 * gst/elements/gsttypefindelement.c:
1177 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1178 I wonder if this could actually write +2GB files before
1180 2005-10-13 Andy Wingo <wingo@pobox.com>
1182 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1183 Fix Timmeke Waymans bug.
1184 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1185 string of the proper length to gst_caps_from_string. There's a
1186 potential for, before this fix, that this could cause someone
1187 connecting over the network to cause a segfault if the payload is
1190 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1192 * docs/design/draft-push-pull.txt:
1193 * docs/design/part-overview.txt:
1194 * docs/random/TODO-pre-0.9:
1195 * docs/random/old/ChangeLog.gstreamer:
1196 * gst/base/gstpushsrc.c:
1200 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1202 * gst/glib-compat.c: (gst_flags_get_first_value):
1203 * gst/glib-compat.h:
1204 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1205 (gst_value_compare_double), (gst_value_serialize_flags):
1206 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1209 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1211 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1212 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1214 * tools/gst-launch.c: (event_loop):
1215 print out clock nicely
1217 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1219 * docs/gst/gstreamer-sections.txt:
1221 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1222 (gst_tag_list_get_date_index):
1223 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1224 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1226 2005-10-13 Julien MOUTTE <julien@moutte.net>
1228 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1229 (gst_collectpads_chain):
1230 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1233 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1235 * docs/gst/gstreamer-sections.txt:
1238 * tools/gst-inspect.c: (main):
1239 * tools/gst-launch.c: (main):
1240 * tools/gst-run.c: (main):
1241 * tools/gst-xmlinspect.c: (main):
1242 fix GOption context leaks
1245 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1249 * win32/common/config.h:
1251 * win32/vs6/grammar.dsp:
1252 * win32/vs6/libgstelements.dsp:
1253 * win32/vs6/libgstreamer.dsp:
1256 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1258 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1259 * gst/base/gstbasesrc.c: (gst_base_src_query):
1260 fix more guint64<->gdouble conversions
1262 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1265 add win32-update target
1266 * win32/common/gstconfig.h:
1267 * win32/common/gstenumtypes.c:
1268 * win32/common/gstenumtypes.h:
1269 * win32/common/gstversion.h:
1270 add files that visual studio can't generate
1272 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1275 add a win32-update target
1278 2005-10-12 Wim Taymans <wim@fluendo.com>
1280 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1281 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1282 * gst/gstelement.c: (gst_element_commit_state),
1283 (gst_element_set_state):
1284 Protect flags with proper lock.
1285 unref provided cached clock in dispose.
1287 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1290 * gst/gstminiobject.h:
1292 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1293 removed unused flags from miniobject
1296 2005-10-12 Wim Taymans <wim@fluendo.com>
1298 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1299 (gst_file_sink_event), (gst_file_sink_render):
1300 Flush before seeking.
1302 2005-10-12 Andy Wingo <wingo@pobox.com>
1304 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1305 always been the case.
1307 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1309 * check/gst/gstbin.c: (GST_START_TEST):
1310 * docs/gst/gstreamer-sections.txt:
1311 * gst/base/gstbasesink.c: (gst_base_sink_init):
1312 * gst/base/gstbasesrc.c: (gst_base_src_init),
1313 (gst_base_src_get_range), (gst_base_src_check_get_range),
1314 (gst_base_src_start), (gst_base_src_stop):
1315 * gst/base/gstbasesrc.h:
1316 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1317 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1318 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1322 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1324 * gst/gstelement.c: (gst_element_is_locked_state),
1325 (gst_element_set_locked_state), (gst_element_commit_state),
1326 (gst_element_set_state):
1328 * gst/gstindex.c: (gst_index_init):
1330 * gst/gstminiobject.h:
1331 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1332 (gst_object_set_parent):
1334 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1335 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1337 * gst/gstpadtemplate.h:
1338 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1339 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1340 * gst/gstpipeline.h:
1341 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1342 (gst_file_index_commit):
1343 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1344 * testsuite/pad/link.c: (gst_test_src_init),
1345 (gst_test_filter_init), (gst_test_sink_init):
1346 * testsuite/states/locked.c: (main):
1347 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1348 moved bitshift from macro to enum definition
1350 2005-10-12 Wim Taymans <wim@fluendo.com>
1352 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1353 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1354 (gst_file_sink_render):
1355 Some more debugging info.
1357 2005-10-12 Wim Taymans <wim@fluendo.com>
1359 * docs/design/part-states.txt:
1360 * tools/gst-launch.c: (main):
1362 Revert non-intentional change.
1364 2005-10-12 Wim Taymans <wim@fluendo.com>
1366 * check/gst/gstbin.c: (GST_START_TEST):
1367 * check/gst/gstelement.c: (GST_START_TEST):
1368 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1369 * check/gst/gstghostpad.c: (GST_START_TEST):
1370 * check/gst/gstpipeline.c: (GST_START_TEST):
1371 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1372 * check/states/sinks.c: (GST_START_TEST):
1373 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1374 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1375 (gst_bin_remove_func), (gst_bin_get_state_func),
1376 (gst_bin_recalc_state), (gst_bin_change_state_func),
1378 * gst/gstelement.c: (gst_element_get_state_func),
1379 (gst_element_get_state), (gst_element_abort_state),
1380 (gst_element_commit_state), (gst_element_set_state),
1381 (gst_element_change_state), (gst_element_change_state_func):
1383 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1384 (gst_pipeline_provide_clock_func):
1385 * gst/gstutils.c: (gst_element_link_pads_filtered):
1386 * tools/gst-launch.c: (main):
1387 * tools/gst-typefind.c: (main):
1388 Use GstClockTime in _get_state() instead of GTimeVal.
1389 Remove old code in gstutils.c
1391 2005-10-12 Andy Wingo <wingo@pobox.com>
1393 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1396 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1397 there is no task. Shouldn't affect any code, as nothing in our
1398 plugins checks this return value.
1399 (gst_pad_stop_task): Also take the stream lock if the pad has no
1402 2005-10-12 Wim Taymans <wim@fluendo.com>
1404 * gst/gstpad.c: (pre_activate), (post_activate),
1405 (gst_pad_activate_pull), (gst_pad_activate_push):
1406 Cleanup activation code. Reset old state if
1409 2005-10-12 Wim Taymans <wim@fluendo.com>
1411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1412 (gst_base_sink_change_state):
1413 No need to prerol after receiving EOS.
1415 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1416 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1417 * gst/elements/gstidentity.c: (gst_identity_event):
1418 Print events more verbosely.
1420 2005-10-12 Wim Taymans <wim@fluendo.com>
1422 * check/Makefile.am:
1423 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1424 * check/states/sinks2.c:
1425 Moved sinks2 testcode in sinks check.
1427 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1428 (gst_bin_remove_func), (gst_bin_recalc_state),
1429 (gst_bin_change_state_func), (bin_bus_handler):
1430 Fix potential race condition when _get_state() iterated over an
1431 ASYNC element right before it posted a state completion.
1434 Do proper cast here.
1436 * gst/gstevent.c: (gst_event_new_newsegment),
1437 (gst_event_parse_newsegment):
1438 A playback rate of 0.0 is not allowed.
1440 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1442 * win32/common/config.h:
1443 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1444 (_trewinddir), (_ttelldir), (_tseekdir):
1445 * win32/common/dirent.h:
1446 * win32/common/gtchar.h:
1447 * win32/common/libgstbase.def:
1448 * win32/common/libgstreamer.def:
1449 * win32/vs6/grammar.dsp:
1450 * win32/vs6/gst_inspect.dsp:
1451 * win32/vs6/gst_launch.dsp:
1452 * win32/vs6/gstreamer.dsw:
1453 * win32/vs6/libgstbase.dsp:
1454 * win32/vs6/libgstelements.dsp:
1455 * win32/vs6/libgstreamer.dsp:
1456 Visual Studio 6 project files, and a new common directory.
1459 2005-10-11 Wim Taymans <wim@fluendo.com>
1461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1462 (gst_base_sink_do_sync), (gst_base_sink_query),
1463 (gst_base_sink_change_state):
1464 * gst/base/gstbasesink.h:
1465 Correctly parse newsegment info.
1467 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1469 * gst/gst.c: (init_post):
1470 split plugin paths correctly
1472 2005-10-11 Wim Taymans <wim@fluendo.com>
1474 * check/gst/gstevent.c: (GST_START_TEST):
1475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1476 (gst_base_sink_change_state):
1477 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1478 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1479 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1480 * gst/gstevent.c: (gst_event_new_newsegment),
1481 (gst_event_parse_newsegment):
1483 Added extra flag to newsegment for future API freeze.
1484 Updated check and base elements.
1486 2005-10-11 Julien MOUTTE <julien@moutte.net>
1488 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1489 (gst_collectpads_add_pad), (gst_collectpads_pop),
1490 (gst_collectpads_event), (gst_collectpads_chain):
1491 * gst/base/gstcollectpads.h: Handle EOS correctly.
1493 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1495 * tools/gst-launch.c: (main):
1496 more null protecting
1498 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1500 * gst/gst-i18n-lib.h:
1501 check for ENABLE_NLS, not GETTEXT_PACKAGE
1502 * gst/gstregistry.c: (gst_registry_add_plugin),
1503 (gst_registry_scan_path_level),
1504 (_gst_registry_remove_cache_plugins):
1505 protect possibly NULL strings
1506 * gst/parse/types.h:
1507 config.h already included before
1508 * tools/gst-inspect.c: (main):
1509 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1510 check for ENABLE_NLS, not GETTEXT_PACKAGE
1511 * tools/gst-launch.c: (main):
1512 check for ENABLE_NLS, not GETTEXT_PACKAGE
1514 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1517 if we don't have glib, fail before testing 2.8
1518 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1519 fix a leak, should fix plugins-base testsuite
1521 2005-10-11 Andy Wingo <wingo@pobox.com>
1523 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1524 take the mode we're going to as an arg. Go head and set the mode
1525 and flushing flags now, so that if the activate function starts a
1526 thread all the flags will be in the right state.
1527 (post_activate): Renamed also. Just handle making sure streaming
1528 finishes for the deactivation case, and setting the deactivated
1530 (gst_pad_set_active): Complain loudly if deactivation fails.
1531 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1532 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1533 remove the terrible hack.
1535 2005-10-11 Wim Taymans <wim@fluendo.com>
1537 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1538 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1539 (gst_bin_recalc_state), (gst_bin_change_state_func),
1540 (gst_bin_dispose), (bin_bus_handler):
1542 Prepare to make current EOS message queue more generic.
1545 * gst/gstevent.c: (gst_event_new_newsegment),
1546 (gst_event_parse_newsegment):
1548 Rename base to stream_time.
1553 2005-10-11 Wim Taymans <wim@fluendo.com>
1555 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1556 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1557 (gst_bin_change_state_func), (bin_bus_handler):
1559 Work on proper clock selection.
1561 2005-10-11 Edward Hervey <edward@fluendo.com>
1563 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1564 * libs/gst/controller/gstcontroller.h:
1565 Added GList* version of _remove_properties() in order to be able to wrap
1568 2005-10-11 Wim Taymans <wim@fluendo.com>
1570 * docs/design/part-states.txt:
1573 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1574 (gst_bin_change_state_func), (bin_bus_handler):
1575 Doc updates. Don't distribute the same clock over and over again.
1581 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1582 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1583 (gst_pad_send_event):
1585 Make probe emission threadsafe again.
1586 Register quarks and move _get_name() from utils.
1589 * gst/gstpipeline.c: (gst_pipeline_class_init),
1590 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1591 Only redistribute the clock of it changed.
1593 * gst/gstsystemclock.h:
1598 Moved the _flow_get_name() to GstPad.
1600 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1602 * check/gst-libs/gdp.c: (GST_START_TEST):
1603 * check/gst/gstcaps.c: (GST_START_TEST):
1604 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1605 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1606 (gst_dp_packet_from_caps):
1607 fix more valgrind warnings before turning up the heat
1609 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * gst/parse/grammar.y:
1612 some cleanup before the hacking
1614 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1616 * gst/base/gstbasesrc.c: (gst_base_src_query):
1618 * gst/gstutils.c: (gst_guint64_to_gdouble),
1619 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1621 externalize, basesrc uses it
1622 obviously the implementation needs testing
1624 2005-10-10 Wim Taymans <wim@fluendo.com>
1626 * tests/sched/Makefile.am:
1627 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1628 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1630 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1632 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1633 apparently converting from guint64 to double is not implemented
1636 2005-10-10 Wim Taymans <wim@fluendo.com>
1638 * check/Makefile.am:
1639 * check/generic/states.c: (GST_START_TEST):
1640 * check/gst/gstbin.c: (GST_START_TEST):
1641 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1642 * check/states/sinks.c: (GST_START_TEST):
1643 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1645 Check fixes, use API as stated in design docs, remove hacks.
1647 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1648 (gst_base_sink_change_state):
1649 Catch stopping our task while we're shutting down.
1651 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1652 (gst_bin_remove_func), (gst_bin_get_state_func),
1653 (gst_bin_recalc_state), (gst_bin_change_state_func),
1656 * gst/gstelement.c: (gst_element_init),
1657 (gst_element_get_state_func), (gst_element_abort_state),
1658 (gst_element_commit_state), (gst_element_lost_state),
1659 (gst_element_set_state), (gst_element_change_state),
1660 (gst_element_change_state_func):
1662 New state change algorithm (see #318116)
1664 * gst/gstpipeline.c: (gst_pipeline_class_init),
1665 (gst_pipeline_init), (gst_pipeline_set_property),
1666 (gst_pipeline_get_property), (do_pipeline_seek),
1667 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1668 * gst/gstpipeline.h:
1669 Remove crude state change hacks.
1674 * tools/gst-launch.c: (main):
1675 Fixes for state change. Needs some more work to fully use the
1678 2005-10-10 Andy Wingo <wingo@pobox.com>
1680 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1682 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1683 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1686 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1688 * gst/gstiterator.c: (gst_iterator_new):
1689 Fix my previous commit: GTypes passed to gst_iterator_new()
1690 can be fundamental types.
1692 2005-10-10 Wim Taymans <wim@fluendo.com>
1694 * gst/gstelement.c: (gst_element_iterate_pad_list),
1695 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1696 (gst_element_iterate_sink_pads):
1697 Use src/sink pads lists for the respective iterators instead
1700 2005-10-10 Andy Wingo <wingo@pobox.com>
1702 Merged in popt removal + GOption addition patch from Ronald, bug
1705 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1706 GstElement macros around, remove popt-related symbols, add goption
1709 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1711 * docs/gst/Makefile.am:
1712 * docs/libs/Makefile.am: No POPT_CFLAGS.
1714 * examples/manual/Makefile.am:
1715 * docs/manual/basics-init.xml: Doc updates with an example.
1717 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1718 (gst_init), (parse_one_option), (parse_goption_arg):
1719 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1720 bit of hand merging and debugging to get the GOption stuff working
1723 * tests/Makefile.am:
1724 * tools/Makefile.am:
1725 * tools/gst-inspect.c: (main):
1726 * tools/gst-launch.c: (main):
1727 * tools/gst-run.c: (main):
1728 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1730 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1732 * gst/gstiterator.c: (gst_iterator_new):
1733 Add assertions to make sure passed GType is likely to really
1734 be a GType (as the compiler won't catch it if the size and
1735 GType arguments get mixed up, see #318447).
1737 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1739 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1741 * gst/gstbin.c: (gst_bin_iterate_sorted):
1742 Pass GType and size arguments to gst_iterator_new() in the right
1743 order (maybe we should make _new() take the GType as first argument
1744 just like _new_list()?) (#318447).
1747 2005-10-10 Wim Taymans <wim@fluendo.com>
1749 * gst/gstelement.c: (gst_element_finalize):
1750 And free the GStaticRecMutex too
1752 2005-10-10 Andy Wingo <wingo@pobox.com>
1754 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1755 Allocate and free the mutex properly.
1757 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1759 (GstElement): The state_lock is now recursive. Rebuild your
1760 plugins, suckers. Old macros adapted.
1762 * docs/gst/gstreamer-sections.txt: Doc updates.
1765 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1766 (g_static_rec_cond_wait): Ported from state changes patch, while
1767 we wait on bug #317802 to be solved in a well-distributed GLib.
1769 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1770 gst_element_change_state, variable name changes.
1771 (gst_element_change_state): Split out of gst_element_set_state in
1772 preparation for the state change merge. Doesn't pay attention to
1773 the 'transition' argument.
1774 (gst_element_set_state): Updates, hopefully purely cosmetic.
1775 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1777 (gst_element_get_state_func): Renamed from get_state, cosmetic
1780 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1782 * gst/elements/gstelements.c:
1783 * win32/GStreamer.vcproj:
1785 * win32/dirent.c: (_tseekdir):
1786 * win32/gst-inspect.vcproj:
1787 * win32/gst-launch.vcproj:
1788 * win32/gstconfig.h:
1789 * win32/gstelements.vcproj:
1790 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1791 * win32/gstreamer.def:
1793 updates for the win32 build (patch from Sebastien Moutte)
1795 2005-10-10 Andy Wingo <wingo@pobox.com>
1797 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1798 gst_bin_get_state, cleaned up (but no logic changes).
1799 (bin_element_is_sink): Comment updates.
1800 (sink_iterator_filter): Remove needless cast.
1801 (gst_bin_iterate_sinks): Doc update.
1802 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1803 cleaned up (but no logic changes).
1805 * check/states/sinks.c (test_src_sink): Cleanups from the state
1807 (test_livesrc_sink): Sync on the state.
1809 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1810 the state change patch.
1812 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1815 * check/gst/gstbin.c: Merge in some style fixes and additional
1816 checks from Wim's state change patch.
1818 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1820 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1821 (gst_type_find_helper):
1822 Check whether we have the requested data already in our list of
1823 cached buffers before pulling a new buffer; also make the buffer
1824 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1826 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1831 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1832 don't use long long, it's not portable. Replacing with
1833 gint64 seems to work; let's hope no skeletons fall out of the closet.
1835 2005-10-10 Andy Wingo <wingo@pobox.com>
1837 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1839 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1841 * docs/gst/gstreamer-sections.txt:
1846 * gst/gstmessage.c: (gst_message_parse_state_changed):
1849 more docs, fix compilation
1851 2005-10-09 Philippe Khalaf <burger@speedy.org>
1853 Fixed a few forgotten variables on previous commit
1855 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1857 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1858 Fix evil typefind crasher: getrange() might return a short
1859 buffer at the end of a file, but gst_type_find_peek() must
1860 either return the full data as requested or NULL, but
1861 never a short buffer.
1863 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1865 * gst/gstmessage.c: (gst_message_new_state_changed),
1866 (gst_message_parse_state_changed):
1868 don't use "new", it's a C++ keyword
1870 2005-10-08 Wim Taymans <wim@fluendo.com>
1872 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1873 * gst/gstelement.c: (gst_element_post_message):
1874 * gst/gstpipeline.c: (gst_pipeline_change_state):
1875 Small docs and debug updates.
1877 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1879 * docs/gst/gstreamer-sections.txt:
1880 * gst/gstelementfactory.c:
1885 2005-10-08 Wim Taymans <wim@fluendo.com>
1887 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1888 (gst_bin_dispose), (bin_bus_handler):
1889 Fix typos, add comments.
1890 Clear EOS list when going to PAUSED from any direction and do it
1891 in a threadsafe way.
1892 Get base time in a threadsafe way too.
1893 Fix confusing debug in the change_state function.
1894 Various other small cleanups.
1896 * gst/gstelement.c: (gst_element_post_message):
1897 Fix very verbose bus posting code.
1899 * gst/gstpipeline.c: (gst_pipeline_class_init),
1900 (gst_pipeline_set_property), (gst_pipeline_get_property),
1901 (gst_pipeline_change_state):
1902 Small ARG_ -> PROP_ cleanup
1904 2005-10-08 Wim Taymans <wim@fluendo.com>
1906 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1907 Do a less CPU demanding EOS check because we can.
1909 2005-10-08 Wim Taymans <wim@fluendo.com>
1911 * libs/gst/dataprotocol/dataprotocol.c:
1912 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1913 (gst_dp_packet_from_event):
1914 * libs/gst/dataprotocol/dataprotocol.h:
1915 * libs/gst/dataprotocol/dp-private.h:
1916 It's about time we bump the version number.
1917 Since event types don't fit in the guint8 anymore describing
1918 the payload type, make payload type 16 bits wide.
1920 2005-10-08 Wim Taymans <wim@fluendo.com>
1922 * docs/design/part-TODO.txt:
1923 * docs/design/part-clocks.txt:
1924 * docs/design/part-events.txt:
1925 * docs/design/part-gstbin.txt:
1926 * docs/design/part-gstelement.txt:
1927 * docs/design/part-gstpipeline.txt:
1928 * docs/design/part-live-source.txt:
1929 * docs/design/part-messages.txt:
1930 * docs/design/part-overview.txt:
1931 * docs/design/part-states.txt:
1934 2005-10-08 Wim Taymans <wim@fluendo.com>
1938 Fix event quark registration.
1939 Add some space between events so we can insert them in the
1942 2005-10-08 Wim Taymans <wim@fluendo.com>
1944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1945 (gst_base_sink_handle_buffer):
1952 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1953 (gst_queue_set_property), (gst_queue_get_property):
1955 Remove old unused properties.
1957 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1958 * docs/gst/gstreamer-sections.txt:
1961 * gst/gstminiobject.c:
1962 * gst/gstminiobject.h:
1966 lots of new docs and doc fixes
1968 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1970 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1972 * gst/gstregistry.c: (gst_registry_lookup_locked),
1973 (gst_registry_scan_path_level):
1974 * gst/gstregistryxml.c: (load_plugin):
1975 Only ever load one plugin for a given plugin basename.
1976 This ensures correct overriding of GST_PLUGIN_PATH over
1977 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1978 system installed plugins.
1980 2005-10-08 Wim Taymans <wim@fluendo.com>
1982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1983 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1984 Prepare for doing QOS.
1986 2005-10-08 Wim Taymans <wim@fluendo.com>
1988 * check/gst/gstbin.c: (GST_START_TEST):
1989 * check/pipelines/cleanup.c: (GST_START_TEST):
1990 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1991 Allow new clock message too.
1993 2005-10-08 Wim Taymans <wim@fluendo.com>
1995 * gst/gstmessage.c: (gst_message_new_error),
1996 (gst_message_new_warning), (gst_message_new_tag),
1997 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1998 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1999 (gst_message_new_segment_start), (gst_message_new_segment_done),
2000 (gst_message_parse_state_changed),
2001 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2002 (gst_message_parse_new_clock):
2004 Also carry the clock in question.
2006 2005-10-08 Wim Taymans <wim@fluendo.com>
2008 * gst/gstmessage.c: (gst_message_new_custom),
2009 (gst_message_new_eos), (gst_message_new_error),
2010 (gst_message_new_warning), (gst_message_new_tag),
2011 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2012 (gst_message_new_new_clock), (gst_message_new_segment_start),
2013 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2014 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2017 Added clock related messages.
2019 * gst/gstpipeline.c: (gst_pipeline_change_state):
2020 Post message when the clock changed.
2022 * tools/gst-launch.c: (event_loop):
2025 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2027 * tools/gst-inspect.c: (print_element_properties_info):
2028 Can't pass NULL strings to g_print() on windows.
2030 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2033 * docs/gst/Makefile.am:
2034 * docs/gst/gstreamer-docs.sgml:
2035 * docs/gst/running.xml:
2036 * docs/version.entities.in:
2037 add a chapter on running GStreamer.
2038 document GST_DEBUG and GST_PLUGIN* env vars
2040 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2045 remove PLUGINS_BUILDDIR stuff
2046 * gst/gst.c: (init_post):
2047 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2049 remove, it was condescending and not needed
2051 2005-10-08 Wim Taymans <wim@fluendo.com>
2053 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2054 (gst_base_sink_handle_object), (gst_base_sink_event),
2055 (gst_base_sink_wait), (gst_base_sink_handle_event),
2056 (gst_base_sink_change_state):
2057 * gst/base/gstbasesink.h:
2058 Repost EOS message while going to PLAYING if still EOS.
2059 Make sure that when receiving a FLUSH_START we don't attempt
2060 to sync on the clock anymore.
2062 2005-10-08 Wim Taymans <wim@fluendo.com>
2064 * tools/gst-launch.c: (event_loop):
2065 Better message printout.
2067 2005-10-08 Wim Taymans <wim@fluendo.com>
2069 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2070 (gst_bin_child_proxy_get_children_count):
2071 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2072 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2073 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2074 (gst_child_proxy_set_valist):
2075 * gst/parse/grammar.y:
2076 Make ChildProxy threadsafe and fix mem leaks.
2078 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2080 * gst/gst.c: (init_post):
2081 debug the GST_PLUGIN_ env vars
2083 2005-10-08 Wim Taymans <wim@fluendo.com>
2085 * check/gst/gstbin.c: (GST_START_TEST):
2086 * check/gst/gstmessage.c: (GST_START_TEST):
2087 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2088 * gst/gstelement.c: (gst_element_commit_state),
2089 (gst_element_lost_state):
2090 * gst/gstmessage.c: (gst_message_new_state_changed),
2091 (gst_message_parse_state_changed):
2093 * tools/gst-launch.c: (event_loop):
2094 Added extra field to STATE_CHANGE message with the pending
2095 state, which will be different from the new state soon.
2097 2005-10-08 Wim Taymans <wim@fluendo.com>
2099 * gst/gstbus.c: (gst_bus_pop):
2101 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2102 Small cleanups and doc updates.
2104 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2106 * gst/gst.c: (init_pre):
2107 * gst/gstbin.c: (gst_bin_add_func):
2108 log distributing clocks and base time
2109 * gst/gstregistry.c: (gst_registry_add_plugin),
2110 (gst_registry_scan_path_level), (gst_registry_scan_path):
2111 clean up the debugging output a little
2112 * gst/gstutils.c: (gst_element_state_get_name):
2113 warn about a memleak (I've actually seen this be used, though
2114 it was probably a bug)
2116 2005-10-07 Wim Taymans <wim@fluendo.com>
2118 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2119 (gst_base_src_init), (gst_base_src_default_newsegment),
2120 (gst_base_src_newsegment), (gst_base_src_do_seek),
2121 (gst_base_src_loop), (gst_base_src_start):
2122 * gst/base/gstbasesrc.h:
2123 Make the newsegment event customizable by subclasses.
2125 2005-10-07 Wim Taymans <wim@fluendo.com>
2127 * gst/gstevent.c: (gst_event_new_buffersize),
2128 (gst_event_parse_buffersize):
2130 New event for future idea.
2132 2005-10-07 Andy Wingo <wingo@pobox.com>
2134 * gst/gstelement.c (gst_element_post_message): Doc update.
2136 * docs/gst/gstreamer-sections.txt: Update.
2138 * gst/gstmessage.c (gst_message_new_application): Made into a
2139 function like honest API calls.
2140 (gst_message_new_element): New message type.
2142 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2144 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2145 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2148 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2149 NO_PREROLL from gst_element_change_state to fall through.
2151 2005-10-07 Wim Taymans <wim@fluendo.com>
2153 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2154 (gst_ghost_pad_do_activate_push):
2155 Activating a ghostpad with no internal pad in push mode
2158 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2161 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2162 Fixes compilation on Windows.
2164 2005-10-07 Michael Smith <msmith@fluendo.com>
2166 * tools/gst-inspect.c:
2167 Print out feature and plugin count at the end when printing out
2170 2005-10-04 Michael Smith <msmith@fluendo.com>
2172 * gst/gsterror.c: (_gst_stream_errors_init):
2173 Add another error string used in a few existing plugins.
2176 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2177 * tools/gst-inspect.c: (print_element_info):
2178 When a feature disappears from a plugin (and the feature exists in
2179 the cached registry file), things went horribly wrong. This isn't a
2180 complete fix, we should actually be removing the 'missing' features
2181 from the features list when we load the actual plugin. That's not
2184 2005-10-04 Johan Dahlin <johan@gnome.org>
2186 * check/gst/gstiterator.c: (GST_START_TEST):
2187 * gst/gstbin.c: (gst_bin_iterate_elements),
2188 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2189 * gst/gstelement.c: (gst_element_iterate_pads):
2190 * gst/gstformat.c: (gst_format_iterate_definitions):
2191 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2192 (gst_iterator_new_list), (gst_iterator_filter):
2193 * gst/gstiterator.h:
2194 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2195 Add a GType to GstIterator, update callsites and tests.
2197 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2199 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2200 give events a chance to be handled by event probes when the pad
2203 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2205 * gst/gstevent.c: (gst_event_type_get_name),
2206 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2208 add string representations for event types
2210 2005-10-06 Wim Taymans <wim@fluendo.com>
2212 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2213 Don't use NULL pointers.
2215 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2217 * gst/gst_private.h:
2221 * gst/gstpluginfeature.c:
2222 widen the debug category in output to fit the biggest one we have
2223 add a bus category and use it
2224 play with the colors
2225 fix up some categories
2227 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2230 add push activation of sink ghost pads.
2231 Andye, please verify
2233 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2235 * gst/gstutils.c: (gst_element_link_pads):
2236 fix a bug in the case where neither element has a pad
2237 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2238 add a test for that case
2240 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2242 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2243 emit have-data before checking for peers. This allows
2244 for probe handlers to connect elements. This helps autopluggers.
2245 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2247 add six checks, linked/unlinked with no/true/false probe
2249 2005-10-04 Wim Taymans <wim@fluendo.com>
2251 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2252 (gst_fake_sink_event), (gst_fake_sink_preroll),
2253 (gst_fake_sink_render), (gst_fake_sink_change_state):
2254 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2255 (gst_fake_src_get_property), (gst_fake_src_create),
2256 (gst_fake_src_stop):
2257 * gst/elements/gstidentity.c: (gst_identity_stop):
2258 Protect last_message with lock.
2260 2005-10-04 Edward Hervey <edward@fluendo.com>
2263 Added precision in the comments for GST_FORMAT_DEFAULT
2265 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2267 * tools/gst-launch.c: (main):
2268 Don't try to run erroneous pipelines.
2270 2005-10-04 Julien MOUTTE <julien@moutte.net>
2272 * gst/gstbus.c: We don't need this header.
2274 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2279 === release 0.9.3 ===
2281 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2285 Releasing 0.9.3, "Unregistered"
2287 2005-10-03 Andy Wingo <wingo@pobox.com>
2289 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2290 whereby calling a pad's activatepush() function can start a thread
2291 that starts to push or pull before the pad gets the FLUSHING flag
2292 unset. Hack around it by holding the stream lock until the flag is
2293 set. Need to replace this with a proper solution. Together with
2294 the ghost pad fixes, this fixes mp3 playing/tagreading.
2296 * docs/design/part-gstghostpad.txt: Add a note about activation of
2297 proxy pads outside of ghost pads.
2299 * gst/gstghostpad.c: Implement the ghost pad activation design.
2301 2005-10-02 Andy Wingo <wingo@pobox.com>
2303 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2304 It is volatile, after all.
2306 * docs/design/part-gstghostpad.txt: Flesh out activation with
2309 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2312 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2315 Fix (unused) AM_CONDITIONAL tests.
2317 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2319 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2321 * gst/gstutils.c: (gst_pad_query_convert):
2322 Add assertion that makes sure src_val is >=0, just like
2323 gst_query_new_convert() has. (#315895)
2325 2005-09-30 Edward Hervey <edward@fluendo.com>
2327 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2328 Let's not iterate pads we're not interested in, it avoids getting
2329 sky-high refcounts on sinkpad.
2331 2005-09-30 Wim Taymans <wim@fluendo.com>
2333 * gst/gstelement.c: (gst_element_set_state),
2334 (gst_element_change_state):
2335 Small tweak, element in ASYNC remains ASYNC.
2337 2005-09-30 Wim Taymans <wim@fluendo.com>
2339 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2340 Only error is an error.
2342 * gst/gstbin.c: (gst_bin_change_state):
2345 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2346 Also call pad_block in pad alloc.
2348 * gst/gstutils.c: (gst_flow_get_name):
2351 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2353 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2354 (gst_base_src_get_range):
2355 Fix documentation typos. Add some more debug info.
2357 2005-09-29 David Schleef <ds@schleef.org>
2359 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2360 more end-user friendly.
2361 * tools/gst-inspect.c: (main): Check if command-line argument is
2362 a file and attempt to load that file as a plugin.
2364 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2366 * check/gst/gstbin.c:
2367 * check/states/sinks.c:
2368 fix tests for the new warning
2369 * check/gst/gstpipeline.c:
2370 add a test for pipeline and bus interaction
2372 elements should be NULL if they get disposed; add a warning if not
2374 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2377 for 2.6 refcounting, make debug log more correct by printing
2378 the actual refcounts at the time of swap (Wim)
2380 2005-09-29 Andy Wingo <wingo@pobox.com>
2382 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2383 removes signal watches previously added via
2384 gst_bus_add_signal_watch.
2385 (gst_bus_add_signal_watch): Don't return the source id, just store
2386 it on the bus if there wasn't an id already.
2388 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2389 add_signal_watch and remove_signal_watch.
2391 2005-09-29 Edward Hervey <edward@fluendo.com>
2393 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2394 Better if we actually iterate the list :)
2396 2005-09-29 Wim Taymans <wim@fluendo.com>
2398 * check/gst/gstbin.c: (GST_START_TEST):
2399 Change for new bus API.
2401 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2402 (send_messages), (GST_START_TEST), (gstbus_suite):
2403 Change for new bus signal API.
2405 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2406 (gst_bus_source_prepare), (gst_bus_source_check),
2407 (gst_bus_create_watch), (gst_bus_add_watch_full),
2408 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2409 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2411 Remove support for multiple GSources operating on different
2412 message types as it is too complex and unneeded when using
2414 Added support for receiving signals from the bus.
2416 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * docs/libs/tmpl/gstdataprotocol.sgml:
2419 * docs/manual/advanced-dataaccess.xml:
2420 * gst/elements/gstcapsfilter.c:
2422 rename filter-caps to caps property
2424 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2426 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2427 More robust fraction string parsing.
2429 * docs/pwg/appendix-porting.xml:
2430 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2432 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2434 * gst/gstcaps.c: (gst_caps_do_simplify):
2435 Thou shalt not free a structure and then continue using it
2436 in the next loop iteration.
2438 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2440 Add test case for caps simplification.
2442 2005-09-29 Wim Taymans <wim@fluendo.com>
2444 * check/gst/gstbin.c: (GST_START_TEST):
2447 2005-09-29 Wim Taymans <wim@fluendo.com>
2449 * check/gst/gstbin.c: (GST_START_TEST):
2452 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2453 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2454 (find_element), (gst_bin_sort_iterator_next),
2455 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2456 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2457 (gst_bin_change_state), (gst_bin_dispose):
2458 A bin does not have a bus, it gets the bus from the parent.
2460 * gst/gstelement.c: (gst_element_requires_clock),
2461 (gst_element_provides_clock), (gst_element_is_indexable),
2462 (gst_element_is_locked_state), (gst_element_change_state),
2463 (gst_element_set_bus_func):
2466 * gst/gstpipeline.c: (gst_pipeline_class_init),
2467 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2468 The pipeline provides a bus.
2470 2005-09-28 Johan Dahlin <johan@gnome.org>
2472 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2473 gst_structure_get_enum instead of gst_structure_get_int
2475 * gst/gststructure.c (gst_structure_get_enum): Impl.
2477 * gst/gststructure.h (gst_structure_get_enum): Add
2479 * docs/gst/gstreamer-sections.txt: Ditto
2481 * gst/gstmessage.c (gst_message_new_state_changed): Use
2482 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2483 which does introspection.
2484 Reviewed by Christian Schaller
2486 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2488 * gst/gstinfo.c: (gst_debug_log_default):
2489 don't do dummy g_strdup()s
2490 * libs/gst/controller/gstcontroller.c:
2491 (on_object_controlled_property_changed),
2492 (gst_controlled_property_new), (gst_controller_new_valist),
2493 (gst_controller_new_list),
2494 (gst_controller_remove_properties_valist), (gst_controller_set),
2495 (gst_controller_get), (gst_controller_sync_values),
2496 (gst_controller_get_value_array), (_gst_controller_class_init),
2497 (gst_controller_get_type):
2498 * libs/gst/controller/gstcontroller.h:
2499 * libs/gst/controller/gstinterpolation.c:
2500 (gst_controlled_property_find_timed_value_node):
2501 convert // to /**/ comments
2503 2005-09-28 Wim Taymans <wim@fluendo.com>
2505 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2506 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2507 (gst_bus_sync_signal_handler):
2509 Added async-message and sync-message signals to the bus.
2510 Added helper BusFunc to emit signals for all posted messages.
2512 * gst/gstmessage.c: (gst_message_type_get_name),
2513 (gst_message_type_to_quark), (gst_message_get_type):
2515 Register quarks for message names.
2517 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2519 * docs/libs/gstreamer-libs-sections.txt:
2520 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2521 (gst_controller_new_list):
2522 * libs/gst/controller/gstcontroller.h:
2523 added another constructor for language bindings
2525 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2527 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2531 * gst/gstinfo.c: (_gst_debug_init):
2532 slightly more readable color for refcount debugging
2534 2005-09-28 Wim Taymans <wim@fluendo.com>
2536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2537 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2538 (find_element), (gst_bin_sort_iterator_next),
2539 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2540 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2541 (gst_bin_change_state), (gst_bin_dispose):
2542 Small doc fixes. get_clock -> provide_clock.
2544 * gst/gstelement.c: (gst_element_class_init),
2545 (gst_element_provides_clock), (gst_element_provide_clock),
2546 (gst_element_get_clock), (gst_element_commit_state),
2547 (gst_element_lost_state):
2549 Make get/set_clock() symetric. Add provide_clock vmethod since
2550 that is actually what this function does.
2552 * gst/gstpipeline.c: (gst_pipeline_class_init),
2553 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2554 (gst_pipeline_get_clock):
2555 get_clock -> provide_clock.
2557 2005-09-28 Andy Wingo <wingo@pobox.com>
2559 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2560 lieu of real docs...
2562 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2564 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2566 * gst/elements/gstcapsfilter.c:
2567 * gst/elements/gstfakesink.c:
2568 * gst/elements/gstfakesrc.c:
2569 * gst/elements/gstfdsink.c:
2570 * gst/elements/gstfdsrc.c:
2571 * gst/elements/gstfilesink.c:
2572 * gst/elements/gstfilesrc.c:
2573 * gst/elements/gstidentity.c:
2574 * gst/elements/gsttee.c:
2575 * gst/elements/gsttypefindelement.c:
2576 Make element details static.
2578 2005-09-28 Wim Taymans <wim@fluendo.com>
2580 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2581 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2582 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2583 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2584 (gst_bin_change_state), (gst_bin_dispose):
2585 Some documentation updates.
2586 Clean up dispose handlers.
2588 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2589 * gst/gstpad.c: (gst_pad_dispose):
2590 Clean up dispose handler.
2592 * gst/gstpipeline.c: (gst_pipeline_change_state):
2593 Removed spurious UNLOCK.
2595 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2597 * docs/gst/gstreamer-sections.txt:
2598 * gst/base/gstbasesrc.h:
2603 * gst/gstpipeline.c:
2604 * gst/gstpipeline.h:
2607 added two new functions to the docs
2608 documents all undocumented GstXXXFlags
2609 completed some incomplete docs
2611 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2613 * gst/gstbin.c: (gst_bin_dispose):
2614 * gst/gstelement.c: (gst_element_dispose):
2615 remove now useless and leaky resurrection code in dispose
2616 * gst/base/gstbasesrc.c: (gst_base_src_init):
2617 * gst/gstelementfactory.c: (gst_element_factory_create):
2618 * gst/gstobject.c: (gst_object_set_parent):
2621 2005-09-27 Wim Taymans <wim@fluendo.com>
2623 * docs/design/part-TODO.txt:
2626 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2627 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2628 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2629 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2630 (gst_bin_change_state):
2632 Remove element variable, we keep element info in the iterator now.
2634 2005-09-27 Andy Wingo <wingo@pobox.com>
2636 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2639 2005-09-27 Wim Taymans <wim@fluendo.com>
2641 * check/gst/gstbin.c: (GST_START_TEST):
2642 Enable check that works now.
2644 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2645 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2646 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2647 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2648 (gst_bin_change_state):
2650 Redid the state change algorithm using a topological sort algo.
2651 Handles all cases correctly.
2652 Exposed iterator for state change order.
2655 Temp storage for state changes. Need to get rid of this soon.
2657 2005-09-27 Wim Taymans <wim@fluendo.com>
2659 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2660 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2661 (link_fold_func), (gst_pad_proxy_setcaps):
2662 Leak fixes, the fold functions need to unref the passed object and
2663 _get_parent_*() returns ref to parent.
2665 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2667 * check/gst/gstbuffer.c: (test_make_writable):
2668 Plug leak in test case and fix 'make check-valgrind'
2670 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2672 * gst/gstbuffer.c: (gst_subbuffer_init):
2673 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2674 works correctly in all circumstances (we could have just copied
2675 the parent buffer's readonly flag, but conceptually it seems
2676 cleaner to mark all subbuffers as read-only). (based on patch
2677 by Alessandro Decina, #314710).
2679 * check/gst/gstbuffer.c: (create_read_only_buffer),
2680 (test_make_writable), (test_subbuffer_make_writable),
2682 Add some tests for gst_buffer_make_writable().
2684 2005-09-27 Wim Taymans <wim@fluendo.com>
2686 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2687 use gst_object_has_ancestor().
2689 * gst/gstobject.c: (gst_object_has_ancestor):
2691 gst_object_has_ancestor() copied from gstbin.c as it is a
2694 * tests/instantiate/create.c: (create_all_elements):
2695 * tests/lat.c: (handoff_src), (handoff_sink):
2696 * tests/sched/runxml.c: (main):
2697 * tests/seeking/seeking1.c: (main):
2698 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2700 Fix compilation of some tests.
2702 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2705 Remove comment. GST_TYPE_G_ERROR is here to stay,
2706 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2709 2005-09-26 Wim Taymans <wim@fluendo.com>
2711 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2712 Added check that shows error in state change order.
2714 2005-09-26 Wim Taymans <wim@fluendo.com>
2716 * gst/gstbin.c: (gst_bin_change_state):
2717 Make state change function use 3 queues again, we were
2718 adding elements in the wrong order.
2720 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2723 * gst/gstpad.c: (gst_pad_dispose):
2724 Added some debug info first.
2726 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2728 * docs/design/draft-push-pull.txt:
2729 * docs/design/part-events.txt:
2730 * docs/design/part-overview.txt:
2731 * docs/design/part-scheduling.txt:
2732 Replace all _pull_region() with _pull_range()
2734 2005-09-26 Andy Wingo <wingo@pobox.com>
2736 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2738 * check/gst-libs/controller.c: Update for controller api change.
2741 * tests/Makefile.am:
2742 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2743 over by GLib bug 118439.
2745 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2746 routines to a function.
2748 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2750 * libs/gst/controller/gsthelper.c:
2751 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2752 (gst_object_sync_values): Renamed from sink_values. Ugh.
2754 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2756 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2757 Renamed from controller_key, as it is exported.
2759 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2761 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2766 * gst/gstpadtemplate.h:
2769 * gst/gstqueryutils.c:
2770 * gst/gstqueryutils.h:
2771 remove queryutils headers after moving the two used functions
2772 to gstquery. also fixes build problem for gstsiddec
2774 2005-09-26 Michael Smith <msmith@fluendo.com>
2776 * tools/gst-launch.1.in:
2777 Correct documentation in manpage of debug syntax
2779 2005-09-26 Wim Taymans <wim@fluendo.com>
2781 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2782 (gst_base_src_is_seekable), (gst_base_src_change_state):
2783 Some more debugging info.
2785 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2787 * docs/gst/gstreamer-sections.txt:
2788 * gst/base/gstbasetransform.h:
2792 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2794 * docs/gst/.cvsignore:
2795 * docs/gst/tmpl/.cvsignore:
2796 * docs/gst/tmpl/gstpipeline.sgml:
2797 * docs/gst/tmpl/gstplugin.sgml:
2798 * gst/gstpipeline.c:
2801 inlined the last two docs files
2802 removed the tmpl directory from cvs (no more conflicts here!)
2804 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2806 * docs/gst/gstreamer-sections.txt:
2807 * docs/gst/tmpl/.cvsignore:
2808 * docs/gst/tmpl/gstpad.sgml:
2809 * docs/gst/tmpl/gstpadtemplate.sgml:
2811 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2812 (gst_pad_finalize), (gst_pad_set_pad_template):
2814 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2815 (gst_pad_template_class_init), (gst_pad_template_init),
2816 (gst_pad_template_dispose), (name_is_valid),
2817 (gst_static_pad_template_get), (gst_pad_template_new),
2818 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2819 (gst_pad_template_pad_created):
2820 * gst/gstpadtemplate.h:
2821 inlined two more docs
2822 factored gstpadtemplate out of gstpad
2824 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2826 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2827 (test_children_state_change_order_semi_sink):
2828 Fix test case: we can't rely on a fixed state change order when
2829 going from READY => PAUSED because the sink might commit its
2830 new state first when the first buffer created by the source
2831 reaches the sink before the source has finished its change state.
2832 (Test case still fails at times, see #316856, comment 5 onwards)
2834 2005-09-24 Wim Taymans <wim@fluendo.com>
2836 * docs/design/part-events.txt:
2837 * docs/design/part-gstbus.txt:
2838 * docs/design/part-gstpipeline.txt:
2839 * docs/design/part-messages.txt:
2840 * docs/design/part-overview.txt:
2841 * docs/design/part-segments.txt:
2848 * gst/gstiterator.c:
2849 Various documentation updates.
2851 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2854 Well, that's embarassing. Luckily we weren't using
2855 GST_CLOCK_DIFF anywhere.
2857 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2859 * common/gtk-doc.mak:
2860 don't fail on building XML, FC4 slave shows a bunch of doc
2861 missing bits that I don't get
2863 * gst/gstpipeline.c:
2864 * gst/gststructure.c:
2867 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2869 * docs/design/part-gstbin.txt:
2870 * docs/design/part-gstbus.txt:
2872 Add blurb about how the bus goes into flushing mode and
2873 drops all messages when its bin goes from READY into NULL
2876 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2878 * docs/gst/gstreamer-sections.txt:
2879 * gst/gststructure.c: (gst_structure_get_clock_time):
2880 * gst/gststructure.h:
2881 add a method to get a GstClockTime out of a structure
2883 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2885 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2886 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2887 Added test to check state change order in bins (can still be made
2888 to fail here under heavy disk load; bails out with 'Push on pad
2889 fakesink:sink0, but it was not activated in push mode').
2891 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2892 Fix state change order when there is only a semi sink (#316856)
2894 * gst/gstbus.c: (gst_bus_class_init):
2895 Use _class_peek_parent(), not _class_ref(); fix docs to say
2896 'default main context' instead of 'mainloop' where that is
2899 * gst/gstelement.c: (gst_element_commit_state),
2900 (gst_element_set_state):
2901 Fix typos in debug messages
2903 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2906 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2907 * gst/gstpluginfeature.c:
2910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2911 change an assert into an error until it gets fixed properly
2913 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2915 * docs/gst/gstreamer-sections.txt:
2916 * docs/gst/tmpl/.cvsignore:
2917 * docs/gst/tmpl/gstelement.sgml:
2918 * docs/gst/tmpl/gstinfo.sgml:
2919 * docs/gst/tmpl/gstobject.sgml:
2924 * gst/gstobject.c: (gst_object_class_init):
2926 inlined 3 more biiiig doc files and added some missing docs on the fly
2928 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2930 * check/gst/.cvsignore:
2931 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2932 * gst/gstregistryxml.c: (load_plugin),
2933 (gst_registry_xml_save_plugin):
2934 put back source in registry. add checks for find_plugin.
2935 * testsuite/states/bin.c: (assert_state), (empty_bin),
2936 (test_adding_one_element), (main):
2937 * testsuite/states/locked.c: (main):
2938 some compile/run fixes
2940 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2942 * check/gst/gstvalue.c: (GST_START_TEST):
2943 fix leaks in the test itself
2945 2005-09-22 Wim Taymans <wim@fluendo.com>
2947 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2948 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2949 (gst_base_sink_query):
2950 Prepare for more accurate position reporting and query
2953 * gst/gstelement.c: (gst_element_send_event),
2954 (gst_element_set_state):
2957 2005-09-22 Wim Taymans <wim@fluendo.com>
2959 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2960 (gst_query_parse_segment):
2963 Add segment query for future use.
2965 2005-09-22 Wim Taymans <wim@fluendo.com>
2967 * gst/gstbin.c: (gst_bin_add_func):
2968 Some more debug info.
2970 * gst/gstelement.c: (gst_element_send_event):
2974 Don't know how flags got broken.
2979 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2981 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2982 Add simplistic test suite for GST_TYPE_DATE serialisation and
2985 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2987 * docs/gst/gstreamer-sections.txt:
2988 * gst/gststructure.c: (gst_structure_set_valist),
2989 (gst_structure_get_date):
2990 * gst/gststructure.h:
2991 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2992 (gst_date_copy), (gst_value_compare_date),
2993 (gst_value_serialize_date), (gst_value_deserialize_date),
2994 (gst_value_transform_date_string),
2995 (gst_value_transform_string_date), (_gst_value_initialize):
2997 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2998 bunch of utility functions along with a hack that checks that
2999 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3000 is required. Part of the grand scheme in #170777.
3002 2005-09-22 Andy Wingo <wingo@pobox.com>
3004 * gst/gstconfig.h.in: Psych out gtk-doc.
3006 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3008 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3010 * tools/gst-inspect.c (print_element_list): Plug some
3011 inconsequential leaks.
3013 * gst/gstregistry.c (gst_registry_get_default): Doc.
3015 * check/gst/gstplugin.c:
3016 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3017 * gst/gstelementfactory.c (gst_element_factory_create):
3018 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3021 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3022 (gst_plugin_feature_load): Doc, don't eat refs.
3024 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3025 (gst_plugin_list_free): Doc.
3026 (gst_plugin_load_file): Doc updates.
3028 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3029 accessors returning refcounted objects, return a ref.
3031 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3032 accessor for caps. IDEMPOTENCE. Oh yes.
3034 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3036 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3038 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3039 (_gst_debug_register_funcptr):
3040 Add mutex to serialise access to the hash table with
3041 the function pointer => function name string mapping;
3042 make that hash table static scope (#316809).
3044 * gst/registries/.cvsignore:
3045 Remove left-over file.
3047 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3049 * docs/pwg/appendix-porting.xml:
3050 And something about newsegment events and caps-on-buffers to
3051 the porting guide (feel free to improve).
3053 2005-09-21 Andy Wingo <wingo@pobox.com>
3055 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3056 data and event probes on the same pad.
3057 (test_buffer_probe_once): Test that removing probes from within
3058 the probe functions works.
3060 2005-09-21 Andy Wingo <wingo@pobox.com>
3062 * check/gst/gstutils.c: New file.
3063 (test_buffer_probe_n_times): A simple buffer probe test. More to
3066 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3067 have-data::buffer, not have-data.
3068 (gst_pad_add_event_probe): Likewise for have-data::event.
3069 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3070 peer' isn't quite right yet though.
3071 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3072 (gst_pad_remove_data_probe): Change to take the guint handler_id
3073 as their arg, not the function+data, which is more glib-like.
3075 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3076 the signal emission to indicate if the data is a buffer or an
3078 (gst_pad_get_type): Initialize buffer and event quarks.
3079 (gst_pad_class_init): have-data is now a detailed signal, yes it
3082 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3084 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3085 * gst/gstutils.c: (gst_util_set_value_from_string),
3086 (gst_util_set_object_arg):
3087 Don't put functional code in g_return_if_fail() or
3088 g_return_val_if_fail() statements, otherwise things will
3089 break when G_DISABLE_CHECKS is defined during compilation.
3091 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3093 * docs/gst/tmpl/.cvsignore:
3094 * docs/gst/tmpl/gstvalue.sgml:
3097 inlied another one and added some obvious docs
3099 2005-09-21 Wim Taymans <wim@fluendo.com>
3101 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3102 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3103 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3104 (gst_fdsrc_get_property), (gst_fdsrc_create):
3105 * gst/elements/gstfdsrc.h:
3106 Properly implement fdsrc. Removed signal and timeout,
3107 better implemented somewhere else.
3109 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3111 * docs/gst/tmpl/.cvsignore:
3112 * docs/gst/tmpl/gstimplementsinterface.sgml:
3113 * gst/gstinterface.c:
3116 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3118 * docs/gst/gstreamer-sections.txt:
3119 * docs/gst/tmpl/.cvsignore:
3120 * docs/gst/tmpl/gstenumtypes.sgml:
3121 remove obsolete doc file
3123 2005-09-21 David Schleef <ds@schleef.org>
3125 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3126 little beer, fix a little leak.
3128 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3130 * docs/gst/gstreamer-docs.sgml:
3131 * docs/gst/gstreamer-sections.txt:
3132 * docs/gst/tmpl/.cvsignore:
3137 * gst/gstindex.c: (gst_index_class_init):
3139 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3140 (gst_index_factory_class_init), (gst_index_factory_init),
3141 (gst_index_factory_finalize), (gst_index_factory_new),
3142 (gst_index_factory_destroy), (gst_index_factory_find),
3143 (gst_index_factory_create), (gst_index_factory_make):
3144 * gst/gstindexfactory.h:
3145 * gst/gstpluginfeature.c:
3146 * gst/gstpluginfeature.h:
3147 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3148 more docs inlined, splitted gstindex.{c,h}
3150 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3152 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3155 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3157 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3158 Set sync to FALSE by default.
3160 2005-09-20 Wim Taymans <wim@fluendo.com>
3162 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3163 (gst_base_sink_init):
3164 Make sync property settable from subclass.
3166 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3167 (gst_fake_sink_change_state):
3168 Set sync to FALSE by default.
3170 2005-09-20 Wim Taymans <wim@fluendo.com>
3172 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3173 * tools/gst-launch.c: (main):
3174 The timeout handler should have lower priority than the source
3175 so we don't timeout before popping a message with 0 timeout.
3176 Dump error messages after failed state change.
3178 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3180 * tools/gst-inspect.c: (print_element_properties_info):
3183 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3185 * check/gst/gstevent.c:
3186 * gst/elements/gstfakesink.c:
3187 * gst/elements/gstfakesink.h:
3188 remove the sync property from fakesink.
3189 has the side effect of setting sync TRUE
3190 for fakesink, which is a change. Anyone who knows how
3191 to fix this nicely in a GObject-y way, feel free.
3193 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3195 * docs/gst/gstreamer-docs.sgml:
3196 remove probe refsection
3198 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3200 * check/Makefile.am:
3201 disable valgrinding the controller test again
3202 * docs/gst/gstreamer-sections.txt:
3203 update for api-changes
3205 2005-09-20 Wim Taymans <wim@fluendo.com>
3207 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3208 (gst_base_sink_set_property), (gst_base_sink_get_property),
3209 (gst_base_sink_do_sync):
3210 * gst/base/gstbasesink.h:
3211 Added sync property to basesink to disable clock sync.
3213 2005-09-20 Andy Wingo <wingo@pobox.com>
3215 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3216 eating the caller's refcount.
3218 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3219 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3222 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3223 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3224 of GLib 2.8 public, so we can know which refcount to check in
3227 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3228 (gst_object_init): Only set the gst refcount if we're going ahead
3229 with the refcount hack.
3231 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3233 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3234 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3235 more leaks plumbed, added more debug-logging
3239 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3242 remove include of gstmemchunk.h
3244 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3246 * gst/gstclock.c: (_gst_clock_id_free):
3247 Commit from the Political Party For More Atomic CVS Commits,
3248 so that people don't waste too much of their day fishing
3249 out obvious leaks out of massive commits.
3250 Oh, and fix a pretty damn obvious leak in the memchunk
3253 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3255 * check/Makefile.am:
3256 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3257 plug mem-leak, re-add to valgrindable tests
3259 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3262 unbreak the build for those who have chronic arthritis
3263 and typing "make check" is just too taxing on the hands
3265 2005-09-20 Andy Wingo <wingo@pobox.com>
3267 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3268 really want it out, you should fix plugins at the same time.
3270 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3273 * docs/gst/gstreamer-sections.txt:
3275 added missing symbols to api docs
3276 disable ref-count hack if we have glib >= 2.8
3278 2005-09-19 David Schleef <ds@schleef.org>
3280 * docs/gst/Makefile.am: Ignore a few more internal headers
3281 * docs/gst/gstreamer-docs.sgml: Remove old sections
3282 * docs/gst/gstreamer-sections.txt: Remove old sections
3283 * docs/gst/tmpl/gstobject.sgml: update
3284 * docs/gst/tmpl/gstplugin.sgml: update
3285 * docs/gst/tmpl/gstpluginfeature.sgml: update
3286 * docs/random/ds/0.9-suggested-changes: update.
3287 * gst/Makefile.am: remove memchunk and trashstack, since they're
3289 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3290 * gst/gst.h: don't include some headers
3291 * gst/gstchildproxy.c: add gstmarshal.h
3292 * gst/gstclock.c: Don't use memchunks
3293 * gst/gstminiobject.c: Add some docs
3294 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3295 * gst/gstobject.h: same
3296 * gst/gstplugin.c: include gstmacros.h
3297 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3298 * gst/gstquery.c: don't use memchunks
3299 * gst/gstregistry.c: rename gst_registry_deinit()
3300 * gst/gstregistry.h: same
3302 2005-09-19 David Schleef <ds@schleef.org>
3304 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3305 * docs/libs/gstreamer-libs-sections.txt:
3306 * docs/libs/tmpl/gstgetbits.sgml:
3307 * docs/libs/tmpl/gstputbits.sgml:
3309 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3311 * win32/gstenumtypes.c:
3312 * win32/gstenumtypes.h:
3315 2005-09-19 Wim Taymans <wim@fluendo.com>
3317 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3318 Automatically PAUSE and RESUME a pipeline when a flushing seek
3321 2005-09-19 Andy Wingo <wingo@pobox.com>
3323 * gst/gstregistry.h: Spacing fixen.
3325 2005-09-19 Wim Taymans <wim@fluendo.com>
3327 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3328 Handle state change failure more correctly.
3330 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3332 * check/Makefile.am:
3333 * check/pipelines/cleanup.c: (run_pipeline):
3334 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3336 enable cleanup again after fixing the leak
3338 some more info on docs
3340 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3342 * check/Makefile.am:
3343 re-enable tests now that leaks are plugged
3345 * check/gst/gstbin.c:
3346 * check/gst/gstpipeline.c:
3347 add some more tests while fixing leaks
3349 make sure binaries are uptodate when valgrinding/gdbing
3351 * gst/gstelementfactory.c:
3352 remove a ref too many, and add a FIXME for when we get
3353 round to disposing of classes
3355 fix the refcounting when loading a plugin from a file and
3356 the code pretends that the pointer is the same even though
3357 of course it can change
3358 * gst/gstpluginfeature.c:
3359 unref plugins marked cached (a bit confusing as a name)
3360 as the docs state should be done
3361 various doc additions to explain refcounting
3362 * gst/gstregistry.c:
3363 * gst/gstregistryxml.c:
3366 2005-09-19 Wim Taymans <wim@fluendo.com>
3368 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3369 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3370 (send_messages), (GST_START_TEST), (gstbus_suite):
3371 * check/gst/gstpipeline.c: (GST_START_TEST):
3372 * check/pipelines/cleanup.c: (run_pipeline):
3373 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3375 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3376 (gst_bus_source_check), (gst_bus_source_dispatch),
3377 (gst_bus_create_watch), (gst_bus_add_watch_full),
3378 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3380 * tools/gst-launch.c: (event_loop):
3381 * tools/gst-md5sum.c: (event_loop):
3382 GstBusHandler -> GstBusFunc, return value has the same meaning as
3383 any other GSource (FALSE == remove source).
3384 _add_watch() and _add_watch_full() now take a MessageType mask to
3385 only handle specific types of messages.
3386 _poll() returns the GstMessage instead of the message type to avoid
3388 _have_pending() takes a MessageType mask now too.
3389 Added testsuite for multiple bus watches.
3390 Fix testsuites and applications for new bus API.
3392 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3394 * check/Makefile.am:
3395 mark a bunch of the tests as to fix until we fix them
3397 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3400 use GST_PLUGIN settings for valgrind tests as well, so we're
3401 valgrinding the correct thing
3402 * gst/gst.c: (init_post):
3405 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3407 * gst/gst.c: (init_post), (gst_deinit):
3408 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3409 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3410 * gst/gstindex.c: (gst_index_factory_class_init),
3411 (gst_index_factory_finalize):
3412 * gst/gstobject.c: (gst_object_dispose):
3413 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3414 (gst_plugin_load_file), (gst_plugin_desc_free):
3415 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3416 (gst_plugin_feature_finalize):
3417 * gst/gstregistry.c: (gst_registry_class_init),
3418 (gst_registry_init), (gst_registry_finalize),
3419 (gst_registry_get_default), (gst_registry_deinit):
3420 * gst/gstregistry.h:
3421 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3422 various cleanups and memleak plugging. make valgrind is happy now.
3424 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3427 add a check-valgrind target
3429 2005-09-18 David Schleef <ds@schleef.org>
3431 * tools/gst-inspect.c: Revert the GOption code.
3433 2005-09-17 David Schleef <ds@schleef.org>
3435 * check/Makefile.am: Fix environment variables.
3436 * check/gst/gstplugin.c: Fix for API changes.
3437 * tools/gst-inspect.c: Fix for API changes.
3438 * tools/gst-xmlinspect.c: Fix for API changes.
3439 * gst/gstelementfactory.c:
3442 * gst/gstpluginfeature.c:
3443 * gst/gstpluginfeature.h:
3444 * gst/gstregistry.c:
3445 * gst/gstregistry.h:
3446 * gst/gstregistryxml.c:
3447 * gst/gsttypefind.c:
3448 * gst/gsttypefindfactory.c:
3449 * gst/indexers/gstfileindex.c:
3450 * gst/indexers/gstmemindex.c:
3451 * gst/schedulers/Makefile.am:
3452 Change registry to keep track of both plugins and features,
3453 removing the feature tracking from plugins themselves.
3455 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3457 * check/Makefile.am:
3458 * tools/gst-register.1.in:
3461 2005-09-15 David Schleef <ds@schleef.org>
3463 * check/gst/gstplugin.c:
3464 * gst/gstelementfactory.c:
3466 * gst/gstpluginfeature.c:
3467 * gst/gstregistry.c:
3468 Getting tired of debugging. Disabled all the unreffing of
3469 plugins and features, which fixes the segfaults, but of
3470 course leaks like crazy. At least playbin works.
3472 2005-09-15 David Schleef <ds@schleef.org>
3474 * check/gst/gstplugin.c: (register_check_elements),
3475 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3477 * gst/elements/gsttypefindelement.c: Fix refcounting.
3478 * gst/gsttypefind.c:
3479 * gst/gsttypefindfactory.c:
3480 * gst/gsttypefindfactory.h:
3482 2005-09-15 David Schleef <ds@schleef.org>
3484 * gst/gstindex.c: get refcounting correct.
3485 * gst/gstregistry.c: Handle the case where a feature/plugin is
3488 2005-09-15 David Schleef <ds@schleef.org>
3490 * check/Makefile.am:
3491 * check/gst/gstplugin.c: Add test
3492 * gst/gstplugin.c: Fix problems noticed by testsuite
3494 * gst/gstregistry.c:
3495 * gst/gstregistry.h:
3497 2005-09-15 David Schleef <ds@schleef.org>
3499 * gst/gstplugin.c: Implement semi-decent recounting and locking
3500 in plugins and plugin features.
3502 * gst/gstpluginfeature.c:
3503 * gst/gstpluginfeature.h:
3504 * gst/gstregistry.c:
3506 2005-09-15 Michael Smith <msmith@fluendo.com>
3508 * gst/gstregistry.c: (gst_registry_get_feature_list):
3509 Implement this. Makes oggdemux work; decodebin still broken.
3511 2005-09-14 David Schleef <ds@schleef.org>
3513 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3515 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3516 * gst/check/Makefile.am:
3517 * libs/gst/controller/Makefile.am:
3518 * libs/gst/dataprotocol/Makefile.am:
3520 2005-09-14 David Schleef <ds@schleef.org>
3522 * configure.ac: Remove getbits library. Nothing uses it, and
3523 it should be in something like liboil if someone did want
3525 * libs/gst/Makefile.am:
3526 * libs/gst/getbits/Makefile.am:
3527 * libs/gst/getbits/gbtest.c:
3528 * libs/gst/getbits/getbits.c:
3529 * libs/gst/getbits/getbits.h:
3530 * libs/gst/getbits/gstgetbits_generic.c:
3531 * libs/gst/getbits/gstgetbits_i386.s:
3532 * libs/gst/getbits/gstgetbits_inl.h:
3534 2005-09-14 David Schleef <ds@schleef.org>
3536 * gst/Makefile.am: Dist glib-compat.h
3538 2005-09-14 David Schleef <ds@schleef.org>
3540 * configure.ac: Remove gst/registries, since it's no longer used.
3541 * gst/registries/Makefile.am:
3542 * gst/registries/gstlibxmlregistry.c:
3543 * gst/registries/gstlibxmlregistry.h:
3544 * gst/registries/gstxmlregistry.c:
3545 * gst/registries/gstxmlregistry.h:
3546 * gst/registries/registrytest.c:
3548 2005-09-14 David Schleef <ds@schleef.org>
3550 * gst/glib-compat.h:
3551 * gst/gstregistryxml.c:
3552 Convergence is near. Seriously.
3554 2005-09-14 David Schleef <ds@schleef.org>
3556 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3557 * gst/glib-compat.h:
3558 Attempt #4 to appease the buildbots.
3560 2005-09-14 David Schleef <ds@schleef.org>
3562 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3565 2005-09-14 David Schleef <ds@schleef.org>
3567 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3570 2005-09-14 David Schleef <ds@schleef.org>
3572 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3575 2005-09-14 David Schleef <ds@schleef.org>
3577 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3578 * gst/glib-compat.h: Add some functions that are in newer versions
3579 of glib than we care to require.
3580 * gst/gstregistryxml.c: Use them.
3582 2005-09-14 David Schleef <ds@schleef.org>
3584 * po/POTFILES.in: remove gst-register.c
3586 2005-09-14 David Schleef <ds@schleef.org>
3588 * docs/gst/gstreamer-docs.sgml:
3589 * docs/gst/gstreamer-sections.txt:
3590 * docs/gst/gstreamer.types:
3591 * docs/gst/tmpl/gstelement.sgml:
3592 * docs/gst/tmpl/gstplugin.sgml:
3593 * docs/gst/tmpl/gstpluginfeature.sgml:
3594 Documentation updates for registry changes.
3596 2005-09-14 David Schleef <ds@schleef.org>
3598 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3599 because we don't require glib-2.8.
3601 2005-09-14 David Schleef <ds@schleef.org>
3603 * gst/gstregistryxml.c: Added. Essentially moved out of the
3604 registries directory.
3606 2005-09-14 David Schleef <ds@schleef.org>
3608 * check/Makefile.am:
3609 * check/generic/states.c:
3613 * gst/gst_private.h:
3614 * gst/gstelementfactory.c:
3619 * gst/gstpluginfeature.c:
3620 * gst/gstpluginfeature.h:
3621 * gst/gstregistry.c:
3622 * gst/gstregistry.h:
3623 * gst/gstregistrypool.c: remove
3624 * gst/gstregistrypool.h: remove
3625 * gst/gsttypefind.c:
3626 * gst/gsttypefindfactory.c:
3628 * tools/Makefile.am:
3629 * tools/gst-compprep.c:
3630 * tools/gst-inspect.c:
3631 * tools/gst-register.c: remove
3632 * tools/gst-xmlinspect.c:
3633 Registry rewrite. Changes registry from being a file created
3634 by a tool into a simple cache file created automatically by
3635 libgstreamer. Removed gst-register (because it's no longer
3636 needed). Remove registry pools, because we only have one
3637 registry implementation (XML). Fix up other subsystems as
3640 2005-09-13 Michael Smith <msmith@fluendo.com>
3642 * gst/gstconfig.h.in:
3643 Don't Use windows linking attributes for MinGW. Fixes #316157
3645 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3647 * gst/gstutils.c: (set_state_async_thread_func),
3648 (gst_element_set_state_async):
3649 Apparently people think it's better if this function doesn't
3650 try to set the state to whatever state was asked for on the first
3651 call to this function for any object. Seriously.
3653 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3655 * check/gst/gstpipeline.c: (GST_START_TEST):
3656 * docs/gst/gstreamer-sections.txt:
3657 * gst/gstutils.c: (set_state_async_thread_func),
3658 (gst_element_set_state_async):
3660 add a "gst_element_set_state_async" method that
3661 sets the state and starts a thread to make sure the state
3662 change completes as best as it can
3664 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3666 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3667 codify design+behaviour in testsuite after discussion
3669 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3671 * docs/gst/tmpl/gstelement.sgml:
3672 * docs/manual/appendix-quotes.xml:
3674 * gst/gstelement.c: (gst_element_set_state):
3677 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3679 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3680 (gst_base_transform_prepare_output_buf),
3681 (gst_base_transform_handle_buffer):
3682 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3683 (gst_capsfilter_prepare_buf):
3684 Remove the requirement for sub-classes to call the parent
3685 implementation of prepare_output_buffer with a wrapper function.
3688 * gst/gsttagsetter.h:
3691 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3693 * docs/gst/gstreamer-sections.txt:
3696 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3698 * docs/gst/gstreamer-sections.txt:
3699 * docs/gst/tmpl/gstelement.sgml:
3700 * docs/gst/tmpl/gstplugin.sgml:
3701 * gst/gstminiobject.c:
3703 docs now stop throwing warnings
3705 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3707 * docs/gst/gstreamer-sections.txt:
3708 * docs/gst/gstreamer.types:
3709 * docs/gst/tmpl/gstpad.sgml:
3710 * docs/gst/tmpl/gsttypes.sgml:
3711 * gst/base/gstadapter.h:
3712 * gst/base/gstbasesink.h:
3713 * gst/base/gstbasesrc.h:
3723 * gst/gststructure.c:
3724 * gst/registries/gstlibxmlregistry.h:
3725 various documentation fixes
3727 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3729 * docs/gst/gstreamer-sections.txt:
3730 * docs/gst/tmpl/gstvalue.sgml:
3731 rearrange gstvalue section
3732 * gst/gstutils.c: (gst_element_state_get_name):
3734 * gst/gstvalue.c: (_gst_value_initialize):
3738 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3740 * check/gst-libs/controller.c:
3742 * gst/base/gstbasetransform.c:
3743 (gst_base_transform_default_prepare_buf),
3744 (gst_base_transform_handle_buffer):
3745 * gst/base/gstbasetransform.h:
3746 Some more basetransform changes and fixes to enable sub-classes
3747 that modify buffer metadata only.
3748 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3749 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3750 (gst_capsfilter_prepare_buf):
3751 If the output pad has fixed allowed caps and input buffers
3752 don't have any, set the fixed caps on outgoing buffers.
3754 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3755 * check/elements/identity.c: (GST_START_TEST):
3756 Make the error a little clearer when the test fails because
3757 identity made a copy of the buffer.
3758 * docs/gst/gstreamer-sections.txt:
3759 New symbols in gstbasetransform.h
3760 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3761 (gst_base_transform_init), (gst_base_transform_transform_size),
3762 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3763 (gst_base_transform_default_prepare_buf),
3764 (gst_base_transform_get_unit_size),
3765 (gst_base_transform_buffer_alloc),
3766 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3767 (gst_base_transform_change_state),
3768 (gst_base_transform_set_passthrough),
3769 (gst_base_transform_set_in_place),
3770 (gst_base_transform_is_in_place):
3771 * gst/base/gstbasetransform.h:
3772 Change BaseTransform to separate in_place operate from same_caps
3773 output. in_place implies that the element can perform the transform
3774 on incoming buffers in-place, even if the caps on the output are
3776 Sub-class elements can now implement special buffer allocation
3777 methods for outgoing buffers if they wish to.
3778 Big documentation addition.
3779 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3780 * gst/elements/gstelements.c:
3781 Changes for basetransform modifications.
3782 * gst/elements/Makefile.am:
3783 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3784 Compile fix. Extra debug output.
3786 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3788 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3790 add tests for valid pad naming
3791 * gst/check/gstcheck.c: (gst_check_log_message_func),
3792 (gst_check_log_critical_func):
3794 remove printing of code, it is fragile when the code contains
3795 % and the line number is enough info
3796 * gst/check/gstcheck.h:
3797 * gst/gstpad.c: (gst_pad_template_new):
3800 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3803 say what CHECK flags we use
3804 * docs/libs/gstreamer-libs.types:
3805 * libs/gst/controller/Makefile.am:
3806 * libs/gst/controller/gst-controller.c:
3807 * libs/gst/controller/gst-controller.h:
3808 * libs/gst/controller/gst-helper.c:
3809 * libs/gst/controller/gst-interpolation.c:
3810 * libs/gst/controller/gstcontroller.c:
3811 * libs/gst/controller/gsthelper.c:
3812 * libs/gst/controller/gstinterpolation.c:
3813 * tools/gst-inspect.c: (print_plugin_info):
3814 we don't use dashes in header names
3816 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3818 * check/Makefile.am:
3819 * check/gst/.cvsignore:
3820 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3821 (gst_pipeline_suite), (main):
3822 adding a test for pipelines and state changes
3823 * gst/gstutils.c: (get_state_func):
3825 * gstreamer.spec.in:
3828 2005-09-08 Michael Smith <msmith@fluendo.com>
3830 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3831 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3832 (gst_file_src_is_seekable), (gst_file_src_get_size),
3833 (gst_file_src_start):
3834 * gst/elements/gstfilesrc.h:
3835 Various fixes for unseekable, unmmapable, and non-normal files, so
3836 that fallback to read() rather than mmap() works.
3837 * gst/gstevent.c: (gst_event_new_newsegment):
3838 Allow newsegment events with segment_start == segment_end, as will
3839 correctly happen if you use filesrc on a zero-size file, for
3842 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3844 * gst/gstplugin.c: (gst_plugin_load_file):
3845 Call g_module_close when we don't load the module
3847 * gst/registries/gstlibxmlregistry.c:
3848 (gst_xml_registry_get_property):
3849 Port leak fix from 0.8
3851 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3853 * docs/gst/gstreamer-docs.sgml:
3854 * docs/gst/tmpl/.cvsignore:
3855 * docs/gst/tmpl/gsttrace.sgml:
3856 * docs/gst/tmpl/gsttrashstack.sgml:
3865 * gst/gsttaginterface.c:
3866 * gst/gsttaginterface.h:
3869 * gst/gsttagsetter.c:
3870 * gst/gsttagsetter.h:
3873 * gst/gsttrashstack.c:
3874 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3875 inlined docs for gsttrace, gsttrashstack
3877 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3880 * gst/elements/gstbufferstore.h:
3881 * gst/elements/gsttypefindelement.c:
3882 * gst/elements/gsttypefindelement.h:
3884 * gst/gsttypefind.c:
3885 * gst/gsttypefind.h:
3886 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3887 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3888 (gst_type_find_factory_dispose),
3889 (gst_type_find_factory_unload_thyself),
3890 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3891 (gst_type_find_factory_get_caps),
3892 (gst_type_find_factory_get_extensions),
3893 (gst_type_find_factory_call_function):
3894 * gst/gsttypefindfactory.h:
3895 * gst/registries/gstlibxmlregistry.c:
3896 * gst/registries/gstxmlregistry.c:
3897 splitted gsttypefind into gsttypefind, gsttypefindfactory
3899 2005-09-07 Andy Wingo <wingo@pobox.com>
3901 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3902 condition whereby the pad's task function is entered before the
3903 pad_mode variable was set.
3905 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3907 * gst/gstpad.c: (gst_pad_alloc_buffer):
3908 Catch misbehaving pad_alloc functions that don't
3909 set up caps and do it for them.
3911 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3913 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3915 * docs/gst/tmpl/.cvsignore:
3916 * docs/gst/tmpl/gstmemchunk.sgml:
3917 * docs/gst/tmpl/gstparse.sgml:
3918 * docs/gst/tmpl/gsttaglist.sgml:
3919 * docs/gst/tmpl/gsttagsetter.sgml:
3920 * docs/gst/tmpl/gsttypefind.sgml:
3921 * docs/gst/tmpl/gsttypefindfactory.sgml:
3922 * gst/gstmemchunk.c:
3925 * gst/gsttaginterface.c:
3926 * gst/gsttypefind.c:
3927 * gst/gsttypefind.h:
3930 === release 0.9.2 ===
3932 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3937 releasing 0.9.2, "South"
3939 2005-09-05 Andy Wingo <wingo@pobox.com>
3941 * gst/registries/gstxmlregistry.h:
3942 * gst/registries/gstxmlregistry.c: Um... resurrect...
3944 * gst/registries/gstxmlregistry.h:
3945 * gst/registries/gstxmlregistry.c: and update to newer API.
3946 Incidentally they should be a bit faster now that they don't have
3949 2005-09-05 Andy Wingo <wingo@pobox.com>
3951 * gst/registries/gstxmlregistry.h:
3952 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3953 replaced by the libxml registry a while back
3955 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3957 * docs/gst/tmpl/gstplugin.sgml:
3958 * gst/elements/gstelements.c:
3960 * gst/gstplugin.c: (gst_plugin_register_func),
3961 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3962 (gst_plugin_get_source):
3964 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3965 (gst_xml_registry_save_plugin):
3966 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3967 (gst_xml_registry_save_plugin):
3968 * tools/gst-inspect.c: (print_plugin_info):
3969 add a "source" plugin description field, to represent the source
3970 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3971 will set it to PACKAGE, which is automake's idea of the name of
3974 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3980 * docs/faq/Makefile.am:
3981 * docs/gst/tmpl/gstelement.sgml:
3982 * docs/gst/tmpl/gsttypes.sgml:
3983 * docs/htmlinstall.mak:
3984 * docs/manual/Makefile.am:
3985 * docs/pwg/Makefile.am:
3986 reorganize doc build a little
3987 split out docbook and gtk-doc stuff
3988 have two separate --enable's and enable them through autogen
3989 but disable by default in configure (to be similar to other
3991 * gstreamer.spec.in:
3992 clean up docs install
4012 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4014 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4017 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4018 (gst_fake_sink_change_state):
4019 Make state change function thread-safe.
4021 * gst/gstpad.c: (gst_pad_alloc_buffer):
4022 Set offset on generic buffer allocated by fallback.
4024 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4026 * docs/gst/gstreamer-sections.txt:
4027 * docs/gst/tmpl/gstelement.sgml:
4029 * libs/gst/controller/gst-controller.c:
4030 (gst_controlled_property_set_interpolation_mode),
4031 (gst_controlled_property_new),
4032 (gst_controller_find_controlled_property):
4033 run the wingo-magic script against the docs
4035 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4037 * docs/gst/gstreamer-docs.sgml:
4038 * docs/gst/gstreamer-sections.txt:
4039 * docs/gst/tmpl/.cvsignore:
4040 * docs/gst/tmpl/gstelementdetails.sgml:
4041 * docs/gst/tmpl/gstelementfactory.sgml:
4044 * gst/gstelementfactory.c:
4045 * gst/gstelementfactory.h:
4046 merged elementdetails docs into elementfactory docs
4049 2005-09-02 Andy Wingo <wingo@pobox.com>
4051 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4052 consider this enum an enum and not a flags.
4054 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4056 * docs/gst/gstreamer-docs.sgml:
4057 * docs/gst/tmpl/.cvsignore:
4058 * docs/gst/tmpl/gstghostpad.sgml:
4059 * docs/gst/tmpl/gstiterator.sgml:
4060 * docs/gst/tmpl/gstmacros.sgml:
4061 * docs/gst/tmpl/gstrealpad.sgml:
4062 * docs/gst/tmpl/gstregistry.sgml:
4063 * docs/gst/tmpl/gstregistrypool.sgml:
4064 * docs/gst/tmpl/gststructure.sgml:
4065 * docs/gst/tmpl/gstsystemclock.sgml:
4066 * docs/gst/tmpl/gsttrace.sgml:
4067 * gst/gstghostpad.c:
4069 * gst/gstmemchunk.c:
4070 * gst/gstmemchunk.h:
4072 * gst/gstregistry.c:
4073 * gst/gstregistrypool.c:
4074 * gst/gststructure.c:
4075 * gst/gstsystemclock.c:
4078 2005-09-02 Andy Wingo <wingo@pobox.com>
4080 * gst/gstelement.h (GstState): Renamed from GstElementState,
4081 changed to be a normal enum instead of flags.
4082 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4083 munged to be GST_STATE_CHANGE_*.
4084 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4085 work with the new state representation.
4086 (GstStateChange): New enumeration of possible state transitions.
4087 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4088 (GstElementClass::change_state): Pass the GstStateChange along as
4089 an argument. Helps language bindings, so they don't have to use
4090 tricky lock-needing macros like GST_STATE_CHANGE ().
4092 * scripts/update-states (file): New script. Run it on a file to
4093 update it for state naming and API changes. Updates files in
4096 * All files updated for the new API.
4098 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4100 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4101 * gst/gstutils.c: (gst_util_set_value_from_string),
4102 (gst_util_set_object_arg):
4103 fix a bunch of unchecked return values
4104 * tools/gst-complete.c: (main):
4105 * gstreamer.spec.in:
4108 2005-09-01 Wim Taymans <wim@fluendo.com>
4110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4111 (gst_base_sink_event), (gst_base_sink_do_sync),
4112 (gst_base_sink_handle_event):
4113 * gst/base/gstbasesink.h:
4114 Handle newsegments more correctly.
4119 * gst/gstevent.c: (gst_event_new_newsegment):
4120 A newsegment cannot have a start_time of -1
4122 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4124 * win32/gstenumtypes.c:
4125 * win32/gstenumtypes.h:
4128 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4130 * libs/gst/controller/gst-controller.c:
4131 (gst_controlled_property_set_interpolation_mode),
4132 (gst_controlled_property_new):
4135 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4137 * docs/faq/gst-uninstalled:
4142 * gst/gstutils.c: (gst_element_link_filtered):
4144 add gst_element_link_filtered
4146 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4148 * docs/gst/gstreamer-docs.sgml:
4149 * docs/gst/gstreamer-sections.txt:
4150 * docs/gst/tmpl/.cvsignore:
4151 * docs/gst/tmpl/gsterror.sgml:
4152 * docs/gst/tmpl/gstfilter.sgml:
4153 * docs/gst/tmpl/gsturihandler.sgml:
4154 * docs/gst/tmpl/gsturitype.sgml:
4155 * docs/gst/tmpl/gstutils.sgml:
4156 * docs/gst/tmpl/gstxml.sgml:
4164 inlined more docs, fixed double id-ref
4166 2005-08-31 Wim Taymans <wim@fluendo.com>
4168 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4169 (gst_base_transform_handle_buffer):
4170 Passthrough elements don't need the caps as they don't care.
4172 2005-08-31 Wim Taymans <wim@fluendo.com>
4174 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4175 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4176 Don't leak refcounts on buffers.
4178 2005-08-31 Wim Taymans <wim@fluendo.com>
4180 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4181 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4182 (gst_base_transform_chain), (gst_base_transform_change_state):
4183 * gst/base/gstbasetransform.h:
4184 Handle the case where we are not negotiated more gracefully.
4186 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4188 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4189 (gst_file_src_map_region):
4190 Set READONLY flag on mmap'ed buffers, otherwise
4191 gst_buffer_make_writable() won't work properly (#314708).
4193 2005-08-31 Wim Taymans <wim@fluendo.com>
4195 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4196 passthrough elements can even do inplace on non writable
4197 buffers (as they don't touch them).
4199 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4201 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4202 (gst_test_mono_source_set_property),
4203 (gst_test_mono_source_class_init), (GST_START_TEST),
4204 (gst_controller_suite):
4205 more tests (hehe I have the most)
4207 describe popping messages whenusing mulltiple sources
4208 * libs/gst/controller/gst-controller.c:
4209 (gst_controlled_property_set_interpolation_mode),
4210 (gst_controlled_property_new):
4211 * libs/gst/controller/gst-controller.h:
4212 * libs/gst/controller/gst-interpolation.c:
4213 implement boolean properties
4215 2005-08-31 Wim Taymans <wim@fluendo.com>
4217 * gst/gstminiobject.c: (gst_mini_object_ref):
4218 Cannot assert that the refcount has to be positive
4219 since a disposed object can be resurrected.
4221 2005-08-31 Wim Taymans <wim@fluendo.com>
4223 * gst/gstpad.c: (gst_pad_init):
4224 Revert change, need to first fix badly behaving
4227 2005-08-30 Wim Taymans <wim@fluendo.com>
4229 * check/elements/fakesrc.c: (setup_fakesrc):
4230 * check/elements/identity.c: (setup_identity):
4231 Activate pads before using them.
4233 2005-08-30 Wim Taymans <wim@fluendo.com>
4235 * gst/base/gstadapter.c: (gst_adapter_flush):
4236 Flushing out 0 bytes is ok for this function.
4238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4239 no newsegment gives a warning and sets the start/stop to
4242 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4243 (gst_base_transform_set_passthrough):
4246 * gst/gstminiobject.c: (gst_mini_object_ref):
4247 Check refcount here too.
4249 * gst/gstpad.c: (gst_pad_init):
4250 Pads are initially flushing and refusing data.
4252 * gst/gstutils.c: (gst_element_link_pads_filtered):
4253 When adding a capsfilter element make sure it has the
4254 same state as the parent bin.
4256 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4258 * docs/gst/tmpl/.cvsignore:
4259 * docs/gst/tmpl/gstformat.sgml:
4260 * docs/gst/tmpl/gstversion.sgml:
4264 * gst/gstversion.h.in:
4265 more docs and two more inlined
4267 2005-08-30 Wim Taymans <wim@fluendo.com>
4269 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4270 Don't sync to clock.
4272 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4274 * docs/gst/gstreamer-sections.txt:
4275 ultral33t func10ns deserve to appear in the docs actually
4276 * docs/gst/tmpl/.cvsignore:
4277 * docs/gst/tmpl/gstcompat.sgml:
4278 * docs/gst/tmpl/gstconfig.sgml:
4279 * gst/check/gstcheck.c:
4281 * gst/gstconfig.h.in:
4284 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4286 * docs/gst/tmpl/.cvsignore:
4287 * docs/gst/tmpl/gstquery.sgml:
4288 * docs/gst/tmpl/gstutils.sgml:
4291 inlined and extended docs
4293 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4295 * check/gst-libs/controller.c: (GST_START_TEST),
4296 (gst_controller_suite):
4298 * docs/gst/tmpl/gstutils.sgml:
4299 * docs/libs/gstreamer-libs-sections.txt:
4300 * docs/libs/tmpl/gstdataprotocol.sgml:
4302 * examples/controller/audio-example.c: (main):
4303 controller example works now
4306 * tools/gst-inspect.c: (print_element_properties_info):
4307 show param spec flags
4309 2005-08-29 Andy Wingo <wingo@pobox.com>
4311 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4313 2005-08-28 Andy Wingo <wingo@pobox.com>
4315 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4316 as having two arguments instead of just one. Allows superclasses
4317 to access information on subclasses -- see the terrible for() loop
4318 in gtype.c:g_type_create_instance for the reason why. All callers
4321 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4323 * docs/design/part-messages.txt:
4325 * docs/gst/tmpl/.cvsignore:
4326 * docs/gst/tmpl/gstcaps.sgml:
4327 * docs/gst/tmpl/gstclock.sgml:
4334 added descriptions for bus and message
4335 inline caps and clock docs
4337 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4343 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4345 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4348 2005-08-26 Andy Wingo <wingo@pobox.com>
4350 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4351 element_set_state's return val.
4352 (test_2_elements): Add test that's been disabled for months.
4354 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4355 can-activate-pull properties.
4357 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4358 can-activate-pull properties. Implement is_seekable so fakesrc can
4359 operate in pull mode.
4361 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4363 (gst_base_sink_activate, gst_base_sink_activate_pull)
4364 (gst_base_sink_activate_push): Make activation mode choosing work.
4366 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4367 is right. Make pull mode work. Post an eos before pausing in pull
4369 (gst_base_sink_change_state): Pay attention to the core's
4370 change_state() return val.
4372 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4373 has-getrange properties. Cleanups.
4375 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4376 has_getrange and replace with can_activate_pull and
4379 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4380 locking comments. Remove has_loop, has_chain and replace with
4381 can_activate_pull and can_activate_push.
4383 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4386 * examples/Makefile.am:
4387 * examples/metadata/Makefile.am:
4388 * examples/metadata/read-metadata.c: (message_loop),
4389 (have_pad_handler), (make_pipeline), (print_tag), (main):
4390 Add metadata reading example that loops over a list of filenames,
4391 dumping any tags found.
4393 * gst/gstbus.c: (gst_bus_dispose):
4394 * gst/gstelement.c: (gst_element_dispose):
4395 Release a few potentially-held references in dispose.
4397 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4399 * docs/gst/tmpl/gstminiobject.sgml:
4400 do *not* add tmpl/*.sgml files to CVS!
4402 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4404 * libs/gst/bytestream/.cvsignore:
4405 * libs/gst/bytestream/Makefile.am:
4406 * libs/gst/bytestream/adapter.c:
4407 * libs/gst/bytestream/adapter.h:
4408 * libs/gst/bytestream/bytestream.c:
4409 * libs/gst/bytestream/bytestream.h:
4410 * libs/gst/bytestream/filepad.c:
4411 * libs/gst/bytestream/filepad.h:
4412 removing obsolete files
4414 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4416 * docs/gst/gstreamer-docs.sgml:
4417 * docs/libs/gstreamer-libs-docs.sgml:
4418 disabed additional index entries again, as this makes docs-gen just
4419 slow and they aren't useful yet
4420 * docs/libs/gstreamer-libs-sections.txt:
4421 little -section.txt cleanup for libs
4423 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4426 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4427 fix up some debugging
4428 (gst_base_transform_get_unit_size),
4429 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4430 (gst_base_transform_handle_buffer):
4431 * gst/base/gstbasetransform.h:
4432 handle and store timed NEWSEGMENT events so that subclasses that
4433 calculate time by counting samples have a segment_start time they
4434 need to add to their timestamps - see audioresample
4436 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4439 removed ';' from the end of macro defs
4440 * docs/gst/gstreamer-docs.sgml:
4441 * docs/gst/gstreamer-sections.txt:
4442 * docs/gst/tmpl/.cvsignore:
4444 * gst/gstelement.c: (gst_element_class_init),
4445 (gst_element_set_state), (activate_pads),
4446 (gst_element_save_thyself):
4447 * gst/gstevent.c: (gst_event_new_newsegment):
4449 * gst/gstiterator.c:
4450 * gst/gstiterator.h:
4453 * gst/gstutils.c: (gst_pad_query_convert):
4455 fixed parameter name mismatches between source, header and docs
4456 added some more docs, resolved the last batch of unused elements in
4457 docs (now someone needs to doc them)
4459 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4461 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4462 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4463 don't walk through the plugins backwards. Where is all this
4464 reversed logic coming from ?
4466 2005-08-25 Wim Taymans <wim@fluendo.com>
4468 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4469 (gst_base_transform_transform_size),
4470 (gst_base_transform_configure_caps),
4471 (gst_base_transform_get_unit_size),
4472 (gst_base_transform_buffer_alloc),
4473 (gst_base_transform_change_state):
4474 * gst/base/gstbasetransform.h:
4475 Cache caps unit_size.
4476 Make sure we cannot negotiate up and downstream at the
4479 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4481 * gst/gst.c: (init_pre), (init_post):
4482 register the installed plugin path after the env var
4483 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4484 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4485 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4486 directories, so the tests can prefer uninstalled over installed
4488 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4490 * gst/base/gstbasetransform.h:
4495 2005-08-25 Wim Taymans <wim@fluendo.com>
4497 * gst/gstbin.c: (bin_bus_handler):
4498 Be a bit more conservative about the posted message.
4500 * gst/gstbus.c: (gst_bus_post):
4501 Some cleanups, warn wrong return values.
4503 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4505 * check/gst/gstbin.c: (GST_START_TEST):
4506 * gst/gstbin.c: (bin_bus_handler):
4507 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4508 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4509 (gst_message_new_warning), (gst_message_new_tag),
4510 (gst_message_new_state_changed), (gst_message_new_segment_start),
4511 (gst_message_new_segment_done), (gst_message_new_custom):
4513 * tools/gst-launch.c: (event_loop):
4514 * tools/gst-md5sum.c: (event_loop):
4515 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4517 2005-08-25 Wim Taymans <wim@fluendo.com>
4519 * check/generic/states.c: (GST_START_TEST):
4520 Cleanup can be done at the end.
4522 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4523 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4524 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4525 Oh boy.. Thanks for finding this, Thomas.
4527 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4529 * docs/gst/gstreamer.types:
4532 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4534 * docs/gst/gstreamer-docs.sgml:
4535 * docs/gst/gstreamer-sections.txt:
4536 * docs/gst/tmpl/.cvsignore:
4538 * gst/gstiterator.c:
4540 * gst/registries/gstxmlregistry.h:
4541 added missing classes and symbols (123 more to go)
4542 removed removed symbols from section file
4543 fixed many doc-comments
4545 2005-08-24 Wim Taymans <wim@fluendo.com>
4547 * check/generic/states.c: (GST_START_TEST):
4548 Make sure all tasks are stopped.
4550 * check/gst/gstbin.c: (GST_START_TEST):
4551 Unref after usage for proper valgrinding.
4553 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4554 Really wait for the task to stop before destroying the
4557 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4558 (gst_queue_src_activate_push):
4559 Small cleanups. Don't stop the task when we did not start
4562 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4563 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4564 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4567 Protect the stream lock with the object lock.
4568 Disallow setting the stream lock when running.
4569 Add cleanup_all to wait for the threadpool to finish.
4570 Remove code to autoallocate a mutex if none was provided.
4571 Add _join() to wait for a task to stop.
4572 Protect the thread pool with a global lock.
4574 2005-08-24 Wim Taymans <wim@fluendo.com>
4576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4577 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4578 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4579 * gst/base/gstbasesink.h:
4580 Handle newsegment events correctly.
4581 Drop buffers out of the segment range.
4583 2005-08-22 Andy Wingo <wingo@pobox.com>
4585 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4586 macro, implements an interface and gstimplementsinterface for a
4589 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4591 * check/Makefile.am:
4592 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4593 add a test that does a bunch of state changes on elements
4594 needs some fixing for valgrind
4595 * check/states/sinks.c: (gst_object_suite):
4598 add prototype for gst_caps_is_equal_fixed
4600 * gst/gstregistrypool.c:
4603 2005-08-24 Andy Wingo <wingo@pobox.com>
4605 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4606 convert a negative value. Doesn't make much sense. Mostly this is
4607 here to force callers to ensure -1 maps to -1.
4609 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4611 * docs/pwg/advanced-types.xml:
4612 Well done to Michael for catching my deliberate introduction
4613 of this spelling mistake.
4614 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4616 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4617 unlink pads before removing the element from the bin.
4619 2005-08-24 Andy Wingo <wingo@pobox.com>
4621 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4622 the same thing as GST_DEBUG=*:4.
4623 (parse_debug_level, parse_debug_category): New helper parsers.
4625 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4627 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4628 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4629 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4630 (gst_base_transform_buffer_alloc),
4631 (gst_base_transform_handle_buffer):
4632 use gboolean return values and pointers to size so we can use the
4633 full GST_BUFFER_SIZE range (guint) for buffer sizes
4634 use GstPadDirection for transform_caps
4635 * gst/base/gstbasetransform.h:
4636 rename get_size to get_unit_size since that's what it is
4637 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4638 use GstPadDirection for transform_caps
4639 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4641 cleanup and debugging
4643 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4645 * gst/gstelement.c: (gst_element_class_init),
4646 (gst_element_set_state), (activate_pads),
4647 (gst_element_save_thyself):
4648 * tools/gst-compprep.c: (main):
4649 * tools/gst-inspect.c: (print_element_properties_info):
4650 * tools/gst-xmlinspect.c: (print_element_properties):
4651 Fixed long standing mem-leak
4653 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4655 * check/gst/gstbin.c: (GST_START_TEST):
4656 * gst/gstbin.c: (bin_bus_handler):
4657 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4658 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4659 (gst_message_new_warning), (gst_message_new_tag),
4660 (gst_message_new_state_changed), (gst_message_new_segment_start),
4661 (gst_message_new_segment_done), (gst_message_new_custom):
4663 * tools/gst-launch.c: (event_loop):
4664 * tools/gst-md5sum.c: (event_loop):
4665 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4666 that applications can sensibly post custom messages with references
4667 to their own objects.
4669 2005-08-24 Andy Wingo <wingo@pobox.com>
4671 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4674 2005-08-24 Wim Taymans <wim@fluendo.com>
4676 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4677 (gst_base_transform_transform_caps),
4678 (gst_base_transform_transform_size),
4679 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4680 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4681 (gst_base_transform_handle_buffer):
4682 * gst/base/gstbasetransform.h:
4683 Many fixes and new features added by Thomas. Can now also do
4684 transforms with variable sizes and a custom fixate_caps function.
4686 2005-08-24 Wim Taymans <wim@fluendo.com>
4688 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4692 Cast to ClockTime before formatting to time.
4697 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4699 * check/gst-libs/controller.c: (GST_START_TEST),
4700 (gst_controller_suite):
4701 * docs/gst/tmpl/gstcaps.sgml:
4702 * docs/gst/tmpl/gstghostpad.sgml:
4703 * docs/gst/tmpl/gstquery.sgml:
4704 * docs/gst/tmpl/gstutils.sgml:
4705 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4706 (gst_object_sink_values), (gst_object_get_value_arrays),
4707 (gst_object_get_value_array):
4708 gracefully handle helper method calls to objects that are not beeing
4709 controlled, added test case for that
4711 2005-08-23 Wim Taymans <wim@fluendo.com>
4713 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4714 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4715 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4716 (gst_event_parse_qos), (gst_event_new_seek),
4717 (gst_event_parse_seek):
4719 Some more debugging output and doc cleanups.
4721 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4722 Fix possible deadlock.
4724 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4726 * docs/gst/gstreamer-docs.sgml:
4727 * docs/gst/gstreamer-sections.txt:
4728 * docs/gst/gstreamer.types:
4729 * docs/gst/tmpl/.cvsignore:
4734 added 100 symbols from gstreamer-unused.txt to the right sections
4735 fixed more broken comments
4736 added GstBus to docs
4738 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4740 * docs/gst/gstreamer-sections.txt:
4741 * docs/gst/tmpl/.cvsignore:
4742 * docs/gst/tmpl/gstbin.sgml:
4743 * docs/gst/tmpl/gstbuffer.sgml:
4744 * gst/base/gstbasesrc.c:
4745 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4748 * tools/gst-launch.1.in:
4749 inlined more doc comments, added missing comments and fixed comments
4752 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4754 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4758 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4760 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4761 * gst/gststructure.h:
4762 add a fixate function for booleans; add a FIXME that these func
4763 names should probably be gst_structure_fixate_*
4765 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4767 * docs/gst/gstreamer-docs.sgml:
4768 * docs/gst/gstreamer-sections.txt:
4770 * gst/gstbin.c: (gst_bin_get_type),
4771 (gst_bin_child_proxy_get_child_by_index),
4772 (gst_bin_child_proxy_get_children_count),
4773 (gst_bin_child_proxy_init):
4774 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4775 (gst_child_proxy_get_child_by_index),
4776 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4777 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4778 (gst_child_proxy_get), (gst_child_proxy_set_property),
4779 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4780 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4781 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4782 * gst/gstchildproxy.h:
4783 * gst/parse/grammar.y:
4784 * tools/gst-inspect.c: (print_interfaces),
4785 (print_element_properties_info), (print_element_info):
4786 ported gstchildproxy over from 0.8
4787 ported gst-inspect fixes and enhancements over from 0.8
4789 2005-08-22 Wim Taymans <wim@fluendo.com>
4791 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4792 (gst_base_transform_handle_buffer):
4793 Also call the transform function if we have ANY caps.
4795 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4798 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4800 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4801 Don't pretend to handle seek events if the source is not seekable
4803 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4806 Remove extra parameter to debug output
4808 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4809 (gst_base_src_do_seek), (gst_base_src_activate_push):
4810 Fix seek event handling.
4812 * gst/gstpipeline.c: (gst_pipeline_change_state):
4813 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4814 (gst_queue_src_activate_push):
4815 Don't start the src pad task on FLUSH_STOP if the pad
4819 2005-08-22 Wim Taymans <wim@fluendo.com>
4821 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4822 Added check for gst_static_caps_get() refcounting.
4824 2005-08-22 Wim Taymans <wim@fluendo.com>
4826 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4827 Make _static_caps_get() refcounting sane.
4829 * gst/gstelement.c: (gst_element_set_state):
4830 Add g_return_val_if_fail() to protect against segfaults.
4832 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4834 * docs/gst/tmpl/gstevent.sgml:
4837 inlined remaining docs, added missing doc comments
4839 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4841 * check/gst/gstbin.c: (GST_START_TEST):
4842 since we don't know when preroll is done, use refcount range
4844 * gst/check/gstcheck.h:
4845 add macro for checking refcount range
4847 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4849 * check/Makefile.am:
4850 clean up environment for when registry gets built versus
4851 when actual tests are run; valgrind seems to not report
4852 leaks if GST_PLUGIN_PATH is set to some specific values
4853 * check/gst/gstbin.c: (GST_START_TEST):
4854 add more refcounting checks; maybe this exposes a
4857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4858 * gst/check/gstcheck.h:
4859 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4860 (gst_bin_change_state):
4861 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4862 add/fix debugging/whitespace
4864 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4866 * check/gst/gstevent.c: (event_probe), (test_event),
4868 Er, don't call gst_bin_watch_for_state_change you idiot.
4870 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4872 * check/Makefile.am:
4873 Use CHECK_CFLAGS and CHECK_LIBS
4874 * check/gst/gstevent.c: (event_probe), (test_event),
4877 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4878 (gst_base_src_start), (gst_base_src_stop),
4879 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4880 (gst_base_src_change_state):
4881 Sprinkle gst_base_src_stop liberally around error paths to fix
4882 problems reusing a source after failed state changes.
4883 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4884 (helper_find_suggest), (gst_type_find_helper):
4885 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4887 * docs/gst/tmpl/gstevent.sgml:
4888 Migrate part of the docs from the SGML file. Wait for ensonic to
4889 tell me how I did it wrong ;)
4890 * tools/gst-typefind.c: (main):
4891 Extra robustness to state changes between files.
4893 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4895 * check/Makefile.am:
4896 don't valgrind the controller test - it's leaking - Stefan, HELP
4897 * gst/check/gstcheck.c: (gst_check_message_error),
4898 (gst_check_chain_func), (gst_check_setup_element),
4899 (gst_check_teardown_element), (gst_check_setup_src_pad),
4900 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4901 (gst_check_teardown_sink_pad):
4902 * gst/check/gstcheck.h:
4903 add a bunch of methods to set up elements, and src and sink pads
4904 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4905 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4910 whitespace/doc fixes
4912 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4915 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4916 be handled by the application and not always printed as well
4918 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4920 * check/Makefile.am:
4922 * gst/check/gstcheck.c: (gst_check_message_error):
4923 * gst/check/gstcheck.h:
4924 add a fail_unless_equals_int
4925 add fail_unless for error messages
4927 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4929 * check/Makefile.am:
4931 * common/Makefile.am:
4934 factor out some of the common stuff so we can use it
4936 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4938 * check/Makefile.am:
4939 * check/gst/gstiterator.c: (GST_START_TEST):
4940 * check/gst/gstsystemclock.c: (GST_START_TEST),
4941 (gst_systemclock_suite):
4942 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4946 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4948 * check/elements/.cvsignore:
4949 * check/elements/gstfakesrc.c:
4950 rename to name of element
4951 * check/elements/identity.c: (chain_func), (event_func),
4952 (setup_identity), (cleanup_identity), (GST_START_TEST),
4953 (identity_suite), (main):
4954 add a test for identity
4955 * check/Makefile.am:
4956 * pkgconfig/Makefile.am:
4957 * pkgconfig/gstreamer-check.pc.in:
4958 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4962 move the check stuff to a library that gets installed
4963 * check/gst-libs/controller.c: (GST_START_TEST):
4964 * check/gst-libs/gdp.c:
4965 * check/gst/gst.c: (GST_START_TEST):
4966 * check/gst/gstbin.c:
4967 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4968 * check/gst/gstbus.c:
4969 * check/gst/gstcaps.c: (GST_START_TEST):
4970 * check/gst/gstelement.c:
4971 * check/gst/gstghostpad.c:
4972 * check/gst/gstiterator.c:
4973 * check/gst/gstmessage.c:
4974 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4975 * check/gst/gstobject.c:
4976 * check/gst/gstpad.c: (GST_START_TEST):
4977 * check/gst/gststructure.c: (GST_START_TEST):
4978 * check/gst/gstsystemclock.c: (GST_START_TEST),
4979 (gst_systemclock_suite):
4980 * check/gst/gsttag.c: (gst_tag_suite):
4981 * check/gst/gstvalue.c:
4982 * check/pipelines/cleanup.c:
4983 * check/pipelines/simple_launch_lines.c:
4984 * check/states/sinks.c:
4985 change include statement
4987 * docs/gst/gstreamer-sections.txt:
4988 * docs/gst/tmpl/gstpad.sgml:
4989 document more pad stuff
4990 * gst/gstminiobject.c: (gst_mini_object_ref),
4991 (gst_mini_object_unref):
4994 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4996 * docs/gst/tmpl/gst.sgml:
4998 eliminate another tmpl file, fix spelling in the long-description
5000 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5002 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5003 (test_event), (timediff), (gstevents_suite):
5004 Should fix build on 64-bit arch's
5006 2005-08-18 Andy Wingo <wingo@pobox.com>
5008 Make sure that when a pipeline goes to PLAYING, that data has
5009 actually hit the sink.
5011 * check/states/sinks.c (test_sink): A sink that doesn't get any
5012 data shouldn't return SUCCESS for going to either PLAYING or
5013 PAUSED. Test also the return values on the way back down.
5015 * gst/gstelement.c (gst_element_set_state): When changing the
5016 state of an element currently changing state asynchronously, go to
5017 lost-state after commiting the pending state. Makes future calls
5018 to get_state continue to return ASYNC.
5020 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5021 ASYNC when going to PLAYING if we still don't have preroll, as can
5022 happen with live sources.
5024 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5026 * docs/pwg/advanced-types.xml:
5027 Hack long paragraph into 2 chunks as a workaround for buggy
5028 jadetex version in sid and breezy that loops infinitely and
5031 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5033 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5034 (test_event), (timediff), (gstevents_suite):
5035 Provide more error margin in clock measurements to allow for
5036 g_get_current_time inaccuracies.
5038 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5040 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5041 (test_event), (timediff), (gstevents_suite):
5042 Fix error message output so I might be able to tell why the
5043 test works here but fails on the build farm.
5045 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5047 * check/Makefile.am:
5048 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5049 (test_event), (timediff), (gstevents_suite), (main):
5052 * docs/design/part-seeking.txt:
5055 * docs/gst/tmpl/gstevent.sgml:
5056 * docs/gst/tmpl/gstfakesrc.sgml:
5059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5060 Treat a buffer-without-newsegment the same as a receiving
5061 a newsegment not in time format, and disable syncing to the clock
5064 * gst/gstbus.c: (gst_bus_set_sync_handler):
5065 Assert if anyone tries to replace the existing sync_handler for bus,
5066 as only the owner should be setting it.
5069 Have a fixed set of custom event enums with events identified by
5070 their structure name (as in 0.8), rather than a free-for-all
5071 allowing collisions between enum values from different plugins.
5073 * gst/gstpad.c: (gst_pad_class_init):
5076 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5077 Handle out-of-band downstream events from the sending thread.
5079 2005-08-17 Andy Wingo <wingo@pobox.com>
5081 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5082 play-timeout==0 to mean no timeout at all. In that case, don't
5083 bother with a get_state or a warning, just return directly, even
5086 * gst/base/gstbasetransform.c: Debug changes.
5089 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5090 ensure bins post state change messages. A bit of a hack but I can't
5091 think of a way to avoid it.
5093 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5095 2005-08-16 Andy Wingo <wingo@pobox.com>
5097 * gst/base/gstadapter.h:
5098 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5099 peek() but you own the data. Not terribly efficient atm.
5101 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5103 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5104 (gst_element_found_tags):
5106 Add two utility functions for tag handling.
5108 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5110 * docs/manual/advanced-dataaccess.xml:
5111 * docs/manual/basics-helloworld.xml:
5112 Fix docs to use _bin_add() before _link(), which fixes the examples
5113 with recent core versions (reported by Madhan Raj M
5114 <raj_madan@rediffmail.com>, #313199).
5116 2005-08-16 Wim Taymans <wim@fluendo.com>
5118 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5119 Added subtract checks.
5121 * docs/design/part-events.txt:
5122 Some more docs about newsegment
5124 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5127 * gst/gstcaps.c: (gst_caps_to_string):
5128 Add comments, cleanups.
5130 * gst/gstelement.c: (gst_element_save_thyself):
5133 * gst/gstvalue.c: (gst_value_collect_int_range),
5134 (gst_string_unwrap), (gst_value_union_int_int_range),
5135 (gst_value_union_int_range_int_range),
5136 (gst_value_intersect_int_int_range),
5137 (gst_value_intersect_int_range_int_range),
5138 (gst_value_intersect_double_double_range),
5139 (gst_value_intersect_double_range_double_range),
5140 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5141 (gst_value_subtract_int_range_int),
5142 (gst_value_subtract_double_range_double),
5143 (gst_value_subtract_double_range_double_range),
5144 (gst_value_subtract_from_list), (gst_value_subtract_list),
5145 (gst_value_can_compare), (gst_value_compare_fraction):
5146 Cleanups, add comments, remove unneeded asserts.
5148 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5150 * tools/gst-launch.c: (event_loop):
5151 don't convert NULL structures to strings
5153 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5155 * docs/gst/gstreamer-sections.txt:
5156 made some defines private
5157 * docs/gst/tmpl/gstconfig.sgml:
5158 * docs/gst/tmpl/gstqueue.sgml:
5159 * docs/gst/tmpl/gsttaglist.sgml:
5160 * docs/gst/tmpl/gsttypes.sgml:
5161 * docs/gst/tmpl/gstutils.sgml:
5162 * docs/pwg/appendix-porting.xml:
5163 * gst/base/gstbasesink.h:
5164 * gst/base/gstbasesrc.c:
5165 * gst/base/gstbasesrc.h:
5166 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5167 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5168 * gst/gstelement.c: (gst_element_class_init):
5169 * gst/gstpad.c: (gst_pad_class_init):
5170 * gst/gstqueue.c: (gst_queue_class_init):
5171 * gst/gstxml.c: (gst_xml_class_init):
5172 documented all undocumented signal inline
5173 * libs/gst/controller/gst-controller.h:
5176 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5178 * docs/pwg/appendix-porting.xml:
5179 Document _set_link_function -> _set_setcaps_function.
5181 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5183 * check/Makefile.am:
5184 add a .check target for running the check
5185 * check/gst-libs/controller.c: (GST_START_TEST):
5187 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5188 complete checks for gstbuffer; would be nice if I could get the
5189 gcov stuff to work so I can see if I actually completed gstbuffer.c
5191 add ASSERT_BUFFER_REFCOUNT
5193 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5195 * docs/gst/gstreamer-sections.txt:
5196 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5198 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5199 spew out a warning if a tag that is already registered
5200 is re-registered, unless it is re-registered with a
5201 different type (#308438).
5203 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5205 * docs/pwg/appendix-porting.xml:
5206 * docs/pwg/building-state.xml:
5207 Add some paragraphs about state changes in 0.9 to the PWG
5208 and the porting guide, in particular about the new meaning
5209 of GST_STATE_PAUSED and how to write state change functions
5210 with concurrent access by multiple threads in mind.
5212 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5214 * docs/gst/gstreamer-docs.sgml:
5215 * docs/libs/gstreamer-libs-docs.sgml:
5216 added deprecation and since indexes
5217 * libs/gst/controller/gst-controller.c:
5218 * libs/gst/controller/gst-helper.c:
5222 2005-08-11 Wim Taymans <wim@fluendo.com>
5224 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5225 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5226 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5227 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5228 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5229 (gst_ghost_pad_set_target):
5230 Actually implement (re)setting the target on a ghostpad
5231 as described in the docs.
5233 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5235 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5236 Check whether GST_DEBUG_NO_COLOR environment variable is
5237 set and disable coloured debug output if that is the case.
5239 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5241 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5242 (gst_type_find_helper):
5243 The memory returned by gst_type_find_peek() needs to
5244 stay valid until the end of a typefind function, and
5245 typefind functions may keep results from different
5246 offsets around, so we can't just unref the buffer from
5247 the previous _peek(), but have to save all buffers
5248 returned by _peek() until typefinding is done and only
5251 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5253 * docs/gst/gstreamer-sections.txt:
5255 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5257 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5259 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5260 Fix a pretty good memleak.
5262 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5264 * gst/gstiterator.h:
5265 Fix wrong include and 'make distcheck'.
5267 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5269 * gst/gstbin.c: (bin_bus_handler):
5270 Use gst_element_post_message() instead.
5272 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5274 * gst/base/gstadapter.h:
5275 * gst/base/gstbasesink.h:
5276 * gst/base/gstbasesrc.h:
5277 * gst/base/gstbasetransform.h:
5278 * gst/base/gstcollectpads.h:
5279 * gst/base/gstpushsrc.h:
5280 * gst/gstiterator.h:
5281 Add padding to our base elements' class and instance structs and
5282 to GstIterator (you will need to rebuild all plugins and apps!)
5284 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5286 * gst/gstbin.c: (bin_bus_handler):
5287 Make default message forwarding from child->bus to bin->bus
5288 threadsafe and make it not emit warnings if the parent has no bus.
5290 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5292 * gst/gstelement.c: (activate_pads):
5293 On paused->ready, set pad->caps to NULL, as is the documented
5294 behaviour in this state change. Fixes playback of series of
5295 media files when visualization is enabled in Totem.
5297 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5299 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5300 Allow NULL as filter-caps (which means "any").
5302 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5304 * docs/libs/gstreamer-libs-sections.txt:
5305 * libs/gst/controller/gst-controller.c:
5306 * libs/gst/controller/gst-controller.h:
5307 * libs/gst/controller/gst-helper.c:
5308 adding more entries to the docs and fix small doc-bugs
5310 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5312 * docs/gst/gstreamer-docs.sgml:
5313 * docs/gst/gstreamer-sections.txt:
5314 * docs/gst/gstreamer.types:
5315 * docs/gst/tmpl/gstbasesink.sgml:
5316 * docs/gst/tmpl/gstbasesrc.sgml:
5317 * docs/gst/tmpl/gstbasetransform.sgml:
5318 * docs/gst/tmpl/gstfakesrc.sgml:
5319 * gst/base/gstcollectpads.c:
5320 * gst/base/gstcollectpads.h:
5321 * libs/gst/controller/gst-controller.c:
5322 * libs/gst/controller/gst-controller.h:
5323 * libs/gst/controller/gst-helper.c:
5324 * libs/gst/controller/gst-interpolation.c:
5325 * libs/gst/controller/lib.c:
5326 added long/short desc for controller docs
5327 added collectpads base class docs
5328 added correct includes to base-class docs
5330 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5332 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5333 (gst_test_mono_source_set_property),
5334 (gst_test_mono_source_class_init), (GST_START_TEST),
5335 (gst_controller_suite):
5336 * docs/gst/gstreamer-docs.sgml:
5337 * docs/gst/gstreamer-sections.txt:
5338 * docs/gst/gstreamer.types:
5339 * docs/libs/gstreamer-libs-docs.sgml:
5340 * docs/libs/gstreamer-libs-sections.txt:
5341 * gst/base/gstadapter.c:
5342 * libs/gst/controller/gst-controller.c:
5343 (gst_controlled_property_new), (gst_controlled_property_free),
5344 (gst_controller_new_valist),
5345 (gst_controller_remove_properties_valist),
5346 (gst_controller_sink_values), (_gst_controller_finalize):
5347 * libs/gst/controller/gst-controller.h:
5348 * libs/gst/controller/gst-helper.c:
5349 (gst_object_control_properties), (gst_object_uncontrol_properties),
5350 (gst_object_get_controller), (gst_object_set_controller),
5351 (gst_object_sink_values), (gst_object_get_value_arrays),
5352 (gst_object_get_value_array):
5353 more tests (and fixes) for the controller
5354 more docs for the controller
5355 integrated companies docs for the adapter
5357 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5359 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5360 (GST_START_TEST), (fakesrc_suite):
5361 add tests for sizetype
5363 2005-08-04 Andy Wingo <wingo@pobox.com>
5365 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5366 fixes buffer_alloc proxying among other things.
5368 * gst/base/gstbasetransform.c:
5369 * gst/base/gstbasetransform.h:
5370 Revert patch to gstbasetransform from 7-28 removing
5373 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5374 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5375 Semantics changed, should return not the size of the output buffer
5376 but the byte size of a buffer with a given caps.
5378 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5380 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5381 out) are not the pad caps until setcaps finishes.
5382 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5383 not-in-place case as well. Deal with changing from in-place to
5384 not-in-place within calling pad_alloc_buffer. Still a bit
5385 concerned about the overhead here...
5387 2005-08-03 Andy Wingo <wingo@pobox.com>
5389 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5390 fixating is an error.
5392 2005-08-04 Edward Hervey <edward@fluendo.com>
5394 * gst/base/gstadapter.h:
5395 Added gst_adapter_get_type() to the header
5397 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5399 * check/Makefile.am:
5400 * check/gst-libs/controller.c:
5401 * libs/gst/controller/gst-controller.c:
5402 (gst_controller_new_valist):
5403 added check test suite for the controller
5404 * gst/base/gstpushsrc.c:
5407 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5409 * docs/gst/Makefile.am:
5410 * docs/gst/gstreamer-docs.sgml:
5411 * docs/gst/gstreamer-sections.txt:
5412 * docs/gst/gstreamer.types:
5413 * docs/gst/tmpl/gstfakesrc.sgml:
5415 * gst/base/gstbasesink.c:
5416 * gst/base/gstbasesink.h:
5417 * gst/base/gstbasesrc.c:
5418 * gst/base/gstbasesrc.h:
5419 * gst/base/gstbasetransform.c:
5420 * gst/base/gstpushsrc.c:
5421 * gst/base/gstpushsrc.h:
5422 add short/long description docs to base classes
5423 add pushsrc to the docs
5424 remove consolidated doc fragments
5426 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5429 * docs/libs/Makefile.am:
5430 * docs/libs/gstreamer-libs-docs.sgml:
5431 * docs/libs/gstreamer-libs-sections.txt:
5432 * docs/libs/gstreamer-libs.types:
5433 * examples/Makefile.am:
5434 * examples/controller/.cvsignore:
5435 * examples/controller/Makefile.am:
5436 * examples/controller/audio-example.c: (main):
5437 * libs/gst/Makefile.am:
5438 * libs/gst/controller/.cvsignore:
5439 * libs/gst/controller/Makefile.am:
5440 * libs/gst/controller/gst-controller.c:
5441 (on_object_controlled_property_changed), (gst_timed_value_compare),
5442 (gst_timed_value_find),
5443 (gst_controlled_property_set_interpolation_mode),
5444 (gst_controlled_property_new), (gst_controlled_property_free),
5445 (gst_controller_find_controlled_property),
5446 (gst_controller_new_valist), (gst_controller_new),
5447 (gst_controller_remove_properties_valist),
5448 (gst_controller_remove_properties), (gst_controller_set),
5449 (gst_controller_set_from_list), (gst_controller_unset),
5450 (gst_controller_get), (gst_controller_get_all),
5451 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5452 (gst_controller_get_value_array),
5453 (gst_controller_set_interpolation_mode),
5454 (_gst_controller_finalize), (_gst_controller_init),
5455 (_gst_controller_class_init), (gst_controller_get_type):
5456 * libs/gst/controller/gst-controller.h:
5457 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5458 (g_object_uncontrol_properties), (g_object_get_controller),
5459 (g_object_set_controller), (g_object_sink_values),
5460 (g_object_get_value_arrays), (g_object_get_value_array):
5461 * libs/gst/controller/gst-interpolation.c:
5462 (gst_controlled_property_find_timed_value_node),
5463 (interpolate_none_get), (interpolate_trigger_get),
5464 (interpolate_trigger_get_value_array):
5465 * libs/gst/controller/lib.c: (gst_controller_init):
5466 * pkgconfig/Makefile.am:
5467 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5468 * pkgconfig/gstreamer-control.pc.in:
5469 * testsuite/Makefile.am:
5470 * testsuite/controller/.cvsignore:
5471 * testsuite/controller/Makefile.am:
5472 * testsuite/controller/interpolator.c: (main):
5473 added controller code
5474 removed dparam pc files
5476 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5477 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5478 (gst_collectpads_stop):
5479 Broadcast the condition when shutting down, to make sure we wake all
5480 threads up. Shut down pads on finalize, for safety.
5482 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5483 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5484 (gst_base_transform_handle_buffer),
5485 (gst_base_transform_change_state):
5486 Handle PAUSED->READY->PAUSED transition after negotiation
5488 * gst/gstmessage.c: (gst_message_init):
5489 Extra piece of debug for new messages.
5491 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5494 * docs/gst/tmpl/gstbasesrc.sgml:
5495 * docs/gst/tmpl/gstelement.sgml:
5496 * docs/gst/tmpl/gstevent.sgml:
5497 * docs/gst/tmpl/gstfakesrc.sgml:
5498 * docs/gst/tmpl/gstformat.sgml:
5499 * docs/gst/tmpl/gstghostpad.sgml:
5500 * docs/gst/tmpl/gstpad.sgml:
5501 * docs/gst/tmpl/gstquery.sgml:
5502 * docs/gst/tmpl/gststructure.sgml:
5503 * docs/gst/tmpl/gsttaglist.sgml:
5504 * docs/gst/tmpl/gstvalue.sgml:
5505 * docs/libs/gstreamer-libs-docs.sgml:
5506 * docs/libs/gstreamer-libs-sections.txt:
5507 * docs/libs/gstreamer-libs.types:
5508 * libs/gst/Makefile.am:
5509 * libs/gst/control/.cvsignore:
5510 * libs/gst/control/Makefile.am:
5511 * libs/gst/control/control.c:
5512 * libs/gst/control/control.h:
5513 * libs/gst/control/dparam.c:
5514 * libs/gst/control/dparam.h:
5515 * libs/gst/control/dparam_smooth.c:
5516 * libs/gst/control/dparam_smooth.h:
5517 * libs/gst/control/dparamcommon.h:
5518 * libs/gst/control/dparammanager.c:
5519 * libs/gst/control/dparammanager.h:
5520 * libs/gst/control/dplinearinterp.c:
5521 * libs/gst/control/dplinearinterp.h:
5522 * libs/gst/control/unitconvert.c:
5523 * libs/gst/control/unitconvert.h:
5524 * testsuite/Makefile.am:
5525 * testsuite/dynparams/.cvsignore:
5526 * testsuite/dynparams/Makefile.am:
5527 * testsuite/dynparams/dparamstest.c:
5528 * tools/Makefile.am:
5529 * tools/gst-inspect.c: (print_element_info), (main):
5530 * tools/gst-xmlinspect.c: (print_element_info), (main):
5531 deactivate and remove dparams (libgstcontrol)
5533 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5535 * gst/elements/gsttypefindelement.c:
5536 (gst_type_find_element_have_type), (gst_type_find_element_init),
5537 (stop_typefinding), (gst_type_find_element_handle_event),
5538 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5539 * gst/elements/gsttypefindelement.h:
5540 Set caps on all outgoing buffers, not just the first one.
5542 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5544 * gst/elements/gsttypefindelement.c:
5545 (gst_type_find_element_have_type),
5546 (gst_type_find_element_check_set_buffer_caps),
5547 (gst_type_find_element_init), (stop_typefinding),
5548 (gst_type_find_element_handle_event),
5549 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5550 * gst/elements/gsttypefindelement.h:
5551 Set caps on first outgoing buffer when we've found the type.
5553 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5555 * docs/gst/gstreamer-docs.sgml:
5556 * docs/gst/gstreamer-sections.txt:
5557 * docs/gst/tmpl/gstscheduler.sgml:
5558 * docs/gst/tmpl/gstschedulerfactory.sgml:
5559 Remove some old cruft from docs.
5561 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5564 Fix inline docs for GstPadLinkReturn.
5566 * gst/gststructure.c: (gst_structure_has_name):
5567 * gst/gststructure.h:
5568 * docs/gst/gstreamer-sections.txt:
5569 New API: gst_structure_has_name().
5571 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5574 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5575 and _LARGEFILE_SOURCE in config.h as required. Do not
5576 export those flags in our .pc files any longer (#142209).
5578 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5580 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5581 (gst_file_sink_do_seek), (gst_file_sink_event),
5582 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5583 Redo seek/tell calls with large file support in mind; add some
5584 debugging messages; add log message that tells us when large
5585 file support is unavailable or not enabled for some reason.
5587 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5588 Add log message that tells us when large file support
5589 is unavailable or not enabled for some reason.
5591 2005-07-29 Wim Taymans <wim@fluendo.com>
5593 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5594 Added test for removing an element with ghostpad from a bin.
5595 Fixed test as current implementation does the right thing.
5597 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5598 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5599 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5600 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5601 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5602 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5603 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5604 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5605 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5606 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5607 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5608 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5609 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5610 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5611 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5612 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5613 * gst/gstghostpad.h:
5614 Clean up ghostpads, remove properties for internal stuff.
5617 Prepare for switching targets, not all use cases work yet.
5619 2005-07-29 Wim Taymans <wim@fluendo.com>
5621 * docs/design/part-gstghostpad.txt:
5624 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5625 (gst_bin_remove_func):
5626 Unlinking pads while holding the bin LOCK is not a good
5629 * gst/gstpad.c: (gst_pad_class_init),
5630 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5631 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5632 No prob setting template after creating the pad.
5634 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5636 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5637 (gst_bus_peek), (gst_bus_source_dispatch),
5638 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5639 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5640 gst_bus_poll may be called from other threads. Handle
5641 this nicely by not making poll_data disappear off the
5642 stack once gst_bus_poll returns.
5643 gst_bus_peek now increments the refcount on the returned
5646 2005-07-29 Wim Taymans <wim@fluendo.com>
5648 * docs/design/part-gstghostpad.txt:
5649 Overview of current GhostPad datastructures and use
5650 cases for changing the target.
5652 2005-07-28 Wim Taymans <wim@fluendo.com>
5654 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5655 Added checks for hierarchy consistency whan adding linked
5658 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5659 Added check to test element scheduling without bin/pipeline.
5661 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5662 First add elements to bin, then link.
5664 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5665 (gst_bin_remove_func):
5666 Unlink pads from elements added/removed from bin to maintain
5667 hierarchy consistency.
5669 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5671 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5672 (gst_base_transform_handle_buffer):
5673 * gst/base/gstbasetransform.h:
5674 Remove broken delay_configure (fixes renegotiation of software
5675 scaling pipelines); remove some leftover printf()s.
5677 2005-07-28 Wim Taymans <wim@fluendo.com>
5679 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5680 Added some more tests for wrong hierarchy
5682 * docs/design/part-overview.txt:
5685 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5688 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5689 (gst_element_dispose):
5692 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5693 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5694 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5695 (gst_pad_set_caps), (gst_pad_send_event):
5696 Check for correct hierarchy when linking pads. Moving to
5697 strict requirement for ghostpads when linking elements in
5701 Clean ups. Added WRONG_HIERARCHY return value.
5703 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5705 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5706 Better debug if no transform is possible.
5708 2005-07-27 Wim Taymans <wim@fluendo.com>
5710 * docs/random/wtay/network-transp:
5713 2005-07-27 Wim Taymans <wim@fluendo.com>
5715 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5716 (gst_dp_event_from_packet):
5717 Fix serialization of seek events.
5719 2005-07-27 Wim Taymans <wim@fluendo.com>
5721 * check/gst-libs/gdp.c: (GST_START_TEST):
5722 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5723 Fix compilation and fix event serialization.
5725 2005-07-27 Wim Taymans <wim@fluendo.com>
5728 * docs/design/part-TODO.txt:
5729 * docs/design/part-events.txt:
5732 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5733 (gst_base_sink_event), (gst_base_sink_do_sync),
5734 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5735 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5736 (gst_base_src_do_seek), (gst_base_src_event_handler),
5737 (gst_base_src_loop):
5738 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5739 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5740 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5741 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5742 (gst_base_transform_set_passthrough),
5743 (gst_base_transform_is_passthrough):
5744 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5745 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5751 * gst/gstelement.c: (gst_element_seek):
5753 Update gst_element_seek.
5755 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5756 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5757 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5758 (gst_event_new_eos), (gst_event_new_newsegment),
5759 (gst_event_parse_newsegment), (gst_event_new_tag),
5760 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5761 (gst_event_parse_qos), (gst_event_new_seek),
5762 (gst_event_parse_seek), (gst_event_new_navigation):
5764 Make GstEvent use GstStructure. Add parsing code, make sure the
5765 API is sufficiently generic.
5766 Mark possible directions of events and serialization.
5768 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5769 (_gst_message_copy), (gst_message_new_segment_start),
5770 (gst_message_new_segment_done), (gst_message_new_custom),
5771 (gst_message_parse_segment_start),
5772 (gst_message_parse_segment_done):
5775 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5776 (gst_pad_set_caps), (gst_pad_send_event):
5777 Update for new events.
5778 Catch events sent in wrong directions.
5780 * gst/gstqueue.c: (gst_queue_link_src),
5781 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5782 (gst_queue_handle_src_query):
5787 Remove event code from this file.
5789 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5790 (gst_dp_event_from_packet):
5793 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5795 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5796 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5797 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5798 Make debugging actually useful.
5800 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5802 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5803 (gst_pad_fixate_caps):
5804 Implement default fixation once again, so that gst_pad_fixate()
5805 actually does anything at all. This probably needs to be some
5806 sort of a last resort, and use profile-based fixation first, but
5807 since that doesn't exist yet, this is the best we have. Fixes
5808 visualization in Totem.
5810 2005-07-22 Wim Taymans <wim@fluendo.com>
5812 * docs/design/part-events.txt:
5815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5816 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5817 (gst_base_sink_activate_pull):
5820 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5821 (gst_fake_src_create):
5822 Fix handoff marshall.
5824 * gst/elements/gstidentity.c: (gst_identity_class_init),
5825 (gst_identity_transform_ip):
5826 We're a real inplace element.
5828 * gst/gstbus.c: (gst_bus_post):
5829 Added some comments.
5831 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5832 * tests/muxing/case1.c: (main):
5833 * tests/sched/dynamic-pipeline.c: (main):
5834 * tests/sched/interrupt1.c: (main):
5835 * tests/sched/interrupt2.c: (main):
5836 * tests/sched/interrupt3.c: (main):
5837 * tests/sched/runxml.c: (main):
5838 * tests/sched/sched-stress.c: (main):
5839 * tests/seeking/seeking1.c: (event_received), (main):
5840 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5842 * tests/threadstate/threadstate3.c: (main):
5843 * tests/threadstate/threadstate4.c: (main):
5844 * tests/threadstate/threadstate5.c: (main):
5847 2005-07-21 Wim Taymans <wim@fluendo.com>
5849 * docs/design/part-seeking.txt:
5850 Some small additions.
5852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5853 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5854 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5855 * gst/base/gstbasesink.h:
5856 discont values are gint64, handle the math correctly.
5858 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5859 Make the basesrc report error if the source pad is not linked.
5861 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5862 (gst_queue_loop), (gst_queue_handle_src_query),
5863 (gst_queue_src_activate_push):
5864 Make queue collect data even if the srcpad is not linked.
5865 Start pushing out data as soon as it is linked.
5867 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5869 Added gst_flow_get_name() to ease error reporting.
5871 2005-07-20 Wim Taymans <wim@fluendo.com>
5873 * gst/gstmessage.c: (gst_message_new_segment_start),
5874 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5875 (gst_message_parse_segment_done):
5877 Added a bunch of messages for advanced seeking.
5879 * gst/parse/grammar.y:
5880 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5881 (gst_dpman_state_changed):
5882 Fix some new-pad -> pad-added signals
5884 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5886 * docs/manual/appendix-porting.xml:
5887 * docs/pwg/appendix-porting.xml:
5888 Document new-pad/state-change signal renames and the FixedList
5891 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5893 * docs/manual/advanced-autoplugging.xml:
5894 * docs/manual/basics-helloworld.xml:
5895 * docs/manual/basics-pads.xml:
5896 * docs/random/ds/0.9-suggested-changes:
5897 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5902 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5903 (gst_structure_parse_array), (gst_structure_parse_value):
5904 * gst/gstvalue.c: (gst_type_is_fixed),
5905 (gst_value_list_prepend_value), (gst_value_list_append_value),
5906 (gst_value_list_get_size), (gst_value_list_get_value),
5907 (gst_value_transform_array_string), (gst_value_serialize_array),
5908 (gst_value_deserialize_array), (gst_value_intersect_array),
5909 (gst_value_is_fixed), (_gst_value_initialize):
5911 GstElement::new-pad -> pad-added, GstElement::state-change ->
5912 state-changed, GstValueFixedList -> GstValueArray, add format and
5913 flags as their own arguments in gst_element_seek() (should improve
5914 "bindeability"), remove function generators since they don't work
5915 under a whole bunch of compilers (they were deprecated already
5918 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5920 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5921 (_gst_debug_register_funcptr):
5923 Fix illegal cast on some platforms (#309253).
5925 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5927 * gst/gstmessage.c: (gst_message_new_custom):
5929 Add _new_custom, make _new_application a macro to _new_custom.
5931 2005-07-20 Wim Taymans <wim@fluendo.com>
5933 * gst/base/gstbasesrc.c: (gst_base_src_init),
5934 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5935 * gst/base/gstbasesrc.h:
5936 Add a gboolean to decide when to push out a discont.
5938 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5939 (gst_queue_loop), (gst_queue_handle_src_query),
5940 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5941 (gst_queue_set_property), (gst_queue_get_property):
5944 * tests/threadstate/threadstate1.c: (main):
5945 Make a thread test compile and run... very silly..
5948 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5950 * docs/manual/appendix-porting.xml:
5951 Mention removal of libgstgconf-0.9.la and existence of gconf
5954 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5956 * docs/pwg/advanced-clock.xml:
5957 * docs/pwg/appendix-porting.xml:
5958 * docs/pwg/intro-preface.xml:
5959 * docs/pwg/other-base.xml:
5960 * docs/pwg/other-manager.xml:
5961 * docs/pwg/other-nton.xml:
5962 * docs/pwg/other-ntoone.xml:
5963 * docs/pwg/other-oneton.xml:
5965 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5966 demuxer), remove n-to-n (was never written), fix some code examples
5967 and links and update the porting section to include all this.
5969 2005-07-19 Wim Taymans <wim@fluendo.com>
5971 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5972 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5973 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5974 (gst_queue_src_activate_push), (gst_queue_change_state),
5975 (gst_queue_get_property):
5977 Propagate GstFlowReturn more intelligently upstream and output
5978 an ERROR/EOS when streaming stopped due to fatal error.
5980 2005-07-19 Wim Taymans <wim@fluendo.com>
5982 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5983 Don't block forever for the state change to complete, the
5984 pipeline already did with a sensible timeout.
5986 2005-07-19 Wim Taymans <wim@fluendo.com>
5988 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5989 Make sure we never call the create function is we
5992 2005-07-19 Andy Wingo <wingo@pobox.com>
5994 * gst/parse/parse.l: Attempt to solve bug #172815.
5996 2005-07-19 Wim Taymans <wim@fluendo.com>
5998 * docs/design/part-clocks.txt:
5999 * docs/design/part-events.txt:
6000 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6002 Only update the seeking values when we are not
6005 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6007 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6008 Oops, ignore the result of gst_pad_push_event here.
6010 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6012 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6013 (gst_base_src_activate_push):
6014 Send discont event from the loop function, as pads
6015 aren't activated yet in the activate_push handler.
6017 * gst/gstbin.c: (bin_bus_handler):
6018 Don't leak element name.
6020 2005-07-18 Andy Wingo <wingo@pobox.com>
6022 * configure.ac: Use AS_LIBTOOL_TAGS.
6024 2005-07-18 Wim Taymans <wim@fluendo.com>
6026 * docs/gst/gstreamer.types:
6027 Remove deleted types.
6029 2005-07-18 Wim Taymans <wim@fluendo.com>
6031 * check/elements/gstfakesrc.c: (GST_START_TEST):
6034 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6035 (init_popt_callback):
6037 * gst/gst_private.h:
6038 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6039 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6042 * gst/gstconfig.h.in:
6043 * gst/gstelement.c: (gst_element_class_init),
6044 (gst_element_set_base_time), (gst_element_get_base_time),
6045 (iterator_fold_with_resync), (gst_element_change_state),
6046 (gst_element_dispose), (gst_element_get_bus):
6048 * gst/gstelementfactory.h:
6049 * gst/gsterror.c: (_gst_core_errors_init):
6052 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6054 * gst/gstinfo.c: (_gst_debug_init):
6055 * gst/gstmessage.c: (_gst_message_copy):
6057 * gst/gstminiobject.h:
6060 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6061 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6064 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6065 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6066 (gst_pipeline_get_last_stream_time):
6067 * gst/gstpipeline.h:
6068 * gst/gstpluginfeature.h:
6070 * gst/gstscheduler.c:
6071 * gst/gstscheduler.h:
6072 * gst/gststructure.h:
6073 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6074 (gst_task_finalize), (gst_task_func), (gst_task_create),
6075 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6076 (gst_task_stop), (gst_task_pause):
6078 * gst/gsttypefind.h:
6080 * gst/registries/gstlibxmlregistry.c: (load_feature),
6081 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6082 * gst/registries/gstxmlregistry.c:
6083 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6084 * gst/schedulers/threadscheduler.c:
6085 * libs/gst/control/dparammanager.h:
6086 * tools/gst-inspect.c: (print_element_list),
6087 (print_plugin_features), (print_element_features):
6088 * tools/gst-xmlinspect.c: (print_element_list),
6089 (print_plugin_info), (main):
6090 Removed plugable schedulers.
6091 Removed Scheduler/Manager from elements.
6092 Removed gsttypes.h, rearranged includes.
6093 Removed dependency pad<->element, element<>pipeline, and
6094 various others, fix includes.
6095 implement gst_pad_get_parent() with gst_object_get_parent()
6096 Make GstTask sefcontained.
6097 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6099 Fix endless loop in iterator_fold_with_resync.
6102 2005-07-18 Wim Taymans <wim@fluendo.com>
6108 2005-07-18 Wim Taymans <wim@fluendo.com>
6113 2005-07-18 Wim Taymans <wim@fluendo.com>
6119 2005-07-18 Wim Taymans <wim@fluendo.com>
6121 * docs/design/part-dynamic.txt:
6122 * docs/design/part-events.txt:
6123 * docs/design/part-seeking.txt:
6124 Some more docs in the works.
6126 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6127 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6128 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6129 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6130 (gst_base_transform_handle_buffer),
6131 (gst_base_transform_sink_activate_push),
6132 (gst_base_transform_src_activate_pull),
6133 (gst_base_transform_set_passthrough),
6134 (gst_base_transform_is_passthrough):
6137 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6140 * gst/gstevent.c: (gst_event_finalize):
6143 * gst/gstutils.c: (gst_element_unlink),
6144 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6145 (gst_pad_proxy_setcaps):
6147 Add _get_parent_element() to get a pads parent as an element.
6149 2005-07-18 Wim Taymans <wim@fluendo.com>
6151 * check/gst/gstbin.c: (GST_START_TEST):
6154 2005-07-18 Wim Taymans <wim@fluendo.com>
6156 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6157 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6158 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6159 (gst_base_sink_event), (gst_base_sink_do_sync),
6160 (gst_base_sink_chain), (gst_base_sink_loop),
6161 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6162 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6164 Fix logic for returning ASYNC when not prerolled.
6166 2005-07-18 Wim Taymans <wim@fluendo.com>
6168 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6169 Fix nasty refcount bug.
6171 2005-07-16 Philippe Khalaf <burger@speedy.org>
6173 * gst/elements/gstfdsrc.c:
6174 * gst/elements/gstfdsrc.h:
6175 * gst/elements/gstelements.c:
6176 * gst/elements/Makefile.am:
6177 Ported fdsrc to 0.9.
6179 2005-07-16 Wim Taymans <wim@fluendo.com>
6181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6182 (gst_base_sink_do_sync):
6185 2005-07-16 Wim Taymans <wim@fluendo.com>
6187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6188 (gst_base_sink_event), (gst_base_sink_get_times),
6189 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6190 * gst/base/gstbasesink.h:
6191 Store and use discont values when syncing buffers as described
6194 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6195 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6196 (gst_base_src_activate_push):
6197 Push discont event when starting.
6199 * gst/elements/gstidentity.c: (gst_identity_transform):
6202 * gst/gstbin.c: (gst_bin_change_state):
6203 Small cleanups in base_time distribution.
6205 * gst/gstelement.c: (gst_element_set_base_time),
6206 (gst_element_get_base_time), (gst_element_change_state):
6208 Added methods for the base_time of the element.
6211 * gst/gstpipeline.c: (gst_pipeline_send_event),
6212 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6213 (gst_pipeline_get_last_stream_time):
6214 * gst/gstpipeline.h:
6216 Handle seeking as described in design doc, remove stream_time
6218 Cleanups clock and stream_time selection code. Added accessors
6219 for the stream_time.
6222 2005-07-16 Andy Wingo <wingo@pobox.com>
6224 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6227 2005-07-16 Wim Taymans <wim@fluendo.com>
6229 * check/gst/gstbin.c: (GST_START_TEST):
6230 Make elements silent as the deep_notify refs the
6231 parent, which might make the test fail.
6233 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6234 Don't hold the lock for too long.
6236 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6238 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6239 Don't unref the caps we passed to gst_caps_make_writable() after
6240 passing them. gst_caps_make_writable() will do that for us.
6242 2005-07-15 Andy Wingo <wingo@pobox.com>
6244 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6247 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6248 own marshalling function for the handoff signal. Properly type the
6249 buffer as a buffer. Fixes some warnings. Should do a more general
6251 (gst_identity_class_init): Plug into the right marshaller.
6253 2005-07-15 Wim Taymans <wim@fluendo.com>
6255 * docs/design/part-TODO.txt:
6256 * docs/design/part-clocks.txt:
6257 * docs/design/part-element-sink.txt:
6258 * docs/design/part-events.txt:
6259 * docs/design/part-gstpipeline.txt:
6260 Updated docs, mostly DISCONT related.
6262 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6264 * docs/pwg/building-pads.xml:
6265 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6267 2005-07-15 Andy Wingo <wingo@pobox.com>
6269 * tools/gst-typefind.c: Update, add copyright block.
6271 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6272 Normalize and truncate caps before fixation.
6275 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6276 discards all but the first structure from its argument.
6278 2005-07-15 Wim Taymans <wim@fluendo.com>
6280 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6281 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6282 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6283 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6284 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6285 (gst_base_transform_chain), (gst_base_transform_change_state),
6286 (gst_base_transform_set_passthrough),
6287 (gst_base_transform_is_passthrough):
6288 * gst/base/gstbasetransform.h:
6289 Make passthrough work using the bufferpools.
6290 Changed API a bit, subclasses have to write into a buffer
6291 provided by the base class.
6292 More debug info in nego functions.
6294 * gst/elements/gstidentity.c: (gst_identity_init),
6295 (gst_identity_transform):
6296 Port to new base class.
6298 2005-07-15 Wim Taymans <wim@fluendo.com>
6300 * gst/gstmessage.c: (gst_message_new_state_changed):
6301 * tools/gst-launch.c: (event_loop), (main):
6302 Totally dump messages in -launch with the -m option.
6303 Fix message name for State messages,
6305 2005-07-14 Wim Taymans <wim@fluendo.com>
6307 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6308 Post error messages on errors.
6310 2005-07-14 Wim Taymans <wim@fluendo.com>
6312 * gst/gstcaps.c: (gst_caps_do_simplify):
6316 Define error for stream stopped.
6318 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6319 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6320 Do proper return values.
6322 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6323 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6324 (gst_pad_get_range):
6325 Better return values.
6328 Reorganise return values, add macro to check for fatal errors.
6330 * gst/gstqueue.c: (gst_queue_chain):
6331 Return proper GstFlowReturn values,
6333 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6335 * docs/gst/gstreamer-sections.txt:
6336 * docs/gst/gstreamer.types:
6337 * docs/gst/tmpl/gst.sgml:
6338 * docs/gst/tmpl/gstbasesink.sgml:
6339 * docs/gst/tmpl/gstbasesrc.sgml:
6340 * docs/gst/tmpl/gstbasetransform.sgml:
6341 * docs/gst/tmpl/gstbin.sgml:
6342 * docs/gst/tmpl/gstbuffer.sgml:
6343 * docs/gst/tmpl/gstcaps.sgml:
6344 * docs/gst/tmpl/gstclock.sgml:
6345 * docs/gst/tmpl/gstcompat.sgml:
6346 * docs/gst/tmpl/gstconfig.sgml:
6347 * docs/gst/tmpl/gstelement.sgml:
6348 * docs/gst/tmpl/gstelementdetails.sgml:
6349 * docs/gst/tmpl/gstelementfactory.sgml:
6350 * docs/gst/tmpl/gstenumtypes.sgml:
6351 * docs/gst/tmpl/gsterror.sgml:
6352 * docs/gst/tmpl/gstevent.sgml:
6353 * docs/gst/tmpl/gstfakesink.sgml:
6354 * docs/gst/tmpl/gstfakesrc.sgml:
6355 * docs/gst/tmpl/gstfilesink.sgml:
6356 * docs/gst/tmpl/gstfilesrc.sgml:
6357 * docs/gst/tmpl/gstfilter.sgml:
6358 * docs/gst/tmpl/gstformat.sgml:
6359 * docs/gst/tmpl/gstghostpad.sgml:
6360 * docs/gst/tmpl/gstimplementsinterface.sgml:
6361 * docs/gst/tmpl/gstindex.sgml:
6362 * docs/gst/tmpl/gstindexfactory.sgml:
6363 * docs/gst/tmpl/gstinfo.sgml:
6364 * docs/gst/tmpl/gstiterator.sgml:
6365 * docs/gst/tmpl/gstmacros.sgml:
6366 * docs/gst/tmpl/gstmemchunk.sgml:
6367 * docs/gst/tmpl/gstminiobject.sgml:
6368 * docs/gst/tmpl/gstobject.sgml:
6369 * docs/gst/tmpl/gstpad.sgml:
6370 * docs/gst/tmpl/gstpadtemplate.sgml:
6371 * docs/gst/tmpl/gstparse.sgml:
6372 * docs/gst/tmpl/gstpipeline.sgml:
6373 * docs/gst/tmpl/gstplugin.sgml:
6374 * docs/gst/tmpl/gstpluginfeature.sgml:
6375 * docs/gst/tmpl/gstquery.sgml:
6376 * docs/gst/tmpl/gstqueue.sgml:
6377 * docs/gst/tmpl/gstregistry.sgml:
6378 * docs/gst/tmpl/gstregistrypool.sgml:
6379 * docs/gst/tmpl/gstscheduler.sgml:
6380 * docs/gst/tmpl/gstschedulerfactory.sgml:
6381 * docs/gst/tmpl/gststructure.sgml:
6382 * docs/gst/tmpl/gstsystemclock.sgml:
6383 * docs/gst/tmpl/gsttaglist.sgml:
6384 * docs/gst/tmpl/gsttagsetter.sgml:
6385 * docs/gst/tmpl/gsttrace.sgml:
6386 * docs/gst/tmpl/gsttrashstack.sgml:
6387 * docs/gst/tmpl/gsttypefind.sgml:
6388 * docs/gst/tmpl/gsttypefindfactory.sgml:
6389 * docs/gst/tmpl/gsttypes.sgml:
6390 * docs/gst/tmpl/gsturihandler.sgml:
6391 * docs/gst/tmpl/gsturitype.sgml:
6392 * docs/gst/tmpl/gstutils.sgml:
6393 * docs/gst/tmpl/gstvalue.sgml:
6394 * docs/gst/tmpl/gstversion.sgml:
6395 * docs/gst/tmpl/gstxml.sgml:
6396 * docs/libs/tmpl/gstcontrol.sgml:
6397 * docs/libs/tmpl/gstdataprotocol.sgml:
6398 * docs/libs/tmpl/gstdparam.sgml:
6399 * docs/libs/tmpl/gstdplinint.sgml:
6400 * docs/libs/tmpl/gstdpman.sgml:
6401 * docs/libs/tmpl/gstdpsmooth.sgml:
6402 * docs/libs/tmpl/gstgetbits.sgml:
6403 * docs/libs/tmpl/gstunitconvert.sgml:
6404 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6405 (gst_push_src_base_init), (gst_push_src_class_init),
6406 (gst_push_src_init), (gst_push_src_create):
6407 * gst/base/gstpushsrc.h:
6408 * gst/elements/gstelements.c:
6409 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6410 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6411 (gst_fake_sink_init), (gst_fake_sink_set_property),
6412 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6413 (gst_fake_sink_event), (gst_fake_sink_preroll),
6414 (gst_fake_sink_render), (gst_fake_sink_change_state):
6415 * gst/elements/gstfakesink.h:
6416 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6417 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6418 (gst_fake_src_base_init), (gst_fake_src_class_init),
6419 (gst_fake_src_init), (gst_fake_src_event_handler),
6420 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6421 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6422 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6423 (gst_fake_src_create_buffer), (gst_fake_src_create),
6424 (gst_fake_src_start), (gst_fake_src_stop):
6425 * gst/elements/gstfakesrc.h:
6426 * gst/elements/gstfilesink.c: (_do_init),
6427 (gst_file_sink_base_init), (gst_file_sink_class_init),
6428 (gst_file_sink_init), (gst_file_sink_dispose),
6429 (gst_file_sink_set_location), (gst_file_sink_set_property),
6430 (gst_file_sink_get_property), (gst_file_sink_open_file),
6431 (gst_file_sink_close_file), (gst_file_sink_query),
6432 (gst_file_sink_event), (gst_file_sink_render),
6433 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6434 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6435 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6436 * gst/elements/gstfilesink.h:
6437 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6438 (gst_file_src_class_init), (gst_file_src_init),
6439 (gst_file_src_finalize), (gst_file_src_set_location),
6440 (gst_file_src_set_property), (gst_file_src_get_property),
6441 (gst_file_src_map_region), (gst_file_src_map_small_region),
6442 (gst_file_src_create_mmap), (gst_file_src_create_read),
6443 (gst_file_src_create), (gst_file_src_is_seekable),
6444 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6445 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6446 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6447 (gst_file_src_uri_handler_init):
6448 * gst/elements/gstfilesrc.h:
6449 more autistic cleanliness in functions/names/defines
6451 2005-07-13 Andy Wingo <wingo@pobox.com>
6453 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6454 source couldn't negotiate.
6456 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6460 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6461 function. I am channeling Hades. Put your boots on suckers!!!
6463 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6465 * testsuite/caps/Makefile.am:
6466 * testsuite/caps/value_compare.c:
6467 * testsuite/caps/value_intersect.c:
6468 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6469 move two testsuite apps over to the check dir
6471 2005-07-12 Wim Taymans <wim@fluendo.com>
6473 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6474 Added more debug info in the negotiate process.
6477 Prepare for segment playback.
6479 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6485 * tools/gst-launch.c: (main):
6486 NULL pipeline on errors.
6488 2005-07-12 Andy Wingo <wingo@pobox.com>
6490 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6491 not it comes from a malloc region. Make sure our copy gets freed.
6493 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6495 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6496 * check/gst/gstmessage.c: (GST_START_TEST):
6497 * check/gst/gststructure.c: (GST_START_TEST),
6498 (gst_structure_suite), (main):
6500 * gst/gstelement.c: (gst_element_message_full):
6501 clean up GError and debug string now that they get copied
6502 * gst/gstmessage.c: (gst_message_new_error),
6503 (gst_message_new_warning), (gst_message_parse_error),
6504 (gst_message_parse_warning):
6505 use GST_TYPE_G_ERROR for structure_new, and take copies of
6506 arguments, so that we don't mess up refcounting
6508 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6510 * check/Makefile.am:
6511 add per-test valgrind targets
6512 * check/gst-libs/gdp.c: (GST_START_TEST),
6513 (gst_data_protocol_suite), (main):
6516 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * check/Makefile.am:
6519 instate more valgrindable tests
6520 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6521 (GST_START_TEST), (fakesrc_suite):
6522 * check/gst/gstpad.c: (GST_START_TEST):
6523 * check/gst/gststructure.c: (GST_START_TEST):
6525 * docs/gst/tmpl/gstminiobject.sgml:
6526 * gst/gstpad.c: (gst_pad_finalize):
6527 fix the static mutex leak
6529 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6531 * check/Makefile.am:
6532 add two more tests for valgrinding
6533 * check/gst/gstvalue.c: (GST_START_TEST):
6534 test refcount of deserialized buffer, found a leak
6535 * docs/gst/gstreamer-docs.sgml:
6536 * docs/gst/gstreamer-sections.txt:
6537 * docs/gst/gstreamer.types:
6538 * docs/gst/tmpl/gstminiobject.sgml:
6539 add miniobject to docs
6540 * gst/gstminiobject.c:
6542 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6543 (gst_string_unwrap):
6544 fix a hard-to-find invalid write for one of the tests
6545 fix a leak for deserialized buffers
6547 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6549 * docs/pwg/advanced-events.xml:
6550 * docs/pwg/advanced-request.xml:
6551 * docs/pwg/advanced-scheduling.xml:
6552 * docs/pwg/appendix-porting.xml:
6553 * docs/pwg/building-boiler.xml:
6554 * docs/pwg/intro-preface.xml:
6555 * docs/pwg/other-ntoone.xml:
6556 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6557 of example code and explanation for pad activation, loop() and
6558 getrange() functions and a bit more. Remove old comments pointing
6560 * examples/pwg/Makefile.am:
6561 Add loop/getrange examples.
6563 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6566 check for valgrind binary + some fixes
6568 valgrind suppressions for the tests
6569 * check/Makefile.am:
6570 add a valgrind: target that valgrinds the unit tests
6571 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6572 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6573 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6574 * check/gst/gstghostpad.c:
6576 * check/gst/gstdata.c:
6578 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6579 (thread_unref), (gst_mini_object_suite), (main):
6581 * gst/gst.c: (gst_deinit):
6583 add a method to clean up.
6584 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6585 (gst_system_clock_obtain):
6586 allow for disposing the system clock.
6587 * tools/gst-launch.c: (main):
6590 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6592 * docs/gst/tmpl/gstbasesrc.sgml:
6593 * docs/gst/tmpl/gstfakesrc.sgml:
6594 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6595 (gst_base_src_init), (gst_base_src_set_property),
6596 (gst_base_src_get_property), (gst_base_src_get_range),
6597 (gst_base_src_start):
6598 * gst/base/gstbasesrc.h:
6599 add num-buffers property
6600 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6601 (gst_fakesrc_init), (gst_fakesrc_set_property),
6602 (gst_fakesrc_get_property), (gst_fakesrc_create),
6603 (gst_fakesrc_start):
6604 remove num-buffers property
6606 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6608 * docs/gst/gstreamer-sections.txt:
6609 * docs/gst/tmpl/gstbasesink.sgml:
6610 * docs/gst/tmpl/gstbasesrc.sgml:
6611 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6612 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6613 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6614 (gst_base_sink_set_property), (gst_base_sink_get_property),
6615 (gst_base_sink_handle_object), (gst_base_sink_event),
6616 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6617 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6618 (gst_base_sink_loop), (gst_base_sink_deactivate),
6619 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6620 (gst_base_sink_change_state):
6621 * gst/base/gstbasesink.h:
6622 * gst/base/gstbasesrc.h:
6623 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6624 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6625 (gst_filesink_init):
6626 more macro splitting
6628 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6630 * gst/gstelement.c: (gst_element_get_bus):
6632 * tools/gst-launch.c: (check_intr), (event_loop):
6635 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6637 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6640 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6642 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6643 (gst_base_src_finalize):
6644 add finalize method and clean up properly
6645 * gst/gstpipeline.c: (gst_pipeline_dispose):
6648 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6652 add more things to check
6653 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6657 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6660 (GST_START_TEST), (fakesrc_suite):
6661 * check/gst-libs/gdp.c: (GST_START_TEST):
6662 * check/gst/gst.c: (GST_START_TEST):
6663 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6664 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6665 * check/gst/gstbus.c: (GST_START_TEST):
6666 * check/gst/gstcaps.c: (GST_START_TEST):
6667 * check/gst/gstdata.c: (GST_START_TEST):
6668 * check/gst/gstelement.c: (GST_START_TEST):
6669 * check/gst/gstghostpad.c: (GST_START_TEST):
6670 * check/gst/gstiterator.c: (GST_START_TEST):
6671 * check/gst/gstmessage.c: (GST_START_TEST):
6672 * check/gst/gstobject.c: (GST_START_TEST):
6673 * check/gst/gstpad.c: (GST_START_TEST):
6674 * check/gst/gststructure.c: (GST_START_TEST):
6675 * check/gst/gstsystemclock.c: (GST_START_TEST),
6676 (gst_systemclock_suite):
6677 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6678 * check/gst/gstvalue.c: (GST_START_TEST):
6679 * check/pipelines/cleanup.c: (GST_START_TEST):
6680 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6681 * check/states/sinks.c: (GST_START_TEST):
6682 * check/gstcheck.c: (gst_check_init):
6684 add debugging category
6685 use GST_START_TEST now, so we add a debug line
6687 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6690 add test for state change message on a bin
6691 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6693 * gst/gstbin.c: (gst_bin_init):
6694 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6695 * gst/gstelement.c: (gst_element_post_message),
6696 (gst_element_set_state):
6697 * gst/gstelementfactory.c: (gst_element_factory_create):
6698 * gst/gstmessage.c: (gst_message_new):
6699 * gst/gstscheduler.c:
6700 various debugging additions and cleanups
6702 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6704 * check/Makefile.am:
6705 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6707 adding tests for elements
6708 * gst/gstelement.c: (gst_element_dispose):
6710 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6712 * gst/registries/gstlibxmlregistry.c: (load_feature):
6713 plug more leaks. A simple gst_init() now is leakfree, yay.
6715 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6717 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6718 (gst_xml_registry_load):
6719 plug another memleak
6721 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6724 use GST_SET_ERROR_CFLAGS
6726 change to ERROR_CFLAGS
6728 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6731 make GST_ERROR_CFLAGS overridable and re-enable Werror
6733 add a note about error CFLAGS
6734 * docs/gst/tmpl/gstfakesrc.sgml:
6735 * gst/elements/gstfakesrc.c:
6736 comment out some unused code
6737 * gst/gst.c: (split_and_iterate):
6738 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6742 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6744 * common/Makefile.am:
6745 * common/gtk-doc.mak:
6746 * docs/gst/Makefile.am:
6747 factor out gtk-doc.mak
6749 2005-07-07 Wim Taymans <wim@fluendo.com>
6751 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6752 (gst_thread_scheduler_dispose):
6753 Unlock the STREAM_LOCK completely.
6755 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6757 * check/Makefile.am:
6758 * check/elements/.cvsignore:
6759 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6760 (START_TEST), (fakesrc_suite), (main):
6761 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6762 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6763 (gst_fakesrc_create), (gst_fakesrc_start):
6764 * gst/elements/gstfakesrc.h:
6765 adding a first element test
6767 2005-07-07 Andy Wingo <wingo@pobox.com>
6769 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6772 2005-07-07 Wim Taymans <wim@fluendo.com>
6778 2005-07-07 Wim Taymans <wim@fluendo.com>
6780 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6781 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6782 Allow subclasses to implement their own negotiation.
6784 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6786 * docs/design/part-gstbin.txt:
6787 * docs/design/part-gstpipeline.txt:
6788 Update design notes to reflect the movement of
6789 responsibility for bus handling from GstPipeline to
6792 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6795 Remove unnecessary queue2/3/4 examples.
6797 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6799 * examples/Makefile.am:
6800 * examples/helloworld/helloworld.c: (event_loop), (main):
6801 * examples/queue/queue.c: (event_loop), (main):
6802 * examples/queue2/queue2.c: (main):
6803 Update a couple of the examples to work again.
6805 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6806 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6807 Spelling corrections and extra debug.
6809 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6810 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6811 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6813 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6814 (gst_pipeline_change_state):
6815 * gst/gstpipeline.h:
6816 Move the bus handler for children to the GstBin, and create a
6817 separate bus for receiving messages from children to the one the
6818 bus sends 'upwards' on.
6820 2005-07-06 Wim Taymans <wim@fluendo.com>
6823 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6824 (gst_base_sink_handle_object), (gst_base_sink_loop),
6825 (gst_base_sink_change_state):
6826 * gst/base/gstbasesink.h:
6827 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6828 (gst_base_src_init), (gst_base_src_setcaps),
6829 (gst_base_src_getcaps), (gst_base_src_loop),
6830 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6831 (gst_base_src_start), (gst_base_src_change_state):
6832 * gst/base/gstbasesrc.h:
6833 Make basesrc negotiate.
6834 Handle the case where preroll fails in basesink.
6837 2005-07-06 Wim Taymans <wim@fluendo.com>
6839 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6840 Implement the fixate function.
6841 Clean up acceptcaps.
6843 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6845 * docs/pwg/building-filterfactory.xml:
6847 Remove never-written filter-factory chapter; I'll add the various
6848 base classes to part 4 ("other element types") later on.
6850 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6852 * docs/pwg/advanced-negotiation.xml:
6853 * docs/pwg/building-boiler.xml:
6854 * docs/pwg/building-pads.xml:
6856 * examples/pwg/Makefile.am:
6857 Add a chapter on caps negotiation, simplify the original code
6858 samples a bit w.r.t. caps negotiation, add link to the advanced
6859 section. Add a bunch of examples showing different use cases of
6860 different types of caps negotiation. Upstream renegotiation isn't
6861 fully documented yet since nobody knows how that works.
6863 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6865 * check/gst/gstpad.c:
6867 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6868 if pad has no parent, return NULL as list of internal links
6870 2005-07-05 Andy Wingo <wingo@pobox.com>
6872 * gst/elements/gstfilesrc.c:
6873 * gst/elements/gstfakesrc.c:
6874 * gst/base/gstpushsrc.c:
6875 * gst/base/gstbasesrc.h:
6876 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6878 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6881 better report generation target (lcov needs a patch)
6883 2005-07-05 Andy Wingo <wingo@pobox.com>
6885 * gst/elements, testsuite: Null if we got it...
6887 2005-07-05 Wim Taymans <wim@fluendo.com>
6890 * libs/gst/dataprotocol/Makefile.am:
6891 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6892 * libs/gst/dataprotocol/dataprotocol.h:
6893 * pkgconfig/Makefile.am:
6894 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6895 * pkgconfig/gstreamer-dataprotocol.pc.in:
6896 Ported dataprotol to 0.9.
6897 Added pkgconfig files.
6899 2005-07-05 Andy Wingo <wingo@pobox.com>
6901 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6902 Default to returning TRUE for the case when tranform_caps returns
6903 a fixed caps, like for identity or volume.
6905 * check/gst/gstbus.c (pound_bus_with_messages):
6906 * check/gst/gstmessage.c (START_TEST):
6907 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6910 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6911 logic weaks here: always run transform_caps, trying passthrough
6912 operation only if the original caps intersects with the transform.
6914 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6915 source and sink caps.
6917 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6918 Intersect the peer caps with the pad template before going into
6920 (gst_base_transform_transform_caps): More debugging.
6922 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6925 2005-07-04 Edward Hervey <edward@fluendo.com>
6929 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6932 2005-07-04 Andy Wingo <wingo@pobox.com>
6934 * check/gst/gstpad.c: Only set explicit caps on pads.
6936 2005-07-01 Andy Wingo <wingo@pobox.com>
6938 * tests/network-clock.scm: Commentary update.
6940 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6941 Didn't really make sense, not implementable with basetransform,
6943 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6944 attempt at implementing the sync property, needs an unlock method.
6946 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6947 New func, by default returns the same caps (the identity
6949 (gst_base_transform_getcaps): Uses transform_caps to return
6951 (gst_base_transform_setcaps): Complicated logic to get caps on
6952 both pads, even if they are different, and to call set_caps once
6953 for every time both pads get their caps set.
6954 (gst_base_transform_handle_buffer): Give the ref to the transform
6955 function. Allows in-place modification of the buffer.
6957 * gst/base/gstbasetransform.h (transform_caps): New class method.
6958 Given caps on one side, what can I do on the other.
6959 (set_caps): Take two caps, one for each side of the element.
6962 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6963 caps in place. This is safe because we can check the mutability of
6964 the caps, and a good idea because fixate functions are just called
6965 as a matter of last resort. (Not actually implemented.)
6966 (gst_pad_set_caps): If the caps we're setting is actually the same
6967 as the existing pad caps, just update the pointer without calling
6968 setcaps. Assert that caps is either NULL or fixed, as per the
6971 * gst/gstghostpad.c: Update for fixate changes.
6973 2005-07-02 Andy Wingo <wingo@pobox.com>
6976 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6977 two refcounts makes it immutable, which is enough. Doc more.
6979 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6981 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6982 Put the mini_object into GValue as a mini_object,
6983 not a gpointer, since that's how we declared
6986 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6988 * examples/pwg/Makefile.am:
6991 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6993 * docs/pwg/building-testapp.xml:
6995 * examples/pwg/Makefile.am:
6998 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7001 * examples/Makefile.am:
7002 * examples/pwg/Makefile.am:
7003 * examples/pwg/extract.pl:
7004 Enable building the PWG examples.
7005 * docs/pwg/advanced-interfaces.xml:
7006 Add URI interface stub.
7007 * docs/pwg/advanced-types.xml:
7008 * docs/pwg/other-autoplugger.xml:
7009 * docs/pwg/appendix-porting.xml:
7011 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7012 * docs/pwg/building-boiler.xml:
7013 * docs/pwg/building-chainfn.xml:
7014 * docs/pwg/building-pads.xml:
7015 * docs/pwg/building-props.xml:
7016 * docs/pwg/building-state.xml:
7017 * docs/pwg/building-testapp.xml:
7018 Update the building-*.xml parts for 0.9 changes. All examples
7019 code blocks compile in examples/pwg/*.
7021 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7023 * docs/manual/advanced-autoplugging.xml:
7024 * docs/manual/appendix-checklist.xml:
7025 * docs/manual/appendix-integration.xml:
7026 * docs/manual/highlevel-components.xml:
7027 Fix playbin/decodebin examples, update docs a bit, mention bus
7028 instead of signals in various places, mention kmplayer and
7029 kaffeine since they have a working GStreamer backend in the KDE
7032 2005-06-30 Wim Taymans <wim@fluendo.com>
7035 * docs/design/draft-ghostpads.txt:
7036 * docs/design/draft-push-pull.txt:
7037 * docs/design/draft-query.txt:
7038 * docs/design/part-TODO.txt:
7039 * docs/design/part-query.txt:
7040 Added CHANGES-0.9 doc, updated status of other docs.
7045 2005-06-30 Wim Taymans <wim@fluendo.com>
7047 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7048 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7049 (gst_base_sink_change_state):
7050 * gst/base/gstbasesink.h:
7051 Some tweaks, only EOS and a buffer complete a preroll.
7053 2005-06-30 Andy Wingo <wingo@pobox.com>
7055 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7056 activate_push down to the internal pad as well.
7058 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7060 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7062 * gst/gsttaginterface.c:
7063 Some documentation fixes (#307394 and #307397).
7065 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7067 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7069 * gst/gstvalue.c: (gst_value_intersect_list):
7070 Fix memleak (#309125).
7072 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7074 * docs/manual/advanced-dataaccess.xml:
7075 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7076 * docs/manual/basics-pads.xml:
7077 Add reference for filtered caps to above chapter.
7079 2005-06-30 Wim Taymans <wim@fluendo.com>
7081 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7082 (gst_bin_change_state):
7084 Lame attempt at making the state change function a bit
7087 2005-06-30 Wim Taymans <wim@fluendo.com>
7089 * docs/design/part-clocks.txt:
7090 * docs/design/part-element-sink.txt:
7091 * docs/design/part-events.txt:
7092 * docs/design/part-preroll.txt:
7093 * docs/design/part-states.txt:
7094 Some more tweeks and additions to the docs.
7096 2005-06-30 Wim Taymans <wim@fluendo.com>
7098 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7099 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7100 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7101 (gst_pad_check_pull_range), (gst_pad_get_range),
7102 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7104 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7105 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7106 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7107 (gst_pad_remove_buffer_probe):
7108 Removed atomic operations, use existing LOCK.
7109 Move exception handling out of main code path.
7111 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7113 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7114 (silly_return_true_function), (gst_pad_class_init),
7115 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7116 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7117 (gst_pad_send_event):
7118 Fix accumulator, add default value by using _emitv() instead
7119 of _emit() for signal emission.
7121 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7123 * docs/manual/advanced-dataaccess.xml:
7124 * examples/manual/Makefile.am:
7126 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7129 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7131 * gst/elements/gstfilesink.c: (gst_filesink_render):
7132 Simplify code so that we don't have to handle short
7133 writes and return GST_FLOW_ERROR if an error occured.
7135 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7137 * docs/gst/gstreamer-docs.sgml:
7140 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7142 * docs/gst/gstreamer-sections.txt:
7143 * docs/gst/tmpl/gstpad.sgml:
7144 * docs/gst/tmpl/gstprobe.sgml:
7146 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7147 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7148 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7149 (gst_pad_push_event), (gst_pad_send_event):
7151 * gst/gstutils.c: (gst_pad_add_data_probe),
7152 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7153 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7154 (gst_pad_remove_buffer_probe):
7156 Remove old probes, add new g-signal-based probes and some utility
7159 2005-06-29 Edward Hervey <edward@fluendo.com>
7161 * gst/gstelementfactory.c:
7164 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7165 the definition to the header file.
7167 2005-06-29 Andy Wingo <wingo@pobox.com>
7169 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7170 plugins from the source directory.
7172 2005-06-29 Wim Taymans <wim@fluendo.com>
7174 * docs/gst/tmpl/gstbuffer.sgml:
7175 * docs/gst/tmpl/gstclock.sgml:
7176 Some fixings for blantently wrong text.
7178 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7180 * check/Makefile.am:
7181 * gst/gst.c: (add_path_func), (init_pre):
7182 * gst/gstregistry.c: (gst_registry_add_path):
7183 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7184 only scan the GST_PLUGIN_PATH locations, and not add
7187 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7189 * docs/gst/gstreamer-sections.txt:
7190 * docs/gst/tmpl/gstbasesrc.sgml:
7197 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7199 * docs/manual/advanced-autoplugging.xml:
7200 Fix autoplugging example.
7202 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7204 * docs/manual/advanced-autoplugging.xml:
7205 * docs/manual/mime-world.fig:
7206 Try to get autoplugging working, fix type detection. Fix text
7207 in hello-world image.
7209 2005-06-29 Wim Taymans <wim@fluendo.com>
7211 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7212 (gst_base_sink_change_state):
7216 map SIGNAL and BROADCAST to the right function.
7219 Remove redundant braces.
7221 * gst/gstpad.c: (gst_pad_set_caps):
7222 Don't call setcaps function when reseting caps to NULL.
7224 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7225 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7226 (gst_system_clock_id_unschedule):
7227 Use BROADCAST as this is what we do.
7229 2005-06-29 Wim Taymans <wim@fluendo.com>
7231 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7232 We are actually prerolling before commiting the state
7235 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7237 * docs/manual/advanced-clocks.xml:
7238 * docs/manual/advanced-interfaces.xml:
7239 * docs/manual/advanced-metadata.xml:
7240 * docs/manual/advanced-position.xml:
7241 * docs/manual/advanced-schedulers.xml:
7242 * docs/manual/advanced-threads.xml:
7243 * docs/manual/appendix-porting.xml:
7244 * docs/manual/basics-bins.xml:
7245 * docs/manual/basics-bus.xml:
7246 * docs/manual/basics-elements.xml:
7247 * docs/manual/basics-helloworld.xml:
7248 * docs/manual/basics-pads.xml:
7249 * docs/manual/highlevel-components.xml:
7250 * docs/manual/manual.xml:
7251 * docs/manual/thread.fig:
7252 Update (until threads/scheduling) Application Development Manual;
7253 remove GstThread, add GstBus, add simple porting checklist, add
7254 documentation for tag writing, clocks, make all examples until this
7255 part compile and run.
7256 * examples/manual/Makefile.am:
7257 Update from changes to Application Development Manual; add bus
7258 example, remove thread example.
7260 2005-06-28 Wim Taymans <wim@fluendo.com>
7262 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7263 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7264 (gst_bus_source_dispatch):
7265 Add debugging messages.
7266 Make internal methods static.
7267 Handle the case where the bus is flushed in the handler.
7269 * gst/gstelement.c: (gst_element_get_bus):
7270 Fix refcount in _get_bus();
7272 * gst/gstpipeline.c: (gst_pipeline_change_state),
7273 (gst_pipeline_get_clock_func):
7274 Clock refcounting fixes.
7275 Handle the case where preroll timed out more gracefully.
7277 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7278 Clean up the internal thread in dispose. This is needed
7279 for subclasses that actually get disposed.
7281 * gst/schedulers/threadscheduler.c:
7282 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7283 (gst_thread_scheduler_dispose):
7284 Free thread pool in dispose.
7286 2005-06-28 Andy Wingo <wingo@pobox.com>
7288 * tests/network-clock-utils.scm (debug, print-event): New utils.
7290 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7291 (*packet-loss*): Unified loss probability.
7292 (network-time): Report out-of-band events.
7294 * tests/plot-data: Add support for out-of-band events. Hack it
7295 into this script instead of passing it down the pipe; should fix
7298 2005-06-28 Wim Taymans <wim@fluendo.com>
7300 * docs/gst/gstreamer.types:
7301 * docs/gst/tmpl/gstbasesrc.sgml:
7302 * docs/gst/tmpl/gstpad.sgml:
7305 2005-06-28 Wim Taymans <wim@fluendo.com>
7307 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7308 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7309 (gst_proxy_pad_do_fixatecaps):
7310 Correctly proxy the check_pull_range function.
7312 2005-06-28 Andy Wingo <wingo@pobox.com>
7314 * tests/network-clock.scm: Removed need for slib.
7316 2005-06-28 Wim Taymans <wim@fluendo.com>
7318 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7319 (gst_basesink_preroll_queue_flush):
7320 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7321 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7322 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7323 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7324 (gst_proxy_pad_set_property):
7327 * gst/gstqueue.c: (gst_queue_init):
7328 The deprecated pad loop function is removed now.
7330 2005-06-28 Andy Wingo <wingo@pobox.com>
7332 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7333 New parameters, simulate network packet loss.
7335 * tests/network-clock-utils.scm: Initialize the RNG.
7337 2005-06-28 Wim Taymans <wim@fluendo.com>
7339 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7340 (gst_basesink_event), (gst_basesink_deactivate):
7341 Flushing the preroll queue always needs to unlock the waiters.
7343 2005-06-28 Edward Hervey <edward@fluendo.com>
7345 * gst/gstpipeline.c: (gst_pipeline_send_event):
7346 Wheen a seek was successful on a pipeline, set the stream_time to the
7347 seek offset in order to have a synchronized stream_time.
7349 2005-06-28 Wim Taymans <wim@fluendo.com>
7351 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7352 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7353 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7354 (gst_proxy_pad_do_fixatecaps):
7355 Call wrapper function instead of just calling the function
7356 pointers. This takes care of any locking and whatmore.
7358 2005-06-28 Wim Taymans <wim@fluendo.com>
7360 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7361 (gst_pad_pull_range):
7363 CONNECTED -> LINKED.
7365 2005-06-28 Andy Wingo <wingo@pobox.com>
7367 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7368 source-munging commit!!!
7370 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7371 (gst_object_sink): Take gpointer arguments, not GstObject --
7372 avoids casts. Like GLib.
7374 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7377 2005-06-27 Andy Wingo <wingo@pobox.com>
7379 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7382 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7383 returns a sorted copy of the trace list.
7384 (gst_alloc_trace_print_live): New API, only prints traces with
7385 live objects. Sort the list.
7386 (gst_alloc_trace_print_all): Sort the list.
7387 (gst_alloc_trace_print): Align columns.
7389 * gst/elements/gstttypefindelement.c:
7390 * gst/elements/gsttee.c:
7391 * gst/base/gstbasesrc.c:
7392 * gst/base/gstbasesink.c:
7393 * gst/base/gstbasetransform.c:
7394 * gst/gstqueue.c: Adapt for pad activation changes.
7396 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7398 (gst_pipeline_dispose): Drop ref on sched.
7400 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7401 (gst_pad_activate_default): Push mode by default.
7402 (pre_activate_switch, post_activate_switch): New stubs, things to
7403 do before and after switching activation modes on pads.
7404 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7405 the pad's activate function to choose which mode to activate.
7406 Shortcut on deactivation and call the right function directly.
7407 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7409 (gst_pad_activate_push): New API, same for push mode.
7410 (gst_pad_set_activate_function)
7411 (gst_pad_set_activatepull_function)
7412 (gst_pad_set_activatepush_function): Setters for new API.
7414 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7415 Trace all miniobjects.
7416 (gst_mini_object_make_writable): Unref the arg if we copy, like
7417 gst_caps_make_writable.
7419 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7421 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7422 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7423 Adapt for new pad API.
7425 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7428 * gst/gstelement.c (gst_element_iterate_src_pads)
7429 (gst_element_iterate_sink_pads): New API functions.
7431 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7432 should fold into gstiterator.c in some form.
7433 (gst_element_pads_activate): Simplified via use of fold and
7434 delegation of decisions to gstpad->activate.
7436 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7439 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7440 class once in init, like gstmessage. Didn't run into this issue
7441 but it seems correct. Don't initialize a trace, gstminiobject does
7444 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7445 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7447 (assert_live_count): New util function, uses alloc traces to check
7450 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7451 To be modified when unlink drops the internal pad.
7453 2005-06-27 Wim Taymans <wim@fluendo.com>
7455 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7456 (gst_bin_change_state):
7457 Cleanup the get_state() function a little, make sure it
7458 iterates the same set of elements.
7459 Added stub iterate_state_order().
7461 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7463 * docs/gst/gstreamer-docs.sgml:
7464 * docs/gst/gstreamer-sections.txt:
7465 * docs/gst/gstreamer.types:
7466 * docs/gst/tmpl/gstbasesink.sgml:
7467 * docs/gst/tmpl/gstbasesrc.sgml:
7468 * docs/gst/tmpl/gstbasetransform.sgml:
7469 * docs/gst/tmpl/gstelement.sgml:
7470 * docs/gst/tmpl/gstiterator.sgml:
7471 * gst/base/gstbasesrc.c:
7472 * gst/base/gstbasesrc.h:
7473 * gst/base/gstbasetransform.h:
7475 * gst/gstiterator.h:
7476 adding basetransform and iterator docs
7478 2005-06-27 Andy Wingo <wingo@pobox.com>
7480 * docs/design/part-activation.txt: Notes on how activation should
7481 work -- not quite implemented yet.
7483 2005-06-25 Wim Taymans <wim@fluendo.com>
7485 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7486 At least get the chain function correct, needs more
7489 2005-06-25 Wim Taymans <wim@fluendo.com>
7491 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7492 (gst_basesink_handle_object), (gst_basesink_event),
7493 (gst_basesink_do_sync), (gst_basesink_handle_event),
7494 (gst_basesink_change_state):
7496 Right, two problems here: ghostpads don't take locks and
7497 glib _rec_mutex_lock_full() with depth==0 still locks.
7498 Catch illegal locking and g_warn them.
7500 2005-06-25 Wim Taymans <wim@fluendo.com>
7502 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7503 Have to check for completion now...
7505 2005-06-25 Wim Taymans <wim@fluendo.com>
7507 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7508 (gst_basesink_handle_object), (gst_basesink_event),
7509 (gst_basesink_do_sync), (gst_basesink_handle_event),
7510 (gst_basesink_change_state):
7512 Unlock STREAM_LOCK whatever the recursion was.
7514 2005-06-25 Wim Taymans <wim@fluendo.com>
7516 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7517 (gst_basesink_preroll_queue_empty),
7518 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7519 (gst_basesink_event), (gst_basesink_do_sync),
7520 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7521 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7522 (gst_basesink_change_state):
7523 Reworked the base sink, handle event and buffer serialisation
7524 correctly and removed possible deadlock.
7525 Handle EOS correctly.
7527 2005-06-25 Wim Taymans <wim@fluendo.com>
7529 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7530 (gst_pipeline_change_state):
7531 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7532 Allow elements to post EOS in the state change function.
7533 Fix up -launch, make it exit the poll loop when the
7534 pipeline actually changed state.
7535 Fix up warning parsing in -launch.
7537 2005-06-25 Wim Taymans <wim@fluendo.com>
7539 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7540 (gst_tee_sink_activate):
7541 Core takes STREAM_LOCK for us now.
7543 2005-06-25 Wim Taymans <wim@fluendo.com>
7545 * gst/gstelement.c: (gst_element_get_state_func),
7546 (gst_element_set_state):
7548 * gst/gstmessage.c: (gst_message_parse_error),
7549 (gst_message_parse_warning):
7550 Keep track of current target state while performing a state
7551 change so that subclasses can do something interesting.
7552 Fix parsing of warning/error messages when GError is NULL.
7554 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7556 * docs/gst/Makefile.am:
7557 * docs/gst/gstreamer-docs.sgml:
7558 * docs/gst/gstreamer-sections.txt:
7559 * docs/gst/gstreamer.types:
7560 * docs/gst/tmpl/gstbasesink.sgml:
7561 * docs/gst/tmpl/gstbasesrc.sgml:
7562 * docs/gst/tmpl/gstbin.sgml:
7563 * docs/gst/tmpl/gstcompat.sgml:
7564 * docs/gst/tmpl/gstfakesink.sgml:
7565 * docs/gst/tmpl/gstfakesrc.sgml:
7566 * docs/gst/tmpl/gstfilesink.sgml:
7567 * docs/gst/tmpl/gstfilesrc.sgml:
7568 * docs/gst/tmpl/gstindex.sgml:
7569 * docs/manual/appendix-quotes.xml:
7570 * gst/base/gstbasesrc.h:
7571 * gst/elements/gstfakesrc.h:
7573 start pulling in base classes and elements in our docs
7575 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7577 * docs/gst/Makefile.am:
7578 * docs/libs/Makefile.am:
7579 fixed make distcheck with gtk-doc 1.3
7581 2005-06-23 Wim Taymans <wim@fluendo.com>
7583 * gst/gstelement.c: (gst_element_get_state_func),
7584 (gst_element_set_state), (gst_element_change_state):
7585 When the state did not change, also report NO_PREROLL
7588 2005-06-23 Wim Taymans <wim@fluendo.com>
7590 * gst/gstpad.c: (gst_pad_event_default):
7591 * gst/gstqueue.c: (gst_queue_loop):
7592 No unsafe task pausing please.
7594 2005-06-23 Wim Taymans <wim@fluendo.com>
7596 * gst/schedulers/threadscheduler.c:
7597 (gst_thread_scheduler_task_start),
7598 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7599 Ref the task before pushing it on the threadpool. This
7600 makes sure that we have a ref when the threadfunction is
7603 2005-06-23 Andy Wingo <wingo@pobox.com>
7605 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7606 offset is greater than the file's size.
7608 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7609 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7610 * gst/gstobject.c (gst_object_class_init): Make the class lock
7611 recursive. Wim won't let me drop deep_notify. Decodebin works
7614 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7615 internal pad, and hacks accordingly. Doesn't do it on the target
7616 pad because we change its caps. Probably catches all cases of
7618 (gst_ghost_pad_set_property): Connect to notify::caps as
7621 * tests/network-clock.scm (plot-simulation): Pipe data to the
7622 elite python skript.
7624 * tests/network-clock-utils.scm (define-parameter): New macro,
7625 defines a parameter that can be set via the command line.
7626 (set-parameter!, parse-parameter-arguments): Command line args
7629 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7632 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7634 * gst/elements/gsttypefindelement.c:
7635 (gst_type_find_element_handle_event):
7636 Don't restart typefinding on a discont.
7637 * gst/gstelement.c: (gst_element_set_state):
7639 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7640 Allow changing mode of an active pad.
7642 * gst/registries/gstlibxmlregistry.c: (load_feature):
7643 Don't cast a static pad template to a normal pad template.
7645 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7647 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7648 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7649 remove gst_strtoll completely, since it didn't actually do
7650 anything more than what g_ascii_strtoull already does.
7651 check for range errors when deserializing
7652 do a cast for the unsigned cases; but further fixing needs
7653 a decision on what the interpretation of "(int)" and
7654 deserialization should be for values that fall outside the
7655 type's boundaries (ie, refuse, or interpret as casting)
7657 2005-06-23 Wim Taymans <wim@fluendo.com>
7659 * check/Makefile.am:
7660 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7661 * docs/design/part-live-source.txt:
7662 * docs/design/part-states.txt:
7663 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7664 (gst_basesrc_set_live), (gst_basesrc_is_live),
7665 (gst_basesrc_get_range), (gst_basesrc_activate),
7666 (gst_basesrc_change_state):
7667 * gst/base/gstbasesrc.h:
7668 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7669 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7670 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7671 * gst/gstelement.c: (gst_element_get_state_func),
7672 (gst_element_set_state):
7675 * tools/gst-launch.c: (event_loop), (main):
7676 Added support for live sources and other elements that
7678 Updated design docs, added live-source design doc.
7679 Implemented live source functionality in basesrc
7680 Fix error condition in _bin_get_state()
7681 Implement live source handling in -launch.
7682 Added check for live sources.
7683 Fixed case in GstBin where elements were changed state
7687 2005-06-23 Andy Wingo <wingo@pobox.com>
7689 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7692 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7693 gst_caps_replace takes care of this for us.
7695 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7696 gst_pad_set_caps on the target, not just its setcaps() function.
7698 * tests/network-clock.scm:
7699 * tests/network-clock-utils.scm: A network clock simulator.
7700 Something of an algorithmic testbed before doing something in C.
7702 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7704 * check/Makefile.am:
7705 * check/gst/capslist.h:
7706 copy over from 0.8, and add two with bitmasks specified with
7708 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7709 add test to parse everything from capslist.h
7710 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7712 add test for structure deserialization
7713 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7714 add tests for deserialization of strings to int types
7715 * gst/gststructure.c: (gst_structure_nth_field_name):
7716 * gst/gststructure.h:
7717 add a way to get the name of a field referenced by index
7718 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7719 instead of checking if the resulting long long lies between
7720 min and max, we check if the long long would fit into
7721 a number of bytes for the final type.
7722 This fixes cases where a string represents 2^32 - 1, which
7723 when cast to int would be the (valid) -1, but is bigger than
7726 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7728 * gst/parse/grammar.y:
7729 add a log line for type deserialization
7731 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7733 * check/gst/gstvalue.c: (START_TEST):
7734 * gst/gstvalue.c: (gst_value_deserialize):
7735 return long long, not int, so gint64 deserialization actually
7736 works. Is there any flag that makes the compiler check this ?
7739 2005-06-22 Wim Taymans <wim@fluendo.com>
7742 Added convenience macros for setting buffers in GValue.
7744 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7746 * check/gst/.cvsignore:
7747 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7748 add a test deserializing int64, and comment part out because
7751 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7753 * check/Makefile.am:
7754 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7755 * testsuite/Makefile.am:
7756 * testsuite/caps/Makefile.am:
7757 * testsuite/caps/value_serialize.c:
7758 * testsuite/test_gst_init.c:
7759 move a value_serialize test over
7761 2005-06-20 Wim Taymans <wim@fluendo.com>
7766 * gst/gstvalue.c: (gst_value_compare_buffer),
7767 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7768 (gst_value_compare_flags), (gst_value_serialize_flags),
7769 (gst_value_deserialize_flags), (_gst_value_initialize):
7770 Fix serialisation of buffers, they are not boxed types anymore
7772 2005-06-20 Wim Taymans <wim@fluendo.com>
7774 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7775 Testcase to show error in buffer-on-caps serialisation.
7777 2005-06-20 Andy Wingo <wingo@pobox.com>
7779 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7780 will be adding to later.
7782 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7783 if its socks fill with rocks.
7784 (gst_system_clock_obtain): Set the name on object construction.
7785 Avoid double-checked locking.
7787 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7789 * gst/gsturi.c: (gst_element_make_from_uri):
7790 Fix potential endless loop.
7792 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7794 * check/Makefile.am:
7796 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7798 move over from testsuite dir and clean up
7801 * testsuite/Makefile.am:
7802 * testsuite/tags/.cvsignore:
7803 * testsuite/tags/Makefile.am:
7804 * testsuite/tags/merge.c:
7805 remove testsuite/tags
7807 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7809 * docs/gst/gstreamer-sections.txt:
7810 * docs/gst/tmpl/gstenumtypes.sgml:
7811 * win32/gstenumtypes.c:
7812 clean up documentation build a little
7814 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7817 add macros for checking refcounts on objects and caps
7818 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7819 add some more unit tests
7820 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7821 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7822 fix leaked refcounts (I hope :)) so unittest works
7826 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7828 * configure.ac: back to HEAD
7830 === release 0.9.1 ===
7832 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7838 2005-06-17 Andy Wingo <wingo@pobox.com>
7840 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7841 assert; it's always possible that the pad gets deactivated in
7842 between the checks in gstpad.c and the implementation. Rely on
7843 finish_preroll() to return a FLUSHING or similar instead of on the
7846 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7847 clock and post an EOS message if we come out of finish_preroll in
7850 2005-06-16 David Schleef <ds@schleef.org>
7852 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7853 (gst_capsfilter_set_property): Allow NULL as possible value
7854 for filter_caps property, indicating GST_CAPS_ANY.
7856 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7858 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7860 * gst/schedulers/Makefile.am:
7862 * gstreamer.spec.in:
7865 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7867 * gstreamer.spec.in:
7870 2005-06-08 Andy Wingo <wingo@pobox.com>
7872 * gst/gstutils.c: RPAD fixes all around.
7873 (gst_element_link_pads): Refcounting fixes.
7875 * tools/gst-inspect.c:
7876 * tools/gst-xmlinspect.c:
7878 * gst/base/gsttypefindhelper.c:
7879 * gst/base/gstbasesink.c:
7880 * gst/gstqueue.c: RPAD fixes.
7882 * gst/gstghostpad.h:
7883 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7884 pads. The tricky thing is they provide both source and sink
7885 interfaces, since they proxy the internal pad for the external
7886 pad, and vice versa. Implement with lower-level ProxyPad objects,
7887 with the interior proxy pad as a child of the exterior ghost pad.
7888 Should write a doc on this.
7890 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7891 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7894 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7895 pads are real pads. No ghost pads in this file. Not documenting
7896 the myriad s/RPAD/PAD/ and REALIZE fixes.
7897 (gst_pad_class_init): Add properties for "direction" and
7898 "template". Both are construct-only, so they can't change during
7899 the life of the pad. Fixes properly deriving from GstPad.
7900 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7901 derived objects, just set properties when creating the objects via
7903 (gst_pad_get_parent): Implement as a function, return NULL if the
7904 parent is not an element.
7905 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7906 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7908 * gst/gstobject.c (gst_object_class_init): Make name a construct
7909 property. Don't set it in the object init.
7911 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7912 with UNKNOWN direction.
7913 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7914 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7915 (gst_element_remove_pad): Remove ghost-pad special cases.
7916 (gst_element_pads_activate): Remove rpad cruft.
7918 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7919 catch the pad's-parent-not-an-element case.
7921 * gst/gst.h: Include gstghostpad.h.
7923 * gst/gst.c (init_post): No more real, ghost pads.
7925 * gst/Makefile.am: Add gstghostpad.[ch].
7927 * check/Makefile.am:
7928 * check/gst/gstbin.c:
7929 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7930 into a bin creates ghost pads, and that the refcounts are right.
7931 Partly moved from gstbin.c.
7933 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7935 * check/gst-libs/.cvsignore:
7936 * check/gst/.cvsignore:
7937 * check/pipelines/.cvsignore:
7939 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7940 (START_TEST), (cleanup_suite), (main):
7941 add some tests related to cleanup after running pipelines
7943 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7945 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7946 add a testsuite for GstBuffer
7948 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7950 * gst/gstminiobject.h:
7951 add defines for accessing the refcount
7953 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7955 * Makefile.am: added support for html unit test coverage reports
7957 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7959 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7960 Free existing caps if the capsfilter changes. Add a FIXME about
7961 setting those caps on the pads.
7963 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7964 Before adding a ghost pad to a parent bin, check that there isn't
7965 already one for the element on the bin. Prevents infinite recursion
7966 when using decodebin in parse pipelines. Andy says he'll rewrite the
7967 way this works anyway, so ignore the hack.
7969 2005-06-02 Andy Wingo <wingo@pobox.com>
7971 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7972 file size, pass it on to the type find helper.
7974 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7975 segment_start and segment_end properly according to the seek
7976 method. Segment_end is still a bit flaky because offset can be
7977 negative for CUR and END cases, but it takes -1 as an "unset"
7980 2005-06-02 Wim Taymans <wim@fluendo.com>
7982 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7983 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7984 (gst_basesink_activate):
7985 * gst/base/gstbasesink.h:
7986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7987 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7988 (gst_pad_query), (gst_pad_start_task):
7990 * gst/gstqueue.c: (gst_queue_bufferalloc),
7991 (gst_queue_handle_sink_event), (gst_queue_chain):
7992 Bufferalloc: return GstFlowReturn to more accuratly report
7993 why allocation failed.
7995 2005-06-02 Wim Taymans <wim@fluendo.com>
7997 * gst/gstpipeline.c: (gst_pipeline_send_event):
7998 Take snapshot of state without blocking.
8000 2005-06-02 Wim Taymans <wim@fluendo.com>
8002 * docs/design/part-TODO.txt:
8003 * docs/design/part-caps.txt:
8004 * docs/design/part-clocks.txt:
8005 * docs/design/part-negotiation.txt:
8006 * docs/design/part-preroll.txt:
8009 2005-05-30 Wim Taymans <wim@fluendo.com>
8011 * gst/elements/gstidentity.c: (gst_identity_event),
8012 (gst_identity_transform), (gst_identity_get_property):
8013 Protect last_message property as it is accessed from
8016 2005-05-30 Wim Taymans <wim@fluendo.com>
8018 * gst/gstelement.c: (gst_element_init),
8019 (gst_element_pads_activate), (gst_element_change_state):
8020 Slicker pad activation code.
8022 2005-05-30 Wim Taymans <wim@fluendo.com>
8026 * gst/gstelementfactory.h:
8028 Move elementfactory methods to separate .h file.
8030 2005-05-30 Wim Taymans <wim@fluendo.com>
8032 * docs/design/part-overview.txt:
8033 * gst/gstsystemclock.h:
8034 Small typo fixes, doc updates.
8036 2005-05-30 Wim Taymans <wim@fluendo.com>
8038 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8039 (init_popt_callback):
8040 Remove cpu-opt flag.
8042 2005-05-30 Wim Taymans <wim@fluendo.com>
8044 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8045 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8047 Avoid typechecking in places where not needed.
8048 Added accessor for malloc_data.
8050 2005-05-30 Wim Taymans <wim@fluendo.com>
8052 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8053 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8054 (gst_pad_configure_sink), (gst_pad_configure_src),
8055 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8056 (gst_pad_start_task):
8057 Propagate errors from _set_caps() in configure_src/sink
8058 functions instead of returning TRUE.
8059 FLUSH events can travel up and downstream
8062 2005-05-30 Wim Taymans <wim@fluendo.com>
8064 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8065 (gst_basesink_activate):
8066 Handle EOS in preroll.
8068 2005-05-30 Wim Taymans <wim@fluendo.com>
8070 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8071 (gst_queue_loop), (gst_queue_handle_src_event):
8072 Remove old pieces of code
8073 Flushing the queue in an upstream event is a very bad idea.
8075 2005-05-26 Andy Wingo <wingo@pobox.com>
8077 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8078 gst_value_set_mini_object so as to add a ref on the object (which
8079 will be removed when the value is unset).
8081 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8082 arg type in ::handoff.
8084 * gst/gstelement.c (gst_element_change_state): Also deactivate
8085 pads in READY->NULL, just in case the element didn't make it to
8086 PAUSED. Wingo tested, Wim approved.
8088 2005-05-26 Wim Taymans <wim@fluendo.com>
8090 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8091 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8092 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8093 A flushing pad cannot be used to alloc_buffer from.
8095 2005-05-26 Wim Taymans <wim@fluendo.com>
8097 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8098 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8099 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8100 (gst_bus_create_watch), (gst_bus_add_watch_full):
8102 Implement a real GSource and use g_main_context_wakeup() to
8103 signal new messages instead of the socketpair.
8105 2005-05-25 Wim Taymans <wim@fluendo.com>
8107 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8108 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8109 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8110 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8111 (gst_pad_send_event), (gst_pad_start_task):
8112 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8113 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8114 (gst_queue_sink_activate), (gst_queue_src_activate),
8115 (gst_queue_change_state):
8117 Fix state changes for non sinks. We now change sinks, then elements
8118 with unconnected srcpads, then the rest.
8119 More efficient queue unlocking in flush and state changes.
8120 Set the pad activate mode even if it does not have an activate
8123 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8125 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8126 Don't go in pull mode for non-seekable sources.
8127 * gst/elements/gsttypefindelement.h:
8128 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8129 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8130 (free_entry), (stop_typefinding),
8131 (gst_type_find_element_handle_event), (find_peek),
8132 (gst_type_find_element_chain), (do_pull_typefind),
8133 (gst_type_find_element_change_state):
8134 Allow typefinding (w/o seeking) in push-mode, simplified version
8136 * gst/gstutils.c: (gst_buffer_join):
8138 gst_buffer_join() from 0.8.
8140 2005-05-25 Wim Taymans <wim@fluendo.com>
8142 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8143 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8144 (gst_pad_send_event), (gst_pad_start_task):
8145 Disable attempt at mode switching until it is figured out.
8147 2005-05-25 Wim Taymans <wim@fluendo.com>
8149 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8150 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8151 (gst_basesink_finish_preroll), (gst_basesink_chain),
8152 (gst_basesink_loop), (gst_basesink_activate),
8153 (gst_basesink_change_state):
8154 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8155 (gst_basesrc_get_range), (gst_basesrc_loop),
8156 (gst_basesrc_activate):
8157 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8158 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8159 (gst_real_pad_init), (gst_real_pad_set_property),
8160 (gst_real_pad_get_property), (gst_pad_set_active),
8161 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8162 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8163 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8164 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8165 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8166 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8167 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8168 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8169 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8170 (gst_pad_stop_task):
8172 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8173 (gst_queue_loop), (gst_queue_src_activate):
8174 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8175 (gst_task_get_state):
8177 * gst/schedulers/threadscheduler.c:
8178 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8179 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8181 Remove ACTIVE pad flag, use FLUSHING everywhere
8182 Added _pad_chain(), _pad_get_range() to call chain/getrange
8184 Add locks around IS_FLUSHING when reading.
8185 Take STREAM lock in chain(), get_range() functions so plugins
8186 don't need to take it anymore.
8190 2005-05-25 Wim Taymans <wim@fluendo.com>
8192 * tools/gst-launch.c: (event_loop):
8193 Unref message after using its contents instead of
8196 2005-05-24 Wim Taymans <wim@fluendo.com>
8198 * docs/design/draft-ghostpads.txt:
8199 * docs/design/draft-push-pull.txt:
8200 * docs/design/draft-query.txt:
8201 * docs/design/part-overview.txt:
8202 Docs updates, added general overview doc.
8204 2005-05-21 David Schleef <ds@schleef.org>
8206 * docs/gst/tmpl/old/GstBin.sgml:
8207 * docs/gst/tmpl/old/GstBuffer.sgml:
8208 * docs/gst/tmpl/old/GstCaps.sgml:
8209 * docs/gst/tmpl/old/GstClock.sgml:
8210 * docs/gst/tmpl/old/GstCompat.sgml:
8211 * docs/gst/tmpl/old/GstData.sgml:
8212 * docs/gst/tmpl/old/GstElement.sgml:
8213 * docs/gst/tmpl/old/GstEvent.sgml:
8214 * docs/gst/tmpl/old/GstIndex.sgml:
8215 * docs/gst/tmpl/old/GstStructure.sgml:
8216 * docs/gst/tmpl/old/GstTag.sgml:
8217 * docs/gst/tmpl/old/cothreads.sgml:
8218 * docs/gst/tmpl/old/cothreads_compat.sgml:
8219 * docs/gst/tmpl/old/gettext.sgml:
8220 * docs/gst/tmpl/old/gobject2gtk.sgml:
8221 * docs/gst/tmpl/old/grammar.tab.sgml:
8222 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8223 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8224 * docs/gst/tmpl/old/gst_private.sgml:
8225 * docs/gst/tmpl/old/gstaggregator.sgml:
8226 * docs/gst/tmpl/old/gstarch.sgml:
8227 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8228 * docs/gst/tmpl/old/gstbufferstore.sgml:
8229 * docs/gst/tmpl/old/gstdata_private.sgml:
8230 * docs/gst/tmpl/old/gstdisksink.sgml:
8231 * docs/gst/tmpl/old/gstdisksrc.sgml:
8232 * docs/gst/tmpl/old/gstelementfactory.sgml:
8233 * docs/gst/tmpl/old/gstextratypes.sgml:
8234 * docs/gst/tmpl/old/gstfakesink.sgml:
8235 * docs/gst/tmpl/old/gstfakesrc.sgml:
8236 * docs/gst/tmpl/old/gstfdsink.sgml:
8237 * docs/gst/tmpl/old/gstfdsrc.sgml:
8238 * docs/gst/tmpl/old/gstfilesink.sgml:
8239 * docs/gst/tmpl/old/gstfilesrc.sgml:
8240 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8241 * docs/gst/tmpl/old/gstidentity.sgml:
8242 * docs/gst/tmpl/old/gstindexfactory.sgml:
8243 * docs/gst/tmpl/old/gstmarshal.sgml:
8244 * docs/gst/tmpl/old/gstmd5sink.sgml:
8245 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8246 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8247 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8248 * docs/gst/tmpl/old/gstpipefilter.sgml:
8249 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8250 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8251 * docs/gst/tmpl/old/gstshaper.sgml:
8252 * docs/gst/tmpl/old/gstspider.sgml:
8253 * docs/gst/tmpl/old/gstspideridentity.sgml:
8254 * docs/gst/tmpl/old/gststatistics.sgml:
8255 * docs/gst/tmpl/old/gsttee.sgml:
8256 * docs/gst/tmpl/old/gsttimecache.sgml:
8257 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8258 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8259 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8260 * docs/gst/tmpl/old/types.sgml:
8261 I didn't intend to add these or check them in.
8263 2005-05-19 David Schleef <ds@schleef.org>
8265 * configure.ac: Use -no-common everywhere. In a sane world, it
8266 would be the default in libtool, because without it, you can't
8267 build DLLs on Windows.
8268 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8269 * docs/gst/gstreamer-sections.txt:
8270 * docs/gst/tmpl/gstcpu.sgml:
8271 * docs/gst/tmpl/gstdata.sgml:
8272 * docs/gst/tmpl/gstthread.sgml:
8274 2005-05-19 David Schleef <ds@schleef.org>
8276 * gst/gstminiobject.c: (gst_value_set_mini_object),
8277 (gst_value_take_mini_object), (gst_value_get_mini_object):
8278 * gst/gstminiobject.h: Add GValue set/get functions.
8280 2005-05-19 Wim Taymans <wim@fluendo.com>
8282 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8283 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8284 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8286 * gst/gstbus.c: (gst_bus_post):
8287 * gst/gstelement.c: (gst_element_get_random_pad):
8288 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8289 Make subbufer unref the parent in finalize.
8290 some more debugging info.
8293 2005-05-19 Wim Taymans <wim@fluendo.com>
8295 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8296 (gst_basesink_init), (gst_basesink_finalize),
8297 (gst_basesink_activate), (gst_basesink_change_state):
8298 Don't free preroll queue too early.
8300 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8304 Hi, I'm outdated. Please shoot me.
8306 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8308 * gst/gstpipeline.c: (gst_pipeline_send_event):
8309 Do not access variables after they have been deleted.
8311 2005-05-19 Wim Taymans <wim@fluendo.com>
8313 * tools/gst-inspect.c: (print_plugin_features):
8314 A plugin feature does unfortunatly not use the
8317 2005-05-18 Wim Taymans <wim@fluendo.com>
8319 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8320 Port _span() functions to new subbuffers.
8322 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8324 * gst/gstbin.c: (gst_bin_add_func):
8325 Fix clock settery in bins when adding kids after the clock has
8328 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8330 * gst/elements/gstidentity.c: (gst_identity_class_init):
8331 Workaround until signals support GstMiniObject.
8333 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8336 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8338 2005-05-18 Wim Taymans <wim@fluendo.com>
8340 * gst/base/Makefile.am:
8341 * gst/base/gstadapter.c: (gst_adapter_base_init),
8342 (gst_adapter_class_init), (gst_adapter_init),
8343 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8344 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8345 (gst_adapter_flush), (gst_adapter_available),
8346 (gst_adapter_available_fast):
8347 * gst/base/gstadapter.h:
8348 Ported and added adapter to the base classes.
8350 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8354 Make sure the class is reffed/unreffed once before threads can be
8355 used. Fixes #304551.
8357 2005-05-17 Wim Taymans <wim@fluendo.com>
8359 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8360 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8361 * gst/gstminiobject.c: (gst_mini_object_get_type),
8362 (gst_mini_object_free):
8363 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8364 (gst_pad_push), (gst_pad_push_event):
8365 * gst/gstqueue.c: (gst_queue_change_state):
8366 Don't queue buffers in basesink when we are flushing.
8367 Unref buffer when flushing in basesink.
8368 Flush queue when going to READY
8369 Unref buffer when _push() returns an error.
8370 Don't free MiniObject instance when refcount is incremented
8371 in _finalize() so that we can recover objects.
8373 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8375 * docs/manual/advanced-schedulers.xml:
8376 * docs/manual/appendix-checklist.xml:
8377 * docs/pwg/advanced-clock.xml:
8378 * docs/pwg/advanced-interfaces.xml:
8379 * docs/pwg/advanced-request.xml:
8380 * docs/pwg/advanced-types.xml:
8381 * docs/pwg/intro-preface.xml:
8382 * examples/plugins/example.c: (gst_example_get_type),
8383 (gst_example_class_init), (gst_example_chain),
8384 (gst_example_set_property), (gst_example_get_property),
8385 (gst_example_change_state), (plugin_init):
8386 * examples/plugins/example.h:
8389 2005-05-17 Wim Taymans <wim@fluendo.com>
8391 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8392 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8393 * gst/gstqueue.c: (gst_queue_change_state):
8394 Clear queue when going to READY.
8395 Remove IN_SETCAPS flag too.
8397 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8399 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8400 Remove implicit cast from gboolean to GstElementStateReturn;
8401 make sure we still return failure in paused => ready case if
8402 the parent class fails to change state and our own stop
8405 2005-05-17 Wim Taymans <wim@fluendo.com>
8407 * tools/gst-launch.c: (event_loop):
8408 Message was unreffed too soon.
8410 2005-05-16 Andy Wingo <wingo@pobox.com>
8412 * gst/gstbin.c (sink_iterator_filter): Err... um...
8414 * check/gst/gstbin.c (test_ghost_pads): New test for the
8415 ghosting-if-elements-not-in-same-bin behavior.
8417 2005-05-16 David Schleef <ds@schleef.org>
8419 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8420 accessing refcount directly.
8422 2005-05-15 David Schleef <ds@schleef.org>
8424 * check/Makefile.am: remove GstData checks
8425 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8426 * gst/Makefile.am: add miniobject, remove data
8427 * gst/gst.h: add miniobject, remove data
8428 * gst/gstdata.c: remove
8429 * gst/gstdata.h: remove
8430 * gst/gstdata_private.h: remove
8431 * gst/gsttypes.h: remove GstEvent and GstMessage
8432 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8433 * gst/gstmarshal.list: change BOXED -> OBJECT
8435 Implement GstMiniObject.
8436 * gst/gstminiobject.c:
8437 * gst/gstminiobject.h:
8439 Modify to be subclasses of GstMiniObject.
8440 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8441 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8442 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8443 (gst_subbuffer_get_type), (gst_subbuffer_init),
8444 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8447 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8448 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8449 (_gst_event_copy), (gst_event_new):
8451 * gst/gstmessage.c: (_gst_message_initialize),
8452 (gst_message_get_type), (gst_message_class_init),
8453 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8454 (gst_message_new), (gst_message_new_error),
8455 (gst_message_new_warning), (gst_message_new_tag),
8456 (gst_message_new_state_changed), (gst_message_new_application):
8458 * gst/gstprobe.c: (gst_probe_perform),
8459 (gst_probe_dispatcher_dispatch):
8461 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8462 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8463 (_gst_query_copy), (gst_query_new):
8465 Update elements for GstData -> GstMiniObject changes
8467 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8468 (gst_queue_chain), (gst_queue_loop):
8469 * gst/elements/gstbufferstore.c:
8470 (gst_buffer_store_add_buffer_func),
8471 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8472 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8473 (gst_fakesink_render):
8474 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8475 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8476 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8477 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8478 (gst_filesrc_create_read):
8479 * gst/elements/gstidentity.c: (gst_identity_class_init):
8480 * gst/elements/gsttypefindelement.c:
8481 (gst_type_find_element_src_event), (free_entry_buffers),
8482 (gst_type_find_element_handle_event):
8483 * libs/gst/dataprotocol/dataprotocol.c:
8484 (gst_dp_header_from_buffer):
8485 * libs/gst/dataprotocol/dataprotocol.h:
8486 * libs/gst/dataprotocol/dp-private.h:
8488 2005-05-15 David Schleef <ds@schleef.org>
8490 * gst/elements/gstelements.c: Don't include headers that were
8493 2005-05-15 David Schleef <ds@schleef.org>
8495 * gst/elements/Makefile.am: Remove some elements that don't
8496 need to be in the core (or even exist at all).
8497 * gst/elements/gstaggregator.c:
8498 * gst/elements/gstaggregator.h:
8499 * gst/elements/gstmd5sink.c:
8500 * gst/elements/gstmd5sink.h:
8501 * gst/elements/gstmultifilesrc.c:
8502 * gst/elements/gstmultifilesrc.h:
8503 * gst/elements/gstpipefilter.c:
8504 * gst/elements/gstpipefilter.h:
8505 * gst/elements/gstshaper.c:
8506 * gst/elements/gstshaper.h:
8507 * gst/elements/gststatistics.c:
8508 * gst/elements/gststatistics.h:
8509 * po/POTFILES.in: Remove above files.
8511 2005-05-14 Andy Wingo <wingo@pobox.com>
8513 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8514 so as to get the refs right.
8515 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8516 unreffing objects that don't pass the filter.
8518 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8519 gst_element_set_bus.
8520 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8521 normal cases, this will destroy the bus.
8523 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8526 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8529 2005-05-13 Andy Wingo <wingo@pobox.com>
8531 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8532 gst_pad_link, call pad_link_maybe_ghosting,
8533 (pad_link_maybe_ghosting): Links pads, making sure that the
8534 elements being linked are in the same bin.
8535 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8536 Helpers for pad_link_maybe_ghosting.
8538 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8541 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8543 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8545 * docs/design/part-element-source.txt:
8548 2005-05-12 Wim Taymans <wim@fluendo.com>
8550 * gst/base/gstbasesink.c: (gst_basesink_init),
8551 (gst_basesink_activate):
8552 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8553 (gst_basesrc_is_seekable):
8554 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8555 (bin_element_is_sink), (gst_bin_change_state):
8556 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8558 Identify sinks by their flag to avoid overly complicated
8560 Do state changes even for elements not reachable from the
8562 BaseSink is a sink now :)
8563 Some more debugging info in the basesrc.
8566 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8569 Implement _query on a bin, similar to _send_event.
8571 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8573 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8574 Discont event offset format should be GST_FORMAT_BYTES,
8575 not GST_FORMAT_TIME.
8577 2005-05-12 Wim Taymans <wim@fluendo.com>
8579 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8580 Same fix as Ronald's but without the signal.
8582 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8584 * gst/gstutils.c: (gst_element_query_position):
8585 No, an element is not a pad.
8587 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8589 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8590 (gst_bin_get_state):
8591 If a child is removed from a bin while we remove the child from
8592 the bin and while we're retrieving its state, signal this to the
8593 get_state function so we abort the wait (instead of waiting for
8594 a timeout) and can immediately re-iterate over all other elements.
8596 2005-05-12 Wim Taymans <wim@fluendo.com>
8598 * gst/base/Makefile.am:
8599 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8600 (gst_basesrc_start):
8601 * gst/base/gstbasesrc.h:
8602 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8603 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8604 (gst_pushsrc_init), (gst_pushsrc_create):
8605 * gst/base/gstpushsrc.h:
8606 Added is_seekable to BaseSrc
8607 Added simple PushSrc.
8609 2005-05-11 Wim Taymans <wim@fluendo.com>
8611 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8612 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8613 (gst_element_link_pads), (gst_element_query_position),
8614 (gst_element_query_convert), (intersect_caps_func),
8615 (gst_pad_query_position), (gst_pad_query_convert):
8616 Fix refcounting in utils function.
8617 No point in trying to activate a pad when it's added, it could
8618 be added from the state change function and then we deadlock, the
8619 element has to decide what to do.
8621 2005-05-10 Andy Wingo <wingo@pobox.com>
8623 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8624 *all* the arguments.
8626 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8627 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8628 lock (according to the docs -- if this is wrong change the docs).
8630 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8631 flush messages in the NULL state.
8633 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8634 message immediately and return.
8635 (gst_bus_set_flushing): New function. If a bus is flushing, it
8636 flushes out any queued messages and immediately unrefs new
8637 messages. This is so when an element goes to NULL, all of the
8638 unhandled messages coming from it can be freed, and their
8639 references to the element dropped. In other words: message source
8640 ref considered harmful :P
8642 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8643 we're finished with it.
8645 * gst/gstmessage.c (gst_message_new_state_changed):
8647 2005-05-10 Wim Taymans <wim@fluendo.com>
8649 * gst/gstvalue.c: (gst_value_compare_flags),
8650 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8651 (_gst_value_initialize):
8652 Added flags serialize/deserialize/compare code.
8654 2005-05-09 Andy Wingo <wingo@pobox.com>
8656 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8657 Intersect the peer's caps with our caps.
8659 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8661 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8662 * gst/elements/gsttypefindelement.c: (find_peek):
8663 Handle negative offsets better. Fixes decodebin.
8665 2005-05-09 Wim Taymans <wim@fluendo.com>
8667 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8668 (gst_base_transform_event):
8669 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8670 Implement accept_caps.
8671 Fix silly lock/unlock mismatch in base class.
8673 2005-05-09 Wim Taymans <wim@fluendo.com>
8675 * docs/design/draft-push-pull.txt:
8676 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8677 * gst/elements/gstfilesink.c: (gst_filesink_init),
8678 (gst_filesink_query):
8679 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8680 (gst_type_find_handle_src_query), (find_element_get_length):
8681 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8685 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8686 (gst_real_pad_get_caps_unlocked),
8687 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8688 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8689 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8690 (gst_real_pad_dispose), (gst_real_pad_finalize),
8691 (gst_pad_load_and_link), (gst_pad_save_thyself),
8692 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8693 (gst_pad_check_pull_range), (gst_pad_pull_range),
8694 (gst_pad_template_get_type), (gst_pad_template_class_init),
8695 (gst_pad_template_init), (gst_pad_template_dispose),
8696 (name_is_valid), (gst_static_pad_template_get),
8697 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8698 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8699 (gst_pad_get_element_private), (gst_pad_start_task),
8700 (gst_pad_pause_task), (gst_pad_stop_task),
8701 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8702 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8703 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8704 (gst_ghost_pad_new):
8706 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8707 (gst_query_new_position), (gst_query_set_position),
8708 (gst_query_parse_position), (gst_query_new_convert),
8709 (gst_query_set_convert), (gst_query_parse_convert):
8711 * gst/gstqueryutils.c:
8712 * gst/gstqueryutils.h:
8713 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8714 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8715 (gst_queue_handle_src_query):
8716 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8717 (gst_element_query_position), (gst_element_query_convert),
8718 (intersect_caps_func), (gst_pad_query_position),
8719 (gst_pad_query_convert):
8721 * tools/gst-inspect.c: (print_pad_info):
8722 * tools/gst-xmlinspect.c: (print_element_info):
8723 Remove old query functions. Ported old code.
8724 Added position/convert helper functions to gstutils.
8725 Reordered gstpad.c code, grouping relevant things.
8726 Remove gst_message_new(), always need to speficy a specific
8730 2005-05-09 Andy Wingo <wingo@pobox.com>
8732 * gst/gstiterator.h: Add some includes.
8734 * gst/gstqueryutils.h: Include more headers.
8737 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8738 some uses of gst_pad_query.
8740 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8741 NULL out parameters.
8742 (gst_query_new_position): New proc, allocates a new position
8745 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8746 gstqueryutils.c to the build.
8748 * gst/gststructure.c (gst_structure_set_valist): Implement with
8749 the generic G_VALUE_COLLECT.
8751 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8753 * gst/Makefile.am: (gst_headers):
8754 Added gstqueryutils.h to the list of headers to install, that was
8755 a 'nachty' move wingo :)
8757 2005-05-06 Andy Wingo <wingo@pobox.com>
8760 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8761 GstData, init a memchunk.
8762 (standard_definitions): Add a few query types, deprecate a few.
8763 (gst_query_get_type): New proc.
8764 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8766 (gst_query_new_application, gst_query_get_structure): New public
8769 * docs/design/draft-query.txt: Removed LINKS from the query types,
8770 because all the rest can be dispatched to other pads -- seemed
8771 ugly to have a query that couldn't be dispatched. internal_links
8772 is fine as a pad method.
8774 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8775 in gstpad.c, but maintain binary compatibility for the moment.
8776 Will fix before 0.9 is out.
8778 * gst/gstqueryutils.c:
8779 * gst/gstqueryutils.h: New files, implement 3 methods for each
8780 query type: parse_query, parse_response, and set. Probably need an
8783 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8785 * gst/elements/gstfilesink.c (gst_filesink_query2):
8786 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8787 query_types, and formats methods.
8789 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8790 (gst_pad_set_query2_function): New functions.
8791 (gst_real_pad_init): Set query2_default as the default query2
8792 function. Basically just dispatches to internally linked pads.
8796 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8797 without using the atomic operations. Only one thread can possibly
8798 be accessing the data at this point. Changed so as to avoid
8799 gst_atomic operations.
8801 2005-05-06 Wim Taymans <wim@fluendo.com>
8803 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8804 Also set caps if we use the fallback buffer alloc.
8806 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8808 * docs/gst/Makefile.am:
8809 * docs/gst/gstreamer-docs.sgml:
8810 * docs/gst/gstreamer-sections.txt:
8811 * docs/gst/tmpl/gstatomic.sgml:
8812 * docs/gst/tmpl/gstmemchunk.sgml:
8813 * testsuite/elements/struct_i386.h:
8814 * win32/GStreamer.vcproj:
8816 Purge GstAtomic stuff from docs and win32 makefiles as well
8818 2005-05-06 Wim Taymans <wim@fluendo.com>
8820 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8821 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8822 * gst/gstpad.c: (gst_pad_peer_get_caps):
8823 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8824 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8825 (gst_queue_src_activate), (gst_queue_change_state):
8827 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8828 (intersect_caps_func):
8829 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8830 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8831 Some fixes for the peer_get_caps() change.
8833 2005-05-06 Wim Taymans <wim@fluendo.com>
8835 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8836 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8837 (gst_basesink_activate):
8838 Actually do something with error codes returned from the push
8841 2005-05-06 Wim Taymans <wim@fluendo.com>
8843 * docs/design/part-element-sink.txt:
8844 * docs/design/part-element-source.txt:
8845 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8846 (gst_basesink_event), (gst_basesink_activate):
8847 * gst/base/gstbasesink.h:
8848 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8849 (gst_basesrc_activate):
8850 * gst/base/gstbasesrc.h:
8851 * gst/gstelement.c: (gst_element_pads_activate):
8852 Some more documentation.
8853 Fixed scheduling decision in _pads_activate().
8855 2005-05-05 Andy Wingo <wingo@pobox.com>
8857 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8860 2005-05-05 Wim Taymans <wim@fluendo.com>
8862 * gst/base/Makefile.am:
8863 * gst/base/gstbasesink.h:
8864 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8865 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8866 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8867 (gst_collectpads_class_init), (gst_collectpads_init),
8868 (gst_collectpads_finalize), (gst_collectpads_new),
8869 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8870 (find_pad), (gst_collectpads_remove_pad),
8871 (gst_collectpads_is_active), (gst_collectpads_collect),
8872 (gst_collectpads_collect_range), (gst_collectpads_start),
8873 (gst_collectpads_stop), (gst_collectpads_peek),
8874 (gst_collectpads_pop), (gst_collectpads_available),
8875 (gst_collectpads_read), (gst_collectpads_flush),
8876 (gst_collectpads_chain):
8877 * gst/base/gstcollectpads.h:
8878 * gst/elements/Makefile.am:
8879 * gst/elements/gstelements.c:
8880 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8881 (gst_fakesink_get_times), (gst_fakesink_event),
8882 (gst_fakesink_preroll), (gst_fakesink_render):
8883 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8884 (gst_filesink_init), (gst_filesink_set_location),
8885 (gst_filesink_open_file), (gst_filesink_close_file),
8886 (gst_filesink_pad_query), (gst_filesink_event),
8887 (gst_filesink_render), (gst_filesink_change_state):
8888 * gst/elements/gstfilesink.h:
8889 Added object to help in making collect pad based elements.
8891 Make event function in sink baseclass return gboolean.
8893 2005-05-05 Wim Taymans <wim@fluendo.com>
8895 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8896 (gst_bin_get_by_name):
8898 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8899 (gst_clock_finalize):
8900 * gst/gstdata.c: (gst_data_replace):
8902 * gst/gstelement.c: (gst_element_request_pad),
8903 (gst_element_pads_activate):
8904 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8906 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8907 (gst_pad_set_checkgetrange_function),
8908 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8909 (gst_pad_check_pull_range), (gst_pad_pull_range),
8910 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8911 (gst_pad_pause_task), (gst_pad_stop_task):
8912 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8913 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8914 Fix name lookup in GstBin.
8915 Added _data_replace() function and _buffer_replace()
8916 Use finalize method to clean up clock.
8917 Fix refcounting on request pads.
8918 Fix pad schedule mode error.
8919 Some more object refcounting debug info,
8922 2005-05-04 Andy Wingo <wingo@pobox.com>
8924 * check/Makefile.am:
8925 * docs/gst/tmpl/gstatomic.sgml:
8926 * docs/gst/tmpl/gstplugin.sgml:
8927 * gst/base/gstbasesink.c: (gst_basesink_activate):
8928 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8929 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8930 (gst_basesrc_query), (gst_basesrc_set_property),
8931 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8932 (gst_basesrc_activate):
8933 * gst/base/gstbasesrc.h:
8934 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8935 (gst_base_transform_src_activate):
8936 * gst/elements/gstelements.c:
8937 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8938 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8939 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8940 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8941 (gst_type_find_element_checkgetrange),
8942 (gst_type_find_element_activate):
8943 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8944 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8945 (gst_caps_load_thyself):
8946 * gst/gstelement.c: (gst_element_pads_activate),
8947 (gst_element_save_thyself), (gst_element_restore_thyself):
8948 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8949 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8951 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8952 (gst_xml_parse_file), (gst_xml_parse_memory),
8953 (gst_xml_get_element), (gst_xml_make_element):
8954 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8955 (_file_index_id_save_xml), (gst_file_index_commit):
8956 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8957 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8959 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8960 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8961 * tools/gst-complete.c: (main):
8962 * tools/gst-compprep.c: (main):
8963 * tools/gst-inspect.c: (print_element_properties_info):
8964 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8965 * tools/gst-xmlinspect.c: (print_element_properties):
8968 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8970 * gst/gstplugin.c: (gst_plugin_check_module),
8971 (gst_plugin_check_file), (gst_plugin_load_file):
8972 apply patch from #172526 to make register work on MacOSX
8974 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8976 * docs/gst/tmpl/gstconfig.sgml:
8977 * gst/gstconfig.h.in:
8978 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8979 * testsuite/debug/printf_extension.c: (main):
8980 Do not use GST_PTR_FORMAT on pointers to types with
8981 sizeof < sizeof(gpointer). Fixes test on 64-bit
8982 * testsuite/elements/property.h:
8983 use correct printf format
8985 2005-05-02 Wim Taymans <wim@fluendo.com>
8987 * docs/design/draft-push-pull.txt:
8988 * docs/design/draft-query.txt:
8989 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8990 (gst_basesrc_start):
8991 Added draft for new query API.
8992 Added draft for better selecting scheduling methods.
8993 Make basesrc ignore length if the subclass does not support
8996 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8999 possible fixes for automake-1.5 - _LIBADD is reserved
9001 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9003 * docs/faq/Makefile.am:
9004 * docs/manual/Makefile.am:
9006 * docs/pwg/Makefile.am:
9008 possible fixes for automake-1.5
9010 2005-04-28 Wim Taymans <wim@fluendo.com>
9012 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9013 (gst_basesink_pad_getcaps), (gst_basesink_init),
9014 (gst_basesink_do_sync):
9015 * gst/gstclock.c: (gst_clock_entry_new):
9016 * gst/gstevent.c: (gst_event_discont_get_value):
9017 * gst/gstpipeline.c: (pipeline_bus_handler),
9018 (gst_pipeline_change_state):
9019 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9020 Better debugging of clocking info.
9021 Allow NULL values when getting discont values.
9023 2005-04-27 Wim Taymans <wim@fluendo.com>
9025 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9026 * check/gst/gstpad.c: (gst_pad_suite):
9027 Increase timeout for checks.
9029 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9031 * check/Makefile.am:
9032 fix the broken rule for cleanup. Apparently this rule is
9033 only needed on FC2, so maybe this warrants further autotool
9036 2005-04-26 Wim Taymans <wim@fluendo.com>
9038 * gst/gsttrashstack.h:
9039 Ooohh. a nasty one! After having a failed pop() from the stack,
9040 it's possible that the stack is empty. In that case, don't
9041 follow the NULL pointer.
9043 2005-04-25 Wim Taymans <wim@fluendo.com>
9045 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9046 (gst_pad_set_checkgetrange_function),
9047 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9048 (gst_pad_check_pull_range), (gst_pad_pull_range),
9049 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9050 (gst_pad_pause_task), (gst_pad_stop_task):
9051 * gst/gstplugin.c: (gst_plugin_load):
9053 Remove gst_library_load as it does more harm than good with
9054 the new g_module flags.
9055 Revert bogus caps template check in pad linking, pad caps
9056 are important when linking not the template, which is more
9057 general than the current caps.
9059 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9061 * gst/autoplug/.cvsignore:
9062 * gst/autoplug/Makefile.am:
9063 * gst/autoplug/gstsearchfuncs.c:
9064 * gst/autoplug/gstsearchfuncs.h:
9065 * gst/autoplug/gstspider.c:
9066 * gst/autoplug/gstspider.h:
9067 * gst/autoplug/gstspideridentity.c:
9068 * gst/autoplug/gstspideridentity.h:
9069 * gst/autoplug/spidertest.c:
9072 2005-04-25 Wim Taymans <wim@fluendo.com>
9074 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9075 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9076 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9077 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9079 Added stubs for unimplemented functions.
9081 2005-04-24 David Schleef <ds@schleef.org>
9083 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9086 2005-04-24 David Schleef <ds@schleef.org>
9088 Convert everything from GstAtomicInt to g_atomic_int_*, and
9093 * gst/gstatomic_impl.h:
9101 * gst/gstdata_private.h:
9108 * gst/gststructure.c:
9109 * gst/gststructure.h:
9110 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9113 2005-04-24 David Schleef <ds@schleef.org>
9115 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9116 make the regressions tests work. Remove some code that is no
9118 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9119 Disable warning for pads without templates.
9121 2005-04-24 David Schleef <ds@schleef.org>
9123 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9124 functions that handle filtered links.
9125 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9127 * gst/gstutils.c: Fix/remove utility functions that handle
9130 * gst/gstvalue.c: Add serialization/deserialization of caps
9131 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9132 requires fixing so that the filter caps notation creates
9133 a capsfilter element and sets the filter_caps property. I
9134 think everyone probably wants to keep the shorthand notation.
9135 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9136 * docs/gst/tmpl/gstpad.sgml:
9138 * gst/elements/gstelements.c: Register capsfilter element.
9139 * gst/Makefile.am: fix spacing
9140 * docs/random/ds/0.9-suggested-changes: random
9142 2005-04-23 David Schleef <ds@schleef.org>
9144 * gst/elements/Makefile.am:
9145 * gst/elements/gstcapsfilter.c: New element that acts like an
9146 identity, but filters caps. Will eventually replace filtered
9147 caps in pad linking.
9148 * gst/gstutils.c: (gst_element_create_all_pads): New function
9149 to create all the ALWAYS pads that are registered with an
9150 element class. This functionality should eventually be
9151 merged in with GstElement initialization.
9153 * testsuite/trigger/README: part of trigger test code that should
9154 have been checked in a long time ago.
9156 2005-04-23 David Schleef <ds@schleef.org>
9158 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9159 needed with new versions of libtool (nobody will confirm this),
9160 and hard to carry around.
9161 * gst/autoplug/Makefile.am:
9162 * gst/base/Makefile.am:
9163 * gst/elements/Makefile.am:
9164 * gst/indexers/Makefile.am:
9165 * gst/schedulers/Makefile.am:
9166 * libs/gst/bytestream/Makefile.am:
9167 * libs/gst/control/Makefile.am:
9168 * libs/gst/dataprotocol/Makefile.am:
9169 * libs/gst/getbits/Makefile.am:
9171 2005-04-21 Wim Taymans <wim@fluendo.com>
9173 * docs/design/draft-push-pull.txt:
9174 * docs/design/part-MT-refcounting.txt:
9175 * docs/design/part-TODO.txt:
9176 * docs/design/part-caps.txt:
9177 * docs/design/part-events.txt:
9178 * docs/design/part-gstbus.txt:
9179 * docs/design/part-gstpipeline.txt:
9180 * docs/design/part-messages.txt:
9181 * docs/design/part-push-pull.txt:
9182 * docs/design/part-query.txt:
9185 2005-04-21 Wim Taymans <wim@fluendo.com>
9187 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9188 (gst_message_new), (gst_message_new_error),
9189 (gst_message_new_warning), (gst_message_new_tag),
9190 (gst_message_new_state_changed), (gst_message_new_application),
9191 (gst_message_get_structure):
9193 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9194 (gst_structure_copy_conditional):
9195 Use parent refcount in GstMessage to ensure GstStructure
9197 Cleaned up headers a bit.
9200 2005-04-20 Wim Taymans <wim@fluendo.com>
9202 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9203 (gst_basesink_pad_getcaps), (gst_basesink_init),
9204 (gst_basesink_chain_unlocked):
9205 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9206 (gst_type_find_helper):
9207 * gst/elements/gsttypefindelement.c:
9208 (gst_type_find_element_have_type), (gst_type_find_element_init),
9209 (stop_typefinding), (gst_type_find_element_handle_event),
9210 (find_suggest), (gst_type_find_element_chain),
9211 (gst_type_find_element_checkgetrange),
9212 (gst_type_find_element_getrange), (do_typefind),
9213 (gst_type_find_element_activate):
9214 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9215 (gst_buffer_default_free), (gst_buffer_default_copy),
9216 (gst_buffer_set_caps):
9217 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9219 * gst/gstmessage.c: (gst_message_new),
9220 (gst_message_new_state_changed):
9221 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9222 (gst_pad_set_checkgetrange_function),
9223 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9224 (gst_pad_set_caps), (gst_pad_check_pull_range),
9225 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9227 * gst/gsttypefind.c: (gst_type_find_register):
9228 Make gst_caps_replace() work like other _replace() functions.
9229 Use _caps_replace() where possible.
9230 Make sure _message_new() initialises its field.
9231 Add gst_static_pad_template_get_caps()
9234 2005-04-18 Andy Wingo <wingo@pobox.com>
9236 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9237 on the peer, not the pad. I think that was a typo. Pass an extra
9238 arg to see if random access is possible. Activate the pads as
9239 PULL_RANGE if possible.
9241 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9243 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9244 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9247 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9249 * docs/faq/using.xml:
9250 Add note on gstreamer-properties (#154996).
9252 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9254 * docs/random/bbb/optional-properties:
9255 Some analysis on optional properties.
9257 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9259 * docs/gst/tmpl/gstelementfactory.sgml:
9261 * gst/gstelementfactory.c: (gst_element_factory_init),
9262 (gst_element_factory_cleanup), (gst_element_register),
9263 (__gst_element_factory_add_static_pad_template),
9264 (gst_element_factory_get_static_pad_templates),
9265 (gst_element_factory_can_src_caps),
9266 (gst_element_factory_can_sink_caps):
9267 * gst/registries/Makefile.am:
9268 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9269 (gst_xml_registry_class_init), (gst_xml_registry_init),
9270 (gst_xml_registry_new), (gst_xml_registry_set_property),
9271 (gst_xml_registry_get_property), (get_time), (make_dir),
9272 (gst_xml_registry_get_perms_func),
9273 (plugin_times_older_than_recurse), (plugin_times_older_than),
9274 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9275 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9276 (add_to_char_array), (read_string), (read_uint), (read_enum),
9277 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9278 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9279 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9280 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9281 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9282 (gst_xml_registry_rebuild):
9283 * gst/registries/gstlibxmlregistry.h:
9284 * tools/gst-compprep.c: (main):
9285 * tools/gst-inspect.c: (print_pad_templates_info):
9286 * tools/gst-xmlinspect.c: (print_element_info):
9287 Use libxml2 for registry parsing, use staticpadtemplates in
9288 elementfactories. Makes gst_init() +/- 10x faster.
9290 2005-04-12 Wim Taymans <wim@fluendo.com>
9292 * gst/base/Makefile.am:
9293 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9294 (gst_basesink_pad_getcaps), (gst_basesink_init),
9295 (gst_basesink_event), (gst_basesink_change_state):
9296 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9297 (gst_basesrc_init), (gst_basesrc_query),
9298 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9299 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9300 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9301 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9302 (gst_basesrc_stop), (gst_basesrc_activate),
9303 (gst_basesrc_change_state):
9304 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9305 (helper_find_suggest), (gst_type_find_helper):
9306 * gst/base/gsttypefindhelper.h:
9307 * gst/elements/Makefile.am:
9308 * gst/elements/gstelements.c:
9309 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9310 (gst_fakesink_get_times), (gst_fakesink_event),
9311 (gst_fakesink_preroll), (gst_fakesink_render):
9312 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9313 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9314 (gst_fakesrc_get_property), (gst_fakesrc_create),
9315 (gst_fakesrc_start), (gst_fakesrc_stop):
9316 * gst/elements/gstfakesrc.h:
9317 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9318 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9319 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9320 (gst_filesrc_create_read), (gst_filesrc_create),
9321 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9322 (gst_filesrc_start):
9323 * gst/elements/gsttypefindelement.c:
9324 (gst_type_find_element_have_type), (gst_type_find_element_init),
9325 (start_typefinding), (stop_typefinding), (push_buffer_store),
9326 (gst_type_find_element_handle_event),
9327 (gst_type_find_element_chain),
9328 (gst_type_find_element_checkgetrange),
9329 (gst_type_find_element_getrange), (do_typefind),
9330 (gst_type_find_element_activate),
9331 (gst_type_find_element_change_state):
9332 * gst/elements/gsttypefindelement.h:
9333 * gst/gstpipeline.c: (pipeline_bus_handler):
9334 Added typefind helper.
9335 Small preroll fix in the base sink.
9336 Disable typefind code in basesrc.
9337 Crude port of typefindelement.
9341 2005-04-11 Wim Taymans <wim@fluendo.com>
9343 * check/gst/gstbus.c: (gstbus_suite):
9344 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9346 Fix up the timeout so that the test does not fail.
9348 2005-04-06 Wim Taymans <wim@fluendo.com>
9351 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9352 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9353 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9354 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9355 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9356 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9357 (gst_basesrc_stop), (gst_basesrc_activate),
9358 (gst_basesrc_change_state), (basesrc_find_peek),
9359 (basesrc_find_suggest), (gst_basesrc_type_find):
9360 * gst/base/gstbasesrc.h:
9361 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9362 (gst_filesrc_class_init), (gst_filesrc_init),
9363 (gst_filesrc_finalize), (gst_filesrc_set_location),
9364 (gst_filesrc_set_property), (gst_filesrc_get_property),
9365 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9366 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9367 (gst_filesrc_create_read), (gst_filesrc_create),
9368 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9369 * gst/elements/gstfilesrc.h:
9370 * gst/gstelement.c: (gst_element_get_state_func),
9371 (gst_element_lost_state), (gst_element_pads_activate):
9372 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9373 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9374 (gst_pad_pull_range):
9376 More work on the generic source base class, implement seeking,
9378 Make filesrc extend the base source class.
9379 Added gst_pad_set_checkgetrange_function to GstPad.
9381 2005-04-06 Andy Wingo <wingo@pobox.com>
9383 * pkgconfig/gstreamer-base.pc.in:
9384 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9386 * pkgconfig/Makefile.am:
9387 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9389 2005-04-04 Wim Taymans <wim@fluendo.com>
9391 * gst/base/Makefile.am:
9393 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9394 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9395 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9396 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9397 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9398 (gst_basesrc_base_init), (gst_basesrc_class_init),
9399 (gst_basesrc_init), (gst_basesrc_get_formats),
9400 (gst_basesrc_get_query_types), (gst_basesrc_query),
9401 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9402 (gst_basesrc_set_property), (gst_basesrc_get_property),
9403 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9404 (gst_basesrc_loop), (gst_basesrc_activate),
9405 (gst_basesrc_change_state):
9406 * gst/base/gstbasesrc.h:
9407 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9408 (gst_fakesrc_class_init), (gst_fakesrc_init),
9409 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9410 (gst_fakesrc_get_property), (gst_fakesrc_create):
9411 * gst/elements/gstfakesrc.h:
9412 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9413 (gst_filesrc_open_file), (gst_filesrc_loop),
9414 (gst_filesrc_activate), (filesrc_find_peek),
9415 (gst_filesrc_type_find):
9416 Made base source class, make fakesrc extend it.
9417 Add comments to basesink class.
9418 Some filesrc cleanup.
9420 2005-03-31 David Schleef <ds@schleef.org>
9422 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9423 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9424 expected to link against libgstreamer.
9425 * gst/base/Makefile.am: link against libgstreamer
9426 * gst/elements/Makefile.am: same
9428 2005-03-31 Andy Wingo <wingo@pobox.com>
9430 * tests/instantiate/Makefile.am:
9431 * tests/instantiate/caps.c: Add test to test speed of caps copy
9434 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9435 GMemChunk to be fair.
9437 * gst/gsttrashstack.h: Remove warning about using the fallback
9438 trash stack implementation, it's still faster than malloc.
9440 2005-03-30 Andy Wingo <wingo@pobox.com>
9442 * tests/complexity.c: Add a copyright.
9444 2005-03-31 Wim Taymans <wim@fluendo.com>
9446 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9447 (gst_base_transform_class_init), (gst_base_transform_init),
9448 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9449 (gst_base_transform_get_property),
9450 (gst_base_transform_sink_activate),
9451 (gst_base_transform_src_activate),
9452 (gst_base_transform_change_state):
9453 * gst/base/gstbasetransform.h:
9454 * gst/elements/gstidentity.c: (gst_identity_class_init),
9455 (gst_identity_event), (gst_identity_check_perfect),
9456 (gst_identity_transform), (gst_identity_start),
9457 (gst_identity_stop):
9458 Added start/stop methods to transform base class so subclasses
9459 don't need to deal with state changes even.
9461 2005-03-31 Wim Taymans <wim@fluendo.com>
9463 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9464 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9467 (gst_pad_pull_range):
9468 Added rate to the discont event to prepare for variable speed
9469 and reverse playback.
9471 2005-03-29 David Schleef <ds@schleef.org>
9474 * testsuite/trigger/Makefile.am:
9475 * testsuite/trigger/trigger.c: A little example program to show
9476 how trigger-based elements can work.
9478 2005-03-29 Wim Taymans <wim@fluendo.com>
9480 * gst/base/Makefile.am:
9482 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9483 (gst_basesink_base_init), (gst_basesink_class_init),
9484 (gst_basesink_pad_getcaps), (gst_basesink_init),
9485 (gst_basesink_activate), (gst_basesink_change_state):
9486 * gst/base/gstbasesink.h:
9487 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9488 (gst_base_transform_base_init), (gst_base_transform_finalize),
9489 (gst_base_transform_class_init), (gst_base_transform_init),
9490 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9491 (gst_base_transform_event), (gst_base_transform_getrange),
9492 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9493 (gst_base_transform_set_property),
9494 (gst_base_transform_get_property),
9495 (gst_base_transform_sink_activate),
9496 (gst_base_transform_src_activate),
9497 (gst_base_transform_change_state):
9498 * gst/base/gstbasetransform.h:
9499 * gst/elements/gstidentity.c: (gst_identity_finalize),
9500 (gst_identity_class_init), (gst_identity_init),
9501 (gst_identity_event), (gst_identity_check_perfect),
9502 (gst_identity_transform), (gst_identity_set_property),
9503 (gst_identity_get_property), (gst_identity_change_state):
9504 * gst/elements/gstidentity.h:
9505 * gst/gstelement.c: (gst_element_get_state_func),
9506 (gst_element_lost_state), (gst_element_pads_activate):
9507 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9508 (gst_pad_check_pull_range), (gst_pad_pull_range):
9510 Simplify pad activation.
9511 Added function to check if pull_range can be performed.
9512 Error out when pulling inactive or flushing pads.
9513 Removed const from refcounted types as it does not make sense.
9514 Simplify pad templates in basesink
9515 Added base class for simple 1-to-1 transforms.
9516 Make identity subclass the base transform.
9518 2005-03-29 Andy Wingo <wingo@pobox.com>
9520 * docs/libs/gstreamer-libs-overrides.txt:
9521 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9522 really don't understand what's going on, but like whatever. I want
9525 * docs/gst/Makefile.am:
9526 * docs/libs/Makefile.am: Dist the overrides files.
9528 * check/Makefile.am (clean-local): Remove .libs directories.
9530 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9531 elements to EXTRA_DIST, so po/ files are happy.
9533 * po/POTFILES.in: Er, remove it here.
9535 * po/POTFILES: Remove gstspider.c.
9537 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9539 * docs/libs/gstreamer-libs-docs.sgml:
9540 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9543 * tests/complexity.c (main): Set the length of the preroll queue
9544 on the sinks to prevent a lockup.
9546 * libs/gst/dataprotocol/Makefile.am:
9547 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9548 the same as the one in check/gst-libs/gdp.c.
9550 * po/, docs/gst/: Commit automatic changes to docs and po files.
9552 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9553 the versioned libgstbase.
9555 * check/Makefile.am: Depend on an unversioned gst-register, seems
9556 to make autoconf happier.
9558 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9560 2005-03-28 Wim Taymans <wim@fluendo.com>
9563 * docs/design/part-gstelement.txt:
9564 * docs/design/part-negotiation.txt:
9565 * docs/design/part-preroll.txt:
9566 * docs/design/part-scheduling.txt:
9567 * docs/design/part-states.txt:
9569 * gst/base/Makefile.am:
9571 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9572 (gst_basesink_base_init), (gst_basesink_class_init),
9573 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9574 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9575 (gst_basesink_set_pad_functions),
9576 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9577 (gst_basesink_set_property), (gst_basesink_get_property),
9578 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9579 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9580 (gst_basesink_preroll_queue_push),
9581 (gst_basesink_preroll_queue_empty),
9582 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9583 (gst_basesink_event), (gst_basesink_get_times),
9584 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9585 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9586 (gst_basesink_loop), (gst_basesink_activate),
9587 (gst_basesink_change_state):
9588 * gst/base/gstbasesink.h:
9589 * gst/elements/Makefile.am:
9590 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9591 (gst_fakesink_class_init), (gst_fakesink_init),
9592 (gst_fakesink_set_property), (gst_fakesink_get_property),
9593 (gst_fakesink_get_times), (gst_fakesink_event),
9594 (gst_fakesink_preroll), (gst_fakesink_render),
9595 (gst_fakesink_change_state):
9596 * gst/elements/gstfakesink.h:
9597 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9598 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9599 * gst/gstelement.c: (gst_element_add_pad),
9600 (gst_element_get_state_func), (gst_element_abort_state),
9601 (gst_element_commit_state), (gst_element_lost_state),
9602 (gst_element_set_state), (gst_element_pads_activate):
9603 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9604 * gst/gstpipeline.c: (gst_pipeline_send_event),
9605 (gst_pipeline_change_state):
9606 Added state change code.
9608 Added sink base class, make fakesink extend the base class.
9609 Small cleanups in GstPipeline.
9611 2005-03-26 David Schleef <ds@schleef.org>
9613 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9614 is broken and should be implemented in a different library.
9615 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9616 * gst/gst.h: remove gstcpu.h
9617 * gst/gstcpu.c: remove
9618 * gst/gstcpu.h: remove
9619 * gst/Makefile.am.future: Remove this file. It's ancient.
9621 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9623 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9624 (gst_bin_send_event):
9625 Add default event/set_manager handlers. The set_manager handler
9626 takes care that the manager is distributed over kids that were
9627 already in the bin before the manager was set. The event handler
9628 is a utility virtual function that sends the event over all sinks,
9629 so that gst_element_send_event (bin, event); has the expected
9631 * gst/gstpad.c: (gst_pad_event_default):
9632 Re-install default event handling for discontinuities, so that
9633 seeking works without requiring hacks in applications or extra
9635 * gst/gstpipeline.c: (gst_pipeline_class_init),
9636 (gst_pipeline_send_event):
9637 Half hack, half utility: set a pipeline to PAUSED for seek events,
9638 since that is the only way we can guarantee a/v sync. Means that
9639 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9640 and it "just works".
9642 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9644 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9645 Lock/unlock mismatch.
9647 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9649 * docs/faq/gst-uninstalled:
9650 add gst-plugins-base
9651 * docs/gst/Makefile.am:
9652 don't error out until docs are fixed
9653 * docs/gst/gstreamer.types:
9656 2005-03-22 Wim Taymans <wim@fluendo.com>
9658 * check/Makefile.am:
9659 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9660 * gst/gststructure.c: (gst_structure_set_valist),
9661 (gst_structure_copy_conditional):
9662 Activated more tests.
9664 Added G_TYPE_POINTER to GstStructure.
9667 2005-03-22 Wim Taymans <wim@fluendo.com>
9669 * docs/design/part-TODO.txt:
9670 * docs/design/part-events.txt:
9671 * docs/design/part-gstbin.txt:
9672 * docs/design/part-gstbus.txt:
9673 * docs/design/part-gstpipeline.txt:
9674 * docs/design/part-messages.txt:
9679 2005-03-21 Wim Taymans <wim@fluendo.com>
9681 * gst/gstbus.c: (gst_bus_post):
9682 Fix copy-and-paste error.
9684 2005-03-21 Wim Taymans <wim@fluendo.com>
9686 * check/Makefile.am:
9688 * gst/elements/Makefile.am:
9689 * gst/elements/gstelements.c:
9690 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9691 (gst_fakesink_event), (gst_fakesink_chain):
9692 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9693 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9694 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9695 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9696 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9697 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9698 (gst_fakesrc_loop), (gst_fakesrc_activate),
9699 (gst_fakesrc_change_state):
9700 * gst/elements/gstfakesrc.h:
9701 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9702 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9703 (gst_filesrc_open_file), (gst_filesrc_loop),
9704 (gst_filesrc_activate), (gst_filesrc_change_state),
9705 (filesrc_find_peek), (filesrc_find_suggest),
9706 (gst_filesrc_type_find):
9707 * gst/elements/gstidentity.c: (gst_identity_finalize),
9708 (gst_identity_class_init), (gst_identity_init),
9709 (gst_identity_proxy_getcaps), (identity_queue_push),
9710 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9711 (gst_identity_getrange), (gst_identity_chain),
9712 (gst_identity_sink_loop), (gst_identity_src_loop),
9713 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9714 (gst_identity_set_property), (gst_identity_get_property),
9715 (gst_identity_change_state):
9716 * gst/elements/gstidentity.h:
9717 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9718 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9719 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9720 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9721 (gst_tee_sink_activate):
9722 * gst/elements/gsttee.h:
9723 * gst/gst.c: (gst_register_core_elements), (init_post):
9725 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9726 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9727 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9728 (gst_bin_change_state):
9730 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9731 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9732 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9733 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9734 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9735 (bus_watch_callback), (bus_watch_destroy),
9736 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9737 (poll_timeout), (gst_bus_poll):
9741 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9742 (gst_element_post_message), (gst_element_message_full),
9743 (gst_element_get_state_func), (gst_element_get_state),
9744 (gst_element_abort_state), (gst_element_commit_state),
9745 (gst_element_lost_state), (gst_element_set_state),
9746 (gst_element_pads_activate), (gst_element_change_state),
9747 (gst_element_dispose), (gst_element_set_manager_func),
9748 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9749 (gst_element_set_manager), (gst_element_get_manager),
9750 (gst_element_set_bus), (gst_element_get_bus),
9751 (gst_element_set_scheduler), (gst_element_get_scheduler):
9753 * gst/gstevent.c: (gst_event_new_segment_seek),
9754 (gst_event_new_flush):
9756 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9757 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9758 (gst_message_new_eos), (gst_message_new_error),
9759 (gst_message_new_warning), (gst_message_new_tag),
9760 (gst_message_new_state_changed), (gst_message_new_application),
9761 (gst_message_get_structure), (gst_message_parse_tag),
9762 (gst_message_parse_state_changed), (gst_message_parse_error),
9763 (gst_message_parse_warning):
9765 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9766 (gst_real_pad_set_property), (gst_pad_set_active),
9767 (gst_pad_is_active), (gst_pad_set_blocked_async),
9768 (gst_pad_set_blocked), (gst_pad_is_blocked),
9769 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9770 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9771 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9772 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9773 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9774 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9775 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9776 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9777 (gst_pad_set_caps), (gst_pad_configure_sink),
9778 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9779 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9780 (gst_real_pad_dispose), (gst_real_pad_finalize),
9781 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9782 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9783 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9785 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9786 (pipeline_bus_handler), (gst_pipeline_change_state),
9787 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9788 * gst/gstpipeline.h:
9790 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9791 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9792 (gst_queue_link_src), (gst_queue_bufferalloc),
9793 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9794 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9795 (gst_queue_loop), (gst_queue_handle_src_event),
9796 (gst_queue_handle_src_query), (gst_queue_src_activate),
9797 (gst_queue_change_state):
9799 * gst/gstscheduler.c: (gst_scheduler_init),
9800 (gst_scheduler_dispose), (gst_scheduler_create_task),
9801 (gst_scheduler_factory_create):
9802 * gst/gstscheduler.h:
9803 * gst/gststructure.c: (gst_structure_get_type),
9804 (gst_structure_copy_conditional):
9805 * gst/gststructure.h:
9806 * gst/gsttaginterface.h:
9807 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9808 (gst_task_init), (gst_task_dispose), (gst_task_create),
9809 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9815 * gst/schedulers/Makefile.am:
9816 * gst/schedulers/cothreads_compat.h:
9817 * gst/schedulers/entryscheduler.c:
9818 * gst/schedulers/faircothreads.c:
9819 * gst/schedulers/faircothreads.h:
9820 * gst/schedulers/fairscheduler.c:
9821 * gst/schedulers/gstbasicscheduler.c:
9822 * gst/schedulers/gstoptimalscheduler.c:
9823 * gst/schedulers/gthread-cothreads.h:
9824 * gst/schedulers/threadscheduler.c:
9825 (gst_thread_scheduler_task_get_type),
9826 (gst_thread_scheduler_task_class_init),
9827 (gst_thread_scheduler_task_init),
9828 (gst_thread_scheduler_task_start),
9829 (gst_thread_scheduler_task_stop),
9830 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9831 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9832 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9833 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9835 * libs/gst/Makefile.am:
9836 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9837 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9838 (gst_file_pad_parent_set):
9839 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9840 (gst_dp_event_from_packet):
9841 * tests/complexity.c: (main):
9842 * tests/mass_elements.c: (main):
9843 * testsuite/states/locked.c: (message_received), (main):
9844 * testsuite/states/parent.c: (main):
9845 * tools/gst-inspect.c: (print_element_flag_info),
9846 (print_implementation_info), (print_pad_info):
9847 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9849 * tools/gst-md5sum.c: (event_loop), (main):
9850 * tools/gst-typefind.c: (main):
9851 * tools/gst-xmlinspect.c: (print_element_info):
9853 Added GstBus for mainloop integration.
9854 Added GstMessage for sending notifications on the bus.
9855 Added GstTask as an abstraction for pipeline entry points.
9858 Simplified GstQueue for multithreaded core.
9859 Made _link threadsafe, removed old capsnego.
9860 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9861 Added pad blocking functions.
9862 Reworked scheduling functions in GstPad to prepare for
9863 scheduling updates soon.
9864 Moved events out of data stream.
9865 Simplified GstEvent types.
9866 Added return values to push/pull.
9867 Removed clocking from GstElement.
9868 Added prototypes for state change function for next merge.
9869 Removed iterate from bins and state change management.
9870 Fixed some elements, disabled others for now.
9871 Fixed -inspect and -launch.
9872 Added check for GstBus.
9874 2005-03-10 Wim Taymans <wim@fluendo.com>
9876 * docs/design/part-MT-refcounting.txt:
9877 * docs/design/part-clocks.txt:
9878 * docs/design/part-gstelement.txt:
9879 * docs/design/part-gstobject.txt:
9880 * docs/design/part-standards.txt:
9881 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9882 (gst_bin_remove_func), (gst_bin_remove):
9886 * testsuite/clock/clock1.c: (main):
9887 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9889 * testsuite/dlopen/loadgst.c: (do_test):
9890 * testsuite/refcounting/bin.c: (add_remove_test1),
9891 (add_remove_test2), (main):
9892 * testsuite/refcounting/element.c: (main):
9893 * testsuite/refcounting/element_pad.c: (main):
9894 * testsuite/refcounting/pad.c: (main):
9895 * tools/gst-launch.c: (sigint_handler_sighandler):
9896 * tools/gst-typefind.c: (main):
9898 Added doc about clock.
9899 removed gst_bin_iterate_recurse_up(), marked methods
9901 Fix more testsuites.
9903 2005-03-09 Wim Taymans <wim@fluendo.com>
9905 * gst/gstpad.c: (gst_pad_get_direction),
9906 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9907 (gst_pad_collect_valist):
9908 * testsuite/bins/interface.c: (main):
9909 * testsuite/caps/audioscale.c: (test_caps):
9910 * testsuite/caps/caps.c: (test1), (test2), (test3):
9911 * testsuite/caps/deserialize.c: (main):
9912 * testsuite/caps/enumcaps.c: (main):
9913 * testsuite/caps/filtercaps.c: (main):
9914 * testsuite/caps/intersect2.c: (main):
9915 * testsuite/caps/random.c: (main):
9916 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9917 * testsuite/caps/sets.c: (check_caps):
9918 * testsuite/caps/simplify.c: (check_caps), (main):
9919 * testsuite/caps/subtract.c: (check_caps):
9920 Fix _pad_get_direction wrt ghostpads.
9923 2005-03-09 Wim Taymans <wim@fluendo.com>
9925 * check/Makefile.am:
9926 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9927 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9928 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9929 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9930 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9931 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9932 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9933 (bin_element_is_sink), (gst_bin_iterate_sinks),
9934 (gst_bin_iterate_all_by_interface):
9936 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9937 (gst_element_change_state), (gst_element_dispose),
9938 (gst_element_finalize), (gst_element_set_loop_function):
9940 * gst/gstiterator.c: (find_custom_fold_func):
9941 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9942 (gst_pad_collectv), (gst_pad_collect_valist),
9943 (gst_pad_template_new):
9944 * gst/gstpipeline.c: (gst_pipeline_class_init),
9945 (gst_pipeline_dispose), (gst_pipeline_set_property),
9946 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9947 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9948 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9950 * gst/schedulers/entryscheduler.c:
9951 * gst/schedulers/gstbasicscheduler.c:
9952 (gst_basic_scheduler_cothreaded_chain),
9953 (gst_basic_scheduler_chain_add_element):
9954 * testsuite/bins/interface.c: (main):
9956 Added GstSystemClock test.
9957 Implemented clock distribution code in GstBin.
9958 Implemented iterate sinks method for future use.
9959 Rearranged gstelement.h
9960 Fix GstIterator comparison bug.
9961 Moved some code to GstPipeline, mostly clocking related.
9963 2005-03-09 Wim Taymans <wim@fluendo.com>
9966 * gst/gst_private.h:
9967 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9968 (gst_bin_remove_func), (gst_bin_remove),
9969 (gst_bin_get_by_name_recurse_up):
9970 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9971 (gst_clock_id_compare_func), (gst_clock_id_wait),
9972 (gst_clock_id_wait_async), (gst_clock_init),
9973 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9975 * gst/gstinfo.c: (_gst_debug_init):
9977 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9978 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9980 Bump version number, we're now 0.9.0
9981 Add future debugging category.
9982 Fix NULL _unref() in _get_by_name_recurse_up
9986 2005-03-08 Wim Taymans <wim@fluendo.com>
9988 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9989 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9990 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9991 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9992 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9993 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9994 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9995 * gst/elements/gstidentity.c: (gst_identity_class_init):
9996 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9997 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9998 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9999 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10000 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10002 * gst/gstelement.c: (gst_element_class_init),
10003 (gst_element_base_class_init), (gst_element_init),
10004 (gst_element_get_random_pad), (gst_element_wait_state_change),
10005 (gst_element_change_state), (gst_element_dispose),
10006 (gst_element_finalize), (gst_element_set_loop_function):
10007 * gst/gstelement.h:
10008 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10009 * gst/gstthread.c: (gst_thread_class_init),
10010 (gst_thread_release_children_locks), (gst_thread_change_state):
10011 * gst/schedulers/gstbasicscheduler.c:
10012 (gst_basic_scheduler_loopfunc_wrapper),
10013 (gst_basic_scheduler_chain_wrapper),
10014 (gst_basic_scheduler_src_wrapper),
10015 (gst_basic_scheduler_remove_element):
10016 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10017 Remove threadsafe properties. Fix elements because GObject
10018 complains when installing a property before declaring a
10019 set/get_property handler.
10020 Rearrange gstelement.h file, use STATE macros for state locks.
10021 Free mutexes in the finalize method instead of dispose.
10023 2005-03-08 Wim Taymans <wim@fluendo.com>
10025 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10026 * gst/gstthread.c: (gst_thread_release_children_locks):
10027 Added parentage check.
10028 Fix build og GstThread again.
10030 2005-03-08 Wim Taymans <wim@fluendo.com>
10032 * docs/design/part-MT-refcounting.txt:
10033 * docs/design/part-conventions.txt:
10034 * docs/design/part-gstobject.txt:
10035 * docs/design/part-relations.txt:
10036 * docs/design/part-standards.txt:
10037 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10038 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10039 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10040 (gst_bin_iterate_all_by_interface):
10043 * gst/gstelement.c: (gst_element_class_init),
10044 (gst_element_change_state), (gst_element_set_loop_function):
10045 * gst/gstelement.h:
10046 * gst/gstiterator.c:
10047 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10048 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10049 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10050 (gst_object_set_parent), (gst_object_unparent),
10051 (gst_object_check_uniqueness):
10053 Docs updates, clean up some headers.
10055 2005-03-07 Wim Taymans <wim@fluendo.com>
10057 * check/.cvsignore:
10058 * check/Makefile.am:
10059 * check/gst-libs/.cvsignore:
10060 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10061 * check/gst/.cvsignore:
10062 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10063 (START_TEST), (gstbus_suite), (main):
10064 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10065 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10066 (gst_data_suite), (main):
10067 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10068 (add_fold_func), (gstiterator_suite), (main):
10069 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10070 (thread_name_object), (thread_name_object_default),
10071 (gst_object_name_compare), (gst_object_suite), (main):
10072 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10073 (gst_pad_suite), (main):
10074 * check/gstcheck.c: (gst_check_log_message_func),
10075 (gst_check_log_critical_func), (gst_check_init):
10076 * check/gstcheck.h:
10077 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10078 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10081 2005-03-07 Wim Taymans <wim@fluendo.com>
10083 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10084 (gst_list_iterator_next), (gst_list_iterator_resync),
10085 (gst_list_iterator_free), (gst_iterator_new_list),
10086 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10087 (gst_iterator_free), (gst_iterator_push), (filter_next),
10088 (filter_resync), (filter_uninit), (filter_free),
10089 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10090 (gst_iterator_foreach), (find_custom_fold_func),
10091 (gst_iterator_find_custom):
10092 * gst/gstiterator.h:
10093 Added missing files.
10095 2005-03-07 Wim Taymans <wim@fluendo.com>
10099 * docs/design/part-MT-refcounting.txt:
10100 * docs/design/part-conventions.txt:
10101 * docs/design/part-gstobject.txt:
10102 * docs/design/part-relations.txt:
10103 * examples/mixer/mixer.c: (main):
10104 * examples/thread/thread.c: (eos), (main):
10106 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10107 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10108 (gst_spider_plug_from_srcpad):
10109 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10110 (gst_spider_identity_change_state),
10111 (gst_spider_identity_sink_loop_type_finding):
10112 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10113 * gst/elements/gstidentity.c: (gst_identity_init):
10114 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10115 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10116 * gst/elements/gsttypefindelement.c: (free_entry):
10119 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10120 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10121 (gst_bin_set_index), (gst_bin_set_element_sched),
10122 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10123 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10124 (gst_bin_iterate_elements), (iterate_child_recurse),
10125 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10126 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10127 (compare_interface), (gst_bin_get_by_interface),
10128 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10130 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10131 (gst_buffer_default_free), (gst_buffer_default_copy),
10132 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10133 (gst_buffer_create_sub):
10135 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10136 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10137 (gst_caps_unref), (gst_static_caps_get),
10138 (gst_caps_remove_and_get_structure), (gst_caps_append),
10139 (gst_caps_append_structure), (gst_caps_remove_structure),
10140 (gst_caps_copy_nth), (gst_caps_set_simple),
10141 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10142 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10143 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10144 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10145 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10146 (gst_caps_structure_figure_out_union),
10147 (gst_caps_switch_structures), (gst_caps_do_simplify),
10148 (gst_caps_replace), (gst_caps_from_string),
10149 (gst_caps_copy_conditional):
10151 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10152 (_gst_clock_id_free), (gst_clock_id_unref),
10153 (gst_clock_id_compare_func), (gst_clock_id_wait),
10154 (gst_clock_id_wait_async), (gst_clock_class_init),
10155 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10156 (gst_clock_get_time), (gst_clock_set_time_adjust),
10157 (gst_clock_set_property), (gst_clock_get_property):
10160 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10161 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10163 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10164 (gst_element_requires_clock), (gst_element_provides_clock),
10165 (gst_element_set_clock), (gst_element_clock_wait),
10166 (gst_element_wait), (gst_element_set_time_delay),
10167 (gst_element_is_indexable), (gst_element_add_pad),
10168 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10169 (pad_compare_name), (gst_element_get_static_pad),
10170 (gst_element_request_pad), (gst_element_get_request_pad),
10171 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10172 (gst_element_class_get_pad_template_list),
10173 (gst_element_class_get_pad_template), (gst_element_error_func),
10174 (gst_element_get_random_pad), (gst_element_get_event_masks),
10175 (gst_element_send_event), (gst_element_seek),
10176 (gst_element_get_query_types), (gst_element_query),
10177 (gst_element_get_formats), (gst_element_convert),
10178 (gst_element_is_locked_state), (gst_element_set_locked_state),
10179 (gst_element_sync_state_with_parent), (gst_element_change_state),
10180 (gst_element_finalize), (gst_element_yield),
10181 (gst_element_interrupt), (gst_element_set_scheduler),
10182 (gst_element_get_scheduler), (gst_element_set_loop_function):
10183 * gst/gstelement.h:
10185 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10186 (gst_format_get_by_nick), (gst_format_get_details),
10187 (gst_format_iterate_definitions):
10189 * gst/gstindex.c: (gst_index_gtype_resolver):
10192 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10193 (gst_mem_chunk_free):
10194 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10195 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10196 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10197 (gst_object_dispatch_properties_changed),
10198 (gst_object_set_name_default), (gst_object_set_name),
10199 (gst_object_get_name), (gst_object_set_name_prefix),
10200 (gst_object_get_name_prefix), (gst_object_set_parent),
10201 (gst_object_get_parent), (gst_object_unparent),
10202 (gst_object_check_uniqueness), (gst_object_save_thyself),
10203 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10204 (gst_object_set_property), (gst_object_get_property),
10205 (gst_object_get_path_string):
10207 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10208 (gst_real_pad_init), (gst_real_pad_get_property),
10209 (gst_pad_custom_new), (gst_pad_get_direction),
10210 (gst_pad_set_active), (gst_pad_is_active),
10211 (gst_pad_set_event_function), (gst_pad_is_linked),
10212 (gst_pad_link_free), (gst_pad_link_intersect),
10213 (gst_pad_link_fixate), (gst_pad_set_caps),
10214 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10215 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10216 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10217 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10218 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10219 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10220 (gst_pad_realize), (gst_pad_get_allowed_caps),
10221 (gst_real_pad_dispose), (gst_real_pad_finalize),
10222 (gst_pad_collectv), (gst_pad_collect_valist),
10223 (gst_pad_template_dispose), (gst_pad_template_new),
10224 (gst_pad_get_internal_links):
10226 * gst/gstpipeline.c: (gst_pipeline_dispose),
10227 (gst_pipeline_change_state):
10228 * gst/gstpipeline.h:
10230 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10231 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10232 * gst/gstpluginfeature.h:
10233 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10234 * gst/gstquery.c: (_gst_query_type_initialize),
10235 (gst_query_type_register), (gst_query_type_get_by_nick),
10236 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10238 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10239 * gst/gstscheduler.c: (gst_scheduler_add_element),
10240 (gst_scheduler_factory_create):
10241 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10242 (gst_structure_free), (gst_structure_set_name),
10243 (gst_structure_id_set_value), (gst_structure_set_value),
10244 (gst_structure_set_valist), (gst_structure_remove_field),
10245 (gst_structure_remove_fields),
10246 (gst_structure_remove_fields_valist),
10247 (gst_structure_remove_all_fields), (gst_structure_foreach),
10248 (gst_structure_map_in_place),
10249 (gst_caps_structure_fixate_field_nearest_int),
10250 (gst_caps_structure_fixate_field_nearest_double):
10251 * gst/gststructure.h:
10252 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10253 (gst_system_clock_init), (gst_system_clock_dispose),
10254 (gst_system_clock_async_thread),
10255 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10256 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10257 * gst/gstsystemclock.h:
10258 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10259 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10260 * gst/gsttaginterface.c:
10261 * gst/gstthread.c: (gst_thread_dispose),
10262 (gst_thread_release_children_locks), (gst_thread_change_state),
10263 (gst_thread_main_loop):
10264 * gst/gsttrashstack.h:
10265 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10267 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10268 (gst_element_request_pad), (gst_element_get_pad_from_template),
10269 (gst_element_request_compatible_pad),
10270 (gst_element_get_compatible_pad_filtered),
10271 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10272 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10273 (gst_element_link_many), (gst_element_link),
10274 (gst_element_link_pads), (gst_element_unlink_pads),
10275 (gst_element_unlink_many), (gst_element_unlink),
10276 (gst_pad_can_link_filtered), (gst_pad_can_link),
10277 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10278 (gst_object_default_error), (gst_bin_add_many),
10279 (gst_bin_remove_many), (gst_element_populate_std_props),
10280 (gst_element_class_install_std_props), (gst_buffer_merge),
10281 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10282 (link_fold_func), (gst_pad_proxy_setcaps):
10284 * gst/gstvalue.c: (gst_value_deserialize_string):
10285 * gst/parse/grammar.y:
10286 * gst/schedulers/gstbasicscheduler.c:
10287 (gst_basic_scheduler_cothreaded_chain),
10288 (gst_basic_scheduler_chain_recursive_add),
10289 (gst_basic_scheduler_pad_link):
10290 * gst/schedulers/gstoptimalscheduler.c:
10291 (get_group_schedule_function),
10292 (gst_opt_scheduler_state_transition),
10293 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10294 * libs/gst/bytestream/bytestream.c:
10295 * libs/gst/dataprotocol/dataprotocol.c:
10296 (gst_dp_header_from_buffer):
10299 * tests/threadstate/threadstate2.c: (eos):
10300 * tools/gst-compprep.c: (main):
10301 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10302 (print_pad_info), (print_children_info):
10303 * tools/gst-launch.c: (idle_func), (main):
10304 * tools/gst-md5sum.c: (idle_func), (main):
10305 * tools/gst-xmlinspect.c: (print_element_info):
10306 First THREADED backport attempt, focusing on adding locks and
10307 making sure the API is threadsafe. Needs more work. More docs
10310 2005-02-24 Andy Wingo <wingo@pobox.com>
10312 * tests/bench-complexity.scm:
10313 * tests/complexity.gnuplot: New files, good for running complexity
10316 * tests/Makefile.am:
10317 * tests/complexity.c: New test, sets up N elements, at each level
10318 teeing into M streams per element. Eeeenteresting.
10320 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10321 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10322 running bench-mass_elements.scm.
10324 * tests/bench-mass_elements.scm: New script, runs mass_elements
10325 for various numbers of identities, outputting the results to a
10326 file. Requires guile 1.6. Just for testing.
10328 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10330 * gst/schedulers/fairscheduler.c:
10331 compile with debug disabled
10333 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10336 hunting season on 0.9 is now OPEN