1 2005-11-04 Wim Taymans <wim@fluendo.com>
3 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
5 Get the context to wake up only once.
7 2005-11-03 Wim Taymans <wim@fluendo.com>
9 * check/states/sinks.c: (GST_START_TEST):
10 Uncomment fixed check.
12 * docs/design/part-TODO.txt:
15 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17 (gst_base_sink_get_position):
18 If we are going to PLAYING, post the right pending state
19 when we post the intermediate paused message.
21 * gst/gstelement.c: (gst_element_continue_state),
22 (gst_element_set_state_func), (gst_element_change_state):
23 Don't post state changes that were between the same state
26 2005-11-03 Stefan Kost <ensonic@users.sf.net>
28 * docs/gst/gstreamer-sections.txt:
31 * gst/gstminiobject.h:
34 more docs and doc style fixes
36 2005-11-03 Stefan Kost <ensonic@users.sf.net>
38 * docs/gst/gstreamer-sections.txt:
40 * gst/gstminiobject.c:
43 2005-11-03 Andy Wingo <wingo@pobox.com>
45 * check/states/sinks.c (test_livesrc_sink): Add checks that the
46 state-changed messages actually have the right order and the right
49 2005-11-03 Wim Taymans <wim@fluendo.com>
51 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
52 Added some more checks. Specifically the case where NO_PREROLL
53 elements are in the pipeline.
55 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
56 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
57 (gst_base_sink_get_position):
58 Post READY->PAUSED state change messages too.
59 Fix bug where VOID was posted as pending state...
61 * gst/gstbin.c: (gst_bin_recalc_state):
62 use _element_continue_state() to continue the state change.
64 * gst/gstelement.c: (gst_element_continue_state),
65 (gst_element_commit_state), (gst_element_set_state_func),
66 (gst_element_change_state), (gst_element_change_state_func):
67 Lots of state change cleanups, assign the STATE_RETURN in
68 a new continue_state() function that also propagates the
69 last return value from a state change to the app.
70 Update some debug statements with proper category.
72 2005-11-03 Wim Taymans <wim@fluendo.com>
74 * docs/design/part-events.txt:
75 * docs/design/part-gstpipeline.txt:
76 * docs/design/part-messages.txt:
77 * docs/design/part-overview.txt:
78 * docs/design/part-seeking.txt:
79 * docs/design/part-states.txt:
80 * docs/design/part-trickmodes.txt:
81 * docs/manual/advanced-position.xml:
85 People think !! is ugly, this looks better.
87 * gst/gstpad.c: (gst_pad_set_blocked_async):
88 Remove !! since it's fixed elsewhere now.
90 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
92 * gst/gstminiobject.h:
94 Add !! to _FLAG_IS_SET macros to make the result boolean.
96 2005-11-03 Edward Hervey <edward@fluendo.com>
98 * gst/gstpad.c: (gst_pad_set_blocked_async):
99 comparing a flag and a gboolean rarely returns coherent results...
100 Added two characters (!!) to make that work correctly.
102 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
104 * gst/gstbus.c: (gst_bus_class_init):
107 * gst/gstqueue.c: (gst_queue_loop):
108 Don't assume a miniobject that isn't a buffer is an
109 event (it could be that there is a refcounting
110 problem somewhere and the pointer is stale and
111 refers to an already destroyed miniobject).
113 2005-11-03 Julien MOUTTE <julien@moutte.net>
115 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
117 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
119 * docs/manual/advanced-position.xml:
120 Update seek example and explanations to current 0.9 API.
122 * gst/elements/gsttypefindelement.c:
123 (gst_type_find_element_activate):
124 Remove FIXME comment now that the found caps
127 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
129 * gst/gstregistryxml.c: (load_feature):
130 Add another GST_STR_NULL instance
132 2005-11-02 Edward Hervey <edward@fluendo.com>
134 * gst/gstpad.c: (handle_pad_block):
135 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
137 2005-11-02 Wim Taymans <wim@fluendo.com>
142 * gst/gstelement.c: (gst_element_commit_state):
146 Mention that the returned element is reffed in the docs.
148 2005-11-02 Wim Taymans <wim@fluendo.com>
150 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
151 (gst_pad_push), (gst_pad_push_event):
152 Unlock blocked pads when they are flushed.
154 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
157 * docs/gst/gstreamer-sections.txt:
160 * gst/gstregistry.c: (gst_registry_scan_path_level):
161 fix for a nasty little missed situation where an installed plug-in
162 which was in the cache did not get overridden by an uninstalled one
163 which was earlier in the plugin path because the newly created plugin
164 for the uninstalled one (not in the registry) didn't get its
165 ->registered set to TRUE
167 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
169 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
170 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
171 (gst_collectpads_is_active), (gst_collectpads_collect),
172 (gst_collectpads_collect_range), (gst_collectpads_start),
173 (gst_collectpads_stop), (gst_collectpads_peek),
174 (gst_collectpads_pop), (gst_collectpads_available),
175 (gst_collectpads_read), (gst_collectpads_flush):
176 Guard public API with assertions.
179 Fix docs for gst_pad_set_link_function().
181 2005-11-02 Johan Dahlin <johan@gnome.org>
183 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
184 Unref found_caps after we used it.
186 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
188 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
189 Don't try to ref NULL.
191 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
193 * win32/common/config.h.in:
194 provide a GST_FUNCTION that just gives a string for now
196 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
198 * win32/common/gstenumtypes.c: (register_gst_object_flags),
199 (gst_object_flags_get_type), (register_gst_bin_flags),
200 (gst_bin_flags_get_type), (register_gst_buffer_flag),
201 (gst_buffer_flag_get_type), (register_gst_bus_flags),
202 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
203 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
204 (gst_clock_return_get_type), (register_gst_clock_entry_type),
205 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
206 (gst_clock_flags_get_type), (register_gst_state),
207 (gst_state_get_type), (register_gst_state_change_return),
208 (gst_state_change_return_get_type), (register_gst_state_change),
209 (gst_state_change_get_type), (register_gst_element_flags),
210 (gst_element_flags_get_type), (register_gst_core_error),
211 (gst_core_error_get_type), (register_gst_library_error),
212 (gst_library_error_get_type), (register_gst_resource_error),
213 (gst_resource_error_get_type), (register_gst_stream_error),
214 (gst_stream_error_get_type), (register_gst_event_type),
215 (gst_event_type_get_type), (register_gst_seek_type),
216 (gst_seek_type_get_type), (register_gst_seek_flags),
217 (gst_seek_flags_get_type), (register_gst_format),
218 (gst_format_get_type), (register_gst_index_certainty),
219 (gst_index_certainty_get_type), (register_gst_index_entry_type),
220 (gst_index_entry_type_get_type),
221 (register_gst_index_lookup_method),
222 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
223 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
224 (gst_index_resolver_method_get_type), (register_gst_index_flags),
225 (gst_index_flags_get_type), (register_gst_debug_level),
226 (gst_debug_level_get_type), (register_gst_debug_color_flags),
227 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
228 (gst_iterator_result_get_type), (register_gst_iterator_item),
229 (gst_iterator_item_get_type), (register_gst_message_type),
230 (gst_message_type_get_type), (register_gst_mini_object_flags),
231 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
232 (gst_pad_link_return_get_type), (register_gst_flow_return),
233 (gst_flow_return_get_type), (register_gst_activate_mode),
234 (gst_activate_mode_get_type), (register_gst_pad_direction),
235 (gst_pad_direction_get_type), (register_gst_pad_flags),
236 (gst_pad_flags_get_type), (register_gst_pad_presence),
237 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
238 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
239 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
240 (gst_plugin_error_get_type), (register_gst_plugin_flags),
241 (gst_plugin_flags_get_type), (register_gst_rank),
242 (gst_rank_get_type), (register_gst_query_type),
243 (gst_query_type_get_type), (register_gst_tag_merge_mode),
244 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
245 (gst_tag_flag_get_type), (register_gst_task_state),
246 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
247 (gst_alloc_trace_flags_get_type),
248 (register_gst_type_find_probability),
249 (gst_type_find_probability_get_type), (register_gst_uri_type),
250 (gst_uri_type_get_type), (register_gst_parse_error),
251 (gst_parse_error_get_type):
252 * win32/common/gstversion.h:
255 2005-11-01 Luca Ognibene <luogni@tin.it>
258 fix docs. popt is dead, long live GOption.
260 2005-10-31 Wim Taymans <wim@fluendo.com>
265 2005-10-31 Andy Wingo <wingo@pobox.com>
269 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
271 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
272 need to serialize property notifications on GLib 2.8. GLib 2.6 has
273 the possibility of deadlocks here if code calling notify() or
274 set() has a lock that can be taken in another notify handler (ABBA
275 with class lock and e.g. python GIL state lock).
277 2005-10-28 Julien MOUTTE <julien@moutte.net>
279 * gst/gstbus.c: Doc updates.
281 2005-10-28 Wim Taymans <wim@fluendo.com>
283 * docs/design/part-TODO.txt:
285 * gst/gstsystemclock.c:
286 * gst/gstsystemclock.h:
289 2005-10-28 Edward Hervey <edward@fluendo.com>
291 * docs/gst/gstreamer-docs.sgml:
292 * docs/gst/gstreamer-sections.txt:
293 the GstURIType documentation page is private, it only defines GstURIType
294 which should be defined in the GstURIHandler page
296 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
298 * gst/gstbin.c: (gst_bin_class_init):
301 Documentation updates.
303 2005-10-28 Wim Taymans <wim@fluendo.com>
305 * docs/gst/gstreamer-sections.txt:
308 Documented the clocks.
310 2005-10-28 Stefan Kost <ensonic@users.sf.net>
312 * docs/gst/gstreamer-sections.txt:
313 move some macros to private sections
314 * gst/gstminiobject.c:
315 * gst/gstminiobject.h:
316 add descriptions provided by ds and some more
318 mark macro as to be removed
320 2005-10-28 Wim Taymans <wim@fluendo.com>
322 * docs/design/part-TODO.txt:
325 * gst/gstiterator.c: (gst_iterator_fold),
326 (gst_iterator_find_custom):
330 2005-10-28 Wim Taymans <wim@fluendo.com>
332 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
333 (gst_base_transform_init):
336 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
337 An EOS event marks the queue as completely filled.
339 2005-10-27 Wim Taymans <wim@fluendo.com>
341 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
342 (gst_base_sink_do_sync), (gst_base_sink_get_position):
345 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
346 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
347 (gst_base_transform_event), (gst_base_transform_getrange),
348 (gst_base_transform_chain):
349 * gst/base/gstbasetransform.h:
351 Protect transform and concurrent buffer alloc with a new lock.
352 Try not to break ABI/API.
354 2005-10-27 Wim Taymans <wim@fluendo.com>
356 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
357 (gst_base_src_init), (gst_base_src_query),
358 (gst_base_src_default_newsegment),
359 (gst_base_src_configure_segment), (gst_base_src_do_seek),
360 (gst_base_src_send_event), (gst_base_src_event_handler),
361 (gst_base_src_pad_get_range), (gst_base_src_loop),
362 (gst_base_src_unlock), (gst_base_src_default_negotiate),
363 (gst_base_src_start), (gst_base_src_deactivate),
364 (gst_base_src_activate_push), (gst_base_src_change_state):
365 Move some stuff around and cleanup things.
367 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
369 * gst/base/gstbasesrc.c: (gst_base_src_query):
370 Add missing break statements.
372 2005-10-27 Wim Taymans <wim@fluendo.com>
374 * check/gst/gstbin.c: (GST_START_TEST):
375 An extra refcount is taken in basesrc.
377 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
378 (gst_base_src_get_range), (gst_base_src_pad_get_range),
380 Small cleanups, check for flushing after being unlocked from the
381 LIVE_LOCK. take refcounts correctly (not yet everywhere).
382 Don't send out EOS when going to READY.
384 2005-10-27 Wim Taymans <wim@fluendo.com>
386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
387 (gst_base_sink_get_position):
390 * gst/gstbin.c: (message_check), (bin_replace_message),
391 (bin_remove_messages), (is_eos), (gst_bin_add_func),
392 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
393 (bin_query_duration_init), (bin_query_duration_fold),
394 (bin_query_duration_done), (bin_query_generic_fold),
396 * tools/gst-launch.c: (main):
399 2005-10-26 Stefan Kost <ensonic@users.sf.net>
401 * examples/controller/audio-example.c: (main):
402 * examples/queue/queue.c: (event_loop):
403 * gst/base/gstbasetransform.h:
404 * gst/gstelement.c: (gst_element_send_event):
406 * gst/gstpad.c: (gst_pad_send_event):
409 changing log priority in error situations
411 2005-10-25 Wim Taymans <wim@fluendo.com>
413 * gst/gstbin.c: (message_check), (bin_replace_message),
414 (bin_remove_messages), (is_eos), (gst_bin_add_func),
415 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
416 (bin_query_duration_init), (bin_query_duration_fold),
417 (bin_query_duration_done), (bin_query_generic_fold),
419 Some doc and debug updates.
420 Cache previously requested query DURATION for speed. invalidate
421 cached duration if element posts a DURATION message.
423 2005-10-25 Wim Taymans <wim@fluendo.com>
425 * docs/design/part-TODO.txt:
428 * gst/gstbin.c: (message_check), (bin_replace_message),
429 (bin_remove_messages), (is_eos), (gst_bin_add_func),
430 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
431 (bin_query_duration_init), (bin_query_duration_fold),
432 (bin_query_duration_done), (bin_query_generic_fold),
434 Handle SEGMENT_START/DONE messages correctly.
435 More evolved query algorithm that handles duration queries
438 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
439 (gst_element_get_state_func), (gst_element_abort_state),
440 (gst_element_commit_state), (gst_element_lost_state):
446 2005-10-25 Wim Taymans <wim@fluendo.com>
448 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
449 Don't use invalid stream_time.
451 * gst/gstevent.c: (gst_event_new_newsegment):
452 stream_time in newsegment cannot be undefined.
454 2005-10-24 Wim Taymans <wim@fluendo.com>
459 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
461 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
463 2005-10-24 Stefan Kost <ensonic@users.sf.net>
465 * docs/libs/tmpl/gstdparam.sgml:
466 * docs/libs/tmpl/gstdplinint.sgml:
467 * docs/libs/tmpl/gstdpman.sgml:
468 * docs/libs/tmpl/gstdpsmooth.sgml:
469 * docs/libs/tmpl/gstunitconvert.sgml:
472 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
477 === release 0.9.4 ===
479 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
482 releasing 0.9.4, "Tyrannosaurus Rex"
484 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
486 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
487 (gst_file_sink_get_current_offset):
488 Use fseeko() and ftello() if available. When falling back on
489 lseek() to get the current offset, fflush() first to make sure
490 everything is up-to-date and we get the right offset.
492 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
495 * gst/base/gstbasesrc.c: (gst_base_src_loop):
496 * gst/gsterror.c: (_gst_stream_errors_init):
498 * gst/gstqueue.c: (gst_queue_loop):
500 remove prematurely added error category and clean up the instances
502 2005-10-21 Wim Taymans <wim@fluendo.com>
504 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
505 (gst_base_sink_get_position), (gst_base_sink_query),
506 (gst_base_sink_change_state):
507 Simply set the right flag when going to playing, that's all
508 we need to do instead of calling a function inside the object
509 lock (that could take the lock as well and deadlock)
511 2005-10-21 Wim Taymans <wim@fluendo.com>
513 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
515 Don't warn, the peer element knows what to do best when
516 the seek failed, it might try something else.
518 2005-10-21 Wim Taymans <wim@fluendo.com>
520 * gst/base/gstbasesrc.c: (gst_base_src_init),
521 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
524 2005-10-21 Wim Taymans <wim@fluendo.com>
526 * docs/design/part-segments.txt:
529 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
530 Correctly set caps, even on the subbufer.
532 2005-10-21 Wim Taymans <wim@fluendo.com>
534 * docs/gst/gstreamer-docs.sgml:
535 * docs/gst/gstreamer-sections.txt:
542 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
546 And 2% more doc coverage.
548 2005-10-21 Andy Wingo <wingo@pobox.com>
550 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
553 2005-10-20 Wim Taymans <wim@fluendo.com>
555 * gst/gsterror.c: (gst_error_get_message):
558 * gst/gststructure.c:
563 2005-10-20 Wim Taymans <wim@fluendo.com>
568 Another 1% more coverage.
570 2005-10-20 Wim Taymans <wim@fluendo.com>
572 * docs/gst/gstreamer-sections.txt:
573 * gst/gstelement.c: (gst_element_get_state_func),
574 (gst_element_abort_state), (gst_element_commit_state),
575 (gst_element_lost_state):
577 * gst/gstquery.c: (gst_query_set_position),
578 (gst_query_parse_position), (gst_query_set_duration),
579 (gst_query_parse_duration), (gst_query_new_convert):
581 Yay! 1% more docs coverage.
583 2005-10-20 Wim Taymans <wim@fluendo.com>
586 * gst/gstquery.c: (gst_query_set_position),
587 (gst_query_parse_position), (gst_query_set_duration),
588 (gst_query_parse_duration), (gst_query_new_convert):
590 * gst/gstutils.c: (gst_element_query_convert):
592 Docs and consistency fixes.
594 2005-10-20 Wim Taymans <wim@fluendo.com>
600 2005-10-20 Wim Taymans <wim@fluendo.com>
602 * gst/gstbin.c: (message_check), (bin_replace_message),
603 (bin_remove_messages), (is_eos), (gst_bin_add_func),
604 (update_degree), (gst_bin_sort_iterator_next),
605 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
606 Reworked the message handling a bit, cache the messages instead of
607 only the senders. alows us to do more in the future.
609 2005-10-20 Wim Taymans <wim@fluendo.com>
611 * docs/design/part-TODO.txt:
614 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
615 (gst_base_sink_query):
616 Don't use clock time to report position when in EOS.
618 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
620 * tools/gst-inspect.c: (print_interfaces),
621 (print_element_properties_info), (print_element_info):
622 Fix interface output with gst-inspect -a; don't print
623 newlines after double/float properties.
625 2005-10-20 Wim Taymans <wim@fluendo.com>
627 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
628 (gst_base_sink_query):
629 Speed up current position calculation.
631 * gst/base/gstbasesrc.c: (gst_base_src_query),
632 (gst_base_src_default_newsegment):
633 Correctly set stream position in newsegment.
635 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
636 (update_degree), (gst_bin_sort_iterator_next),
637 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
638 * gst/gstmessage.c: (gst_message_new_custom):
639 Clean up debugging info
641 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
642 (gst_queue_loop), (gst_queue_handle_src_query):
645 2005-10-19 Wim Taymans <wim@fluendo.com>
647 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
648 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
649 Fix query handling again.
651 2005-10-19 Wim Taymans <wim@fluendo.com>
653 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
654 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
655 * gst/base/gstbasesrc.c: (gst_base_src_query):
656 * gst/elements/gstfilesink.c: (gst_file_sink_query):
657 * gst/elements/gsttypefindelement.c:
658 (gst_type_find_handle_src_query), (find_element_get_length),
659 (gst_type_find_element_activate):
662 * gst/gstquery.c: (gst_query_new_position),
663 (gst_query_set_position), (gst_query_parse_position),
664 (gst_query_new_duration), (gst_query_set_duration),
665 (gst_query_parse_duration), (gst_query_set_segment),
666 (gst_query_parse_segment):
668 Bundling query position/duration is not a good idea since duration
669 does not change much and we don't want to recalculate it for every
670 position query, so they are separated again..
671 Base value in segment query is not needed.
673 * gst/gstqueue.c: (gst_queue_handle_src_query):
674 * gst/gstutils.c: (gst_element_query_position),
675 (gst_element_query_duration), (gst_pad_query_position),
676 (gst_pad_query_duration):
678 Updates for query API change.
679 Added some docs here and there.
681 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
683 * check/gst/gstbin.c: (GST_START_TEST):
684 * check/gst/gstghostpad.c: (GST_START_TEST):
685 * check/pipelines/cleanup.c: (GST_START_TEST):
686 wait on thread to die so we can check refcount correctly
688 2005-10-18 Wim Taymans <wim@fluendo.com>
690 * check/pipelines/stress.c: (GST_START_TEST):
691 Make check a little more time consuming.
693 2005-10-18 Wim Taymans <wim@fluendo.com>
696 * check/pipelines/stress.c: (GST_START_TEST),
697 (simple_launch_lines_suite), (main):
698 Small state change torture test.
700 * docs/design/part-states.txt:
701 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
702 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
703 (gst_base_sink_change_state):
704 Never take state lock from streaming thread, clean up ugly
705 hacks. Unfortunatly core does not yet support nice ways to
708 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
710 Start state recalc if a STATE_DIRTY message is posted, but only
713 * gst/gstelement.c: (gst_element_sync_state_with_parent),
714 (gst_element_get_state_func), (gst_element_abort_state),
715 (gst_element_commit_state), (gst_element_lost_state),
716 (gst_element_set_state_func), (gst_element_change_state):
718 State variables are now protected with the LOCK, the state
719 lock is only used to serialize _set_state().
721 2005-10-18 Wim Taymans <wim@fluendo.com>
723 * check/gst/gstbin.c: (GST_START_TEST):
724 * check/gst/gstmessage.c: (GST_START_TEST):
725 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
728 * gst/gstelement.c: (gst_element_abort_state),
729 (gst_element_commit_state), (gst_element_lost_state):
730 * gst/gstmessage.c: (gst_message_new_state_changed),
731 (gst_message_new_state_dirty), (gst_message_new_segment_start),
732 (gst_message_new_segment_done), (gst_message_new_duration),
733 (gst_message_parse_state_changed),
734 (gst_message_parse_segment_start),
735 (gst_message_parse_segment_done), (gst_message_parse_duration):
737 * tools/gst-launch.c: (event_loop):
738 Seriously, this is better than a previous commit as we only need
739 to notify the fact that an element changed state in a streaming
740 thread, marking the state of the parents dirty, hence the
741 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
744 2005-10-18 Wim Taymans <wim@fluendo.com>
746 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
747 (gst_bin_recalc_func):
748 * gst/gstelement.c: (gst_element_set_clock),
749 (gst_element_abort_state), (gst_element_lost_state):
750 Cleanups, prepare for state change fixes.
752 2005-10-18 Wim Taymans <wim@fluendo.com>
755 * gst/gstelement.c: (gst_element_class_init),
756 (gst_element_set_state), (gst_element_set_state_func):
759 GThreadPool in GstBinClass to monitor async state changes.
760 state_cookie in GstElement to detect concurrent gst/set state.
761 set_state is now virtual too in case a very complicated element
762 has to be constructed.
764 2005-10-18 Wim Taymans <wim@fluendo.com>
766 * check/gst/gstbin.c: (GST_START_TEST):
767 * check/gst/gstmessage.c: (GST_START_TEST):
768 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
769 * gst/gstbin.c: (bin_bus_handler):
770 * gst/gstelement.c: (gst_element_commit_state),
771 (gst_element_lost_state):
772 * gst/gstmessage.c: (gst_message_new_state_changed),
773 (gst_message_new_segment_start), (gst_message_new_segment_done),
774 (gst_message_new_duration), (gst_message_parse_state_changed),
775 (gst_message_parse_segment_start),
776 (gst_message_parse_segment_done), (gst_message_parse_duration):
778 * tools/gst-launch.c: (event_loop):
779 Make messages future proof.
780 state-change gets a flag if it was a message comming from the
782 segment-start/stop can also be specified in other formats.
783 A message to notify an app that a pipeline changed playback
785 Also fix a GstMessage leak in -launch
787 2005-10-18 Andy Wingo <wingo@pobox.com>
789 * gst/gstelement.c (gst_element_dispose): More helpful message.
791 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
793 * gst/gstregistry.c: (gst_registry_scan_path_level):
794 unref a plug-in we get that was already initialized
796 2005-10-18 Stefan Kost <ensonic@users.sf.net>
798 * docs/gst/gstreamer-sections.txt:
799 * docs/libs/gstreamer-libs-sections.txt:
804 2005-10-17 Andy Wingo <wingo@pobox.com>
806 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
809 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
811 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
813 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
814 (gst_element_get_state_func): Better debug message.
815 (gst_element_commit_state): s/INFO/DEBUG/.
816 (gst_element_lost_state, gst_element_change_state):
818 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
819 (gst_message_new_custom): s/INFO/LOG/.
821 2005-10-17 Michael Smith <msmith@fluendo.com>
823 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
824 Check if end time is valid using end time, not start time.
826 2005-10-17 Stefan Kost <ensonic@users.sf.net>
828 * check/gst-libs/controller.c: (GST_START_TEST),
829 (gst_controller_suite):
830 * libs/gst/controller/gstcontroller.c:
831 (gst_controlled_property_set_interpolation_mode):
832 * libs/gst/controller/gstcontroller.h:
833 * libs/gst/controller/gstinterpolation.c:
834 * testsuite/controller/.cvsignore:
835 * testsuite/controller/Makefile.am:
836 * testsuite/controller/interpolator.c:
837 merge controller testsuites
839 remove mem-chunk from docs
841 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
845 * gst/gsttrashstack.c:
846 * gst/gsttrashstack.h:
847 out. get out. you're fired. to the Attic !
849 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
851 * gst/gstcaps.c: (gst_caps_intersect):
852 fix signedness issues in a (hopefully) correct way
853 * gst/gstelement.c: (gst_element_pads_activate):
855 * gst/gstobject.c: (gst_object_set_parent):
858 2005-10-17 Julien MOUTTE <julien@moutte.net>
860 * gst/gstvalue.h: Fix prototypes.
862 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
864 * docs/gst/gstreamer-sections.txt:
865 * gst/gst.c: (gst_version_string):
867 * gst/gstversion.h.in:
868 * win32/common/libgstreamer.def:
869 add gst_version_string ()
871 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
875 * gst/gst.c: (init_post):
876 * win32/common/config.h.in:
878 * gst/gstcaps.c: (gst_caps_intersect):
879 use gint64, the range could be bigger than a guint
881 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
884 document potential problem in 2038
886 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
888 * gst/gstcaps.c: (gst_caps_intersect):
889 Fix guint j diving under 0
891 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
894 * win32/common/config.h:
895 * win32/common/config.h.in:
896 check for process.h, declares getpid() on Windows
898 include process.h if we have it
899 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
901 fix signedness issues
902 * win32/common/libgstreamer.def:
905 2005-10-16 Julien MOUTTE <julien@moutte.net>
907 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
908 fix. Because of unsigned ints, caps intersection was going nuts and
909 trying to access structures with G_MAXUINT index. That fixes
910 videotestsrc ! ffmpegcolorspace ! fakesink
911 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
914 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
917 use the gettext macro
918 * gst/elements/gstelements.c:
920 * gst/indexers/gstindexers.c:
921 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
922 * win32/common/config.h:
924 * win32/common/config.h.in:
925 add the template to generate config.h
926 * win32/common/gstenumtypes.c:
927 * win32/common/gstversion.h:
930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
932 * gst/gst.c: (gst_version):
933 * gst/gstversion.h.in:
936 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
939 Oops, add missing closing bracket.
941 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
944 use common m4's for argument checking
946 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
948 * docs/gst/gstreamer-sections.txt:
950 Add GST_EVENT_TYPE_NAME() macro.
952 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
955 * gst/gstpluginfeature.c:
957 privatize more symbols
959 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
962 add srcdir, builddir includes to GST_ALL_CFLAGS, since
963 everything that uses GStreamer API should have the includes
965 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
967 * docs/gst/gstreamer-sections.txt:
968 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
970 give each value a _get_type, removes the DATA exports
972 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
976 remove _gst_registry_auto_load, not used anymore
977 * gst/gstbin.c: (gst_bin_get_type):
979 * gst/gstelement.c: (gst_element_get_type):
981 * gst/gstobject.c: (gst_object_get_type):
983 * gst/gstpad.c: (gst_pad_get_type):
985 make _get_type functions similar, fixes data export from library
987 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
990 correctly make conditionals
991 * gst/elements/Makefile.am:
992 * gst/elements/gstelements.c:
993 fix typo causing fdsrc not to build
995 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
997 * testsuite/Makefile.am:
998 * testsuite/bytestream/.cvsignore:
999 * testsuite/bytestream/Makefile.am:
1000 * testsuite/bytestream/filepadsink.c:
1001 * testsuite/bytestream/gstbstest.c:
1002 * testsuite/bytestream/test1.c:
1003 * testsuite/bytestream/testfile1:
1004 * testsuite/caps/normalisation.c:
1005 * testsuite/caps/random.c: (main):
1006 * testsuite/cleanup/.cvsignore:
1007 * testsuite/cleanup/Makefile.am:
1008 * testsuite/cleanup/cleanup1.c:
1009 * testsuite/cleanup/cleanup2.c:
1010 * testsuite/cleanup/cleanup3.c:
1011 * testsuite/cleanup/cleanup4.c:
1012 * testsuite/cleanup/cleanup5.c:
1013 * testsuite/controller/interpolator.c:
1014 * testsuite/debug/printf_extension.c: (main):
1015 * testsuite/elements/tee.c:
1016 * testsuite/negotiation/.cvsignore:
1017 * testsuite/negotiation/Makefile.am:
1018 * testsuite/negotiation/pad_link.c:
1019 * testsuite/pad/Makefile.am:
1020 * testsuite/pad/chainnopull.c:
1021 * testsuite/pad/getnopush.c:
1022 * testsuite/pad/link.c:
1023 * testsuite/refcounting/sched.c: (create_pipeline):
1024 * testsuite/registry/Makefile.am:
1025 * testsuite/registry/gst-print-formats.c:
1026 * testsuite/schedulers/.cvsignore:
1027 * testsuite/schedulers/142183-2.c:
1028 * testsuite/schedulers/142183.c:
1029 * testsuite/schedulers/143777-2.c:
1030 * testsuite/schedulers/143777.c:
1031 * testsuite/schedulers/147713.c:
1032 * testsuite/schedulers/147819.c:
1033 * testsuite/schedulers/147894-2.c:
1034 * testsuite/schedulers/147894.c:
1035 * testsuite/schedulers/Makefile.am:
1036 * testsuite/schedulers/group_link.c:
1037 * testsuite/schedulers/queue_link.c:
1038 * testsuite/schedulers/relink.c:
1039 * testsuite/schedulers/unlink.c:
1040 * testsuite/schedulers/unref.c:
1041 * testsuite/schedulers/useless_iteration.c:
1042 * testsuite/states/bin.c:
1043 clean out/remove some stuff from the testsuite directories
1045 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1048 check for some headers
1049 * gst/elements/Makefile.am:
1050 * gst/elements/gstelements.c:
1051 don't compile fdsrc without sys/socket.h
1052 * gst/indexers/Makefile.am:
1053 * gst/indexers/gstindexers.c: (plugin_init):
1054 don't compile fileindex without mmap
1056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1063 * check/Makefile.am:
1064 * docs/gst/Makefile.am:
1065 * examples/helloworld/Makefile.am:
1067 * gst/base/Makefile.am:
1068 * gst/check/Makefile.am:
1069 * gst/elements/Makefile.am:
1070 * gst/indexers/Makefile.am:
1071 * gst/parse/Makefile.am:
1072 * libs/gst/controller/Makefile.am:
1073 * libs/gst/dataprotocol/Makefile.am:
1074 * examples/helloworld/helloworld.c: (event_loop):
1075 compile fixes, though it's not being compiled currently
1077 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1079 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1080 Add some simple tests for the new taglist date API.
1082 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1084 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1085 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1086 Beautify 'last-message' output: print 'none' for buffer timestamps
1087 and durations if none is set; improve alignment with next messages.
1089 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1091 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1092 * gst/gstpluginfeature.h:
1093 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1094 * gst/gstregistry.h:
1095 * docs/gst/gstreamer-sections.txt:
1096 Add new API to check plugin feature version requirements.
1098 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1099 Some basic tests for the above.
1101 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1103 * gst/gststructure.c: (gst_structure_to_string):
1104 guard against NULL printf - happens when for example
1105 a message structure with GstClock gets serialized
1107 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1109 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1110 Fix presumable copy'n'pasto.
1112 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1114 * gst/elements/gstfakesrc.h:
1115 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1116 * gst/elements/gsttypefindelement.c:
1118 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1119 I wonder if this could actually write +2GB files before
1121 2005-10-13 Andy Wingo <wingo@pobox.com>
1123 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1124 Fix Timmeke Waymans bug.
1125 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1126 string of the proper length to gst_caps_from_string. There's a
1127 potential for, before this fix, that this could cause someone
1128 connecting over the network to cause a segfault if the payload is
1131 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1133 * docs/design/draft-push-pull.txt:
1134 * docs/design/part-overview.txt:
1135 * docs/random/TODO-pre-0.9:
1136 * docs/random/old/ChangeLog.gstreamer:
1137 * gst/base/gstpushsrc.c:
1141 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1143 * gst/glib-compat.c: (gst_flags_get_first_value):
1144 * gst/glib-compat.h:
1145 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1146 (gst_value_compare_double), (gst_value_serialize_flags):
1147 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1153 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1155 * tools/gst-launch.c: (event_loop):
1156 print out clock nicely
1158 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1160 * docs/gst/gstreamer-sections.txt:
1162 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1163 (gst_tag_list_get_date_index):
1164 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1165 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1167 2005-10-13 Julien MOUTTE <julien@moutte.net>
1169 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1170 (gst_collectpads_chain):
1171 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1174 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1176 * docs/gst/gstreamer-sections.txt:
1179 * tools/gst-inspect.c: (main):
1180 * tools/gst-launch.c: (main):
1181 * tools/gst-run.c: (main):
1182 * tools/gst-xmlinspect.c: (main):
1183 fix GOption context leaks
1186 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1190 * win32/common/config.h:
1192 * win32/vs6/grammar.dsp:
1193 * win32/vs6/libgstelements.dsp:
1194 * win32/vs6/libgstreamer.dsp:
1197 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1200 * gst/base/gstbasesrc.c: (gst_base_src_query):
1201 fix more guint64<->gdouble conversions
1203 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1206 add win32-update target
1207 * win32/common/gstconfig.h:
1208 * win32/common/gstenumtypes.c:
1209 * win32/common/gstenumtypes.h:
1210 * win32/common/gstversion.h:
1211 add files that visual studio can't generate
1213 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1216 add a win32-update target
1219 2005-10-12 Wim Taymans <wim@fluendo.com>
1221 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1222 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1223 * gst/gstelement.c: (gst_element_commit_state),
1224 (gst_element_set_state):
1225 Protect flags with proper lock.
1226 unref provided cached clock in dispose.
1228 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1231 * gst/gstminiobject.h:
1233 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1234 removed unused flags from miniobject
1237 2005-10-12 Wim Taymans <wim@fluendo.com>
1239 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1240 (gst_file_sink_event), (gst_file_sink_render):
1241 Flush before seeking.
1243 2005-10-12 Andy Wingo <wingo@pobox.com>
1245 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1246 always been the case.
1248 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1250 * check/gst/gstbin.c: (GST_START_TEST):
1251 * docs/gst/gstreamer-sections.txt:
1252 * gst/base/gstbasesink.c: (gst_base_sink_init):
1253 * gst/base/gstbasesrc.c: (gst_base_src_init),
1254 (gst_base_src_get_range), (gst_base_src_check_get_range),
1255 (gst_base_src_start), (gst_base_src_stop):
1256 * gst/base/gstbasesrc.h:
1257 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1258 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1259 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1263 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1265 * gst/gstelement.c: (gst_element_is_locked_state),
1266 (gst_element_set_locked_state), (gst_element_commit_state),
1267 (gst_element_set_state):
1269 * gst/gstindex.c: (gst_index_init):
1271 * gst/gstminiobject.h:
1272 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1273 (gst_object_set_parent):
1275 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1276 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1278 * gst/gstpadtemplate.h:
1279 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1280 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1281 * gst/gstpipeline.h:
1282 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1283 (gst_file_index_commit):
1284 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1285 * testsuite/pad/link.c: (gst_test_src_init),
1286 (gst_test_filter_init), (gst_test_sink_init):
1287 * testsuite/states/locked.c: (main):
1288 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1289 moved bitshift from macro to enum definition
1291 2005-10-12 Wim Taymans <wim@fluendo.com>
1293 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1294 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1295 (gst_file_sink_render):
1296 Some more debugging info.
1298 2005-10-12 Wim Taymans <wim@fluendo.com>
1300 * docs/design/part-states.txt:
1301 * tools/gst-launch.c: (main):
1303 Revert non-intentional change.
1305 2005-10-12 Wim Taymans <wim@fluendo.com>
1307 * check/gst/gstbin.c: (GST_START_TEST):
1308 * check/gst/gstelement.c: (GST_START_TEST):
1309 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1310 * check/gst/gstghostpad.c: (GST_START_TEST):
1311 * check/gst/gstpipeline.c: (GST_START_TEST):
1312 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1313 * check/states/sinks.c: (GST_START_TEST):
1314 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1315 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1316 (gst_bin_remove_func), (gst_bin_get_state_func),
1317 (gst_bin_recalc_state), (gst_bin_change_state_func),
1319 * gst/gstelement.c: (gst_element_get_state_func),
1320 (gst_element_get_state), (gst_element_abort_state),
1321 (gst_element_commit_state), (gst_element_set_state),
1322 (gst_element_change_state), (gst_element_change_state_func):
1324 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1325 (gst_pipeline_provide_clock_func):
1326 * gst/gstutils.c: (gst_element_link_pads_filtered):
1327 * tools/gst-launch.c: (main):
1328 * tools/gst-typefind.c: (main):
1329 Use GstClockTime in _get_state() instead of GTimeVal.
1330 Remove old code in gstutils.c
1332 2005-10-12 Andy Wingo <wingo@pobox.com>
1334 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1337 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1338 there is no task. Shouldn't affect any code, as nothing in our
1339 plugins checks this return value.
1340 (gst_pad_stop_task): Also take the stream lock if the pad has no
1343 2005-10-12 Wim Taymans <wim@fluendo.com>
1345 * gst/gstpad.c: (pre_activate), (post_activate),
1346 (gst_pad_activate_pull), (gst_pad_activate_push):
1347 Cleanup activation code. Reset old state if
1350 2005-10-12 Wim Taymans <wim@fluendo.com>
1352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1353 (gst_base_sink_change_state):
1354 No need to prerol after receiving EOS.
1356 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1357 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1358 * gst/elements/gstidentity.c: (gst_identity_event):
1359 Print events more verbosely.
1361 2005-10-12 Wim Taymans <wim@fluendo.com>
1363 * check/Makefile.am:
1364 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1365 * check/states/sinks2.c:
1366 Moved sinks2 testcode in sinks check.
1368 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1369 (gst_bin_remove_func), (gst_bin_recalc_state),
1370 (gst_bin_change_state_func), (bin_bus_handler):
1371 Fix potential race condition when _get_state() iterated over an
1372 ASYNC element right before it posted a state completion.
1375 Do proper cast here.
1377 * gst/gstevent.c: (gst_event_new_newsegment),
1378 (gst_event_parse_newsegment):
1379 A playback rate of 0.0 is not allowed.
1381 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1383 * win32/common/config.h:
1384 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1385 (_trewinddir), (_ttelldir), (_tseekdir):
1386 * win32/common/dirent.h:
1387 * win32/common/gtchar.h:
1388 * win32/common/libgstbase.def:
1389 * win32/common/libgstreamer.def:
1390 * win32/vs6/grammar.dsp:
1391 * win32/vs6/gst_inspect.dsp:
1392 * win32/vs6/gst_launch.dsp:
1393 * win32/vs6/gstreamer.dsw:
1394 * win32/vs6/libgstbase.dsp:
1395 * win32/vs6/libgstelements.dsp:
1396 * win32/vs6/libgstreamer.dsp:
1397 Visual Studio 6 project files, and a new common directory.
1400 2005-10-11 Wim Taymans <wim@fluendo.com>
1402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1403 (gst_base_sink_do_sync), (gst_base_sink_query),
1404 (gst_base_sink_change_state):
1405 * gst/base/gstbasesink.h:
1406 Correctly parse newsegment info.
1408 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1410 * gst/gst.c: (init_post):
1411 split plugin paths correctly
1413 2005-10-11 Wim Taymans <wim@fluendo.com>
1415 * check/gst/gstevent.c: (GST_START_TEST):
1416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1417 (gst_base_sink_change_state):
1418 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1419 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1420 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1421 * gst/gstevent.c: (gst_event_new_newsegment),
1422 (gst_event_parse_newsegment):
1424 Added extra flag to newsegment for future API freeze.
1425 Updated check and base elements.
1427 2005-10-11 Julien MOUTTE <julien@moutte.net>
1429 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1430 (gst_collectpads_add_pad), (gst_collectpads_pop),
1431 (gst_collectpads_event), (gst_collectpads_chain):
1432 * gst/base/gstcollectpads.h: Handle EOS correctly.
1434 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1436 * tools/gst-launch.c: (main):
1437 more null protecting
1439 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1441 * gst/gst-i18n-lib.h:
1442 check for ENABLE_NLS, not GETTEXT_PACKAGE
1443 * gst/gstregistry.c: (gst_registry_add_plugin),
1444 (gst_registry_scan_path_level),
1445 (_gst_registry_remove_cache_plugins):
1446 protect possibly NULL strings
1447 * gst/parse/types.h:
1448 config.h already included before
1449 * tools/gst-inspect.c: (main):
1450 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1451 check for ENABLE_NLS, not GETTEXT_PACKAGE
1452 * tools/gst-launch.c: (main):
1453 check for ENABLE_NLS, not GETTEXT_PACKAGE
1455 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1458 if we don't have glib, fail before testing 2.8
1459 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1460 fix a leak, should fix plugins-base testsuite
1462 2005-10-11 Andy Wingo <wingo@pobox.com>
1464 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1465 take the mode we're going to as an arg. Go head and set the mode
1466 and flushing flags now, so that if the activate function starts a
1467 thread all the flags will be in the right state.
1468 (post_activate): Renamed also. Just handle making sure streaming
1469 finishes for the deactivation case, and setting the deactivated
1471 (gst_pad_set_active): Complain loudly if deactivation fails.
1472 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1473 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1474 remove the terrible hack.
1476 2005-10-11 Wim Taymans <wim@fluendo.com>
1478 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1479 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1480 (gst_bin_recalc_state), (gst_bin_change_state_func),
1481 (gst_bin_dispose), (bin_bus_handler):
1483 Prepare to make current EOS message queue more generic.
1486 * gst/gstevent.c: (gst_event_new_newsegment),
1487 (gst_event_parse_newsegment):
1489 Rename base to stream_time.
1494 2005-10-11 Wim Taymans <wim@fluendo.com>
1496 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1497 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1498 (gst_bin_change_state_func), (bin_bus_handler):
1500 Work on proper clock selection.
1502 2005-10-11 Edward Hervey <edward@fluendo.com>
1504 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1505 * libs/gst/controller/gstcontroller.h:
1506 Added GList* version of _remove_properties() in order to be able to wrap
1509 2005-10-11 Wim Taymans <wim@fluendo.com>
1511 * docs/design/part-states.txt:
1514 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1515 (gst_bin_change_state_func), (bin_bus_handler):
1516 Doc updates. Don't distribute the same clock over and over again.
1522 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1523 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1524 (gst_pad_send_event):
1526 Make probe emission threadsafe again.
1527 Register quarks and move _get_name() from utils.
1530 * gst/gstpipeline.c: (gst_pipeline_class_init),
1531 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1532 Only redistribute the clock of it changed.
1534 * gst/gstsystemclock.h:
1539 Moved the _flow_get_name() to GstPad.
1541 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1543 * check/gst-libs/gdp.c: (GST_START_TEST):
1544 * check/gst/gstcaps.c: (GST_START_TEST):
1545 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1546 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1547 (gst_dp_packet_from_caps):
1548 fix more valgrind warnings before turning up the heat
1550 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1552 * gst/parse/grammar.y:
1553 some cleanup before the hacking
1555 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1557 * gst/base/gstbasesrc.c: (gst_base_src_query):
1559 * gst/gstutils.c: (gst_guint64_to_gdouble),
1560 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1562 externalize, basesrc uses it
1563 obviously the implementation needs testing
1565 2005-10-10 Wim Taymans <wim@fluendo.com>
1567 * tests/sched/Makefile.am:
1568 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1569 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1571 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1573 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1574 apparently converting from guint64 to double is not implemented
1577 2005-10-10 Wim Taymans <wim@fluendo.com>
1579 * check/Makefile.am:
1580 * check/generic/states.c: (GST_START_TEST):
1581 * check/gst/gstbin.c: (GST_START_TEST):
1582 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1583 * check/states/sinks.c: (GST_START_TEST):
1584 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1586 Check fixes, use API as stated in design docs, remove hacks.
1588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1589 (gst_base_sink_change_state):
1590 Catch stopping our task while we're shutting down.
1592 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1593 (gst_bin_remove_func), (gst_bin_get_state_func),
1594 (gst_bin_recalc_state), (gst_bin_change_state_func),
1597 * gst/gstelement.c: (gst_element_init),
1598 (gst_element_get_state_func), (gst_element_abort_state),
1599 (gst_element_commit_state), (gst_element_lost_state),
1600 (gst_element_set_state), (gst_element_change_state),
1601 (gst_element_change_state_func):
1603 New state change algorithm (see #318116)
1605 * gst/gstpipeline.c: (gst_pipeline_class_init),
1606 (gst_pipeline_init), (gst_pipeline_set_property),
1607 (gst_pipeline_get_property), (do_pipeline_seek),
1608 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1609 * gst/gstpipeline.h:
1610 Remove crude state change hacks.
1615 * tools/gst-launch.c: (main):
1616 Fixes for state change. Needs some more work to fully use the
1619 2005-10-10 Andy Wingo <wingo@pobox.com>
1621 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1623 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1624 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1627 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1629 * gst/gstiterator.c: (gst_iterator_new):
1630 Fix my previous commit: GTypes passed to gst_iterator_new()
1631 can be fundamental types.
1633 2005-10-10 Wim Taymans <wim@fluendo.com>
1635 * gst/gstelement.c: (gst_element_iterate_pad_list),
1636 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1637 (gst_element_iterate_sink_pads):
1638 Use src/sink pads lists for the respective iterators instead
1641 2005-10-10 Andy Wingo <wingo@pobox.com>
1643 Merged in popt removal + GOption addition patch from Ronald, bug
1646 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1647 GstElement macros around, remove popt-related symbols, add goption
1650 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1652 * docs/gst/Makefile.am:
1653 * docs/libs/Makefile.am: No POPT_CFLAGS.
1655 * examples/manual/Makefile.am:
1656 * docs/manual/basics-init.xml: Doc updates with an example.
1658 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1659 (gst_init), (parse_one_option), (parse_goption_arg):
1660 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1661 bit of hand merging and debugging to get the GOption stuff working
1664 * tests/Makefile.am:
1665 * tools/Makefile.am:
1666 * tools/gst-inspect.c: (main):
1667 * tools/gst-launch.c: (main):
1668 * tools/gst-run.c: (main):
1669 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1671 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1673 * gst/gstiterator.c: (gst_iterator_new):
1674 Add assertions to make sure passed GType is likely to really
1675 be a GType (as the compiler won't catch it if the size and
1676 GType arguments get mixed up, see #318447).
1678 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1680 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1682 * gst/gstbin.c: (gst_bin_iterate_sorted):
1683 Pass GType and size arguments to gst_iterator_new() in the right
1684 order (maybe we should make _new() take the GType as first argument
1685 just like _new_list()?) (#318447).
1688 2005-10-10 Wim Taymans <wim@fluendo.com>
1690 * gst/gstelement.c: (gst_element_finalize):
1691 And free the GStaticRecMutex too
1693 2005-10-10 Andy Wingo <wingo@pobox.com>
1695 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1696 Allocate and free the mutex properly.
1698 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1700 (GstElement): The state_lock is now recursive. Rebuild your
1701 plugins, suckers. Old macros adapted.
1703 * docs/gst/gstreamer-sections.txt: Doc updates.
1706 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1707 (g_static_rec_cond_wait): Ported from state changes patch, while
1708 we wait on bug #317802 to be solved in a well-distributed GLib.
1710 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1711 gst_element_change_state, variable name changes.
1712 (gst_element_change_state): Split out of gst_element_set_state in
1713 preparation for the state change merge. Doesn't pay attention to
1714 the 'transition' argument.
1715 (gst_element_set_state): Updates, hopefully purely cosmetic.
1716 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1718 (gst_element_get_state_func): Renamed from get_state, cosmetic
1721 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1723 * gst/elements/gstelements.c:
1724 * win32/GStreamer.vcproj:
1726 * win32/dirent.c: (_tseekdir):
1727 * win32/gst-inspect.vcproj:
1728 * win32/gst-launch.vcproj:
1729 * win32/gstconfig.h:
1730 * win32/gstelements.vcproj:
1731 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1732 * win32/gstreamer.def:
1734 updates for the win32 build (patch from Sebastien Moutte)
1736 2005-10-10 Andy Wingo <wingo@pobox.com>
1738 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1739 gst_bin_get_state, cleaned up (but no logic changes).
1740 (bin_element_is_sink): Comment updates.
1741 (sink_iterator_filter): Remove needless cast.
1742 (gst_bin_iterate_sinks): Doc update.
1743 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1744 cleaned up (but no logic changes).
1746 * check/states/sinks.c (test_src_sink): Cleanups from the state
1748 (test_livesrc_sink): Sync on the state.
1750 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1751 the state change patch.
1753 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1756 * check/gst/gstbin.c: Merge in some style fixes and additional
1757 checks from Wim's state change patch.
1759 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1761 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1762 (gst_type_find_helper):
1763 Check whether we have the requested data already in our list of
1764 cached buffers before pulling a new buffer; also make the buffer
1765 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1767 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1772 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1773 don't use long long, it's not portable. Replacing with
1774 gint64 seems to work; let's hope no skeletons fall out of the closet.
1776 2005-10-10 Andy Wingo <wingo@pobox.com>
1778 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1780 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1782 * docs/gst/gstreamer-sections.txt:
1787 * gst/gstmessage.c: (gst_message_parse_state_changed):
1790 more docs, fix compilation
1792 2005-10-09 Philippe Khalaf <burger@speedy.org>
1794 Fixed a few forgotten variables on previous commit
1796 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1798 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1799 Fix evil typefind crasher: getrange() might return a short
1800 buffer at the end of a file, but gst_type_find_peek() must
1801 either return the full data as requested or NULL, but
1802 never a short buffer.
1804 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1806 * gst/gstmessage.c: (gst_message_new_state_changed),
1807 (gst_message_parse_state_changed):
1809 don't use "new", it's a C++ keyword
1811 2005-10-08 Wim Taymans <wim@fluendo.com>
1813 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1814 * gst/gstelement.c: (gst_element_post_message):
1815 * gst/gstpipeline.c: (gst_pipeline_change_state):
1816 Small docs and debug updates.
1818 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1820 * docs/gst/gstreamer-sections.txt:
1821 * gst/gstelementfactory.c:
1826 2005-10-08 Wim Taymans <wim@fluendo.com>
1828 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1829 (gst_bin_dispose), (bin_bus_handler):
1830 Fix typos, add comments.
1831 Clear EOS list when going to PAUSED from any direction and do it
1832 in a threadsafe way.
1833 Get base time in a threadsafe way too.
1834 Fix confusing debug in the change_state function.
1835 Various other small cleanups.
1837 * gst/gstelement.c: (gst_element_post_message):
1838 Fix very verbose bus posting code.
1840 * gst/gstpipeline.c: (gst_pipeline_class_init),
1841 (gst_pipeline_set_property), (gst_pipeline_get_property),
1842 (gst_pipeline_change_state):
1843 Small ARG_ -> PROP_ cleanup
1845 2005-10-08 Wim Taymans <wim@fluendo.com>
1847 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1848 Do a less CPU demanding EOS check because we can.
1850 2005-10-08 Wim Taymans <wim@fluendo.com>
1852 * libs/gst/dataprotocol/dataprotocol.c:
1853 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1854 (gst_dp_packet_from_event):
1855 * libs/gst/dataprotocol/dataprotocol.h:
1856 * libs/gst/dataprotocol/dp-private.h:
1857 It's about time we bump the version number.
1858 Since event types don't fit in the guint8 anymore describing
1859 the payload type, make payload type 16 bits wide.
1861 2005-10-08 Wim Taymans <wim@fluendo.com>
1863 * docs/design/part-TODO.txt:
1864 * docs/design/part-clocks.txt:
1865 * docs/design/part-events.txt:
1866 * docs/design/part-gstbin.txt:
1867 * docs/design/part-gstelement.txt:
1868 * docs/design/part-gstpipeline.txt:
1869 * docs/design/part-live-source.txt:
1870 * docs/design/part-messages.txt:
1871 * docs/design/part-overview.txt:
1872 * docs/design/part-states.txt:
1875 2005-10-08 Wim Taymans <wim@fluendo.com>
1879 Fix event quark registration.
1880 Add some space between events so we can insert them in the
1883 2005-10-08 Wim Taymans <wim@fluendo.com>
1885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1886 (gst_base_sink_handle_buffer):
1893 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1894 (gst_queue_set_property), (gst_queue_get_property):
1896 Remove old unused properties.
1898 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1899 * docs/gst/gstreamer-sections.txt:
1902 * gst/gstminiobject.c:
1903 * gst/gstminiobject.h:
1907 lots of new docs and doc fixes
1909 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1911 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1913 * gst/gstregistry.c: (gst_registry_lookup_locked),
1914 (gst_registry_scan_path_level):
1915 * gst/gstregistryxml.c: (load_plugin):
1916 Only ever load one plugin for a given plugin basename.
1917 This ensures correct overriding of GST_PLUGIN_PATH over
1918 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1919 system installed plugins.
1921 2005-10-08 Wim Taymans <wim@fluendo.com>
1923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1924 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1925 Prepare for doing QOS.
1927 2005-10-08 Wim Taymans <wim@fluendo.com>
1929 * check/gst/gstbin.c: (GST_START_TEST):
1930 * check/pipelines/cleanup.c: (GST_START_TEST):
1931 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1932 Allow new clock message too.
1934 2005-10-08 Wim Taymans <wim@fluendo.com>
1936 * gst/gstmessage.c: (gst_message_new_error),
1937 (gst_message_new_warning), (gst_message_new_tag),
1938 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1939 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1940 (gst_message_new_segment_start), (gst_message_new_segment_done),
1941 (gst_message_parse_state_changed),
1942 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1943 (gst_message_parse_new_clock):
1945 Also carry the clock in question.
1947 2005-10-08 Wim Taymans <wim@fluendo.com>
1949 * gst/gstmessage.c: (gst_message_new_custom),
1950 (gst_message_new_eos), (gst_message_new_error),
1951 (gst_message_new_warning), (gst_message_new_tag),
1952 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1953 (gst_message_new_new_clock), (gst_message_new_segment_start),
1954 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1955 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1958 Added clock related messages.
1960 * gst/gstpipeline.c: (gst_pipeline_change_state):
1961 Post message when the clock changed.
1963 * tools/gst-launch.c: (event_loop):
1966 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1968 * tools/gst-inspect.c: (print_element_properties_info):
1969 Can't pass NULL strings to g_print() on windows.
1971 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1974 * docs/gst/Makefile.am:
1975 * docs/gst/gstreamer-docs.sgml:
1976 * docs/gst/running.xml:
1977 * docs/version.entities.in:
1978 add a chapter on running GStreamer.
1979 document GST_DEBUG and GST_PLUGIN* env vars
1981 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1986 remove PLUGINS_BUILDDIR stuff
1987 * gst/gst.c: (init_post):
1988 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1990 remove, it was condescending and not needed
1992 2005-10-08 Wim Taymans <wim@fluendo.com>
1994 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1995 (gst_base_sink_handle_object), (gst_base_sink_event),
1996 (gst_base_sink_wait), (gst_base_sink_handle_event),
1997 (gst_base_sink_change_state):
1998 * gst/base/gstbasesink.h:
1999 Repost EOS message while going to PLAYING if still EOS.
2000 Make sure that when receiving a FLUSH_START we don't attempt
2001 to sync on the clock anymore.
2003 2005-10-08 Wim Taymans <wim@fluendo.com>
2005 * tools/gst-launch.c: (event_loop):
2006 Better message printout.
2008 2005-10-08 Wim Taymans <wim@fluendo.com>
2010 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2011 (gst_bin_child_proxy_get_children_count):
2012 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2013 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2014 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2015 (gst_child_proxy_set_valist):
2016 * gst/parse/grammar.y:
2017 Make ChildProxy threadsafe and fix mem leaks.
2019 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2021 * gst/gst.c: (init_post):
2022 debug the GST_PLUGIN_ env vars
2024 2005-10-08 Wim Taymans <wim@fluendo.com>
2026 * check/gst/gstbin.c: (GST_START_TEST):
2027 * check/gst/gstmessage.c: (GST_START_TEST):
2028 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2029 * gst/gstelement.c: (gst_element_commit_state),
2030 (gst_element_lost_state):
2031 * gst/gstmessage.c: (gst_message_new_state_changed),
2032 (gst_message_parse_state_changed):
2034 * tools/gst-launch.c: (event_loop):
2035 Added extra field to STATE_CHANGE message with the pending
2036 state, which will be different from the new state soon.
2038 2005-10-08 Wim Taymans <wim@fluendo.com>
2040 * gst/gstbus.c: (gst_bus_pop):
2042 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2043 Small cleanups and doc updates.
2045 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2047 * gst/gst.c: (init_pre):
2048 * gst/gstbin.c: (gst_bin_add_func):
2049 log distributing clocks and base time
2050 * gst/gstregistry.c: (gst_registry_add_plugin),
2051 (gst_registry_scan_path_level), (gst_registry_scan_path):
2052 clean up the debugging output a little
2053 * gst/gstutils.c: (gst_element_state_get_name):
2054 warn about a memleak (I've actually seen this be used, though
2055 it was probably a bug)
2057 2005-10-07 Wim Taymans <wim@fluendo.com>
2059 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2060 (gst_base_src_init), (gst_base_src_default_newsegment),
2061 (gst_base_src_newsegment), (gst_base_src_do_seek),
2062 (gst_base_src_loop), (gst_base_src_start):
2063 * gst/base/gstbasesrc.h:
2064 Make the newsegment event customizable by subclasses.
2066 2005-10-07 Wim Taymans <wim@fluendo.com>
2068 * gst/gstevent.c: (gst_event_new_buffersize),
2069 (gst_event_parse_buffersize):
2071 New event for future idea.
2073 2005-10-07 Andy Wingo <wingo@pobox.com>
2075 * gst/gstelement.c (gst_element_post_message): Doc update.
2077 * docs/gst/gstreamer-sections.txt: Update.
2079 * gst/gstmessage.c (gst_message_new_application): Made into a
2080 function like honest API calls.
2081 (gst_message_new_element): New message type.
2083 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2085 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2086 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2089 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2090 NO_PREROLL from gst_element_change_state to fall through.
2092 2005-10-07 Wim Taymans <wim@fluendo.com>
2094 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2095 (gst_ghost_pad_do_activate_push):
2096 Activating a ghostpad with no internal pad in push mode
2099 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2102 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2103 Fixes compilation on Windows.
2105 2005-10-07 Michael Smith <msmith@fluendo.com>
2107 * tools/gst-inspect.c:
2108 Print out feature and plugin count at the end when printing out
2111 2005-10-04 Michael Smith <msmith@fluendo.com>
2113 * gst/gsterror.c: (_gst_stream_errors_init):
2114 Add another error string used in a few existing plugins.
2117 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2118 * tools/gst-inspect.c: (print_element_info):
2119 When a feature disappears from a plugin (and the feature exists in
2120 the cached registry file), things went horribly wrong. This isn't a
2121 complete fix, we should actually be removing the 'missing' features
2122 from the features list when we load the actual plugin. That's not
2125 2005-10-04 Johan Dahlin <johan@gnome.org>
2127 * check/gst/gstiterator.c: (GST_START_TEST):
2128 * gst/gstbin.c: (gst_bin_iterate_elements),
2129 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2130 * gst/gstelement.c: (gst_element_iterate_pads):
2131 * gst/gstformat.c: (gst_format_iterate_definitions):
2132 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2133 (gst_iterator_new_list), (gst_iterator_filter):
2134 * gst/gstiterator.h:
2135 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2136 Add a GType to GstIterator, update callsites and tests.
2138 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2140 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2141 give events a chance to be handled by event probes when the pad
2144 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2146 * gst/gstevent.c: (gst_event_type_get_name),
2147 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2149 add string representations for event types
2151 2005-10-06 Wim Taymans <wim@fluendo.com>
2153 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2154 Don't use NULL pointers.
2156 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2158 * gst/gst_private.h:
2162 * gst/gstpluginfeature.c:
2163 widen the debug category in output to fit the biggest one we have
2164 add a bus category and use it
2165 play with the colors
2166 fix up some categories
2168 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2170 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2171 add push activation of sink ghost pads.
2172 Andye, please verify
2174 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2176 * gst/gstutils.c: (gst_element_link_pads):
2177 fix a bug in the case where neither element has a pad
2178 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2179 add a test for that case
2181 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2183 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2184 emit have-data before checking for peers. This allows
2185 for probe handlers to connect elements. This helps autopluggers.
2186 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2188 add six checks, linked/unlinked with no/true/false probe
2190 2005-10-04 Wim Taymans <wim@fluendo.com>
2192 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2193 (gst_fake_sink_event), (gst_fake_sink_preroll),
2194 (gst_fake_sink_render), (gst_fake_sink_change_state):
2195 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2196 (gst_fake_src_get_property), (gst_fake_src_create),
2197 (gst_fake_src_stop):
2198 * gst/elements/gstidentity.c: (gst_identity_stop):
2199 Protect last_message with lock.
2201 2005-10-04 Edward Hervey <edward@fluendo.com>
2204 Added precision in the comments for GST_FORMAT_DEFAULT
2206 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2208 * tools/gst-launch.c: (main):
2209 Don't try to run erroneous pipelines.
2211 2005-10-04 Julien MOUTTE <julien@moutte.net>
2213 * gst/gstbus.c: We don't need this header.
2215 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2220 === release 0.9.3 ===
2222 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2226 Releasing 0.9.3, "Unregistered"
2228 2005-10-03 Andy Wingo <wingo@pobox.com>
2230 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2231 whereby calling a pad's activatepush() function can start a thread
2232 that starts to push or pull before the pad gets the FLUSHING flag
2233 unset. Hack around it by holding the stream lock until the flag is
2234 set. Need to replace this with a proper solution. Together with
2235 the ghost pad fixes, this fixes mp3 playing/tagreading.
2237 * docs/design/part-gstghostpad.txt: Add a note about activation of
2238 proxy pads outside of ghost pads.
2240 * gst/gstghostpad.c: Implement the ghost pad activation design.
2242 2005-10-02 Andy Wingo <wingo@pobox.com>
2244 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2245 It is volatile, after all.
2247 * docs/design/part-gstghostpad.txt: Flesh out activation with
2250 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2253 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2256 Fix (unused) AM_CONDITIONAL tests.
2258 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2260 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2262 * gst/gstutils.c: (gst_pad_query_convert):
2263 Add assertion that makes sure src_val is >=0, just like
2264 gst_query_new_convert() has. (#315895)
2266 2005-09-30 Edward Hervey <edward@fluendo.com>
2268 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2269 Let's not iterate pads we're not interested in, it avoids getting
2270 sky-high refcounts on sinkpad.
2272 2005-09-30 Wim Taymans <wim@fluendo.com>
2274 * gst/gstelement.c: (gst_element_set_state),
2275 (gst_element_change_state):
2276 Small tweak, element in ASYNC remains ASYNC.
2278 2005-09-30 Wim Taymans <wim@fluendo.com>
2280 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2281 Only error is an error.
2283 * gst/gstbin.c: (gst_bin_change_state):
2286 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2287 Also call pad_block in pad alloc.
2289 * gst/gstutils.c: (gst_flow_get_name):
2292 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2294 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2295 (gst_base_src_get_range):
2296 Fix documentation typos. Add some more debug info.
2298 2005-09-29 David Schleef <ds@schleef.org>
2300 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2301 more end-user friendly.
2302 * tools/gst-inspect.c: (main): Check if command-line argument is
2303 a file and attempt to load that file as a plugin.
2305 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2307 * check/gst/gstbin.c:
2308 * check/states/sinks.c:
2309 fix tests for the new warning
2310 * check/gst/gstpipeline.c:
2311 add a test for pipeline and bus interaction
2313 elements should be NULL if they get disposed; add a warning if not
2315 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2318 for 2.6 refcounting, make debug log more correct by printing
2319 the actual refcounts at the time of swap (Wim)
2321 2005-09-29 Andy Wingo <wingo@pobox.com>
2323 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2324 removes signal watches previously added via
2325 gst_bus_add_signal_watch.
2326 (gst_bus_add_signal_watch): Don't return the source id, just store
2327 it on the bus if there wasn't an id already.
2329 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2330 add_signal_watch and remove_signal_watch.
2332 2005-09-29 Edward Hervey <edward@fluendo.com>
2334 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2335 Better if we actually iterate the list :)
2337 2005-09-29 Wim Taymans <wim@fluendo.com>
2339 * check/gst/gstbin.c: (GST_START_TEST):
2340 Change for new bus API.
2342 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2343 (send_messages), (GST_START_TEST), (gstbus_suite):
2344 Change for new bus signal API.
2346 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2347 (gst_bus_source_prepare), (gst_bus_source_check),
2348 (gst_bus_create_watch), (gst_bus_add_watch_full),
2349 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2350 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2352 Remove support for multiple GSources operating on different
2353 message types as it is too complex and unneeded when using
2355 Added support for receiving signals from the bus.
2357 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2359 * docs/libs/tmpl/gstdataprotocol.sgml:
2360 * docs/manual/advanced-dataaccess.xml:
2361 * gst/elements/gstcapsfilter.c:
2363 rename filter-caps to caps property
2365 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2367 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2368 More robust fraction string parsing.
2370 * docs/pwg/appendix-porting.xml:
2371 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2373 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2375 * gst/gstcaps.c: (gst_caps_do_simplify):
2376 Thou shalt not free a structure and then continue using it
2377 in the next loop iteration.
2379 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2381 Add test case for caps simplification.
2383 2005-09-29 Wim Taymans <wim@fluendo.com>
2385 * check/gst/gstbin.c: (GST_START_TEST):
2388 2005-09-29 Wim Taymans <wim@fluendo.com>
2390 * check/gst/gstbin.c: (GST_START_TEST):
2393 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2394 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2395 (find_element), (gst_bin_sort_iterator_next),
2396 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2397 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2398 (gst_bin_change_state), (gst_bin_dispose):
2399 A bin does not have a bus, it gets the bus from the parent.
2401 * gst/gstelement.c: (gst_element_requires_clock),
2402 (gst_element_provides_clock), (gst_element_is_indexable),
2403 (gst_element_is_locked_state), (gst_element_change_state),
2404 (gst_element_set_bus_func):
2407 * gst/gstpipeline.c: (gst_pipeline_class_init),
2408 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2409 The pipeline provides a bus.
2411 2005-09-28 Johan Dahlin <johan@gnome.org>
2413 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2414 gst_structure_get_enum instead of gst_structure_get_int
2416 * gst/gststructure.c (gst_structure_get_enum): Impl.
2418 * gst/gststructure.h (gst_structure_get_enum): Add
2420 * docs/gst/gstreamer-sections.txt: Ditto
2422 * gst/gstmessage.c (gst_message_new_state_changed): Use
2423 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2424 which does introspection.
2425 Reviewed by Christian Schaller
2427 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2429 * gst/gstinfo.c: (gst_debug_log_default):
2430 don't do dummy g_strdup()s
2431 * libs/gst/controller/gstcontroller.c:
2432 (on_object_controlled_property_changed),
2433 (gst_controlled_property_new), (gst_controller_new_valist),
2434 (gst_controller_new_list),
2435 (gst_controller_remove_properties_valist), (gst_controller_set),
2436 (gst_controller_get), (gst_controller_sync_values),
2437 (gst_controller_get_value_array), (_gst_controller_class_init),
2438 (gst_controller_get_type):
2439 * libs/gst/controller/gstcontroller.h:
2440 * libs/gst/controller/gstinterpolation.c:
2441 (gst_controlled_property_find_timed_value_node):
2442 convert // to /**/ comments
2444 2005-09-28 Wim Taymans <wim@fluendo.com>
2446 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2447 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2448 (gst_bus_sync_signal_handler):
2450 Added async-message and sync-message signals to the bus.
2451 Added helper BusFunc to emit signals for all posted messages.
2453 * gst/gstmessage.c: (gst_message_type_get_name),
2454 (gst_message_type_to_quark), (gst_message_get_type):
2456 Register quarks for message names.
2458 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2460 * docs/libs/gstreamer-libs-sections.txt:
2461 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2462 (gst_controller_new_list):
2463 * libs/gst/controller/gstcontroller.h:
2464 added another constructor for language bindings
2466 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2468 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2472 * gst/gstinfo.c: (_gst_debug_init):
2473 slightly more readable color for refcount debugging
2475 2005-09-28 Wim Taymans <wim@fluendo.com>
2477 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2478 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2479 (find_element), (gst_bin_sort_iterator_next),
2480 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2481 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2482 (gst_bin_change_state), (gst_bin_dispose):
2483 Small doc fixes. get_clock -> provide_clock.
2485 * gst/gstelement.c: (gst_element_class_init),
2486 (gst_element_provides_clock), (gst_element_provide_clock),
2487 (gst_element_get_clock), (gst_element_commit_state),
2488 (gst_element_lost_state):
2490 Make get/set_clock() symetric. Add provide_clock vmethod since
2491 that is actually what this function does.
2493 * gst/gstpipeline.c: (gst_pipeline_class_init),
2494 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2495 (gst_pipeline_get_clock):
2496 get_clock -> provide_clock.
2498 2005-09-28 Andy Wingo <wingo@pobox.com>
2500 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2501 lieu of real docs...
2503 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2505 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2507 * gst/elements/gstcapsfilter.c:
2508 * gst/elements/gstfakesink.c:
2509 * gst/elements/gstfakesrc.c:
2510 * gst/elements/gstfdsink.c:
2511 * gst/elements/gstfdsrc.c:
2512 * gst/elements/gstfilesink.c:
2513 * gst/elements/gstfilesrc.c:
2514 * gst/elements/gstidentity.c:
2515 * gst/elements/gsttee.c:
2516 * gst/elements/gsttypefindelement.c:
2517 Make element details static.
2519 2005-09-28 Wim Taymans <wim@fluendo.com>
2521 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2522 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2523 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2524 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2525 (gst_bin_change_state), (gst_bin_dispose):
2526 Some documentation updates.
2527 Clean up dispose handlers.
2529 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2530 * gst/gstpad.c: (gst_pad_dispose):
2531 Clean up dispose handler.
2533 * gst/gstpipeline.c: (gst_pipeline_change_state):
2534 Removed spurious UNLOCK.
2536 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2538 * docs/gst/gstreamer-sections.txt:
2539 * gst/base/gstbasesrc.h:
2544 * gst/gstpipeline.c:
2545 * gst/gstpipeline.h:
2548 added two new functions to the docs
2549 documents all undocumented GstXXXFlags
2550 completed some incomplete docs
2552 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2554 * gst/gstbin.c: (gst_bin_dispose):
2555 * gst/gstelement.c: (gst_element_dispose):
2556 remove now useless and leaky resurrection code in dispose
2557 * gst/base/gstbasesrc.c: (gst_base_src_init):
2558 * gst/gstelementfactory.c: (gst_element_factory_create):
2559 * gst/gstobject.c: (gst_object_set_parent):
2562 2005-09-27 Wim Taymans <wim@fluendo.com>
2564 * docs/design/part-TODO.txt:
2567 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2568 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2569 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2570 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2571 (gst_bin_change_state):
2573 Remove element variable, we keep element info in the iterator now.
2575 2005-09-27 Andy Wingo <wingo@pobox.com>
2577 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2580 2005-09-27 Wim Taymans <wim@fluendo.com>
2582 * check/gst/gstbin.c: (GST_START_TEST):
2583 Enable check that works now.
2585 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2586 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2587 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2588 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2589 (gst_bin_change_state):
2591 Redid the state change algorithm using a topological sort algo.
2592 Handles all cases correctly.
2593 Exposed iterator for state change order.
2596 Temp storage for state changes. Need to get rid of this soon.
2598 2005-09-27 Wim Taymans <wim@fluendo.com>
2600 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2601 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2602 (link_fold_func), (gst_pad_proxy_setcaps):
2603 Leak fixes, the fold functions need to unref the passed object and
2604 _get_parent_*() returns ref to parent.
2606 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2608 * check/gst/gstbuffer.c: (test_make_writable):
2609 Plug leak in test case and fix 'make check-valgrind'
2611 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2613 * gst/gstbuffer.c: (gst_subbuffer_init):
2614 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2615 works correctly in all circumstances (we could have just copied
2616 the parent buffer's readonly flag, but conceptually it seems
2617 cleaner to mark all subbuffers as read-only). (based on patch
2618 by Alessandro Decina, #314710).
2620 * check/gst/gstbuffer.c: (create_read_only_buffer),
2621 (test_make_writable), (test_subbuffer_make_writable),
2623 Add some tests for gst_buffer_make_writable().
2625 2005-09-27 Wim Taymans <wim@fluendo.com>
2627 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2628 use gst_object_has_ancestor().
2630 * gst/gstobject.c: (gst_object_has_ancestor):
2632 gst_object_has_ancestor() copied from gstbin.c as it is a
2635 * tests/instantiate/create.c: (create_all_elements):
2636 * tests/lat.c: (handoff_src), (handoff_sink):
2637 * tests/sched/runxml.c: (main):
2638 * tests/seeking/seeking1.c: (main):
2639 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2641 Fix compilation of some tests.
2643 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2646 Remove comment. GST_TYPE_G_ERROR is here to stay,
2647 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2650 2005-09-26 Wim Taymans <wim@fluendo.com>
2652 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2653 Added check that shows error in state change order.
2655 2005-09-26 Wim Taymans <wim@fluendo.com>
2657 * gst/gstbin.c: (gst_bin_change_state):
2658 Make state change function use 3 queues again, we were
2659 adding elements in the wrong order.
2661 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2664 * gst/gstpad.c: (gst_pad_dispose):
2665 Added some debug info first.
2667 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2669 * docs/design/draft-push-pull.txt:
2670 * docs/design/part-events.txt:
2671 * docs/design/part-overview.txt:
2672 * docs/design/part-scheduling.txt:
2673 Replace all _pull_region() with _pull_range()
2675 2005-09-26 Andy Wingo <wingo@pobox.com>
2677 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2679 * check/gst-libs/controller.c: Update for controller api change.
2682 * tests/Makefile.am:
2683 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2684 over by GLib bug 118439.
2686 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2687 routines to a function.
2689 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2691 * libs/gst/controller/gsthelper.c:
2692 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2693 (gst_object_sync_values): Renamed from sink_values. Ugh.
2695 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2697 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2698 Renamed from controller_key, as it is exported.
2700 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2702 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2707 * gst/gstpadtemplate.h:
2710 * gst/gstqueryutils.c:
2711 * gst/gstqueryutils.h:
2712 remove queryutils headers after moving the two used functions
2713 to gstquery. also fixes build problem for gstsiddec
2715 2005-09-26 Michael Smith <msmith@fluendo.com>
2717 * tools/gst-launch.1.in:
2718 Correct documentation in manpage of debug syntax
2720 2005-09-26 Wim Taymans <wim@fluendo.com>
2722 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2723 (gst_base_src_is_seekable), (gst_base_src_change_state):
2724 Some more debugging info.
2726 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2728 * docs/gst/gstreamer-sections.txt:
2729 * gst/base/gstbasetransform.h:
2733 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2735 * docs/gst/.cvsignore:
2736 * docs/gst/tmpl/.cvsignore:
2737 * docs/gst/tmpl/gstpipeline.sgml:
2738 * docs/gst/tmpl/gstplugin.sgml:
2739 * gst/gstpipeline.c:
2742 inlined the last two docs files
2743 removed the tmpl directory from cvs (no more conflicts here!)
2745 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2747 * docs/gst/gstreamer-sections.txt:
2748 * docs/gst/tmpl/.cvsignore:
2749 * docs/gst/tmpl/gstpad.sgml:
2750 * docs/gst/tmpl/gstpadtemplate.sgml:
2752 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2753 (gst_pad_finalize), (gst_pad_set_pad_template):
2755 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2756 (gst_pad_template_class_init), (gst_pad_template_init),
2757 (gst_pad_template_dispose), (name_is_valid),
2758 (gst_static_pad_template_get), (gst_pad_template_new),
2759 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2760 (gst_pad_template_pad_created):
2761 * gst/gstpadtemplate.h:
2762 inlined two more docs
2763 factored gstpadtemplate out of gstpad
2765 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2767 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2768 (test_children_state_change_order_semi_sink):
2769 Fix test case: we can't rely on a fixed state change order when
2770 going from READY => PAUSED because the sink might commit its
2771 new state first when the first buffer created by the source
2772 reaches the sink before the source has finished its change state.
2773 (Test case still fails at times, see #316856, comment 5 onwards)
2775 2005-09-24 Wim Taymans <wim@fluendo.com>
2777 * docs/design/part-events.txt:
2778 * docs/design/part-gstbus.txt:
2779 * docs/design/part-gstpipeline.txt:
2780 * docs/design/part-messages.txt:
2781 * docs/design/part-overview.txt:
2782 * docs/design/part-segments.txt:
2789 * gst/gstiterator.c:
2790 Various documentation updates.
2792 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2795 Well, that's embarassing. Luckily we weren't using
2796 GST_CLOCK_DIFF anywhere.
2798 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2800 * common/gtk-doc.mak:
2801 don't fail on building XML, FC4 slave shows a bunch of doc
2802 missing bits that I don't get
2804 * gst/gstpipeline.c:
2805 * gst/gststructure.c:
2808 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2810 * docs/design/part-gstbin.txt:
2811 * docs/design/part-gstbus.txt:
2813 Add blurb about how the bus goes into flushing mode and
2814 drops all messages when its bin goes from READY into NULL
2817 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2819 * docs/gst/gstreamer-sections.txt:
2820 * gst/gststructure.c: (gst_structure_get_clock_time):
2821 * gst/gststructure.h:
2822 add a method to get a GstClockTime out of a structure
2824 2005-09-23 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), (gst_bin_suite):
2828 Added test to check state change order in bins (can still be made
2829 to fail here under heavy disk load; bails out with 'Push on pad
2830 fakesink:sink0, but it was not activated in push mode').
2832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2833 Fix state change order when there is only a semi sink (#316856)
2835 * gst/gstbus.c: (gst_bus_class_init):
2836 Use _class_peek_parent(), not _class_ref(); fix docs to say
2837 'default main context' instead of 'mainloop' where that is
2840 * gst/gstelement.c: (gst_element_commit_state),
2841 (gst_element_set_state):
2842 Fix typos in debug messages
2844 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2847 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2848 * gst/gstpluginfeature.c:
2851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2852 change an assert into an error until it gets fixed properly
2854 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2856 * docs/gst/gstreamer-sections.txt:
2857 * docs/gst/tmpl/.cvsignore:
2858 * docs/gst/tmpl/gstelement.sgml:
2859 * docs/gst/tmpl/gstinfo.sgml:
2860 * docs/gst/tmpl/gstobject.sgml:
2865 * gst/gstobject.c: (gst_object_class_init):
2867 inlined 3 more biiiig doc files and added some missing docs on the fly
2869 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2871 * check/gst/.cvsignore:
2872 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2873 * gst/gstregistryxml.c: (load_plugin),
2874 (gst_registry_xml_save_plugin):
2875 put back source in registry. add checks for find_plugin.
2876 * testsuite/states/bin.c: (assert_state), (empty_bin),
2877 (test_adding_one_element), (main):
2878 * testsuite/states/locked.c: (main):
2879 some compile/run fixes
2881 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2883 * check/gst/gstvalue.c: (GST_START_TEST):
2884 fix leaks in the test itself
2886 2005-09-22 Wim Taymans <wim@fluendo.com>
2888 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2889 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2890 (gst_base_sink_query):
2891 Prepare for more accurate position reporting and query
2894 * gst/gstelement.c: (gst_element_send_event),
2895 (gst_element_set_state):
2898 2005-09-22 Wim Taymans <wim@fluendo.com>
2900 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2901 (gst_query_parse_segment):
2904 Add segment query for future use.
2906 2005-09-22 Wim Taymans <wim@fluendo.com>
2908 * gst/gstbin.c: (gst_bin_add_func):
2909 Some more debug info.
2911 * gst/gstelement.c: (gst_element_send_event):
2915 Don't know how flags got broken.
2920 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2922 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2923 Add simplistic test suite for GST_TYPE_DATE serialisation and
2926 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2928 * docs/gst/gstreamer-sections.txt:
2929 * gst/gststructure.c: (gst_structure_set_valist),
2930 (gst_structure_get_date):
2931 * gst/gststructure.h:
2932 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2933 (gst_date_copy), (gst_value_compare_date),
2934 (gst_value_serialize_date), (gst_value_deserialize_date),
2935 (gst_value_transform_date_string),
2936 (gst_value_transform_string_date), (_gst_value_initialize):
2938 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2939 bunch of utility functions along with a hack that checks that
2940 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2941 is required. Part of the grand scheme in #170777.
2943 2005-09-22 Andy Wingo <wingo@pobox.com>
2945 * gst/gstconfig.h.in: Psych out gtk-doc.
2947 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2949 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2951 * tools/gst-inspect.c (print_element_list): Plug some
2952 inconsequential leaks.
2954 * gst/gstregistry.c (gst_registry_get_default): Doc.
2956 * check/gst/gstplugin.c:
2957 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2958 * gst/gstelementfactory.c (gst_element_factory_create):
2959 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2962 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2963 (gst_plugin_feature_load): Doc, don't eat refs.
2965 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2966 (gst_plugin_list_free): Doc.
2967 (gst_plugin_load_file): Doc updates.
2969 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2970 accessors returning refcounted objects, return a ref.
2972 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2973 accessor for caps. IDEMPOTENCE. Oh yes.
2975 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2977 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2979 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2980 (_gst_debug_register_funcptr):
2981 Add mutex to serialise access to the hash table with
2982 the function pointer => function name string mapping;
2983 make that hash table static scope (#316809).
2985 * gst/registries/.cvsignore:
2986 Remove left-over file.
2988 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2990 * docs/pwg/appendix-porting.xml:
2991 And something about newsegment events and caps-on-buffers to
2992 the porting guide (feel free to improve).
2994 2005-09-21 Andy Wingo <wingo@pobox.com>
2996 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2997 data and event probes on the same pad.
2998 (test_buffer_probe_once): Test that removing probes from within
2999 the probe functions works.
3001 2005-09-21 Andy Wingo <wingo@pobox.com>
3003 * check/gst/gstutils.c: New file.
3004 (test_buffer_probe_n_times): A simple buffer probe test. More to
3007 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3008 have-data::buffer, not have-data.
3009 (gst_pad_add_event_probe): Likewise for have-data::event.
3010 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3011 peer' isn't quite right yet though.
3012 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3013 (gst_pad_remove_data_probe): Change to take the guint handler_id
3014 as their arg, not the function+data, which is more glib-like.
3016 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3017 the signal emission to indicate if the data is a buffer or an
3019 (gst_pad_get_type): Initialize buffer and event quarks.
3020 (gst_pad_class_init): have-data is now a detailed signal, yes it
3023 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3025 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3026 * gst/gstutils.c: (gst_util_set_value_from_string),
3027 (gst_util_set_object_arg):
3028 Don't put functional code in g_return_if_fail() or
3029 g_return_val_if_fail() statements, otherwise things will
3030 break when G_DISABLE_CHECKS is defined during compilation.
3032 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3034 * docs/gst/tmpl/.cvsignore:
3035 * docs/gst/tmpl/gstvalue.sgml:
3038 inlied another one and added some obvious docs
3040 2005-09-21 Wim Taymans <wim@fluendo.com>
3042 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3043 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3044 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3045 (gst_fdsrc_get_property), (gst_fdsrc_create):
3046 * gst/elements/gstfdsrc.h:
3047 Properly implement fdsrc. Removed signal and timeout,
3048 better implemented somewhere else.
3050 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3052 * docs/gst/tmpl/.cvsignore:
3053 * docs/gst/tmpl/gstimplementsinterface.sgml:
3054 * gst/gstinterface.c:
3057 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3059 * docs/gst/gstreamer-sections.txt:
3060 * docs/gst/tmpl/.cvsignore:
3061 * docs/gst/tmpl/gstenumtypes.sgml:
3062 remove obsolete doc file
3064 2005-09-21 David Schleef <ds@schleef.org>
3066 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3067 little beer, fix a little leak.
3069 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3071 * docs/gst/gstreamer-docs.sgml:
3072 * docs/gst/gstreamer-sections.txt:
3073 * docs/gst/tmpl/.cvsignore:
3078 * gst/gstindex.c: (gst_index_class_init):
3080 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3081 (gst_index_factory_class_init), (gst_index_factory_init),
3082 (gst_index_factory_finalize), (gst_index_factory_new),
3083 (gst_index_factory_destroy), (gst_index_factory_find),
3084 (gst_index_factory_create), (gst_index_factory_make):
3085 * gst/gstindexfactory.h:
3086 * gst/gstpluginfeature.c:
3087 * gst/gstpluginfeature.h:
3088 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3089 more docs inlined, splitted gstindex.{c,h}
3091 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3096 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3098 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3099 Set sync to FALSE by default.
3101 2005-09-20 Wim Taymans <wim@fluendo.com>
3103 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3104 (gst_base_sink_init):
3105 Make sync property settable from subclass.
3107 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3108 (gst_fake_sink_change_state):
3109 Set sync to FALSE by default.
3111 2005-09-20 Wim Taymans <wim@fluendo.com>
3113 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3114 * tools/gst-launch.c: (main):
3115 The timeout handler should have lower priority than the source
3116 so we don't timeout before popping a message with 0 timeout.
3117 Dump error messages after failed state change.
3119 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3121 * tools/gst-inspect.c: (print_element_properties_info):
3124 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * check/gst/gstevent.c:
3127 * gst/elements/gstfakesink.c:
3128 * gst/elements/gstfakesink.h:
3129 remove the sync property from fakesink.
3130 has the side effect of setting sync TRUE
3131 for fakesink, which is a change. Anyone who knows how
3132 to fix this nicely in a GObject-y way, feel free.
3134 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3136 * docs/gst/gstreamer-docs.sgml:
3137 remove probe refsection
3139 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3141 * check/Makefile.am:
3142 disable valgrinding the controller test again
3143 * docs/gst/gstreamer-sections.txt:
3144 update for api-changes
3146 2005-09-20 Wim Taymans <wim@fluendo.com>
3148 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3149 (gst_base_sink_set_property), (gst_base_sink_get_property),
3150 (gst_base_sink_do_sync):
3151 * gst/base/gstbasesink.h:
3152 Added sync property to basesink to disable clock sync.
3154 2005-09-20 Andy Wingo <wingo@pobox.com>
3156 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3157 eating the caller's refcount.
3159 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3160 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3163 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3164 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3165 of GLib 2.8 public, so we can know which refcount to check in
3168 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3169 (gst_object_init): Only set the gst refcount if we're going ahead
3170 with the refcount hack.
3172 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3174 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3175 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3176 more leaks plumbed, added more debug-logging
3180 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3183 remove include of gstmemchunk.h
3185 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3187 * gst/gstclock.c: (_gst_clock_id_free):
3188 Commit from the Political Party For More Atomic CVS Commits,
3189 so that people don't waste too much of their day fishing
3190 out obvious leaks out of massive commits.
3191 Oh, and fix a pretty damn obvious leak in the memchunk
3194 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3196 * check/Makefile.am:
3197 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3198 plug mem-leak, re-add to valgrindable tests
3200 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3203 unbreak the build for those who have chronic arthritis
3204 and typing "make check" is just too taxing on the hands
3206 2005-09-20 Andy Wingo <wingo@pobox.com>
3208 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3209 really want it out, you should fix plugins at the same time.
3211 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3214 * docs/gst/gstreamer-sections.txt:
3216 added missing symbols to api docs
3217 disable ref-count hack if we have glib >= 2.8
3219 2005-09-19 David Schleef <ds@schleef.org>
3221 * docs/gst/Makefile.am: Ignore a few more internal headers
3222 * docs/gst/gstreamer-docs.sgml: Remove old sections
3223 * docs/gst/gstreamer-sections.txt: Remove old sections
3224 * docs/gst/tmpl/gstobject.sgml: update
3225 * docs/gst/tmpl/gstplugin.sgml: update
3226 * docs/gst/tmpl/gstpluginfeature.sgml: update
3227 * docs/random/ds/0.9-suggested-changes: update.
3228 * gst/Makefile.am: remove memchunk and trashstack, since they're
3230 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3231 * gst/gst.h: don't include some headers
3232 * gst/gstchildproxy.c: add gstmarshal.h
3233 * gst/gstclock.c: Don't use memchunks
3234 * gst/gstminiobject.c: Add some docs
3235 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3236 * gst/gstobject.h: same
3237 * gst/gstplugin.c: include gstmacros.h
3238 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3239 * gst/gstquery.c: don't use memchunks
3240 * gst/gstregistry.c: rename gst_registry_deinit()
3241 * gst/gstregistry.h: same
3243 2005-09-19 David Schleef <ds@schleef.org>
3245 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3246 * docs/libs/gstreamer-libs-sections.txt:
3247 * docs/libs/tmpl/gstgetbits.sgml:
3248 * docs/libs/tmpl/gstputbits.sgml:
3250 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3252 * win32/gstenumtypes.c:
3253 * win32/gstenumtypes.h:
3256 2005-09-19 Wim Taymans <wim@fluendo.com>
3258 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3259 Automatically PAUSE and RESUME a pipeline when a flushing seek
3262 2005-09-19 Andy Wingo <wingo@pobox.com>
3264 * gst/gstregistry.h: Spacing fixen.
3266 2005-09-19 Wim Taymans <wim@fluendo.com>
3268 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3269 Handle state change failure more correctly.
3271 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3273 * check/Makefile.am:
3274 * check/pipelines/cleanup.c: (run_pipeline):
3275 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3277 enable cleanup again after fixing the leak
3279 some more info on docs
3281 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3283 * check/Makefile.am:
3284 re-enable tests now that leaks are plugged
3286 * check/gst/gstbin.c:
3287 * check/gst/gstpipeline.c:
3288 add some more tests while fixing leaks
3290 make sure binaries are uptodate when valgrinding/gdbing
3292 * gst/gstelementfactory.c:
3293 remove a ref too many, and add a FIXME for when we get
3294 round to disposing of classes
3296 fix the refcounting when loading a plugin from a file and
3297 the code pretends that the pointer is the same even though
3298 of course it can change
3299 * gst/gstpluginfeature.c:
3300 unref plugins marked cached (a bit confusing as a name)
3301 as the docs state should be done
3302 various doc additions to explain refcounting
3303 * gst/gstregistry.c:
3304 * gst/gstregistryxml.c:
3307 2005-09-19 Wim Taymans <wim@fluendo.com>
3309 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3310 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3311 (send_messages), (GST_START_TEST), (gstbus_suite):
3312 * check/gst/gstpipeline.c: (GST_START_TEST):
3313 * check/pipelines/cleanup.c: (run_pipeline):
3314 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3316 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3317 (gst_bus_source_check), (gst_bus_source_dispatch),
3318 (gst_bus_create_watch), (gst_bus_add_watch_full),
3319 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3321 * tools/gst-launch.c: (event_loop):
3322 * tools/gst-md5sum.c: (event_loop):
3323 GstBusHandler -> GstBusFunc, return value has the same meaning as
3324 any other GSource (FALSE == remove source).
3325 _add_watch() and _add_watch_full() now take a MessageType mask to
3326 only handle specific types of messages.
3327 _poll() returns the GstMessage instead of the message type to avoid
3329 _have_pending() takes a MessageType mask now too.
3330 Added testsuite for multiple bus watches.
3331 Fix testsuites and applications for new bus API.
3333 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3335 * check/Makefile.am:
3336 mark a bunch of the tests as to fix until we fix them
3338 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3341 use GST_PLUGIN settings for valgrind tests as well, so we're
3342 valgrinding the correct thing
3343 * gst/gst.c: (init_post):
3346 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3348 * gst/gst.c: (init_post), (gst_deinit):
3349 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3350 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3351 * gst/gstindex.c: (gst_index_factory_class_init),
3352 (gst_index_factory_finalize):
3353 * gst/gstobject.c: (gst_object_dispose):
3354 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3355 (gst_plugin_load_file), (gst_plugin_desc_free):
3356 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3357 (gst_plugin_feature_finalize):
3358 * gst/gstregistry.c: (gst_registry_class_init),
3359 (gst_registry_init), (gst_registry_finalize),
3360 (gst_registry_get_default), (gst_registry_deinit):
3361 * gst/gstregistry.h:
3362 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3363 various cleanups and memleak plugging. make valgrind is happy now.
3365 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3368 add a check-valgrind target
3370 2005-09-18 David Schleef <ds@schleef.org>
3372 * tools/gst-inspect.c: Revert the GOption code.
3374 2005-09-17 David Schleef <ds@schleef.org>
3376 * check/Makefile.am: Fix environment variables.
3377 * check/gst/gstplugin.c: Fix for API changes.
3378 * tools/gst-inspect.c: Fix for API changes.
3379 * tools/gst-xmlinspect.c: Fix for API changes.
3380 * gst/gstelementfactory.c:
3383 * gst/gstpluginfeature.c:
3384 * gst/gstpluginfeature.h:
3385 * gst/gstregistry.c:
3386 * gst/gstregistry.h:
3387 * gst/gstregistryxml.c:
3388 * gst/gsttypefind.c:
3389 * gst/gsttypefindfactory.c:
3390 * gst/indexers/gstfileindex.c:
3391 * gst/indexers/gstmemindex.c:
3392 * gst/schedulers/Makefile.am:
3393 Change registry to keep track of both plugins and features,
3394 removing the feature tracking from plugins themselves.
3396 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3398 * check/Makefile.am:
3399 * tools/gst-register.1.in:
3402 2005-09-15 David Schleef <ds@schleef.org>
3404 * check/gst/gstplugin.c:
3405 * gst/gstelementfactory.c:
3407 * gst/gstpluginfeature.c:
3408 * gst/gstregistry.c:
3409 Getting tired of debugging. Disabled all the unreffing of
3410 plugins and features, which fixes the segfaults, but of
3411 course leaks like crazy. At least playbin works.
3413 2005-09-15 David Schleef <ds@schleef.org>
3415 * check/gst/gstplugin.c: (register_check_elements),
3416 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3418 * gst/elements/gsttypefindelement.c: Fix refcounting.
3419 * gst/gsttypefind.c:
3420 * gst/gsttypefindfactory.c:
3421 * gst/gsttypefindfactory.h:
3423 2005-09-15 David Schleef <ds@schleef.org>
3425 * gst/gstindex.c: get refcounting correct.
3426 * gst/gstregistry.c: Handle the case where a feature/plugin is
3429 2005-09-15 David Schleef <ds@schleef.org>
3431 * check/Makefile.am:
3432 * check/gst/gstplugin.c: Add test
3433 * gst/gstplugin.c: Fix problems noticed by testsuite
3435 * gst/gstregistry.c:
3436 * gst/gstregistry.h:
3438 2005-09-15 David Schleef <ds@schleef.org>
3440 * gst/gstplugin.c: Implement semi-decent recounting and locking
3441 in plugins and plugin features.
3443 * gst/gstpluginfeature.c:
3444 * gst/gstpluginfeature.h:
3445 * gst/gstregistry.c:
3447 2005-09-15 Michael Smith <msmith@fluendo.com>
3449 * gst/gstregistry.c: (gst_registry_get_feature_list):
3450 Implement this. Makes oggdemux work; decodebin still broken.
3452 2005-09-14 David Schleef <ds@schleef.org>
3454 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3456 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3457 * gst/check/Makefile.am:
3458 * libs/gst/controller/Makefile.am:
3459 * libs/gst/dataprotocol/Makefile.am:
3461 2005-09-14 David Schleef <ds@schleef.org>
3463 * configure.ac: Remove getbits library. Nothing uses it, and
3464 it should be in something like liboil if someone did want
3466 * libs/gst/Makefile.am:
3467 * libs/gst/getbits/Makefile.am:
3468 * libs/gst/getbits/gbtest.c:
3469 * libs/gst/getbits/getbits.c:
3470 * libs/gst/getbits/getbits.h:
3471 * libs/gst/getbits/gstgetbits_generic.c:
3472 * libs/gst/getbits/gstgetbits_i386.s:
3473 * libs/gst/getbits/gstgetbits_inl.h:
3475 2005-09-14 David Schleef <ds@schleef.org>
3477 * gst/Makefile.am: Dist glib-compat.h
3479 2005-09-14 David Schleef <ds@schleef.org>
3481 * configure.ac: Remove gst/registries, since it's no longer used.
3482 * gst/registries/Makefile.am:
3483 * gst/registries/gstlibxmlregistry.c:
3484 * gst/registries/gstlibxmlregistry.h:
3485 * gst/registries/gstxmlregistry.c:
3486 * gst/registries/gstxmlregistry.h:
3487 * gst/registries/registrytest.c:
3489 2005-09-14 David Schleef <ds@schleef.org>
3491 * gst/glib-compat.h:
3492 * gst/gstregistryxml.c:
3493 Convergence is near. Seriously.
3495 2005-09-14 David Schleef <ds@schleef.org>
3497 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3498 * gst/glib-compat.h:
3499 Attempt #4 to appease the buildbots.
3501 2005-09-14 David Schleef <ds@schleef.org>
3503 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3506 2005-09-14 David Schleef <ds@schleef.org>
3508 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3511 2005-09-14 David Schleef <ds@schleef.org>
3513 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3516 2005-09-14 David Schleef <ds@schleef.org>
3518 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3519 * gst/glib-compat.h: Add some functions that are in newer versions
3520 of glib than we care to require.
3521 * gst/gstregistryxml.c: Use them.
3523 2005-09-14 David Schleef <ds@schleef.org>
3525 * po/POTFILES.in: remove gst-register.c
3527 2005-09-14 David Schleef <ds@schleef.org>
3529 * docs/gst/gstreamer-docs.sgml:
3530 * docs/gst/gstreamer-sections.txt:
3531 * docs/gst/gstreamer.types:
3532 * docs/gst/tmpl/gstelement.sgml:
3533 * docs/gst/tmpl/gstplugin.sgml:
3534 * docs/gst/tmpl/gstpluginfeature.sgml:
3535 Documentation updates for registry changes.
3537 2005-09-14 David Schleef <ds@schleef.org>
3539 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3540 because we don't require glib-2.8.
3542 2005-09-14 David Schleef <ds@schleef.org>
3544 * gst/gstregistryxml.c: Added. Essentially moved out of the
3545 registries directory.
3547 2005-09-14 David Schleef <ds@schleef.org>
3549 * check/Makefile.am:
3550 * check/generic/states.c:
3554 * gst/gst_private.h:
3555 * gst/gstelementfactory.c:
3560 * gst/gstpluginfeature.c:
3561 * gst/gstpluginfeature.h:
3562 * gst/gstregistry.c:
3563 * gst/gstregistry.h:
3564 * gst/gstregistrypool.c: remove
3565 * gst/gstregistrypool.h: remove
3566 * gst/gsttypefind.c:
3567 * gst/gsttypefindfactory.c:
3569 * tools/Makefile.am:
3570 * tools/gst-compprep.c:
3571 * tools/gst-inspect.c:
3572 * tools/gst-register.c: remove
3573 * tools/gst-xmlinspect.c:
3574 Registry rewrite. Changes registry from being a file created
3575 by a tool into a simple cache file created automatically by
3576 libgstreamer. Removed gst-register (because it's no longer
3577 needed). Remove registry pools, because we only have one
3578 registry implementation (XML). Fix up other subsystems as
3581 2005-09-13 Michael Smith <msmith@fluendo.com>
3583 * gst/gstconfig.h.in:
3584 Don't Use windows linking attributes for MinGW. Fixes #316157
3586 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * gst/gstutils.c: (set_state_async_thread_func),
3589 (gst_element_set_state_async):
3590 Apparently people think it's better if this function doesn't
3591 try to set the state to whatever state was asked for on the first
3592 call to this function for any object. Seriously.
3594 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3596 * check/gst/gstpipeline.c: (GST_START_TEST):
3597 * docs/gst/gstreamer-sections.txt:
3598 * gst/gstutils.c: (set_state_async_thread_func),
3599 (gst_element_set_state_async):
3601 add a "gst_element_set_state_async" method that
3602 sets the state and starts a thread to make sure the state
3603 change completes as best as it can
3605 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3607 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3608 codify design+behaviour in testsuite after discussion
3610 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3612 * docs/gst/tmpl/gstelement.sgml:
3613 * docs/manual/appendix-quotes.xml:
3615 * gst/gstelement.c: (gst_element_set_state):
3618 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3620 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3621 (gst_base_transform_prepare_output_buf),
3622 (gst_base_transform_handle_buffer):
3623 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3624 (gst_capsfilter_prepare_buf):
3625 Remove the requirement for sub-classes to call the parent
3626 implementation of prepare_output_buffer with a wrapper function.
3629 * gst/gsttagsetter.h:
3632 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3634 * docs/gst/gstreamer-sections.txt:
3637 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3639 * docs/gst/gstreamer-sections.txt:
3640 * docs/gst/tmpl/gstelement.sgml:
3641 * docs/gst/tmpl/gstplugin.sgml:
3642 * gst/gstminiobject.c:
3644 docs now stop throwing warnings
3646 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3648 * docs/gst/gstreamer-sections.txt:
3649 * docs/gst/gstreamer.types:
3650 * docs/gst/tmpl/gstpad.sgml:
3651 * docs/gst/tmpl/gsttypes.sgml:
3652 * gst/base/gstadapter.h:
3653 * gst/base/gstbasesink.h:
3654 * gst/base/gstbasesrc.h:
3664 * gst/gststructure.c:
3665 * gst/registries/gstlibxmlregistry.h:
3666 various documentation fixes
3668 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3670 * docs/gst/gstreamer-sections.txt:
3671 * docs/gst/tmpl/gstvalue.sgml:
3672 rearrange gstvalue section
3673 * gst/gstutils.c: (gst_element_state_get_name):
3675 * gst/gstvalue.c: (_gst_value_initialize):
3679 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3681 * check/gst-libs/controller.c:
3683 * gst/base/gstbasetransform.c:
3684 (gst_base_transform_default_prepare_buf),
3685 (gst_base_transform_handle_buffer):
3686 * gst/base/gstbasetransform.h:
3687 Some more basetransform changes and fixes to enable sub-classes
3688 that modify buffer metadata only.
3689 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3690 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3691 (gst_capsfilter_prepare_buf):
3692 If the output pad has fixed allowed caps and input buffers
3693 don't have any, set the fixed caps on outgoing buffers.
3695 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3696 * check/elements/identity.c: (GST_START_TEST):
3697 Make the error a little clearer when the test fails because
3698 identity made a copy of the buffer.
3699 * docs/gst/gstreamer-sections.txt:
3700 New symbols in gstbasetransform.h
3701 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3702 (gst_base_transform_init), (gst_base_transform_transform_size),
3703 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3704 (gst_base_transform_default_prepare_buf),
3705 (gst_base_transform_get_unit_size),
3706 (gst_base_transform_buffer_alloc),
3707 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3708 (gst_base_transform_change_state),
3709 (gst_base_transform_set_passthrough),
3710 (gst_base_transform_set_in_place),
3711 (gst_base_transform_is_in_place):
3712 * gst/base/gstbasetransform.h:
3713 Change BaseTransform to separate in_place operate from same_caps
3714 output. in_place implies that the element can perform the transform
3715 on incoming buffers in-place, even if the caps on the output are
3717 Sub-class elements can now implement special buffer allocation
3718 methods for outgoing buffers if they wish to.
3719 Big documentation addition.
3720 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3721 * gst/elements/gstelements.c:
3722 Changes for basetransform modifications.
3723 * gst/elements/Makefile.am:
3724 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3725 Compile fix. Extra debug output.
3727 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3729 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3731 add tests for valid pad naming
3732 * gst/check/gstcheck.c: (gst_check_log_message_func),
3733 (gst_check_log_critical_func):
3735 remove printing of code, it is fragile when the code contains
3736 % and the line number is enough info
3737 * gst/check/gstcheck.h:
3738 * gst/gstpad.c: (gst_pad_template_new):
3741 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3744 say what CHECK flags we use
3745 * docs/libs/gstreamer-libs.types:
3746 * libs/gst/controller/Makefile.am:
3747 * libs/gst/controller/gst-controller.c:
3748 * libs/gst/controller/gst-controller.h:
3749 * libs/gst/controller/gst-helper.c:
3750 * libs/gst/controller/gst-interpolation.c:
3751 * libs/gst/controller/gstcontroller.c:
3752 * libs/gst/controller/gsthelper.c:
3753 * libs/gst/controller/gstinterpolation.c:
3754 * tools/gst-inspect.c: (print_plugin_info):
3755 we don't use dashes in header names
3757 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3759 * check/Makefile.am:
3760 * check/gst/.cvsignore:
3761 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3762 (gst_pipeline_suite), (main):
3763 adding a test for pipelines and state changes
3764 * gst/gstutils.c: (get_state_func):
3766 * gstreamer.spec.in:
3769 2005-09-08 Michael Smith <msmith@fluendo.com>
3771 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3772 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3773 (gst_file_src_is_seekable), (gst_file_src_get_size),
3774 (gst_file_src_start):
3775 * gst/elements/gstfilesrc.h:
3776 Various fixes for unseekable, unmmapable, and non-normal files, so
3777 that fallback to read() rather than mmap() works.
3778 * gst/gstevent.c: (gst_event_new_newsegment):
3779 Allow newsegment events with segment_start == segment_end, as will
3780 correctly happen if you use filesrc on a zero-size file, for
3783 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3785 * gst/gstplugin.c: (gst_plugin_load_file):
3786 Call g_module_close when we don't load the module
3788 * gst/registries/gstlibxmlregistry.c:
3789 (gst_xml_registry_get_property):
3790 Port leak fix from 0.8
3792 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3794 * docs/gst/gstreamer-docs.sgml:
3795 * docs/gst/tmpl/.cvsignore:
3796 * docs/gst/tmpl/gsttrace.sgml:
3797 * docs/gst/tmpl/gsttrashstack.sgml:
3806 * gst/gsttaginterface.c:
3807 * gst/gsttaginterface.h:
3810 * gst/gsttagsetter.c:
3811 * gst/gsttagsetter.h:
3814 * gst/gsttrashstack.c:
3815 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3816 inlined docs for gsttrace, gsttrashstack
3818 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3821 * gst/elements/gstbufferstore.h:
3822 * gst/elements/gsttypefindelement.c:
3823 * gst/elements/gsttypefindelement.h:
3825 * gst/gsttypefind.c:
3826 * gst/gsttypefind.h:
3827 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3828 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3829 (gst_type_find_factory_dispose),
3830 (gst_type_find_factory_unload_thyself),
3831 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3832 (gst_type_find_factory_get_caps),
3833 (gst_type_find_factory_get_extensions),
3834 (gst_type_find_factory_call_function):
3835 * gst/gsttypefindfactory.h:
3836 * gst/registries/gstlibxmlregistry.c:
3837 * gst/registries/gstxmlregistry.c:
3838 splitted gsttypefind into gsttypefind, gsttypefindfactory
3840 2005-09-07 Andy Wingo <wingo@pobox.com>
3842 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3843 condition whereby the pad's task function is entered before the
3844 pad_mode variable was set.
3846 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3848 * gst/gstpad.c: (gst_pad_alloc_buffer):
3849 Catch misbehaving pad_alloc functions that don't
3850 set up caps and do it for them.
3852 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3854 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3856 * docs/gst/tmpl/.cvsignore:
3857 * docs/gst/tmpl/gstmemchunk.sgml:
3858 * docs/gst/tmpl/gstparse.sgml:
3859 * docs/gst/tmpl/gsttaglist.sgml:
3860 * docs/gst/tmpl/gsttagsetter.sgml:
3861 * docs/gst/tmpl/gsttypefind.sgml:
3862 * docs/gst/tmpl/gsttypefindfactory.sgml:
3863 * gst/gstmemchunk.c:
3866 * gst/gsttaginterface.c:
3867 * gst/gsttypefind.c:
3868 * gst/gsttypefind.h:
3871 === release 0.9.2 ===
3873 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3878 releasing 0.9.2, "South"
3880 2005-09-05 Andy Wingo <wingo@pobox.com>
3882 * gst/registries/gstxmlregistry.h:
3883 * gst/registries/gstxmlregistry.c: Um... resurrect...
3885 * gst/registries/gstxmlregistry.h:
3886 * gst/registries/gstxmlregistry.c: and update to newer API.
3887 Incidentally they should be a bit faster now that they don't have
3890 2005-09-05 Andy Wingo <wingo@pobox.com>
3892 * gst/registries/gstxmlregistry.h:
3893 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3894 replaced by the libxml registry a while back
3896 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3898 * docs/gst/tmpl/gstplugin.sgml:
3899 * gst/elements/gstelements.c:
3901 * gst/gstplugin.c: (gst_plugin_register_func),
3902 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3903 (gst_plugin_get_source):
3905 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3906 (gst_xml_registry_save_plugin):
3907 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3908 (gst_xml_registry_save_plugin):
3909 * tools/gst-inspect.c: (print_plugin_info):
3910 add a "source" plugin description field, to represent the source
3911 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3912 will set it to PACKAGE, which is automake's idea of the name of
3915 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3921 * docs/faq/Makefile.am:
3922 * docs/gst/tmpl/gstelement.sgml:
3923 * docs/gst/tmpl/gsttypes.sgml:
3924 * docs/htmlinstall.mak:
3925 * docs/manual/Makefile.am:
3926 * docs/pwg/Makefile.am:
3927 reorganize doc build a little
3928 split out docbook and gtk-doc stuff
3929 have two separate --enable's and enable them through autogen
3930 but disable by default in configure (to be similar to other
3932 * gstreamer.spec.in:
3933 clean up docs install
3953 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3955 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3958 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3959 (gst_fake_sink_change_state):
3960 Make state change function thread-safe.
3962 * gst/gstpad.c: (gst_pad_alloc_buffer):
3963 Set offset on generic buffer allocated by fallback.
3965 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3967 * docs/gst/gstreamer-sections.txt:
3968 * docs/gst/tmpl/gstelement.sgml:
3970 * libs/gst/controller/gst-controller.c:
3971 (gst_controlled_property_set_interpolation_mode),
3972 (gst_controlled_property_new),
3973 (gst_controller_find_controlled_property):
3974 run the wingo-magic script against the docs
3976 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3978 * docs/gst/gstreamer-docs.sgml:
3979 * docs/gst/gstreamer-sections.txt:
3980 * docs/gst/tmpl/.cvsignore:
3981 * docs/gst/tmpl/gstelementdetails.sgml:
3982 * docs/gst/tmpl/gstelementfactory.sgml:
3985 * gst/gstelementfactory.c:
3986 * gst/gstelementfactory.h:
3987 merged elementdetails docs into elementfactory docs
3990 2005-09-02 Andy Wingo <wingo@pobox.com>
3992 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3993 consider this enum an enum and not a flags.
3995 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3997 * docs/gst/gstreamer-docs.sgml:
3998 * docs/gst/tmpl/.cvsignore:
3999 * docs/gst/tmpl/gstghostpad.sgml:
4000 * docs/gst/tmpl/gstiterator.sgml:
4001 * docs/gst/tmpl/gstmacros.sgml:
4002 * docs/gst/tmpl/gstrealpad.sgml:
4003 * docs/gst/tmpl/gstregistry.sgml:
4004 * docs/gst/tmpl/gstregistrypool.sgml:
4005 * docs/gst/tmpl/gststructure.sgml:
4006 * docs/gst/tmpl/gstsystemclock.sgml:
4007 * docs/gst/tmpl/gsttrace.sgml:
4008 * gst/gstghostpad.c:
4010 * gst/gstmemchunk.c:
4011 * gst/gstmemchunk.h:
4013 * gst/gstregistry.c:
4014 * gst/gstregistrypool.c:
4015 * gst/gststructure.c:
4016 * gst/gstsystemclock.c:
4019 2005-09-02 Andy Wingo <wingo@pobox.com>
4021 * gst/gstelement.h (GstState): Renamed from GstElementState,
4022 changed to be a normal enum instead of flags.
4023 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4024 munged to be GST_STATE_CHANGE_*.
4025 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4026 work with the new state representation.
4027 (GstStateChange): New enumeration of possible state transitions.
4028 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4029 (GstElementClass::change_state): Pass the GstStateChange along as
4030 an argument. Helps language bindings, so they don't have to use
4031 tricky lock-needing macros like GST_STATE_CHANGE ().
4033 * scripts/update-states (file): New script. Run it on a file to
4034 update it for state naming and API changes. Updates files in
4037 * All files updated for the new API.
4039 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4041 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4042 * gst/gstutils.c: (gst_util_set_value_from_string),
4043 (gst_util_set_object_arg):
4044 fix a bunch of unchecked return values
4045 * tools/gst-complete.c: (main):
4046 * gstreamer.spec.in:
4049 2005-09-01 Wim Taymans <wim@fluendo.com>
4051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4052 (gst_base_sink_event), (gst_base_sink_do_sync),
4053 (gst_base_sink_handle_event):
4054 * gst/base/gstbasesink.h:
4055 Handle newsegments more correctly.
4060 * gst/gstevent.c: (gst_event_new_newsegment):
4061 A newsegment cannot have a start_time of -1
4063 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4065 * win32/gstenumtypes.c:
4066 * win32/gstenumtypes.h:
4069 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4071 * libs/gst/controller/gst-controller.c:
4072 (gst_controlled_property_set_interpolation_mode),
4073 (gst_controlled_property_new):
4076 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4078 * docs/faq/gst-uninstalled:
4083 * gst/gstutils.c: (gst_element_link_filtered):
4085 add gst_element_link_filtered
4087 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4089 * docs/gst/gstreamer-docs.sgml:
4090 * docs/gst/gstreamer-sections.txt:
4091 * docs/gst/tmpl/.cvsignore:
4092 * docs/gst/tmpl/gsterror.sgml:
4093 * docs/gst/tmpl/gstfilter.sgml:
4094 * docs/gst/tmpl/gsturihandler.sgml:
4095 * docs/gst/tmpl/gsturitype.sgml:
4096 * docs/gst/tmpl/gstutils.sgml:
4097 * docs/gst/tmpl/gstxml.sgml:
4105 inlined more docs, fixed double id-ref
4107 2005-08-31 Wim Taymans <wim@fluendo.com>
4109 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4110 (gst_base_transform_handle_buffer):
4111 Passthrough elements don't need the caps as they don't care.
4113 2005-08-31 Wim Taymans <wim@fluendo.com>
4115 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4116 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4117 Don't leak refcounts on buffers.
4119 2005-08-31 Wim Taymans <wim@fluendo.com>
4121 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4122 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4123 (gst_base_transform_chain), (gst_base_transform_change_state):
4124 * gst/base/gstbasetransform.h:
4125 Handle the case where we are not negotiated more gracefully.
4127 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4129 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4130 (gst_file_src_map_region):
4131 Set READONLY flag on mmap'ed buffers, otherwise
4132 gst_buffer_make_writable() won't work properly (#314708).
4134 2005-08-31 Wim Taymans <wim@fluendo.com>
4136 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4137 passthrough elements can even do inplace on non writable
4138 buffers (as they don't touch them).
4140 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4142 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4143 (gst_test_mono_source_set_property),
4144 (gst_test_mono_source_class_init), (GST_START_TEST),
4145 (gst_controller_suite):
4146 more tests (hehe I have the most)
4148 describe popping messages whenusing mulltiple sources
4149 * libs/gst/controller/gst-controller.c:
4150 (gst_controlled_property_set_interpolation_mode),
4151 (gst_controlled_property_new):
4152 * libs/gst/controller/gst-controller.h:
4153 * libs/gst/controller/gst-interpolation.c:
4154 implement boolean properties
4156 2005-08-31 Wim Taymans <wim@fluendo.com>
4158 * gst/gstminiobject.c: (gst_mini_object_ref):
4159 Cannot assert that the refcount has to be positive
4160 since a disposed object can be resurrected.
4162 2005-08-31 Wim Taymans <wim@fluendo.com>
4164 * gst/gstpad.c: (gst_pad_init):
4165 Revert change, need to first fix badly behaving
4168 2005-08-30 Wim Taymans <wim@fluendo.com>
4170 * check/elements/fakesrc.c: (setup_fakesrc):
4171 * check/elements/identity.c: (setup_identity):
4172 Activate pads before using them.
4174 2005-08-30 Wim Taymans <wim@fluendo.com>
4176 * gst/base/gstadapter.c: (gst_adapter_flush):
4177 Flushing out 0 bytes is ok for this function.
4179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4180 no newsegment gives a warning and sets the start/stop to
4183 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4184 (gst_base_transform_set_passthrough):
4187 * gst/gstminiobject.c: (gst_mini_object_ref):
4188 Check refcount here too.
4190 * gst/gstpad.c: (gst_pad_init):
4191 Pads are initially flushing and refusing data.
4193 * gst/gstutils.c: (gst_element_link_pads_filtered):
4194 When adding a capsfilter element make sure it has the
4195 same state as the parent bin.
4197 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4199 * docs/gst/tmpl/.cvsignore:
4200 * docs/gst/tmpl/gstformat.sgml:
4201 * docs/gst/tmpl/gstversion.sgml:
4205 * gst/gstversion.h.in:
4206 more docs and two more inlined
4208 2005-08-30 Wim Taymans <wim@fluendo.com>
4210 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4211 Don't sync to clock.
4213 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4215 * docs/gst/gstreamer-sections.txt:
4216 ultral33t func10ns deserve to appear in the docs actually
4217 * docs/gst/tmpl/.cvsignore:
4218 * docs/gst/tmpl/gstcompat.sgml:
4219 * docs/gst/tmpl/gstconfig.sgml:
4220 * gst/check/gstcheck.c:
4222 * gst/gstconfig.h.in:
4225 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4227 * docs/gst/tmpl/.cvsignore:
4228 * docs/gst/tmpl/gstquery.sgml:
4229 * docs/gst/tmpl/gstutils.sgml:
4232 inlined and extended docs
4234 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4236 * check/gst-libs/controller.c: (GST_START_TEST),
4237 (gst_controller_suite):
4239 * docs/gst/tmpl/gstutils.sgml:
4240 * docs/libs/gstreamer-libs-sections.txt:
4241 * docs/libs/tmpl/gstdataprotocol.sgml:
4243 * examples/controller/audio-example.c: (main):
4244 controller example works now
4247 * tools/gst-inspect.c: (print_element_properties_info):
4248 show param spec flags
4250 2005-08-29 Andy Wingo <wingo@pobox.com>
4252 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4254 2005-08-28 Andy Wingo <wingo@pobox.com>
4256 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4257 as having two arguments instead of just one. Allows superclasses
4258 to access information on subclasses -- see the terrible for() loop
4259 in gtype.c:g_type_create_instance for the reason why. All callers
4262 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4264 * docs/design/part-messages.txt:
4266 * docs/gst/tmpl/.cvsignore:
4267 * docs/gst/tmpl/gstcaps.sgml:
4268 * docs/gst/tmpl/gstclock.sgml:
4275 added descriptions for bus and message
4276 inline caps and clock docs
4278 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4284 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4286 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4289 2005-08-26 Andy Wingo <wingo@pobox.com>
4291 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4292 element_set_state's return val.
4293 (test_2_elements): Add test that's been disabled for months.
4295 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4296 can-activate-pull properties.
4298 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4299 can-activate-pull properties. Implement is_seekable so fakesrc can
4300 operate in pull mode.
4302 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4304 (gst_base_sink_activate, gst_base_sink_activate_pull)
4305 (gst_base_sink_activate_push): Make activation mode choosing work.
4307 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4308 is right. Make pull mode work. Post an eos before pausing in pull
4310 (gst_base_sink_change_state): Pay attention to the core's
4311 change_state() return val.
4313 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4314 has-getrange properties. Cleanups.
4316 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4317 has_getrange and replace with can_activate_pull and
4320 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4321 locking comments. Remove has_loop, has_chain and replace with
4322 can_activate_pull and can_activate_push.
4324 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4327 * examples/Makefile.am:
4328 * examples/metadata/Makefile.am:
4329 * examples/metadata/read-metadata.c: (message_loop),
4330 (have_pad_handler), (make_pipeline), (print_tag), (main):
4331 Add metadata reading example that loops over a list of filenames,
4332 dumping any tags found.
4334 * gst/gstbus.c: (gst_bus_dispose):
4335 * gst/gstelement.c: (gst_element_dispose):
4336 Release a few potentially-held references in dispose.
4338 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4340 * docs/gst/tmpl/gstminiobject.sgml:
4341 do *not* add tmpl/*.sgml files to CVS!
4343 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4345 * libs/gst/bytestream/.cvsignore:
4346 * libs/gst/bytestream/Makefile.am:
4347 * libs/gst/bytestream/adapter.c:
4348 * libs/gst/bytestream/adapter.h:
4349 * libs/gst/bytestream/bytestream.c:
4350 * libs/gst/bytestream/bytestream.h:
4351 * libs/gst/bytestream/filepad.c:
4352 * libs/gst/bytestream/filepad.h:
4353 removing obsolete files
4355 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4357 * docs/gst/gstreamer-docs.sgml:
4358 * docs/libs/gstreamer-libs-docs.sgml:
4359 disabed additional index entries again, as this makes docs-gen just
4360 slow and they aren't useful yet
4361 * docs/libs/gstreamer-libs-sections.txt:
4362 little -section.txt cleanup for libs
4364 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4367 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4368 fix up some debugging
4369 (gst_base_transform_get_unit_size),
4370 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4371 (gst_base_transform_handle_buffer):
4372 * gst/base/gstbasetransform.h:
4373 handle and store timed NEWSEGMENT events so that subclasses that
4374 calculate time by counting samples have a segment_start time they
4375 need to add to their timestamps - see audioresample
4377 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4380 removed ';' from the end of macro defs
4381 * docs/gst/gstreamer-docs.sgml:
4382 * docs/gst/gstreamer-sections.txt:
4383 * docs/gst/tmpl/.cvsignore:
4385 * gst/gstelement.c: (gst_element_class_init),
4386 (gst_element_set_state), (activate_pads),
4387 (gst_element_save_thyself):
4388 * gst/gstevent.c: (gst_event_new_newsegment):
4390 * gst/gstiterator.c:
4391 * gst/gstiterator.h:
4394 * gst/gstutils.c: (gst_pad_query_convert):
4396 fixed parameter name mismatches between source, header and docs
4397 added some more docs, resolved the last batch of unused elements in
4398 docs (now someone needs to doc them)
4400 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4402 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4403 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4404 don't walk through the plugins backwards. Where is all this
4405 reversed logic coming from ?
4407 2005-08-25 Wim Taymans <wim@fluendo.com>
4409 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4410 (gst_base_transform_transform_size),
4411 (gst_base_transform_configure_caps),
4412 (gst_base_transform_get_unit_size),
4413 (gst_base_transform_buffer_alloc),
4414 (gst_base_transform_change_state):
4415 * gst/base/gstbasetransform.h:
4416 Cache caps unit_size.
4417 Make sure we cannot negotiate up and downstream at the
4420 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4422 * gst/gst.c: (init_pre), (init_post):
4423 register the installed plugin path after the env var
4424 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4425 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4426 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4427 directories, so the tests can prefer uninstalled over installed
4429 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4431 * gst/base/gstbasetransform.h:
4436 2005-08-25 Wim Taymans <wim@fluendo.com>
4438 * gst/gstbin.c: (bin_bus_handler):
4439 Be a bit more conservative about the posted message.
4441 * gst/gstbus.c: (gst_bus_post):
4442 Some cleanups, warn wrong return values.
4444 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4446 * check/gst/gstbin.c: (GST_START_TEST):
4447 * gst/gstbin.c: (bin_bus_handler):
4448 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4449 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4450 (gst_message_new_warning), (gst_message_new_tag),
4451 (gst_message_new_state_changed), (gst_message_new_segment_start),
4452 (gst_message_new_segment_done), (gst_message_new_custom):
4454 * tools/gst-launch.c: (event_loop):
4455 * tools/gst-md5sum.c: (event_loop):
4456 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4458 2005-08-25 Wim Taymans <wim@fluendo.com>
4460 * check/generic/states.c: (GST_START_TEST):
4461 Cleanup can be done at the end.
4463 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4464 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4465 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4466 Oh boy.. Thanks for finding this, Thomas.
4468 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4470 * docs/gst/gstreamer.types:
4473 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4475 * docs/gst/gstreamer-docs.sgml:
4476 * docs/gst/gstreamer-sections.txt:
4477 * docs/gst/tmpl/.cvsignore:
4479 * gst/gstiterator.c:
4481 * gst/registries/gstxmlregistry.h:
4482 added missing classes and symbols (123 more to go)
4483 removed removed symbols from section file
4484 fixed many doc-comments
4486 2005-08-24 Wim Taymans <wim@fluendo.com>
4488 * check/generic/states.c: (GST_START_TEST):
4489 Make sure all tasks are stopped.
4491 * check/gst/gstbin.c: (GST_START_TEST):
4492 Unref after usage for proper valgrinding.
4494 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4495 Really wait for the task to stop before destroying the
4498 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4499 (gst_queue_src_activate_push):
4500 Small cleanups. Don't stop the task when we did not start
4503 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4504 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4505 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4508 Protect the stream lock with the object lock.
4509 Disallow setting the stream lock when running.
4510 Add cleanup_all to wait for the threadpool to finish.
4511 Remove code to autoallocate a mutex if none was provided.
4512 Add _join() to wait for a task to stop.
4513 Protect the thread pool with a global lock.
4515 2005-08-24 Wim Taymans <wim@fluendo.com>
4517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4518 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4519 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4520 * gst/base/gstbasesink.h:
4521 Handle newsegment events correctly.
4522 Drop buffers out of the segment range.
4524 2005-08-22 Andy Wingo <wingo@pobox.com>
4526 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4527 macro, implements an interface and gstimplementsinterface for a
4530 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4532 * check/Makefile.am:
4533 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4534 add a test that does a bunch of state changes on elements
4535 needs some fixing for valgrind
4536 * check/states/sinks.c: (gst_object_suite):
4539 add prototype for gst_caps_is_equal_fixed
4541 * gst/gstregistrypool.c:
4544 2005-08-24 Andy Wingo <wingo@pobox.com>
4546 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4547 convert a negative value. Doesn't make much sense. Mostly this is
4548 here to force callers to ensure -1 maps to -1.
4550 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4552 * docs/pwg/advanced-types.xml:
4553 Well done to Michael for catching my deliberate introduction
4554 of this spelling mistake.
4555 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4557 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4558 unlink pads before removing the element from the bin.
4560 2005-08-24 Andy Wingo <wingo@pobox.com>
4562 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4563 the same thing as GST_DEBUG=*:4.
4564 (parse_debug_level, parse_debug_category): New helper parsers.
4566 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4568 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4569 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4570 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4571 (gst_base_transform_buffer_alloc),
4572 (gst_base_transform_handle_buffer):
4573 use gboolean return values and pointers to size so we can use the
4574 full GST_BUFFER_SIZE range (guint) for buffer sizes
4575 use GstPadDirection for transform_caps
4576 * gst/base/gstbasetransform.h:
4577 rename get_size to get_unit_size since that's what it is
4578 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4579 use GstPadDirection for transform_caps
4580 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4582 cleanup and debugging
4584 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4586 * gst/gstelement.c: (gst_element_class_init),
4587 (gst_element_set_state), (activate_pads),
4588 (gst_element_save_thyself):
4589 * tools/gst-compprep.c: (main):
4590 * tools/gst-inspect.c: (print_element_properties_info):
4591 * tools/gst-xmlinspect.c: (print_element_properties):
4592 Fixed long standing mem-leak
4594 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4596 * check/gst/gstbin.c: (GST_START_TEST):
4597 * gst/gstbin.c: (bin_bus_handler):
4598 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4599 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4600 (gst_message_new_warning), (gst_message_new_tag),
4601 (gst_message_new_state_changed), (gst_message_new_segment_start),
4602 (gst_message_new_segment_done), (gst_message_new_custom):
4604 * tools/gst-launch.c: (event_loop):
4605 * tools/gst-md5sum.c: (event_loop):
4606 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4607 that applications can sensibly post custom messages with references
4608 to their own objects.
4610 2005-08-24 Andy Wingo <wingo@pobox.com>
4612 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4615 2005-08-24 Wim Taymans <wim@fluendo.com>
4617 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4618 (gst_base_transform_transform_caps),
4619 (gst_base_transform_transform_size),
4620 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4621 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4622 (gst_base_transform_handle_buffer):
4623 * gst/base/gstbasetransform.h:
4624 Many fixes and new features added by Thomas. Can now also do
4625 transforms with variable sizes and a custom fixate_caps function.
4627 2005-08-24 Wim Taymans <wim@fluendo.com>
4629 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4633 Cast to ClockTime before formatting to time.
4638 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4640 * check/gst-libs/controller.c: (GST_START_TEST),
4641 (gst_controller_suite):
4642 * docs/gst/tmpl/gstcaps.sgml:
4643 * docs/gst/tmpl/gstghostpad.sgml:
4644 * docs/gst/tmpl/gstquery.sgml:
4645 * docs/gst/tmpl/gstutils.sgml:
4646 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4647 (gst_object_sink_values), (gst_object_get_value_arrays),
4648 (gst_object_get_value_array):
4649 gracefully handle helper method calls to objects that are not beeing
4650 controlled, added test case for that
4652 2005-08-23 Wim Taymans <wim@fluendo.com>
4654 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4655 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4656 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4657 (gst_event_parse_qos), (gst_event_new_seek),
4658 (gst_event_parse_seek):
4660 Some more debugging output and doc cleanups.
4662 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4663 Fix possible deadlock.
4665 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4667 * docs/gst/gstreamer-docs.sgml:
4668 * docs/gst/gstreamer-sections.txt:
4669 * docs/gst/gstreamer.types:
4670 * docs/gst/tmpl/.cvsignore:
4675 added 100 symbols from gstreamer-unused.txt to the right sections
4676 fixed more broken comments
4677 added GstBus to docs
4679 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4681 * docs/gst/gstreamer-sections.txt:
4682 * docs/gst/tmpl/.cvsignore:
4683 * docs/gst/tmpl/gstbin.sgml:
4684 * docs/gst/tmpl/gstbuffer.sgml:
4685 * gst/base/gstbasesrc.c:
4686 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4689 * tools/gst-launch.1.in:
4690 inlined more doc comments, added missing comments and fixed comments
4693 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4695 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4699 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4701 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4702 * gst/gststructure.h:
4703 add a fixate function for booleans; add a FIXME that these func
4704 names should probably be gst_structure_fixate_*
4706 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4708 * docs/gst/gstreamer-docs.sgml:
4709 * docs/gst/gstreamer-sections.txt:
4711 * gst/gstbin.c: (gst_bin_get_type),
4712 (gst_bin_child_proxy_get_child_by_index),
4713 (gst_bin_child_proxy_get_children_count),
4714 (gst_bin_child_proxy_init):
4715 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4716 (gst_child_proxy_get_child_by_index),
4717 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4718 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4719 (gst_child_proxy_get), (gst_child_proxy_set_property),
4720 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4721 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4722 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4723 * gst/gstchildproxy.h:
4724 * gst/parse/grammar.y:
4725 * tools/gst-inspect.c: (print_interfaces),
4726 (print_element_properties_info), (print_element_info):
4727 ported gstchildproxy over from 0.8
4728 ported gst-inspect fixes and enhancements over from 0.8
4730 2005-08-22 Wim Taymans <wim@fluendo.com>
4732 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4733 (gst_base_transform_handle_buffer):
4734 Also call the transform function if we have ANY caps.
4736 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4739 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4741 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4742 Don't pretend to handle seek events if the source is not seekable
4744 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4747 Remove extra parameter to debug output
4749 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4750 (gst_base_src_do_seek), (gst_base_src_activate_push):
4751 Fix seek event handling.
4753 * gst/gstpipeline.c: (gst_pipeline_change_state):
4754 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4755 (gst_queue_src_activate_push):
4756 Don't start the src pad task on FLUSH_STOP if the pad
4760 2005-08-22 Wim Taymans <wim@fluendo.com>
4762 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4763 Added check for gst_static_caps_get() refcounting.
4765 2005-08-22 Wim Taymans <wim@fluendo.com>
4767 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4768 Make _static_caps_get() refcounting sane.
4770 * gst/gstelement.c: (gst_element_set_state):
4771 Add g_return_val_if_fail() to protect against segfaults.
4773 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4775 * docs/gst/tmpl/gstevent.sgml:
4778 inlined remaining docs, added missing doc comments
4780 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4782 * check/gst/gstbin.c: (GST_START_TEST):
4783 since we don't know when preroll is done, use refcount range
4785 * gst/check/gstcheck.h:
4786 add macro for checking refcount range
4788 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4790 * check/Makefile.am:
4791 clean up environment for when registry gets built versus
4792 when actual tests are run; valgrind seems to not report
4793 leaks if GST_PLUGIN_PATH is set to some specific values
4794 * check/gst/gstbin.c: (GST_START_TEST):
4795 add more refcounting checks; maybe this exposes a
4798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4799 * gst/check/gstcheck.h:
4800 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4801 (gst_bin_change_state):
4802 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4803 add/fix debugging/whitespace
4805 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4807 * check/gst/gstevent.c: (event_probe), (test_event),
4809 Er, don't call gst_bin_watch_for_state_change you idiot.
4811 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4813 * check/Makefile.am:
4814 Use CHECK_CFLAGS and CHECK_LIBS
4815 * check/gst/gstevent.c: (event_probe), (test_event),
4818 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4819 (gst_base_src_start), (gst_base_src_stop),
4820 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4821 (gst_base_src_change_state):
4822 Sprinkle gst_base_src_stop liberally around error paths to fix
4823 problems reusing a source after failed state changes.
4824 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4825 (helper_find_suggest), (gst_type_find_helper):
4826 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4828 * docs/gst/tmpl/gstevent.sgml:
4829 Migrate part of the docs from the SGML file. Wait for ensonic to
4830 tell me how I did it wrong ;)
4831 * tools/gst-typefind.c: (main):
4832 Extra robustness to state changes between files.
4834 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4836 * check/Makefile.am:
4837 don't valgrind the controller test - it's leaking - Stefan, HELP
4838 * gst/check/gstcheck.c: (gst_check_message_error),
4839 (gst_check_chain_func), (gst_check_setup_element),
4840 (gst_check_teardown_element), (gst_check_setup_src_pad),
4841 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4842 (gst_check_teardown_sink_pad):
4843 * gst/check/gstcheck.h:
4844 add a bunch of methods to set up elements, and src and sink pads
4845 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4846 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4851 whitespace/doc fixes
4853 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4856 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4857 be handled by the application and not always printed as well
4859 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4861 * check/Makefile.am:
4863 * gst/check/gstcheck.c: (gst_check_message_error):
4864 * gst/check/gstcheck.h:
4865 add a fail_unless_equals_int
4866 add fail_unless for error messages
4868 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4870 * check/Makefile.am:
4872 * common/Makefile.am:
4875 factor out some of the common stuff so we can use it
4877 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4879 * check/Makefile.am:
4880 * check/gst/gstiterator.c: (GST_START_TEST):
4881 * check/gst/gstsystemclock.c: (GST_START_TEST),
4882 (gst_systemclock_suite):
4883 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4887 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4889 * check/elements/.cvsignore:
4890 * check/elements/gstfakesrc.c:
4891 rename to name of element
4892 * check/elements/identity.c: (chain_func), (event_func),
4893 (setup_identity), (cleanup_identity), (GST_START_TEST),
4894 (identity_suite), (main):
4895 add a test for identity
4896 * check/Makefile.am:
4897 * pkgconfig/Makefile.am:
4898 * pkgconfig/gstreamer-check.pc.in:
4899 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4903 move the check stuff to a library that gets installed
4904 * check/gst-libs/controller.c: (GST_START_TEST):
4905 * check/gst-libs/gdp.c:
4906 * check/gst/gst.c: (GST_START_TEST):
4907 * check/gst/gstbin.c:
4908 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4909 * check/gst/gstbus.c:
4910 * check/gst/gstcaps.c: (GST_START_TEST):
4911 * check/gst/gstelement.c:
4912 * check/gst/gstghostpad.c:
4913 * check/gst/gstiterator.c:
4914 * check/gst/gstmessage.c:
4915 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4916 * check/gst/gstobject.c:
4917 * check/gst/gstpad.c: (GST_START_TEST):
4918 * check/gst/gststructure.c: (GST_START_TEST):
4919 * check/gst/gstsystemclock.c: (GST_START_TEST),
4920 (gst_systemclock_suite):
4921 * check/gst/gsttag.c: (gst_tag_suite):
4922 * check/gst/gstvalue.c:
4923 * check/pipelines/cleanup.c:
4924 * check/pipelines/simple_launch_lines.c:
4925 * check/states/sinks.c:
4926 change include statement
4928 * docs/gst/gstreamer-sections.txt:
4929 * docs/gst/tmpl/gstpad.sgml:
4930 document more pad stuff
4931 * gst/gstminiobject.c: (gst_mini_object_ref),
4932 (gst_mini_object_unref):
4935 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4937 * docs/gst/tmpl/gst.sgml:
4939 eliminate another tmpl file, fix spelling in the long-description
4941 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4943 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4944 (test_event), (timediff), (gstevents_suite):
4945 Should fix build on 64-bit arch's
4947 2005-08-18 Andy Wingo <wingo@pobox.com>
4949 Make sure that when a pipeline goes to PLAYING, that data has
4950 actually hit the sink.
4952 * check/states/sinks.c (test_sink): A sink that doesn't get any
4953 data shouldn't return SUCCESS for going to either PLAYING or
4954 PAUSED. Test also the return values on the way back down.
4956 * gst/gstelement.c (gst_element_set_state): When changing the
4957 state of an element currently changing state asynchronously, go to
4958 lost-state after commiting the pending state. Makes future calls
4959 to get_state continue to return ASYNC.
4961 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4962 ASYNC when going to PLAYING if we still don't have preroll, as can
4963 happen with live sources.
4965 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4967 * docs/pwg/advanced-types.xml:
4968 Hack long paragraph into 2 chunks as a workaround for buggy
4969 jadetex version in sid and breezy that loops infinitely and
4972 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4974 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4975 (test_event), (timediff), (gstevents_suite):
4976 Provide more error margin in clock measurements to allow for
4977 g_get_current_time inaccuracies.
4979 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4981 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4982 (test_event), (timediff), (gstevents_suite):
4983 Fix error message output so I might be able to tell why the
4984 test works here but fails on the build farm.
4986 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4988 * check/Makefile.am:
4989 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4990 (test_event), (timediff), (gstevents_suite), (main):
4993 * docs/design/part-seeking.txt:
4996 * docs/gst/tmpl/gstevent.sgml:
4997 * docs/gst/tmpl/gstfakesrc.sgml:
5000 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5001 Treat a buffer-without-newsegment the same as a receiving
5002 a newsegment not in time format, and disable syncing to the clock
5005 * gst/gstbus.c: (gst_bus_set_sync_handler):
5006 Assert if anyone tries to replace the existing sync_handler for bus,
5007 as only the owner should be setting it.
5010 Have a fixed set of custom event enums with events identified by
5011 their structure name (as in 0.8), rather than a free-for-all
5012 allowing collisions between enum values from different plugins.
5014 * gst/gstpad.c: (gst_pad_class_init):
5017 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5018 Handle out-of-band downstream events from the sending thread.
5020 2005-08-17 Andy Wingo <wingo@pobox.com>
5022 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5023 play-timeout==0 to mean no timeout at all. In that case, don't
5024 bother with a get_state or a warning, just return directly, even
5027 * gst/base/gstbasetransform.c: Debug changes.
5030 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5031 ensure bins post state change messages. A bit of a hack but I can't
5032 think of a way to avoid it.
5034 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5036 2005-08-16 Andy Wingo <wingo@pobox.com>
5038 * gst/base/gstadapter.h:
5039 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5040 peek() but you own the data. Not terribly efficient atm.
5042 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5044 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5045 (gst_element_found_tags):
5047 Add two utility functions for tag handling.
5049 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5051 * docs/manual/advanced-dataaccess.xml:
5052 * docs/manual/basics-helloworld.xml:
5053 Fix docs to use _bin_add() before _link(), which fixes the examples
5054 with recent core versions (reported by Madhan Raj M
5055 <raj_madan@rediffmail.com>, #313199).
5057 2005-08-16 Wim Taymans <wim@fluendo.com>
5059 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5060 Added subtract checks.
5062 * docs/design/part-events.txt:
5063 Some more docs about newsegment
5065 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5068 * gst/gstcaps.c: (gst_caps_to_string):
5069 Add comments, cleanups.
5071 * gst/gstelement.c: (gst_element_save_thyself):
5074 * gst/gstvalue.c: (gst_value_collect_int_range),
5075 (gst_string_unwrap), (gst_value_union_int_int_range),
5076 (gst_value_union_int_range_int_range),
5077 (gst_value_intersect_int_int_range),
5078 (gst_value_intersect_int_range_int_range),
5079 (gst_value_intersect_double_double_range),
5080 (gst_value_intersect_double_range_double_range),
5081 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5082 (gst_value_subtract_int_range_int),
5083 (gst_value_subtract_double_range_double),
5084 (gst_value_subtract_double_range_double_range),
5085 (gst_value_subtract_from_list), (gst_value_subtract_list),
5086 (gst_value_can_compare), (gst_value_compare_fraction):
5087 Cleanups, add comments, remove unneeded asserts.
5089 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5091 * tools/gst-launch.c: (event_loop):
5092 don't convert NULL structures to strings
5094 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5096 * docs/gst/gstreamer-sections.txt:
5097 made some defines private
5098 * docs/gst/tmpl/gstconfig.sgml:
5099 * docs/gst/tmpl/gstqueue.sgml:
5100 * docs/gst/tmpl/gsttaglist.sgml:
5101 * docs/gst/tmpl/gsttypes.sgml:
5102 * docs/gst/tmpl/gstutils.sgml:
5103 * docs/pwg/appendix-porting.xml:
5104 * gst/base/gstbasesink.h:
5105 * gst/base/gstbasesrc.c:
5106 * gst/base/gstbasesrc.h:
5107 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5108 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5109 * gst/gstelement.c: (gst_element_class_init):
5110 * gst/gstpad.c: (gst_pad_class_init):
5111 * gst/gstqueue.c: (gst_queue_class_init):
5112 * gst/gstxml.c: (gst_xml_class_init):
5113 documented all undocumented signal inline
5114 * libs/gst/controller/gst-controller.h:
5117 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5119 * docs/pwg/appendix-porting.xml:
5120 Document _set_link_function -> _set_setcaps_function.
5122 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5124 * check/Makefile.am:
5125 add a .check target for running the check
5126 * check/gst-libs/controller.c: (GST_START_TEST):
5128 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5129 complete checks for gstbuffer; would be nice if I could get the
5130 gcov stuff to work so I can see if I actually completed gstbuffer.c
5132 add ASSERT_BUFFER_REFCOUNT
5134 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5136 * docs/gst/gstreamer-sections.txt:
5137 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5139 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5140 spew out a warning if a tag that is already registered
5141 is re-registered, unless it is re-registered with a
5142 different type (#308438).
5144 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5146 * docs/pwg/appendix-porting.xml:
5147 * docs/pwg/building-state.xml:
5148 Add some paragraphs about state changes in 0.9 to the PWG
5149 and the porting guide, in particular about the new meaning
5150 of GST_STATE_PAUSED and how to write state change functions
5151 with concurrent access by multiple threads in mind.
5153 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5155 * docs/gst/gstreamer-docs.sgml:
5156 * docs/libs/gstreamer-libs-docs.sgml:
5157 added deprecation and since indexes
5158 * libs/gst/controller/gst-controller.c:
5159 * libs/gst/controller/gst-helper.c:
5163 2005-08-11 Wim Taymans <wim@fluendo.com>
5165 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5166 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5167 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5168 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5169 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5170 (gst_ghost_pad_set_target):
5171 Actually implement (re)setting the target on a ghostpad
5172 as described in the docs.
5174 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5176 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5177 Check whether GST_DEBUG_NO_COLOR environment variable is
5178 set and disable coloured debug output if that is the case.
5180 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5182 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5183 (gst_type_find_helper):
5184 The memory returned by gst_type_find_peek() needs to
5185 stay valid until the end of a typefind function, and
5186 typefind functions may keep results from different
5187 offsets around, so we can't just unref the buffer from
5188 the previous _peek(), but have to save all buffers
5189 returned by _peek() until typefinding is done and only
5192 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5194 * docs/gst/gstreamer-sections.txt:
5196 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5198 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5200 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5201 Fix a pretty good memleak.
5203 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5205 * gst/gstiterator.h:
5206 Fix wrong include and 'make distcheck'.
5208 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5210 * gst/gstbin.c: (bin_bus_handler):
5211 Use gst_element_post_message() instead.
5213 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5215 * gst/base/gstadapter.h:
5216 * gst/base/gstbasesink.h:
5217 * gst/base/gstbasesrc.h:
5218 * gst/base/gstbasetransform.h:
5219 * gst/base/gstcollectpads.h:
5220 * gst/base/gstpushsrc.h:
5221 * gst/gstiterator.h:
5222 Add padding to our base elements' class and instance structs and
5223 to GstIterator (you will need to rebuild all plugins and apps!)
5225 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5227 * gst/gstbin.c: (bin_bus_handler):
5228 Make default message forwarding from child->bus to bin->bus
5229 threadsafe and make it not emit warnings if the parent has no bus.
5231 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5233 * gst/gstelement.c: (activate_pads):
5234 On paused->ready, set pad->caps to NULL, as is the documented
5235 behaviour in this state change. Fixes playback of series of
5236 media files when visualization is enabled in Totem.
5238 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5240 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5241 Allow NULL as filter-caps (which means "any").
5243 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5245 * docs/libs/gstreamer-libs-sections.txt:
5246 * libs/gst/controller/gst-controller.c:
5247 * libs/gst/controller/gst-controller.h:
5248 * libs/gst/controller/gst-helper.c:
5249 adding more entries to the docs and fix small doc-bugs
5251 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5253 * docs/gst/gstreamer-docs.sgml:
5254 * docs/gst/gstreamer-sections.txt:
5255 * docs/gst/gstreamer.types:
5256 * docs/gst/tmpl/gstbasesink.sgml:
5257 * docs/gst/tmpl/gstbasesrc.sgml:
5258 * docs/gst/tmpl/gstbasetransform.sgml:
5259 * docs/gst/tmpl/gstfakesrc.sgml:
5260 * gst/base/gstcollectpads.c:
5261 * gst/base/gstcollectpads.h:
5262 * libs/gst/controller/gst-controller.c:
5263 * libs/gst/controller/gst-controller.h:
5264 * libs/gst/controller/gst-helper.c:
5265 * libs/gst/controller/gst-interpolation.c:
5266 * libs/gst/controller/lib.c:
5267 added long/short desc for controller docs
5268 added collectpads base class docs
5269 added correct includes to base-class docs
5271 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5273 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5274 (gst_test_mono_source_set_property),
5275 (gst_test_mono_source_class_init), (GST_START_TEST),
5276 (gst_controller_suite):
5277 * docs/gst/gstreamer-docs.sgml:
5278 * docs/gst/gstreamer-sections.txt:
5279 * docs/gst/gstreamer.types:
5280 * docs/libs/gstreamer-libs-docs.sgml:
5281 * docs/libs/gstreamer-libs-sections.txt:
5282 * gst/base/gstadapter.c:
5283 * libs/gst/controller/gst-controller.c:
5284 (gst_controlled_property_new), (gst_controlled_property_free),
5285 (gst_controller_new_valist),
5286 (gst_controller_remove_properties_valist),
5287 (gst_controller_sink_values), (_gst_controller_finalize):
5288 * libs/gst/controller/gst-controller.h:
5289 * libs/gst/controller/gst-helper.c:
5290 (gst_object_control_properties), (gst_object_uncontrol_properties),
5291 (gst_object_get_controller), (gst_object_set_controller),
5292 (gst_object_sink_values), (gst_object_get_value_arrays),
5293 (gst_object_get_value_array):
5294 more tests (and fixes) for the controller
5295 more docs for the controller
5296 integrated companies docs for the adapter
5298 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5300 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5301 (GST_START_TEST), (fakesrc_suite):
5302 add tests for sizetype
5304 2005-08-04 Andy Wingo <wingo@pobox.com>
5306 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5307 fixes buffer_alloc proxying among other things.
5309 * gst/base/gstbasetransform.c:
5310 * gst/base/gstbasetransform.h:
5311 Revert patch to gstbasetransform from 7-28 removing
5314 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5315 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5316 Semantics changed, should return not the size of the output buffer
5317 but the byte size of a buffer with a given caps.
5319 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5321 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5322 out) are not the pad caps until setcaps finishes.
5323 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5324 not-in-place case as well. Deal with changing from in-place to
5325 not-in-place within calling pad_alloc_buffer. Still a bit
5326 concerned about the overhead here...
5328 2005-08-03 Andy Wingo <wingo@pobox.com>
5330 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5331 fixating is an error.
5333 2005-08-04 Edward Hervey <edward@fluendo.com>
5335 * gst/base/gstadapter.h:
5336 Added gst_adapter_get_type() to the header
5338 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5340 * check/Makefile.am:
5341 * check/gst-libs/controller.c:
5342 * libs/gst/controller/gst-controller.c:
5343 (gst_controller_new_valist):
5344 added check test suite for the controller
5345 * gst/base/gstpushsrc.c:
5348 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5350 * docs/gst/Makefile.am:
5351 * docs/gst/gstreamer-docs.sgml:
5352 * docs/gst/gstreamer-sections.txt:
5353 * docs/gst/gstreamer.types:
5354 * docs/gst/tmpl/gstfakesrc.sgml:
5356 * gst/base/gstbasesink.c:
5357 * gst/base/gstbasesink.h:
5358 * gst/base/gstbasesrc.c:
5359 * gst/base/gstbasesrc.h:
5360 * gst/base/gstbasetransform.c:
5361 * gst/base/gstpushsrc.c:
5362 * gst/base/gstpushsrc.h:
5363 add short/long description docs to base classes
5364 add pushsrc to the docs
5365 remove consolidated doc fragments
5367 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5370 * docs/libs/Makefile.am:
5371 * docs/libs/gstreamer-libs-docs.sgml:
5372 * docs/libs/gstreamer-libs-sections.txt:
5373 * docs/libs/gstreamer-libs.types:
5374 * examples/Makefile.am:
5375 * examples/controller/.cvsignore:
5376 * examples/controller/Makefile.am:
5377 * examples/controller/audio-example.c: (main):
5378 * libs/gst/Makefile.am:
5379 * libs/gst/controller/.cvsignore:
5380 * libs/gst/controller/Makefile.am:
5381 * libs/gst/controller/gst-controller.c:
5382 (on_object_controlled_property_changed), (gst_timed_value_compare),
5383 (gst_timed_value_find),
5384 (gst_controlled_property_set_interpolation_mode),
5385 (gst_controlled_property_new), (gst_controlled_property_free),
5386 (gst_controller_find_controlled_property),
5387 (gst_controller_new_valist), (gst_controller_new),
5388 (gst_controller_remove_properties_valist),
5389 (gst_controller_remove_properties), (gst_controller_set),
5390 (gst_controller_set_from_list), (gst_controller_unset),
5391 (gst_controller_get), (gst_controller_get_all),
5392 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5393 (gst_controller_get_value_array),
5394 (gst_controller_set_interpolation_mode),
5395 (_gst_controller_finalize), (_gst_controller_init),
5396 (_gst_controller_class_init), (gst_controller_get_type):
5397 * libs/gst/controller/gst-controller.h:
5398 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5399 (g_object_uncontrol_properties), (g_object_get_controller),
5400 (g_object_set_controller), (g_object_sink_values),
5401 (g_object_get_value_arrays), (g_object_get_value_array):
5402 * libs/gst/controller/gst-interpolation.c:
5403 (gst_controlled_property_find_timed_value_node),
5404 (interpolate_none_get), (interpolate_trigger_get),
5405 (interpolate_trigger_get_value_array):
5406 * libs/gst/controller/lib.c: (gst_controller_init):
5407 * pkgconfig/Makefile.am:
5408 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5409 * pkgconfig/gstreamer-control.pc.in:
5410 * testsuite/Makefile.am:
5411 * testsuite/controller/.cvsignore:
5412 * testsuite/controller/Makefile.am:
5413 * testsuite/controller/interpolator.c: (main):
5414 added controller code
5415 removed dparam pc files
5417 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5418 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5419 (gst_collectpads_stop):
5420 Broadcast the condition when shutting down, to make sure we wake all
5421 threads up. Shut down pads on finalize, for safety.
5423 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5424 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5425 (gst_base_transform_handle_buffer),
5426 (gst_base_transform_change_state):
5427 Handle PAUSED->READY->PAUSED transition after negotiation
5429 * gst/gstmessage.c: (gst_message_init):
5430 Extra piece of debug for new messages.
5432 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5435 * docs/gst/tmpl/gstbasesrc.sgml:
5436 * docs/gst/tmpl/gstelement.sgml:
5437 * docs/gst/tmpl/gstevent.sgml:
5438 * docs/gst/tmpl/gstfakesrc.sgml:
5439 * docs/gst/tmpl/gstformat.sgml:
5440 * docs/gst/tmpl/gstghostpad.sgml:
5441 * docs/gst/tmpl/gstpad.sgml:
5442 * docs/gst/tmpl/gstquery.sgml:
5443 * docs/gst/tmpl/gststructure.sgml:
5444 * docs/gst/tmpl/gsttaglist.sgml:
5445 * docs/gst/tmpl/gstvalue.sgml:
5446 * docs/libs/gstreamer-libs-docs.sgml:
5447 * docs/libs/gstreamer-libs-sections.txt:
5448 * docs/libs/gstreamer-libs.types:
5449 * libs/gst/Makefile.am:
5450 * libs/gst/control/.cvsignore:
5451 * libs/gst/control/Makefile.am:
5452 * libs/gst/control/control.c:
5453 * libs/gst/control/control.h:
5454 * libs/gst/control/dparam.c:
5455 * libs/gst/control/dparam.h:
5456 * libs/gst/control/dparam_smooth.c:
5457 * libs/gst/control/dparam_smooth.h:
5458 * libs/gst/control/dparamcommon.h:
5459 * libs/gst/control/dparammanager.c:
5460 * libs/gst/control/dparammanager.h:
5461 * libs/gst/control/dplinearinterp.c:
5462 * libs/gst/control/dplinearinterp.h:
5463 * libs/gst/control/unitconvert.c:
5464 * libs/gst/control/unitconvert.h:
5465 * testsuite/Makefile.am:
5466 * testsuite/dynparams/.cvsignore:
5467 * testsuite/dynparams/Makefile.am:
5468 * testsuite/dynparams/dparamstest.c:
5469 * tools/Makefile.am:
5470 * tools/gst-inspect.c: (print_element_info), (main):
5471 * tools/gst-xmlinspect.c: (print_element_info), (main):
5472 deactivate and remove dparams (libgstcontrol)
5474 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5476 * gst/elements/gsttypefindelement.c:
5477 (gst_type_find_element_have_type), (gst_type_find_element_init),
5478 (stop_typefinding), (gst_type_find_element_handle_event),
5479 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5480 * gst/elements/gsttypefindelement.h:
5481 Set caps on all outgoing buffers, not just the first one.
5483 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/elements/gsttypefindelement.c:
5486 (gst_type_find_element_have_type),
5487 (gst_type_find_element_check_set_buffer_caps),
5488 (gst_type_find_element_init), (stop_typefinding),
5489 (gst_type_find_element_handle_event),
5490 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5491 * gst/elements/gsttypefindelement.h:
5492 Set caps on first outgoing buffer when we've found the type.
5494 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5496 * docs/gst/gstreamer-docs.sgml:
5497 * docs/gst/gstreamer-sections.txt:
5498 * docs/gst/tmpl/gstscheduler.sgml:
5499 * docs/gst/tmpl/gstschedulerfactory.sgml:
5500 Remove some old cruft from docs.
5502 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5505 Fix inline docs for GstPadLinkReturn.
5507 * gst/gststructure.c: (gst_structure_has_name):
5508 * gst/gststructure.h:
5509 * docs/gst/gstreamer-sections.txt:
5510 New API: gst_structure_has_name().
5512 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5515 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5516 and _LARGEFILE_SOURCE in config.h as required. Do not
5517 export those flags in our .pc files any longer (#142209).
5519 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5521 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5522 (gst_file_sink_do_seek), (gst_file_sink_event),
5523 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5524 Redo seek/tell calls with large file support in mind; add some
5525 debugging messages; add log message that tells us when large
5526 file support is unavailable or not enabled for some reason.
5528 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5529 Add log message that tells us when large file support
5530 is unavailable or not enabled for some reason.
5532 2005-07-29 Wim Taymans <wim@fluendo.com>
5534 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5535 Added test for removing an element with ghostpad from a bin.
5536 Fixed test as current implementation does the right thing.
5538 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5539 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5540 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5541 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5542 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5543 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5544 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5545 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5546 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5547 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5548 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5549 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5550 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5551 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5552 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5553 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5554 * gst/gstghostpad.h:
5555 Clean up ghostpads, remove properties for internal stuff.
5558 Prepare for switching targets, not all use cases work yet.
5560 2005-07-29 Wim Taymans <wim@fluendo.com>
5562 * docs/design/part-gstghostpad.txt:
5565 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5566 (gst_bin_remove_func):
5567 Unlinking pads while holding the bin LOCK is not a good
5570 * gst/gstpad.c: (gst_pad_class_init),
5571 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5572 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5573 No prob setting template after creating the pad.
5575 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5577 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5578 (gst_bus_peek), (gst_bus_source_dispatch),
5579 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5580 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5581 gst_bus_poll may be called from other threads. Handle
5582 this nicely by not making poll_data disappear off the
5583 stack once gst_bus_poll returns.
5584 gst_bus_peek now increments the refcount on the returned
5587 2005-07-29 Wim Taymans <wim@fluendo.com>
5589 * docs/design/part-gstghostpad.txt:
5590 Overview of current GhostPad datastructures and use
5591 cases for changing the target.
5593 2005-07-28 Wim Taymans <wim@fluendo.com>
5595 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5596 Added checks for hierarchy consistency whan adding linked
5599 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5600 Added check to test element scheduling without bin/pipeline.
5602 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5603 First add elements to bin, then link.
5605 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5606 (gst_bin_remove_func):
5607 Unlink pads from elements added/removed from bin to maintain
5608 hierarchy consistency.
5610 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5612 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5613 (gst_base_transform_handle_buffer):
5614 * gst/base/gstbasetransform.h:
5615 Remove broken delay_configure (fixes renegotiation of software
5616 scaling pipelines); remove some leftover printf()s.
5618 2005-07-28 Wim Taymans <wim@fluendo.com>
5620 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5621 Added some more tests for wrong hierarchy
5623 * docs/design/part-overview.txt:
5626 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5629 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5630 (gst_element_dispose):
5633 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5634 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5635 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5636 (gst_pad_set_caps), (gst_pad_send_event):
5637 Check for correct hierarchy when linking pads. Moving to
5638 strict requirement for ghostpads when linking elements in
5642 Clean ups. Added WRONG_HIERARCHY return value.
5644 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5646 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5647 Better debug if no transform is possible.
5649 2005-07-27 Wim Taymans <wim@fluendo.com>
5651 * docs/random/wtay/network-transp:
5654 2005-07-27 Wim Taymans <wim@fluendo.com>
5656 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5657 (gst_dp_event_from_packet):
5658 Fix serialization of seek events.
5660 2005-07-27 Wim Taymans <wim@fluendo.com>
5662 * check/gst-libs/gdp.c: (GST_START_TEST):
5663 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5664 Fix compilation and fix event serialization.
5666 2005-07-27 Wim Taymans <wim@fluendo.com>
5669 * docs/design/part-TODO.txt:
5670 * docs/design/part-events.txt:
5673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5674 (gst_base_sink_event), (gst_base_sink_do_sync),
5675 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5676 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5677 (gst_base_src_do_seek), (gst_base_src_event_handler),
5678 (gst_base_src_loop):
5679 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5680 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5681 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5682 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5683 (gst_base_transform_set_passthrough),
5684 (gst_base_transform_is_passthrough):
5685 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5686 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5692 * gst/gstelement.c: (gst_element_seek):
5694 Update gst_element_seek.
5696 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5697 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5698 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5699 (gst_event_new_eos), (gst_event_new_newsegment),
5700 (gst_event_parse_newsegment), (gst_event_new_tag),
5701 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5702 (gst_event_parse_qos), (gst_event_new_seek),
5703 (gst_event_parse_seek), (gst_event_new_navigation):
5705 Make GstEvent use GstStructure. Add parsing code, make sure the
5706 API is sufficiently generic.
5707 Mark possible directions of events and serialization.
5709 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5710 (_gst_message_copy), (gst_message_new_segment_start),
5711 (gst_message_new_segment_done), (gst_message_new_custom),
5712 (gst_message_parse_segment_start),
5713 (gst_message_parse_segment_done):
5716 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5717 (gst_pad_set_caps), (gst_pad_send_event):
5718 Update for new events.
5719 Catch events sent in wrong directions.
5721 * gst/gstqueue.c: (gst_queue_link_src),
5722 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5723 (gst_queue_handle_src_query):
5728 Remove event code from this file.
5730 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5731 (gst_dp_event_from_packet):
5734 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5736 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5737 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5738 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5739 Make debugging actually useful.
5741 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5743 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5744 (gst_pad_fixate_caps):
5745 Implement default fixation once again, so that gst_pad_fixate()
5746 actually does anything at all. This probably needs to be some
5747 sort of a last resort, and use profile-based fixation first, but
5748 since that doesn't exist yet, this is the best we have. Fixes
5749 visualization in Totem.
5751 2005-07-22 Wim Taymans <wim@fluendo.com>
5753 * docs/design/part-events.txt:
5756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5757 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5758 (gst_base_sink_activate_pull):
5761 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5762 (gst_fake_src_create):
5763 Fix handoff marshall.
5765 * gst/elements/gstidentity.c: (gst_identity_class_init),
5766 (gst_identity_transform_ip):
5767 We're a real inplace element.
5769 * gst/gstbus.c: (gst_bus_post):
5770 Added some comments.
5772 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5773 * tests/muxing/case1.c: (main):
5774 * tests/sched/dynamic-pipeline.c: (main):
5775 * tests/sched/interrupt1.c: (main):
5776 * tests/sched/interrupt2.c: (main):
5777 * tests/sched/interrupt3.c: (main):
5778 * tests/sched/runxml.c: (main):
5779 * tests/sched/sched-stress.c: (main):
5780 * tests/seeking/seeking1.c: (event_received), (main):
5781 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5783 * tests/threadstate/threadstate3.c: (main):
5784 * tests/threadstate/threadstate4.c: (main):
5785 * tests/threadstate/threadstate5.c: (main):
5788 2005-07-21 Wim Taymans <wim@fluendo.com>
5790 * docs/design/part-seeking.txt:
5791 Some small additions.
5793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5794 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5795 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5796 * gst/base/gstbasesink.h:
5797 discont values are gint64, handle the math correctly.
5799 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5800 Make the basesrc report error if the source pad is not linked.
5802 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5803 (gst_queue_loop), (gst_queue_handle_src_query),
5804 (gst_queue_src_activate_push):
5805 Make queue collect data even if the srcpad is not linked.
5806 Start pushing out data as soon as it is linked.
5808 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5810 Added gst_flow_get_name() to ease error reporting.
5812 2005-07-20 Wim Taymans <wim@fluendo.com>
5814 * gst/gstmessage.c: (gst_message_new_segment_start),
5815 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5816 (gst_message_parse_segment_done):
5818 Added a bunch of messages for advanced seeking.
5820 * gst/parse/grammar.y:
5821 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5822 (gst_dpman_state_changed):
5823 Fix some new-pad -> pad-added signals
5825 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5827 * docs/manual/appendix-porting.xml:
5828 * docs/pwg/appendix-porting.xml:
5829 Document new-pad/state-change signal renames and the FixedList
5832 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5834 * docs/manual/advanced-autoplugging.xml:
5835 * docs/manual/basics-helloworld.xml:
5836 * docs/manual/basics-pads.xml:
5837 * docs/random/ds/0.9-suggested-changes:
5838 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5843 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5844 (gst_structure_parse_array), (gst_structure_parse_value):
5845 * gst/gstvalue.c: (gst_type_is_fixed),
5846 (gst_value_list_prepend_value), (gst_value_list_append_value),
5847 (gst_value_list_get_size), (gst_value_list_get_value),
5848 (gst_value_transform_array_string), (gst_value_serialize_array),
5849 (gst_value_deserialize_array), (gst_value_intersect_array),
5850 (gst_value_is_fixed), (_gst_value_initialize):
5852 GstElement::new-pad -> pad-added, GstElement::state-change ->
5853 state-changed, GstValueFixedList -> GstValueArray, add format and
5854 flags as their own arguments in gst_element_seek() (should improve
5855 "bindeability"), remove function generators since they don't work
5856 under a whole bunch of compilers (they were deprecated already
5859 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5861 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5862 (_gst_debug_register_funcptr):
5864 Fix illegal cast on some platforms (#309253).
5866 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5868 * gst/gstmessage.c: (gst_message_new_custom):
5870 Add _new_custom, make _new_application a macro to _new_custom.
5872 2005-07-20 Wim Taymans <wim@fluendo.com>
5874 * gst/base/gstbasesrc.c: (gst_base_src_init),
5875 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5876 * gst/base/gstbasesrc.h:
5877 Add a gboolean to decide when to push out a discont.
5879 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5880 (gst_queue_loop), (gst_queue_handle_src_query),
5881 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5882 (gst_queue_set_property), (gst_queue_get_property):
5885 * tests/threadstate/threadstate1.c: (main):
5886 Make a thread test compile and run... very silly..
5889 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5891 * docs/manual/appendix-porting.xml:
5892 Mention removal of libgstgconf-0.9.la and existence of gconf
5895 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5897 * docs/pwg/advanced-clock.xml:
5898 * docs/pwg/appendix-porting.xml:
5899 * docs/pwg/intro-preface.xml:
5900 * docs/pwg/other-base.xml:
5901 * docs/pwg/other-manager.xml:
5902 * docs/pwg/other-nton.xml:
5903 * docs/pwg/other-ntoone.xml:
5904 * docs/pwg/other-oneton.xml:
5906 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5907 demuxer), remove n-to-n (was never written), fix some code examples
5908 and links and update the porting section to include all this.
5910 2005-07-19 Wim Taymans <wim@fluendo.com>
5912 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5913 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5914 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5915 (gst_queue_src_activate_push), (gst_queue_change_state),
5916 (gst_queue_get_property):
5918 Propagate GstFlowReturn more intelligently upstream and output
5919 an ERROR/EOS when streaming stopped due to fatal error.
5921 2005-07-19 Wim Taymans <wim@fluendo.com>
5923 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5924 Don't block forever for the state change to complete, the
5925 pipeline already did with a sensible timeout.
5927 2005-07-19 Wim Taymans <wim@fluendo.com>
5929 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5930 Make sure we never call the create function is we
5933 2005-07-19 Andy Wingo <wingo@pobox.com>
5935 * gst/parse/parse.l: Attempt to solve bug #172815.
5937 2005-07-19 Wim Taymans <wim@fluendo.com>
5939 * docs/design/part-clocks.txt:
5940 * docs/design/part-events.txt:
5941 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5943 Only update the seeking values when we are not
5946 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5948 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5949 Oops, ignore the result of gst_pad_push_event here.
5951 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5953 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5954 (gst_base_src_activate_push):
5955 Send discont event from the loop function, as pads
5956 aren't activated yet in the activate_push handler.
5958 * gst/gstbin.c: (bin_bus_handler):
5959 Don't leak element name.
5961 2005-07-18 Andy Wingo <wingo@pobox.com>
5963 * configure.ac: Use AS_LIBTOOL_TAGS.
5965 2005-07-18 Wim Taymans <wim@fluendo.com>
5967 * docs/gst/gstreamer.types:
5968 Remove deleted types.
5970 2005-07-18 Wim Taymans <wim@fluendo.com>
5972 * check/elements/gstfakesrc.c: (GST_START_TEST):
5975 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5976 (init_popt_callback):
5978 * gst/gst_private.h:
5979 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5980 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5983 * gst/gstconfig.h.in:
5984 * gst/gstelement.c: (gst_element_class_init),
5985 (gst_element_set_base_time), (gst_element_get_base_time),
5986 (iterator_fold_with_resync), (gst_element_change_state),
5987 (gst_element_dispose), (gst_element_get_bus):
5989 * gst/gstelementfactory.h:
5990 * gst/gsterror.c: (_gst_core_errors_init):
5993 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5995 * gst/gstinfo.c: (_gst_debug_init):
5996 * gst/gstmessage.c: (_gst_message_copy):
5998 * gst/gstminiobject.h:
6001 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6002 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6005 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6006 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6007 (gst_pipeline_get_last_stream_time):
6008 * gst/gstpipeline.h:
6009 * gst/gstpluginfeature.h:
6011 * gst/gstscheduler.c:
6012 * gst/gstscheduler.h:
6013 * gst/gststructure.h:
6014 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6015 (gst_task_finalize), (gst_task_func), (gst_task_create),
6016 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6017 (gst_task_stop), (gst_task_pause):
6019 * gst/gsttypefind.h:
6021 * gst/registries/gstlibxmlregistry.c: (load_feature),
6022 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6023 * gst/registries/gstxmlregistry.c:
6024 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6025 * gst/schedulers/threadscheduler.c:
6026 * libs/gst/control/dparammanager.h:
6027 * tools/gst-inspect.c: (print_element_list),
6028 (print_plugin_features), (print_element_features):
6029 * tools/gst-xmlinspect.c: (print_element_list),
6030 (print_plugin_info), (main):
6031 Removed plugable schedulers.
6032 Removed Scheduler/Manager from elements.
6033 Removed gsttypes.h, rearranged includes.
6034 Removed dependency pad<->element, element<>pipeline, and
6035 various others, fix includes.
6036 implement gst_pad_get_parent() with gst_object_get_parent()
6037 Make GstTask sefcontained.
6038 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6040 Fix endless loop in iterator_fold_with_resync.
6043 2005-07-18 Wim Taymans <wim@fluendo.com>
6049 2005-07-18 Wim Taymans <wim@fluendo.com>
6054 2005-07-18 Wim Taymans <wim@fluendo.com>
6060 2005-07-18 Wim Taymans <wim@fluendo.com>
6062 * docs/design/part-dynamic.txt:
6063 * docs/design/part-events.txt:
6064 * docs/design/part-seeking.txt:
6065 Some more docs in the works.
6067 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6068 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6069 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6070 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6071 (gst_base_transform_handle_buffer),
6072 (gst_base_transform_sink_activate_push),
6073 (gst_base_transform_src_activate_pull),
6074 (gst_base_transform_set_passthrough),
6075 (gst_base_transform_is_passthrough):
6078 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6081 * gst/gstevent.c: (gst_event_finalize):
6084 * gst/gstutils.c: (gst_element_unlink),
6085 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6086 (gst_pad_proxy_setcaps):
6088 Add _get_parent_element() to get a pads parent as an element.
6090 2005-07-18 Wim Taymans <wim@fluendo.com>
6092 * check/gst/gstbin.c: (GST_START_TEST):
6095 2005-07-18 Wim Taymans <wim@fluendo.com>
6097 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6098 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6099 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6100 (gst_base_sink_event), (gst_base_sink_do_sync),
6101 (gst_base_sink_chain), (gst_base_sink_loop),
6102 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6103 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6105 Fix logic for returning ASYNC when not prerolled.
6107 2005-07-18 Wim Taymans <wim@fluendo.com>
6109 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6110 Fix nasty refcount bug.
6112 2005-07-16 Philippe Khalaf <burger@speedy.org>
6114 * gst/elements/gstfdsrc.c:
6115 * gst/elements/gstfdsrc.h:
6116 * gst/elements/gstelements.c:
6117 * gst/elements/Makefile.am:
6118 Ported fdsrc to 0.9.
6120 2005-07-16 Wim Taymans <wim@fluendo.com>
6122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6123 (gst_base_sink_do_sync):
6126 2005-07-16 Wim Taymans <wim@fluendo.com>
6128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6129 (gst_base_sink_event), (gst_base_sink_get_times),
6130 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6131 * gst/base/gstbasesink.h:
6132 Store and use discont values when syncing buffers as described
6135 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6136 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6137 (gst_base_src_activate_push):
6138 Push discont event when starting.
6140 * gst/elements/gstidentity.c: (gst_identity_transform):
6143 * gst/gstbin.c: (gst_bin_change_state):
6144 Small cleanups in base_time distribution.
6146 * gst/gstelement.c: (gst_element_set_base_time),
6147 (gst_element_get_base_time), (gst_element_change_state):
6149 Added methods for the base_time of the element.
6152 * gst/gstpipeline.c: (gst_pipeline_send_event),
6153 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6154 (gst_pipeline_get_last_stream_time):
6155 * gst/gstpipeline.h:
6157 Handle seeking as described in design doc, remove stream_time
6159 Cleanups clock and stream_time selection code. Added accessors
6160 for the stream_time.
6163 2005-07-16 Andy Wingo <wingo@pobox.com>
6165 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6168 2005-07-16 Wim Taymans <wim@fluendo.com>
6170 * check/gst/gstbin.c: (GST_START_TEST):
6171 Make elements silent as the deep_notify refs the
6172 parent, which might make the test fail.
6174 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6175 Don't hold the lock for too long.
6177 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6179 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6180 Don't unref the caps we passed to gst_caps_make_writable() after
6181 passing them. gst_caps_make_writable() will do that for us.
6183 2005-07-15 Andy Wingo <wingo@pobox.com>
6185 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6188 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6189 own marshalling function for the handoff signal. Properly type the
6190 buffer as a buffer. Fixes some warnings. Should do a more general
6192 (gst_identity_class_init): Plug into the right marshaller.
6194 2005-07-15 Wim Taymans <wim@fluendo.com>
6196 * docs/design/part-TODO.txt:
6197 * docs/design/part-clocks.txt:
6198 * docs/design/part-element-sink.txt:
6199 * docs/design/part-events.txt:
6200 * docs/design/part-gstpipeline.txt:
6201 Updated docs, mostly DISCONT related.
6203 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6205 * docs/pwg/building-pads.xml:
6206 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6208 2005-07-15 Andy Wingo <wingo@pobox.com>
6210 * tools/gst-typefind.c: Update, add copyright block.
6212 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6213 Normalize and truncate caps before fixation.
6216 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6217 discards all but the first structure from its argument.
6219 2005-07-15 Wim Taymans <wim@fluendo.com>
6221 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6222 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6223 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6224 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6225 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6226 (gst_base_transform_chain), (gst_base_transform_change_state),
6227 (gst_base_transform_set_passthrough),
6228 (gst_base_transform_is_passthrough):
6229 * gst/base/gstbasetransform.h:
6230 Make passthrough work using the bufferpools.
6231 Changed API a bit, subclasses have to write into a buffer
6232 provided by the base class.
6233 More debug info in nego functions.
6235 * gst/elements/gstidentity.c: (gst_identity_init),
6236 (gst_identity_transform):
6237 Port to new base class.
6239 2005-07-15 Wim Taymans <wim@fluendo.com>
6241 * gst/gstmessage.c: (gst_message_new_state_changed):
6242 * tools/gst-launch.c: (event_loop), (main):
6243 Totally dump messages in -launch with the -m option.
6244 Fix message name for State messages,
6246 2005-07-14 Wim Taymans <wim@fluendo.com>
6248 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6249 Post error messages on errors.
6251 2005-07-14 Wim Taymans <wim@fluendo.com>
6253 * gst/gstcaps.c: (gst_caps_do_simplify):
6257 Define error for stream stopped.
6259 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6260 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6261 Do proper return values.
6263 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6264 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6265 (gst_pad_get_range):
6266 Better return values.
6269 Reorganise return values, add macro to check for fatal errors.
6271 * gst/gstqueue.c: (gst_queue_chain):
6272 Return proper GstFlowReturn values,
6274 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * docs/gst/gstreamer-sections.txt:
6277 * docs/gst/gstreamer.types:
6278 * docs/gst/tmpl/gst.sgml:
6279 * docs/gst/tmpl/gstbasesink.sgml:
6280 * docs/gst/tmpl/gstbasesrc.sgml:
6281 * docs/gst/tmpl/gstbasetransform.sgml:
6282 * docs/gst/tmpl/gstbin.sgml:
6283 * docs/gst/tmpl/gstbuffer.sgml:
6284 * docs/gst/tmpl/gstcaps.sgml:
6285 * docs/gst/tmpl/gstclock.sgml:
6286 * docs/gst/tmpl/gstcompat.sgml:
6287 * docs/gst/tmpl/gstconfig.sgml:
6288 * docs/gst/tmpl/gstelement.sgml:
6289 * docs/gst/tmpl/gstelementdetails.sgml:
6290 * docs/gst/tmpl/gstelementfactory.sgml:
6291 * docs/gst/tmpl/gstenumtypes.sgml:
6292 * docs/gst/tmpl/gsterror.sgml:
6293 * docs/gst/tmpl/gstevent.sgml:
6294 * docs/gst/tmpl/gstfakesink.sgml:
6295 * docs/gst/tmpl/gstfakesrc.sgml:
6296 * docs/gst/tmpl/gstfilesink.sgml:
6297 * docs/gst/tmpl/gstfilesrc.sgml:
6298 * docs/gst/tmpl/gstfilter.sgml:
6299 * docs/gst/tmpl/gstformat.sgml:
6300 * docs/gst/tmpl/gstghostpad.sgml:
6301 * docs/gst/tmpl/gstimplementsinterface.sgml:
6302 * docs/gst/tmpl/gstindex.sgml:
6303 * docs/gst/tmpl/gstindexfactory.sgml:
6304 * docs/gst/tmpl/gstinfo.sgml:
6305 * docs/gst/tmpl/gstiterator.sgml:
6306 * docs/gst/tmpl/gstmacros.sgml:
6307 * docs/gst/tmpl/gstmemchunk.sgml:
6308 * docs/gst/tmpl/gstminiobject.sgml:
6309 * docs/gst/tmpl/gstobject.sgml:
6310 * docs/gst/tmpl/gstpad.sgml:
6311 * docs/gst/tmpl/gstpadtemplate.sgml:
6312 * docs/gst/tmpl/gstparse.sgml:
6313 * docs/gst/tmpl/gstpipeline.sgml:
6314 * docs/gst/tmpl/gstplugin.sgml:
6315 * docs/gst/tmpl/gstpluginfeature.sgml:
6316 * docs/gst/tmpl/gstquery.sgml:
6317 * docs/gst/tmpl/gstqueue.sgml:
6318 * docs/gst/tmpl/gstregistry.sgml:
6319 * docs/gst/tmpl/gstregistrypool.sgml:
6320 * docs/gst/tmpl/gstscheduler.sgml:
6321 * docs/gst/tmpl/gstschedulerfactory.sgml:
6322 * docs/gst/tmpl/gststructure.sgml:
6323 * docs/gst/tmpl/gstsystemclock.sgml:
6324 * docs/gst/tmpl/gsttaglist.sgml:
6325 * docs/gst/tmpl/gsttagsetter.sgml:
6326 * docs/gst/tmpl/gsttrace.sgml:
6327 * docs/gst/tmpl/gsttrashstack.sgml:
6328 * docs/gst/tmpl/gsttypefind.sgml:
6329 * docs/gst/tmpl/gsttypefindfactory.sgml:
6330 * docs/gst/tmpl/gsttypes.sgml:
6331 * docs/gst/tmpl/gsturihandler.sgml:
6332 * docs/gst/tmpl/gsturitype.sgml:
6333 * docs/gst/tmpl/gstutils.sgml:
6334 * docs/gst/tmpl/gstvalue.sgml:
6335 * docs/gst/tmpl/gstversion.sgml:
6336 * docs/gst/tmpl/gstxml.sgml:
6337 * docs/libs/tmpl/gstcontrol.sgml:
6338 * docs/libs/tmpl/gstdataprotocol.sgml:
6339 * docs/libs/tmpl/gstdparam.sgml:
6340 * docs/libs/tmpl/gstdplinint.sgml:
6341 * docs/libs/tmpl/gstdpman.sgml:
6342 * docs/libs/tmpl/gstdpsmooth.sgml:
6343 * docs/libs/tmpl/gstgetbits.sgml:
6344 * docs/libs/tmpl/gstunitconvert.sgml:
6345 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6346 (gst_push_src_base_init), (gst_push_src_class_init),
6347 (gst_push_src_init), (gst_push_src_create):
6348 * gst/base/gstpushsrc.h:
6349 * gst/elements/gstelements.c:
6350 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6351 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6352 (gst_fake_sink_init), (gst_fake_sink_set_property),
6353 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6354 (gst_fake_sink_event), (gst_fake_sink_preroll),
6355 (gst_fake_sink_render), (gst_fake_sink_change_state):
6356 * gst/elements/gstfakesink.h:
6357 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6358 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6359 (gst_fake_src_base_init), (gst_fake_src_class_init),
6360 (gst_fake_src_init), (gst_fake_src_event_handler),
6361 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6362 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6363 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6364 (gst_fake_src_create_buffer), (gst_fake_src_create),
6365 (gst_fake_src_start), (gst_fake_src_stop):
6366 * gst/elements/gstfakesrc.h:
6367 * gst/elements/gstfilesink.c: (_do_init),
6368 (gst_file_sink_base_init), (gst_file_sink_class_init),
6369 (gst_file_sink_init), (gst_file_sink_dispose),
6370 (gst_file_sink_set_location), (gst_file_sink_set_property),
6371 (gst_file_sink_get_property), (gst_file_sink_open_file),
6372 (gst_file_sink_close_file), (gst_file_sink_query),
6373 (gst_file_sink_event), (gst_file_sink_render),
6374 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6375 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6376 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6377 * gst/elements/gstfilesink.h:
6378 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6379 (gst_file_src_class_init), (gst_file_src_init),
6380 (gst_file_src_finalize), (gst_file_src_set_location),
6381 (gst_file_src_set_property), (gst_file_src_get_property),
6382 (gst_file_src_map_region), (gst_file_src_map_small_region),
6383 (gst_file_src_create_mmap), (gst_file_src_create_read),
6384 (gst_file_src_create), (gst_file_src_is_seekable),
6385 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6386 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6387 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6388 (gst_file_src_uri_handler_init):
6389 * gst/elements/gstfilesrc.h:
6390 more autistic cleanliness in functions/names/defines
6392 2005-07-13 Andy Wingo <wingo@pobox.com>
6394 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6395 source couldn't negotiate.
6397 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6401 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6402 function. I am channeling Hades. Put your boots on suckers!!!
6404 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6406 * testsuite/caps/Makefile.am:
6407 * testsuite/caps/value_compare.c:
6408 * testsuite/caps/value_intersect.c:
6409 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6410 move two testsuite apps over to the check dir
6412 2005-07-12 Wim Taymans <wim@fluendo.com>
6414 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6415 Added more debug info in the negotiate process.
6418 Prepare for segment playback.
6420 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6426 * tools/gst-launch.c: (main):
6427 NULL pipeline on errors.
6429 2005-07-12 Andy Wingo <wingo@pobox.com>
6431 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6432 not it comes from a malloc region. Make sure our copy gets freed.
6434 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6436 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6437 * check/gst/gstmessage.c: (GST_START_TEST):
6438 * check/gst/gststructure.c: (GST_START_TEST),
6439 (gst_structure_suite), (main):
6441 * gst/gstelement.c: (gst_element_message_full):
6442 clean up GError and debug string now that they get copied
6443 * gst/gstmessage.c: (gst_message_new_error),
6444 (gst_message_new_warning), (gst_message_parse_error),
6445 (gst_message_parse_warning):
6446 use GST_TYPE_G_ERROR for structure_new, and take copies of
6447 arguments, so that we don't mess up refcounting
6449 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6451 * check/Makefile.am:
6452 add per-test valgrind targets
6453 * check/gst-libs/gdp.c: (GST_START_TEST),
6454 (gst_data_protocol_suite), (main):
6457 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6459 * check/Makefile.am:
6460 instate more valgrindable tests
6461 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6462 (GST_START_TEST), (fakesrc_suite):
6463 * check/gst/gstpad.c: (GST_START_TEST):
6464 * check/gst/gststructure.c: (GST_START_TEST):
6466 * docs/gst/tmpl/gstminiobject.sgml:
6467 * gst/gstpad.c: (gst_pad_finalize):
6468 fix the static mutex leak
6470 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6472 * check/Makefile.am:
6473 add two more tests for valgrinding
6474 * check/gst/gstvalue.c: (GST_START_TEST):
6475 test refcount of deserialized buffer, found a leak
6476 * docs/gst/gstreamer-docs.sgml:
6477 * docs/gst/gstreamer-sections.txt:
6478 * docs/gst/gstreamer.types:
6479 * docs/gst/tmpl/gstminiobject.sgml:
6480 add miniobject to docs
6481 * gst/gstminiobject.c:
6483 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6484 (gst_string_unwrap):
6485 fix a hard-to-find invalid write for one of the tests
6486 fix a leak for deserialized buffers
6488 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6490 * docs/pwg/advanced-events.xml:
6491 * docs/pwg/advanced-request.xml:
6492 * docs/pwg/advanced-scheduling.xml:
6493 * docs/pwg/appendix-porting.xml:
6494 * docs/pwg/building-boiler.xml:
6495 * docs/pwg/intro-preface.xml:
6496 * docs/pwg/other-ntoone.xml:
6497 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6498 of example code and explanation for pad activation, loop() and
6499 getrange() functions and a bit more. Remove old comments pointing
6501 * examples/pwg/Makefile.am:
6502 Add loop/getrange examples.
6504 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6507 check for valgrind binary + some fixes
6509 valgrind suppressions for the tests
6510 * check/Makefile.am:
6511 add a valgrind: target that valgrinds the unit tests
6512 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6513 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6514 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6515 * check/gst/gstghostpad.c:
6517 * check/gst/gstdata.c:
6519 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6520 (thread_unref), (gst_mini_object_suite), (main):
6522 * gst/gst.c: (gst_deinit):
6524 add a method to clean up.
6525 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6526 (gst_system_clock_obtain):
6527 allow for disposing the system clock.
6528 * tools/gst-launch.c: (main):
6531 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * docs/gst/tmpl/gstbasesrc.sgml:
6534 * docs/gst/tmpl/gstfakesrc.sgml:
6535 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6536 (gst_base_src_init), (gst_base_src_set_property),
6537 (gst_base_src_get_property), (gst_base_src_get_range),
6538 (gst_base_src_start):
6539 * gst/base/gstbasesrc.h:
6540 add num-buffers property
6541 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6542 (gst_fakesrc_init), (gst_fakesrc_set_property),
6543 (gst_fakesrc_get_property), (gst_fakesrc_create),
6544 (gst_fakesrc_start):
6545 remove num-buffers property
6547 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6549 * docs/gst/gstreamer-sections.txt:
6550 * docs/gst/tmpl/gstbasesink.sgml:
6551 * docs/gst/tmpl/gstbasesrc.sgml:
6552 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6553 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6554 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6555 (gst_base_sink_set_property), (gst_base_sink_get_property),
6556 (gst_base_sink_handle_object), (gst_base_sink_event),
6557 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6558 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6559 (gst_base_sink_loop), (gst_base_sink_deactivate),
6560 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6561 (gst_base_sink_change_state):
6562 * gst/base/gstbasesink.h:
6563 * gst/base/gstbasesrc.h:
6564 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6565 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6566 (gst_filesink_init):
6567 more macro splitting
6569 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6571 * gst/gstelement.c: (gst_element_get_bus):
6573 * tools/gst-launch.c: (check_intr), (event_loop):
6576 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6578 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6581 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6584 (gst_base_src_finalize):
6585 add finalize method and clean up properly
6586 * gst/gstpipeline.c: (gst_pipeline_dispose):
6589 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6591 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6593 add more things to check
6594 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6598 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6600 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6601 (GST_START_TEST), (fakesrc_suite):
6602 * check/gst-libs/gdp.c: (GST_START_TEST):
6603 * check/gst/gst.c: (GST_START_TEST):
6604 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6605 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6606 * check/gst/gstbus.c: (GST_START_TEST):
6607 * check/gst/gstcaps.c: (GST_START_TEST):
6608 * check/gst/gstdata.c: (GST_START_TEST):
6609 * check/gst/gstelement.c: (GST_START_TEST):
6610 * check/gst/gstghostpad.c: (GST_START_TEST):
6611 * check/gst/gstiterator.c: (GST_START_TEST):
6612 * check/gst/gstmessage.c: (GST_START_TEST):
6613 * check/gst/gstobject.c: (GST_START_TEST):
6614 * check/gst/gstpad.c: (GST_START_TEST):
6615 * check/gst/gststructure.c: (GST_START_TEST):
6616 * check/gst/gstsystemclock.c: (GST_START_TEST),
6617 (gst_systemclock_suite):
6618 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6619 * check/gst/gstvalue.c: (GST_START_TEST):
6620 * check/pipelines/cleanup.c: (GST_START_TEST):
6621 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6622 * check/states/sinks.c: (GST_START_TEST):
6623 * check/gstcheck.c: (gst_check_init):
6625 add debugging category
6626 use GST_START_TEST now, so we add a debug line
6628 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6630 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6631 add test for state change message on a bin
6632 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6634 * gst/gstbin.c: (gst_bin_init):
6635 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6636 * gst/gstelement.c: (gst_element_post_message),
6637 (gst_element_set_state):
6638 * gst/gstelementfactory.c: (gst_element_factory_create):
6639 * gst/gstmessage.c: (gst_message_new):
6640 * gst/gstscheduler.c:
6641 various debugging additions and cleanups
6643 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6645 * check/Makefile.am:
6646 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6648 adding tests for elements
6649 * gst/gstelement.c: (gst_element_dispose):
6651 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6653 * gst/registries/gstlibxmlregistry.c: (load_feature):
6654 plug more leaks. A simple gst_init() now is leakfree, yay.
6656 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6659 (gst_xml_registry_load):
6660 plug another memleak
6662 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6665 use GST_SET_ERROR_CFLAGS
6667 change to ERROR_CFLAGS
6669 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6672 make GST_ERROR_CFLAGS overridable and re-enable Werror
6674 add a note about error CFLAGS
6675 * docs/gst/tmpl/gstfakesrc.sgml:
6676 * gst/elements/gstfakesrc.c:
6677 comment out some unused code
6678 * gst/gst.c: (split_and_iterate):
6679 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6683 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6685 * common/Makefile.am:
6686 * common/gtk-doc.mak:
6687 * docs/gst/Makefile.am:
6688 factor out gtk-doc.mak
6690 2005-07-07 Wim Taymans <wim@fluendo.com>
6692 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6693 (gst_thread_scheduler_dispose):
6694 Unlock the STREAM_LOCK completely.
6696 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6698 * check/Makefile.am:
6699 * check/elements/.cvsignore:
6700 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6701 (START_TEST), (fakesrc_suite), (main):
6702 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6703 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6704 (gst_fakesrc_create), (gst_fakesrc_start):
6705 * gst/elements/gstfakesrc.h:
6706 adding a first element test
6708 2005-07-07 Andy Wingo <wingo@pobox.com>
6710 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6713 2005-07-07 Wim Taymans <wim@fluendo.com>
6719 2005-07-07 Wim Taymans <wim@fluendo.com>
6721 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6722 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6723 Allow subclasses to implement their own negotiation.
6725 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6727 * docs/design/part-gstbin.txt:
6728 * docs/design/part-gstpipeline.txt:
6729 Update design notes to reflect the movement of
6730 responsibility for bus handling from GstPipeline to
6733 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6736 Remove unnecessary queue2/3/4 examples.
6738 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6740 * examples/Makefile.am:
6741 * examples/helloworld/helloworld.c: (event_loop), (main):
6742 * examples/queue/queue.c: (event_loop), (main):
6743 * examples/queue2/queue2.c: (main):
6744 Update a couple of the examples to work again.
6746 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6747 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6748 Spelling corrections and extra debug.
6750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6751 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6752 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6754 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6755 (gst_pipeline_change_state):
6756 * gst/gstpipeline.h:
6757 Move the bus handler for children to the GstBin, and create a
6758 separate bus for receiving messages from children to the one the
6759 bus sends 'upwards' on.
6761 2005-07-06 Wim Taymans <wim@fluendo.com>
6764 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6765 (gst_base_sink_handle_object), (gst_base_sink_loop),
6766 (gst_base_sink_change_state):
6767 * gst/base/gstbasesink.h:
6768 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6769 (gst_base_src_init), (gst_base_src_setcaps),
6770 (gst_base_src_getcaps), (gst_base_src_loop),
6771 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6772 (gst_base_src_start), (gst_base_src_change_state):
6773 * gst/base/gstbasesrc.h:
6774 Make basesrc negotiate.
6775 Handle the case where preroll fails in basesink.
6778 2005-07-06 Wim Taymans <wim@fluendo.com>
6780 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6781 Implement the fixate function.
6782 Clean up acceptcaps.
6784 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6786 * docs/pwg/building-filterfactory.xml:
6788 Remove never-written filter-factory chapter; I'll add the various
6789 base classes to part 4 ("other element types") later on.
6791 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6793 * docs/pwg/advanced-negotiation.xml:
6794 * docs/pwg/building-boiler.xml:
6795 * docs/pwg/building-pads.xml:
6797 * examples/pwg/Makefile.am:
6798 Add a chapter on caps negotiation, simplify the original code
6799 samples a bit w.r.t. caps negotiation, add link to the advanced
6800 section. Add a bunch of examples showing different use cases of
6801 different types of caps negotiation. Upstream renegotiation isn't
6802 fully documented yet since nobody knows how that works.
6804 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6806 * check/gst/gstpad.c:
6808 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6809 if pad has no parent, return NULL as list of internal links
6811 2005-07-05 Andy Wingo <wingo@pobox.com>
6813 * gst/elements/gstfilesrc.c:
6814 * gst/elements/gstfakesrc.c:
6815 * gst/base/gstpushsrc.c:
6816 * gst/base/gstbasesrc.h:
6817 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6819 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6822 better report generation target (lcov needs a patch)
6824 2005-07-05 Andy Wingo <wingo@pobox.com>
6826 * gst/elements, testsuite: Null if we got it...
6828 2005-07-05 Wim Taymans <wim@fluendo.com>
6831 * libs/gst/dataprotocol/Makefile.am:
6832 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6833 * libs/gst/dataprotocol/dataprotocol.h:
6834 * pkgconfig/Makefile.am:
6835 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6836 * pkgconfig/gstreamer-dataprotocol.pc.in:
6837 Ported dataprotol to 0.9.
6838 Added pkgconfig files.
6840 2005-07-05 Andy Wingo <wingo@pobox.com>
6842 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6843 Default to returning TRUE for the case when tranform_caps returns
6844 a fixed caps, like for identity or volume.
6846 * check/gst/gstbus.c (pound_bus_with_messages):
6847 * check/gst/gstmessage.c (START_TEST):
6848 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6851 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6852 logic weaks here: always run transform_caps, trying passthrough
6853 operation only if the original caps intersects with the transform.
6855 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6856 source and sink caps.
6858 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6859 Intersect the peer caps with the pad template before going into
6861 (gst_base_transform_transform_caps): More debugging.
6863 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6866 2005-07-04 Edward Hervey <edward@fluendo.com>
6870 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6873 2005-07-04 Andy Wingo <wingo@pobox.com>
6875 * check/gst/gstpad.c: Only set explicit caps on pads.
6877 2005-07-01 Andy Wingo <wingo@pobox.com>
6879 * tests/network-clock.scm: Commentary update.
6881 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6882 Didn't really make sense, not implementable with basetransform,
6884 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6885 attempt at implementing the sync property, needs an unlock method.
6887 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6888 New func, by default returns the same caps (the identity
6890 (gst_base_transform_getcaps): Uses transform_caps to return
6892 (gst_base_transform_setcaps): Complicated logic to get caps on
6893 both pads, even if they are different, and to call set_caps once
6894 for every time both pads get their caps set.
6895 (gst_base_transform_handle_buffer): Give the ref to the transform
6896 function. Allows in-place modification of the buffer.
6898 * gst/base/gstbasetransform.h (transform_caps): New class method.
6899 Given caps on one side, what can I do on the other.
6900 (set_caps): Take two caps, one for each side of the element.
6903 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6904 caps in place. This is safe because we can check the mutability of
6905 the caps, and a good idea because fixate functions are just called
6906 as a matter of last resort. (Not actually implemented.)
6907 (gst_pad_set_caps): If the caps we're setting is actually the same
6908 as the existing pad caps, just update the pointer without calling
6909 setcaps. Assert that caps is either NULL or fixed, as per the
6912 * gst/gstghostpad.c: Update for fixate changes.
6914 2005-07-02 Andy Wingo <wingo@pobox.com>
6917 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6918 two refcounts makes it immutable, which is enough. Doc more.
6920 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6922 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6923 Put the mini_object into GValue as a mini_object,
6924 not a gpointer, since that's how we declared
6927 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6929 * examples/pwg/Makefile.am:
6932 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6934 * docs/pwg/building-testapp.xml:
6936 * examples/pwg/Makefile.am:
6939 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6942 * examples/Makefile.am:
6943 * examples/pwg/Makefile.am:
6944 * examples/pwg/extract.pl:
6945 Enable building the PWG examples.
6946 * docs/pwg/advanced-interfaces.xml:
6947 Add URI interface stub.
6948 * docs/pwg/advanced-types.xml:
6949 * docs/pwg/other-autoplugger.xml:
6950 * docs/pwg/appendix-porting.xml:
6952 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6953 * docs/pwg/building-boiler.xml:
6954 * docs/pwg/building-chainfn.xml:
6955 * docs/pwg/building-pads.xml:
6956 * docs/pwg/building-props.xml:
6957 * docs/pwg/building-state.xml:
6958 * docs/pwg/building-testapp.xml:
6959 Update the building-*.xml parts for 0.9 changes. All examples
6960 code blocks compile in examples/pwg/*.
6962 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6964 * docs/manual/advanced-autoplugging.xml:
6965 * docs/manual/appendix-checklist.xml:
6966 * docs/manual/appendix-integration.xml:
6967 * docs/manual/highlevel-components.xml:
6968 Fix playbin/decodebin examples, update docs a bit, mention bus
6969 instead of signals in various places, mention kmplayer and
6970 kaffeine since they have a working GStreamer backend in the KDE
6973 2005-06-30 Wim Taymans <wim@fluendo.com>
6976 * docs/design/draft-ghostpads.txt:
6977 * docs/design/draft-push-pull.txt:
6978 * docs/design/draft-query.txt:
6979 * docs/design/part-TODO.txt:
6980 * docs/design/part-query.txt:
6981 Added CHANGES-0.9 doc, updated status of other docs.
6986 2005-06-30 Wim Taymans <wim@fluendo.com>
6988 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6989 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6990 (gst_base_sink_change_state):
6991 * gst/base/gstbasesink.h:
6992 Some tweaks, only EOS and a buffer complete a preroll.
6994 2005-06-30 Andy Wingo <wingo@pobox.com>
6996 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6997 activate_push down to the internal pad as well.
6999 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7001 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7003 * gst/gsttaginterface.c:
7004 Some documentation fixes (#307394 and #307397).
7006 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7008 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7010 * gst/gstvalue.c: (gst_value_intersect_list):
7011 Fix memleak (#309125).
7013 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7015 * docs/manual/advanced-dataaccess.xml:
7016 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7017 * docs/manual/basics-pads.xml:
7018 Add reference for filtered caps to above chapter.
7020 2005-06-30 Wim Taymans <wim@fluendo.com>
7022 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7023 (gst_bin_change_state):
7025 Lame attempt at making the state change function a bit
7028 2005-06-30 Wim Taymans <wim@fluendo.com>
7030 * docs/design/part-clocks.txt:
7031 * docs/design/part-element-sink.txt:
7032 * docs/design/part-events.txt:
7033 * docs/design/part-preroll.txt:
7034 * docs/design/part-states.txt:
7035 Some more tweeks and additions to the docs.
7037 2005-06-30 Wim Taymans <wim@fluendo.com>
7039 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7040 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7041 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7042 (gst_pad_check_pull_range), (gst_pad_get_range),
7043 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7045 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7046 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7047 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7048 (gst_pad_remove_buffer_probe):
7049 Removed atomic operations, use existing LOCK.
7050 Move exception handling out of main code path.
7052 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7054 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7055 (silly_return_true_function), (gst_pad_class_init),
7056 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7057 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7058 (gst_pad_send_event):
7059 Fix accumulator, add default value by using _emitv() instead
7060 of _emit() for signal emission.
7062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7064 * docs/manual/advanced-dataaccess.xml:
7065 * examples/manual/Makefile.am:
7067 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7070 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7072 * gst/elements/gstfilesink.c: (gst_filesink_render):
7073 Simplify code so that we don't have to handle short
7074 writes and return GST_FLOW_ERROR if an error occured.
7076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7078 * docs/gst/gstreamer-docs.sgml:
7081 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7083 * docs/gst/gstreamer-sections.txt:
7084 * docs/gst/tmpl/gstpad.sgml:
7085 * docs/gst/tmpl/gstprobe.sgml:
7087 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7088 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7089 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7090 (gst_pad_push_event), (gst_pad_send_event):
7092 * gst/gstutils.c: (gst_pad_add_data_probe),
7093 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7094 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7095 (gst_pad_remove_buffer_probe):
7097 Remove old probes, add new g-signal-based probes and some utility
7100 2005-06-29 Edward Hervey <edward@fluendo.com>
7102 * gst/gstelementfactory.c:
7105 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7106 the definition to the header file.
7108 2005-06-29 Andy Wingo <wingo@pobox.com>
7110 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7111 plugins from the source directory.
7113 2005-06-29 Wim Taymans <wim@fluendo.com>
7115 * docs/gst/tmpl/gstbuffer.sgml:
7116 * docs/gst/tmpl/gstclock.sgml:
7117 Some fixings for blantently wrong text.
7119 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7121 * check/Makefile.am:
7122 * gst/gst.c: (add_path_func), (init_pre):
7123 * gst/gstregistry.c: (gst_registry_add_path):
7124 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7125 only scan the GST_PLUGIN_PATH locations, and not add
7128 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7130 * docs/gst/gstreamer-sections.txt:
7131 * docs/gst/tmpl/gstbasesrc.sgml:
7138 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7140 * docs/manual/advanced-autoplugging.xml:
7141 Fix autoplugging example.
7143 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7145 * docs/manual/advanced-autoplugging.xml:
7146 * docs/manual/mime-world.fig:
7147 Try to get autoplugging working, fix type detection. Fix text
7148 in hello-world image.
7150 2005-06-29 Wim Taymans <wim@fluendo.com>
7152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7153 (gst_base_sink_change_state):
7157 map SIGNAL and BROADCAST to the right function.
7160 Remove redundant braces.
7162 * gst/gstpad.c: (gst_pad_set_caps):
7163 Don't call setcaps function when reseting caps to NULL.
7165 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7166 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7167 (gst_system_clock_id_unschedule):
7168 Use BROADCAST as this is what we do.
7170 2005-06-29 Wim Taymans <wim@fluendo.com>
7172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7173 We are actually prerolling before commiting the state
7176 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7178 * docs/manual/advanced-clocks.xml:
7179 * docs/manual/advanced-interfaces.xml:
7180 * docs/manual/advanced-metadata.xml:
7181 * docs/manual/advanced-position.xml:
7182 * docs/manual/advanced-schedulers.xml:
7183 * docs/manual/advanced-threads.xml:
7184 * docs/manual/appendix-porting.xml:
7185 * docs/manual/basics-bins.xml:
7186 * docs/manual/basics-bus.xml:
7187 * docs/manual/basics-elements.xml:
7188 * docs/manual/basics-helloworld.xml:
7189 * docs/manual/basics-pads.xml:
7190 * docs/manual/highlevel-components.xml:
7191 * docs/manual/manual.xml:
7192 * docs/manual/thread.fig:
7193 Update (until threads/scheduling) Application Development Manual;
7194 remove GstThread, add GstBus, add simple porting checklist, add
7195 documentation for tag writing, clocks, make all examples until this
7196 part compile and run.
7197 * examples/manual/Makefile.am:
7198 Update from changes to Application Development Manual; add bus
7199 example, remove thread example.
7201 2005-06-28 Wim Taymans <wim@fluendo.com>
7203 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7204 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7205 (gst_bus_source_dispatch):
7206 Add debugging messages.
7207 Make internal methods static.
7208 Handle the case where the bus is flushed in the handler.
7210 * gst/gstelement.c: (gst_element_get_bus):
7211 Fix refcount in _get_bus();
7213 * gst/gstpipeline.c: (gst_pipeline_change_state),
7214 (gst_pipeline_get_clock_func):
7215 Clock refcounting fixes.
7216 Handle the case where preroll timed out more gracefully.
7218 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7219 Clean up the internal thread in dispose. This is needed
7220 for subclasses that actually get disposed.
7222 * gst/schedulers/threadscheduler.c:
7223 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7224 (gst_thread_scheduler_dispose):
7225 Free thread pool in dispose.
7227 2005-06-28 Andy Wingo <wingo@pobox.com>
7229 * tests/network-clock-utils.scm (debug, print-event): New utils.
7231 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7232 (*packet-loss*): Unified loss probability.
7233 (network-time): Report out-of-band events.
7235 * tests/plot-data: Add support for out-of-band events. Hack it
7236 into this script instead of passing it down the pipe; should fix
7239 2005-06-28 Wim Taymans <wim@fluendo.com>
7241 * docs/gst/gstreamer.types:
7242 * docs/gst/tmpl/gstbasesrc.sgml:
7243 * docs/gst/tmpl/gstpad.sgml:
7246 2005-06-28 Wim Taymans <wim@fluendo.com>
7248 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7249 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7250 (gst_proxy_pad_do_fixatecaps):
7251 Correctly proxy the check_pull_range function.
7253 2005-06-28 Andy Wingo <wingo@pobox.com>
7255 * tests/network-clock.scm: Removed need for slib.
7257 2005-06-28 Wim Taymans <wim@fluendo.com>
7259 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7260 (gst_basesink_preroll_queue_flush):
7261 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7262 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7263 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7264 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7265 (gst_proxy_pad_set_property):
7268 * gst/gstqueue.c: (gst_queue_init):
7269 The deprecated pad loop function is removed now.
7271 2005-06-28 Andy Wingo <wingo@pobox.com>
7273 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7274 New parameters, simulate network packet loss.
7276 * tests/network-clock-utils.scm: Initialize the RNG.
7278 2005-06-28 Wim Taymans <wim@fluendo.com>
7280 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7281 (gst_basesink_event), (gst_basesink_deactivate):
7282 Flushing the preroll queue always needs to unlock the waiters.
7284 2005-06-28 Edward Hervey <edward@fluendo.com>
7286 * gst/gstpipeline.c: (gst_pipeline_send_event):
7287 Wheen a seek was successful on a pipeline, set the stream_time to the
7288 seek offset in order to have a synchronized stream_time.
7290 2005-06-28 Wim Taymans <wim@fluendo.com>
7292 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7293 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7294 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7295 (gst_proxy_pad_do_fixatecaps):
7296 Call wrapper function instead of just calling the function
7297 pointers. This takes care of any locking and whatmore.
7299 2005-06-28 Wim Taymans <wim@fluendo.com>
7301 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7302 (gst_pad_pull_range):
7304 CONNECTED -> LINKED.
7306 2005-06-28 Andy Wingo <wingo@pobox.com>
7308 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7309 source-munging commit!!!
7311 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7312 (gst_object_sink): Take gpointer arguments, not GstObject --
7313 avoids casts. Like GLib.
7315 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7318 2005-06-27 Andy Wingo <wingo@pobox.com>
7320 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7323 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7324 returns a sorted copy of the trace list.
7325 (gst_alloc_trace_print_live): New API, only prints traces with
7326 live objects. Sort the list.
7327 (gst_alloc_trace_print_all): Sort the list.
7328 (gst_alloc_trace_print): Align columns.
7330 * gst/elements/gstttypefindelement.c:
7331 * gst/elements/gsttee.c:
7332 * gst/base/gstbasesrc.c:
7333 * gst/base/gstbasesink.c:
7334 * gst/base/gstbasetransform.c:
7335 * gst/gstqueue.c: Adapt for pad activation changes.
7337 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7339 (gst_pipeline_dispose): Drop ref on sched.
7341 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7342 (gst_pad_activate_default): Push mode by default.
7343 (pre_activate_switch, post_activate_switch): New stubs, things to
7344 do before and after switching activation modes on pads.
7345 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7346 the pad's activate function to choose which mode to activate.
7347 Shortcut on deactivation and call the right function directly.
7348 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7350 (gst_pad_activate_push): New API, same for push mode.
7351 (gst_pad_set_activate_function)
7352 (gst_pad_set_activatepull_function)
7353 (gst_pad_set_activatepush_function): Setters for new API.
7355 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7356 Trace all miniobjects.
7357 (gst_mini_object_make_writable): Unref the arg if we copy, like
7358 gst_caps_make_writable.
7360 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7362 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7363 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7364 Adapt for new pad API.
7366 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7369 * gst/gstelement.c (gst_element_iterate_src_pads)
7370 (gst_element_iterate_sink_pads): New API functions.
7372 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7373 should fold into gstiterator.c in some form.
7374 (gst_element_pads_activate): Simplified via use of fold and
7375 delegation of decisions to gstpad->activate.
7377 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7380 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7381 class once in init, like gstmessage. Didn't run into this issue
7382 but it seems correct. Don't initialize a trace, gstminiobject does
7385 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7386 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7388 (assert_live_count): New util function, uses alloc traces to check
7391 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7392 To be modified when unlink drops the internal pad.
7394 2005-06-27 Wim Taymans <wim@fluendo.com>
7396 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7397 (gst_bin_change_state):
7398 Cleanup the get_state() function a little, make sure it
7399 iterates the same set of elements.
7400 Added stub iterate_state_order().
7402 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7404 * docs/gst/gstreamer-docs.sgml:
7405 * docs/gst/gstreamer-sections.txt:
7406 * docs/gst/gstreamer.types:
7407 * docs/gst/tmpl/gstbasesink.sgml:
7408 * docs/gst/tmpl/gstbasesrc.sgml:
7409 * docs/gst/tmpl/gstbasetransform.sgml:
7410 * docs/gst/tmpl/gstelement.sgml:
7411 * docs/gst/tmpl/gstiterator.sgml:
7412 * gst/base/gstbasesrc.c:
7413 * gst/base/gstbasesrc.h:
7414 * gst/base/gstbasetransform.h:
7416 * gst/gstiterator.h:
7417 adding basetransform and iterator docs
7419 2005-06-27 Andy Wingo <wingo@pobox.com>
7421 * docs/design/part-activation.txt: Notes on how activation should
7422 work -- not quite implemented yet.
7424 2005-06-25 Wim Taymans <wim@fluendo.com>
7426 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7427 At least get the chain function correct, needs more
7430 2005-06-25 Wim Taymans <wim@fluendo.com>
7432 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7433 (gst_basesink_handle_object), (gst_basesink_event),
7434 (gst_basesink_do_sync), (gst_basesink_handle_event),
7435 (gst_basesink_change_state):
7437 Right, two problems here: ghostpads don't take locks and
7438 glib _rec_mutex_lock_full() with depth==0 still locks.
7439 Catch illegal locking and g_warn them.
7441 2005-06-25 Wim Taymans <wim@fluendo.com>
7443 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7444 Have to check for completion now...
7446 2005-06-25 Wim Taymans <wim@fluendo.com>
7448 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7449 (gst_basesink_handle_object), (gst_basesink_event),
7450 (gst_basesink_do_sync), (gst_basesink_handle_event),
7451 (gst_basesink_change_state):
7453 Unlock STREAM_LOCK whatever the recursion was.
7455 2005-06-25 Wim Taymans <wim@fluendo.com>
7457 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7458 (gst_basesink_preroll_queue_empty),
7459 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7460 (gst_basesink_event), (gst_basesink_do_sync),
7461 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7462 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7463 (gst_basesink_change_state):
7464 Reworked the base sink, handle event and buffer serialisation
7465 correctly and removed possible deadlock.
7466 Handle EOS correctly.
7468 2005-06-25 Wim Taymans <wim@fluendo.com>
7470 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7471 (gst_pipeline_change_state):
7472 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7473 Allow elements to post EOS in the state change function.
7474 Fix up -launch, make it exit the poll loop when the
7475 pipeline actually changed state.
7476 Fix up warning parsing in -launch.
7478 2005-06-25 Wim Taymans <wim@fluendo.com>
7480 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7481 (gst_tee_sink_activate):
7482 Core takes STREAM_LOCK for us now.
7484 2005-06-25 Wim Taymans <wim@fluendo.com>
7486 * gst/gstelement.c: (gst_element_get_state_func),
7487 (gst_element_set_state):
7489 * gst/gstmessage.c: (gst_message_parse_error),
7490 (gst_message_parse_warning):
7491 Keep track of current target state while performing a state
7492 change so that subclasses can do something interesting.
7493 Fix parsing of warning/error messages when GError is NULL.
7495 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7497 * docs/gst/Makefile.am:
7498 * docs/gst/gstreamer-docs.sgml:
7499 * docs/gst/gstreamer-sections.txt:
7500 * docs/gst/gstreamer.types:
7501 * docs/gst/tmpl/gstbasesink.sgml:
7502 * docs/gst/tmpl/gstbasesrc.sgml:
7503 * docs/gst/tmpl/gstbin.sgml:
7504 * docs/gst/tmpl/gstcompat.sgml:
7505 * docs/gst/tmpl/gstfakesink.sgml:
7506 * docs/gst/tmpl/gstfakesrc.sgml:
7507 * docs/gst/tmpl/gstfilesink.sgml:
7508 * docs/gst/tmpl/gstfilesrc.sgml:
7509 * docs/gst/tmpl/gstindex.sgml:
7510 * docs/manual/appendix-quotes.xml:
7511 * gst/base/gstbasesrc.h:
7512 * gst/elements/gstfakesrc.h:
7514 start pulling in base classes and elements in our docs
7516 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7518 * docs/gst/Makefile.am:
7519 * docs/libs/Makefile.am:
7520 fixed make distcheck with gtk-doc 1.3
7522 2005-06-23 Wim Taymans <wim@fluendo.com>
7524 * gst/gstelement.c: (gst_element_get_state_func),
7525 (gst_element_set_state), (gst_element_change_state):
7526 When the state did not change, also report NO_PREROLL
7529 2005-06-23 Wim Taymans <wim@fluendo.com>
7531 * gst/gstpad.c: (gst_pad_event_default):
7532 * gst/gstqueue.c: (gst_queue_loop):
7533 No unsafe task pausing please.
7535 2005-06-23 Wim Taymans <wim@fluendo.com>
7537 * gst/schedulers/threadscheduler.c:
7538 (gst_thread_scheduler_task_start),
7539 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7540 Ref the task before pushing it on the threadpool. This
7541 makes sure that we have a ref when the threadfunction is
7544 2005-06-23 Andy Wingo <wingo@pobox.com>
7546 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7547 offset is greater than the file's size.
7549 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7550 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7551 * gst/gstobject.c (gst_object_class_init): Make the class lock
7552 recursive. Wim won't let me drop deep_notify. Decodebin works
7555 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7556 internal pad, and hacks accordingly. Doesn't do it on the target
7557 pad because we change its caps. Probably catches all cases of
7559 (gst_ghost_pad_set_property): Connect to notify::caps as
7562 * tests/network-clock.scm (plot-simulation): Pipe data to the
7563 elite python skript.
7565 * tests/network-clock-utils.scm (define-parameter): New macro,
7566 defines a parameter that can be set via the command line.
7567 (set-parameter!, parse-parameter-arguments): Command line args
7570 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7573 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7575 * gst/elements/gsttypefindelement.c:
7576 (gst_type_find_element_handle_event):
7577 Don't restart typefinding on a discont.
7578 * gst/gstelement.c: (gst_element_set_state):
7580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7581 Allow changing mode of an active pad.
7583 * gst/registries/gstlibxmlregistry.c: (load_feature):
7584 Don't cast a static pad template to a normal pad template.
7586 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7588 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7589 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7590 remove gst_strtoll completely, since it didn't actually do
7591 anything more than what g_ascii_strtoull already does.
7592 check for range errors when deserializing
7593 do a cast for the unsigned cases; but further fixing needs
7594 a decision on what the interpretation of "(int)" and
7595 deserialization should be for values that fall outside the
7596 type's boundaries (ie, refuse, or interpret as casting)
7598 2005-06-23 Wim Taymans <wim@fluendo.com>
7600 * check/Makefile.am:
7601 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7602 * docs/design/part-live-source.txt:
7603 * docs/design/part-states.txt:
7604 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7605 (gst_basesrc_set_live), (gst_basesrc_is_live),
7606 (gst_basesrc_get_range), (gst_basesrc_activate),
7607 (gst_basesrc_change_state):
7608 * gst/base/gstbasesrc.h:
7609 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7610 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7611 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7612 * gst/gstelement.c: (gst_element_get_state_func),
7613 (gst_element_set_state):
7616 * tools/gst-launch.c: (event_loop), (main):
7617 Added support for live sources and other elements that
7619 Updated design docs, added live-source design doc.
7620 Implemented live source functionality in basesrc
7621 Fix error condition in _bin_get_state()
7622 Implement live source handling in -launch.
7623 Added check for live sources.
7624 Fixed case in GstBin where elements were changed state
7628 2005-06-23 Andy Wingo <wingo@pobox.com>
7630 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7633 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7634 gst_caps_replace takes care of this for us.
7636 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7637 gst_pad_set_caps on the target, not just its setcaps() function.
7639 * tests/network-clock.scm:
7640 * tests/network-clock-utils.scm: A network clock simulator.
7641 Something of an algorithmic testbed before doing something in C.
7643 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7645 * check/Makefile.am:
7646 * check/gst/capslist.h:
7647 copy over from 0.8, and add two with bitmasks specified with
7649 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7650 add test to parse everything from capslist.h
7651 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7653 add test for structure deserialization
7654 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7655 add tests for deserialization of strings to int types
7656 * gst/gststructure.c: (gst_structure_nth_field_name):
7657 * gst/gststructure.h:
7658 add a way to get the name of a field referenced by index
7659 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7660 instead of checking if the resulting long long lies between
7661 min and max, we check if the long long would fit into
7662 a number of bytes for the final type.
7663 This fixes cases where a string represents 2^32 - 1, which
7664 when cast to int would be the (valid) -1, but is bigger than
7667 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7669 * gst/parse/grammar.y:
7670 add a log line for type deserialization
7672 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7674 * check/gst/gstvalue.c: (START_TEST):
7675 * gst/gstvalue.c: (gst_value_deserialize):
7676 return long long, not int, so gint64 deserialization actually
7677 works. Is there any flag that makes the compiler check this ?
7680 2005-06-22 Wim Taymans <wim@fluendo.com>
7683 Added convenience macros for setting buffers in GValue.
7685 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7687 * check/gst/.cvsignore:
7688 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7689 add a test deserializing int64, and comment part out because
7692 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7694 * check/Makefile.am:
7695 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7696 * testsuite/Makefile.am:
7697 * testsuite/caps/Makefile.am:
7698 * testsuite/caps/value_serialize.c:
7699 * testsuite/test_gst_init.c:
7700 move a value_serialize test over
7702 2005-06-20 Wim Taymans <wim@fluendo.com>
7707 * gst/gstvalue.c: (gst_value_compare_buffer),
7708 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7709 (gst_value_compare_flags), (gst_value_serialize_flags),
7710 (gst_value_deserialize_flags), (_gst_value_initialize):
7711 Fix serialisation of buffers, they are not boxed types anymore
7713 2005-06-20 Wim Taymans <wim@fluendo.com>
7715 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7716 Testcase to show error in buffer-on-caps serialisation.
7718 2005-06-20 Andy Wingo <wingo@pobox.com>
7720 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7721 will be adding to later.
7723 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7724 if its socks fill with rocks.
7725 (gst_system_clock_obtain): Set the name on object construction.
7726 Avoid double-checked locking.
7728 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7730 * gst/gsturi.c: (gst_element_make_from_uri):
7731 Fix potential endless loop.
7733 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * check/Makefile.am:
7737 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7739 move over from testsuite dir and clean up
7742 * testsuite/Makefile.am:
7743 * testsuite/tags/.cvsignore:
7744 * testsuite/tags/Makefile.am:
7745 * testsuite/tags/merge.c:
7746 remove testsuite/tags
7748 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7750 * docs/gst/gstreamer-sections.txt:
7751 * docs/gst/tmpl/gstenumtypes.sgml:
7752 * win32/gstenumtypes.c:
7753 clean up documentation build a little
7755 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7758 add macros for checking refcounts on objects and caps
7759 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7760 add some more unit tests
7761 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7762 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7763 fix leaked refcounts (I hope :)) so unittest works
7767 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7769 * configure.ac: back to HEAD
7771 === release 0.9.1 ===
7773 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7779 2005-06-17 Andy Wingo <wingo@pobox.com>
7781 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7782 assert; it's always possible that the pad gets deactivated in
7783 between the checks in gstpad.c and the implementation. Rely on
7784 finish_preroll() to return a FLUSHING or similar instead of on the
7787 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7788 clock and post an EOS message if we come out of finish_preroll in
7791 2005-06-16 David Schleef <ds@schleef.org>
7793 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7794 (gst_capsfilter_set_property): Allow NULL as possible value
7795 for filter_caps property, indicating GST_CAPS_ANY.
7797 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7799 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7801 * gst/schedulers/Makefile.am:
7803 * gstreamer.spec.in:
7806 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7808 * gstreamer.spec.in:
7811 2005-06-08 Andy Wingo <wingo@pobox.com>
7813 * gst/gstutils.c: RPAD fixes all around.
7814 (gst_element_link_pads): Refcounting fixes.
7816 * tools/gst-inspect.c:
7817 * tools/gst-xmlinspect.c:
7819 * gst/base/gsttypefindhelper.c:
7820 * gst/base/gstbasesink.c:
7821 * gst/gstqueue.c: RPAD fixes.
7823 * gst/gstghostpad.h:
7824 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7825 pads. The tricky thing is they provide both source and sink
7826 interfaces, since they proxy the internal pad for the external
7827 pad, and vice versa. Implement with lower-level ProxyPad objects,
7828 with the interior proxy pad as a child of the exterior ghost pad.
7829 Should write a doc on this.
7831 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7832 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7835 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7836 pads are real pads. No ghost pads in this file. Not documenting
7837 the myriad s/RPAD/PAD/ and REALIZE fixes.
7838 (gst_pad_class_init): Add properties for "direction" and
7839 "template". Both are construct-only, so they can't change during
7840 the life of the pad. Fixes properly deriving from GstPad.
7841 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7842 derived objects, just set properties when creating the objects via
7844 (gst_pad_get_parent): Implement as a function, return NULL if the
7845 parent is not an element.
7846 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7847 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7849 * gst/gstobject.c (gst_object_class_init): Make name a construct
7850 property. Don't set it in the object init.
7852 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7853 with UNKNOWN direction.
7854 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7855 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7856 (gst_element_remove_pad): Remove ghost-pad special cases.
7857 (gst_element_pads_activate): Remove rpad cruft.
7859 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7860 catch the pad's-parent-not-an-element case.
7862 * gst/gst.h: Include gstghostpad.h.
7864 * gst/gst.c (init_post): No more real, ghost pads.
7866 * gst/Makefile.am: Add gstghostpad.[ch].
7868 * check/Makefile.am:
7869 * check/gst/gstbin.c:
7870 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7871 into a bin creates ghost pads, and that the refcounts are right.
7872 Partly moved from gstbin.c.
7874 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7876 * check/gst-libs/.cvsignore:
7877 * check/gst/.cvsignore:
7878 * check/pipelines/.cvsignore:
7880 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7881 (START_TEST), (cleanup_suite), (main):
7882 add some tests related to cleanup after running pipelines
7884 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7886 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7887 add a testsuite for GstBuffer
7889 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7891 * gst/gstminiobject.h:
7892 add defines for accessing the refcount
7894 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7896 * Makefile.am: added support for html unit test coverage reports
7898 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7900 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7901 Free existing caps if the capsfilter changes. Add a FIXME about
7902 setting those caps on the pads.
7904 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7905 Before adding a ghost pad to a parent bin, check that there isn't
7906 already one for the element on the bin. Prevents infinite recursion
7907 when using decodebin in parse pipelines. Andy says he'll rewrite the
7908 way this works anyway, so ignore the hack.
7910 2005-06-02 Andy Wingo <wingo@pobox.com>
7912 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7913 file size, pass it on to the type find helper.
7915 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7916 segment_start and segment_end properly according to the seek
7917 method. Segment_end is still a bit flaky because offset can be
7918 negative for CUR and END cases, but it takes -1 as an "unset"
7921 2005-06-02 Wim Taymans <wim@fluendo.com>
7923 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7924 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7925 (gst_basesink_activate):
7926 * gst/base/gstbasesink.h:
7927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7928 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7929 (gst_pad_query), (gst_pad_start_task):
7931 * gst/gstqueue.c: (gst_queue_bufferalloc),
7932 (gst_queue_handle_sink_event), (gst_queue_chain):
7933 Bufferalloc: return GstFlowReturn to more accuratly report
7934 why allocation failed.
7936 2005-06-02 Wim Taymans <wim@fluendo.com>
7938 * gst/gstpipeline.c: (gst_pipeline_send_event):
7939 Take snapshot of state without blocking.
7941 2005-06-02 Wim Taymans <wim@fluendo.com>
7943 * docs/design/part-TODO.txt:
7944 * docs/design/part-caps.txt:
7945 * docs/design/part-clocks.txt:
7946 * docs/design/part-negotiation.txt:
7947 * docs/design/part-preroll.txt:
7950 2005-05-30 Wim Taymans <wim@fluendo.com>
7952 * gst/elements/gstidentity.c: (gst_identity_event),
7953 (gst_identity_transform), (gst_identity_get_property):
7954 Protect last_message property as it is accessed from
7957 2005-05-30 Wim Taymans <wim@fluendo.com>
7959 * gst/gstelement.c: (gst_element_init),
7960 (gst_element_pads_activate), (gst_element_change_state):
7961 Slicker pad activation code.
7963 2005-05-30 Wim Taymans <wim@fluendo.com>
7967 * gst/gstelementfactory.h:
7969 Move elementfactory methods to separate .h file.
7971 2005-05-30 Wim Taymans <wim@fluendo.com>
7973 * docs/design/part-overview.txt:
7974 * gst/gstsystemclock.h:
7975 Small typo fixes, doc updates.
7977 2005-05-30 Wim Taymans <wim@fluendo.com>
7979 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7980 (init_popt_callback):
7981 Remove cpu-opt flag.
7983 2005-05-30 Wim Taymans <wim@fluendo.com>
7985 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7986 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7988 Avoid typechecking in places where not needed.
7989 Added accessor for malloc_data.
7991 2005-05-30 Wim Taymans <wim@fluendo.com>
7993 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7994 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7995 (gst_pad_configure_sink), (gst_pad_configure_src),
7996 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7997 (gst_pad_start_task):
7998 Propagate errors from _set_caps() in configure_src/sink
7999 functions instead of returning TRUE.
8000 FLUSH events can travel up and downstream
8003 2005-05-30 Wim Taymans <wim@fluendo.com>
8005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8006 (gst_basesink_activate):
8007 Handle EOS in preroll.
8009 2005-05-30 Wim Taymans <wim@fluendo.com>
8011 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8012 (gst_queue_loop), (gst_queue_handle_src_event):
8013 Remove old pieces of code
8014 Flushing the queue in an upstream event is a very bad idea.
8016 2005-05-26 Andy Wingo <wingo@pobox.com>
8018 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8019 gst_value_set_mini_object so as to add a ref on the object (which
8020 will be removed when the value is unset).
8022 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8023 arg type in ::handoff.
8025 * gst/gstelement.c (gst_element_change_state): Also deactivate
8026 pads in READY->NULL, just in case the element didn't make it to
8027 PAUSED. Wingo tested, Wim approved.
8029 2005-05-26 Wim Taymans <wim@fluendo.com>
8031 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8032 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8033 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8034 A flushing pad cannot be used to alloc_buffer from.
8036 2005-05-26 Wim Taymans <wim@fluendo.com>
8038 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8039 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8040 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8041 (gst_bus_create_watch), (gst_bus_add_watch_full):
8043 Implement a real GSource and use g_main_context_wakeup() to
8044 signal new messages instead of the socketpair.
8046 2005-05-25 Wim Taymans <wim@fluendo.com>
8048 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8049 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8051 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8052 (gst_pad_send_event), (gst_pad_start_task):
8053 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8054 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8055 (gst_queue_sink_activate), (gst_queue_src_activate),
8056 (gst_queue_change_state):
8058 Fix state changes for non sinks. We now change sinks, then elements
8059 with unconnected srcpads, then the rest.
8060 More efficient queue unlocking in flush and state changes.
8061 Set the pad activate mode even if it does not have an activate
8064 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8066 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8067 Don't go in pull mode for non-seekable sources.
8068 * gst/elements/gsttypefindelement.h:
8069 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8070 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8071 (free_entry), (stop_typefinding),
8072 (gst_type_find_element_handle_event), (find_peek),
8073 (gst_type_find_element_chain), (do_pull_typefind),
8074 (gst_type_find_element_change_state):
8075 Allow typefinding (w/o seeking) in push-mode, simplified version
8077 * gst/gstutils.c: (gst_buffer_join):
8079 gst_buffer_join() from 0.8.
8081 2005-05-25 Wim Taymans <wim@fluendo.com>
8083 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8084 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8085 (gst_pad_send_event), (gst_pad_start_task):
8086 Disable attempt at mode switching until it is figured out.
8088 2005-05-25 Wim Taymans <wim@fluendo.com>
8090 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8091 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8092 (gst_basesink_finish_preroll), (gst_basesink_chain),
8093 (gst_basesink_loop), (gst_basesink_activate),
8094 (gst_basesink_change_state):
8095 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8096 (gst_basesrc_get_range), (gst_basesrc_loop),
8097 (gst_basesrc_activate):
8098 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8099 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8100 (gst_real_pad_init), (gst_real_pad_set_property),
8101 (gst_real_pad_get_property), (gst_pad_set_active),
8102 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8103 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8104 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8105 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8106 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8107 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8108 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8109 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8110 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8111 (gst_pad_stop_task):
8113 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8114 (gst_queue_loop), (gst_queue_src_activate):
8115 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8116 (gst_task_get_state):
8118 * gst/schedulers/threadscheduler.c:
8119 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8120 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8122 Remove ACTIVE pad flag, use FLUSHING everywhere
8123 Added _pad_chain(), _pad_get_range() to call chain/getrange
8125 Add locks around IS_FLUSHING when reading.
8126 Take STREAM lock in chain(), get_range() functions so plugins
8127 don't need to take it anymore.
8131 2005-05-25 Wim Taymans <wim@fluendo.com>
8133 * tools/gst-launch.c: (event_loop):
8134 Unref message after using its contents instead of
8137 2005-05-24 Wim Taymans <wim@fluendo.com>
8139 * docs/design/draft-ghostpads.txt:
8140 * docs/design/draft-push-pull.txt:
8141 * docs/design/draft-query.txt:
8142 * docs/design/part-overview.txt:
8143 Docs updates, added general overview doc.
8145 2005-05-21 David Schleef <ds@schleef.org>
8147 * docs/gst/tmpl/old/GstBin.sgml:
8148 * docs/gst/tmpl/old/GstBuffer.sgml:
8149 * docs/gst/tmpl/old/GstCaps.sgml:
8150 * docs/gst/tmpl/old/GstClock.sgml:
8151 * docs/gst/tmpl/old/GstCompat.sgml:
8152 * docs/gst/tmpl/old/GstData.sgml:
8153 * docs/gst/tmpl/old/GstElement.sgml:
8154 * docs/gst/tmpl/old/GstEvent.sgml:
8155 * docs/gst/tmpl/old/GstIndex.sgml:
8156 * docs/gst/tmpl/old/GstStructure.sgml:
8157 * docs/gst/tmpl/old/GstTag.sgml:
8158 * docs/gst/tmpl/old/cothreads.sgml:
8159 * docs/gst/tmpl/old/cothreads_compat.sgml:
8160 * docs/gst/tmpl/old/gettext.sgml:
8161 * docs/gst/tmpl/old/gobject2gtk.sgml:
8162 * docs/gst/tmpl/old/grammar.tab.sgml:
8163 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8164 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8165 * docs/gst/tmpl/old/gst_private.sgml:
8166 * docs/gst/tmpl/old/gstaggregator.sgml:
8167 * docs/gst/tmpl/old/gstarch.sgml:
8168 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8169 * docs/gst/tmpl/old/gstbufferstore.sgml:
8170 * docs/gst/tmpl/old/gstdata_private.sgml:
8171 * docs/gst/tmpl/old/gstdisksink.sgml:
8172 * docs/gst/tmpl/old/gstdisksrc.sgml:
8173 * docs/gst/tmpl/old/gstelementfactory.sgml:
8174 * docs/gst/tmpl/old/gstextratypes.sgml:
8175 * docs/gst/tmpl/old/gstfakesink.sgml:
8176 * docs/gst/tmpl/old/gstfakesrc.sgml:
8177 * docs/gst/tmpl/old/gstfdsink.sgml:
8178 * docs/gst/tmpl/old/gstfdsrc.sgml:
8179 * docs/gst/tmpl/old/gstfilesink.sgml:
8180 * docs/gst/tmpl/old/gstfilesrc.sgml:
8181 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8182 * docs/gst/tmpl/old/gstidentity.sgml:
8183 * docs/gst/tmpl/old/gstindexfactory.sgml:
8184 * docs/gst/tmpl/old/gstmarshal.sgml:
8185 * docs/gst/tmpl/old/gstmd5sink.sgml:
8186 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8187 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8188 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8189 * docs/gst/tmpl/old/gstpipefilter.sgml:
8190 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8191 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8192 * docs/gst/tmpl/old/gstshaper.sgml:
8193 * docs/gst/tmpl/old/gstspider.sgml:
8194 * docs/gst/tmpl/old/gstspideridentity.sgml:
8195 * docs/gst/tmpl/old/gststatistics.sgml:
8196 * docs/gst/tmpl/old/gsttee.sgml:
8197 * docs/gst/tmpl/old/gsttimecache.sgml:
8198 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8199 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8200 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8201 * docs/gst/tmpl/old/types.sgml:
8202 I didn't intend to add these or check them in.
8204 2005-05-19 David Schleef <ds@schleef.org>
8206 * configure.ac: Use -no-common everywhere. In a sane world, it
8207 would be the default in libtool, because without it, you can't
8208 build DLLs on Windows.
8209 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8210 * docs/gst/gstreamer-sections.txt:
8211 * docs/gst/tmpl/gstcpu.sgml:
8212 * docs/gst/tmpl/gstdata.sgml:
8213 * docs/gst/tmpl/gstthread.sgml:
8215 2005-05-19 David Schleef <ds@schleef.org>
8217 * gst/gstminiobject.c: (gst_value_set_mini_object),
8218 (gst_value_take_mini_object), (gst_value_get_mini_object):
8219 * gst/gstminiobject.h: Add GValue set/get functions.
8221 2005-05-19 Wim Taymans <wim@fluendo.com>
8223 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8224 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8225 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8227 * gst/gstbus.c: (gst_bus_post):
8228 * gst/gstelement.c: (gst_element_get_random_pad):
8229 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8230 Make subbufer unref the parent in finalize.
8231 some more debugging info.
8234 2005-05-19 Wim Taymans <wim@fluendo.com>
8236 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8237 (gst_basesink_init), (gst_basesink_finalize),
8238 (gst_basesink_activate), (gst_basesink_change_state):
8239 Don't free preroll queue too early.
8241 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8245 Hi, I'm outdated. Please shoot me.
8247 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8249 * gst/gstpipeline.c: (gst_pipeline_send_event):
8250 Do not access variables after they have been deleted.
8252 2005-05-19 Wim Taymans <wim@fluendo.com>
8254 * tools/gst-inspect.c: (print_plugin_features):
8255 A plugin feature does unfortunatly not use the
8258 2005-05-18 Wim Taymans <wim@fluendo.com>
8260 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8261 Port _span() functions to new subbuffers.
8263 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8265 * gst/gstbin.c: (gst_bin_add_func):
8266 Fix clock settery in bins when adding kids after the clock has
8269 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8271 * gst/elements/gstidentity.c: (gst_identity_class_init):
8272 Workaround until signals support GstMiniObject.
8274 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8277 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8279 2005-05-18 Wim Taymans <wim@fluendo.com>
8281 * gst/base/Makefile.am:
8282 * gst/base/gstadapter.c: (gst_adapter_base_init),
8283 (gst_adapter_class_init), (gst_adapter_init),
8284 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8285 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8286 (gst_adapter_flush), (gst_adapter_available),
8287 (gst_adapter_available_fast):
8288 * gst/base/gstadapter.h:
8289 Ported and added adapter to the base classes.
8291 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8295 Make sure the class is reffed/unreffed once before threads can be
8296 used. Fixes #304551.
8298 2005-05-17 Wim Taymans <wim@fluendo.com>
8300 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8301 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8302 * gst/gstminiobject.c: (gst_mini_object_get_type),
8303 (gst_mini_object_free):
8304 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8305 (gst_pad_push), (gst_pad_push_event):
8306 * gst/gstqueue.c: (gst_queue_change_state):
8307 Don't queue buffers in basesink when we are flushing.
8308 Unref buffer when flushing in basesink.
8309 Flush queue when going to READY
8310 Unref buffer when _push() returns an error.
8311 Don't free MiniObject instance when refcount is incremented
8312 in _finalize() so that we can recover objects.
8314 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8316 * docs/manual/advanced-schedulers.xml:
8317 * docs/manual/appendix-checklist.xml:
8318 * docs/pwg/advanced-clock.xml:
8319 * docs/pwg/advanced-interfaces.xml:
8320 * docs/pwg/advanced-request.xml:
8321 * docs/pwg/advanced-types.xml:
8322 * docs/pwg/intro-preface.xml:
8323 * examples/plugins/example.c: (gst_example_get_type),
8324 (gst_example_class_init), (gst_example_chain),
8325 (gst_example_set_property), (gst_example_get_property),
8326 (gst_example_change_state), (plugin_init):
8327 * examples/plugins/example.h:
8330 2005-05-17 Wim Taymans <wim@fluendo.com>
8332 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8333 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8334 * gst/gstqueue.c: (gst_queue_change_state):
8335 Clear queue when going to READY.
8336 Remove IN_SETCAPS flag too.
8338 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8340 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8341 Remove implicit cast from gboolean to GstElementStateReturn;
8342 make sure we still return failure in paused => ready case if
8343 the parent class fails to change state and our own stop
8346 2005-05-17 Wim Taymans <wim@fluendo.com>
8348 * tools/gst-launch.c: (event_loop):
8349 Message was unreffed too soon.
8351 2005-05-16 Andy Wingo <wingo@pobox.com>
8353 * gst/gstbin.c (sink_iterator_filter): Err... um...
8355 * check/gst/gstbin.c (test_ghost_pads): New test for the
8356 ghosting-if-elements-not-in-same-bin behavior.
8358 2005-05-16 David Schleef <ds@schleef.org>
8360 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8361 accessing refcount directly.
8363 2005-05-15 David Schleef <ds@schleef.org>
8365 * check/Makefile.am: remove GstData checks
8366 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8367 * gst/Makefile.am: add miniobject, remove data
8368 * gst/gst.h: add miniobject, remove data
8369 * gst/gstdata.c: remove
8370 * gst/gstdata.h: remove
8371 * gst/gstdata_private.h: remove
8372 * gst/gsttypes.h: remove GstEvent and GstMessage
8373 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8374 * gst/gstmarshal.list: change BOXED -> OBJECT
8376 Implement GstMiniObject.
8377 * gst/gstminiobject.c:
8378 * gst/gstminiobject.h:
8380 Modify to be subclasses of GstMiniObject.
8381 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8382 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8383 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8384 (gst_subbuffer_get_type), (gst_subbuffer_init),
8385 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8388 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8389 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8390 (_gst_event_copy), (gst_event_new):
8392 * gst/gstmessage.c: (_gst_message_initialize),
8393 (gst_message_get_type), (gst_message_class_init),
8394 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8395 (gst_message_new), (gst_message_new_error),
8396 (gst_message_new_warning), (gst_message_new_tag),
8397 (gst_message_new_state_changed), (gst_message_new_application):
8399 * gst/gstprobe.c: (gst_probe_perform),
8400 (gst_probe_dispatcher_dispatch):
8402 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8403 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8404 (_gst_query_copy), (gst_query_new):
8406 Update elements for GstData -> GstMiniObject changes
8408 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8409 (gst_queue_chain), (gst_queue_loop):
8410 * gst/elements/gstbufferstore.c:
8411 (gst_buffer_store_add_buffer_func),
8412 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8413 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8414 (gst_fakesink_render):
8415 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8416 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8417 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8418 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8419 (gst_filesrc_create_read):
8420 * gst/elements/gstidentity.c: (gst_identity_class_init):
8421 * gst/elements/gsttypefindelement.c:
8422 (gst_type_find_element_src_event), (free_entry_buffers),
8423 (gst_type_find_element_handle_event):
8424 * libs/gst/dataprotocol/dataprotocol.c:
8425 (gst_dp_header_from_buffer):
8426 * libs/gst/dataprotocol/dataprotocol.h:
8427 * libs/gst/dataprotocol/dp-private.h:
8429 2005-05-15 David Schleef <ds@schleef.org>
8431 * gst/elements/gstelements.c: Don't include headers that were
8434 2005-05-15 David Schleef <ds@schleef.org>
8436 * gst/elements/Makefile.am: Remove some elements that don't
8437 need to be in the core (or even exist at all).
8438 * gst/elements/gstaggregator.c:
8439 * gst/elements/gstaggregator.h:
8440 * gst/elements/gstmd5sink.c:
8441 * gst/elements/gstmd5sink.h:
8442 * gst/elements/gstmultifilesrc.c:
8443 * gst/elements/gstmultifilesrc.h:
8444 * gst/elements/gstpipefilter.c:
8445 * gst/elements/gstpipefilter.h:
8446 * gst/elements/gstshaper.c:
8447 * gst/elements/gstshaper.h:
8448 * gst/elements/gststatistics.c:
8449 * gst/elements/gststatistics.h:
8450 * po/POTFILES.in: Remove above files.
8452 2005-05-14 Andy Wingo <wingo@pobox.com>
8454 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8455 so as to get the refs right.
8456 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8457 unreffing objects that don't pass the filter.
8459 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8460 gst_element_set_bus.
8461 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8462 normal cases, this will destroy the bus.
8464 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8467 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8470 2005-05-13 Andy Wingo <wingo@pobox.com>
8472 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8473 gst_pad_link, call pad_link_maybe_ghosting,
8474 (pad_link_maybe_ghosting): Links pads, making sure that the
8475 elements being linked are in the same bin.
8476 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8477 Helpers for pad_link_maybe_ghosting.
8479 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8482 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8484 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8486 * docs/design/part-element-source.txt:
8489 2005-05-12 Wim Taymans <wim@fluendo.com>
8491 * gst/base/gstbasesink.c: (gst_basesink_init),
8492 (gst_basesink_activate):
8493 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8494 (gst_basesrc_is_seekable):
8495 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8496 (bin_element_is_sink), (gst_bin_change_state):
8497 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8499 Identify sinks by their flag to avoid overly complicated
8501 Do state changes even for elements not reachable from the
8503 BaseSink is a sink now :)
8504 Some more debugging info in the basesrc.
8507 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8510 Implement _query on a bin, similar to _send_event.
8512 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8514 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8515 Discont event offset format should be GST_FORMAT_BYTES,
8516 not GST_FORMAT_TIME.
8518 2005-05-12 Wim Taymans <wim@fluendo.com>
8520 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8521 Same fix as Ronald's but without the signal.
8523 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8525 * gst/gstutils.c: (gst_element_query_position):
8526 No, an element is not a pad.
8528 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8530 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8531 (gst_bin_get_state):
8532 If a child is removed from a bin while we remove the child from
8533 the bin and while we're retrieving its state, signal this to the
8534 get_state function so we abort the wait (instead of waiting for
8535 a timeout) and can immediately re-iterate over all other elements.
8537 2005-05-12 Wim Taymans <wim@fluendo.com>
8539 * gst/base/Makefile.am:
8540 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8541 (gst_basesrc_start):
8542 * gst/base/gstbasesrc.h:
8543 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8544 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8545 (gst_pushsrc_init), (gst_pushsrc_create):
8546 * gst/base/gstpushsrc.h:
8547 Added is_seekable to BaseSrc
8548 Added simple PushSrc.
8550 2005-05-11 Wim Taymans <wim@fluendo.com>
8552 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8553 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8554 (gst_element_link_pads), (gst_element_query_position),
8555 (gst_element_query_convert), (intersect_caps_func),
8556 (gst_pad_query_position), (gst_pad_query_convert):
8557 Fix refcounting in utils function.
8558 No point in trying to activate a pad when it's added, it could
8559 be added from the state change function and then we deadlock, the
8560 element has to decide what to do.
8562 2005-05-10 Andy Wingo <wingo@pobox.com>
8564 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8565 *all* the arguments.
8567 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8568 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8569 lock (according to the docs -- if this is wrong change the docs).
8571 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8572 flush messages in the NULL state.
8574 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8575 message immediately and return.
8576 (gst_bus_set_flushing): New function. If a bus is flushing, it
8577 flushes out any queued messages and immediately unrefs new
8578 messages. This is so when an element goes to NULL, all of the
8579 unhandled messages coming from it can be freed, and their
8580 references to the element dropped. In other words: message source
8581 ref considered harmful :P
8583 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8584 we're finished with it.
8586 * gst/gstmessage.c (gst_message_new_state_changed):
8588 2005-05-10 Wim Taymans <wim@fluendo.com>
8590 * gst/gstvalue.c: (gst_value_compare_flags),
8591 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8592 (_gst_value_initialize):
8593 Added flags serialize/deserialize/compare code.
8595 2005-05-09 Andy Wingo <wingo@pobox.com>
8597 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8598 Intersect the peer's caps with our caps.
8600 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8602 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8603 * gst/elements/gsttypefindelement.c: (find_peek):
8604 Handle negative offsets better. Fixes decodebin.
8606 2005-05-09 Wim Taymans <wim@fluendo.com>
8608 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8609 (gst_base_transform_event):
8610 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8611 Implement accept_caps.
8612 Fix silly lock/unlock mismatch in base class.
8614 2005-05-09 Wim Taymans <wim@fluendo.com>
8616 * docs/design/draft-push-pull.txt:
8617 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8618 * gst/elements/gstfilesink.c: (gst_filesink_init),
8619 (gst_filesink_query):
8620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8621 (gst_type_find_handle_src_query), (find_element_get_length):
8622 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8626 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8627 (gst_real_pad_get_caps_unlocked),
8628 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8629 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8630 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8631 (gst_real_pad_dispose), (gst_real_pad_finalize),
8632 (gst_pad_load_and_link), (gst_pad_save_thyself),
8633 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8634 (gst_pad_check_pull_range), (gst_pad_pull_range),
8635 (gst_pad_template_get_type), (gst_pad_template_class_init),
8636 (gst_pad_template_init), (gst_pad_template_dispose),
8637 (name_is_valid), (gst_static_pad_template_get),
8638 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8639 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8640 (gst_pad_get_element_private), (gst_pad_start_task),
8641 (gst_pad_pause_task), (gst_pad_stop_task),
8642 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8643 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8644 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8645 (gst_ghost_pad_new):
8647 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8648 (gst_query_new_position), (gst_query_set_position),
8649 (gst_query_parse_position), (gst_query_new_convert),
8650 (gst_query_set_convert), (gst_query_parse_convert):
8652 * gst/gstqueryutils.c:
8653 * gst/gstqueryutils.h:
8654 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8655 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8656 (gst_queue_handle_src_query):
8657 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8658 (gst_element_query_position), (gst_element_query_convert),
8659 (intersect_caps_func), (gst_pad_query_position),
8660 (gst_pad_query_convert):
8662 * tools/gst-inspect.c: (print_pad_info):
8663 * tools/gst-xmlinspect.c: (print_element_info):
8664 Remove old query functions. Ported old code.
8665 Added position/convert helper functions to gstutils.
8666 Reordered gstpad.c code, grouping relevant things.
8667 Remove gst_message_new(), always need to speficy a specific
8671 2005-05-09 Andy Wingo <wingo@pobox.com>
8673 * gst/gstiterator.h: Add some includes.
8675 * gst/gstqueryutils.h: Include more headers.
8678 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8679 some uses of gst_pad_query.
8681 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8682 NULL out parameters.
8683 (gst_query_new_position): New proc, allocates a new position
8686 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8687 gstqueryutils.c to the build.
8689 * gst/gststructure.c (gst_structure_set_valist): Implement with
8690 the generic G_VALUE_COLLECT.
8692 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8694 * gst/Makefile.am: (gst_headers):
8695 Added gstqueryutils.h to the list of headers to install, that was
8696 a 'nachty' move wingo :)
8698 2005-05-06 Andy Wingo <wingo@pobox.com>
8701 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8702 GstData, init a memchunk.
8703 (standard_definitions): Add a few query types, deprecate a few.
8704 (gst_query_get_type): New proc.
8705 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8707 (gst_query_new_application, gst_query_get_structure): New public
8710 * docs/design/draft-query.txt: Removed LINKS from the query types,
8711 because all the rest can be dispatched to other pads -- seemed
8712 ugly to have a query that couldn't be dispatched. internal_links
8713 is fine as a pad method.
8715 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8716 in gstpad.c, but maintain binary compatibility for the moment.
8717 Will fix before 0.9 is out.
8719 * gst/gstqueryutils.c:
8720 * gst/gstqueryutils.h: New files, implement 3 methods for each
8721 query type: parse_query, parse_response, and set. Probably need an
8724 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8726 * gst/elements/gstfilesink.c (gst_filesink_query2):
8727 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8728 query_types, and formats methods.
8730 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8731 (gst_pad_set_query2_function): New functions.
8732 (gst_real_pad_init): Set query2_default as the default query2
8733 function. Basically just dispatches to internally linked pads.
8737 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8738 without using the atomic operations. Only one thread can possibly
8739 be accessing the data at this point. Changed so as to avoid
8740 gst_atomic operations.
8742 2005-05-06 Wim Taymans <wim@fluendo.com>
8744 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8745 Also set caps if we use the fallback buffer alloc.
8747 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8749 * docs/gst/Makefile.am:
8750 * docs/gst/gstreamer-docs.sgml:
8751 * docs/gst/gstreamer-sections.txt:
8752 * docs/gst/tmpl/gstatomic.sgml:
8753 * docs/gst/tmpl/gstmemchunk.sgml:
8754 * testsuite/elements/struct_i386.h:
8755 * win32/GStreamer.vcproj:
8757 Purge GstAtomic stuff from docs and win32 makefiles as well
8759 2005-05-06 Wim Taymans <wim@fluendo.com>
8761 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8762 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8763 * gst/gstpad.c: (gst_pad_peer_get_caps):
8764 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8765 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8766 (gst_queue_src_activate), (gst_queue_change_state):
8768 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8769 (intersect_caps_func):
8770 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8771 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8772 Some fixes for the peer_get_caps() change.
8774 2005-05-06 Wim Taymans <wim@fluendo.com>
8776 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8777 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8778 (gst_basesink_activate):
8779 Actually do something with error codes returned from the push
8782 2005-05-06 Wim Taymans <wim@fluendo.com>
8784 * docs/design/part-element-sink.txt:
8785 * docs/design/part-element-source.txt:
8786 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8787 (gst_basesink_event), (gst_basesink_activate):
8788 * gst/base/gstbasesink.h:
8789 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8790 (gst_basesrc_activate):
8791 * gst/base/gstbasesrc.h:
8792 * gst/gstelement.c: (gst_element_pads_activate):
8793 Some more documentation.
8794 Fixed scheduling decision in _pads_activate().
8796 2005-05-05 Andy Wingo <wingo@pobox.com>
8798 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8801 2005-05-05 Wim Taymans <wim@fluendo.com>
8803 * gst/base/Makefile.am:
8804 * gst/base/gstbasesink.h:
8805 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8806 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8807 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8808 (gst_collectpads_class_init), (gst_collectpads_init),
8809 (gst_collectpads_finalize), (gst_collectpads_new),
8810 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8811 (find_pad), (gst_collectpads_remove_pad),
8812 (gst_collectpads_is_active), (gst_collectpads_collect),
8813 (gst_collectpads_collect_range), (gst_collectpads_start),
8814 (gst_collectpads_stop), (gst_collectpads_peek),
8815 (gst_collectpads_pop), (gst_collectpads_available),
8816 (gst_collectpads_read), (gst_collectpads_flush),
8817 (gst_collectpads_chain):
8818 * gst/base/gstcollectpads.h:
8819 * gst/elements/Makefile.am:
8820 * gst/elements/gstelements.c:
8821 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8822 (gst_fakesink_get_times), (gst_fakesink_event),
8823 (gst_fakesink_preroll), (gst_fakesink_render):
8824 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8825 (gst_filesink_init), (gst_filesink_set_location),
8826 (gst_filesink_open_file), (gst_filesink_close_file),
8827 (gst_filesink_pad_query), (gst_filesink_event),
8828 (gst_filesink_render), (gst_filesink_change_state):
8829 * gst/elements/gstfilesink.h:
8830 Added object to help in making collect pad based elements.
8832 Make event function in sink baseclass return gboolean.
8834 2005-05-05 Wim Taymans <wim@fluendo.com>
8836 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8837 (gst_bin_get_by_name):
8839 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8840 (gst_clock_finalize):
8841 * gst/gstdata.c: (gst_data_replace):
8843 * gst/gstelement.c: (gst_element_request_pad),
8844 (gst_element_pads_activate):
8845 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8848 (gst_pad_set_checkgetrange_function),
8849 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8850 (gst_pad_check_pull_range), (gst_pad_pull_range),
8851 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8852 (gst_pad_pause_task), (gst_pad_stop_task):
8853 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8854 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8855 Fix name lookup in GstBin.
8856 Added _data_replace() function and _buffer_replace()
8857 Use finalize method to clean up clock.
8858 Fix refcounting on request pads.
8859 Fix pad schedule mode error.
8860 Some more object refcounting debug info,
8863 2005-05-04 Andy Wingo <wingo@pobox.com>
8865 * check/Makefile.am:
8866 * docs/gst/tmpl/gstatomic.sgml:
8867 * docs/gst/tmpl/gstplugin.sgml:
8868 * gst/base/gstbasesink.c: (gst_basesink_activate):
8869 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8870 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8871 (gst_basesrc_query), (gst_basesrc_set_property),
8872 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8873 (gst_basesrc_activate):
8874 * gst/base/gstbasesrc.h:
8875 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8876 (gst_base_transform_src_activate):
8877 * gst/elements/gstelements.c:
8878 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8879 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8880 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8881 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8882 (gst_type_find_element_checkgetrange),
8883 (gst_type_find_element_activate):
8884 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8885 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8886 (gst_caps_load_thyself):
8887 * gst/gstelement.c: (gst_element_pads_activate),
8888 (gst_element_save_thyself), (gst_element_restore_thyself):
8889 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8890 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8892 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8893 (gst_xml_parse_file), (gst_xml_parse_memory),
8894 (gst_xml_get_element), (gst_xml_make_element):
8895 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8896 (_file_index_id_save_xml), (gst_file_index_commit):
8897 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8898 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8901 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8902 * tools/gst-complete.c: (main):
8903 * tools/gst-compprep.c: (main):
8904 * tools/gst-inspect.c: (print_element_properties_info):
8905 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8906 * tools/gst-xmlinspect.c: (print_element_properties):
8909 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8911 * gst/gstplugin.c: (gst_plugin_check_module),
8912 (gst_plugin_check_file), (gst_plugin_load_file):
8913 apply patch from #172526 to make register work on MacOSX
8915 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8917 * docs/gst/tmpl/gstconfig.sgml:
8918 * gst/gstconfig.h.in:
8919 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8920 * testsuite/debug/printf_extension.c: (main):
8921 Do not use GST_PTR_FORMAT on pointers to types with
8922 sizeof < sizeof(gpointer). Fixes test on 64-bit
8923 * testsuite/elements/property.h:
8924 use correct printf format
8926 2005-05-02 Wim Taymans <wim@fluendo.com>
8928 * docs/design/draft-push-pull.txt:
8929 * docs/design/draft-query.txt:
8930 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8931 (gst_basesrc_start):
8932 Added draft for new query API.
8933 Added draft for better selecting scheduling methods.
8934 Make basesrc ignore length if the subclass does not support
8937 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8940 possible fixes for automake-1.5 - _LIBADD is reserved
8942 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8944 * docs/faq/Makefile.am:
8945 * docs/manual/Makefile.am:
8947 * docs/pwg/Makefile.am:
8949 possible fixes for automake-1.5
8951 2005-04-28 Wim Taymans <wim@fluendo.com>
8953 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8954 (gst_basesink_pad_getcaps), (gst_basesink_init),
8955 (gst_basesink_do_sync):
8956 * gst/gstclock.c: (gst_clock_entry_new):
8957 * gst/gstevent.c: (gst_event_discont_get_value):
8958 * gst/gstpipeline.c: (pipeline_bus_handler),
8959 (gst_pipeline_change_state):
8960 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8961 Better debugging of clocking info.
8962 Allow NULL values when getting discont values.
8964 2005-04-27 Wim Taymans <wim@fluendo.com>
8966 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8967 * check/gst/gstpad.c: (gst_pad_suite):
8968 Increase timeout for checks.
8970 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8972 * check/Makefile.am:
8973 fix the broken rule for cleanup. Apparently this rule is
8974 only needed on FC2, so maybe this warrants further autotool
8977 2005-04-26 Wim Taymans <wim@fluendo.com>
8979 * gst/gsttrashstack.h:
8980 Ooohh. a nasty one! After having a failed pop() from the stack,
8981 it's possible that the stack is empty. In that case, don't
8982 follow the NULL pointer.
8984 2005-04-25 Wim Taymans <wim@fluendo.com>
8986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8987 (gst_pad_set_checkgetrange_function),
8988 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8989 (gst_pad_check_pull_range), (gst_pad_pull_range),
8990 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8991 (gst_pad_pause_task), (gst_pad_stop_task):
8992 * gst/gstplugin.c: (gst_plugin_load):
8994 Remove gst_library_load as it does more harm than good with
8995 the new g_module flags.
8996 Revert bogus caps template check in pad linking, pad caps
8997 are important when linking not the template, which is more
8998 general than the current caps.
9000 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9002 * gst/autoplug/.cvsignore:
9003 * gst/autoplug/Makefile.am:
9004 * gst/autoplug/gstsearchfuncs.c:
9005 * gst/autoplug/gstsearchfuncs.h:
9006 * gst/autoplug/gstspider.c:
9007 * gst/autoplug/gstspider.h:
9008 * gst/autoplug/gstspideridentity.c:
9009 * gst/autoplug/gstspideridentity.h:
9010 * gst/autoplug/spidertest.c:
9013 2005-04-25 Wim Taymans <wim@fluendo.com>
9015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9016 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9017 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9018 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9020 Added stubs for unimplemented functions.
9022 2005-04-24 David Schleef <ds@schleef.org>
9024 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9027 2005-04-24 David Schleef <ds@schleef.org>
9029 Convert everything from GstAtomicInt to g_atomic_int_*, and
9034 * gst/gstatomic_impl.h:
9042 * gst/gstdata_private.h:
9049 * gst/gststructure.c:
9050 * gst/gststructure.h:
9051 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9054 2005-04-24 David Schleef <ds@schleef.org>
9056 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9057 make the regressions tests work. Remove some code that is no
9059 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9060 Disable warning for pads without templates.
9062 2005-04-24 David Schleef <ds@schleef.org>
9064 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9065 functions that handle filtered links.
9066 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9068 * gst/gstutils.c: Fix/remove utility functions that handle
9071 * gst/gstvalue.c: Add serialization/deserialization of caps
9072 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9073 requires fixing so that the filter caps notation creates
9074 a capsfilter element and sets the filter_caps property. I
9075 think everyone probably wants to keep the shorthand notation.
9076 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9077 * docs/gst/tmpl/gstpad.sgml:
9079 * gst/elements/gstelements.c: Register capsfilter element.
9080 * gst/Makefile.am: fix spacing
9081 * docs/random/ds/0.9-suggested-changes: random
9083 2005-04-23 David Schleef <ds@schleef.org>
9085 * gst/elements/Makefile.am:
9086 * gst/elements/gstcapsfilter.c: New element that acts like an
9087 identity, but filters caps. Will eventually replace filtered
9088 caps in pad linking.
9089 * gst/gstutils.c: (gst_element_create_all_pads): New function
9090 to create all the ALWAYS pads that are registered with an
9091 element class. This functionality should eventually be
9092 merged in with GstElement initialization.
9094 * testsuite/trigger/README: part of trigger test code that should
9095 have been checked in a long time ago.
9097 2005-04-23 David Schleef <ds@schleef.org>
9099 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9100 needed with new versions of libtool (nobody will confirm this),
9101 and hard to carry around.
9102 * gst/autoplug/Makefile.am:
9103 * gst/base/Makefile.am:
9104 * gst/elements/Makefile.am:
9105 * gst/indexers/Makefile.am:
9106 * gst/schedulers/Makefile.am:
9107 * libs/gst/bytestream/Makefile.am:
9108 * libs/gst/control/Makefile.am:
9109 * libs/gst/dataprotocol/Makefile.am:
9110 * libs/gst/getbits/Makefile.am:
9112 2005-04-21 Wim Taymans <wim@fluendo.com>
9114 * docs/design/draft-push-pull.txt:
9115 * docs/design/part-MT-refcounting.txt:
9116 * docs/design/part-TODO.txt:
9117 * docs/design/part-caps.txt:
9118 * docs/design/part-events.txt:
9119 * docs/design/part-gstbus.txt:
9120 * docs/design/part-gstpipeline.txt:
9121 * docs/design/part-messages.txt:
9122 * docs/design/part-push-pull.txt:
9123 * docs/design/part-query.txt:
9126 2005-04-21 Wim Taymans <wim@fluendo.com>
9128 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9129 (gst_message_new), (gst_message_new_error),
9130 (gst_message_new_warning), (gst_message_new_tag),
9131 (gst_message_new_state_changed), (gst_message_new_application),
9132 (gst_message_get_structure):
9134 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9135 (gst_structure_copy_conditional):
9136 Use parent refcount in GstMessage to ensure GstStructure
9138 Cleaned up headers a bit.
9141 2005-04-20 Wim Taymans <wim@fluendo.com>
9143 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9144 (gst_basesink_pad_getcaps), (gst_basesink_init),
9145 (gst_basesink_chain_unlocked):
9146 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9147 (gst_type_find_helper):
9148 * gst/elements/gsttypefindelement.c:
9149 (gst_type_find_element_have_type), (gst_type_find_element_init),
9150 (stop_typefinding), (gst_type_find_element_handle_event),
9151 (find_suggest), (gst_type_find_element_chain),
9152 (gst_type_find_element_checkgetrange),
9153 (gst_type_find_element_getrange), (do_typefind),
9154 (gst_type_find_element_activate):
9155 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9156 (gst_buffer_default_free), (gst_buffer_default_copy),
9157 (gst_buffer_set_caps):
9158 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9160 * gst/gstmessage.c: (gst_message_new),
9161 (gst_message_new_state_changed):
9162 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9163 (gst_pad_set_checkgetrange_function),
9164 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9165 (gst_pad_set_caps), (gst_pad_check_pull_range),
9166 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9168 * gst/gsttypefind.c: (gst_type_find_register):
9169 Make gst_caps_replace() work like other _replace() functions.
9170 Use _caps_replace() where possible.
9171 Make sure _message_new() initialises its field.
9172 Add gst_static_pad_template_get_caps()
9175 2005-04-18 Andy Wingo <wingo@pobox.com>
9177 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9178 on the peer, not the pad. I think that was a typo. Pass an extra
9179 arg to see if random access is possible. Activate the pads as
9180 PULL_RANGE if possible.
9182 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9184 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9185 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9188 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9190 * docs/faq/using.xml:
9191 Add note on gstreamer-properties (#154996).
9193 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9195 * docs/random/bbb/optional-properties:
9196 Some analysis on optional properties.
9198 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9200 * docs/gst/tmpl/gstelementfactory.sgml:
9202 * gst/gstelementfactory.c: (gst_element_factory_init),
9203 (gst_element_factory_cleanup), (gst_element_register),
9204 (__gst_element_factory_add_static_pad_template),
9205 (gst_element_factory_get_static_pad_templates),
9206 (gst_element_factory_can_src_caps),
9207 (gst_element_factory_can_sink_caps):
9208 * gst/registries/Makefile.am:
9209 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9210 (gst_xml_registry_class_init), (gst_xml_registry_init),
9211 (gst_xml_registry_new), (gst_xml_registry_set_property),
9212 (gst_xml_registry_get_property), (get_time), (make_dir),
9213 (gst_xml_registry_get_perms_func),
9214 (plugin_times_older_than_recurse), (plugin_times_older_than),
9215 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9216 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9217 (add_to_char_array), (read_string), (read_uint), (read_enum),
9218 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9219 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9220 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9221 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9222 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9223 (gst_xml_registry_rebuild):
9224 * gst/registries/gstlibxmlregistry.h:
9225 * tools/gst-compprep.c: (main):
9226 * tools/gst-inspect.c: (print_pad_templates_info):
9227 * tools/gst-xmlinspect.c: (print_element_info):
9228 Use libxml2 for registry parsing, use staticpadtemplates in
9229 elementfactories. Makes gst_init() +/- 10x faster.
9231 2005-04-12 Wim Taymans <wim@fluendo.com>
9233 * gst/base/Makefile.am:
9234 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9235 (gst_basesink_pad_getcaps), (gst_basesink_init),
9236 (gst_basesink_event), (gst_basesink_change_state):
9237 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9238 (gst_basesrc_init), (gst_basesrc_query),
9239 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9240 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9241 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9242 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9243 (gst_basesrc_stop), (gst_basesrc_activate),
9244 (gst_basesrc_change_state):
9245 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9246 (helper_find_suggest), (gst_type_find_helper):
9247 * gst/base/gsttypefindhelper.h:
9248 * gst/elements/Makefile.am:
9249 * gst/elements/gstelements.c:
9250 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9251 (gst_fakesink_get_times), (gst_fakesink_event),
9252 (gst_fakesink_preroll), (gst_fakesink_render):
9253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9254 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9255 (gst_fakesrc_get_property), (gst_fakesrc_create),
9256 (gst_fakesrc_start), (gst_fakesrc_stop):
9257 * gst/elements/gstfakesrc.h:
9258 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9259 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9260 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9261 (gst_filesrc_create_read), (gst_filesrc_create),
9262 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9263 (gst_filesrc_start):
9264 * gst/elements/gsttypefindelement.c:
9265 (gst_type_find_element_have_type), (gst_type_find_element_init),
9266 (start_typefinding), (stop_typefinding), (push_buffer_store),
9267 (gst_type_find_element_handle_event),
9268 (gst_type_find_element_chain),
9269 (gst_type_find_element_checkgetrange),
9270 (gst_type_find_element_getrange), (do_typefind),
9271 (gst_type_find_element_activate),
9272 (gst_type_find_element_change_state):
9273 * gst/elements/gsttypefindelement.h:
9274 * gst/gstpipeline.c: (pipeline_bus_handler):
9275 Added typefind helper.
9276 Small preroll fix in the base sink.
9277 Disable typefind code in basesrc.
9278 Crude port of typefindelement.
9282 2005-04-11 Wim Taymans <wim@fluendo.com>
9284 * check/gst/gstbus.c: (gstbus_suite):
9285 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9287 Fix up the timeout so that the test does not fail.
9289 2005-04-06 Wim Taymans <wim@fluendo.com>
9292 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9293 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9294 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9295 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9296 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9297 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9298 (gst_basesrc_stop), (gst_basesrc_activate),
9299 (gst_basesrc_change_state), (basesrc_find_peek),
9300 (basesrc_find_suggest), (gst_basesrc_type_find):
9301 * gst/base/gstbasesrc.h:
9302 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9303 (gst_filesrc_class_init), (gst_filesrc_init),
9304 (gst_filesrc_finalize), (gst_filesrc_set_location),
9305 (gst_filesrc_set_property), (gst_filesrc_get_property),
9306 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9307 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9308 (gst_filesrc_create_read), (gst_filesrc_create),
9309 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9310 * gst/elements/gstfilesrc.h:
9311 * gst/gstelement.c: (gst_element_get_state_func),
9312 (gst_element_lost_state), (gst_element_pads_activate):
9313 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9314 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9315 (gst_pad_pull_range):
9317 More work on the generic source base class, implement seeking,
9319 Make filesrc extend the base source class.
9320 Added gst_pad_set_checkgetrange_function to GstPad.
9322 2005-04-06 Andy Wingo <wingo@pobox.com>
9324 * pkgconfig/gstreamer-base.pc.in:
9325 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9327 * pkgconfig/Makefile.am:
9328 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9330 2005-04-04 Wim Taymans <wim@fluendo.com>
9332 * gst/base/Makefile.am:
9334 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9335 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9336 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9337 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9338 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9339 (gst_basesrc_base_init), (gst_basesrc_class_init),
9340 (gst_basesrc_init), (gst_basesrc_get_formats),
9341 (gst_basesrc_get_query_types), (gst_basesrc_query),
9342 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9343 (gst_basesrc_set_property), (gst_basesrc_get_property),
9344 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9345 (gst_basesrc_loop), (gst_basesrc_activate),
9346 (gst_basesrc_change_state):
9347 * gst/base/gstbasesrc.h:
9348 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9349 (gst_fakesrc_class_init), (gst_fakesrc_init),
9350 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9351 (gst_fakesrc_get_property), (gst_fakesrc_create):
9352 * gst/elements/gstfakesrc.h:
9353 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9354 (gst_filesrc_open_file), (gst_filesrc_loop),
9355 (gst_filesrc_activate), (filesrc_find_peek),
9356 (gst_filesrc_type_find):
9357 Made base source class, make fakesrc extend it.
9358 Add comments to basesink class.
9359 Some filesrc cleanup.
9361 2005-03-31 David Schleef <ds@schleef.org>
9363 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9364 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9365 expected to link against libgstreamer.
9366 * gst/base/Makefile.am: link against libgstreamer
9367 * gst/elements/Makefile.am: same
9369 2005-03-31 Andy Wingo <wingo@pobox.com>
9371 * tests/instantiate/Makefile.am:
9372 * tests/instantiate/caps.c: Add test to test speed of caps copy
9375 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9376 GMemChunk to be fair.
9378 * gst/gsttrashstack.h: Remove warning about using the fallback
9379 trash stack implementation, it's still faster than malloc.
9381 2005-03-30 Andy Wingo <wingo@pobox.com>
9383 * tests/complexity.c: Add a copyright.
9385 2005-03-31 Wim Taymans <wim@fluendo.com>
9387 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9388 (gst_base_transform_class_init), (gst_base_transform_init),
9389 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9390 (gst_base_transform_get_property),
9391 (gst_base_transform_sink_activate),
9392 (gst_base_transform_src_activate),
9393 (gst_base_transform_change_state):
9394 * gst/base/gstbasetransform.h:
9395 * gst/elements/gstidentity.c: (gst_identity_class_init),
9396 (gst_identity_event), (gst_identity_check_perfect),
9397 (gst_identity_transform), (gst_identity_start),
9398 (gst_identity_stop):
9399 Added start/stop methods to transform base class so subclasses
9400 don't need to deal with state changes even.
9402 2005-03-31 Wim Taymans <wim@fluendo.com>
9404 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9405 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9408 (gst_pad_pull_range):
9409 Added rate to the discont event to prepare for variable speed
9410 and reverse playback.
9412 2005-03-29 David Schleef <ds@schleef.org>
9415 * testsuite/trigger/Makefile.am:
9416 * testsuite/trigger/trigger.c: A little example program to show
9417 how trigger-based elements can work.
9419 2005-03-29 Wim Taymans <wim@fluendo.com>
9421 * gst/base/Makefile.am:
9423 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9424 (gst_basesink_base_init), (gst_basesink_class_init),
9425 (gst_basesink_pad_getcaps), (gst_basesink_init),
9426 (gst_basesink_activate), (gst_basesink_change_state):
9427 * gst/base/gstbasesink.h:
9428 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9429 (gst_base_transform_base_init), (gst_base_transform_finalize),
9430 (gst_base_transform_class_init), (gst_base_transform_init),
9431 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9432 (gst_base_transform_event), (gst_base_transform_getrange),
9433 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9434 (gst_base_transform_set_property),
9435 (gst_base_transform_get_property),
9436 (gst_base_transform_sink_activate),
9437 (gst_base_transform_src_activate),
9438 (gst_base_transform_change_state):
9439 * gst/base/gstbasetransform.h:
9440 * gst/elements/gstidentity.c: (gst_identity_finalize),
9441 (gst_identity_class_init), (gst_identity_init),
9442 (gst_identity_event), (gst_identity_check_perfect),
9443 (gst_identity_transform), (gst_identity_set_property),
9444 (gst_identity_get_property), (gst_identity_change_state):
9445 * gst/elements/gstidentity.h:
9446 * gst/gstelement.c: (gst_element_get_state_func),
9447 (gst_element_lost_state), (gst_element_pads_activate):
9448 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9449 (gst_pad_check_pull_range), (gst_pad_pull_range):
9451 Simplify pad activation.
9452 Added function to check if pull_range can be performed.
9453 Error out when pulling inactive or flushing pads.
9454 Removed const from refcounted types as it does not make sense.
9455 Simplify pad templates in basesink
9456 Added base class for simple 1-to-1 transforms.
9457 Make identity subclass the base transform.
9459 2005-03-29 Andy Wingo <wingo@pobox.com>
9461 * docs/libs/gstreamer-libs-overrides.txt:
9462 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9463 really don't understand what's going on, but like whatever. I want
9466 * docs/gst/Makefile.am:
9467 * docs/libs/Makefile.am: Dist the overrides files.
9469 * check/Makefile.am (clean-local): Remove .libs directories.
9471 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9472 elements to EXTRA_DIST, so po/ files are happy.
9474 * po/POTFILES.in: Er, remove it here.
9476 * po/POTFILES: Remove gstspider.c.
9478 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9480 * docs/libs/gstreamer-libs-docs.sgml:
9481 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9484 * tests/complexity.c (main): Set the length of the preroll queue
9485 on the sinks to prevent a lockup.
9487 * libs/gst/dataprotocol/Makefile.am:
9488 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9489 the same as the one in check/gst-libs/gdp.c.
9491 * po/, docs/gst/: Commit automatic changes to docs and po files.
9493 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9494 the versioned libgstbase.
9496 * check/Makefile.am: Depend on an unversioned gst-register, seems
9497 to make autoconf happier.
9499 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9501 2005-03-28 Wim Taymans <wim@fluendo.com>
9504 * docs/design/part-gstelement.txt:
9505 * docs/design/part-negotiation.txt:
9506 * docs/design/part-preroll.txt:
9507 * docs/design/part-scheduling.txt:
9508 * docs/design/part-states.txt:
9510 * gst/base/Makefile.am:
9512 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9513 (gst_basesink_base_init), (gst_basesink_class_init),
9514 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9515 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9516 (gst_basesink_set_pad_functions),
9517 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9518 (gst_basesink_set_property), (gst_basesink_get_property),
9519 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9520 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9521 (gst_basesink_preroll_queue_push),
9522 (gst_basesink_preroll_queue_empty),
9523 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9524 (gst_basesink_event), (gst_basesink_get_times),
9525 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9526 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9527 (gst_basesink_loop), (gst_basesink_activate),
9528 (gst_basesink_change_state):
9529 * gst/base/gstbasesink.h:
9530 * gst/elements/Makefile.am:
9531 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9532 (gst_fakesink_class_init), (gst_fakesink_init),
9533 (gst_fakesink_set_property), (gst_fakesink_get_property),
9534 (gst_fakesink_get_times), (gst_fakesink_event),
9535 (gst_fakesink_preroll), (gst_fakesink_render),
9536 (gst_fakesink_change_state):
9537 * gst/elements/gstfakesink.h:
9538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9539 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9540 * gst/gstelement.c: (gst_element_add_pad),
9541 (gst_element_get_state_func), (gst_element_abort_state),
9542 (gst_element_commit_state), (gst_element_lost_state),
9543 (gst_element_set_state), (gst_element_pads_activate):
9544 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9545 * gst/gstpipeline.c: (gst_pipeline_send_event),
9546 (gst_pipeline_change_state):
9547 Added state change code.
9549 Added sink base class, make fakesink extend the base class.
9550 Small cleanups in GstPipeline.
9552 2005-03-26 David Schleef <ds@schleef.org>
9554 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9555 is broken and should be implemented in a different library.
9556 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9557 * gst/gst.h: remove gstcpu.h
9558 * gst/gstcpu.c: remove
9559 * gst/gstcpu.h: remove
9560 * gst/Makefile.am.future: Remove this file. It's ancient.
9562 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9564 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9565 (gst_bin_send_event):
9566 Add default event/set_manager handlers. The set_manager handler
9567 takes care that the manager is distributed over kids that were
9568 already in the bin before the manager was set. The event handler
9569 is a utility virtual function that sends the event over all sinks,
9570 so that gst_element_send_event (bin, event); has the expected
9572 * gst/gstpad.c: (gst_pad_event_default):
9573 Re-install default event handling for discontinuities, so that
9574 seeking works without requiring hacks in applications or extra
9576 * gst/gstpipeline.c: (gst_pipeline_class_init),
9577 (gst_pipeline_send_event):
9578 Half hack, half utility: set a pipeline to PAUSED for seek events,
9579 since that is the only way we can guarantee a/v sync. Means that
9580 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9581 and it "just works".
9583 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9585 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9586 Lock/unlock mismatch.
9588 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9590 * docs/faq/gst-uninstalled:
9591 add gst-plugins-base
9592 * docs/gst/Makefile.am:
9593 don't error out until docs are fixed
9594 * docs/gst/gstreamer.types:
9597 2005-03-22 Wim Taymans <wim@fluendo.com>
9599 * check/Makefile.am:
9600 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9601 * gst/gststructure.c: (gst_structure_set_valist),
9602 (gst_structure_copy_conditional):
9603 Activated more tests.
9605 Added G_TYPE_POINTER to GstStructure.
9608 2005-03-22 Wim Taymans <wim@fluendo.com>
9610 * docs/design/part-TODO.txt:
9611 * docs/design/part-events.txt:
9612 * docs/design/part-gstbin.txt:
9613 * docs/design/part-gstbus.txt:
9614 * docs/design/part-gstpipeline.txt:
9615 * docs/design/part-messages.txt:
9620 2005-03-21 Wim Taymans <wim@fluendo.com>
9622 * gst/gstbus.c: (gst_bus_post):
9623 Fix copy-and-paste error.
9625 2005-03-21 Wim Taymans <wim@fluendo.com>
9627 * check/Makefile.am:
9629 * gst/elements/Makefile.am:
9630 * gst/elements/gstelements.c:
9631 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9632 (gst_fakesink_event), (gst_fakesink_chain):
9633 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9634 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9635 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9636 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9637 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9638 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9639 (gst_fakesrc_loop), (gst_fakesrc_activate),
9640 (gst_fakesrc_change_state):
9641 * gst/elements/gstfakesrc.h:
9642 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9643 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9644 (gst_filesrc_open_file), (gst_filesrc_loop),
9645 (gst_filesrc_activate), (gst_filesrc_change_state),
9646 (filesrc_find_peek), (filesrc_find_suggest),
9647 (gst_filesrc_type_find):
9648 * gst/elements/gstidentity.c: (gst_identity_finalize),
9649 (gst_identity_class_init), (gst_identity_init),
9650 (gst_identity_proxy_getcaps), (identity_queue_push),
9651 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9652 (gst_identity_getrange), (gst_identity_chain),
9653 (gst_identity_sink_loop), (gst_identity_src_loop),
9654 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9655 (gst_identity_set_property), (gst_identity_get_property),
9656 (gst_identity_change_state):
9657 * gst/elements/gstidentity.h:
9658 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9659 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9660 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9661 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9662 (gst_tee_sink_activate):
9663 * gst/elements/gsttee.h:
9664 * gst/gst.c: (gst_register_core_elements), (init_post):
9666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9667 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9668 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9669 (gst_bin_change_state):
9671 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9672 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9673 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9674 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9675 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9676 (bus_watch_callback), (bus_watch_destroy),
9677 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9678 (poll_timeout), (gst_bus_poll):
9682 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9683 (gst_element_post_message), (gst_element_message_full),
9684 (gst_element_get_state_func), (gst_element_get_state),
9685 (gst_element_abort_state), (gst_element_commit_state),
9686 (gst_element_lost_state), (gst_element_set_state),
9687 (gst_element_pads_activate), (gst_element_change_state),
9688 (gst_element_dispose), (gst_element_set_manager_func),
9689 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9690 (gst_element_set_manager), (gst_element_get_manager),
9691 (gst_element_set_bus), (gst_element_get_bus),
9692 (gst_element_set_scheduler), (gst_element_get_scheduler):
9694 * gst/gstevent.c: (gst_event_new_segment_seek),
9695 (gst_event_new_flush):
9697 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9698 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9699 (gst_message_new_eos), (gst_message_new_error),
9700 (gst_message_new_warning), (gst_message_new_tag),
9701 (gst_message_new_state_changed), (gst_message_new_application),
9702 (gst_message_get_structure), (gst_message_parse_tag),
9703 (gst_message_parse_state_changed), (gst_message_parse_error),
9704 (gst_message_parse_warning):
9706 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9707 (gst_real_pad_set_property), (gst_pad_set_active),
9708 (gst_pad_is_active), (gst_pad_set_blocked_async),
9709 (gst_pad_set_blocked), (gst_pad_is_blocked),
9710 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9711 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9712 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9713 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9714 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9715 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9716 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9717 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9718 (gst_pad_set_caps), (gst_pad_configure_sink),
9719 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9720 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9721 (gst_real_pad_dispose), (gst_real_pad_finalize),
9722 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9723 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9724 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9726 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9727 (pipeline_bus_handler), (gst_pipeline_change_state),
9728 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9729 * gst/gstpipeline.h:
9731 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9732 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9733 (gst_queue_link_src), (gst_queue_bufferalloc),
9734 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9735 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9736 (gst_queue_loop), (gst_queue_handle_src_event),
9737 (gst_queue_handle_src_query), (gst_queue_src_activate),
9738 (gst_queue_change_state):
9740 * gst/gstscheduler.c: (gst_scheduler_init),
9741 (gst_scheduler_dispose), (gst_scheduler_create_task),
9742 (gst_scheduler_factory_create):
9743 * gst/gstscheduler.h:
9744 * gst/gststructure.c: (gst_structure_get_type),
9745 (gst_structure_copy_conditional):
9746 * gst/gststructure.h:
9747 * gst/gsttaginterface.h:
9748 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9749 (gst_task_init), (gst_task_dispose), (gst_task_create),
9750 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9756 * gst/schedulers/Makefile.am:
9757 * gst/schedulers/cothreads_compat.h:
9758 * gst/schedulers/entryscheduler.c:
9759 * gst/schedulers/faircothreads.c:
9760 * gst/schedulers/faircothreads.h:
9761 * gst/schedulers/fairscheduler.c:
9762 * gst/schedulers/gstbasicscheduler.c:
9763 * gst/schedulers/gstoptimalscheduler.c:
9764 * gst/schedulers/gthread-cothreads.h:
9765 * gst/schedulers/threadscheduler.c:
9766 (gst_thread_scheduler_task_get_type),
9767 (gst_thread_scheduler_task_class_init),
9768 (gst_thread_scheduler_task_init),
9769 (gst_thread_scheduler_task_start),
9770 (gst_thread_scheduler_task_stop),
9771 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9772 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9773 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9774 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9776 * libs/gst/Makefile.am:
9777 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9778 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9779 (gst_file_pad_parent_set):
9780 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9781 (gst_dp_event_from_packet):
9782 * tests/complexity.c: (main):
9783 * tests/mass_elements.c: (main):
9784 * testsuite/states/locked.c: (message_received), (main):
9785 * testsuite/states/parent.c: (main):
9786 * tools/gst-inspect.c: (print_element_flag_info),
9787 (print_implementation_info), (print_pad_info):
9788 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9790 * tools/gst-md5sum.c: (event_loop), (main):
9791 * tools/gst-typefind.c: (main):
9792 * tools/gst-xmlinspect.c: (print_element_info):
9794 Added GstBus for mainloop integration.
9795 Added GstMessage for sending notifications on the bus.
9796 Added GstTask as an abstraction for pipeline entry points.
9799 Simplified GstQueue for multithreaded core.
9800 Made _link threadsafe, removed old capsnego.
9801 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9802 Added pad blocking functions.
9803 Reworked scheduling functions in GstPad to prepare for
9804 scheduling updates soon.
9805 Moved events out of data stream.
9806 Simplified GstEvent types.
9807 Added return values to push/pull.
9808 Removed clocking from GstElement.
9809 Added prototypes for state change function for next merge.
9810 Removed iterate from bins and state change management.
9811 Fixed some elements, disabled others for now.
9812 Fixed -inspect and -launch.
9813 Added check for GstBus.
9815 2005-03-10 Wim Taymans <wim@fluendo.com>
9817 * docs/design/part-MT-refcounting.txt:
9818 * docs/design/part-clocks.txt:
9819 * docs/design/part-gstelement.txt:
9820 * docs/design/part-gstobject.txt:
9821 * docs/design/part-standards.txt:
9822 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9823 (gst_bin_remove_func), (gst_bin_remove):
9827 * testsuite/clock/clock1.c: (main):
9828 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9830 * testsuite/dlopen/loadgst.c: (do_test):
9831 * testsuite/refcounting/bin.c: (add_remove_test1),
9832 (add_remove_test2), (main):
9833 * testsuite/refcounting/element.c: (main):
9834 * testsuite/refcounting/element_pad.c: (main):
9835 * testsuite/refcounting/pad.c: (main):
9836 * tools/gst-launch.c: (sigint_handler_sighandler):
9837 * tools/gst-typefind.c: (main):
9839 Added doc about clock.
9840 removed gst_bin_iterate_recurse_up(), marked methods
9842 Fix more testsuites.
9844 2005-03-09 Wim Taymans <wim@fluendo.com>
9846 * gst/gstpad.c: (gst_pad_get_direction),
9847 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9848 (gst_pad_collect_valist):
9849 * testsuite/bins/interface.c: (main):
9850 * testsuite/caps/audioscale.c: (test_caps):
9851 * testsuite/caps/caps.c: (test1), (test2), (test3):
9852 * testsuite/caps/deserialize.c: (main):
9853 * testsuite/caps/enumcaps.c: (main):
9854 * testsuite/caps/filtercaps.c: (main):
9855 * testsuite/caps/intersect2.c: (main):
9856 * testsuite/caps/random.c: (main):
9857 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9858 * testsuite/caps/sets.c: (check_caps):
9859 * testsuite/caps/simplify.c: (check_caps), (main):
9860 * testsuite/caps/subtract.c: (check_caps):
9861 Fix _pad_get_direction wrt ghostpads.
9864 2005-03-09 Wim Taymans <wim@fluendo.com>
9866 * check/Makefile.am:
9867 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9868 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9869 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9870 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9871 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9872 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9873 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9874 (bin_element_is_sink), (gst_bin_iterate_sinks),
9875 (gst_bin_iterate_all_by_interface):
9877 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9878 (gst_element_change_state), (gst_element_dispose),
9879 (gst_element_finalize), (gst_element_set_loop_function):
9881 * gst/gstiterator.c: (find_custom_fold_func):
9882 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9883 (gst_pad_collectv), (gst_pad_collect_valist),
9884 (gst_pad_template_new):
9885 * gst/gstpipeline.c: (gst_pipeline_class_init),
9886 (gst_pipeline_dispose), (gst_pipeline_set_property),
9887 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9888 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9889 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9891 * gst/schedulers/entryscheduler.c:
9892 * gst/schedulers/gstbasicscheduler.c:
9893 (gst_basic_scheduler_cothreaded_chain),
9894 (gst_basic_scheduler_chain_add_element):
9895 * testsuite/bins/interface.c: (main):
9897 Added GstSystemClock test.
9898 Implemented clock distribution code in GstBin.
9899 Implemented iterate sinks method for future use.
9900 Rearranged gstelement.h
9901 Fix GstIterator comparison bug.
9902 Moved some code to GstPipeline, mostly clocking related.
9904 2005-03-09 Wim Taymans <wim@fluendo.com>
9907 * gst/gst_private.h:
9908 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9909 (gst_bin_remove_func), (gst_bin_remove),
9910 (gst_bin_get_by_name_recurse_up):
9911 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9912 (gst_clock_id_compare_func), (gst_clock_id_wait),
9913 (gst_clock_id_wait_async), (gst_clock_init),
9914 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9916 * gst/gstinfo.c: (_gst_debug_init):
9918 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9919 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9921 Bump version number, we're now 0.9.0
9922 Add future debugging category.
9923 Fix NULL _unref() in _get_by_name_recurse_up
9927 2005-03-08 Wim Taymans <wim@fluendo.com>
9929 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9930 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9931 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9932 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9933 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9934 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9935 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9936 * gst/elements/gstidentity.c: (gst_identity_class_init):
9937 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9938 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9939 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9940 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9941 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9943 * gst/gstelement.c: (gst_element_class_init),
9944 (gst_element_base_class_init), (gst_element_init),
9945 (gst_element_get_random_pad), (gst_element_wait_state_change),
9946 (gst_element_change_state), (gst_element_dispose),
9947 (gst_element_finalize), (gst_element_set_loop_function):
9949 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9950 * gst/gstthread.c: (gst_thread_class_init),
9951 (gst_thread_release_children_locks), (gst_thread_change_state):
9952 * gst/schedulers/gstbasicscheduler.c:
9953 (gst_basic_scheduler_loopfunc_wrapper),
9954 (gst_basic_scheduler_chain_wrapper),
9955 (gst_basic_scheduler_src_wrapper),
9956 (gst_basic_scheduler_remove_element):
9957 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9958 Remove threadsafe properties. Fix elements because GObject
9959 complains when installing a property before declaring a
9960 set/get_property handler.
9961 Rearrange gstelement.h file, use STATE macros for state locks.
9962 Free mutexes in the finalize method instead of dispose.
9964 2005-03-08 Wim Taymans <wim@fluendo.com>
9966 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9967 * gst/gstthread.c: (gst_thread_release_children_locks):
9968 Added parentage check.
9969 Fix build og GstThread again.
9971 2005-03-08 Wim Taymans <wim@fluendo.com>
9973 * docs/design/part-MT-refcounting.txt:
9974 * docs/design/part-conventions.txt:
9975 * docs/design/part-gstobject.txt:
9976 * docs/design/part-relations.txt:
9977 * docs/design/part-standards.txt:
9978 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9979 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9980 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9981 (gst_bin_iterate_all_by_interface):
9984 * gst/gstelement.c: (gst_element_class_init),
9985 (gst_element_change_state), (gst_element_set_loop_function):
9987 * gst/gstiterator.c:
9988 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9989 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9990 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9991 (gst_object_set_parent), (gst_object_unparent),
9992 (gst_object_check_uniqueness):
9994 Docs updates, clean up some headers.
9996 2005-03-07 Wim Taymans <wim@fluendo.com>
9999 * check/Makefile.am:
10000 * check/gst-libs/.cvsignore:
10001 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10002 * check/gst/.cvsignore:
10003 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10004 (START_TEST), (gstbus_suite), (main):
10005 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10006 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10007 (gst_data_suite), (main):
10008 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10009 (add_fold_func), (gstiterator_suite), (main):
10010 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10011 (thread_name_object), (thread_name_object_default),
10012 (gst_object_name_compare), (gst_object_suite), (main):
10013 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10014 (gst_pad_suite), (main):
10015 * check/gstcheck.c: (gst_check_log_message_func),
10016 (gst_check_log_critical_func), (gst_check_init):
10017 * check/gstcheck.h:
10018 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10019 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10022 2005-03-07 Wim Taymans <wim@fluendo.com>
10024 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10025 (gst_list_iterator_next), (gst_list_iterator_resync),
10026 (gst_list_iterator_free), (gst_iterator_new_list),
10027 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10028 (gst_iterator_free), (gst_iterator_push), (filter_next),
10029 (filter_resync), (filter_uninit), (filter_free),
10030 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10031 (gst_iterator_foreach), (find_custom_fold_func),
10032 (gst_iterator_find_custom):
10033 * gst/gstiterator.h:
10034 Added missing files.
10036 2005-03-07 Wim Taymans <wim@fluendo.com>
10040 * docs/design/part-MT-refcounting.txt:
10041 * docs/design/part-conventions.txt:
10042 * docs/design/part-gstobject.txt:
10043 * docs/design/part-relations.txt:
10044 * examples/mixer/mixer.c: (main):
10045 * examples/thread/thread.c: (eos), (main):
10047 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10048 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10049 (gst_spider_plug_from_srcpad):
10050 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10051 (gst_spider_identity_change_state),
10052 (gst_spider_identity_sink_loop_type_finding):
10053 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10054 * gst/elements/gstidentity.c: (gst_identity_init):
10055 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10056 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10057 * gst/elements/gsttypefindelement.c: (free_entry):
10060 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10061 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10062 (gst_bin_set_index), (gst_bin_set_element_sched),
10063 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10064 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10065 (gst_bin_iterate_elements), (iterate_child_recurse),
10066 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10067 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10068 (compare_interface), (gst_bin_get_by_interface),
10069 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10071 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10072 (gst_buffer_default_free), (gst_buffer_default_copy),
10073 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10074 (gst_buffer_create_sub):
10076 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10077 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10078 (gst_caps_unref), (gst_static_caps_get),
10079 (gst_caps_remove_and_get_structure), (gst_caps_append),
10080 (gst_caps_append_structure), (gst_caps_remove_structure),
10081 (gst_caps_copy_nth), (gst_caps_set_simple),
10082 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10083 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10084 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10085 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10086 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10087 (gst_caps_structure_figure_out_union),
10088 (gst_caps_switch_structures), (gst_caps_do_simplify),
10089 (gst_caps_replace), (gst_caps_from_string),
10090 (gst_caps_copy_conditional):
10092 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10093 (_gst_clock_id_free), (gst_clock_id_unref),
10094 (gst_clock_id_compare_func), (gst_clock_id_wait),
10095 (gst_clock_id_wait_async), (gst_clock_class_init),
10096 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10097 (gst_clock_get_time), (gst_clock_set_time_adjust),
10098 (gst_clock_set_property), (gst_clock_get_property):
10101 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10102 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10104 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10105 (gst_element_requires_clock), (gst_element_provides_clock),
10106 (gst_element_set_clock), (gst_element_clock_wait),
10107 (gst_element_wait), (gst_element_set_time_delay),
10108 (gst_element_is_indexable), (gst_element_add_pad),
10109 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10110 (pad_compare_name), (gst_element_get_static_pad),
10111 (gst_element_request_pad), (gst_element_get_request_pad),
10112 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10113 (gst_element_class_get_pad_template_list),
10114 (gst_element_class_get_pad_template), (gst_element_error_func),
10115 (gst_element_get_random_pad), (gst_element_get_event_masks),
10116 (gst_element_send_event), (gst_element_seek),
10117 (gst_element_get_query_types), (gst_element_query),
10118 (gst_element_get_formats), (gst_element_convert),
10119 (gst_element_is_locked_state), (gst_element_set_locked_state),
10120 (gst_element_sync_state_with_parent), (gst_element_change_state),
10121 (gst_element_finalize), (gst_element_yield),
10122 (gst_element_interrupt), (gst_element_set_scheduler),
10123 (gst_element_get_scheduler), (gst_element_set_loop_function):
10124 * gst/gstelement.h:
10126 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10127 (gst_format_get_by_nick), (gst_format_get_details),
10128 (gst_format_iterate_definitions):
10130 * gst/gstindex.c: (gst_index_gtype_resolver):
10133 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10134 (gst_mem_chunk_free):
10135 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10136 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10137 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10138 (gst_object_dispatch_properties_changed),
10139 (gst_object_set_name_default), (gst_object_set_name),
10140 (gst_object_get_name), (gst_object_set_name_prefix),
10141 (gst_object_get_name_prefix), (gst_object_set_parent),
10142 (gst_object_get_parent), (gst_object_unparent),
10143 (gst_object_check_uniqueness), (gst_object_save_thyself),
10144 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10145 (gst_object_set_property), (gst_object_get_property),
10146 (gst_object_get_path_string):
10148 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10149 (gst_real_pad_init), (gst_real_pad_get_property),
10150 (gst_pad_custom_new), (gst_pad_get_direction),
10151 (gst_pad_set_active), (gst_pad_is_active),
10152 (gst_pad_set_event_function), (gst_pad_is_linked),
10153 (gst_pad_link_free), (gst_pad_link_intersect),
10154 (gst_pad_link_fixate), (gst_pad_set_caps),
10155 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10156 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10157 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10158 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10159 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10160 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10161 (gst_pad_realize), (gst_pad_get_allowed_caps),
10162 (gst_real_pad_dispose), (gst_real_pad_finalize),
10163 (gst_pad_collectv), (gst_pad_collect_valist),
10164 (gst_pad_template_dispose), (gst_pad_template_new),
10165 (gst_pad_get_internal_links):
10167 * gst/gstpipeline.c: (gst_pipeline_dispose),
10168 (gst_pipeline_change_state):
10169 * gst/gstpipeline.h:
10171 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10172 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10173 * gst/gstpluginfeature.h:
10174 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10175 * gst/gstquery.c: (_gst_query_type_initialize),
10176 (gst_query_type_register), (gst_query_type_get_by_nick),
10177 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10179 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10180 * gst/gstscheduler.c: (gst_scheduler_add_element),
10181 (gst_scheduler_factory_create):
10182 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10183 (gst_structure_free), (gst_structure_set_name),
10184 (gst_structure_id_set_value), (gst_structure_set_value),
10185 (gst_structure_set_valist), (gst_structure_remove_field),
10186 (gst_structure_remove_fields),
10187 (gst_structure_remove_fields_valist),
10188 (gst_structure_remove_all_fields), (gst_structure_foreach),
10189 (gst_structure_map_in_place),
10190 (gst_caps_structure_fixate_field_nearest_int),
10191 (gst_caps_structure_fixate_field_nearest_double):
10192 * gst/gststructure.h:
10193 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10194 (gst_system_clock_init), (gst_system_clock_dispose),
10195 (gst_system_clock_async_thread),
10196 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10197 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10198 * gst/gstsystemclock.h:
10199 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10200 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10201 * gst/gsttaginterface.c:
10202 * gst/gstthread.c: (gst_thread_dispose),
10203 (gst_thread_release_children_locks), (gst_thread_change_state),
10204 (gst_thread_main_loop):
10205 * gst/gsttrashstack.h:
10206 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10209 (gst_element_request_pad), (gst_element_get_pad_from_template),
10210 (gst_element_request_compatible_pad),
10211 (gst_element_get_compatible_pad_filtered),
10212 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10213 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10214 (gst_element_link_many), (gst_element_link),
10215 (gst_element_link_pads), (gst_element_unlink_pads),
10216 (gst_element_unlink_many), (gst_element_unlink),
10217 (gst_pad_can_link_filtered), (gst_pad_can_link),
10218 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10219 (gst_object_default_error), (gst_bin_add_many),
10220 (gst_bin_remove_many), (gst_element_populate_std_props),
10221 (gst_element_class_install_std_props), (gst_buffer_merge),
10222 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10223 (link_fold_func), (gst_pad_proxy_setcaps):
10225 * gst/gstvalue.c: (gst_value_deserialize_string):
10226 * gst/parse/grammar.y:
10227 * gst/schedulers/gstbasicscheduler.c:
10228 (gst_basic_scheduler_cothreaded_chain),
10229 (gst_basic_scheduler_chain_recursive_add),
10230 (gst_basic_scheduler_pad_link):
10231 * gst/schedulers/gstoptimalscheduler.c:
10232 (get_group_schedule_function),
10233 (gst_opt_scheduler_state_transition),
10234 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10235 * libs/gst/bytestream/bytestream.c:
10236 * libs/gst/dataprotocol/dataprotocol.c:
10237 (gst_dp_header_from_buffer):
10240 * tests/threadstate/threadstate2.c: (eos):
10241 * tools/gst-compprep.c: (main):
10242 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10243 (print_pad_info), (print_children_info):
10244 * tools/gst-launch.c: (idle_func), (main):
10245 * tools/gst-md5sum.c: (idle_func), (main):
10246 * tools/gst-xmlinspect.c: (print_element_info):
10247 First THREADED backport attempt, focusing on adding locks and
10248 making sure the API is threadsafe. Needs more work. More docs
10251 2005-02-24 Andy Wingo <wingo@pobox.com>
10253 * tests/bench-complexity.scm:
10254 * tests/complexity.gnuplot: New files, good for running complexity
10257 * tests/Makefile.am:
10258 * tests/complexity.c: New test, sets up N elements, at each level
10259 teeing into M streams per element. Eeeenteresting.
10261 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10262 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10263 running bench-mass_elements.scm.
10265 * tests/bench-mass_elements.scm: New script, runs mass_elements
10266 for various numbers of identities, outputting the results to a
10267 file. Requires guile 1.6. Just for testing.
10269 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10271 * gst/schedulers/fairscheduler.c:
10272 compile with debug disabled
10274 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10277 hunting season on 0.9 is now OPEN