1 2005-11-03 Wim Taymans <wim@fluendo.com>
3 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4 Added some more checks. Specifically the case where NO_PREROLL
5 elements are in the pipeline.
7 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9 (gst_base_sink_get_position):
10 Post READY->PAUSED state change messages too.
11 Fix bug where VOID was posted as pending state...
13 * gst/gstbin.c: (gst_bin_recalc_state):
14 use _element_continue_state() to continue the state change.
16 * gst/gstelement.c: (gst_element_continue_state),
17 (gst_element_commit_state), (gst_element_set_state_func),
18 (gst_element_change_state), (gst_element_change_state_func):
19 Lots of state change cleanups, assign the STATE_RETURN in
20 a new continue_state() function that also propagates the
21 last return value from a state change to the app.
22 Update some debug statements with proper category.
24 2005-11-03 Wim Taymans <wim@fluendo.com>
26 * docs/design/part-events.txt:
27 * docs/design/part-gstpipeline.txt:
28 * docs/design/part-messages.txt:
29 * docs/design/part-overview.txt:
30 * docs/design/part-seeking.txt:
31 * docs/design/part-states.txt:
32 * docs/design/part-trickmodes.txt:
33 * docs/manual/advanced-position.xml:
37 People think !! is ugly, this looks better.
39 * gst/gstpad.c: (gst_pad_set_blocked_async):
40 Remove !! since it's fixed elsewhere now.
42 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
44 * gst/gstminiobject.h:
46 Add !! to _FLAG_IS_SET macros to make the result boolean.
48 2005-11-03 Edward Hervey <edward@fluendo.com>
50 * gst/gstpad.c: (gst_pad_set_blocked_async):
51 comparing a flag and a gboolean rarely returns coherent results...
52 Added two characters (!!) to make that work correctly.
54 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
56 * gst/gstbus.c: (gst_bus_class_init):
59 * gst/gstqueue.c: (gst_queue_loop):
60 Don't assume a miniobject that isn't a buffer is an
61 event (it could be that there is a refcounting
62 problem somewhere and the pointer is stale and
63 refers to an already destroyed miniobject).
65 2005-11-03 Julien MOUTTE <julien@moutte.net>
67 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
69 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
71 * docs/manual/advanced-position.xml:
72 Update seek example and explanations to current 0.9 API.
74 * gst/elements/gsttypefindelement.c:
75 (gst_type_find_element_activate):
76 Remove FIXME comment now that the found caps
79 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
81 * gst/gstregistryxml.c: (load_feature):
82 Add another GST_STR_NULL instance
84 2005-11-02 Edward Hervey <edward@fluendo.com>
86 * gst/gstpad.c: (handle_pad_block):
87 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
89 2005-11-02 Wim Taymans <wim@fluendo.com>
94 * gst/gstelement.c: (gst_element_commit_state):
98 Mention that the returned element is reffed in the docs.
100 2005-11-02 Wim Taymans <wim@fluendo.com>
102 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
103 (gst_pad_push), (gst_pad_push_event):
104 Unlock blocked pads when they are flushed.
106 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
109 * docs/gst/gstreamer-sections.txt:
112 * gst/gstregistry.c: (gst_registry_scan_path_level):
113 fix for a nasty little missed situation where an installed plug-in
114 which was in the cache did not get overridden by an uninstalled one
115 which was earlier in the plugin path because the newly created plugin
116 for the uninstalled one (not in the registry) didn't get its
117 ->registered set to TRUE
119 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
121 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
122 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
123 (gst_collectpads_is_active), (gst_collectpads_collect),
124 (gst_collectpads_collect_range), (gst_collectpads_start),
125 (gst_collectpads_stop), (gst_collectpads_peek),
126 (gst_collectpads_pop), (gst_collectpads_available),
127 (gst_collectpads_read), (gst_collectpads_flush):
128 Guard public API with assertions.
131 Fix docs for gst_pad_set_link_function().
133 2005-11-02 Johan Dahlin <johan@gnome.org>
135 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
136 Unref found_caps after we used it.
138 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
140 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
141 Don't try to ref NULL.
143 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
145 * win32/common/config.h.in:
146 provide a GST_FUNCTION that just gives a string for now
148 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
150 * win32/common/gstenumtypes.c: (register_gst_object_flags),
151 (gst_object_flags_get_type), (register_gst_bin_flags),
152 (gst_bin_flags_get_type), (register_gst_buffer_flag),
153 (gst_buffer_flag_get_type), (register_gst_bus_flags),
154 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
155 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
156 (gst_clock_return_get_type), (register_gst_clock_entry_type),
157 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
158 (gst_clock_flags_get_type), (register_gst_state),
159 (gst_state_get_type), (register_gst_state_change_return),
160 (gst_state_change_return_get_type), (register_gst_state_change),
161 (gst_state_change_get_type), (register_gst_element_flags),
162 (gst_element_flags_get_type), (register_gst_core_error),
163 (gst_core_error_get_type), (register_gst_library_error),
164 (gst_library_error_get_type), (register_gst_resource_error),
165 (gst_resource_error_get_type), (register_gst_stream_error),
166 (gst_stream_error_get_type), (register_gst_event_type),
167 (gst_event_type_get_type), (register_gst_seek_type),
168 (gst_seek_type_get_type), (register_gst_seek_flags),
169 (gst_seek_flags_get_type), (register_gst_format),
170 (gst_format_get_type), (register_gst_index_certainty),
171 (gst_index_certainty_get_type), (register_gst_index_entry_type),
172 (gst_index_entry_type_get_type),
173 (register_gst_index_lookup_method),
174 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
175 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
176 (gst_index_resolver_method_get_type), (register_gst_index_flags),
177 (gst_index_flags_get_type), (register_gst_debug_level),
178 (gst_debug_level_get_type), (register_gst_debug_color_flags),
179 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
180 (gst_iterator_result_get_type), (register_gst_iterator_item),
181 (gst_iterator_item_get_type), (register_gst_message_type),
182 (gst_message_type_get_type), (register_gst_mini_object_flags),
183 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
184 (gst_pad_link_return_get_type), (register_gst_flow_return),
185 (gst_flow_return_get_type), (register_gst_activate_mode),
186 (gst_activate_mode_get_type), (register_gst_pad_direction),
187 (gst_pad_direction_get_type), (register_gst_pad_flags),
188 (gst_pad_flags_get_type), (register_gst_pad_presence),
189 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
190 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
191 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
192 (gst_plugin_error_get_type), (register_gst_plugin_flags),
193 (gst_plugin_flags_get_type), (register_gst_rank),
194 (gst_rank_get_type), (register_gst_query_type),
195 (gst_query_type_get_type), (register_gst_tag_merge_mode),
196 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
197 (gst_tag_flag_get_type), (register_gst_task_state),
198 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
199 (gst_alloc_trace_flags_get_type),
200 (register_gst_type_find_probability),
201 (gst_type_find_probability_get_type), (register_gst_uri_type),
202 (gst_uri_type_get_type), (register_gst_parse_error),
203 (gst_parse_error_get_type):
204 * win32/common/gstversion.h:
207 2005-11-01 Luca Ognibene <luogni@tin.it>
210 fix docs. popt is dead, long live GOption.
212 2005-10-31 Wim Taymans <wim@fluendo.com>
217 2005-10-31 Andy Wingo <wingo@pobox.com>
221 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
223 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
224 need to serialize property notifications on GLib 2.8. GLib 2.6 has
225 the possibility of deadlocks here if code calling notify() or
226 set() has a lock that can be taken in another notify handler (ABBA
227 with class lock and e.g. python GIL state lock).
229 2005-10-28 Julien MOUTTE <julien@moutte.net>
231 * gst/gstbus.c: Doc updates.
233 2005-10-28 Wim Taymans <wim@fluendo.com>
235 * docs/design/part-TODO.txt:
237 * gst/gstsystemclock.c:
238 * gst/gstsystemclock.h:
241 2005-10-28 Edward Hervey <edward@fluendo.com>
243 * docs/gst/gstreamer-docs.sgml:
244 * docs/gst/gstreamer-sections.txt:
245 the GstURIType documentation page is private, it only defines GstURIType
246 which should be defined in the GstURIHandler page
248 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
250 * gst/gstbin.c: (gst_bin_class_init):
253 Documentation updates.
255 2005-10-28 Wim Taymans <wim@fluendo.com>
257 * docs/gst/gstreamer-sections.txt:
260 Documented the clocks.
262 2005-10-28 Stefan Kost <ensonic@users.sf.net>
264 * docs/gst/gstreamer-sections.txt:
265 move some macros to private sections
266 * gst/gstminiobject.c:
267 * gst/gstminiobject.h:
268 add descriptions provided by ds and some more
270 mark macro as to be removed
272 2005-10-28 Wim Taymans <wim@fluendo.com>
274 * docs/design/part-TODO.txt:
277 * gst/gstiterator.c: (gst_iterator_fold),
278 (gst_iterator_find_custom):
282 2005-10-28 Wim Taymans <wim@fluendo.com>
284 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
285 (gst_base_transform_init):
288 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
289 An EOS event marks the queue as completely filled.
291 2005-10-27 Wim Taymans <wim@fluendo.com>
293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
294 (gst_base_sink_do_sync), (gst_base_sink_get_position):
297 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
298 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
299 (gst_base_transform_event), (gst_base_transform_getrange),
300 (gst_base_transform_chain):
301 * gst/base/gstbasetransform.h:
303 Protect transform and concurrent buffer alloc with a new lock.
304 Try not to break ABI/API.
306 2005-10-27 Wim Taymans <wim@fluendo.com>
308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
309 (gst_base_src_init), (gst_base_src_query),
310 (gst_base_src_default_newsegment),
311 (gst_base_src_configure_segment), (gst_base_src_do_seek),
312 (gst_base_src_send_event), (gst_base_src_event_handler),
313 (gst_base_src_pad_get_range), (gst_base_src_loop),
314 (gst_base_src_unlock), (gst_base_src_default_negotiate),
315 (gst_base_src_start), (gst_base_src_deactivate),
316 (gst_base_src_activate_push), (gst_base_src_change_state):
317 Move some stuff around and cleanup things.
319 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
321 * gst/base/gstbasesrc.c: (gst_base_src_query):
322 Add missing break statements.
324 2005-10-27 Wim Taymans <wim@fluendo.com>
326 * check/gst/gstbin.c: (GST_START_TEST):
327 An extra refcount is taken in basesrc.
329 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
330 (gst_base_src_get_range), (gst_base_src_pad_get_range),
332 Small cleanups, check for flushing after being unlocked from the
333 LIVE_LOCK. take refcounts correctly (not yet everywhere).
334 Don't send out EOS when going to READY.
336 2005-10-27 Wim Taymans <wim@fluendo.com>
338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
339 (gst_base_sink_get_position):
342 * gst/gstbin.c: (message_check), (bin_replace_message),
343 (bin_remove_messages), (is_eos), (gst_bin_add_func),
344 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
345 (bin_query_duration_init), (bin_query_duration_fold),
346 (bin_query_duration_done), (bin_query_generic_fold),
348 * tools/gst-launch.c: (main):
351 2005-10-26 Stefan Kost <ensonic@users.sf.net>
353 * examples/controller/audio-example.c: (main):
354 * examples/queue/queue.c: (event_loop):
355 * gst/base/gstbasetransform.h:
356 * gst/gstelement.c: (gst_element_send_event):
358 * gst/gstpad.c: (gst_pad_send_event):
361 changing log priority in error situations
363 2005-10-25 Wim Taymans <wim@fluendo.com>
365 * gst/gstbin.c: (message_check), (bin_replace_message),
366 (bin_remove_messages), (is_eos), (gst_bin_add_func),
367 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
368 (bin_query_duration_init), (bin_query_duration_fold),
369 (bin_query_duration_done), (bin_query_generic_fold),
371 Some doc and debug updates.
372 Cache previously requested query DURATION for speed. invalidate
373 cached duration if element posts a DURATION message.
375 2005-10-25 Wim Taymans <wim@fluendo.com>
377 * docs/design/part-TODO.txt:
380 * gst/gstbin.c: (message_check), (bin_replace_message),
381 (bin_remove_messages), (is_eos), (gst_bin_add_func),
382 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
383 (bin_query_duration_init), (bin_query_duration_fold),
384 (bin_query_duration_done), (bin_query_generic_fold),
386 Handle SEGMENT_START/DONE messages correctly.
387 More evolved query algorithm that handles duration queries
390 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
391 (gst_element_get_state_func), (gst_element_abort_state),
392 (gst_element_commit_state), (gst_element_lost_state):
398 2005-10-25 Wim Taymans <wim@fluendo.com>
400 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
401 Don't use invalid stream_time.
403 * gst/gstevent.c: (gst_event_new_newsegment):
404 stream_time in newsegment cannot be undefined.
406 2005-10-24 Wim Taymans <wim@fluendo.com>
411 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
413 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
415 2005-10-24 Stefan Kost <ensonic@users.sf.net>
417 * docs/libs/tmpl/gstdparam.sgml:
418 * docs/libs/tmpl/gstdplinint.sgml:
419 * docs/libs/tmpl/gstdpman.sgml:
420 * docs/libs/tmpl/gstdpsmooth.sgml:
421 * docs/libs/tmpl/gstunitconvert.sgml:
424 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
429 === release 0.9.4 ===
431 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
434 releasing 0.9.4, "Tyrannosaurus Rex"
436 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
438 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
439 (gst_file_sink_get_current_offset):
440 Use fseeko() and ftello() if available. When falling back on
441 lseek() to get the current offset, fflush() first to make sure
442 everything is up-to-date and we get the right offset.
444 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
447 * gst/base/gstbasesrc.c: (gst_base_src_loop):
448 * gst/gsterror.c: (_gst_stream_errors_init):
450 * gst/gstqueue.c: (gst_queue_loop):
452 remove prematurely added error category and clean up the instances
454 2005-10-21 Wim Taymans <wim@fluendo.com>
456 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
457 (gst_base_sink_get_position), (gst_base_sink_query),
458 (gst_base_sink_change_state):
459 Simply set the right flag when going to playing, that's all
460 we need to do instead of calling a function inside the object
461 lock (that could take the lock as well and deadlock)
463 2005-10-21 Wim Taymans <wim@fluendo.com>
465 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
467 Don't warn, the peer element knows what to do best when
468 the seek failed, it might try something else.
470 2005-10-21 Wim Taymans <wim@fluendo.com>
472 * gst/base/gstbasesrc.c: (gst_base_src_init),
473 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
476 2005-10-21 Wim Taymans <wim@fluendo.com>
478 * docs/design/part-segments.txt:
481 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
482 Correctly set caps, even on the subbufer.
484 2005-10-21 Wim Taymans <wim@fluendo.com>
486 * docs/gst/gstreamer-docs.sgml:
487 * docs/gst/gstreamer-sections.txt:
494 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
498 And 2% more doc coverage.
500 2005-10-21 Andy Wingo <wingo@pobox.com>
502 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
505 2005-10-20 Wim Taymans <wim@fluendo.com>
507 * gst/gsterror.c: (gst_error_get_message):
510 * gst/gststructure.c:
515 2005-10-20 Wim Taymans <wim@fluendo.com>
520 Another 1% more coverage.
522 2005-10-20 Wim Taymans <wim@fluendo.com>
524 * docs/gst/gstreamer-sections.txt:
525 * gst/gstelement.c: (gst_element_get_state_func),
526 (gst_element_abort_state), (gst_element_commit_state),
527 (gst_element_lost_state):
529 * gst/gstquery.c: (gst_query_set_position),
530 (gst_query_parse_position), (gst_query_set_duration),
531 (gst_query_parse_duration), (gst_query_new_convert):
533 Yay! 1% more docs coverage.
535 2005-10-20 Wim Taymans <wim@fluendo.com>
538 * gst/gstquery.c: (gst_query_set_position),
539 (gst_query_parse_position), (gst_query_set_duration),
540 (gst_query_parse_duration), (gst_query_new_convert):
542 * gst/gstutils.c: (gst_element_query_convert):
544 Docs and consistency fixes.
546 2005-10-20 Wim Taymans <wim@fluendo.com>
552 2005-10-20 Wim Taymans <wim@fluendo.com>
554 * gst/gstbin.c: (message_check), (bin_replace_message),
555 (bin_remove_messages), (is_eos), (gst_bin_add_func),
556 (update_degree), (gst_bin_sort_iterator_next),
557 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
558 Reworked the message handling a bit, cache the messages instead of
559 only the senders. alows us to do more in the future.
561 2005-10-20 Wim Taymans <wim@fluendo.com>
563 * docs/design/part-TODO.txt:
566 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
567 (gst_base_sink_query):
568 Don't use clock time to report position when in EOS.
570 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
572 * tools/gst-inspect.c: (print_interfaces),
573 (print_element_properties_info), (print_element_info):
574 Fix interface output with gst-inspect -a; don't print
575 newlines after double/float properties.
577 2005-10-20 Wim Taymans <wim@fluendo.com>
579 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
580 (gst_base_sink_query):
581 Speed up current position calculation.
583 * gst/base/gstbasesrc.c: (gst_base_src_query),
584 (gst_base_src_default_newsegment):
585 Correctly set stream position in newsegment.
587 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
588 (update_degree), (gst_bin_sort_iterator_next),
589 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
590 * gst/gstmessage.c: (gst_message_new_custom):
591 Clean up debugging info
593 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
594 (gst_queue_loop), (gst_queue_handle_src_query):
597 2005-10-19 Wim Taymans <wim@fluendo.com>
599 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
600 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
601 Fix query handling again.
603 2005-10-19 Wim Taymans <wim@fluendo.com>
605 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
606 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
607 * gst/base/gstbasesrc.c: (gst_base_src_query):
608 * gst/elements/gstfilesink.c: (gst_file_sink_query):
609 * gst/elements/gsttypefindelement.c:
610 (gst_type_find_handle_src_query), (find_element_get_length),
611 (gst_type_find_element_activate):
614 * gst/gstquery.c: (gst_query_new_position),
615 (gst_query_set_position), (gst_query_parse_position),
616 (gst_query_new_duration), (gst_query_set_duration),
617 (gst_query_parse_duration), (gst_query_set_segment),
618 (gst_query_parse_segment):
620 Bundling query position/duration is not a good idea since duration
621 does not change much and we don't want to recalculate it for every
622 position query, so they are separated again..
623 Base value in segment query is not needed.
625 * gst/gstqueue.c: (gst_queue_handle_src_query):
626 * gst/gstutils.c: (gst_element_query_position),
627 (gst_element_query_duration), (gst_pad_query_position),
628 (gst_pad_query_duration):
630 Updates for query API change.
631 Added some docs here and there.
633 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
635 * check/gst/gstbin.c: (GST_START_TEST):
636 * check/gst/gstghostpad.c: (GST_START_TEST):
637 * check/pipelines/cleanup.c: (GST_START_TEST):
638 wait on thread to die so we can check refcount correctly
640 2005-10-18 Wim Taymans <wim@fluendo.com>
642 * check/pipelines/stress.c: (GST_START_TEST):
643 Make check a little more time consuming.
645 2005-10-18 Wim Taymans <wim@fluendo.com>
648 * check/pipelines/stress.c: (GST_START_TEST),
649 (simple_launch_lines_suite), (main):
650 Small state change torture test.
652 * docs/design/part-states.txt:
653 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
654 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
655 (gst_base_sink_change_state):
656 Never take state lock from streaming thread, clean up ugly
657 hacks. Unfortunatly core does not yet support nice ways to
660 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
662 Start state recalc if a STATE_DIRTY message is posted, but only
665 * gst/gstelement.c: (gst_element_sync_state_with_parent),
666 (gst_element_get_state_func), (gst_element_abort_state),
667 (gst_element_commit_state), (gst_element_lost_state),
668 (gst_element_set_state_func), (gst_element_change_state):
670 State variables are now protected with the LOCK, the state
671 lock is only used to serialize _set_state().
673 2005-10-18 Wim Taymans <wim@fluendo.com>
675 * check/gst/gstbin.c: (GST_START_TEST):
676 * check/gst/gstmessage.c: (GST_START_TEST):
677 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
680 * gst/gstelement.c: (gst_element_abort_state),
681 (gst_element_commit_state), (gst_element_lost_state):
682 * gst/gstmessage.c: (gst_message_new_state_changed),
683 (gst_message_new_state_dirty), (gst_message_new_segment_start),
684 (gst_message_new_segment_done), (gst_message_new_duration),
685 (gst_message_parse_state_changed),
686 (gst_message_parse_segment_start),
687 (gst_message_parse_segment_done), (gst_message_parse_duration):
689 * tools/gst-launch.c: (event_loop):
690 Seriously, this is better than a previous commit as we only need
691 to notify the fact that an element changed state in a streaming
692 thread, marking the state of the parents dirty, hence the
693 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
696 2005-10-18 Wim Taymans <wim@fluendo.com>
698 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
699 (gst_bin_recalc_func):
700 * gst/gstelement.c: (gst_element_set_clock),
701 (gst_element_abort_state), (gst_element_lost_state):
702 Cleanups, prepare for state change fixes.
704 2005-10-18 Wim Taymans <wim@fluendo.com>
707 * gst/gstelement.c: (gst_element_class_init),
708 (gst_element_set_state), (gst_element_set_state_func):
711 GThreadPool in GstBinClass to monitor async state changes.
712 state_cookie in GstElement to detect concurrent gst/set state.
713 set_state is now virtual too in case a very complicated element
714 has to be constructed.
716 2005-10-18 Wim Taymans <wim@fluendo.com>
718 * check/gst/gstbin.c: (GST_START_TEST):
719 * check/gst/gstmessage.c: (GST_START_TEST):
720 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
721 * gst/gstbin.c: (bin_bus_handler):
722 * gst/gstelement.c: (gst_element_commit_state),
723 (gst_element_lost_state):
724 * gst/gstmessage.c: (gst_message_new_state_changed),
725 (gst_message_new_segment_start), (gst_message_new_segment_done),
726 (gst_message_new_duration), (gst_message_parse_state_changed),
727 (gst_message_parse_segment_start),
728 (gst_message_parse_segment_done), (gst_message_parse_duration):
730 * tools/gst-launch.c: (event_loop):
731 Make messages future proof.
732 state-change gets a flag if it was a message comming from the
734 segment-start/stop can also be specified in other formats.
735 A message to notify an app that a pipeline changed playback
737 Also fix a GstMessage leak in -launch
739 2005-10-18 Andy Wingo <wingo@pobox.com>
741 * gst/gstelement.c (gst_element_dispose): More helpful message.
743 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
745 * gst/gstregistry.c: (gst_registry_scan_path_level):
746 unref a plug-in we get that was already initialized
748 2005-10-18 Stefan Kost <ensonic@users.sf.net>
750 * docs/gst/gstreamer-sections.txt:
751 * docs/libs/gstreamer-libs-sections.txt:
756 2005-10-17 Andy Wingo <wingo@pobox.com>
758 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
761 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
763 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
765 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
766 (gst_element_get_state_func): Better debug message.
767 (gst_element_commit_state): s/INFO/DEBUG/.
768 (gst_element_lost_state, gst_element_change_state):
770 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
771 (gst_message_new_custom): s/INFO/LOG/.
773 2005-10-17 Michael Smith <msmith@fluendo.com>
775 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
776 Check if end time is valid using end time, not start time.
778 2005-10-17 Stefan Kost <ensonic@users.sf.net>
780 * check/gst-libs/controller.c: (GST_START_TEST),
781 (gst_controller_suite):
782 * libs/gst/controller/gstcontroller.c:
783 (gst_controlled_property_set_interpolation_mode):
784 * libs/gst/controller/gstcontroller.h:
785 * libs/gst/controller/gstinterpolation.c:
786 * testsuite/controller/.cvsignore:
787 * testsuite/controller/Makefile.am:
788 * testsuite/controller/interpolator.c:
789 merge controller testsuites
791 remove mem-chunk from docs
793 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
797 * gst/gsttrashstack.c:
798 * gst/gsttrashstack.h:
799 out. get out. you're fired. to the Attic !
801 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
803 * gst/gstcaps.c: (gst_caps_intersect):
804 fix signedness issues in a (hopefully) correct way
805 * gst/gstelement.c: (gst_element_pads_activate):
807 * gst/gstobject.c: (gst_object_set_parent):
810 2005-10-17 Julien MOUTTE <julien@moutte.net>
812 * gst/gstvalue.h: Fix prototypes.
814 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
816 * docs/gst/gstreamer-sections.txt:
817 * gst/gst.c: (gst_version_string):
819 * gst/gstversion.h.in:
820 * win32/common/libgstreamer.def:
821 add gst_version_string ()
823 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
827 * gst/gst.c: (init_post):
828 * win32/common/config.h.in:
830 * gst/gstcaps.c: (gst_caps_intersect):
831 use gint64, the range could be bigger than a guint
833 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
836 document potential problem in 2038
838 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
840 * gst/gstcaps.c: (gst_caps_intersect):
841 Fix guint j diving under 0
843 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
846 * win32/common/config.h:
847 * win32/common/config.h.in:
848 check for process.h, declares getpid() on Windows
850 include process.h if we have it
851 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
853 fix signedness issues
854 * win32/common/libgstreamer.def:
857 2005-10-16 Julien MOUTTE <julien@moutte.net>
859 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
860 fix. Because of unsigned ints, caps intersection was going nuts and
861 trying to access structures with G_MAXUINT index. That fixes
862 videotestsrc ! ffmpegcolorspace ! fakesink
863 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
866 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
869 use the gettext macro
870 * gst/elements/gstelements.c:
872 * gst/indexers/gstindexers.c:
873 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
874 * win32/common/config.h:
876 * win32/common/config.h.in:
877 add the template to generate config.h
878 * win32/common/gstenumtypes.c:
879 * win32/common/gstversion.h:
882 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
884 * gst/gst.c: (gst_version):
885 * gst/gstversion.h.in:
888 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
891 Oops, add missing closing bracket.
893 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
896 use common m4's for argument checking
898 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
900 * docs/gst/gstreamer-sections.txt:
902 Add GST_EVENT_TYPE_NAME() macro.
904 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
907 * gst/gstpluginfeature.c:
909 privatize more symbols
911 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
914 add srcdir, builddir includes to GST_ALL_CFLAGS, since
915 everything that uses GStreamer API should have the includes
917 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
919 * docs/gst/gstreamer-sections.txt:
920 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
922 give each value a _get_type, removes the DATA exports
924 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
928 remove _gst_registry_auto_load, not used anymore
929 * gst/gstbin.c: (gst_bin_get_type):
931 * gst/gstelement.c: (gst_element_get_type):
933 * gst/gstobject.c: (gst_object_get_type):
935 * gst/gstpad.c: (gst_pad_get_type):
937 make _get_type functions similar, fixes data export from library
939 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
942 correctly make conditionals
943 * gst/elements/Makefile.am:
944 * gst/elements/gstelements.c:
945 fix typo causing fdsrc not to build
947 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
949 * testsuite/Makefile.am:
950 * testsuite/bytestream/.cvsignore:
951 * testsuite/bytestream/Makefile.am:
952 * testsuite/bytestream/filepadsink.c:
953 * testsuite/bytestream/gstbstest.c:
954 * testsuite/bytestream/test1.c:
955 * testsuite/bytestream/testfile1:
956 * testsuite/caps/normalisation.c:
957 * testsuite/caps/random.c: (main):
958 * testsuite/cleanup/.cvsignore:
959 * testsuite/cleanup/Makefile.am:
960 * testsuite/cleanup/cleanup1.c:
961 * testsuite/cleanup/cleanup2.c:
962 * testsuite/cleanup/cleanup3.c:
963 * testsuite/cleanup/cleanup4.c:
964 * testsuite/cleanup/cleanup5.c:
965 * testsuite/controller/interpolator.c:
966 * testsuite/debug/printf_extension.c: (main):
967 * testsuite/elements/tee.c:
968 * testsuite/negotiation/.cvsignore:
969 * testsuite/negotiation/Makefile.am:
970 * testsuite/negotiation/pad_link.c:
971 * testsuite/pad/Makefile.am:
972 * testsuite/pad/chainnopull.c:
973 * testsuite/pad/getnopush.c:
974 * testsuite/pad/link.c:
975 * testsuite/refcounting/sched.c: (create_pipeline):
976 * testsuite/registry/Makefile.am:
977 * testsuite/registry/gst-print-formats.c:
978 * testsuite/schedulers/.cvsignore:
979 * testsuite/schedulers/142183-2.c:
980 * testsuite/schedulers/142183.c:
981 * testsuite/schedulers/143777-2.c:
982 * testsuite/schedulers/143777.c:
983 * testsuite/schedulers/147713.c:
984 * testsuite/schedulers/147819.c:
985 * testsuite/schedulers/147894-2.c:
986 * testsuite/schedulers/147894.c:
987 * testsuite/schedulers/Makefile.am:
988 * testsuite/schedulers/group_link.c:
989 * testsuite/schedulers/queue_link.c:
990 * testsuite/schedulers/relink.c:
991 * testsuite/schedulers/unlink.c:
992 * testsuite/schedulers/unref.c:
993 * testsuite/schedulers/useless_iteration.c:
994 * testsuite/states/bin.c:
995 clean out/remove some stuff from the testsuite directories
997 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1000 check for some headers
1001 * gst/elements/Makefile.am:
1002 * gst/elements/gstelements.c:
1003 don't compile fdsrc without sys/socket.h
1004 * gst/indexers/Makefile.am:
1005 * gst/indexers/gstindexers.c: (plugin_init):
1006 don't compile fileindex without mmap
1008 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1015 * check/Makefile.am:
1016 * docs/gst/Makefile.am:
1017 * examples/helloworld/Makefile.am:
1019 * gst/base/Makefile.am:
1020 * gst/check/Makefile.am:
1021 * gst/elements/Makefile.am:
1022 * gst/indexers/Makefile.am:
1023 * gst/parse/Makefile.am:
1024 * libs/gst/controller/Makefile.am:
1025 * libs/gst/dataprotocol/Makefile.am:
1026 * examples/helloworld/helloworld.c: (event_loop):
1027 compile fixes, though it's not being compiled currently
1029 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1031 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1032 Add some simple tests for the new taglist date API.
1034 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1036 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1037 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1038 Beautify 'last-message' output: print 'none' for buffer timestamps
1039 and durations if none is set; improve alignment with next messages.
1041 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1043 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1044 * gst/gstpluginfeature.h:
1045 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1046 * gst/gstregistry.h:
1047 * docs/gst/gstreamer-sections.txt:
1048 Add new API to check plugin feature version requirements.
1050 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1051 Some basic tests for the above.
1053 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1055 * gst/gststructure.c: (gst_structure_to_string):
1056 guard against NULL printf - happens when for example
1057 a message structure with GstClock gets serialized
1059 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1061 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1062 Fix presumable copy'n'pasto.
1064 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1066 * gst/elements/gstfakesrc.h:
1067 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1068 * gst/elements/gsttypefindelement.c:
1070 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1071 I wonder if this could actually write +2GB files before
1073 2005-10-13 Andy Wingo <wingo@pobox.com>
1075 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1076 Fix Timmeke Waymans bug.
1077 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1078 string of the proper length to gst_caps_from_string. There's a
1079 potential for, before this fix, that this could cause someone
1080 connecting over the network to cause a segfault if the payload is
1083 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1085 * docs/design/draft-push-pull.txt:
1086 * docs/design/part-overview.txt:
1087 * docs/random/TODO-pre-0.9:
1088 * docs/random/old/ChangeLog.gstreamer:
1089 * gst/base/gstpushsrc.c:
1093 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1095 * gst/glib-compat.c: (gst_flags_get_first_value):
1096 * gst/glib-compat.h:
1097 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1098 (gst_value_compare_double), (gst_value_serialize_flags):
1099 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1102 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1105 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1107 * tools/gst-launch.c: (event_loop):
1108 print out clock nicely
1110 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1112 * docs/gst/gstreamer-sections.txt:
1114 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1115 (gst_tag_list_get_date_index):
1116 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1117 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1119 2005-10-13 Julien MOUTTE <julien@moutte.net>
1121 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1122 (gst_collectpads_chain):
1123 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1126 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1128 * docs/gst/gstreamer-sections.txt:
1131 * tools/gst-inspect.c: (main):
1132 * tools/gst-launch.c: (main):
1133 * tools/gst-run.c: (main):
1134 * tools/gst-xmlinspect.c: (main):
1135 fix GOption context leaks
1138 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1142 * win32/common/config.h:
1144 * win32/vs6/grammar.dsp:
1145 * win32/vs6/libgstelements.dsp:
1146 * win32/vs6/libgstreamer.dsp:
1149 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1152 * gst/base/gstbasesrc.c: (gst_base_src_query):
1153 fix more guint64<->gdouble conversions
1155 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1158 add win32-update target
1159 * win32/common/gstconfig.h:
1160 * win32/common/gstenumtypes.c:
1161 * win32/common/gstenumtypes.h:
1162 * win32/common/gstversion.h:
1163 add files that visual studio can't generate
1165 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1168 add a win32-update target
1171 2005-10-12 Wim Taymans <wim@fluendo.com>
1173 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1174 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1175 * gst/gstelement.c: (gst_element_commit_state),
1176 (gst_element_set_state):
1177 Protect flags with proper lock.
1178 unref provided cached clock in dispose.
1180 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1183 * gst/gstminiobject.h:
1185 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1186 removed unused flags from miniobject
1189 2005-10-12 Wim Taymans <wim@fluendo.com>
1191 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1192 (gst_file_sink_event), (gst_file_sink_render):
1193 Flush before seeking.
1195 2005-10-12 Andy Wingo <wingo@pobox.com>
1197 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1198 always been the case.
1200 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1202 * check/gst/gstbin.c: (GST_START_TEST):
1203 * docs/gst/gstreamer-sections.txt:
1204 * gst/base/gstbasesink.c: (gst_base_sink_init):
1205 * gst/base/gstbasesrc.c: (gst_base_src_init),
1206 (gst_base_src_get_range), (gst_base_src_check_get_range),
1207 (gst_base_src_start), (gst_base_src_stop):
1208 * gst/base/gstbasesrc.h:
1209 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1210 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1211 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1215 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1217 * gst/gstelement.c: (gst_element_is_locked_state),
1218 (gst_element_set_locked_state), (gst_element_commit_state),
1219 (gst_element_set_state):
1221 * gst/gstindex.c: (gst_index_init):
1223 * gst/gstminiobject.h:
1224 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1225 (gst_object_set_parent):
1227 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1228 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1230 * gst/gstpadtemplate.h:
1231 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1232 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1233 * gst/gstpipeline.h:
1234 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1235 (gst_file_index_commit):
1236 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1237 * testsuite/pad/link.c: (gst_test_src_init),
1238 (gst_test_filter_init), (gst_test_sink_init):
1239 * testsuite/states/locked.c: (main):
1240 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1241 moved bitshift from macro to enum definition
1243 2005-10-12 Wim Taymans <wim@fluendo.com>
1245 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1246 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1247 (gst_file_sink_render):
1248 Some more debugging info.
1250 2005-10-12 Wim Taymans <wim@fluendo.com>
1252 * docs/design/part-states.txt:
1253 * tools/gst-launch.c: (main):
1255 Revert non-intentional change.
1257 2005-10-12 Wim Taymans <wim@fluendo.com>
1259 * check/gst/gstbin.c: (GST_START_TEST):
1260 * check/gst/gstelement.c: (GST_START_TEST):
1261 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1262 * check/gst/gstghostpad.c: (GST_START_TEST):
1263 * check/gst/gstpipeline.c: (GST_START_TEST):
1264 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1265 * check/states/sinks.c: (GST_START_TEST):
1266 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1267 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1268 (gst_bin_remove_func), (gst_bin_get_state_func),
1269 (gst_bin_recalc_state), (gst_bin_change_state_func),
1271 * gst/gstelement.c: (gst_element_get_state_func),
1272 (gst_element_get_state), (gst_element_abort_state),
1273 (gst_element_commit_state), (gst_element_set_state),
1274 (gst_element_change_state), (gst_element_change_state_func):
1276 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1277 (gst_pipeline_provide_clock_func):
1278 * gst/gstutils.c: (gst_element_link_pads_filtered):
1279 * tools/gst-launch.c: (main):
1280 * tools/gst-typefind.c: (main):
1281 Use GstClockTime in _get_state() instead of GTimeVal.
1282 Remove old code in gstutils.c
1284 2005-10-12 Andy Wingo <wingo@pobox.com>
1286 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1289 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1290 there is no task. Shouldn't affect any code, as nothing in our
1291 plugins checks this return value.
1292 (gst_pad_stop_task): Also take the stream lock if the pad has no
1295 2005-10-12 Wim Taymans <wim@fluendo.com>
1297 * gst/gstpad.c: (pre_activate), (post_activate),
1298 (gst_pad_activate_pull), (gst_pad_activate_push):
1299 Cleanup activation code. Reset old state if
1302 2005-10-12 Wim Taymans <wim@fluendo.com>
1304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1305 (gst_base_sink_change_state):
1306 No need to prerol after receiving EOS.
1308 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1309 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1310 * gst/elements/gstidentity.c: (gst_identity_event):
1311 Print events more verbosely.
1313 2005-10-12 Wim Taymans <wim@fluendo.com>
1315 * check/Makefile.am:
1316 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1317 * check/states/sinks2.c:
1318 Moved sinks2 testcode in sinks check.
1320 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1321 (gst_bin_remove_func), (gst_bin_recalc_state),
1322 (gst_bin_change_state_func), (bin_bus_handler):
1323 Fix potential race condition when _get_state() iterated over an
1324 ASYNC element right before it posted a state completion.
1327 Do proper cast here.
1329 * gst/gstevent.c: (gst_event_new_newsegment),
1330 (gst_event_parse_newsegment):
1331 A playback rate of 0.0 is not allowed.
1333 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1335 * win32/common/config.h:
1336 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1337 (_trewinddir), (_ttelldir), (_tseekdir):
1338 * win32/common/dirent.h:
1339 * win32/common/gtchar.h:
1340 * win32/common/libgstbase.def:
1341 * win32/common/libgstreamer.def:
1342 * win32/vs6/grammar.dsp:
1343 * win32/vs6/gst_inspect.dsp:
1344 * win32/vs6/gst_launch.dsp:
1345 * win32/vs6/gstreamer.dsw:
1346 * win32/vs6/libgstbase.dsp:
1347 * win32/vs6/libgstelements.dsp:
1348 * win32/vs6/libgstreamer.dsp:
1349 Visual Studio 6 project files, and a new common directory.
1352 2005-10-11 Wim Taymans <wim@fluendo.com>
1354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1355 (gst_base_sink_do_sync), (gst_base_sink_query),
1356 (gst_base_sink_change_state):
1357 * gst/base/gstbasesink.h:
1358 Correctly parse newsegment info.
1360 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1362 * gst/gst.c: (init_post):
1363 split plugin paths correctly
1365 2005-10-11 Wim Taymans <wim@fluendo.com>
1367 * check/gst/gstevent.c: (GST_START_TEST):
1368 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1369 (gst_base_sink_change_state):
1370 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1371 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1372 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1373 * gst/gstevent.c: (gst_event_new_newsegment),
1374 (gst_event_parse_newsegment):
1376 Added extra flag to newsegment for future API freeze.
1377 Updated check and base elements.
1379 2005-10-11 Julien MOUTTE <julien@moutte.net>
1381 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1382 (gst_collectpads_add_pad), (gst_collectpads_pop),
1383 (gst_collectpads_event), (gst_collectpads_chain):
1384 * gst/base/gstcollectpads.h: Handle EOS correctly.
1386 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1388 * tools/gst-launch.c: (main):
1389 more null protecting
1391 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1393 * gst/gst-i18n-lib.h:
1394 check for ENABLE_NLS, not GETTEXT_PACKAGE
1395 * gst/gstregistry.c: (gst_registry_add_plugin),
1396 (gst_registry_scan_path_level),
1397 (_gst_registry_remove_cache_plugins):
1398 protect possibly NULL strings
1399 * gst/parse/types.h:
1400 config.h already included before
1401 * tools/gst-inspect.c: (main):
1402 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1403 check for ENABLE_NLS, not GETTEXT_PACKAGE
1404 * tools/gst-launch.c: (main):
1405 check for ENABLE_NLS, not GETTEXT_PACKAGE
1407 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1410 if we don't have glib, fail before testing 2.8
1411 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1412 fix a leak, should fix plugins-base testsuite
1414 2005-10-11 Andy Wingo <wingo@pobox.com>
1416 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1417 take the mode we're going to as an arg. Go head and set the mode
1418 and flushing flags now, so that if the activate function starts a
1419 thread all the flags will be in the right state.
1420 (post_activate): Renamed also. Just handle making sure streaming
1421 finishes for the deactivation case, and setting the deactivated
1423 (gst_pad_set_active): Complain loudly if deactivation fails.
1424 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1425 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1426 remove the terrible hack.
1428 2005-10-11 Wim Taymans <wim@fluendo.com>
1430 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1431 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1432 (gst_bin_recalc_state), (gst_bin_change_state_func),
1433 (gst_bin_dispose), (bin_bus_handler):
1435 Prepare to make current EOS message queue more generic.
1438 * gst/gstevent.c: (gst_event_new_newsegment),
1439 (gst_event_parse_newsegment):
1441 Rename base to stream_time.
1446 2005-10-11 Wim Taymans <wim@fluendo.com>
1448 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1449 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1450 (gst_bin_change_state_func), (bin_bus_handler):
1452 Work on proper clock selection.
1454 2005-10-11 Edward Hervey <edward@fluendo.com>
1456 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1457 * libs/gst/controller/gstcontroller.h:
1458 Added GList* version of _remove_properties() in order to be able to wrap
1461 2005-10-11 Wim Taymans <wim@fluendo.com>
1463 * docs/design/part-states.txt:
1466 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1467 (gst_bin_change_state_func), (bin_bus_handler):
1468 Doc updates. Don't distribute the same clock over and over again.
1474 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1475 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1476 (gst_pad_send_event):
1478 Make probe emission threadsafe again.
1479 Register quarks and move _get_name() from utils.
1482 * gst/gstpipeline.c: (gst_pipeline_class_init),
1483 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1484 Only redistribute the clock of it changed.
1486 * gst/gstsystemclock.h:
1491 Moved the _flow_get_name() to GstPad.
1493 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1495 * check/gst-libs/gdp.c: (GST_START_TEST):
1496 * check/gst/gstcaps.c: (GST_START_TEST):
1497 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1498 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1499 (gst_dp_packet_from_caps):
1500 fix more valgrind warnings before turning up the heat
1502 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1504 * gst/parse/grammar.y:
1505 some cleanup before the hacking
1507 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1509 * gst/base/gstbasesrc.c: (gst_base_src_query):
1511 * gst/gstutils.c: (gst_guint64_to_gdouble),
1512 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1514 externalize, basesrc uses it
1515 obviously the implementation needs testing
1517 2005-10-10 Wim Taymans <wim@fluendo.com>
1519 * tests/sched/Makefile.am:
1520 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1521 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1523 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1525 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1526 apparently converting from guint64 to double is not implemented
1529 2005-10-10 Wim Taymans <wim@fluendo.com>
1531 * check/Makefile.am:
1532 * check/generic/states.c: (GST_START_TEST):
1533 * check/gst/gstbin.c: (GST_START_TEST):
1534 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1535 * check/states/sinks.c: (GST_START_TEST):
1536 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1538 Check fixes, use API as stated in design docs, remove hacks.
1540 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1541 (gst_base_sink_change_state):
1542 Catch stopping our task while we're shutting down.
1544 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1545 (gst_bin_remove_func), (gst_bin_get_state_func),
1546 (gst_bin_recalc_state), (gst_bin_change_state_func),
1549 * gst/gstelement.c: (gst_element_init),
1550 (gst_element_get_state_func), (gst_element_abort_state),
1551 (gst_element_commit_state), (gst_element_lost_state),
1552 (gst_element_set_state), (gst_element_change_state),
1553 (gst_element_change_state_func):
1555 New state change algorithm (see #318116)
1557 * gst/gstpipeline.c: (gst_pipeline_class_init),
1558 (gst_pipeline_init), (gst_pipeline_set_property),
1559 (gst_pipeline_get_property), (do_pipeline_seek),
1560 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1561 * gst/gstpipeline.h:
1562 Remove crude state change hacks.
1567 * tools/gst-launch.c: (main):
1568 Fixes for state change. Needs some more work to fully use the
1571 2005-10-10 Andy Wingo <wingo@pobox.com>
1573 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1575 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1576 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1579 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1581 * gst/gstiterator.c: (gst_iterator_new):
1582 Fix my previous commit: GTypes passed to gst_iterator_new()
1583 can be fundamental types.
1585 2005-10-10 Wim Taymans <wim@fluendo.com>
1587 * gst/gstelement.c: (gst_element_iterate_pad_list),
1588 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1589 (gst_element_iterate_sink_pads):
1590 Use src/sink pads lists for the respective iterators instead
1593 2005-10-10 Andy Wingo <wingo@pobox.com>
1595 Merged in popt removal + GOption addition patch from Ronald, bug
1598 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1599 GstElement macros around, remove popt-related symbols, add goption
1602 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1604 * docs/gst/Makefile.am:
1605 * docs/libs/Makefile.am: No POPT_CFLAGS.
1607 * examples/manual/Makefile.am:
1608 * docs/manual/basics-init.xml: Doc updates with an example.
1610 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1611 (gst_init), (parse_one_option), (parse_goption_arg):
1612 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1613 bit of hand merging and debugging to get the GOption stuff working
1616 * tests/Makefile.am:
1617 * tools/Makefile.am:
1618 * tools/gst-inspect.c: (main):
1619 * tools/gst-launch.c: (main):
1620 * tools/gst-run.c: (main):
1621 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1623 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1625 * gst/gstiterator.c: (gst_iterator_new):
1626 Add assertions to make sure passed GType is likely to really
1627 be a GType (as the compiler won't catch it if the size and
1628 GType arguments get mixed up, see #318447).
1630 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1632 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1634 * gst/gstbin.c: (gst_bin_iterate_sorted):
1635 Pass GType and size arguments to gst_iterator_new() in the right
1636 order (maybe we should make _new() take the GType as first argument
1637 just like _new_list()?) (#318447).
1640 2005-10-10 Wim Taymans <wim@fluendo.com>
1642 * gst/gstelement.c: (gst_element_finalize):
1643 And free the GStaticRecMutex too
1645 2005-10-10 Andy Wingo <wingo@pobox.com>
1647 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1648 Allocate and free the mutex properly.
1650 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1652 (GstElement): The state_lock is now recursive. Rebuild your
1653 plugins, suckers. Old macros adapted.
1655 * docs/gst/gstreamer-sections.txt: Doc updates.
1658 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1659 (g_static_rec_cond_wait): Ported from state changes patch, while
1660 we wait on bug #317802 to be solved in a well-distributed GLib.
1662 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1663 gst_element_change_state, variable name changes.
1664 (gst_element_change_state): Split out of gst_element_set_state in
1665 preparation for the state change merge. Doesn't pay attention to
1666 the 'transition' argument.
1667 (gst_element_set_state): Updates, hopefully purely cosmetic.
1668 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1670 (gst_element_get_state_func): Renamed from get_state, cosmetic
1673 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1675 * gst/elements/gstelements.c:
1676 * win32/GStreamer.vcproj:
1678 * win32/dirent.c: (_tseekdir):
1679 * win32/gst-inspect.vcproj:
1680 * win32/gst-launch.vcproj:
1681 * win32/gstconfig.h:
1682 * win32/gstelements.vcproj:
1683 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1684 * win32/gstreamer.def:
1686 updates for the win32 build (patch from Sebastien Moutte)
1688 2005-10-10 Andy Wingo <wingo@pobox.com>
1690 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1691 gst_bin_get_state, cleaned up (but no logic changes).
1692 (bin_element_is_sink): Comment updates.
1693 (sink_iterator_filter): Remove needless cast.
1694 (gst_bin_iterate_sinks): Doc update.
1695 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1696 cleaned up (but no logic changes).
1698 * check/states/sinks.c (test_src_sink): Cleanups from the state
1700 (test_livesrc_sink): Sync on the state.
1702 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1703 the state change patch.
1705 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1708 * check/gst/gstbin.c: Merge in some style fixes and additional
1709 checks from Wim's state change patch.
1711 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1713 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1714 (gst_type_find_helper):
1715 Check whether we have the requested data already in our list of
1716 cached buffers before pulling a new buffer; also make the buffer
1717 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1719 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1724 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1725 don't use long long, it's not portable. Replacing with
1726 gint64 seems to work; let's hope no skeletons fall out of the closet.
1728 2005-10-10 Andy Wingo <wingo@pobox.com>
1730 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1732 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1734 * docs/gst/gstreamer-sections.txt:
1739 * gst/gstmessage.c: (gst_message_parse_state_changed):
1742 more docs, fix compilation
1744 2005-10-09 Philippe Khalaf <burger@speedy.org>
1746 Fixed a few forgotten variables on previous commit
1748 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1750 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1751 Fix evil typefind crasher: getrange() might return a short
1752 buffer at the end of a file, but gst_type_find_peek() must
1753 either return the full data as requested or NULL, but
1754 never a short buffer.
1756 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1758 * gst/gstmessage.c: (gst_message_new_state_changed),
1759 (gst_message_parse_state_changed):
1761 don't use "new", it's a C++ keyword
1763 2005-10-08 Wim Taymans <wim@fluendo.com>
1765 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1766 * gst/gstelement.c: (gst_element_post_message):
1767 * gst/gstpipeline.c: (gst_pipeline_change_state):
1768 Small docs and debug updates.
1770 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1772 * docs/gst/gstreamer-sections.txt:
1773 * gst/gstelementfactory.c:
1778 2005-10-08 Wim Taymans <wim@fluendo.com>
1780 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1781 (gst_bin_dispose), (bin_bus_handler):
1782 Fix typos, add comments.
1783 Clear EOS list when going to PAUSED from any direction and do it
1784 in a threadsafe way.
1785 Get base time in a threadsafe way too.
1786 Fix confusing debug in the change_state function.
1787 Various other small cleanups.
1789 * gst/gstelement.c: (gst_element_post_message):
1790 Fix very verbose bus posting code.
1792 * gst/gstpipeline.c: (gst_pipeline_class_init),
1793 (gst_pipeline_set_property), (gst_pipeline_get_property),
1794 (gst_pipeline_change_state):
1795 Small ARG_ -> PROP_ cleanup
1797 2005-10-08 Wim Taymans <wim@fluendo.com>
1799 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1800 Do a less CPU demanding EOS check because we can.
1802 2005-10-08 Wim Taymans <wim@fluendo.com>
1804 * libs/gst/dataprotocol/dataprotocol.c:
1805 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1806 (gst_dp_packet_from_event):
1807 * libs/gst/dataprotocol/dataprotocol.h:
1808 * libs/gst/dataprotocol/dp-private.h:
1809 It's about time we bump the version number.
1810 Since event types don't fit in the guint8 anymore describing
1811 the payload type, make payload type 16 bits wide.
1813 2005-10-08 Wim Taymans <wim@fluendo.com>
1815 * docs/design/part-TODO.txt:
1816 * docs/design/part-clocks.txt:
1817 * docs/design/part-events.txt:
1818 * docs/design/part-gstbin.txt:
1819 * docs/design/part-gstelement.txt:
1820 * docs/design/part-gstpipeline.txt:
1821 * docs/design/part-live-source.txt:
1822 * docs/design/part-messages.txt:
1823 * docs/design/part-overview.txt:
1824 * docs/design/part-states.txt:
1827 2005-10-08 Wim Taymans <wim@fluendo.com>
1831 Fix event quark registration.
1832 Add some space between events so we can insert them in the
1835 2005-10-08 Wim Taymans <wim@fluendo.com>
1837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1838 (gst_base_sink_handle_buffer):
1845 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1846 (gst_queue_set_property), (gst_queue_get_property):
1848 Remove old unused properties.
1850 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1851 * docs/gst/gstreamer-sections.txt:
1854 * gst/gstminiobject.c:
1855 * gst/gstminiobject.h:
1859 lots of new docs and doc fixes
1861 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1863 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1865 * gst/gstregistry.c: (gst_registry_lookup_locked),
1866 (gst_registry_scan_path_level):
1867 * gst/gstregistryxml.c: (load_plugin):
1868 Only ever load one plugin for a given plugin basename.
1869 This ensures correct overriding of GST_PLUGIN_PATH over
1870 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1871 system installed plugins.
1873 2005-10-08 Wim Taymans <wim@fluendo.com>
1875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1876 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1877 Prepare for doing QOS.
1879 2005-10-08 Wim Taymans <wim@fluendo.com>
1881 * check/gst/gstbin.c: (GST_START_TEST):
1882 * check/pipelines/cleanup.c: (GST_START_TEST):
1883 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1884 Allow new clock message too.
1886 2005-10-08 Wim Taymans <wim@fluendo.com>
1888 * gst/gstmessage.c: (gst_message_new_error),
1889 (gst_message_new_warning), (gst_message_new_tag),
1890 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1891 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1892 (gst_message_new_segment_start), (gst_message_new_segment_done),
1893 (gst_message_parse_state_changed),
1894 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1895 (gst_message_parse_new_clock):
1897 Also carry the clock in question.
1899 2005-10-08 Wim Taymans <wim@fluendo.com>
1901 * gst/gstmessage.c: (gst_message_new_custom),
1902 (gst_message_new_eos), (gst_message_new_error),
1903 (gst_message_new_warning), (gst_message_new_tag),
1904 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1905 (gst_message_new_new_clock), (gst_message_new_segment_start),
1906 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1907 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1910 Added clock related messages.
1912 * gst/gstpipeline.c: (gst_pipeline_change_state):
1913 Post message when the clock changed.
1915 * tools/gst-launch.c: (event_loop):
1918 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1920 * tools/gst-inspect.c: (print_element_properties_info):
1921 Can't pass NULL strings to g_print() on windows.
1923 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1926 * docs/gst/Makefile.am:
1927 * docs/gst/gstreamer-docs.sgml:
1928 * docs/gst/running.xml:
1929 * docs/version.entities.in:
1930 add a chapter on running GStreamer.
1931 document GST_DEBUG and GST_PLUGIN* env vars
1933 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1938 remove PLUGINS_BUILDDIR stuff
1939 * gst/gst.c: (init_post):
1940 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1942 remove, it was condescending and not needed
1944 2005-10-08 Wim Taymans <wim@fluendo.com>
1946 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1947 (gst_base_sink_handle_object), (gst_base_sink_event),
1948 (gst_base_sink_wait), (gst_base_sink_handle_event),
1949 (gst_base_sink_change_state):
1950 * gst/base/gstbasesink.h:
1951 Repost EOS message while going to PLAYING if still EOS.
1952 Make sure that when receiving a FLUSH_START we don't attempt
1953 to sync on the clock anymore.
1955 2005-10-08 Wim Taymans <wim@fluendo.com>
1957 * tools/gst-launch.c: (event_loop):
1958 Better message printout.
1960 2005-10-08 Wim Taymans <wim@fluendo.com>
1962 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1963 (gst_bin_child_proxy_get_children_count):
1964 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1965 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1966 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1967 (gst_child_proxy_set_valist):
1968 * gst/parse/grammar.y:
1969 Make ChildProxy threadsafe and fix mem leaks.
1971 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1973 * gst/gst.c: (init_post):
1974 debug the GST_PLUGIN_ env vars
1976 2005-10-08 Wim Taymans <wim@fluendo.com>
1978 * check/gst/gstbin.c: (GST_START_TEST):
1979 * check/gst/gstmessage.c: (GST_START_TEST):
1980 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1981 * gst/gstelement.c: (gst_element_commit_state),
1982 (gst_element_lost_state):
1983 * gst/gstmessage.c: (gst_message_new_state_changed),
1984 (gst_message_parse_state_changed):
1986 * tools/gst-launch.c: (event_loop):
1987 Added extra field to STATE_CHANGE message with the pending
1988 state, which will be different from the new state soon.
1990 2005-10-08 Wim Taymans <wim@fluendo.com>
1992 * gst/gstbus.c: (gst_bus_pop):
1994 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1995 Small cleanups and doc updates.
1997 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1999 * gst/gst.c: (init_pre):
2000 * gst/gstbin.c: (gst_bin_add_func):
2001 log distributing clocks and base time
2002 * gst/gstregistry.c: (gst_registry_add_plugin),
2003 (gst_registry_scan_path_level), (gst_registry_scan_path):
2004 clean up the debugging output a little
2005 * gst/gstutils.c: (gst_element_state_get_name):
2006 warn about a memleak (I've actually seen this be used, though
2007 it was probably a bug)
2009 2005-10-07 Wim Taymans <wim@fluendo.com>
2011 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2012 (gst_base_src_init), (gst_base_src_default_newsegment),
2013 (gst_base_src_newsegment), (gst_base_src_do_seek),
2014 (gst_base_src_loop), (gst_base_src_start):
2015 * gst/base/gstbasesrc.h:
2016 Make the newsegment event customizable by subclasses.
2018 2005-10-07 Wim Taymans <wim@fluendo.com>
2020 * gst/gstevent.c: (gst_event_new_buffersize),
2021 (gst_event_parse_buffersize):
2023 New event for future idea.
2025 2005-10-07 Andy Wingo <wingo@pobox.com>
2027 * gst/gstelement.c (gst_element_post_message): Doc update.
2029 * docs/gst/gstreamer-sections.txt: Update.
2031 * gst/gstmessage.c (gst_message_new_application): Made into a
2032 function like honest API calls.
2033 (gst_message_new_element): New message type.
2035 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2037 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2038 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2041 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2042 NO_PREROLL from gst_element_change_state to fall through.
2044 2005-10-07 Wim Taymans <wim@fluendo.com>
2046 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2047 (gst_ghost_pad_do_activate_push):
2048 Activating a ghostpad with no internal pad in push mode
2051 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2054 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2055 Fixes compilation on Windows.
2057 2005-10-07 Michael Smith <msmith@fluendo.com>
2059 * tools/gst-inspect.c:
2060 Print out feature and plugin count at the end when printing out
2063 2005-10-04 Michael Smith <msmith@fluendo.com>
2065 * gst/gsterror.c: (_gst_stream_errors_init):
2066 Add another error string used in a few existing plugins.
2069 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2070 * tools/gst-inspect.c: (print_element_info):
2071 When a feature disappears from a plugin (and the feature exists in
2072 the cached registry file), things went horribly wrong. This isn't a
2073 complete fix, we should actually be removing the 'missing' features
2074 from the features list when we load the actual plugin. That's not
2077 2005-10-04 Johan Dahlin <johan@gnome.org>
2079 * check/gst/gstiterator.c: (GST_START_TEST):
2080 * gst/gstbin.c: (gst_bin_iterate_elements),
2081 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2082 * gst/gstelement.c: (gst_element_iterate_pads):
2083 * gst/gstformat.c: (gst_format_iterate_definitions):
2084 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2085 (gst_iterator_new_list), (gst_iterator_filter):
2086 * gst/gstiterator.h:
2087 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2088 Add a GType to GstIterator, update callsites and tests.
2090 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2092 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2093 give events a chance to be handled by event probes when the pad
2096 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2098 * gst/gstevent.c: (gst_event_type_get_name),
2099 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2101 add string representations for event types
2103 2005-10-06 Wim Taymans <wim@fluendo.com>
2105 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2106 Don't use NULL pointers.
2108 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2110 * gst/gst_private.h:
2114 * gst/gstpluginfeature.c:
2115 widen the debug category in output to fit the biggest one we have
2116 add a bus category and use it
2117 play with the colors
2118 fix up some categories
2120 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2122 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2123 add push activation of sink ghost pads.
2124 Andye, please verify
2126 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2128 * gst/gstutils.c: (gst_element_link_pads):
2129 fix a bug in the case where neither element has a pad
2130 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2131 add a test for that case
2133 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2135 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2136 emit have-data before checking for peers. This allows
2137 for probe handlers to connect elements. This helps autopluggers.
2138 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2140 add six checks, linked/unlinked with no/true/false probe
2142 2005-10-04 Wim Taymans <wim@fluendo.com>
2144 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2145 (gst_fake_sink_event), (gst_fake_sink_preroll),
2146 (gst_fake_sink_render), (gst_fake_sink_change_state):
2147 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2148 (gst_fake_src_get_property), (gst_fake_src_create),
2149 (gst_fake_src_stop):
2150 * gst/elements/gstidentity.c: (gst_identity_stop):
2151 Protect last_message with lock.
2153 2005-10-04 Edward Hervey <edward@fluendo.com>
2156 Added precision in the comments for GST_FORMAT_DEFAULT
2158 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2160 * tools/gst-launch.c: (main):
2161 Don't try to run erroneous pipelines.
2163 2005-10-04 Julien MOUTTE <julien@moutte.net>
2165 * gst/gstbus.c: We don't need this header.
2167 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2172 === release 0.9.3 ===
2174 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2178 Releasing 0.9.3, "Unregistered"
2180 2005-10-03 Andy Wingo <wingo@pobox.com>
2182 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2183 whereby calling a pad's activatepush() function can start a thread
2184 that starts to push or pull before the pad gets the FLUSHING flag
2185 unset. Hack around it by holding the stream lock until the flag is
2186 set. Need to replace this with a proper solution. Together with
2187 the ghost pad fixes, this fixes mp3 playing/tagreading.
2189 * docs/design/part-gstghostpad.txt: Add a note about activation of
2190 proxy pads outside of ghost pads.
2192 * gst/gstghostpad.c: Implement the ghost pad activation design.
2194 2005-10-02 Andy Wingo <wingo@pobox.com>
2196 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2197 It is volatile, after all.
2199 * docs/design/part-gstghostpad.txt: Flesh out activation with
2202 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2205 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2208 Fix (unused) AM_CONDITIONAL tests.
2210 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2212 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2214 * gst/gstutils.c: (gst_pad_query_convert):
2215 Add assertion that makes sure src_val is >=0, just like
2216 gst_query_new_convert() has. (#315895)
2218 2005-09-30 Edward Hervey <edward@fluendo.com>
2220 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2221 Let's not iterate pads we're not interested in, it avoids getting
2222 sky-high refcounts on sinkpad.
2224 2005-09-30 Wim Taymans <wim@fluendo.com>
2226 * gst/gstelement.c: (gst_element_set_state),
2227 (gst_element_change_state):
2228 Small tweak, element in ASYNC remains ASYNC.
2230 2005-09-30 Wim Taymans <wim@fluendo.com>
2232 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2233 Only error is an error.
2235 * gst/gstbin.c: (gst_bin_change_state):
2238 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2239 Also call pad_block in pad alloc.
2241 * gst/gstutils.c: (gst_flow_get_name):
2244 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2246 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2247 (gst_base_src_get_range):
2248 Fix documentation typos. Add some more debug info.
2250 2005-09-29 David Schleef <ds@schleef.org>
2252 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2253 more end-user friendly.
2254 * tools/gst-inspect.c: (main): Check if command-line argument is
2255 a file and attempt to load that file as a plugin.
2257 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2259 * check/gst/gstbin.c:
2260 * check/states/sinks.c:
2261 fix tests for the new warning
2262 * check/gst/gstpipeline.c:
2263 add a test for pipeline and bus interaction
2265 elements should be NULL if they get disposed; add a warning if not
2267 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2270 for 2.6 refcounting, make debug log more correct by printing
2271 the actual refcounts at the time of swap (Wim)
2273 2005-09-29 Andy Wingo <wingo@pobox.com>
2275 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2276 removes signal watches previously added via
2277 gst_bus_add_signal_watch.
2278 (gst_bus_add_signal_watch): Don't return the source id, just store
2279 it on the bus if there wasn't an id already.
2281 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2282 add_signal_watch and remove_signal_watch.
2284 2005-09-29 Edward Hervey <edward@fluendo.com>
2286 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2287 Better if we actually iterate the list :)
2289 2005-09-29 Wim Taymans <wim@fluendo.com>
2291 * check/gst/gstbin.c: (GST_START_TEST):
2292 Change for new bus API.
2294 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2295 (send_messages), (GST_START_TEST), (gstbus_suite):
2296 Change for new bus signal API.
2298 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2299 (gst_bus_source_prepare), (gst_bus_source_check),
2300 (gst_bus_create_watch), (gst_bus_add_watch_full),
2301 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2302 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2304 Remove support for multiple GSources operating on different
2305 message types as it is too complex and unneeded when using
2307 Added support for receiving signals from the bus.
2309 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2311 * docs/libs/tmpl/gstdataprotocol.sgml:
2312 * docs/manual/advanced-dataaccess.xml:
2313 * gst/elements/gstcapsfilter.c:
2315 rename filter-caps to caps property
2317 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2319 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2320 More robust fraction string parsing.
2322 * docs/pwg/appendix-porting.xml:
2323 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2325 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2327 * gst/gstcaps.c: (gst_caps_do_simplify):
2328 Thou shalt not free a structure and then continue using it
2329 in the next loop iteration.
2331 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2333 Add test case for caps simplification.
2335 2005-09-29 Wim Taymans <wim@fluendo.com>
2337 * check/gst/gstbin.c: (GST_START_TEST):
2340 2005-09-29 Wim Taymans <wim@fluendo.com>
2342 * check/gst/gstbin.c: (GST_START_TEST):
2345 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2346 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2347 (find_element), (gst_bin_sort_iterator_next),
2348 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2349 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2350 (gst_bin_change_state), (gst_bin_dispose):
2351 A bin does not have a bus, it gets the bus from the parent.
2353 * gst/gstelement.c: (gst_element_requires_clock),
2354 (gst_element_provides_clock), (gst_element_is_indexable),
2355 (gst_element_is_locked_state), (gst_element_change_state),
2356 (gst_element_set_bus_func):
2359 * gst/gstpipeline.c: (gst_pipeline_class_init),
2360 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2361 The pipeline provides a bus.
2363 2005-09-28 Johan Dahlin <johan@gnome.org>
2365 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2366 gst_structure_get_enum instead of gst_structure_get_int
2368 * gst/gststructure.c (gst_structure_get_enum): Impl.
2370 * gst/gststructure.h (gst_structure_get_enum): Add
2372 * docs/gst/gstreamer-sections.txt: Ditto
2374 * gst/gstmessage.c (gst_message_new_state_changed): Use
2375 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2376 which does introspection.
2377 Reviewed by Christian Schaller
2379 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2381 * gst/gstinfo.c: (gst_debug_log_default):
2382 don't do dummy g_strdup()s
2383 * libs/gst/controller/gstcontroller.c:
2384 (on_object_controlled_property_changed),
2385 (gst_controlled_property_new), (gst_controller_new_valist),
2386 (gst_controller_new_list),
2387 (gst_controller_remove_properties_valist), (gst_controller_set),
2388 (gst_controller_get), (gst_controller_sync_values),
2389 (gst_controller_get_value_array), (_gst_controller_class_init),
2390 (gst_controller_get_type):
2391 * libs/gst/controller/gstcontroller.h:
2392 * libs/gst/controller/gstinterpolation.c:
2393 (gst_controlled_property_find_timed_value_node):
2394 convert // to /**/ comments
2396 2005-09-28 Wim Taymans <wim@fluendo.com>
2398 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2399 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2400 (gst_bus_sync_signal_handler):
2402 Added async-message and sync-message signals to the bus.
2403 Added helper BusFunc to emit signals for all posted messages.
2405 * gst/gstmessage.c: (gst_message_type_get_name),
2406 (gst_message_type_to_quark), (gst_message_get_type):
2408 Register quarks for message names.
2410 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2412 * docs/libs/gstreamer-libs-sections.txt:
2413 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2414 (gst_controller_new_list):
2415 * libs/gst/controller/gstcontroller.h:
2416 added another constructor for language bindings
2418 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2420 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2424 * gst/gstinfo.c: (_gst_debug_init):
2425 slightly more readable color for refcount debugging
2427 2005-09-28 Wim Taymans <wim@fluendo.com>
2429 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2430 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2431 (find_element), (gst_bin_sort_iterator_next),
2432 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2433 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2434 (gst_bin_change_state), (gst_bin_dispose):
2435 Small doc fixes. get_clock -> provide_clock.
2437 * gst/gstelement.c: (gst_element_class_init),
2438 (gst_element_provides_clock), (gst_element_provide_clock),
2439 (gst_element_get_clock), (gst_element_commit_state),
2440 (gst_element_lost_state):
2442 Make get/set_clock() symetric. Add provide_clock vmethod since
2443 that is actually what this function does.
2445 * gst/gstpipeline.c: (gst_pipeline_class_init),
2446 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2447 (gst_pipeline_get_clock):
2448 get_clock -> provide_clock.
2450 2005-09-28 Andy Wingo <wingo@pobox.com>
2452 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2453 lieu of real docs...
2455 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2457 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2459 * gst/elements/gstcapsfilter.c:
2460 * gst/elements/gstfakesink.c:
2461 * gst/elements/gstfakesrc.c:
2462 * gst/elements/gstfdsink.c:
2463 * gst/elements/gstfdsrc.c:
2464 * gst/elements/gstfilesink.c:
2465 * gst/elements/gstfilesrc.c:
2466 * gst/elements/gstidentity.c:
2467 * gst/elements/gsttee.c:
2468 * gst/elements/gsttypefindelement.c:
2469 Make element details static.
2471 2005-09-28 Wim Taymans <wim@fluendo.com>
2473 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2474 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2475 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2476 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2477 (gst_bin_change_state), (gst_bin_dispose):
2478 Some documentation updates.
2479 Clean up dispose handlers.
2481 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2482 * gst/gstpad.c: (gst_pad_dispose):
2483 Clean up dispose handler.
2485 * gst/gstpipeline.c: (gst_pipeline_change_state):
2486 Removed spurious UNLOCK.
2488 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2490 * docs/gst/gstreamer-sections.txt:
2491 * gst/base/gstbasesrc.h:
2496 * gst/gstpipeline.c:
2497 * gst/gstpipeline.h:
2500 added two new functions to the docs
2501 documents all undocumented GstXXXFlags
2502 completed some incomplete docs
2504 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2506 * gst/gstbin.c: (gst_bin_dispose):
2507 * gst/gstelement.c: (gst_element_dispose):
2508 remove now useless and leaky resurrection code in dispose
2509 * gst/base/gstbasesrc.c: (gst_base_src_init):
2510 * gst/gstelementfactory.c: (gst_element_factory_create):
2511 * gst/gstobject.c: (gst_object_set_parent):
2514 2005-09-27 Wim Taymans <wim@fluendo.com>
2516 * docs/design/part-TODO.txt:
2519 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2520 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2521 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2522 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2523 (gst_bin_change_state):
2525 Remove element variable, we keep element info in the iterator now.
2527 2005-09-27 Andy Wingo <wingo@pobox.com>
2529 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2532 2005-09-27 Wim Taymans <wim@fluendo.com>
2534 * check/gst/gstbin.c: (GST_START_TEST):
2535 Enable check that works now.
2537 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2538 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2539 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2540 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2541 (gst_bin_change_state):
2543 Redid the state change algorithm using a topological sort algo.
2544 Handles all cases correctly.
2545 Exposed iterator for state change order.
2548 Temp storage for state changes. Need to get rid of this soon.
2550 2005-09-27 Wim Taymans <wim@fluendo.com>
2552 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2553 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2554 (link_fold_func), (gst_pad_proxy_setcaps):
2555 Leak fixes, the fold functions need to unref the passed object and
2556 _get_parent_*() returns ref to parent.
2558 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2560 * check/gst/gstbuffer.c: (test_make_writable):
2561 Plug leak in test case and fix 'make check-valgrind'
2563 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2565 * gst/gstbuffer.c: (gst_subbuffer_init):
2566 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2567 works correctly in all circumstances (we could have just copied
2568 the parent buffer's readonly flag, but conceptually it seems
2569 cleaner to mark all subbuffers as read-only). (based on patch
2570 by Alessandro Decina, #314710).
2572 * check/gst/gstbuffer.c: (create_read_only_buffer),
2573 (test_make_writable), (test_subbuffer_make_writable),
2575 Add some tests for gst_buffer_make_writable().
2577 2005-09-27 Wim Taymans <wim@fluendo.com>
2579 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2580 use gst_object_has_ancestor().
2582 * gst/gstobject.c: (gst_object_has_ancestor):
2584 gst_object_has_ancestor() copied from gstbin.c as it is a
2587 * tests/instantiate/create.c: (create_all_elements):
2588 * tests/lat.c: (handoff_src), (handoff_sink):
2589 * tests/sched/runxml.c: (main):
2590 * tests/seeking/seeking1.c: (main):
2591 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2593 Fix compilation of some tests.
2595 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2598 Remove comment. GST_TYPE_G_ERROR is here to stay,
2599 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2602 2005-09-26 Wim Taymans <wim@fluendo.com>
2604 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2605 Added check that shows error in state change order.
2607 2005-09-26 Wim Taymans <wim@fluendo.com>
2609 * gst/gstbin.c: (gst_bin_change_state):
2610 Make state change function use 3 queues again, we were
2611 adding elements in the wrong order.
2613 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2616 * gst/gstpad.c: (gst_pad_dispose):
2617 Added some debug info first.
2619 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2621 * docs/design/draft-push-pull.txt:
2622 * docs/design/part-events.txt:
2623 * docs/design/part-overview.txt:
2624 * docs/design/part-scheduling.txt:
2625 Replace all _pull_region() with _pull_range()
2627 2005-09-26 Andy Wingo <wingo@pobox.com>
2629 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2631 * check/gst-libs/controller.c: Update for controller api change.
2634 * tests/Makefile.am:
2635 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2636 over by GLib bug 118439.
2638 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2639 routines to a function.
2641 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2643 * libs/gst/controller/gsthelper.c:
2644 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2645 (gst_object_sync_values): Renamed from sink_values. Ugh.
2647 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2649 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2650 Renamed from controller_key, as it is exported.
2652 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2654 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2659 * gst/gstpadtemplate.h:
2662 * gst/gstqueryutils.c:
2663 * gst/gstqueryutils.h:
2664 remove queryutils headers after moving the two used functions
2665 to gstquery. also fixes build problem for gstsiddec
2667 2005-09-26 Michael Smith <msmith@fluendo.com>
2669 * tools/gst-launch.1.in:
2670 Correct documentation in manpage of debug syntax
2672 2005-09-26 Wim Taymans <wim@fluendo.com>
2674 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2675 (gst_base_src_is_seekable), (gst_base_src_change_state):
2676 Some more debugging info.
2678 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2680 * docs/gst/gstreamer-sections.txt:
2681 * gst/base/gstbasetransform.h:
2685 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2687 * docs/gst/.cvsignore:
2688 * docs/gst/tmpl/.cvsignore:
2689 * docs/gst/tmpl/gstpipeline.sgml:
2690 * docs/gst/tmpl/gstplugin.sgml:
2691 * gst/gstpipeline.c:
2694 inlined the last two docs files
2695 removed the tmpl directory from cvs (no more conflicts here!)
2697 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2699 * docs/gst/gstreamer-sections.txt:
2700 * docs/gst/tmpl/.cvsignore:
2701 * docs/gst/tmpl/gstpad.sgml:
2702 * docs/gst/tmpl/gstpadtemplate.sgml:
2704 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2705 (gst_pad_finalize), (gst_pad_set_pad_template):
2707 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2708 (gst_pad_template_class_init), (gst_pad_template_init),
2709 (gst_pad_template_dispose), (name_is_valid),
2710 (gst_static_pad_template_get), (gst_pad_template_new),
2711 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2712 (gst_pad_template_pad_created):
2713 * gst/gstpadtemplate.h:
2714 inlined two more docs
2715 factored gstpadtemplate out of gstpad
2717 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2719 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2720 (test_children_state_change_order_semi_sink):
2721 Fix test case: we can't rely on a fixed state change order when
2722 going from READY => PAUSED because the sink might commit its
2723 new state first when the first buffer created by the source
2724 reaches the sink before the source has finished its change state.
2725 (Test case still fails at times, see #316856, comment 5 onwards)
2727 2005-09-24 Wim Taymans <wim@fluendo.com>
2729 * docs/design/part-events.txt:
2730 * docs/design/part-gstbus.txt:
2731 * docs/design/part-gstpipeline.txt:
2732 * docs/design/part-messages.txt:
2733 * docs/design/part-overview.txt:
2734 * docs/design/part-segments.txt:
2741 * gst/gstiterator.c:
2742 Various documentation updates.
2744 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2747 Well, that's embarassing. Luckily we weren't using
2748 GST_CLOCK_DIFF anywhere.
2750 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2752 * common/gtk-doc.mak:
2753 don't fail on building XML, FC4 slave shows a bunch of doc
2754 missing bits that I don't get
2756 * gst/gstpipeline.c:
2757 * gst/gststructure.c:
2760 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2762 * docs/design/part-gstbin.txt:
2763 * docs/design/part-gstbus.txt:
2765 Add blurb about how the bus goes into flushing mode and
2766 drops all messages when its bin goes from READY into NULL
2769 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2771 * docs/gst/gstreamer-sections.txt:
2772 * gst/gststructure.c: (gst_structure_get_clock_time):
2773 * gst/gststructure.h:
2774 add a method to get a GstClockTime out of a structure
2776 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2778 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2779 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2780 Added test to check state change order in bins (can still be made
2781 to fail here under heavy disk load; bails out with 'Push on pad
2782 fakesink:sink0, but it was not activated in push mode').
2784 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2785 Fix state change order when there is only a semi sink (#316856)
2787 * gst/gstbus.c: (gst_bus_class_init):
2788 Use _class_peek_parent(), not _class_ref(); fix docs to say
2789 'default main context' instead of 'mainloop' where that is
2792 * gst/gstelement.c: (gst_element_commit_state),
2793 (gst_element_set_state):
2794 Fix typos in debug messages
2796 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2799 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2800 * gst/gstpluginfeature.c:
2803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2804 change an assert into an error until it gets fixed properly
2806 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2808 * docs/gst/gstreamer-sections.txt:
2809 * docs/gst/tmpl/.cvsignore:
2810 * docs/gst/tmpl/gstelement.sgml:
2811 * docs/gst/tmpl/gstinfo.sgml:
2812 * docs/gst/tmpl/gstobject.sgml:
2817 * gst/gstobject.c: (gst_object_class_init):
2819 inlined 3 more biiiig doc files and added some missing docs on the fly
2821 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2823 * check/gst/.cvsignore:
2824 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2825 * gst/gstregistryxml.c: (load_plugin),
2826 (gst_registry_xml_save_plugin):
2827 put back source in registry. add checks for find_plugin.
2828 * testsuite/states/bin.c: (assert_state), (empty_bin),
2829 (test_adding_one_element), (main):
2830 * testsuite/states/locked.c: (main):
2831 some compile/run fixes
2833 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2835 * check/gst/gstvalue.c: (GST_START_TEST):
2836 fix leaks in the test itself
2838 2005-09-22 Wim Taymans <wim@fluendo.com>
2840 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2841 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2842 (gst_base_sink_query):
2843 Prepare for more accurate position reporting and query
2846 * gst/gstelement.c: (gst_element_send_event),
2847 (gst_element_set_state):
2850 2005-09-22 Wim Taymans <wim@fluendo.com>
2852 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2853 (gst_query_parse_segment):
2856 Add segment query for future use.
2858 2005-09-22 Wim Taymans <wim@fluendo.com>
2860 * gst/gstbin.c: (gst_bin_add_func):
2861 Some more debug info.
2863 * gst/gstelement.c: (gst_element_send_event):
2867 Don't know how flags got broken.
2872 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2874 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2875 Add simplistic test suite for GST_TYPE_DATE serialisation and
2878 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2880 * docs/gst/gstreamer-sections.txt:
2881 * gst/gststructure.c: (gst_structure_set_valist),
2882 (gst_structure_get_date):
2883 * gst/gststructure.h:
2884 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2885 (gst_date_copy), (gst_value_compare_date),
2886 (gst_value_serialize_date), (gst_value_deserialize_date),
2887 (gst_value_transform_date_string),
2888 (gst_value_transform_string_date), (_gst_value_initialize):
2890 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2891 bunch of utility functions along with a hack that checks that
2892 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2893 is required. Part of the grand scheme in #170777.
2895 2005-09-22 Andy Wingo <wingo@pobox.com>
2897 * gst/gstconfig.h.in: Psych out gtk-doc.
2899 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2901 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2903 * tools/gst-inspect.c (print_element_list): Plug some
2904 inconsequential leaks.
2906 * gst/gstregistry.c (gst_registry_get_default): Doc.
2908 * check/gst/gstplugin.c:
2909 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2910 * gst/gstelementfactory.c (gst_element_factory_create):
2911 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2914 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2915 (gst_plugin_feature_load): Doc, don't eat refs.
2917 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2918 (gst_plugin_list_free): Doc.
2919 (gst_plugin_load_file): Doc updates.
2921 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2922 accessors returning refcounted objects, return a ref.
2924 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2925 accessor for caps. IDEMPOTENCE. Oh yes.
2927 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2929 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2931 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2932 (_gst_debug_register_funcptr):
2933 Add mutex to serialise access to the hash table with
2934 the function pointer => function name string mapping;
2935 make that hash table static scope (#316809).
2937 * gst/registries/.cvsignore:
2938 Remove left-over file.
2940 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2942 * docs/pwg/appendix-porting.xml:
2943 And something about newsegment events and caps-on-buffers to
2944 the porting guide (feel free to improve).
2946 2005-09-21 Andy Wingo <wingo@pobox.com>
2948 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2949 data and event probes on the same pad.
2950 (test_buffer_probe_once): Test that removing probes from within
2951 the probe functions works.
2953 2005-09-21 Andy Wingo <wingo@pobox.com>
2955 * check/gst/gstutils.c: New file.
2956 (test_buffer_probe_n_times): A simple buffer probe test. More to
2959 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2960 have-data::buffer, not have-data.
2961 (gst_pad_add_event_probe): Likewise for have-data::event.
2962 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2963 peer' isn't quite right yet though.
2964 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2965 (gst_pad_remove_data_probe): Change to take the guint handler_id
2966 as their arg, not the function+data, which is more glib-like.
2968 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2969 the signal emission to indicate if the data is a buffer or an
2971 (gst_pad_get_type): Initialize buffer and event quarks.
2972 (gst_pad_class_init): have-data is now a detailed signal, yes it
2975 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2977 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2978 * gst/gstutils.c: (gst_util_set_value_from_string),
2979 (gst_util_set_object_arg):
2980 Don't put functional code in g_return_if_fail() or
2981 g_return_val_if_fail() statements, otherwise things will
2982 break when G_DISABLE_CHECKS is defined during compilation.
2984 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2986 * docs/gst/tmpl/.cvsignore:
2987 * docs/gst/tmpl/gstvalue.sgml:
2990 inlied another one and added some obvious docs
2992 2005-09-21 Wim Taymans <wim@fluendo.com>
2994 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2995 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2996 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2997 (gst_fdsrc_get_property), (gst_fdsrc_create):
2998 * gst/elements/gstfdsrc.h:
2999 Properly implement fdsrc. Removed signal and timeout,
3000 better implemented somewhere else.
3002 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3004 * docs/gst/tmpl/.cvsignore:
3005 * docs/gst/tmpl/gstimplementsinterface.sgml:
3006 * gst/gstinterface.c:
3009 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3011 * docs/gst/gstreamer-sections.txt:
3012 * docs/gst/tmpl/.cvsignore:
3013 * docs/gst/tmpl/gstenumtypes.sgml:
3014 remove obsolete doc file
3016 2005-09-21 David Schleef <ds@schleef.org>
3018 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3019 little beer, fix a little leak.
3021 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3023 * docs/gst/gstreamer-docs.sgml:
3024 * docs/gst/gstreamer-sections.txt:
3025 * docs/gst/tmpl/.cvsignore:
3030 * gst/gstindex.c: (gst_index_class_init):
3032 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3033 (gst_index_factory_class_init), (gst_index_factory_init),
3034 (gst_index_factory_finalize), (gst_index_factory_new),
3035 (gst_index_factory_destroy), (gst_index_factory_find),
3036 (gst_index_factory_create), (gst_index_factory_make):
3037 * gst/gstindexfactory.h:
3038 * gst/gstpluginfeature.c:
3039 * gst/gstpluginfeature.h:
3040 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3041 more docs inlined, splitted gstindex.{c,h}
3043 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3045 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3048 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3050 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3051 Set sync to FALSE by default.
3053 2005-09-20 Wim Taymans <wim@fluendo.com>
3055 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3056 (gst_base_sink_init):
3057 Make sync property settable from subclass.
3059 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3060 (gst_fake_sink_change_state):
3061 Set sync to FALSE by default.
3063 2005-09-20 Wim Taymans <wim@fluendo.com>
3065 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3066 * tools/gst-launch.c: (main):
3067 The timeout handler should have lower priority than the source
3068 so we don't timeout before popping a message with 0 timeout.
3069 Dump error messages after failed state change.
3071 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3073 * tools/gst-inspect.c: (print_element_properties_info):
3076 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3078 * check/gst/gstevent.c:
3079 * gst/elements/gstfakesink.c:
3080 * gst/elements/gstfakesink.h:
3081 remove the sync property from fakesink.
3082 has the side effect of setting sync TRUE
3083 for fakesink, which is a change. Anyone who knows how
3084 to fix this nicely in a GObject-y way, feel free.
3086 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3088 * docs/gst/gstreamer-docs.sgml:
3089 remove probe refsection
3091 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3093 * check/Makefile.am:
3094 disable valgrinding the controller test again
3095 * docs/gst/gstreamer-sections.txt:
3096 update for api-changes
3098 2005-09-20 Wim Taymans <wim@fluendo.com>
3100 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3101 (gst_base_sink_set_property), (gst_base_sink_get_property),
3102 (gst_base_sink_do_sync):
3103 * gst/base/gstbasesink.h:
3104 Added sync property to basesink to disable clock sync.
3106 2005-09-20 Andy Wingo <wingo@pobox.com>
3108 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3109 eating the caller's refcount.
3111 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3112 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3115 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3116 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3117 of GLib 2.8 public, so we can know which refcount to check in
3120 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3121 (gst_object_init): Only set the gst refcount if we're going ahead
3122 with the refcount hack.
3124 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3126 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3127 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3128 more leaks plumbed, added more debug-logging
3132 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3135 remove include of gstmemchunk.h
3137 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3139 * gst/gstclock.c: (_gst_clock_id_free):
3140 Commit from the Political Party For More Atomic CVS Commits,
3141 so that people don't waste too much of their day fishing
3142 out obvious leaks out of massive commits.
3143 Oh, and fix a pretty damn obvious leak in the memchunk
3146 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3148 * check/Makefile.am:
3149 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3150 plug mem-leak, re-add to valgrindable tests
3152 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3155 unbreak the build for those who have chronic arthritis
3156 and typing "make check" is just too taxing on the hands
3158 2005-09-20 Andy Wingo <wingo@pobox.com>
3160 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3161 really want it out, you should fix plugins at the same time.
3163 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3166 * docs/gst/gstreamer-sections.txt:
3168 added missing symbols to api docs
3169 disable ref-count hack if we have glib >= 2.8
3171 2005-09-19 David Schleef <ds@schleef.org>
3173 * docs/gst/Makefile.am: Ignore a few more internal headers
3174 * docs/gst/gstreamer-docs.sgml: Remove old sections
3175 * docs/gst/gstreamer-sections.txt: Remove old sections
3176 * docs/gst/tmpl/gstobject.sgml: update
3177 * docs/gst/tmpl/gstplugin.sgml: update
3178 * docs/gst/tmpl/gstpluginfeature.sgml: update
3179 * docs/random/ds/0.9-suggested-changes: update.
3180 * gst/Makefile.am: remove memchunk and trashstack, since they're
3182 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3183 * gst/gst.h: don't include some headers
3184 * gst/gstchildproxy.c: add gstmarshal.h
3185 * gst/gstclock.c: Don't use memchunks
3186 * gst/gstminiobject.c: Add some docs
3187 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3188 * gst/gstobject.h: same
3189 * gst/gstplugin.c: include gstmacros.h
3190 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3191 * gst/gstquery.c: don't use memchunks
3192 * gst/gstregistry.c: rename gst_registry_deinit()
3193 * gst/gstregistry.h: same
3195 2005-09-19 David Schleef <ds@schleef.org>
3197 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3198 * docs/libs/gstreamer-libs-sections.txt:
3199 * docs/libs/tmpl/gstgetbits.sgml:
3200 * docs/libs/tmpl/gstputbits.sgml:
3202 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3204 * win32/gstenumtypes.c:
3205 * win32/gstenumtypes.h:
3208 2005-09-19 Wim Taymans <wim@fluendo.com>
3210 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3211 Automatically PAUSE and RESUME a pipeline when a flushing seek
3214 2005-09-19 Andy Wingo <wingo@pobox.com>
3216 * gst/gstregistry.h: Spacing fixen.
3218 2005-09-19 Wim Taymans <wim@fluendo.com>
3220 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3221 Handle state change failure more correctly.
3223 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3225 * check/Makefile.am:
3226 * check/pipelines/cleanup.c: (run_pipeline):
3227 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3229 enable cleanup again after fixing the leak
3231 some more info on docs
3233 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3235 * check/Makefile.am:
3236 re-enable tests now that leaks are plugged
3238 * check/gst/gstbin.c:
3239 * check/gst/gstpipeline.c:
3240 add some more tests while fixing leaks
3242 make sure binaries are uptodate when valgrinding/gdbing
3244 * gst/gstelementfactory.c:
3245 remove a ref too many, and add a FIXME for when we get
3246 round to disposing of classes
3248 fix the refcounting when loading a plugin from a file and
3249 the code pretends that the pointer is the same even though
3250 of course it can change
3251 * gst/gstpluginfeature.c:
3252 unref plugins marked cached (a bit confusing as a name)
3253 as the docs state should be done
3254 various doc additions to explain refcounting
3255 * gst/gstregistry.c:
3256 * gst/gstregistryxml.c:
3259 2005-09-19 Wim Taymans <wim@fluendo.com>
3261 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3262 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3263 (send_messages), (GST_START_TEST), (gstbus_suite):
3264 * check/gst/gstpipeline.c: (GST_START_TEST):
3265 * check/pipelines/cleanup.c: (run_pipeline):
3266 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3268 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3269 (gst_bus_source_check), (gst_bus_source_dispatch),
3270 (gst_bus_create_watch), (gst_bus_add_watch_full),
3271 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3273 * tools/gst-launch.c: (event_loop):
3274 * tools/gst-md5sum.c: (event_loop):
3275 GstBusHandler -> GstBusFunc, return value has the same meaning as
3276 any other GSource (FALSE == remove source).
3277 _add_watch() and _add_watch_full() now take a MessageType mask to
3278 only handle specific types of messages.
3279 _poll() returns the GstMessage instead of the message type to avoid
3281 _have_pending() takes a MessageType mask now too.
3282 Added testsuite for multiple bus watches.
3283 Fix testsuites and applications for new bus API.
3285 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3287 * check/Makefile.am:
3288 mark a bunch of the tests as to fix until we fix them
3290 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3293 use GST_PLUGIN settings for valgrind tests as well, so we're
3294 valgrinding the correct thing
3295 * gst/gst.c: (init_post):
3298 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3300 * gst/gst.c: (init_post), (gst_deinit):
3301 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3302 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3303 * gst/gstindex.c: (gst_index_factory_class_init),
3304 (gst_index_factory_finalize):
3305 * gst/gstobject.c: (gst_object_dispose):
3306 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3307 (gst_plugin_load_file), (gst_plugin_desc_free):
3308 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3309 (gst_plugin_feature_finalize):
3310 * gst/gstregistry.c: (gst_registry_class_init),
3311 (gst_registry_init), (gst_registry_finalize),
3312 (gst_registry_get_default), (gst_registry_deinit):
3313 * gst/gstregistry.h:
3314 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3315 various cleanups and memleak plugging. make valgrind is happy now.
3317 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3320 add a check-valgrind target
3322 2005-09-18 David Schleef <ds@schleef.org>
3324 * tools/gst-inspect.c: Revert the GOption code.
3326 2005-09-17 David Schleef <ds@schleef.org>
3328 * check/Makefile.am: Fix environment variables.
3329 * check/gst/gstplugin.c: Fix for API changes.
3330 * tools/gst-inspect.c: Fix for API changes.
3331 * tools/gst-xmlinspect.c: Fix for API changes.
3332 * gst/gstelementfactory.c:
3335 * gst/gstpluginfeature.c:
3336 * gst/gstpluginfeature.h:
3337 * gst/gstregistry.c:
3338 * gst/gstregistry.h:
3339 * gst/gstregistryxml.c:
3340 * gst/gsttypefind.c:
3341 * gst/gsttypefindfactory.c:
3342 * gst/indexers/gstfileindex.c:
3343 * gst/indexers/gstmemindex.c:
3344 * gst/schedulers/Makefile.am:
3345 Change registry to keep track of both plugins and features,
3346 removing the feature tracking from plugins themselves.
3348 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3350 * check/Makefile.am:
3351 * tools/gst-register.1.in:
3354 2005-09-15 David Schleef <ds@schleef.org>
3356 * check/gst/gstplugin.c:
3357 * gst/gstelementfactory.c:
3359 * gst/gstpluginfeature.c:
3360 * gst/gstregistry.c:
3361 Getting tired of debugging. Disabled all the unreffing of
3362 plugins and features, which fixes the segfaults, but of
3363 course leaks like crazy. At least playbin works.
3365 2005-09-15 David Schleef <ds@schleef.org>
3367 * check/gst/gstplugin.c: (register_check_elements),
3368 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3370 * gst/elements/gsttypefindelement.c: Fix refcounting.
3371 * gst/gsttypefind.c:
3372 * gst/gsttypefindfactory.c:
3373 * gst/gsttypefindfactory.h:
3375 2005-09-15 David Schleef <ds@schleef.org>
3377 * gst/gstindex.c: get refcounting correct.
3378 * gst/gstregistry.c: Handle the case where a feature/plugin is
3381 2005-09-15 David Schleef <ds@schleef.org>
3383 * check/Makefile.am:
3384 * check/gst/gstplugin.c: Add test
3385 * gst/gstplugin.c: Fix problems noticed by testsuite
3387 * gst/gstregistry.c:
3388 * gst/gstregistry.h:
3390 2005-09-15 David Schleef <ds@schleef.org>
3392 * gst/gstplugin.c: Implement semi-decent recounting and locking
3393 in plugins and plugin features.
3395 * gst/gstpluginfeature.c:
3396 * gst/gstpluginfeature.h:
3397 * gst/gstregistry.c:
3399 2005-09-15 Michael Smith <msmith@fluendo.com>
3401 * gst/gstregistry.c: (gst_registry_get_feature_list):
3402 Implement this. Makes oggdemux work; decodebin still broken.
3404 2005-09-14 David Schleef <ds@schleef.org>
3406 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3408 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3409 * gst/check/Makefile.am:
3410 * libs/gst/controller/Makefile.am:
3411 * libs/gst/dataprotocol/Makefile.am:
3413 2005-09-14 David Schleef <ds@schleef.org>
3415 * configure.ac: Remove getbits library. Nothing uses it, and
3416 it should be in something like liboil if someone did want
3418 * libs/gst/Makefile.am:
3419 * libs/gst/getbits/Makefile.am:
3420 * libs/gst/getbits/gbtest.c:
3421 * libs/gst/getbits/getbits.c:
3422 * libs/gst/getbits/getbits.h:
3423 * libs/gst/getbits/gstgetbits_generic.c:
3424 * libs/gst/getbits/gstgetbits_i386.s:
3425 * libs/gst/getbits/gstgetbits_inl.h:
3427 2005-09-14 David Schleef <ds@schleef.org>
3429 * gst/Makefile.am: Dist glib-compat.h
3431 2005-09-14 David Schleef <ds@schleef.org>
3433 * configure.ac: Remove gst/registries, since it's no longer used.
3434 * gst/registries/Makefile.am:
3435 * gst/registries/gstlibxmlregistry.c:
3436 * gst/registries/gstlibxmlregistry.h:
3437 * gst/registries/gstxmlregistry.c:
3438 * gst/registries/gstxmlregistry.h:
3439 * gst/registries/registrytest.c:
3441 2005-09-14 David Schleef <ds@schleef.org>
3443 * gst/glib-compat.h:
3444 * gst/gstregistryxml.c:
3445 Convergence is near. Seriously.
3447 2005-09-14 David Schleef <ds@schleef.org>
3449 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3450 * gst/glib-compat.h:
3451 Attempt #4 to appease the buildbots.
3453 2005-09-14 David Schleef <ds@schleef.org>
3455 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3458 2005-09-14 David Schleef <ds@schleef.org>
3460 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3463 2005-09-14 David Schleef <ds@schleef.org>
3465 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3468 2005-09-14 David Schleef <ds@schleef.org>
3470 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3471 * gst/glib-compat.h: Add some functions that are in newer versions
3472 of glib than we care to require.
3473 * gst/gstregistryxml.c: Use them.
3475 2005-09-14 David Schleef <ds@schleef.org>
3477 * po/POTFILES.in: remove gst-register.c
3479 2005-09-14 David Schleef <ds@schleef.org>
3481 * docs/gst/gstreamer-docs.sgml:
3482 * docs/gst/gstreamer-sections.txt:
3483 * docs/gst/gstreamer.types:
3484 * docs/gst/tmpl/gstelement.sgml:
3485 * docs/gst/tmpl/gstplugin.sgml:
3486 * docs/gst/tmpl/gstpluginfeature.sgml:
3487 Documentation updates for registry changes.
3489 2005-09-14 David Schleef <ds@schleef.org>
3491 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3492 because we don't require glib-2.8.
3494 2005-09-14 David Schleef <ds@schleef.org>
3496 * gst/gstregistryxml.c: Added. Essentially moved out of the
3497 registries directory.
3499 2005-09-14 David Schleef <ds@schleef.org>
3501 * check/Makefile.am:
3502 * check/generic/states.c:
3506 * gst/gst_private.h:
3507 * gst/gstelementfactory.c:
3512 * gst/gstpluginfeature.c:
3513 * gst/gstpluginfeature.h:
3514 * gst/gstregistry.c:
3515 * gst/gstregistry.h:
3516 * gst/gstregistrypool.c: remove
3517 * gst/gstregistrypool.h: remove
3518 * gst/gsttypefind.c:
3519 * gst/gsttypefindfactory.c:
3521 * tools/Makefile.am:
3522 * tools/gst-compprep.c:
3523 * tools/gst-inspect.c:
3524 * tools/gst-register.c: remove
3525 * tools/gst-xmlinspect.c:
3526 Registry rewrite. Changes registry from being a file created
3527 by a tool into a simple cache file created automatically by
3528 libgstreamer. Removed gst-register (because it's no longer
3529 needed). Remove registry pools, because we only have one
3530 registry implementation (XML). Fix up other subsystems as
3533 2005-09-13 Michael Smith <msmith@fluendo.com>
3535 * gst/gstconfig.h.in:
3536 Don't Use windows linking attributes for MinGW. Fixes #316157
3538 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3540 * gst/gstutils.c: (set_state_async_thread_func),
3541 (gst_element_set_state_async):
3542 Apparently people think it's better if this function doesn't
3543 try to set the state to whatever state was asked for on the first
3544 call to this function for any object. Seriously.
3546 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3548 * check/gst/gstpipeline.c: (GST_START_TEST):
3549 * docs/gst/gstreamer-sections.txt:
3550 * gst/gstutils.c: (set_state_async_thread_func),
3551 (gst_element_set_state_async):
3553 add a "gst_element_set_state_async" method that
3554 sets the state and starts a thread to make sure the state
3555 change completes as best as it can
3557 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3559 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3560 codify design+behaviour in testsuite after discussion
3562 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3564 * docs/gst/tmpl/gstelement.sgml:
3565 * docs/manual/appendix-quotes.xml:
3567 * gst/gstelement.c: (gst_element_set_state):
3570 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3572 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3573 (gst_base_transform_prepare_output_buf),
3574 (gst_base_transform_handle_buffer):
3575 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3576 (gst_capsfilter_prepare_buf):
3577 Remove the requirement for sub-classes to call the parent
3578 implementation of prepare_output_buffer with a wrapper function.
3581 * gst/gsttagsetter.h:
3584 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3586 * docs/gst/gstreamer-sections.txt:
3589 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3591 * docs/gst/gstreamer-sections.txt:
3592 * docs/gst/tmpl/gstelement.sgml:
3593 * docs/gst/tmpl/gstplugin.sgml:
3594 * gst/gstminiobject.c:
3596 docs now stop throwing warnings
3598 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3600 * docs/gst/gstreamer-sections.txt:
3601 * docs/gst/gstreamer.types:
3602 * docs/gst/tmpl/gstpad.sgml:
3603 * docs/gst/tmpl/gsttypes.sgml:
3604 * gst/base/gstadapter.h:
3605 * gst/base/gstbasesink.h:
3606 * gst/base/gstbasesrc.h:
3616 * gst/gststructure.c:
3617 * gst/registries/gstlibxmlregistry.h:
3618 various documentation fixes
3620 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3622 * docs/gst/gstreamer-sections.txt:
3623 * docs/gst/tmpl/gstvalue.sgml:
3624 rearrange gstvalue section
3625 * gst/gstutils.c: (gst_element_state_get_name):
3627 * gst/gstvalue.c: (_gst_value_initialize):
3631 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3633 * check/gst-libs/controller.c:
3635 * gst/base/gstbasetransform.c:
3636 (gst_base_transform_default_prepare_buf),
3637 (gst_base_transform_handle_buffer):
3638 * gst/base/gstbasetransform.h:
3639 Some more basetransform changes and fixes to enable sub-classes
3640 that modify buffer metadata only.
3641 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3642 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3643 (gst_capsfilter_prepare_buf):
3644 If the output pad has fixed allowed caps and input buffers
3645 don't have any, set the fixed caps on outgoing buffers.
3647 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3648 * check/elements/identity.c: (GST_START_TEST):
3649 Make the error a little clearer when the test fails because
3650 identity made a copy of the buffer.
3651 * docs/gst/gstreamer-sections.txt:
3652 New symbols in gstbasetransform.h
3653 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3654 (gst_base_transform_init), (gst_base_transform_transform_size),
3655 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3656 (gst_base_transform_default_prepare_buf),
3657 (gst_base_transform_get_unit_size),
3658 (gst_base_transform_buffer_alloc),
3659 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3660 (gst_base_transform_change_state),
3661 (gst_base_transform_set_passthrough),
3662 (gst_base_transform_set_in_place),
3663 (gst_base_transform_is_in_place):
3664 * gst/base/gstbasetransform.h:
3665 Change BaseTransform to separate in_place operate from same_caps
3666 output. in_place implies that the element can perform the transform
3667 on incoming buffers in-place, even if the caps on the output are
3669 Sub-class elements can now implement special buffer allocation
3670 methods for outgoing buffers if they wish to.
3671 Big documentation addition.
3672 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3673 * gst/elements/gstelements.c:
3674 Changes for basetransform modifications.
3675 * gst/elements/Makefile.am:
3676 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3677 Compile fix. Extra debug output.
3679 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3681 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3683 add tests for valid pad naming
3684 * gst/check/gstcheck.c: (gst_check_log_message_func),
3685 (gst_check_log_critical_func):
3687 remove printing of code, it is fragile when the code contains
3688 % and the line number is enough info
3689 * gst/check/gstcheck.h:
3690 * gst/gstpad.c: (gst_pad_template_new):
3693 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3696 say what CHECK flags we use
3697 * docs/libs/gstreamer-libs.types:
3698 * libs/gst/controller/Makefile.am:
3699 * libs/gst/controller/gst-controller.c:
3700 * libs/gst/controller/gst-controller.h:
3701 * libs/gst/controller/gst-helper.c:
3702 * libs/gst/controller/gst-interpolation.c:
3703 * libs/gst/controller/gstcontroller.c:
3704 * libs/gst/controller/gsthelper.c:
3705 * libs/gst/controller/gstinterpolation.c:
3706 * tools/gst-inspect.c: (print_plugin_info):
3707 we don't use dashes in header names
3709 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3711 * check/Makefile.am:
3712 * check/gst/.cvsignore:
3713 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3714 (gst_pipeline_suite), (main):
3715 adding a test for pipelines and state changes
3716 * gst/gstutils.c: (get_state_func):
3718 * gstreamer.spec.in:
3721 2005-09-08 Michael Smith <msmith@fluendo.com>
3723 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3724 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3725 (gst_file_src_is_seekable), (gst_file_src_get_size),
3726 (gst_file_src_start):
3727 * gst/elements/gstfilesrc.h:
3728 Various fixes for unseekable, unmmapable, and non-normal files, so
3729 that fallback to read() rather than mmap() works.
3730 * gst/gstevent.c: (gst_event_new_newsegment):
3731 Allow newsegment events with segment_start == segment_end, as will
3732 correctly happen if you use filesrc on a zero-size file, for
3735 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3737 * gst/gstplugin.c: (gst_plugin_load_file):
3738 Call g_module_close when we don't load the module
3740 * gst/registries/gstlibxmlregistry.c:
3741 (gst_xml_registry_get_property):
3742 Port leak fix from 0.8
3744 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3746 * docs/gst/gstreamer-docs.sgml:
3747 * docs/gst/tmpl/.cvsignore:
3748 * docs/gst/tmpl/gsttrace.sgml:
3749 * docs/gst/tmpl/gsttrashstack.sgml:
3758 * gst/gsttaginterface.c:
3759 * gst/gsttaginterface.h:
3762 * gst/gsttagsetter.c:
3763 * gst/gsttagsetter.h:
3766 * gst/gsttrashstack.c:
3767 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3768 inlined docs for gsttrace, gsttrashstack
3770 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3773 * gst/elements/gstbufferstore.h:
3774 * gst/elements/gsttypefindelement.c:
3775 * gst/elements/gsttypefindelement.h:
3777 * gst/gsttypefind.c:
3778 * gst/gsttypefind.h:
3779 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3780 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3781 (gst_type_find_factory_dispose),
3782 (gst_type_find_factory_unload_thyself),
3783 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3784 (gst_type_find_factory_get_caps),
3785 (gst_type_find_factory_get_extensions),
3786 (gst_type_find_factory_call_function):
3787 * gst/gsttypefindfactory.h:
3788 * gst/registries/gstlibxmlregistry.c:
3789 * gst/registries/gstxmlregistry.c:
3790 splitted gsttypefind into gsttypefind, gsttypefindfactory
3792 2005-09-07 Andy Wingo <wingo@pobox.com>
3794 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3795 condition whereby the pad's task function is entered before the
3796 pad_mode variable was set.
3798 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3800 * gst/gstpad.c: (gst_pad_alloc_buffer):
3801 Catch misbehaving pad_alloc functions that don't
3802 set up caps and do it for them.
3804 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3806 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3808 * docs/gst/tmpl/.cvsignore:
3809 * docs/gst/tmpl/gstmemchunk.sgml:
3810 * docs/gst/tmpl/gstparse.sgml:
3811 * docs/gst/tmpl/gsttaglist.sgml:
3812 * docs/gst/tmpl/gsttagsetter.sgml:
3813 * docs/gst/tmpl/gsttypefind.sgml:
3814 * docs/gst/tmpl/gsttypefindfactory.sgml:
3815 * gst/gstmemchunk.c:
3818 * gst/gsttaginterface.c:
3819 * gst/gsttypefind.c:
3820 * gst/gsttypefind.h:
3823 === release 0.9.2 ===
3825 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3830 releasing 0.9.2, "South"
3832 2005-09-05 Andy Wingo <wingo@pobox.com>
3834 * gst/registries/gstxmlregistry.h:
3835 * gst/registries/gstxmlregistry.c: Um... resurrect...
3837 * gst/registries/gstxmlregistry.h:
3838 * gst/registries/gstxmlregistry.c: and update to newer API.
3839 Incidentally they should be a bit faster now that they don't have
3842 2005-09-05 Andy Wingo <wingo@pobox.com>
3844 * gst/registries/gstxmlregistry.h:
3845 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3846 replaced by the libxml registry a while back
3848 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3850 * docs/gst/tmpl/gstplugin.sgml:
3851 * gst/elements/gstelements.c:
3853 * gst/gstplugin.c: (gst_plugin_register_func),
3854 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3855 (gst_plugin_get_source):
3857 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3858 (gst_xml_registry_save_plugin):
3859 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3860 (gst_xml_registry_save_plugin):
3861 * tools/gst-inspect.c: (print_plugin_info):
3862 add a "source" plugin description field, to represent the source
3863 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3864 will set it to PACKAGE, which is automake's idea of the name of
3867 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3873 * docs/faq/Makefile.am:
3874 * docs/gst/tmpl/gstelement.sgml:
3875 * docs/gst/tmpl/gsttypes.sgml:
3876 * docs/htmlinstall.mak:
3877 * docs/manual/Makefile.am:
3878 * docs/pwg/Makefile.am:
3879 reorganize doc build a little
3880 split out docbook and gtk-doc stuff
3881 have two separate --enable's and enable them through autogen
3882 but disable by default in configure (to be similar to other
3884 * gstreamer.spec.in:
3885 clean up docs install
3905 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3907 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3910 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3911 (gst_fake_sink_change_state):
3912 Make state change function thread-safe.
3914 * gst/gstpad.c: (gst_pad_alloc_buffer):
3915 Set offset on generic buffer allocated by fallback.
3917 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3919 * docs/gst/gstreamer-sections.txt:
3920 * docs/gst/tmpl/gstelement.sgml:
3922 * libs/gst/controller/gst-controller.c:
3923 (gst_controlled_property_set_interpolation_mode),
3924 (gst_controlled_property_new),
3925 (gst_controller_find_controlled_property):
3926 run the wingo-magic script against the docs
3928 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3930 * docs/gst/gstreamer-docs.sgml:
3931 * docs/gst/gstreamer-sections.txt:
3932 * docs/gst/tmpl/.cvsignore:
3933 * docs/gst/tmpl/gstelementdetails.sgml:
3934 * docs/gst/tmpl/gstelementfactory.sgml:
3937 * gst/gstelementfactory.c:
3938 * gst/gstelementfactory.h:
3939 merged elementdetails docs into elementfactory docs
3942 2005-09-02 Andy Wingo <wingo@pobox.com>
3944 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3945 consider this enum an enum and not a flags.
3947 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3949 * docs/gst/gstreamer-docs.sgml:
3950 * docs/gst/tmpl/.cvsignore:
3951 * docs/gst/tmpl/gstghostpad.sgml:
3952 * docs/gst/tmpl/gstiterator.sgml:
3953 * docs/gst/tmpl/gstmacros.sgml:
3954 * docs/gst/tmpl/gstrealpad.sgml:
3955 * docs/gst/tmpl/gstregistry.sgml:
3956 * docs/gst/tmpl/gstregistrypool.sgml:
3957 * docs/gst/tmpl/gststructure.sgml:
3958 * docs/gst/tmpl/gstsystemclock.sgml:
3959 * docs/gst/tmpl/gsttrace.sgml:
3960 * gst/gstghostpad.c:
3962 * gst/gstmemchunk.c:
3963 * gst/gstmemchunk.h:
3965 * gst/gstregistry.c:
3966 * gst/gstregistrypool.c:
3967 * gst/gststructure.c:
3968 * gst/gstsystemclock.c:
3971 2005-09-02 Andy Wingo <wingo@pobox.com>
3973 * gst/gstelement.h (GstState): Renamed from GstElementState,
3974 changed to be a normal enum instead of flags.
3975 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3976 munged to be GST_STATE_CHANGE_*.
3977 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3978 work with the new state representation.
3979 (GstStateChange): New enumeration of possible state transitions.
3980 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3981 (GstElementClass::change_state): Pass the GstStateChange along as
3982 an argument. Helps language bindings, so they don't have to use
3983 tricky lock-needing macros like GST_STATE_CHANGE ().
3985 * scripts/update-states (file): New script. Run it on a file to
3986 update it for state naming and API changes. Updates files in
3989 * All files updated for the new API.
3991 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3993 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3994 * gst/gstutils.c: (gst_util_set_value_from_string),
3995 (gst_util_set_object_arg):
3996 fix a bunch of unchecked return values
3997 * tools/gst-complete.c: (main):
3998 * gstreamer.spec.in:
4001 2005-09-01 Wim Taymans <wim@fluendo.com>
4003 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4004 (gst_base_sink_event), (gst_base_sink_do_sync),
4005 (gst_base_sink_handle_event):
4006 * gst/base/gstbasesink.h:
4007 Handle newsegments more correctly.
4012 * gst/gstevent.c: (gst_event_new_newsegment):
4013 A newsegment cannot have a start_time of -1
4015 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4017 * win32/gstenumtypes.c:
4018 * win32/gstenumtypes.h:
4021 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4023 * libs/gst/controller/gst-controller.c:
4024 (gst_controlled_property_set_interpolation_mode),
4025 (gst_controlled_property_new):
4028 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4030 * docs/faq/gst-uninstalled:
4035 * gst/gstutils.c: (gst_element_link_filtered):
4037 add gst_element_link_filtered
4039 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4041 * docs/gst/gstreamer-docs.sgml:
4042 * docs/gst/gstreamer-sections.txt:
4043 * docs/gst/tmpl/.cvsignore:
4044 * docs/gst/tmpl/gsterror.sgml:
4045 * docs/gst/tmpl/gstfilter.sgml:
4046 * docs/gst/tmpl/gsturihandler.sgml:
4047 * docs/gst/tmpl/gsturitype.sgml:
4048 * docs/gst/tmpl/gstutils.sgml:
4049 * docs/gst/tmpl/gstxml.sgml:
4057 inlined more docs, fixed double id-ref
4059 2005-08-31 Wim Taymans <wim@fluendo.com>
4061 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4062 (gst_base_transform_handle_buffer):
4063 Passthrough elements don't need the caps as they don't care.
4065 2005-08-31 Wim Taymans <wim@fluendo.com>
4067 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4068 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4069 Don't leak refcounts on buffers.
4071 2005-08-31 Wim Taymans <wim@fluendo.com>
4073 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4074 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4075 (gst_base_transform_chain), (gst_base_transform_change_state):
4076 * gst/base/gstbasetransform.h:
4077 Handle the case where we are not negotiated more gracefully.
4079 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4081 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4082 (gst_file_src_map_region):
4083 Set READONLY flag on mmap'ed buffers, otherwise
4084 gst_buffer_make_writable() won't work properly (#314708).
4086 2005-08-31 Wim Taymans <wim@fluendo.com>
4088 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4089 passthrough elements can even do inplace on non writable
4090 buffers (as they don't touch them).
4092 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4094 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4095 (gst_test_mono_source_set_property),
4096 (gst_test_mono_source_class_init), (GST_START_TEST),
4097 (gst_controller_suite):
4098 more tests (hehe I have the most)
4100 describe popping messages whenusing mulltiple sources
4101 * libs/gst/controller/gst-controller.c:
4102 (gst_controlled_property_set_interpolation_mode),
4103 (gst_controlled_property_new):
4104 * libs/gst/controller/gst-controller.h:
4105 * libs/gst/controller/gst-interpolation.c:
4106 implement boolean properties
4108 2005-08-31 Wim Taymans <wim@fluendo.com>
4110 * gst/gstminiobject.c: (gst_mini_object_ref):
4111 Cannot assert that the refcount has to be positive
4112 since a disposed object can be resurrected.
4114 2005-08-31 Wim Taymans <wim@fluendo.com>
4116 * gst/gstpad.c: (gst_pad_init):
4117 Revert change, need to first fix badly behaving
4120 2005-08-30 Wim Taymans <wim@fluendo.com>
4122 * check/elements/fakesrc.c: (setup_fakesrc):
4123 * check/elements/identity.c: (setup_identity):
4124 Activate pads before using them.
4126 2005-08-30 Wim Taymans <wim@fluendo.com>
4128 * gst/base/gstadapter.c: (gst_adapter_flush):
4129 Flushing out 0 bytes is ok for this function.
4131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4132 no newsegment gives a warning and sets the start/stop to
4135 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4136 (gst_base_transform_set_passthrough):
4139 * gst/gstminiobject.c: (gst_mini_object_ref):
4140 Check refcount here too.
4142 * gst/gstpad.c: (gst_pad_init):
4143 Pads are initially flushing and refusing data.
4145 * gst/gstutils.c: (gst_element_link_pads_filtered):
4146 When adding a capsfilter element make sure it has the
4147 same state as the parent bin.
4149 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4151 * docs/gst/tmpl/.cvsignore:
4152 * docs/gst/tmpl/gstformat.sgml:
4153 * docs/gst/tmpl/gstversion.sgml:
4157 * gst/gstversion.h.in:
4158 more docs and two more inlined
4160 2005-08-30 Wim Taymans <wim@fluendo.com>
4162 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4163 Don't sync to clock.
4165 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4167 * docs/gst/gstreamer-sections.txt:
4168 ultral33t func10ns deserve to appear in the docs actually
4169 * docs/gst/tmpl/.cvsignore:
4170 * docs/gst/tmpl/gstcompat.sgml:
4171 * docs/gst/tmpl/gstconfig.sgml:
4172 * gst/check/gstcheck.c:
4174 * gst/gstconfig.h.in:
4177 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4179 * docs/gst/tmpl/.cvsignore:
4180 * docs/gst/tmpl/gstquery.sgml:
4181 * docs/gst/tmpl/gstutils.sgml:
4184 inlined and extended docs
4186 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4188 * check/gst-libs/controller.c: (GST_START_TEST),
4189 (gst_controller_suite):
4191 * docs/gst/tmpl/gstutils.sgml:
4192 * docs/libs/gstreamer-libs-sections.txt:
4193 * docs/libs/tmpl/gstdataprotocol.sgml:
4195 * examples/controller/audio-example.c: (main):
4196 controller example works now
4199 * tools/gst-inspect.c: (print_element_properties_info):
4200 show param spec flags
4202 2005-08-29 Andy Wingo <wingo@pobox.com>
4204 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4206 2005-08-28 Andy Wingo <wingo@pobox.com>
4208 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4209 as having two arguments instead of just one. Allows superclasses
4210 to access information on subclasses -- see the terrible for() loop
4211 in gtype.c:g_type_create_instance for the reason why. All callers
4214 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4216 * docs/design/part-messages.txt:
4218 * docs/gst/tmpl/.cvsignore:
4219 * docs/gst/tmpl/gstcaps.sgml:
4220 * docs/gst/tmpl/gstclock.sgml:
4227 added descriptions for bus and message
4228 inline caps and clock docs
4230 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4236 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4238 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4241 2005-08-26 Andy Wingo <wingo@pobox.com>
4243 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4244 element_set_state's return val.
4245 (test_2_elements): Add test that's been disabled for months.
4247 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4248 can-activate-pull properties.
4250 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4251 can-activate-pull properties. Implement is_seekable so fakesrc can
4252 operate in pull mode.
4254 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4256 (gst_base_sink_activate, gst_base_sink_activate_pull)
4257 (gst_base_sink_activate_push): Make activation mode choosing work.
4259 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4260 is right. Make pull mode work. Post an eos before pausing in pull
4262 (gst_base_sink_change_state): Pay attention to the core's
4263 change_state() return val.
4265 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4266 has-getrange properties. Cleanups.
4268 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4269 has_getrange and replace with can_activate_pull and
4272 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4273 locking comments. Remove has_loop, has_chain and replace with
4274 can_activate_pull and can_activate_push.
4276 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4279 * examples/Makefile.am:
4280 * examples/metadata/Makefile.am:
4281 * examples/metadata/read-metadata.c: (message_loop),
4282 (have_pad_handler), (make_pipeline), (print_tag), (main):
4283 Add metadata reading example that loops over a list of filenames,
4284 dumping any tags found.
4286 * gst/gstbus.c: (gst_bus_dispose):
4287 * gst/gstelement.c: (gst_element_dispose):
4288 Release a few potentially-held references in dispose.
4290 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4292 * docs/gst/tmpl/gstminiobject.sgml:
4293 do *not* add tmpl/*.sgml files to CVS!
4295 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4297 * libs/gst/bytestream/.cvsignore:
4298 * libs/gst/bytestream/Makefile.am:
4299 * libs/gst/bytestream/adapter.c:
4300 * libs/gst/bytestream/adapter.h:
4301 * libs/gst/bytestream/bytestream.c:
4302 * libs/gst/bytestream/bytestream.h:
4303 * libs/gst/bytestream/filepad.c:
4304 * libs/gst/bytestream/filepad.h:
4305 removing obsolete files
4307 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4309 * docs/gst/gstreamer-docs.sgml:
4310 * docs/libs/gstreamer-libs-docs.sgml:
4311 disabed additional index entries again, as this makes docs-gen just
4312 slow and they aren't useful yet
4313 * docs/libs/gstreamer-libs-sections.txt:
4314 little -section.txt cleanup for libs
4316 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4319 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4320 fix up some debugging
4321 (gst_base_transform_get_unit_size),
4322 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4323 (gst_base_transform_handle_buffer):
4324 * gst/base/gstbasetransform.h:
4325 handle and store timed NEWSEGMENT events so that subclasses that
4326 calculate time by counting samples have a segment_start time they
4327 need to add to their timestamps - see audioresample
4329 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4332 removed ';' from the end of macro defs
4333 * docs/gst/gstreamer-docs.sgml:
4334 * docs/gst/gstreamer-sections.txt:
4335 * docs/gst/tmpl/.cvsignore:
4337 * gst/gstelement.c: (gst_element_class_init),
4338 (gst_element_set_state), (activate_pads),
4339 (gst_element_save_thyself):
4340 * gst/gstevent.c: (gst_event_new_newsegment):
4342 * gst/gstiterator.c:
4343 * gst/gstiterator.h:
4346 * gst/gstutils.c: (gst_pad_query_convert):
4348 fixed parameter name mismatches between source, header and docs
4349 added some more docs, resolved the last batch of unused elements in
4350 docs (now someone needs to doc them)
4352 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4355 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4356 don't walk through the plugins backwards. Where is all this
4357 reversed logic coming from ?
4359 2005-08-25 Wim Taymans <wim@fluendo.com>
4361 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4362 (gst_base_transform_transform_size),
4363 (gst_base_transform_configure_caps),
4364 (gst_base_transform_get_unit_size),
4365 (gst_base_transform_buffer_alloc),
4366 (gst_base_transform_change_state):
4367 * gst/base/gstbasetransform.h:
4368 Cache caps unit_size.
4369 Make sure we cannot negotiate up and downstream at the
4372 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4374 * gst/gst.c: (init_pre), (init_post):
4375 register the installed plugin path after the env var
4376 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4377 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4378 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4379 directories, so the tests can prefer uninstalled over installed
4381 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4383 * gst/base/gstbasetransform.h:
4388 2005-08-25 Wim Taymans <wim@fluendo.com>
4390 * gst/gstbin.c: (bin_bus_handler):
4391 Be a bit more conservative about the posted message.
4393 * gst/gstbus.c: (gst_bus_post):
4394 Some cleanups, warn wrong return values.
4396 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4398 * check/gst/gstbin.c: (GST_START_TEST):
4399 * gst/gstbin.c: (bin_bus_handler):
4400 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4401 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4402 (gst_message_new_warning), (gst_message_new_tag),
4403 (gst_message_new_state_changed), (gst_message_new_segment_start),
4404 (gst_message_new_segment_done), (gst_message_new_custom):
4406 * tools/gst-launch.c: (event_loop):
4407 * tools/gst-md5sum.c: (event_loop):
4408 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4410 2005-08-25 Wim Taymans <wim@fluendo.com>
4412 * check/generic/states.c: (GST_START_TEST):
4413 Cleanup can be done at the end.
4415 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4416 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4417 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4418 Oh boy.. Thanks for finding this, Thomas.
4420 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4422 * docs/gst/gstreamer.types:
4425 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4427 * docs/gst/gstreamer-docs.sgml:
4428 * docs/gst/gstreamer-sections.txt:
4429 * docs/gst/tmpl/.cvsignore:
4431 * gst/gstiterator.c:
4433 * gst/registries/gstxmlregistry.h:
4434 added missing classes and symbols (123 more to go)
4435 removed removed symbols from section file
4436 fixed many doc-comments
4438 2005-08-24 Wim Taymans <wim@fluendo.com>
4440 * check/generic/states.c: (GST_START_TEST):
4441 Make sure all tasks are stopped.
4443 * check/gst/gstbin.c: (GST_START_TEST):
4444 Unref after usage for proper valgrinding.
4446 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4447 Really wait for the task to stop before destroying the
4450 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4451 (gst_queue_src_activate_push):
4452 Small cleanups. Don't stop the task when we did not start
4455 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4456 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4457 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4460 Protect the stream lock with the object lock.
4461 Disallow setting the stream lock when running.
4462 Add cleanup_all to wait for the threadpool to finish.
4463 Remove code to autoallocate a mutex if none was provided.
4464 Add _join() to wait for a task to stop.
4465 Protect the thread pool with a global lock.
4467 2005-08-24 Wim Taymans <wim@fluendo.com>
4469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4470 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4471 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4472 * gst/base/gstbasesink.h:
4473 Handle newsegment events correctly.
4474 Drop buffers out of the segment range.
4476 2005-08-22 Andy Wingo <wingo@pobox.com>
4478 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4479 macro, implements an interface and gstimplementsinterface for a
4482 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4484 * check/Makefile.am:
4485 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4486 add a test that does a bunch of state changes on elements
4487 needs some fixing for valgrind
4488 * check/states/sinks.c: (gst_object_suite):
4491 add prototype for gst_caps_is_equal_fixed
4493 * gst/gstregistrypool.c:
4496 2005-08-24 Andy Wingo <wingo@pobox.com>
4498 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4499 convert a negative value. Doesn't make much sense. Mostly this is
4500 here to force callers to ensure -1 maps to -1.
4502 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4504 * docs/pwg/advanced-types.xml:
4505 Well done to Michael for catching my deliberate introduction
4506 of this spelling mistake.
4507 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4509 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4510 unlink pads before removing the element from the bin.
4512 2005-08-24 Andy Wingo <wingo@pobox.com>
4514 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4515 the same thing as GST_DEBUG=*:4.
4516 (parse_debug_level, parse_debug_category): New helper parsers.
4518 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4520 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4521 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4522 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4523 (gst_base_transform_buffer_alloc),
4524 (gst_base_transform_handle_buffer):
4525 use gboolean return values and pointers to size so we can use the
4526 full GST_BUFFER_SIZE range (guint) for buffer sizes
4527 use GstPadDirection for transform_caps
4528 * gst/base/gstbasetransform.h:
4529 rename get_size to get_unit_size since that's what it is
4530 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4531 use GstPadDirection for transform_caps
4532 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4534 cleanup and debugging
4536 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4538 * gst/gstelement.c: (gst_element_class_init),
4539 (gst_element_set_state), (activate_pads),
4540 (gst_element_save_thyself):
4541 * tools/gst-compprep.c: (main):
4542 * tools/gst-inspect.c: (print_element_properties_info):
4543 * tools/gst-xmlinspect.c: (print_element_properties):
4544 Fixed long standing mem-leak
4546 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4548 * check/gst/gstbin.c: (GST_START_TEST):
4549 * gst/gstbin.c: (bin_bus_handler):
4550 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4551 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4552 (gst_message_new_warning), (gst_message_new_tag),
4553 (gst_message_new_state_changed), (gst_message_new_segment_start),
4554 (gst_message_new_segment_done), (gst_message_new_custom):
4556 * tools/gst-launch.c: (event_loop):
4557 * tools/gst-md5sum.c: (event_loop):
4558 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4559 that applications can sensibly post custom messages with references
4560 to their own objects.
4562 2005-08-24 Andy Wingo <wingo@pobox.com>
4564 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4567 2005-08-24 Wim Taymans <wim@fluendo.com>
4569 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4570 (gst_base_transform_transform_caps),
4571 (gst_base_transform_transform_size),
4572 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4573 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4574 (gst_base_transform_handle_buffer):
4575 * gst/base/gstbasetransform.h:
4576 Many fixes and new features added by Thomas. Can now also do
4577 transforms with variable sizes and a custom fixate_caps function.
4579 2005-08-24 Wim Taymans <wim@fluendo.com>
4581 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4585 Cast to ClockTime before formatting to time.
4590 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4592 * check/gst-libs/controller.c: (GST_START_TEST),
4593 (gst_controller_suite):
4594 * docs/gst/tmpl/gstcaps.sgml:
4595 * docs/gst/tmpl/gstghostpad.sgml:
4596 * docs/gst/tmpl/gstquery.sgml:
4597 * docs/gst/tmpl/gstutils.sgml:
4598 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4599 (gst_object_sink_values), (gst_object_get_value_arrays),
4600 (gst_object_get_value_array):
4601 gracefully handle helper method calls to objects that are not beeing
4602 controlled, added test case for that
4604 2005-08-23 Wim Taymans <wim@fluendo.com>
4606 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4607 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4608 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4609 (gst_event_parse_qos), (gst_event_new_seek),
4610 (gst_event_parse_seek):
4612 Some more debugging output and doc cleanups.
4614 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4615 Fix possible deadlock.
4617 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4619 * docs/gst/gstreamer-docs.sgml:
4620 * docs/gst/gstreamer-sections.txt:
4621 * docs/gst/gstreamer.types:
4622 * docs/gst/tmpl/.cvsignore:
4627 added 100 symbols from gstreamer-unused.txt to the right sections
4628 fixed more broken comments
4629 added GstBus to docs
4631 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4633 * docs/gst/gstreamer-sections.txt:
4634 * docs/gst/tmpl/.cvsignore:
4635 * docs/gst/tmpl/gstbin.sgml:
4636 * docs/gst/tmpl/gstbuffer.sgml:
4637 * gst/base/gstbasesrc.c:
4638 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4641 * tools/gst-launch.1.in:
4642 inlined more doc comments, added missing comments and fixed comments
4645 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4647 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4651 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4653 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4654 * gst/gststructure.h:
4655 add a fixate function for booleans; add a FIXME that these func
4656 names should probably be gst_structure_fixate_*
4658 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4660 * docs/gst/gstreamer-docs.sgml:
4661 * docs/gst/gstreamer-sections.txt:
4663 * gst/gstbin.c: (gst_bin_get_type),
4664 (gst_bin_child_proxy_get_child_by_index),
4665 (gst_bin_child_proxy_get_children_count),
4666 (gst_bin_child_proxy_init):
4667 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4668 (gst_child_proxy_get_child_by_index),
4669 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4670 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4671 (gst_child_proxy_get), (gst_child_proxy_set_property),
4672 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4673 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4674 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4675 * gst/gstchildproxy.h:
4676 * gst/parse/grammar.y:
4677 * tools/gst-inspect.c: (print_interfaces),
4678 (print_element_properties_info), (print_element_info):
4679 ported gstchildproxy over from 0.8
4680 ported gst-inspect fixes and enhancements over from 0.8
4682 2005-08-22 Wim Taymans <wim@fluendo.com>
4684 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4685 (gst_base_transform_handle_buffer):
4686 Also call the transform function if we have ANY caps.
4688 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4691 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4693 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4694 Don't pretend to handle seek events if the source is not seekable
4696 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4698 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4699 Remove extra parameter to debug output
4701 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4702 (gst_base_src_do_seek), (gst_base_src_activate_push):
4703 Fix seek event handling.
4705 * gst/gstpipeline.c: (gst_pipeline_change_state):
4706 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4707 (gst_queue_src_activate_push):
4708 Don't start the src pad task on FLUSH_STOP if the pad
4712 2005-08-22 Wim Taymans <wim@fluendo.com>
4714 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4715 Added check for gst_static_caps_get() refcounting.
4717 2005-08-22 Wim Taymans <wim@fluendo.com>
4719 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4720 Make _static_caps_get() refcounting sane.
4722 * gst/gstelement.c: (gst_element_set_state):
4723 Add g_return_val_if_fail() to protect against segfaults.
4725 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4727 * docs/gst/tmpl/gstevent.sgml:
4730 inlined remaining docs, added missing doc comments
4732 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * check/gst/gstbin.c: (GST_START_TEST):
4735 since we don't know when preroll is done, use refcount range
4737 * gst/check/gstcheck.h:
4738 add macro for checking refcount range
4740 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4742 * check/Makefile.am:
4743 clean up environment for when registry gets built versus
4744 when actual tests are run; valgrind seems to not report
4745 leaks if GST_PLUGIN_PATH is set to some specific values
4746 * check/gst/gstbin.c: (GST_START_TEST):
4747 add more refcounting checks; maybe this exposes a
4750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4751 * gst/check/gstcheck.h:
4752 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4753 (gst_bin_change_state):
4754 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4755 add/fix debugging/whitespace
4757 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4759 * check/gst/gstevent.c: (event_probe), (test_event),
4761 Er, don't call gst_bin_watch_for_state_change you idiot.
4763 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4765 * check/Makefile.am:
4766 Use CHECK_CFLAGS and CHECK_LIBS
4767 * check/gst/gstevent.c: (event_probe), (test_event),
4770 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4771 (gst_base_src_start), (gst_base_src_stop),
4772 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4773 (gst_base_src_change_state):
4774 Sprinkle gst_base_src_stop liberally around error paths to fix
4775 problems reusing a source after failed state changes.
4776 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4777 (helper_find_suggest), (gst_type_find_helper):
4778 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4780 * docs/gst/tmpl/gstevent.sgml:
4781 Migrate part of the docs from the SGML file. Wait for ensonic to
4782 tell me how I did it wrong ;)
4783 * tools/gst-typefind.c: (main):
4784 Extra robustness to state changes between files.
4786 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4788 * check/Makefile.am:
4789 don't valgrind the controller test - it's leaking - Stefan, HELP
4790 * gst/check/gstcheck.c: (gst_check_message_error),
4791 (gst_check_chain_func), (gst_check_setup_element),
4792 (gst_check_teardown_element), (gst_check_setup_src_pad),
4793 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4794 (gst_check_teardown_sink_pad):
4795 * gst/check/gstcheck.h:
4796 add a bunch of methods to set up elements, and src and sink pads
4797 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4798 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4803 whitespace/doc fixes
4805 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4808 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4809 be handled by the application and not always printed as well
4811 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4813 * check/Makefile.am:
4815 * gst/check/gstcheck.c: (gst_check_message_error):
4816 * gst/check/gstcheck.h:
4817 add a fail_unless_equals_int
4818 add fail_unless for error messages
4820 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4822 * check/Makefile.am:
4824 * common/Makefile.am:
4827 factor out some of the common stuff so we can use it
4829 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4831 * check/Makefile.am:
4832 * check/gst/gstiterator.c: (GST_START_TEST):
4833 * check/gst/gstsystemclock.c: (GST_START_TEST),
4834 (gst_systemclock_suite):
4835 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4839 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4841 * check/elements/.cvsignore:
4842 * check/elements/gstfakesrc.c:
4843 rename to name of element
4844 * check/elements/identity.c: (chain_func), (event_func),
4845 (setup_identity), (cleanup_identity), (GST_START_TEST),
4846 (identity_suite), (main):
4847 add a test for identity
4848 * check/Makefile.am:
4849 * pkgconfig/Makefile.am:
4850 * pkgconfig/gstreamer-check.pc.in:
4851 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4855 move the check stuff to a library that gets installed
4856 * check/gst-libs/controller.c: (GST_START_TEST):
4857 * check/gst-libs/gdp.c:
4858 * check/gst/gst.c: (GST_START_TEST):
4859 * check/gst/gstbin.c:
4860 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4861 * check/gst/gstbus.c:
4862 * check/gst/gstcaps.c: (GST_START_TEST):
4863 * check/gst/gstelement.c:
4864 * check/gst/gstghostpad.c:
4865 * check/gst/gstiterator.c:
4866 * check/gst/gstmessage.c:
4867 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4868 * check/gst/gstobject.c:
4869 * check/gst/gstpad.c: (GST_START_TEST):
4870 * check/gst/gststructure.c: (GST_START_TEST):
4871 * check/gst/gstsystemclock.c: (GST_START_TEST),
4872 (gst_systemclock_suite):
4873 * check/gst/gsttag.c: (gst_tag_suite):
4874 * check/gst/gstvalue.c:
4875 * check/pipelines/cleanup.c:
4876 * check/pipelines/simple_launch_lines.c:
4877 * check/states/sinks.c:
4878 change include statement
4880 * docs/gst/gstreamer-sections.txt:
4881 * docs/gst/tmpl/gstpad.sgml:
4882 document more pad stuff
4883 * gst/gstminiobject.c: (gst_mini_object_ref),
4884 (gst_mini_object_unref):
4887 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4889 * docs/gst/tmpl/gst.sgml:
4891 eliminate another tmpl file, fix spelling in the long-description
4893 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4895 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4896 (test_event), (timediff), (gstevents_suite):
4897 Should fix build on 64-bit arch's
4899 2005-08-18 Andy Wingo <wingo@pobox.com>
4901 Make sure that when a pipeline goes to PLAYING, that data has
4902 actually hit the sink.
4904 * check/states/sinks.c (test_sink): A sink that doesn't get any
4905 data shouldn't return SUCCESS for going to either PLAYING or
4906 PAUSED. Test also the return values on the way back down.
4908 * gst/gstelement.c (gst_element_set_state): When changing the
4909 state of an element currently changing state asynchronously, go to
4910 lost-state after commiting the pending state. Makes future calls
4911 to get_state continue to return ASYNC.
4913 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4914 ASYNC when going to PLAYING if we still don't have preroll, as can
4915 happen with live sources.
4917 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4919 * docs/pwg/advanced-types.xml:
4920 Hack long paragraph into 2 chunks as a workaround for buggy
4921 jadetex version in sid and breezy that loops infinitely and
4924 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4926 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4927 (test_event), (timediff), (gstevents_suite):
4928 Provide more error margin in clock measurements to allow for
4929 g_get_current_time inaccuracies.
4931 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4933 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4934 (test_event), (timediff), (gstevents_suite):
4935 Fix error message output so I might be able to tell why the
4936 test works here but fails on the build farm.
4938 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4940 * check/Makefile.am:
4941 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4942 (test_event), (timediff), (gstevents_suite), (main):
4945 * docs/design/part-seeking.txt:
4948 * docs/gst/tmpl/gstevent.sgml:
4949 * docs/gst/tmpl/gstfakesrc.sgml:
4952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4953 Treat a buffer-without-newsegment the same as a receiving
4954 a newsegment not in time format, and disable syncing to the clock
4957 * gst/gstbus.c: (gst_bus_set_sync_handler):
4958 Assert if anyone tries to replace the existing sync_handler for bus,
4959 as only the owner should be setting it.
4962 Have a fixed set of custom event enums with events identified by
4963 their structure name (as in 0.8), rather than a free-for-all
4964 allowing collisions between enum values from different plugins.
4966 * gst/gstpad.c: (gst_pad_class_init):
4969 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4970 Handle out-of-band downstream events from the sending thread.
4972 2005-08-17 Andy Wingo <wingo@pobox.com>
4974 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4975 play-timeout==0 to mean no timeout at all. In that case, don't
4976 bother with a get_state or a warning, just return directly, even
4979 * gst/base/gstbasetransform.c: Debug changes.
4982 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4983 ensure bins post state change messages. A bit of a hack but I can't
4984 think of a way to avoid it.
4986 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4988 2005-08-16 Andy Wingo <wingo@pobox.com>
4990 * gst/base/gstadapter.h:
4991 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4992 peek() but you own the data. Not terribly efficient atm.
4994 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4996 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4997 (gst_element_found_tags):
4999 Add two utility functions for tag handling.
5001 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5003 * docs/manual/advanced-dataaccess.xml:
5004 * docs/manual/basics-helloworld.xml:
5005 Fix docs to use _bin_add() before _link(), which fixes the examples
5006 with recent core versions (reported by Madhan Raj M
5007 <raj_madan@rediffmail.com>, #313199).
5009 2005-08-16 Wim Taymans <wim@fluendo.com>
5011 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5012 Added subtract checks.
5014 * docs/design/part-events.txt:
5015 Some more docs about newsegment
5017 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5020 * gst/gstcaps.c: (gst_caps_to_string):
5021 Add comments, cleanups.
5023 * gst/gstelement.c: (gst_element_save_thyself):
5026 * gst/gstvalue.c: (gst_value_collect_int_range),
5027 (gst_string_unwrap), (gst_value_union_int_int_range),
5028 (gst_value_union_int_range_int_range),
5029 (gst_value_intersect_int_int_range),
5030 (gst_value_intersect_int_range_int_range),
5031 (gst_value_intersect_double_double_range),
5032 (gst_value_intersect_double_range_double_range),
5033 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5034 (gst_value_subtract_int_range_int),
5035 (gst_value_subtract_double_range_double),
5036 (gst_value_subtract_double_range_double_range),
5037 (gst_value_subtract_from_list), (gst_value_subtract_list),
5038 (gst_value_can_compare), (gst_value_compare_fraction):
5039 Cleanups, add comments, remove unneeded asserts.
5041 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5043 * tools/gst-launch.c: (event_loop):
5044 don't convert NULL structures to strings
5046 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5048 * docs/gst/gstreamer-sections.txt:
5049 made some defines private
5050 * docs/gst/tmpl/gstconfig.sgml:
5051 * docs/gst/tmpl/gstqueue.sgml:
5052 * docs/gst/tmpl/gsttaglist.sgml:
5053 * docs/gst/tmpl/gsttypes.sgml:
5054 * docs/gst/tmpl/gstutils.sgml:
5055 * docs/pwg/appendix-porting.xml:
5056 * gst/base/gstbasesink.h:
5057 * gst/base/gstbasesrc.c:
5058 * gst/base/gstbasesrc.h:
5059 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5060 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5061 * gst/gstelement.c: (gst_element_class_init):
5062 * gst/gstpad.c: (gst_pad_class_init):
5063 * gst/gstqueue.c: (gst_queue_class_init):
5064 * gst/gstxml.c: (gst_xml_class_init):
5065 documented all undocumented signal inline
5066 * libs/gst/controller/gst-controller.h:
5069 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5071 * docs/pwg/appendix-porting.xml:
5072 Document _set_link_function -> _set_setcaps_function.
5074 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5076 * check/Makefile.am:
5077 add a .check target for running the check
5078 * check/gst-libs/controller.c: (GST_START_TEST):
5080 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5081 complete checks for gstbuffer; would be nice if I could get the
5082 gcov stuff to work so I can see if I actually completed gstbuffer.c
5084 add ASSERT_BUFFER_REFCOUNT
5086 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5088 * docs/gst/gstreamer-sections.txt:
5089 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5091 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5092 spew out a warning if a tag that is already registered
5093 is re-registered, unless it is re-registered with a
5094 different type (#308438).
5096 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5098 * docs/pwg/appendix-porting.xml:
5099 * docs/pwg/building-state.xml:
5100 Add some paragraphs about state changes in 0.9 to the PWG
5101 and the porting guide, in particular about the new meaning
5102 of GST_STATE_PAUSED and how to write state change functions
5103 with concurrent access by multiple threads in mind.
5105 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5107 * docs/gst/gstreamer-docs.sgml:
5108 * docs/libs/gstreamer-libs-docs.sgml:
5109 added deprecation and since indexes
5110 * libs/gst/controller/gst-controller.c:
5111 * libs/gst/controller/gst-helper.c:
5115 2005-08-11 Wim Taymans <wim@fluendo.com>
5117 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5118 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5119 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5120 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5121 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5122 (gst_ghost_pad_set_target):
5123 Actually implement (re)setting the target on a ghostpad
5124 as described in the docs.
5126 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5128 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5129 Check whether GST_DEBUG_NO_COLOR environment variable is
5130 set and disable coloured debug output if that is the case.
5132 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5134 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5135 (gst_type_find_helper):
5136 The memory returned by gst_type_find_peek() needs to
5137 stay valid until the end of a typefind function, and
5138 typefind functions may keep results from different
5139 offsets around, so we can't just unref the buffer from
5140 the previous _peek(), but have to save all buffers
5141 returned by _peek() until typefinding is done and only
5144 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5146 * docs/gst/gstreamer-sections.txt:
5148 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5150 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5152 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5153 Fix a pretty good memleak.
5155 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5157 * gst/gstiterator.h:
5158 Fix wrong include and 'make distcheck'.
5160 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5162 * gst/gstbin.c: (bin_bus_handler):
5163 Use gst_element_post_message() instead.
5165 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5167 * gst/base/gstadapter.h:
5168 * gst/base/gstbasesink.h:
5169 * gst/base/gstbasesrc.h:
5170 * gst/base/gstbasetransform.h:
5171 * gst/base/gstcollectpads.h:
5172 * gst/base/gstpushsrc.h:
5173 * gst/gstiterator.h:
5174 Add padding to our base elements' class and instance structs and
5175 to GstIterator (you will need to rebuild all plugins and apps!)
5177 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5179 * gst/gstbin.c: (bin_bus_handler):
5180 Make default message forwarding from child->bus to bin->bus
5181 threadsafe and make it not emit warnings if the parent has no bus.
5183 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5185 * gst/gstelement.c: (activate_pads):
5186 On paused->ready, set pad->caps to NULL, as is the documented
5187 behaviour in this state change. Fixes playback of series of
5188 media files when visualization is enabled in Totem.
5190 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5192 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5193 Allow NULL as filter-caps (which means "any").
5195 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5197 * docs/libs/gstreamer-libs-sections.txt:
5198 * libs/gst/controller/gst-controller.c:
5199 * libs/gst/controller/gst-controller.h:
5200 * libs/gst/controller/gst-helper.c:
5201 adding more entries to the docs and fix small doc-bugs
5203 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5205 * docs/gst/gstreamer-docs.sgml:
5206 * docs/gst/gstreamer-sections.txt:
5207 * docs/gst/gstreamer.types:
5208 * docs/gst/tmpl/gstbasesink.sgml:
5209 * docs/gst/tmpl/gstbasesrc.sgml:
5210 * docs/gst/tmpl/gstbasetransform.sgml:
5211 * docs/gst/tmpl/gstfakesrc.sgml:
5212 * gst/base/gstcollectpads.c:
5213 * gst/base/gstcollectpads.h:
5214 * libs/gst/controller/gst-controller.c:
5215 * libs/gst/controller/gst-controller.h:
5216 * libs/gst/controller/gst-helper.c:
5217 * libs/gst/controller/gst-interpolation.c:
5218 * libs/gst/controller/lib.c:
5219 added long/short desc for controller docs
5220 added collectpads base class docs
5221 added correct includes to base-class docs
5223 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5225 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5226 (gst_test_mono_source_set_property),
5227 (gst_test_mono_source_class_init), (GST_START_TEST),
5228 (gst_controller_suite):
5229 * docs/gst/gstreamer-docs.sgml:
5230 * docs/gst/gstreamer-sections.txt:
5231 * docs/gst/gstreamer.types:
5232 * docs/libs/gstreamer-libs-docs.sgml:
5233 * docs/libs/gstreamer-libs-sections.txt:
5234 * gst/base/gstadapter.c:
5235 * libs/gst/controller/gst-controller.c:
5236 (gst_controlled_property_new), (gst_controlled_property_free),
5237 (gst_controller_new_valist),
5238 (gst_controller_remove_properties_valist),
5239 (gst_controller_sink_values), (_gst_controller_finalize):
5240 * libs/gst/controller/gst-controller.h:
5241 * libs/gst/controller/gst-helper.c:
5242 (gst_object_control_properties), (gst_object_uncontrol_properties),
5243 (gst_object_get_controller), (gst_object_set_controller),
5244 (gst_object_sink_values), (gst_object_get_value_arrays),
5245 (gst_object_get_value_array):
5246 more tests (and fixes) for the controller
5247 more docs for the controller
5248 integrated companies docs for the adapter
5250 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5252 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5253 (GST_START_TEST), (fakesrc_suite):
5254 add tests for sizetype
5256 2005-08-04 Andy Wingo <wingo@pobox.com>
5258 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5259 fixes buffer_alloc proxying among other things.
5261 * gst/base/gstbasetransform.c:
5262 * gst/base/gstbasetransform.h:
5263 Revert patch to gstbasetransform from 7-28 removing
5266 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5267 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5268 Semantics changed, should return not the size of the output buffer
5269 but the byte size of a buffer with a given caps.
5271 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5273 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5274 out) are not the pad caps until setcaps finishes.
5275 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5276 not-in-place case as well. Deal with changing from in-place to
5277 not-in-place within calling pad_alloc_buffer. Still a bit
5278 concerned about the overhead here...
5280 2005-08-03 Andy Wingo <wingo@pobox.com>
5282 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5283 fixating is an error.
5285 2005-08-04 Edward Hervey <edward@fluendo.com>
5287 * gst/base/gstadapter.h:
5288 Added gst_adapter_get_type() to the header
5290 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5292 * check/Makefile.am:
5293 * check/gst-libs/controller.c:
5294 * libs/gst/controller/gst-controller.c:
5295 (gst_controller_new_valist):
5296 added check test suite for the controller
5297 * gst/base/gstpushsrc.c:
5300 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5302 * docs/gst/Makefile.am:
5303 * docs/gst/gstreamer-docs.sgml:
5304 * docs/gst/gstreamer-sections.txt:
5305 * docs/gst/gstreamer.types:
5306 * docs/gst/tmpl/gstfakesrc.sgml:
5308 * gst/base/gstbasesink.c:
5309 * gst/base/gstbasesink.h:
5310 * gst/base/gstbasesrc.c:
5311 * gst/base/gstbasesrc.h:
5312 * gst/base/gstbasetransform.c:
5313 * gst/base/gstpushsrc.c:
5314 * gst/base/gstpushsrc.h:
5315 add short/long description docs to base classes
5316 add pushsrc to the docs
5317 remove consolidated doc fragments
5319 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5322 * docs/libs/Makefile.am:
5323 * docs/libs/gstreamer-libs-docs.sgml:
5324 * docs/libs/gstreamer-libs-sections.txt:
5325 * docs/libs/gstreamer-libs.types:
5326 * examples/Makefile.am:
5327 * examples/controller/.cvsignore:
5328 * examples/controller/Makefile.am:
5329 * examples/controller/audio-example.c: (main):
5330 * libs/gst/Makefile.am:
5331 * libs/gst/controller/.cvsignore:
5332 * libs/gst/controller/Makefile.am:
5333 * libs/gst/controller/gst-controller.c:
5334 (on_object_controlled_property_changed), (gst_timed_value_compare),
5335 (gst_timed_value_find),
5336 (gst_controlled_property_set_interpolation_mode),
5337 (gst_controlled_property_new), (gst_controlled_property_free),
5338 (gst_controller_find_controlled_property),
5339 (gst_controller_new_valist), (gst_controller_new),
5340 (gst_controller_remove_properties_valist),
5341 (gst_controller_remove_properties), (gst_controller_set),
5342 (gst_controller_set_from_list), (gst_controller_unset),
5343 (gst_controller_get), (gst_controller_get_all),
5344 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5345 (gst_controller_get_value_array),
5346 (gst_controller_set_interpolation_mode),
5347 (_gst_controller_finalize), (_gst_controller_init),
5348 (_gst_controller_class_init), (gst_controller_get_type):
5349 * libs/gst/controller/gst-controller.h:
5350 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5351 (g_object_uncontrol_properties), (g_object_get_controller),
5352 (g_object_set_controller), (g_object_sink_values),
5353 (g_object_get_value_arrays), (g_object_get_value_array):
5354 * libs/gst/controller/gst-interpolation.c:
5355 (gst_controlled_property_find_timed_value_node),
5356 (interpolate_none_get), (interpolate_trigger_get),
5357 (interpolate_trigger_get_value_array):
5358 * libs/gst/controller/lib.c: (gst_controller_init):
5359 * pkgconfig/Makefile.am:
5360 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5361 * pkgconfig/gstreamer-control.pc.in:
5362 * testsuite/Makefile.am:
5363 * testsuite/controller/.cvsignore:
5364 * testsuite/controller/Makefile.am:
5365 * testsuite/controller/interpolator.c: (main):
5366 added controller code
5367 removed dparam pc files
5369 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5370 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5371 (gst_collectpads_stop):
5372 Broadcast the condition when shutting down, to make sure we wake all
5373 threads up. Shut down pads on finalize, for safety.
5375 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5376 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5377 (gst_base_transform_handle_buffer),
5378 (gst_base_transform_change_state):
5379 Handle PAUSED->READY->PAUSED transition after negotiation
5381 * gst/gstmessage.c: (gst_message_init):
5382 Extra piece of debug for new messages.
5384 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5387 * docs/gst/tmpl/gstbasesrc.sgml:
5388 * docs/gst/tmpl/gstelement.sgml:
5389 * docs/gst/tmpl/gstevent.sgml:
5390 * docs/gst/tmpl/gstfakesrc.sgml:
5391 * docs/gst/tmpl/gstformat.sgml:
5392 * docs/gst/tmpl/gstghostpad.sgml:
5393 * docs/gst/tmpl/gstpad.sgml:
5394 * docs/gst/tmpl/gstquery.sgml:
5395 * docs/gst/tmpl/gststructure.sgml:
5396 * docs/gst/tmpl/gsttaglist.sgml:
5397 * docs/gst/tmpl/gstvalue.sgml:
5398 * docs/libs/gstreamer-libs-docs.sgml:
5399 * docs/libs/gstreamer-libs-sections.txt:
5400 * docs/libs/gstreamer-libs.types:
5401 * libs/gst/Makefile.am:
5402 * libs/gst/control/.cvsignore:
5403 * libs/gst/control/Makefile.am:
5404 * libs/gst/control/control.c:
5405 * libs/gst/control/control.h:
5406 * libs/gst/control/dparam.c:
5407 * libs/gst/control/dparam.h:
5408 * libs/gst/control/dparam_smooth.c:
5409 * libs/gst/control/dparam_smooth.h:
5410 * libs/gst/control/dparamcommon.h:
5411 * libs/gst/control/dparammanager.c:
5412 * libs/gst/control/dparammanager.h:
5413 * libs/gst/control/dplinearinterp.c:
5414 * libs/gst/control/dplinearinterp.h:
5415 * libs/gst/control/unitconvert.c:
5416 * libs/gst/control/unitconvert.h:
5417 * testsuite/Makefile.am:
5418 * testsuite/dynparams/.cvsignore:
5419 * testsuite/dynparams/Makefile.am:
5420 * testsuite/dynparams/dparamstest.c:
5421 * tools/Makefile.am:
5422 * tools/gst-inspect.c: (print_element_info), (main):
5423 * tools/gst-xmlinspect.c: (print_element_info), (main):
5424 deactivate and remove dparams (libgstcontrol)
5426 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5428 * gst/elements/gsttypefindelement.c:
5429 (gst_type_find_element_have_type), (gst_type_find_element_init),
5430 (stop_typefinding), (gst_type_find_element_handle_event),
5431 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5432 * gst/elements/gsttypefindelement.h:
5433 Set caps on all outgoing buffers, not just the first one.
5435 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/elements/gsttypefindelement.c:
5438 (gst_type_find_element_have_type),
5439 (gst_type_find_element_check_set_buffer_caps),
5440 (gst_type_find_element_init), (stop_typefinding),
5441 (gst_type_find_element_handle_event),
5442 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5443 * gst/elements/gsttypefindelement.h:
5444 Set caps on first outgoing buffer when we've found the type.
5446 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5448 * docs/gst/gstreamer-docs.sgml:
5449 * docs/gst/gstreamer-sections.txt:
5450 * docs/gst/tmpl/gstscheduler.sgml:
5451 * docs/gst/tmpl/gstschedulerfactory.sgml:
5452 Remove some old cruft from docs.
5454 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5457 Fix inline docs for GstPadLinkReturn.
5459 * gst/gststructure.c: (gst_structure_has_name):
5460 * gst/gststructure.h:
5461 * docs/gst/gstreamer-sections.txt:
5462 New API: gst_structure_has_name().
5464 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5467 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5468 and _LARGEFILE_SOURCE in config.h as required. Do not
5469 export those flags in our .pc files any longer (#142209).
5471 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5473 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5474 (gst_file_sink_do_seek), (gst_file_sink_event),
5475 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5476 Redo seek/tell calls with large file support in mind; add some
5477 debugging messages; add log message that tells us when large
5478 file support is unavailable or not enabled for some reason.
5480 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5481 Add log message that tells us when large file support
5482 is unavailable or not enabled for some reason.
5484 2005-07-29 Wim Taymans <wim@fluendo.com>
5486 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5487 Added test for removing an element with ghostpad from a bin.
5488 Fixed test as current implementation does the right thing.
5490 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5491 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5492 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5493 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5494 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5495 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5496 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5497 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5498 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5499 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5500 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5501 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5502 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5503 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5504 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5505 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5506 * gst/gstghostpad.h:
5507 Clean up ghostpads, remove properties for internal stuff.
5510 Prepare for switching targets, not all use cases work yet.
5512 2005-07-29 Wim Taymans <wim@fluendo.com>
5514 * docs/design/part-gstghostpad.txt:
5517 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5518 (gst_bin_remove_func):
5519 Unlinking pads while holding the bin LOCK is not a good
5522 * gst/gstpad.c: (gst_pad_class_init),
5523 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5524 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5525 No prob setting template after creating the pad.
5527 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5529 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5530 (gst_bus_peek), (gst_bus_source_dispatch),
5531 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5532 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5533 gst_bus_poll may be called from other threads. Handle
5534 this nicely by not making poll_data disappear off the
5535 stack once gst_bus_poll returns.
5536 gst_bus_peek now increments the refcount on the returned
5539 2005-07-29 Wim Taymans <wim@fluendo.com>
5541 * docs/design/part-gstghostpad.txt:
5542 Overview of current GhostPad datastructures and use
5543 cases for changing the target.
5545 2005-07-28 Wim Taymans <wim@fluendo.com>
5547 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5548 Added checks for hierarchy consistency whan adding linked
5551 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5552 Added check to test element scheduling without bin/pipeline.
5554 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5555 First add elements to bin, then link.
5557 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5558 (gst_bin_remove_func):
5559 Unlink pads from elements added/removed from bin to maintain
5560 hierarchy consistency.
5562 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5564 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5565 (gst_base_transform_handle_buffer):
5566 * gst/base/gstbasetransform.h:
5567 Remove broken delay_configure (fixes renegotiation of software
5568 scaling pipelines); remove some leftover printf()s.
5570 2005-07-28 Wim Taymans <wim@fluendo.com>
5572 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5573 Added some more tests for wrong hierarchy
5575 * docs/design/part-overview.txt:
5578 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5581 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5582 (gst_element_dispose):
5585 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5586 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5587 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5588 (gst_pad_set_caps), (gst_pad_send_event):
5589 Check for correct hierarchy when linking pads. Moving to
5590 strict requirement for ghostpads when linking elements in
5594 Clean ups. Added WRONG_HIERARCHY return value.
5596 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5598 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5599 Better debug if no transform is possible.
5601 2005-07-27 Wim Taymans <wim@fluendo.com>
5603 * docs/random/wtay/network-transp:
5606 2005-07-27 Wim Taymans <wim@fluendo.com>
5608 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5609 (gst_dp_event_from_packet):
5610 Fix serialization of seek events.
5612 2005-07-27 Wim Taymans <wim@fluendo.com>
5614 * check/gst-libs/gdp.c: (GST_START_TEST):
5615 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5616 Fix compilation and fix event serialization.
5618 2005-07-27 Wim Taymans <wim@fluendo.com>
5621 * docs/design/part-TODO.txt:
5622 * docs/design/part-events.txt:
5625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5626 (gst_base_sink_event), (gst_base_sink_do_sync),
5627 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5628 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5629 (gst_base_src_do_seek), (gst_base_src_event_handler),
5630 (gst_base_src_loop):
5631 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5632 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5633 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5634 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5635 (gst_base_transform_set_passthrough),
5636 (gst_base_transform_is_passthrough):
5637 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5638 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5644 * gst/gstelement.c: (gst_element_seek):
5646 Update gst_element_seek.
5648 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5649 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5650 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5651 (gst_event_new_eos), (gst_event_new_newsegment),
5652 (gst_event_parse_newsegment), (gst_event_new_tag),
5653 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5654 (gst_event_parse_qos), (gst_event_new_seek),
5655 (gst_event_parse_seek), (gst_event_new_navigation):
5657 Make GstEvent use GstStructure. Add parsing code, make sure the
5658 API is sufficiently generic.
5659 Mark possible directions of events and serialization.
5661 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5662 (_gst_message_copy), (gst_message_new_segment_start),
5663 (gst_message_new_segment_done), (gst_message_new_custom),
5664 (gst_message_parse_segment_start),
5665 (gst_message_parse_segment_done):
5668 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5669 (gst_pad_set_caps), (gst_pad_send_event):
5670 Update for new events.
5671 Catch events sent in wrong directions.
5673 * gst/gstqueue.c: (gst_queue_link_src),
5674 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5675 (gst_queue_handle_src_query):
5680 Remove event code from this file.
5682 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5683 (gst_dp_event_from_packet):
5686 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5688 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5689 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5690 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5691 Make debugging actually useful.
5693 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5695 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5696 (gst_pad_fixate_caps):
5697 Implement default fixation once again, so that gst_pad_fixate()
5698 actually does anything at all. This probably needs to be some
5699 sort of a last resort, and use profile-based fixation first, but
5700 since that doesn't exist yet, this is the best we have. Fixes
5701 visualization in Totem.
5703 2005-07-22 Wim Taymans <wim@fluendo.com>
5705 * docs/design/part-events.txt:
5708 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5709 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5710 (gst_base_sink_activate_pull):
5713 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5714 (gst_fake_src_create):
5715 Fix handoff marshall.
5717 * gst/elements/gstidentity.c: (gst_identity_class_init),
5718 (gst_identity_transform_ip):
5719 We're a real inplace element.
5721 * gst/gstbus.c: (gst_bus_post):
5722 Added some comments.
5724 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5725 * tests/muxing/case1.c: (main):
5726 * tests/sched/dynamic-pipeline.c: (main):
5727 * tests/sched/interrupt1.c: (main):
5728 * tests/sched/interrupt2.c: (main):
5729 * tests/sched/interrupt3.c: (main):
5730 * tests/sched/runxml.c: (main):
5731 * tests/sched/sched-stress.c: (main):
5732 * tests/seeking/seeking1.c: (event_received), (main):
5733 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5735 * tests/threadstate/threadstate3.c: (main):
5736 * tests/threadstate/threadstate4.c: (main):
5737 * tests/threadstate/threadstate5.c: (main):
5740 2005-07-21 Wim Taymans <wim@fluendo.com>
5742 * docs/design/part-seeking.txt:
5743 Some small additions.
5745 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5746 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5747 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5748 * gst/base/gstbasesink.h:
5749 discont values are gint64, handle the math correctly.
5751 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5752 Make the basesrc report error if the source pad is not linked.
5754 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5755 (gst_queue_loop), (gst_queue_handle_src_query),
5756 (gst_queue_src_activate_push):
5757 Make queue collect data even if the srcpad is not linked.
5758 Start pushing out data as soon as it is linked.
5760 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5762 Added gst_flow_get_name() to ease error reporting.
5764 2005-07-20 Wim Taymans <wim@fluendo.com>
5766 * gst/gstmessage.c: (gst_message_new_segment_start),
5767 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5768 (gst_message_parse_segment_done):
5770 Added a bunch of messages for advanced seeking.
5772 * gst/parse/grammar.y:
5773 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5774 (gst_dpman_state_changed):
5775 Fix some new-pad -> pad-added signals
5777 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5779 * docs/manual/appendix-porting.xml:
5780 * docs/pwg/appendix-porting.xml:
5781 Document new-pad/state-change signal renames and the FixedList
5784 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5786 * docs/manual/advanced-autoplugging.xml:
5787 * docs/manual/basics-helloworld.xml:
5788 * docs/manual/basics-pads.xml:
5789 * docs/random/ds/0.9-suggested-changes:
5790 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5795 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5796 (gst_structure_parse_array), (gst_structure_parse_value):
5797 * gst/gstvalue.c: (gst_type_is_fixed),
5798 (gst_value_list_prepend_value), (gst_value_list_append_value),
5799 (gst_value_list_get_size), (gst_value_list_get_value),
5800 (gst_value_transform_array_string), (gst_value_serialize_array),
5801 (gst_value_deserialize_array), (gst_value_intersect_array),
5802 (gst_value_is_fixed), (_gst_value_initialize):
5804 GstElement::new-pad -> pad-added, GstElement::state-change ->
5805 state-changed, GstValueFixedList -> GstValueArray, add format and
5806 flags as their own arguments in gst_element_seek() (should improve
5807 "bindeability"), remove function generators since they don't work
5808 under a whole bunch of compilers (they were deprecated already
5811 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5813 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5814 (_gst_debug_register_funcptr):
5816 Fix illegal cast on some platforms (#309253).
5818 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5820 * gst/gstmessage.c: (gst_message_new_custom):
5822 Add _new_custom, make _new_application a macro to _new_custom.
5824 2005-07-20 Wim Taymans <wim@fluendo.com>
5826 * gst/base/gstbasesrc.c: (gst_base_src_init),
5827 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5828 * gst/base/gstbasesrc.h:
5829 Add a gboolean to decide when to push out a discont.
5831 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5832 (gst_queue_loop), (gst_queue_handle_src_query),
5833 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5834 (gst_queue_set_property), (gst_queue_get_property):
5837 * tests/threadstate/threadstate1.c: (main):
5838 Make a thread test compile and run... very silly..
5841 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5843 * docs/manual/appendix-porting.xml:
5844 Mention removal of libgstgconf-0.9.la and existence of gconf
5847 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5849 * docs/pwg/advanced-clock.xml:
5850 * docs/pwg/appendix-porting.xml:
5851 * docs/pwg/intro-preface.xml:
5852 * docs/pwg/other-base.xml:
5853 * docs/pwg/other-manager.xml:
5854 * docs/pwg/other-nton.xml:
5855 * docs/pwg/other-ntoone.xml:
5856 * docs/pwg/other-oneton.xml:
5858 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5859 demuxer), remove n-to-n (was never written), fix some code examples
5860 and links and update the porting section to include all this.
5862 2005-07-19 Wim Taymans <wim@fluendo.com>
5864 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5865 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5866 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5867 (gst_queue_src_activate_push), (gst_queue_change_state),
5868 (gst_queue_get_property):
5870 Propagate GstFlowReturn more intelligently upstream and output
5871 an ERROR/EOS when streaming stopped due to fatal error.
5873 2005-07-19 Wim Taymans <wim@fluendo.com>
5875 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5876 Don't block forever for the state change to complete, the
5877 pipeline already did with a sensible timeout.
5879 2005-07-19 Wim Taymans <wim@fluendo.com>
5881 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5882 Make sure we never call the create function is we
5885 2005-07-19 Andy Wingo <wingo@pobox.com>
5887 * gst/parse/parse.l: Attempt to solve bug #172815.
5889 2005-07-19 Wim Taymans <wim@fluendo.com>
5891 * docs/design/part-clocks.txt:
5892 * docs/design/part-events.txt:
5893 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5895 Only update the seeking values when we are not
5898 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5900 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5901 Oops, ignore the result of gst_pad_push_event here.
5903 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5905 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5906 (gst_base_src_activate_push):
5907 Send discont event from the loop function, as pads
5908 aren't activated yet in the activate_push handler.
5910 * gst/gstbin.c: (bin_bus_handler):
5911 Don't leak element name.
5913 2005-07-18 Andy Wingo <wingo@pobox.com>
5915 * configure.ac: Use AS_LIBTOOL_TAGS.
5917 2005-07-18 Wim Taymans <wim@fluendo.com>
5919 * docs/gst/gstreamer.types:
5920 Remove deleted types.
5922 2005-07-18 Wim Taymans <wim@fluendo.com>
5924 * check/elements/gstfakesrc.c: (GST_START_TEST):
5927 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5928 (init_popt_callback):
5930 * gst/gst_private.h:
5931 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5932 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5935 * gst/gstconfig.h.in:
5936 * gst/gstelement.c: (gst_element_class_init),
5937 (gst_element_set_base_time), (gst_element_get_base_time),
5938 (iterator_fold_with_resync), (gst_element_change_state),
5939 (gst_element_dispose), (gst_element_get_bus):
5941 * gst/gstelementfactory.h:
5942 * gst/gsterror.c: (_gst_core_errors_init):
5945 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5947 * gst/gstinfo.c: (_gst_debug_init):
5948 * gst/gstmessage.c: (_gst_message_copy):
5950 * gst/gstminiobject.h:
5953 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5954 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5957 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5958 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5959 (gst_pipeline_get_last_stream_time):
5960 * gst/gstpipeline.h:
5961 * gst/gstpluginfeature.h:
5963 * gst/gstscheduler.c:
5964 * gst/gstscheduler.h:
5965 * gst/gststructure.h:
5966 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5967 (gst_task_finalize), (gst_task_func), (gst_task_create),
5968 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5969 (gst_task_stop), (gst_task_pause):
5971 * gst/gsttypefind.h:
5973 * gst/registries/gstlibxmlregistry.c: (load_feature),
5974 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5975 * gst/registries/gstxmlregistry.c:
5976 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5977 * gst/schedulers/threadscheduler.c:
5978 * libs/gst/control/dparammanager.h:
5979 * tools/gst-inspect.c: (print_element_list),
5980 (print_plugin_features), (print_element_features):
5981 * tools/gst-xmlinspect.c: (print_element_list),
5982 (print_plugin_info), (main):
5983 Removed plugable schedulers.
5984 Removed Scheduler/Manager from elements.
5985 Removed gsttypes.h, rearranged includes.
5986 Removed dependency pad<->element, element<>pipeline, and
5987 various others, fix includes.
5988 implement gst_pad_get_parent() with gst_object_get_parent()
5989 Make GstTask sefcontained.
5990 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5992 Fix endless loop in iterator_fold_with_resync.
5995 2005-07-18 Wim Taymans <wim@fluendo.com>
6001 2005-07-18 Wim Taymans <wim@fluendo.com>
6006 2005-07-18 Wim Taymans <wim@fluendo.com>
6012 2005-07-18 Wim Taymans <wim@fluendo.com>
6014 * docs/design/part-dynamic.txt:
6015 * docs/design/part-events.txt:
6016 * docs/design/part-seeking.txt:
6017 Some more docs in the works.
6019 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6020 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6021 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6022 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6023 (gst_base_transform_handle_buffer),
6024 (gst_base_transform_sink_activate_push),
6025 (gst_base_transform_src_activate_pull),
6026 (gst_base_transform_set_passthrough),
6027 (gst_base_transform_is_passthrough):
6030 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6033 * gst/gstevent.c: (gst_event_finalize):
6036 * gst/gstutils.c: (gst_element_unlink),
6037 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6038 (gst_pad_proxy_setcaps):
6040 Add _get_parent_element() to get a pads parent as an element.
6042 2005-07-18 Wim Taymans <wim@fluendo.com>
6044 * check/gst/gstbin.c: (GST_START_TEST):
6047 2005-07-18 Wim Taymans <wim@fluendo.com>
6049 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6050 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6051 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6052 (gst_base_sink_event), (gst_base_sink_do_sync),
6053 (gst_base_sink_chain), (gst_base_sink_loop),
6054 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6055 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6057 Fix logic for returning ASYNC when not prerolled.
6059 2005-07-18 Wim Taymans <wim@fluendo.com>
6061 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6062 Fix nasty refcount bug.
6064 2005-07-16 Philippe Khalaf <burger@speedy.org>
6066 * gst/elements/gstfdsrc.c:
6067 * gst/elements/gstfdsrc.h:
6068 * gst/elements/gstelements.c:
6069 * gst/elements/Makefile.am:
6070 Ported fdsrc to 0.9.
6072 2005-07-16 Wim Taymans <wim@fluendo.com>
6074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6075 (gst_base_sink_do_sync):
6078 2005-07-16 Wim Taymans <wim@fluendo.com>
6080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6081 (gst_base_sink_event), (gst_base_sink_get_times),
6082 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6083 * gst/base/gstbasesink.h:
6084 Store and use discont values when syncing buffers as described
6087 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6088 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6089 (gst_base_src_activate_push):
6090 Push discont event when starting.
6092 * gst/elements/gstidentity.c: (gst_identity_transform):
6095 * gst/gstbin.c: (gst_bin_change_state):
6096 Small cleanups in base_time distribution.
6098 * gst/gstelement.c: (gst_element_set_base_time),
6099 (gst_element_get_base_time), (gst_element_change_state):
6101 Added methods for the base_time of the element.
6104 * gst/gstpipeline.c: (gst_pipeline_send_event),
6105 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6106 (gst_pipeline_get_last_stream_time):
6107 * gst/gstpipeline.h:
6109 Handle seeking as described in design doc, remove stream_time
6111 Cleanups clock and stream_time selection code. Added accessors
6112 for the stream_time.
6115 2005-07-16 Andy Wingo <wingo@pobox.com>
6117 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6120 2005-07-16 Wim Taymans <wim@fluendo.com>
6122 * check/gst/gstbin.c: (GST_START_TEST):
6123 Make elements silent as the deep_notify refs the
6124 parent, which might make the test fail.
6126 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6127 Don't hold the lock for too long.
6129 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6131 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6132 Don't unref the caps we passed to gst_caps_make_writable() after
6133 passing them. gst_caps_make_writable() will do that for us.
6135 2005-07-15 Andy Wingo <wingo@pobox.com>
6137 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6140 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6141 own marshalling function for the handoff signal. Properly type the
6142 buffer as a buffer. Fixes some warnings. Should do a more general
6144 (gst_identity_class_init): Plug into the right marshaller.
6146 2005-07-15 Wim Taymans <wim@fluendo.com>
6148 * docs/design/part-TODO.txt:
6149 * docs/design/part-clocks.txt:
6150 * docs/design/part-element-sink.txt:
6151 * docs/design/part-events.txt:
6152 * docs/design/part-gstpipeline.txt:
6153 Updated docs, mostly DISCONT related.
6155 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6157 * docs/pwg/building-pads.xml:
6158 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6160 2005-07-15 Andy Wingo <wingo@pobox.com>
6162 * tools/gst-typefind.c: Update, add copyright block.
6164 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6165 Normalize and truncate caps before fixation.
6168 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6169 discards all but the first structure from its argument.
6171 2005-07-15 Wim Taymans <wim@fluendo.com>
6173 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6174 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6175 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6176 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6177 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6178 (gst_base_transform_chain), (gst_base_transform_change_state),
6179 (gst_base_transform_set_passthrough),
6180 (gst_base_transform_is_passthrough):
6181 * gst/base/gstbasetransform.h:
6182 Make passthrough work using the bufferpools.
6183 Changed API a bit, subclasses have to write into a buffer
6184 provided by the base class.
6185 More debug info in nego functions.
6187 * gst/elements/gstidentity.c: (gst_identity_init),
6188 (gst_identity_transform):
6189 Port to new base class.
6191 2005-07-15 Wim Taymans <wim@fluendo.com>
6193 * gst/gstmessage.c: (gst_message_new_state_changed):
6194 * tools/gst-launch.c: (event_loop), (main):
6195 Totally dump messages in -launch with the -m option.
6196 Fix message name for State messages,
6198 2005-07-14 Wim Taymans <wim@fluendo.com>
6200 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6201 Post error messages on errors.
6203 2005-07-14 Wim Taymans <wim@fluendo.com>
6205 * gst/gstcaps.c: (gst_caps_do_simplify):
6209 Define error for stream stopped.
6211 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6212 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6213 Do proper return values.
6215 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6216 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6217 (gst_pad_get_range):
6218 Better return values.
6221 Reorganise return values, add macro to check for fatal errors.
6223 * gst/gstqueue.c: (gst_queue_chain):
6224 Return proper GstFlowReturn values,
6226 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6228 * docs/gst/gstreamer-sections.txt:
6229 * docs/gst/gstreamer.types:
6230 * docs/gst/tmpl/gst.sgml:
6231 * docs/gst/tmpl/gstbasesink.sgml:
6232 * docs/gst/tmpl/gstbasesrc.sgml:
6233 * docs/gst/tmpl/gstbasetransform.sgml:
6234 * docs/gst/tmpl/gstbin.sgml:
6235 * docs/gst/tmpl/gstbuffer.sgml:
6236 * docs/gst/tmpl/gstcaps.sgml:
6237 * docs/gst/tmpl/gstclock.sgml:
6238 * docs/gst/tmpl/gstcompat.sgml:
6239 * docs/gst/tmpl/gstconfig.sgml:
6240 * docs/gst/tmpl/gstelement.sgml:
6241 * docs/gst/tmpl/gstelementdetails.sgml:
6242 * docs/gst/tmpl/gstelementfactory.sgml:
6243 * docs/gst/tmpl/gstenumtypes.sgml:
6244 * docs/gst/tmpl/gsterror.sgml:
6245 * docs/gst/tmpl/gstevent.sgml:
6246 * docs/gst/tmpl/gstfakesink.sgml:
6247 * docs/gst/tmpl/gstfakesrc.sgml:
6248 * docs/gst/tmpl/gstfilesink.sgml:
6249 * docs/gst/tmpl/gstfilesrc.sgml:
6250 * docs/gst/tmpl/gstfilter.sgml:
6251 * docs/gst/tmpl/gstformat.sgml:
6252 * docs/gst/tmpl/gstghostpad.sgml:
6253 * docs/gst/tmpl/gstimplementsinterface.sgml:
6254 * docs/gst/tmpl/gstindex.sgml:
6255 * docs/gst/tmpl/gstindexfactory.sgml:
6256 * docs/gst/tmpl/gstinfo.sgml:
6257 * docs/gst/tmpl/gstiterator.sgml:
6258 * docs/gst/tmpl/gstmacros.sgml:
6259 * docs/gst/tmpl/gstmemchunk.sgml:
6260 * docs/gst/tmpl/gstminiobject.sgml:
6261 * docs/gst/tmpl/gstobject.sgml:
6262 * docs/gst/tmpl/gstpad.sgml:
6263 * docs/gst/tmpl/gstpadtemplate.sgml:
6264 * docs/gst/tmpl/gstparse.sgml:
6265 * docs/gst/tmpl/gstpipeline.sgml:
6266 * docs/gst/tmpl/gstplugin.sgml:
6267 * docs/gst/tmpl/gstpluginfeature.sgml:
6268 * docs/gst/tmpl/gstquery.sgml:
6269 * docs/gst/tmpl/gstqueue.sgml:
6270 * docs/gst/tmpl/gstregistry.sgml:
6271 * docs/gst/tmpl/gstregistrypool.sgml:
6272 * docs/gst/tmpl/gstscheduler.sgml:
6273 * docs/gst/tmpl/gstschedulerfactory.sgml:
6274 * docs/gst/tmpl/gststructure.sgml:
6275 * docs/gst/tmpl/gstsystemclock.sgml:
6276 * docs/gst/tmpl/gsttaglist.sgml:
6277 * docs/gst/tmpl/gsttagsetter.sgml:
6278 * docs/gst/tmpl/gsttrace.sgml:
6279 * docs/gst/tmpl/gsttrashstack.sgml:
6280 * docs/gst/tmpl/gsttypefind.sgml:
6281 * docs/gst/tmpl/gsttypefindfactory.sgml:
6282 * docs/gst/tmpl/gsttypes.sgml:
6283 * docs/gst/tmpl/gsturihandler.sgml:
6284 * docs/gst/tmpl/gsturitype.sgml:
6285 * docs/gst/tmpl/gstutils.sgml:
6286 * docs/gst/tmpl/gstvalue.sgml:
6287 * docs/gst/tmpl/gstversion.sgml:
6288 * docs/gst/tmpl/gstxml.sgml:
6289 * docs/libs/tmpl/gstcontrol.sgml:
6290 * docs/libs/tmpl/gstdataprotocol.sgml:
6291 * docs/libs/tmpl/gstdparam.sgml:
6292 * docs/libs/tmpl/gstdplinint.sgml:
6293 * docs/libs/tmpl/gstdpman.sgml:
6294 * docs/libs/tmpl/gstdpsmooth.sgml:
6295 * docs/libs/tmpl/gstgetbits.sgml:
6296 * docs/libs/tmpl/gstunitconvert.sgml:
6297 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6298 (gst_push_src_base_init), (gst_push_src_class_init),
6299 (gst_push_src_init), (gst_push_src_create):
6300 * gst/base/gstpushsrc.h:
6301 * gst/elements/gstelements.c:
6302 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6303 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6304 (gst_fake_sink_init), (gst_fake_sink_set_property),
6305 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6306 (gst_fake_sink_event), (gst_fake_sink_preroll),
6307 (gst_fake_sink_render), (gst_fake_sink_change_state):
6308 * gst/elements/gstfakesink.h:
6309 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6310 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6311 (gst_fake_src_base_init), (gst_fake_src_class_init),
6312 (gst_fake_src_init), (gst_fake_src_event_handler),
6313 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6314 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6315 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6316 (gst_fake_src_create_buffer), (gst_fake_src_create),
6317 (gst_fake_src_start), (gst_fake_src_stop):
6318 * gst/elements/gstfakesrc.h:
6319 * gst/elements/gstfilesink.c: (_do_init),
6320 (gst_file_sink_base_init), (gst_file_sink_class_init),
6321 (gst_file_sink_init), (gst_file_sink_dispose),
6322 (gst_file_sink_set_location), (gst_file_sink_set_property),
6323 (gst_file_sink_get_property), (gst_file_sink_open_file),
6324 (gst_file_sink_close_file), (gst_file_sink_query),
6325 (gst_file_sink_event), (gst_file_sink_render),
6326 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6327 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6328 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6329 * gst/elements/gstfilesink.h:
6330 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6331 (gst_file_src_class_init), (gst_file_src_init),
6332 (gst_file_src_finalize), (gst_file_src_set_location),
6333 (gst_file_src_set_property), (gst_file_src_get_property),
6334 (gst_file_src_map_region), (gst_file_src_map_small_region),
6335 (gst_file_src_create_mmap), (gst_file_src_create_read),
6336 (gst_file_src_create), (gst_file_src_is_seekable),
6337 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6338 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6339 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6340 (gst_file_src_uri_handler_init):
6341 * gst/elements/gstfilesrc.h:
6342 more autistic cleanliness in functions/names/defines
6344 2005-07-13 Andy Wingo <wingo@pobox.com>
6346 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6347 source couldn't negotiate.
6349 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6353 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6354 function. I am channeling Hades. Put your boots on suckers!!!
6356 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6358 * testsuite/caps/Makefile.am:
6359 * testsuite/caps/value_compare.c:
6360 * testsuite/caps/value_intersect.c:
6361 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6362 move two testsuite apps over to the check dir
6364 2005-07-12 Wim Taymans <wim@fluendo.com>
6366 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6367 Added more debug info in the negotiate process.
6370 Prepare for segment playback.
6372 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6378 * tools/gst-launch.c: (main):
6379 NULL pipeline on errors.
6381 2005-07-12 Andy Wingo <wingo@pobox.com>
6383 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6384 not it comes from a malloc region. Make sure our copy gets freed.
6386 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6388 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6389 * check/gst/gstmessage.c: (GST_START_TEST):
6390 * check/gst/gststructure.c: (GST_START_TEST),
6391 (gst_structure_suite), (main):
6393 * gst/gstelement.c: (gst_element_message_full):
6394 clean up GError and debug string now that they get copied
6395 * gst/gstmessage.c: (gst_message_new_error),
6396 (gst_message_new_warning), (gst_message_parse_error),
6397 (gst_message_parse_warning):
6398 use GST_TYPE_G_ERROR for structure_new, and take copies of
6399 arguments, so that we don't mess up refcounting
6401 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6403 * check/Makefile.am:
6404 add per-test valgrind targets
6405 * check/gst-libs/gdp.c: (GST_START_TEST),
6406 (gst_data_protocol_suite), (main):
6409 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6411 * check/Makefile.am:
6412 instate more valgrindable tests
6413 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6414 (GST_START_TEST), (fakesrc_suite):
6415 * check/gst/gstpad.c: (GST_START_TEST):
6416 * check/gst/gststructure.c: (GST_START_TEST):
6418 * docs/gst/tmpl/gstminiobject.sgml:
6419 * gst/gstpad.c: (gst_pad_finalize):
6420 fix the static mutex leak
6422 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6424 * check/Makefile.am:
6425 add two more tests for valgrinding
6426 * check/gst/gstvalue.c: (GST_START_TEST):
6427 test refcount of deserialized buffer, found a leak
6428 * docs/gst/gstreamer-docs.sgml:
6429 * docs/gst/gstreamer-sections.txt:
6430 * docs/gst/gstreamer.types:
6431 * docs/gst/tmpl/gstminiobject.sgml:
6432 add miniobject to docs
6433 * gst/gstminiobject.c:
6435 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6436 (gst_string_unwrap):
6437 fix a hard-to-find invalid write for one of the tests
6438 fix a leak for deserialized buffers
6440 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6442 * docs/pwg/advanced-events.xml:
6443 * docs/pwg/advanced-request.xml:
6444 * docs/pwg/advanced-scheduling.xml:
6445 * docs/pwg/appendix-porting.xml:
6446 * docs/pwg/building-boiler.xml:
6447 * docs/pwg/intro-preface.xml:
6448 * docs/pwg/other-ntoone.xml:
6449 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6450 of example code and explanation for pad activation, loop() and
6451 getrange() functions and a bit more. Remove old comments pointing
6453 * examples/pwg/Makefile.am:
6454 Add loop/getrange examples.
6456 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6459 check for valgrind binary + some fixes
6461 valgrind suppressions for the tests
6462 * check/Makefile.am:
6463 add a valgrind: target that valgrinds the unit tests
6464 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6465 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6466 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6467 * check/gst/gstghostpad.c:
6469 * check/gst/gstdata.c:
6471 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6472 (thread_unref), (gst_mini_object_suite), (main):
6474 * gst/gst.c: (gst_deinit):
6476 add a method to clean up.
6477 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6478 (gst_system_clock_obtain):
6479 allow for disposing the system clock.
6480 * tools/gst-launch.c: (main):
6483 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6485 * docs/gst/tmpl/gstbasesrc.sgml:
6486 * docs/gst/tmpl/gstfakesrc.sgml:
6487 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6488 (gst_base_src_init), (gst_base_src_set_property),
6489 (gst_base_src_get_property), (gst_base_src_get_range),
6490 (gst_base_src_start):
6491 * gst/base/gstbasesrc.h:
6492 add num-buffers property
6493 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6494 (gst_fakesrc_init), (gst_fakesrc_set_property),
6495 (gst_fakesrc_get_property), (gst_fakesrc_create),
6496 (gst_fakesrc_start):
6497 remove num-buffers property
6499 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6501 * docs/gst/gstreamer-sections.txt:
6502 * docs/gst/tmpl/gstbasesink.sgml:
6503 * docs/gst/tmpl/gstbasesrc.sgml:
6504 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6505 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6506 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6507 (gst_base_sink_set_property), (gst_base_sink_get_property),
6508 (gst_base_sink_handle_object), (gst_base_sink_event),
6509 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6510 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6511 (gst_base_sink_loop), (gst_base_sink_deactivate),
6512 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6513 (gst_base_sink_change_state):
6514 * gst/base/gstbasesink.h:
6515 * gst/base/gstbasesrc.h:
6516 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6517 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6518 (gst_filesink_init):
6519 more macro splitting
6521 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6523 * gst/gstelement.c: (gst_element_get_bus):
6525 * tools/gst-launch.c: (check_intr), (event_loop):
6528 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6530 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6533 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6535 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6536 (gst_base_src_finalize):
6537 add finalize method and clean up properly
6538 * gst/gstpipeline.c: (gst_pipeline_dispose):
6541 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6543 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6545 add more things to check
6546 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6550 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6552 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6553 (GST_START_TEST), (fakesrc_suite):
6554 * check/gst-libs/gdp.c: (GST_START_TEST):
6555 * check/gst/gst.c: (GST_START_TEST):
6556 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6557 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6558 * check/gst/gstbus.c: (GST_START_TEST):
6559 * check/gst/gstcaps.c: (GST_START_TEST):
6560 * check/gst/gstdata.c: (GST_START_TEST):
6561 * check/gst/gstelement.c: (GST_START_TEST):
6562 * check/gst/gstghostpad.c: (GST_START_TEST):
6563 * check/gst/gstiterator.c: (GST_START_TEST):
6564 * check/gst/gstmessage.c: (GST_START_TEST):
6565 * check/gst/gstobject.c: (GST_START_TEST):
6566 * check/gst/gstpad.c: (GST_START_TEST):
6567 * check/gst/gststructure.c: (GST_START_TEST):
6568 * check/gst/gstsystemclock.c: (GST_START_TEST),
6569 (gst_systemclock_suite):
6570 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6571 * check/gst/gstvalue.c: (GST_START_TEST):
6572 * check/pipelines/cleanup.c: (GST_START_TEST):
6573 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6574 * check/states/sinks.c: (GST_START_TEST):
6575 * check/gstcheck.c: (gst_check_init):
6577 add debugging category
6578 use GST_START_TEST now, so we add a debug line
6580 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6582 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6583 add test for state change message on a bin
6584 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6586 * gst/gstbin.c: (gst_bin_init):
6587 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6588 * gst/gstelement.c: (gst_element_post_message),
6589 (gst_element_set_state):
6590 * gst/gstelementfactory.c: (gst_element_factory_create):
6591 * gst/gstmessage.c: (gst_message_new):
6592 * gst/gstscheduler.c:
6593 various debugging additions and cleanups
6595 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * check/Makefile.am:
6598 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6600 adding tests for elements
6601 * gst/gstelement.c: (gst_element_dispose):
6603 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6605 * gst/registries/gstlibxmlregistry.c: (load_feature):
6606 plug more leaks. A simple gst_init() now is leakfree, yay.
6608 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6610 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6611 (gst_xml_registry_load):
6612 plug another memleak
6614 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6617 use GST_SET_ERROR_CFLAGS
6619 change to ERROR_CFLAGS
6621 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6624 make GST_ERROR_CFLAGS overridable and re-enable Werror
6626 add a note about error CFLAGS
6627 * docs/gst/tmpl/gstfakesrc.sgml:
6628 * gst/elements/gstfakesrc.c:
6629 comment out some unused code
6630 * gst/gst.c: (split_and_iterate):
6631 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6635 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6637 * common/Makefile.am:
6638 * common/gtk-doc.mak:
6639 * docs/gst/Makefile.am:
6640 factor out gtk-doc.mak
6642 2005-07-07 Wim Taymans <wim@fluendo.com>
6644 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6645 (gst_thread_scheduler_dispose):
6646 Unlock the STREAM_LOCK completely.
6648 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * check/Makefile.am:
6651 * check/elements/.cvsignore:
6652 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6653 (START_TEST), (fakesrc_suite), (main):
6654 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6655 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6656 (gst_fakesrc_create), (gst_fakesrc_start):
6657 * gst/elements/gstfakesrc.h:
6658 adding a first element test
6660 2005-07-07 Andy Wingo <wingo@pobox.com>
6662 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6665 2005-07-07 Wim Taymans <wim@fluendo.com>
6671 2005-07-07 Wim Taymans <wim@fluendo.com>
6673 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6674 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6675 Allow subclasses to implement their own negotiation.
6677 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6679 * docs/design/part-gstbin.txt:
6680 * docs/design/part-gstpipeline.txt:
6681 Update design notes to reflect the movement of
6682 responsibility for bus handling from GstPipeline to
6685 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6688 Remove unnecessary queue2/3/4 examples.
6690 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6692 * examples/Makefile.am:
6693 * examples/helloworld/helloworld.c: (event_loop), (main):
6694 * examples/queue/queue.c: (event_loop), (main):
6695 * examples/queue2/queue2.c: (main):
6696 Update a couple of the examples to work again.
6698 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6699 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6700 Spelling corrections and extra debug.
6702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6703 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6704 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6706 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6707 (gst_pipeline_change_state):
6708 * gst/gstpipeline.h:
6709 Move the bus handler for children to the GstBin, and create a
6710 separate bus for receiving messages from children to the one the
6711 bus sends 'upwards' on.
6713 2005-07-06 Wim Taymans <wim@fluendo.com>
6716 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6717 (gst_base_sink_handle_object), (gst_base_sink_loop),
6718 (gst_base_sink_change_state):
6719 * gst/base/gstbasesink.h:
6720 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6721 (gst_base_src_init), (gst_base_src_setcaps),
6722 (gst_base_src_getcaps), (gst_base_src_loop),
6723 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6724 (gst_base_src_start), (gst_base_src_change_state):
6725 * gst/base/gstbasesrc.h:
6726 Make basesrc negotiate.
6727 Handle the case where preroll fails in basesink.
6730 2005-07-06 Wim Taymans <wim@fluendo.com>
6732 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6733 Implement the fixate function.
6734 Clean up acceptcaps.
6736 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6738 * docs/pwg/building-filterfactory.xml:
6740 Remove never-written filter-factory chapter; I'll add the various
6741 base classes to part 4 ("other element types") later on.
6743 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6745 * docs/pwg/advanced-negotiation.xml:
6746 * docs/pwg/building-boiler.xml:
6747 * docs/pwg/building-pads.xml:
6749 * examples/pwg/Makefile.am:
6750 Add a chapter on caps negotiation, simplify the original code
6751 samples a bit w.r.t. caps negotiation, add link to the advanced
6752 section. Add a bunch of examples showing different use cases of
6753 different types of caps negotiation. Upstream renegotiation isn't
6754 fully documented yet since nobody knows how that works.
6756 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6758 * check/gst/gstpad.c:
6760 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6761 if pad has no parent, return NULL as list of internal links
6763 2005-07-05 Andy Wingo <wingo@pobox.com>
6765 * gst/elements/gstfilesrc.c:
6766 * gst/elements/gstfakesrc.c:
6767 * gst/base/gstpushsrc.c:
6768 * gst/base/gstbasesrc.h:
6769 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6771 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6774 better report generation target (lcov needs a patch)
6776 2005-07-05 Andy Wingo <wingo@pobox.com>
6778 * gst/elements, testsuite: Null if we got it...
6780 2005-07-05 Wim Taymans <wim@fluendo.com>
6783 * libs/gst/dataprotocol/Makefile.am:
6784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6785 * libs/gst/dataprotocol/dataprotocol.h:
6786 * pkgconfig/Makefile.am:
6787 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6788 * pkgconfig/gstreamer-dataprotocol.pc.in:
6789 Ported dataprotol to 0.9.
6790 Added pkgconfig files.
6792 2005-07-05 Andy Wingo <wingo@pobox.com>
6794 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6795 Default to returning TRUE for the case when tranform_caps returns
6796 a fixed caps, like for identity or volume.
6798 * check/gst/gstbus.c (pound_bus_with_messages):
6799 * check/gst/gstmessage.c (START_TEST):
6800 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6803 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6804 logic weaks here: always run transform_caps, trying passthrough
6805 operation only if the original caps intersects with the transform.
6807 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6808 source and sink caps.
6810 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6811 Intersect the peer caps with the pad template before going into
6813 (gst_base_transform_transform_caps): More debugging.
6815 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6818 2005-07-04 Edward Hervey <edward@fluendo.com>
6822 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6825 2005-07-04 Andy Wingo <wingo@pobox.com>
6827 * check/gst/gstpad.c: Only set explicit caps on pads.
6829 2005-07-01 Andy Wingo <wingo@pobox.com>
6831 * tests/network-clock.scm: Commentary update.
6833 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6834 Didn't really make sense, not implementable with basetransform,
6836 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6837 attempt at implementing the sync property, needs an unlock method.
6839 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6840 New func, by default returns the same caps (the identity
6842 (gst_base_transform_getcaps): Uses transform_caps to return
6844 (gst_base_transform_setcaps): Complicated logic to get caps on
6845 both pads, even if they are different, and to call set_caps once
6846 for every time both pads get their caps set.
6847 (gst_base_transform_handle_buffer): Give the ref to the transform
6848 function. Allows in-place modification of the buffer.
6850 * gst/base/gstbasetransform.h (transform_caps): New class method.
6851 Given caps on one side, what can I do on the other.
6852 (set_caps): Take two caps, one for each side of the element.
6855 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6856 caps in place. This is safe because we can check the mutability of
6857 the caps, and a good idea because fixate functions are just called
6858 as a matter of last resort. (Not actually implemented.)
6859 (gst_pad_set_caps): If the caps we're setting is actually the same
6860 as the existing pad caps, just update the pointer without calling
6861 setcaps. Assert that caps is either NULL or fixed, as per the
6864 * gst/gstghostpad.c: Update for fixate changes.
6866 2005-07-02 Andy Wingo <wingo@pobox.com>
6869 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6870 two refcounts makes it immutable, which is enough. Doc more.
6872 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6874 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6875 Put the mini_object into GValue as a mini_object,
6876 not a gpointer, since that's how we declared
6879 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6881 * examples/pwg/Makefile.am:
6884 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6886 * docs/pwg/building-testapp.xml:
6888 * examples/pwg/Makefile.am:
6891 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6894 * examples/Makefile.am:
6895 * examples/pwg/Makefile.am:
6896 * examples/pwg/extract.pl:
6897 Enable building the PWG examples.
6898 * docs/pwg/advanced-interfaces.xml:
6899 Add URI interface stub.
6900 * docs/pwg/advanced-types.xml:
6901 * docs/pwg/other-autoplugger.xml:
6902 * docs/pwg/appendix-porting.xml:
6904 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6905 * docs/pwg/building-boiler.xml:
6906 * docs/pwg/building-chainfn.xml:
6907 * docs/pwg/building-pads.xml:
6908 * docs/pwg/building-props.xml:
6909 * docs/pwg/building-state.xml:
6910 * docs/pwg/building-testapp.xml:
6911 Update the building-*.xml parts for 0.9 changes. All examples
6912 code blocks compile in examples/pwg/*.
6914 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6916 * docs/manual/advanced-autoplugging.xml:
6917 * docs/manual/appendix-checklist.xml:
6918 * docs/manual/appendix-integration.xml:
6919 * docs/manual/highlevel-components.xml:
6920 Fix playbin/decodebin examples, update docs a bit, mention bus
6921 instead of signals in various places, mention kmplayer and
6922 kaffeine since they have a working GStreamer backend in the KDE
6925 2005-06-30 Wim Taymans <wim@fluendo.com>
6928 * docs/design/draft-ghostpads.txt:
6929 * docs/design/draft-push-pull.txt:
6930 * docs/design/draft-query.txt:
6931 * docs/design/part-TODO.txt:
6932 * docs/design/part-query.txt:
6933 Added CHANGES-0.9 doc, updated status of other docs.
6938 2005-06-30 Wim Taymans <wim@fluendo.com>
6940 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6941 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6942 (gst_base_sink_change_state):
6943 * gst/base/gstbasesink.h:
6944 Some tweaks, only EOS and a buffer complete a preroll.
6946 2005-06-30 Andy Wingo <wingo@pobox.com>
6948 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6949 activate_push down to the internal pad as well.
6951 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6953 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6955 * gst/gsttaginterface.c:
6956 Some documentation fixes (#307394 and #307397).
6958 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6960 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6962 * gst/gstvalue.c: (gst_value_intersect_list):
6963 Fix memleak (#309125).
6965 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6967 * docs/manual/advanced-dataaccess.xml:
6968 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6969 * docs/manual/basics-pads.xml:
6970 Add reference for filtered caps to above chapter.
6972 2005-06-30 Wim Taymans <wim@fluendo.com>
6974 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6975 (gst_bin_change_state):
6977 Lame attempt at making the state change function a bit
6980 2005-06-30 Wim Taymans <wim@fluendo.com>
6982 * docs/design/part-clocks.txt:
6983 * docs/design/part-element-sink.txt:
6984 * docs/design/part-events.txt:
6985 * docs/design/part-preroll.txt:
6986 * docs/design/part-states.txt:
6987 Some more tweeks and additions to the docs.
6989 2005-06-30 Wim Taymans <wim@fluendo.com>
6991 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6992 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6993 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6994 (gst_pad_check_pull_range), (gst_pad_get_range),
6995 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6997 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6998 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6999 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7000 (gst_pad_remove_buffer_probe):
7001 Removed atomic operations, use existing LOCK.
7002 Move exception handling out of main code path.
7004 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7006 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7007 (silly_return_true_function), (gst_pad_class_init),
7008 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7009 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7010 (gst_pad_send_event):
7011 Fix accumulator, add default value by using _emitv() instead
7012 of _emit() for signal emission.
7014 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7016 * docs/manual/advanced-dataaccess.xml:
7017 * examples/manual/Makefile.am:
7019 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7022 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7024 * gst/elements/gstfilesink.c: (gst_filesink_render):
7025 Simplify code so that we don't have to handle short
7026 writes and return GST_FLOW_ERROR if an error occured.
7028 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7030 * docs/gst/gstreamer-docs.sgml:
7033 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7035 * docs/gst/gstreamer-sections.txt:
7036 * docs/gst/tmpl/gstpad.sgml:
7037 * docs/gst/tmpl/gstprobe.sgml:
7039 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7040 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7041 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7042 (gst_pad_push_event), (gst_pad_send_event):
7044 * gst/gstutils.c: (gst_pad_add_data_probe),
7045 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7046 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7047 (gst_pad_remove_buffer_probe):
7049 Remove old probes, add new g-signal-based probes and some utility
7052 2005-06-29 Edward Hervey <edward@fluendo.com>
7054 * gst/gstelementfactory.c:
7057 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7058 the definition to the header file.
7060 2005-06-29 Andy Wingo <wingo@pobox.com>
7062 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7063 plugins from the source directory.
7065 2005-06-29 Wim Taymans <wim@fluendo.com>
7067 * docs/gst/tmpl/gstbuffer.sgml:
7068 * docs/gst/tmpl/gstclock.sgml:
7069 Some fixings for blantently wrong text.
7071 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7073 * check/Makefile.am:
7074 * gst/gst.c: (add_path_func), (init_pre):
7075 * gst/gstregistry.c: (gst_registry_add_path):
7076 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7077 only scan the GST_PLUGIN_PATH locations, and not add
7080 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7082 * docs/gst/gstreamer-sections.txt:
7083 * docs/gst/tmpl/gstbasesrc.sgml:
7090 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7092 * docs/manual/advanced-autoplugging.xml:
7093 Fix autoplugging example.
7095 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7097 * docs/manual/advanced-autoplugging.xml:
7098 * docs/manual/mime-world.fig:
7099 Try to get autoplugging working, fix type detection. Fix text
7100 in hello-world image.
7102 2005-06-29 Wim Taymans <wim@fluendo.com>
7104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7105 (gst_base_sink_change_state):
7109 map SIGNAL and BROADCAST to the right function.
7112 Remove redundant braces.
7114 * gst/gstpad.c: (gst_pad_set_caps):
7115 Don't call setcaps function when reseting caps to NULL.
7117 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7118 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7119 (gst_system_clock_id_unschedule):
7120 Use BROADCAST as this is what we do.
7122 2005-06-29 Wim Taymans <wim@fluendo.com>
7124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7125 We are actually prerolling before commiting the state
7128 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7130 * docs/manual/advanced-clocks.xml:
7131 * docs/manual/advanced-interfaces.xml:
7132 * docs/manual/advanced-metadata.xml:
7133 * docs/manual/advanced-position.xml:
7134 * docs/manual/advanced-schedulers.xml:
7135 * docs/manual/advanced-threads.xml:
7136 * docs/manual/appendix-porting.xml:
7137 * docs/manual/basics-bins.xml:
7138 * docs/manual/basics-bus.xml:
7139 * docs/manual/basics-elements.xml:
7140 * docs/manual/basics-helloworld.xml:
7141 * docs/manual/basics-pads.xml:
7142 * docs/manual/highlevel-components.xml:
7143 * docs/manual/manual.xml:
7144 * docs/manual/thread.fig:
7145 Update (until threads/scheduling) Application Development Manual;
7146 remove GstThread, add GstBus, add simple porting checklist, add
7147 documentation for tag writing, clocks, make all examples until this
7148 part compile and run.
7149 * examples/manual/Makefile.am:
7150 Update from changes to Application Development Manual; add bus
7151 example, remove thread example.
7153 2005-06-28 Wim Taymans <wim@fluendo.com>
7155 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7156 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7157 (gst_bus_source_dispatch):
7158 Add debugging messages.
7159 Make internal methods static.
7160 Handle the case where the bus is flushed in the handler.
7162 * gst/gstelement.c: (gst_element_get_bus):
7163 Fix refcount in _get_bus();
7165 * gst/gstpipeline.c: (gst_pipeline_change_state),
7166 (gst_pipeline_get_clock_func):
7167 Clock refcounting fixes.
7168 Handle the case where preroll timed out more gracefully.
7170 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7171 Clean up the internal thread in dispose. This is needed
7172 for subclasses that actually get disposed.
7174 * gst/schedulers/threadscheduler.c:
7175 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7176 (gst_thread_scheduler_dispose):
7177 Free thread pool in dispose.
7179 2005-06-28 Andy Wingo <wingo@pobox.com>
7181 * tests/network-clock-utils.scm (debug, print-event): New utils.
7183 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7184 (*packet-loss*): Unified loss probability.
7185 (network-time): Report out-of-band events.
7187 * tests/plot-data: Add support for out-of-band events. Hack it
7188 into this script instead of passing it down the pipe; should fix
7191 2005-06-28 Wim Taymans <wim@fluendo.com>
7193 * docs/gst/gstreamer.types:
7194 * docs/gst/tmpl/gstbasesrc.sgml:
7195 * docs/gst/tmpl/gstpad.sgml:
7198 2005-06-28 Wim Taymans <wim@fluendo.com>
7200 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7201 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7202 (gst_proxy_pad_do_fixatecaps):
7203 Correctly proxy the check_pull_range function.
7205 2005-06-28 Andy Wingo <wingo@pobox.com>
7207 * tests/network-clock.scm: Removed need for slib.
7209 2005-06-28 Wim Taymans <wim@fluendo.com>
7211 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7212 (gst_basesink_preroll_queue_flush):
7213 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7214 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7215 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7216 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7217 (gst_proxy_pad_set_property):
7220 * gst/gstqueue.c: (gst_queue_init):
7221 The deprecated pad loop function is removed now.
7223 2005-06-28 Andy Wingo <wingo@pobox.com>
7225 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7226 New parameters, simulate network packet loss.
7228 * tests/network-clock-utils.scm: Initialize the RNG.
7230 2005-06-28 Wim Taymans <wim@fluendo.com>
7232 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7233 (gst_basesink_event), (gst_basesink_deactivate):
7234 Flushing the preroll queue always needs to unlock the waiters.
7236 2005-06-28 Edward Hervey <edward@fluendo.com>
7238 * gst/gstpipeline.c: (gst_pipeline_send_event):
7239 Wheen a seek was successful on a pipeline, set the stream_time to the
7240 seek offset in order to have a synchronized stream_time.
7242 2005-06-28 Wim Taymans <wim@fluendo.com>
7244 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7245 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7246 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7247 (gst_proxy_pad_do_fixatecaps):
7248 Call wrapper function instead of just calling the function
7249 pointers. This takes care of any locking and whatmore.
7251 2005-06-28 Wim Taymans <wim@fluendo.com>
7253 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7254 (gst_pad_pull_range):
7256 CONNECTED -> LINKED.
7258 2005-06-28 Andy Wingo <wingo@pobox.com>
7260 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7261 source-munging commit!!!
7263 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7264 (gst_object_sink): Take gpointer arguments, not GstObject --
7265 avoids casts. Like GLib.
7267 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7270 2005-06-27 Andy Wingo <wingo@pobox.com>
7272 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7275 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7276 returns a sorted copy of the trace list.
7277 (gst_alloc_trace_print_live): New API, only prints traces with
7278 live objects. Sort the list.
7279 (gst_alloc_trace_print_all): Sort the list.
7280 (gst_alloc_trace_print): Align columns.
7282 * gst/elements/gstttypefindelement.c:
7283 * gst/elements/gsttee.c:
7284 * gst/base/gstbasesrc.c:
7285 * gst/base/gstbasesink.c:
7286 * gst/base/gstbasetransform.c:
7287 * gst/gstqueue.c: Adapt for pad activation changes.
7289 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7291 (gst_pipeline_dispose): Drop ref on sched.
7293 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7294 (gst_pad_activate_default): Push mode by default.
7295 (pre_activate_switch, post_activate_switch): New stubs, things to
7296 do before and after switching activation modes on pads.
7297 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7298 the pad's activate function to choose which mode to activate.
7299 Shortcut on deactivation and call the right function directly.
7300 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7302 (gst_pad_activate_push): New API, same for push mode.
7303 (gst_pad_set_activate_function)
7304 (gst_pad_set_activatepull_function)
7305 (gst_pad_set_activatepush_function): Setters for new API.
7307 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7308 Trace all miniobjects.
7309 (gst_mini_object_make_writable): Unref the arg if we copy, like
7310 gst_caps_make_writable.
7312 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7314 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7315 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7316 Adapt for new pad API.
7318 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7321 * gst/gstelement.c (gst_element_iterate_src_pads)
7322 (gst_element_iterate_sink_pads): New API functions.
7324 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7325 should fold into gstiterator.c in some form.
7326 (gst_element_pads_activate): Simplified via use of fold and
7327 delegation of decisions to gstpad->activate.
7329 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7332 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7333 class once in init, like gstmessage. Didn't run into this issue
7334 but it seems correct. Don't initialize a trace, gstminiobject does
7337 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7338 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7340 (assert_live_count): New util function, uses alloc traces to check
7343 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7344 To be modified when unlink drops the internal pad.
7346 2005-06-27 Wim Taymans <wim@fluendo.com>
7348 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7349 (gst_bin_change_state):
7350 Cleanup the get_state() function a little, make sure it
7351 iterates the same set of elements.
7352 Added stub iterate_state_order().
7354 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7356 * docs/gst/gstreamer-docs.sgml:
7357 * docs/gst/gstreamer-sections.txt:
7358 * docs/gst/gstreamer.types:
7359 * docs/gst/tmpl/gstbasesink.sgml:
7360 * docs/gst/tmpl/gstbasesrc.sgml:
7361 * docs/gst/tmpl/gstbasetransform.sgml:
7362 * docs/gst/tmpl/gstelement.sgml:
7363 * docs/gst/tmpl/gstiterator.sgml:
7364 * gst/base/gstbasesrc.c:
7365 * gst/base/gstbasesrc.h:
7366 * gst/base/gstbasetransform.h:
7368 * gst/gstiterator.h:
7369 adding basetransform and iterator docs
7371 2005-06-27 Andy Wingo <wingo@pobox.com>
7373 * docs/design/part-activation.txt: Notes on how activation should
7374 work -- not quite implemented yet.
7376 2005-06-25 Wim Taymans <wim@fluendo.com>
7378 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7379 At least get the chain function correct, needs more
7382 2005-06-25 Wim Taymans <wim@fluendo.com>
7384 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7385 (gst_basesink_handle_object), (gst_basesink_event),
7386 (gst_basesink_do_sync), (gst_basesink_handle_event),
7387 (gst_basesink_change_state):
7389 Right, two problems here: ghostpads don't take locks and
7390 glib _rec_mutex_lock_full() with depth==0 still locks.
7391 Catch illegal locking and g_warn them.
7393 2005-06-25 Wim Taymans <wim@fluendo.com>
7395 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7396 Have to check for completion now...
7398 2005-06-25 Wim Taymans <wim@fluendo.com>
7400 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7401 (gst_basesink_handle_object), (gst_basesink_event),
7402 (gst_basesink_do_sync), (gst_basesink_handle_event),
7403 (gst_basesink_change_state):
7405 Unlock STREAM_LOCK whatever the recursion was.
7407 2005-06-25 Wim Taymans <wim@fluendo.com>
7409 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7410 (gst_basesink_preroll_queue_empty),
7411 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7412 (gst_basesink_event), (gst_basesink_do_sync),
7413 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7414 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7415 (gst_basesink_change_state):
7416 Reworked the base sink, handle event and buffer serialisation
7417 correctly and removed possible deadlock.
7418 Handle EOS correctly.
7420 2005-06-25 Wim Taymans <wim@fluendo.com>
7422 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7423 (gst_pipeline_change_state):
7424 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7425 Allow elements to post EOS in the state change function.
7426 Fix up -launch, make it exit the poll loop when the
7427 pipeline actually changed state.
7428 Fix up warning parsing in -launch.
7430 2005-06-25 Wim Taymans <wim@fluendo.com>
7432 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7433 (gst_tee_sink_activate):
7434 Core takes STREAM_LOCK for us now.
7436 2005-06-25 Wim Taymans <wim@fluendo.com>
7438 * gst/gstelement.c: (gst_element_get_state_func),
7439 (gst_element_set_state):
7441 * gst/gstmessage.c: (gst_message_parse_error),
7442 (gst_message_parse_warning):
7443 Keep track of current target state while performing a state
7444 change so that subclasses can do something interesting.
7445 Fix parsing of warning/error messages when GError is NULL.
7447 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7449 * docs/gst/Makefile.am:
7450 * docs/gst/gstreamer-docs.sgml:
7451 * docs/gst/gstreamer-sections.txt:
7452 * docs/gst/gstreamer.types:
7453 * docs/gst/tmpl/gstbasesink.sgml:
7454 * docs/gst/tmpl/gstbasesrc.sgml:
7455 * docs/gst/tmpl/gstbin.sgml:
7456 * docs/gst/tmpl/gstcompat.sgml:
7457 * docs/gst/tmpl/gstfakesink.sgml:
7458 * docs/gst/tmpl/gstfakesrc.sgml:
7459 * docs/gst/tmpl/gstfilesink.sgml:
7460 * docs/gst/tmpl/gstfilesrc.sgml:
7461 * docs/gst/tmpl/gstindex.sgml:
7462 * docs/manual/appendix-quotes.xml:
7463 * gst/base/gstbasesrc.h:
7464 * gst/elements/gstfakesrc.h:
7466 start pulling in base classes and elements in our docs
7468 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7470 * docs/gst/Makefile.am:
7471 * docs/libs/Makefile.am:
7472 fixed make distcheck with gtk-doc 1.3
7474 2005-06-23 Wim Taymans <wim@fluendo.com>
7476 * gst/gstelement.c: (gst_element_get_state_func),
7477 (gst_element_set_state), (gst_element_change_state):
7478 When the state did not change, also report NO_PREROLL
7481 2005-06-23 Wim Taymans <wim@fluendo.com>
7483 * gst/gstpad.c: (gst_pad_event_default):
7484 * gst/gstqueue.c: (gst_queue_loop):
7485 No unsafe task pausing please.
7487 2005-06-23 Wim Taymans <wim@fluendo.com>
7489 * gst/schedulers/threadscheduler.c:
7490 (gst_thread_scheduler_task_start),
7491 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7492 Ref the task before pushing it on the threadpool. This
7493 makes sure that we have a ref when the threadfunction is
7496 2005-06-23 Andy Wingo <wingo@pobox.com>
7498 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7499 offset is greater than the file's size.
7501 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7502 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7503 * gst/gstobject.c (gst_object_class_init): Make the class lock
7504 recursive. Wim won't let me drop deep_notify. Decodebin works
7507 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7508 internal pad, and hacks accordingly. Doesn't do it on the target
7509 pad because we change its caps. Probably catches all cases of
7511 (gst_ghost_pad_set_property): Connect to notify::caps as
7514 * tests/network-clock.scm (plot-simulation): Pipe data to the
7515 elite python skript.
7517 * tests/network-clock-utils.scm (define-parameter): New macro,
7518 defines a parameter that can be set via the command line.
7519 (set-parameter!, parse-parameter-arguments): Command line args
7522 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7525 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7527 * gst/elements/gsttypefindelement.c:
7528 (gst_type_find_element_handle_event):
7529 Don't restart typefinding on a discont.
7530 * gst/gstelement.c: (gst_element_set_state):
7532 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7533 Allow changing mode of an active pad.
7535 * gst/registries/gstlibxmlregistry.c: (load_feature):
7536 Don't cast a static pad template to a normal pad template.
7538 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7540 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7541 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7542 remove gst_strtoll completely, since it didn't actually do
7543 anything more than what g_ascii_strtoull already does.
7544 check for range errors when deserializing
7545 do a cast for the unsigned cases; but further fixing needs
7546 a decision on what the interpretation of "(int)" and
7547 deserialization should be for values that fall outside the
7548 type's boundaries (ie, refuse, or interpret as casting)
7550 2005-06-23 Wim Taymans <wim@fluendo.com>
7552 * check/Makefile.am:
7553 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7554 * docs/design/part-live-source.txt:
7555 * docs/design/part-states.txt:
7556 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7557 (gst_basesrc_set_live), (gst_basesrc_is_live),
7558 (gst_basesrc_get_range), (gst_basesrc_activate),
7559 (gst_basesrc_change_state):
7560 * gst/base/gstbasesrc.h:
7561 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7562 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7563 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7564 * gst/gstelement.c: (gst_element_get_state_func),
7565 (gst_element_set_state):
7568 * tools/gst-launch.c: (event_loop), (main):
7569 Added support for live sources and other elements that
7571 Updated design docs, added live-source design doc.
7572 Implemented live source functionality in basesrc
7573 Fix error condition in _bin_get_state()
7574 Implement live source handling in -launch.
7575 Added check for live sources.
7576 Fixed case in GstBin where elements were changed state
7580 2005-06-23 Andy Wingo <wingo@pobox.com>
7582 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7585 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7586 gst_caps_replace takes care of this for us.
7588 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7589 gst_pad_set_caps on the target, not just its setcaps() function.
7591 * tests/network-clock.scm:
7592 * tests/network-clock-utils.scm: A network clock simulator.
7593 Something of an algorithmic testbed before doing something in C.
7595 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7597 * check/Makefile.am:
7598 * check/gst/capslist.h:
7599 copy over from 0.8, and add two with bitmasks specified with
7601 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7602 add test to parse everything from capslist.h
7603 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7605 add test for structure deserialization
7606 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7607 add tests for deserialization of strings to int types
7608 * gst/gststructure.c: (gst_structure_nth_field_name):
7609 * gst/gststructure.h:
7610 add a way to get the name of a field referenced by index
7611 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7612 instead of checking if the resulting long long lies between
7613 min and max, we check if the long long would fit into
7614 a number of bytes for the final type.
7615 This fixes cases where a string represents 2^32 - 1, which
7616 when cast to int would be the (valid) -1, but is bigger than
7619 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7621 * gst/parse/grammar.y:
7622 add a log line for type deserialization
7624 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7626 * check/gst/gstvalue.c: (START_TEST):
7627 * gst/gstvalue.c: (gst_value_deserialize):
7628 return long long, not int, so gint64 deserialization actually
7629 works. Is there any flag that makes the compiler check this ?
7632 2005-06-22 Wim Taymans <wim@fluendo.com>
7635 Added convenience macros for setting buffers in GValue.
7637 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7639 * check/gst/.cvsignore:
7640 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7641 add a test deserializing int64, and comment part out because
7644 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7646 * check/Makefile.am:
7647 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7648 * testsuite/Makefile.am:
7649 * testsuite/caps/Makefile.am:
7650 * testsuite/caps/value_serialize.c:
7651 * testsuite/test_gst_init.c:
7652 move a value_serialize test over
7654 2005-06-20 Wim Taymans <wim@fluendo.com>
7659 * gst/gstvalue.c: (gst_value_compare_buffer),
7660 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7661 (gst_value_compare_flags), (gst_value_serialize_flags),
7662 (gst_value_deserialize_flags), (_gst_value_initialize):
7663 Fix serialisation of buffers, they are not boxed types anymore
7665 2005-06-20 Wim Taymans <wim@fluendo.com>
7667 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7668 Testcase to show error in buffer-on-caps serialisation.
7670 2005-06-20 Andy Wingo <wingo@pobox.com>
7672 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7673 will be adding to later.
7675 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7676 if its socks fill with rocks.
7677 (gst_system_clock_obtain): Set the name on object construction.
7678 Avoid double-checked locking.
7680 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7682 * gst/gsturi.c: (gst_element_make_from_uri):
7683 Fix potential endless loop.
7685 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7687 * check/Makefile.am:
7689 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7691 move over from testsuite dir and clean up
7694 * testsuite/Makefile.am:
7695 * testsuite/tags/.cvsignore:
7696 * testsuite/tags/Makefile.am:
7697 * testsuite/tags/merge.c:
7698 remove testsuite/tags
7700 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7702 * docs/gst/gstreamer-sections.txt:
7703 * docs/gst/tmpl/gstenumtypes.sgml:
7704 * win32/gstenumtypes.c:
7705 clean up documentation build a little
7707 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7710 add macros for checking refcounts on objects and caps
7711 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7712 add some more unit tests
7713 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7714 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7715 fix leaked refcounts (I hope :)) so unittest works
7719 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7721 * configure.ac: back to HEAD
7723 === release 0.9.1 ===
7725 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7731 2005-06-17 Andy Wingo <wingo@pobox.com>
7733 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7734 assert; it's always possible that the pad gets deactivated in
7735 between the checks in gstpad.c and the implementation. Rely on
7736 finish_preroll() to return a FLUSHING or similar instead of on the
7739 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7740 clock and post an EOS message if we come out of finish_preroll in
7743 2005-06-16 David Schleef <ds@schleef.org>
7745 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7746 (gst_capsfilter_set_property): Allow NULL as possible value
7747 for filter_caps property, indicating GST_CAPS_ANY.
7749 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7751 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7753 * gst/schedulers/Makefile.am:
7755 * gstreamer.spec.in:
7758 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7760 * gstreamer.spec.in:
7763 2005-06-08 Andy Wingo <wingo@pobox.com>
7765 * gst/gstutils.c: RPAD fixes all around.
7766 (gst_element_link_pads): Refcounting fixes.
7768 * tools/gst-inspect.c:
7769 * tools/gst-xmlinspect.c:
7771 * gst/base/gsttypefindhelper.c:
7772 * gst/base/gstbasesink.c:
7773 * gst/gstqueue.c: RPAD fixes.
7775 * gst/gstghostpad.h:
7776 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7777 pads. The tricky thing is they provide both source and sink
7778 interfaces, since they proxy the internal pad for the external
7779 pad, and vice versa. Implement with lower-level ProxyPad objects,
7780 with the interior proxy pad as a child of the exterior ghost pad.
7781 Should write a doc on this.
7783 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7784 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7787 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7788 pads are real pads. No ghost pads in this file. Not documenting
7789 the myriad s/RPAD/PAD/ and REALIZE fixes.
7790 (gst_pad_class_init): Add properties for "direction" and
7791 "template". Both are construct-only, so they can't change during
7792 the life of the pad. Fixes properly deriving from GstPad.
7793 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7794 derived objects, just set properties when creating the objects via
7796 (gst_pad_get_parent): Implement as a function, return NULL if the
7797 parent is not an element.
7798 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7799 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7801 * gst/gstobject.c (gst_object_class_init): Make name a construct
7802 property. Don't set it in the object init.
7804 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7805 with UNKNOWN direction.
7806 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7807 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7808 (gst_element_remove_pad): Remove ghost-pad special cases.
7809 (gst_element_pads_activate): Remove rpad cruft.
7811 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7812 catch the pad's-parent-not-an-element case.
7814 * gst/gst.h: Include gstghostpad.h.
7816 * gst/gst.c (init_post): No more real, ghost pads.
7818 * gst/Makefile.am: Add gstghostpad.[ch].
7820 * check/Makefile.am:
7821 * check/gst/gstbin.c:
7822 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7823 into a bin creates ghost pads, and that the refcounts are right.
7824 Partly moved from gstbin.c.
7826 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7828 * check/gst-libs/.cvsignore:
7829 * check/gst/.cvsignore:
7830 * check/pipelines/.cvsignore:
7832 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7833 (START_TEST), (cleanup_suite), (main):
7834 add some tests related to cleanup after running pipelines
7836 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7838 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7839 add a testsuite for GstBuffer
7841 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7843 * gst/gstminiobject.h:
7844 add defines for accessing the refcount
7846 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7848 * Makefile.am: added support for html unit test coverage reports
7850 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7852 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7853 Free existing caps if the capsfilter changes. Add a FIXME about
7854 setting those caps on the pads.
7856 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7857 Before adding a ghost pad to a parent bin, check that there isn't
7858 already one for the element on the bin. Prevents infinite recursion
7859 when using decodebin in parse pipelines. Andy says he'll rewrite the
7860 way this works anyway, so ignore the hack.
7862 2005-06-02 Andy Wingo <wingo@pobox.com>
7864 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7865 file size, pass it on to the type find helper.
7867 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7868 segment_start and segment_end properly according to the seek
7869 method. Segment_end is still a bit flaky because offset can be
7870 negative for CUR and END cases, but it takes -1 as an "unset"
7873 2005-06-02 Wim Taymans <wim@fluendo.com>
7875 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7876 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7877 (gst_basesink_activate):
7878 * gst/base/gstbasesink.h:
7879 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7880 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7881 (gst_pad_query), (gst_pad_start_task):
7883 * gst/gstqueue.c: (gst_queue_bufferalloc),
7884 (gst_queue_handle_sink_event), (gst_queue_chain):
7885 Bufferalloc: return GstFlowReturn to more accuratly report
7886 why allocation failed.
7888 2005-06-02 Wim Taymans <wim@fluendo.com>
7890 * gst/gstpipeline.c: (gst_pipeline_send_event):
7891 Take snapshot of state without blocking.
7893 2005-06-02 Wim Taymans <wim@fluendo.com>
7895 * docs/design/part-TODO.txt:
7896 * docs/design/part-caps.txt:
7897 * docs/design/part-clocks.txt:
7898 * docs/design/part-negotiation.txt:
7899 * docs/design/part-preroll.txt:
7902 2005-05-30 Wim Taymans <wim@fluendo.com>
7904 * gst/elements/gstidentity.c: (gst_identity_event),
7905 (gst_identity_transform), (gst_identity_get_property):
7906 Protect last_message property as it is accessed from
7909 2005-05-30 Wim Taymans <wim@fluendo.com>
7911 * gst/gstelement.c: (gst_element_init),
7912 (gst_element_pads_activate), (gst_element_change_state):
7913 Slicker pad activation code.
7915 2005-05-30 Wim Taymans <wim@fluendo.com>
7919 * gst/gstelementfactory.h:
7921 Move elementfactory methods to separate .h file.
7923 2005-05-30 Wim Taymans <wim@fluendo.com>
7925 * docs/design/part-overview.txt:
7926 * gst/gstsystemclock.h:
7927 Small typo fixes, doc updates.
7929 2005-05-30 Wim Taymans <wim@fluendo.com>
7931 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7932 (init_popt_callback):
7933 Remove cpu-opt flag.
7935 2005-05-30 Wim Taymans <wim@fluendo.com>
7937 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7938 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7940 Avoid typechecking in places where not needed.
7941 Added accessor for malloc_data.
7943 2005-05-30 Wim Taymans <wim@fluendo.com>
7945 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7946 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7947 (gst_pad_configure_sink), (gst_pad_configure_src),
7948 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7949 (gst_pad_start_task):
7950 Propagate errors from _set_caps() in configure_src/sink
7951 functions instead of returning TRUE.
7952 FLUSH events can travel up and downstream
7955 2005-05-30 Wim Taymans <wim@fluendo.com>
7957 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7958 (gst_basesink_activate):
7959 Handle EOS in preroll.
7961 2005-05-30 Wim Taymans <wim@fluendo.com>
7963 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7964 (gst_queue_loop), (gst_queue_handle_src_event):
7965 Remove old pieces of code
7966 Flushing the queue in an upstream event is a very bad idea.
7968 2005-05-26 Andy Wingo <wingo@pobox.com>
7970 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7971 gst_value_set_mini_object so as to add a ref on the object (which
7972 will be removed when the value is unset).
7974 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7975 arg type in ::handoff.
7977 * gst/gstelement.c (gst_element_change_state): Also deactivate
7978 pads in READY->NULL, just in case the element didn't make it to
7979 PAUSED. Wingo tested, Wim approved.
7981 2005-05-26 Wim Taymans <wim@fluendo.com>
7983 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7984 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7985 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7986 A flushing pad cannot be used to alloc_buffer from.
7988 2005-05-26 Wim Taymans <wim@fluendo.com>
7990 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7991 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7992 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7993 (gst_bus_create_watch), (gst_bus_add_watch_full):
7995 Implement a real GSource and use g_main_context_wakeup() to
7996 signal new messages instead of the socketpair.
7998 2005-05-25 Wim Taymans <wim@fluendo.com>
8000 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8001 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8002 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8003 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8004 (gst_pad_send_event), (gst_pad_start_task):
8005 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8006 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8007 (gst_queue_sink_activate), (gst_queue_src_activate),
8008 (gst_queue_change_state):
8010 Fix state changes for non sinks. We now change sinks, then elements
8011 with unconnected srcpads, then the rest.
8012 More efficient queue unlocking in flush and state changes.
8013 Set the pad activate mode even if it does not have an activate
8016 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8018 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8019 Don't go in pull mode for non-seekable sources.
8020 * gst/elements/gsttypefindelement.h:
8021 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8022 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8023 (free_entry), (stop_typefinding),
8024 (gst_type_find_element_handle_event), (find_peek),
8025 (gst_type_find_element_chain), (do_pull_typefind),
8026 (gst_type_find_element_change_state):
8027 Allow typefinding (w/o seeking) in push-mode, simplified version
8029 * gst/gstutils.c: (gst_buffer_join):
8031 gst_buffer_join() from 0.8.
8033 2005-05-25 Wim Taymans <wim@fluendo.com>
8035 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8036 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8037 (gst_pad_send_event), (gst_pad_start_task):
8038 Disable attempt at mode switching until it is figured out.
8040 2005-05-25 Wim Taymans <wim@fluendo.com>
8042 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8043 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8044 (gst_basesink_finish_preroll), (gst_basesink_chain),
8045 (gst_basesink_loop), (gst_basesink_activate),
8046 (gst_basesink_change_state):
8047 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8048 (gst_basesrc_get_range), (gst_basesrc_loop),
8049 (gst_basesrc_activate):
8050 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8051 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8052 (gst_real_pad_init), (gst_real_pad_set_property),
8053 (gst_real_pad_get_property), (gst_pad_set_active),
8054 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8055 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8056 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8057 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8058 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8059 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8060 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8061 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8062 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8063 (gst_pad_stop_task):
8065 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8066 (gst_queue_loop), (gst_queue_src_activate):
8067 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8068 (gst_task_get_state):
8070 * gst/schedulers/threadscheduler.c:
8071 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8072 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8074 Remove ACTIVE pad flag, use FLUSHING everywhere
8075 Added _pad_chain(), _pad_get_range() to call chain/getrange
8077 Add locks around IS_FLUSHING when reading.
8078 Take STREAM lock in chain(), get_range() functions so plugins
8079 don't need to take it anymore.
8083 2005-05-25 Wim Taymans <wim@fluendo.com>
8085 * tools/gst-launch.c: (event_loop):
8086 Unref message after using its contents instead of
8089 2005-05-24 Wim Taymans <wim@fluendo.com>
8091 * docs/design/draft-ghostpads.txt:
8092 * docs/design/draft-push-pull.txt:
8093 * docs/design/draft-query.txt:
8094 * docs/design/part-overview.txt:
8095 Docs updates, added general overview doc.
8097 2005-05-21 David Schleef <ds@schleef.org>
8099 * docs/gst/tmpl/old/GstBin.sgml:
8100 * docs/gst/tmpl/old/GstBuffer.sgml:
8101 * docs/gst/tmpl/old/GstCaps.sgml:
8102 * docs/gst/tmpl/old/GstClock.sgml:
8103 * docs/gst/tmpl/old/GstCompat.sgml:
8104 * docs/gst/tmpl/old/GstData.sgml:
8105 * docs/gst/tmpl/old/GstElement.sgml:
8106 * docs/gst/tmpl/old/GstEvent.sgml:
8107 * docs/gst/tmpl/old/GstIndex.sgml:
8108 * docs/gst/tmpl/old/GstStructure.sgml:
8109 * docs/gst/tmpl/old/GstTag.sgml:
8110 * docs/gst/tmpl/old/cothreads.sgml:
8111 * docs/gst/tmpl/old/cothreads_compat.sgml:
8112 * docs/gst/tmpl/old/gettext.sgml:
8113 * docs/gst/tmpl/old/gobject2gtk.sgml:
8114 * docs/gst/tmpl/old/grammar.tab.sgml:
8115 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8116 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8117 * docs/gst/tmpl/old/gst_private.sgml:
8118 * docs/gst/tmpl/old/gstaggregator.sgml:
8119 * docs/gst/tmpl/old/gstarch.sgml:
8120 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8121 * docs/gst/tmpl/old/gstbufferstore.sgml:
8122 * docs/gst/tmpl/old/gstdata_private.sgml:
8123 * docs/gst/tmpl/old/gstdisksink.sgml:
8124 * docs/gst/tmpl/old/gstdisksrc.sgml:
8125 * docs/gst/tmpl/old/gstelementfactory.sgml:
8126 * docs/gst/tmpl/old/gstextratypes.sgml:
8127 * docs/gst/tmpl/old/gstfakesink.sgml:
8128 * docs/gst/tmpl/old/gstfakesrc.sgml:
8129 * docs/gst/tmpl/old/gstfdsink.sgml:
8130 * docs/gst/tmpl/old/gstfdsrc.sgml:
8131 * docs/gst/tmpl/old/gstfilesink.sgml:
8132 * docs/gst/tmpl/old/gstfilesrc.sgml:
8133 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8134 * docs/gst/tmpl/old/gstidentity.sgml:
8135 * docs/gst/tmpl/old/gstindexfactory.sgml:
8136 * docs/gst/tmpl/old/gstmarshal.sgml:
8137 * docs/gst/tmpl/old/gstmd5sink.sgml:
8138 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8139 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8140 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8141 * docs/gst/tmpl/old/gstpipefilter.sgml:
8142 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8143 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8144 * docs/gst/tmpl/old/gstshaper.sgml:
8145 * docs/gst/tmpl/old/gstspider.sgml:
8146 * docs/gst/tmpl/old/gstspideridentity.sgml:
8147 * docs/gst/tmpl/old/gststatistics.sgml:
8148 * docs/gst/tmpl/old/gsttee.sgml:
8149 * docs/gst/tmpl/old/gsttimecache.sgml:
8150 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8151 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8152 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8153 * docs/gst/tmpl/old/types.sgml:
8154 I didn't intend to add these or check them in.
8156 2005-05-19 David Schleef <ds@schleef.org>
8158 * configure.ac: Use -no-common everywhere. In a sane world, it
8159 would be the default in libtool, because without it, you can't
8160 build DLLs on Windows.
8161 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8162 * docs/gst/gstreamer-sections.txt:
8163 * docs/gst/tmpl/gstcpu.sgml:
8164 * docs/gst/tmpl/gstdata.sgml:
8165 * docs/gst/tmpl/gstthread.sgml:
8167 2005-05-19 David Schleef <ds@schleef.org>
8169 * gst/gstminiobject.c: (gst_value_set_mini_object),
8170 (gst_value_take_mini_object), (gst_value_get_mini_object):
8171 * gst/gstminiobject.h: Add GValue set/get functions.
8173 2005-05-19 Wim Taymans <wim@fluendo.com>
8175 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8176 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8177 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8179 * gst/gstbus.c: (gst_bus_post):
8180 * gst/gstelement.c: (gst_element_get_random_pad):
8181 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8182 Make subbufer unref the parent in finalize.
8183 some more debugging info.
8186 2005-05-19 Wim Taymans <wim@fluendo.com>
8188 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8189 (gst_basesink_init), (gst_basesink_finalize),
8190 (gst_basesink_activate), (gst_basesink_change_state):
8191 Don't free preroll queue too early.
8193 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8197 Hi, I'm outdated. Please shoot me.
8199 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8201 * gst/gstpipeline.c: (gst_pipeline_send_event):
8202 Do not access variables after they have been deleted.
8204 2005-05-19 Wim Taymans <wim@fluendo.com>
8206 * tools/gst-inspect.c: (print_plugin_features):
8207 A plugin feature does unfortunatly not use the
8210 2005-05-18 Wim Taymans <wim@fluendo.com>
8212 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8213 Port _span() functions to new subbuffers.
8215 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8217 * gst/gstbin.c: (gst_bin_add_func):
8218 Fix clock settery in bins when adding kids after the clock has
8221 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8223 * gst/elements/gstidentity.c: (gst_identity_class_init):
8224 Workaround until signals support GstMiniObject.
8226 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8229 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8231 2005-05-18 Wim Taymans <wim@fluendo.com>
8233 * gst/base/Makefile.am:
8234 * gst/base/gstadapter.c: (gst_adapter_base_init),
8235 (gst_adapter_class_init), (gst_adapter_init),
8236 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8237 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8238 (gst_adapter_flush), (gst_adapter_available),
8239 (gst_adapter_available_fast):
8240 * gst/base/gstadapter.h:
8241 Ported and added adapter to the base classes.
8243 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8247 Make sure the class is reffed/unreffed once before threads can be
8248 used. Fixes #304551.
8250 2005-05-17 Wim Taymans <wim@fluendo.com>
8252 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8253 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8254 * gst/gstminiobject.c: (gst_mini_object_get_type),
8255 (gst_mini_object_free):
8256 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8257 (gst_pad_push), (gst_pad_push_event):
8258 * gst/gstqueue.c: (gst_queue_change_state):
8259 Don't queue buffers in basesink when we are flushing.
8260 Unref buffer when flushing in basesink.
8261 Flush queue when going to READY
8262 Unref buffer when _push() returns an error.
8263 Don't free MiniObject instance when refcount is incremented
8264 in _finalize() so that we can recover objects.
8266 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8268 * docs/manual/advanced-schedulers.xml:
8269 * docs/manual/appendix-checklist.xml:
8270 * docs/pwg/advanced-clock.xml:
8271 * docs/pwg/advanced-interfaces.xml:
8272 * docs/pwg/advanced-request.xml:
8273 * docs/pwg/advanced-types.xml:
8274 * docs/pwg/intro-preface.xml:
8275 * examples/plugins/example.c: (gst_example_get_type),
8276 (gst_example_class_init), (gst_example_chain),
8277 (gst_example_set_property), (gst_example_get_property),
8278 (gst_example_change_state), (plugin_init):
8279 * examples/plugins/example.h:
8282 2005-05-17 Wim Taymans <wim@fluendo.com>
8284 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8285 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8286 * gst/gstqueue.c: (gst_queue_change_state):
8287 Clear queue when going to READY.
8288 Remove IN_SETCAPS flag too.
8290 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8292 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8293 Remove implicit cast from gboolean to GstElementStateReturn;
8294 make sure we still return failure in paused => ready case if
8295 the parent class fails to change state and our own stop
8298 2005-05-17 Wim Taymans <wim@fluendo.com>
8300 * tools/gst-launch.c: (event_loop):
8301 Message was unreffed too soon.
8303 2005-05-16 Andy Wingo <wingo@pobox.com>
8305 * gst/gstbin.c (sink_iterator_filter): Err... um...
8307 * check/gst/gstbin.c (test_ghost_pads): New test for the
8308 ghosting-if-elements-not-in-same-bin behavior.
8310 2005-05-16 David Schleef <ds@schleef.org>
8312 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8313 accessing refcount directly.
8315 2005-05-15 David Schleef <ds@schleef.org>
8317 * check/Makefile.am: remove GstData checks
8318 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8319 * gst/Makefile.am: add miniobject, remove data
8320 * gst/gst.h: add miniobject, remove data
8321 * gst/gstdata.c: remove
8322 * gst/gstdata.h: remove
8323 * gst/gstdata_private.h: remove
8324 * gst/gsttypes.h: remove GstEvent and GstMessage
8325 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8326 * gst/gstmarshal.list: change BOXED -> OBJECT
8328 Implement GstMiniObject.
8329 * gst/gstminiobject.c:
8330 * gst/gstminiobject.h:
8332 Modify to be subclasses of GstMiniObject.
8333 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8334 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8335 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8336 (gst_subbuffer_get_type), (gst_subbuffer_init),
8337 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8340 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8341 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8342 (_gst_event_copy), (gst_event_new):
8344 * gst/gstmessage.c: (_gst_message_initialize),
8345 (gst_message_get_type), (gst_message_class_init),
8346 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8347 (gst_message_new), (gst_message_new_error),
8348 (gst_message_new_warning), (gst_message_new_tag),
8349 (gst_message_new_state_changed), (gst_message_new_application):
8351 * gst/gstprobe.c: (gst_probe_perform),
8352 (gst_probe_dispatcher_dispatch):
8354 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8355 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8356 (_gst_query_copy), (gst_query_new):
8358 Update elements for GstData -> GstMiniObject changes
8360 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8361 (gst_queue_chain), (gst_queue_loop):
8362 * gst/elements/gstbufferstore.c:
8363 (gst_buffer_store_add_buffer_func),
8364 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8365 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8366 (gst_fakesink_render):
8367 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8368 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8369 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8370 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8371 (gst_filesrc_create_read):
8372 * gst/elements/gstidentity.c: (gst_identity_class_init):
8373 * gst/elements/gsttypefindelement.c:
8374 (gst_type_find_element_src_event), (free_entry_buffers),
8375 (gst_type_find_element_handle_event):
8376 * libs/gst/dataprotocol/dataprotocol.c:
8377 (gst_dp_header_from_buffer):
8378 * libs/gst/dataprotocol/dataprotocol.h:
8379 * libs/gst/dataprotocol/dp-private.h:
8381 2005-05-15 David Schleef <ds@schleef.org>
8383 * gst/elements/gstelements.c: Don't include headers that were
8386 2005-05-15 David Schleef <ds@schleef.org>
8388 * gst/elements/Makefile.am: Remove some elements that don't
8389 need to be in the core (or even exist at all).
8390 * gst/elements/gstaggregator.c:
8391 * gst/elements/gstaggregator.h:
8392 * gst/elements/gstmd5sink.c:
8393 * gst/elements/gstmd5sink.h:
8394 * gst/elements/gstmultifilesrc.c:
8395 * gst/elements/gstmultifilesrc.h:
8396 * gst/elements/gstpipefilter.c:
8397 * gst/elements/gstpipefilter.h:
8398 * gst/elements/gstshaper.c:
8399 * gst/elements/gstshaper.h:
8400 * gst/elements/gststatistics.c:
8401 * gst/elements/gststatistics.h:
8402 * po/POTFILES.in: Remove above files.
8404 2005-05-14 Andy Wingo <wingo@pobox.com>
8406 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8407 so as to get the refs right.
8408 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8409 unreffing objects that don't pass the filter.
8411 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8412 gst_element_set_bus.
8413 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8414 normal cases, this will destroy the bus.
8416 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8419 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8422 2005-05-13 Andy Wingo <wingo@pobox.com>
8424 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8425 gst_pad_link, call pad_link_maybe_ghosting,
8426 (pad_link_maybe_ghosting): Links pads, making sure that the
8427 elements being linked are in the same bin.
8428 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8429 Helpers for pad_link_maybe_ghosting.
8431 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8434 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8436 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8438 * docs/design/part-element-source.txt:
8441 2005-05-12 Wim Taymans <wim@fluendo.com>
8443 * gst/base/gstbasesink.c: (gst_basesink_init),
8444 (gst_basesink_activate):
8445 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8446 (gst_basesrc_is_seekable):
8447 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8448 (bin_element_is_sink), (gst_bin_change_state):
8449 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8451 Identify sinks by their flag to avoid overly complicated
8453 Do state changes even for elements not reachable from the
8455 BaseSink is a sink now :)
8456 Some more debugging info in the basesrc.
8459 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8462 Implement _query on a bin, similar to _send_event.
8464 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8466 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8467 Discont event offset format should be GST_FORMAT_BYTES,
8468 not GST_FORMAT_TIME.
8470 2005-05-12 Wim Taymans <wim@fluendo.com>
8472 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8473 Same fix as Ronald's but without the signal.
8475 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8477 * gst/gstutils.c: (gst_element_query_position):
8478 No, an element is not a pad.
8480 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8482 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8483 (gst_bin_get_state):
8484 If a child is removed from a bin while we remove the child from
8485 the bin and while we're retrieving its state, signal this to the
8486 get_state function so we abort the wait (instead of waiting for
8487 a timeout) and can immediately re-iterate over all other elements.
8489 2005-05-12 Wim Taymans <wim@fluendo.com>
8491 * gst/base/Makefile.am:
8492 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8493 (gst_basesrc_start):
8494 * gst/base/gstbasesrc.h:
8495 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8496 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8497 (gst_pushsrc_init), (gst_pushsrc_create):
8498 * gst/base/gstpushsrc.h:
8499 Added is_seekable to BaseSrc
8500 Added simple PushSrc.
8502 2005-05-11 Wim Taymans <wim@fluendo.com>
8504 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8505 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8506 (gst_element_link_pads), (gst_element_query_position),
8507 (gst_element_query_convert), (intersect_caps_func),
8508 (gst_pad_query_position), (gst_pad_query_convert):
8509 Fix refcounting in utils function.
8510 No point in trying to activate a pad when it's added, it could
8511 be added from the state change function and then we deadlock, the
8512 element has to decide what to do.
8514 2005-05-10 Andy Wingo <wingo@pobox.com>
8516 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8517 *all* the arguments.
8519 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8520 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8521 lock (according to the docs -- if this is wrong change the docs).
8523 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8524 flush messages in the NULL state.
8526 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8527 message immediately and return.
8528 (gst_bus_set_flushing): New function. If a bus is flushing, it
8529 flushes out any queued messages and immediately unrefs new
8530 messages. This is so when an element goes to NULL, all of the
8531 unhandled messages coming from it can be freed, and their
8532 references to the element dropped. In other words: message source
8533 ref considered harmful :P
8535 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8536 we're finished with it.
8538 * gst/gstmessage.c (gst_message_new_state_changed):
8540 2005-05-10 Wim Taymans <wim@fluendo.com>
8542 * gst/gstvalue.c: (gst_value_compare_flags),
8543 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8544 (_gst_value_initialize):
8545 Added flags serialize/deserialize/compare code.
8547 2005-05-09 Andy Wingo <wingo@pobox.com>
8549 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8550 Intersect the peer's caps with our caps.
8552 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8554 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8555 * gst/elements/gsttypefindelement.c: (find_peek):
8556 Handle negative offsets better. Fixes decodebin.
8558 2005-05-09 Wim Taymans <wim@fluendo.com>
8560 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8561 (gst_base_transform_event):
8562 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8563 Implement accept_caps.
8564 Fix silly lock/unlock mismatch in base class.
8566 2005-05-09 Wim Taymans <wim@fluendo.com>
8568 * docs/design/draft-push-pull.txt:
8569 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8570 * gst/elements/gstfilesink.c: (gst_filesink_init),
8571 (gst_filesink_query):
8572 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8573 (gst_type_find_handle_src_query), (find_element_get_length):
8574 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8578 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8579 (gst_real_pad_get_caps_unlocked),
8580 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8581 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8582 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8583 (gst_real_pad_dispose), (gst_real_pad_finalize),
8584 (gst_pad_load_and_link), (gst_pad_save_thyself),
8585 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8586 (gst_pad_check_pull_range), (gst_pad_pull_range),
8587 (gst_pad_template_get_type), (gst_pad_template_class_init),
8588 (gst_pad_template_init), (gst_pad_template_dispose),
8589 (name_is_valid), (gst_static_pad_template_get),
8590 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8591 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8592 (gst_pad_get_element_private), (gst_pad_start_task),
8593 (gst_pad_pause_task), (gst_pad_stop_task),
8594 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8595 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8596 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8597 (gst_ghost_pad_new):
8599 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8600 (gst_query_new_position), (gst_query_set_position),
8601 (gst_query_parse_position), (gst_query_new_convert),
8602 (gst_query_set_convert), (gst_query_parse_convert):
8604 * gst/gstqueryutils.c:
8605 * gst/gstqueryutils.h:
8606 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8607 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8608 (gst_queue_handle_src_query):
8609 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8610 (gst_element_query_position), (gst_element_query_convert),
8611 (intersect_caps_func), (gst_pad_query_position),
8612 (gst_pad_query_convert):
8614 * tools/gst-inspect.c: (print_pad_info):
8615 * tools/gst-xmlinspect.c: (print_element_info):
8616 Remove old query functions. Ported old code.
8617 Added position/convert helper functions to gstutils.
8618 Reordered gstpad.c code, grouping relevant things.
8619 Remove gst_message_new(), always need to speficy a specific
8623 2005-05-09 Andy Wingo <wingo@pobox.com>
8625 * gst/gstiterator.h: Add some includes.
8627 * gst/gstqueryutils.h: Include more headers.
8630 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8631 some uses of gst_pad_query.
8633 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8634 NULL out parameters.
8635 (gst_query_new_position): New proc, allocates a new position
8638 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8639 gstqueryutils.c to the build.
8641 * gst/gststructure.c (gst_structure_set_valist): Implement with
8642 the generic G_VALUE_COLLECT.
8644 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8646 * gst/Makefile.am: (gst_headers):
8647 Added gstqueryutils.h to the list of headers to install, that was
8648 a 'nachty' move wingo :)
8650 2005-05-06 Andy Wingo <wingo@pobox.com>
8653 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8654 GstData, init a memchunk.
8655 (standard_definitions): Add a few query types, deprecate a few.
8656 (gst_query_get_type): New proc.
8657 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8659 (gst_query_new_application, gst_query_get_structure): New public
8662 * docs/design/draft-query.txt: Removed LINKS from the query types,
8663 because all the rest can be dispatched to other pads -- seemed
8664 ugly to have a query that couldn't be dispatched. internal_links
8665 is fine as a pad method.
8667 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8668 in gstpad.c, but maintain binary compatibility for the moment.
8669 Will fix before 0.9 is out.
8671 * gst/gstqueryutils.c:
8672 * gst/gstqueryutils.h: New files, implement 3 methods for each
8673 query type: parse_query, parse_response, and set. Probably need an
8676 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8678 * gst/elements/gstfilesink.c (gst_filesink_query2):
8679 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8680 query_types, and formats methods.
8682 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8683 (gst_pad_set_query2_function): New functions.
8684 (gst_real_pad_init): Set query2_default as the default query2
8685 function. Basically just dispatches to internally linked pads.
8689 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8690 without using the atomic operations. Only one thread can possibly
8691 be accessing the data at this point. Changed so as to avoid
8692 gst_atomic operations.
8694 2005-05-06 Wim Taymans <wim@fluendo.com>
8696 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8697 Also set caps if we use the fallback buffer alloc.
8699 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8701 * docs/gst/Makefile.am:
8702 * docs/gst/gstreamer-docs.sgml:
8703 * docs/gst/gstreamer-sections.txt:
8704 * docs/gst/tmpl/gstatomic.sgml:
8705 * docs/gst/tmpl/gstmemchunk.sgml:
8706 * testsuite/elements/struct_i386.h:
8707 * win32/GStreamer.vcproj:
8709 Purge GstAtomic stuff from docs and win32 makefiles as well
8711 2005-05-06 Wim Taymans <wim@fluendo.com>
8713 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8714 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8715 * gst/gstpad.c: (gst_pad_peer_get_caps):
8716 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8717 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8718 (gst_queue_src_activate), (gst_queue_change_state):
8720 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8721 (intersect_caps_func):
8722 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8723 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8724 Some fixes for the peer_get_caps() change.
8726 2005-05-06 Wim Taymans <wim@fluendo.com>
8728 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8729 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8730 (gst_basesink_activate):
8731 Actually do something with error codes returned from the push
8734 2005-05-06 Wim Taymans <wim@fluendo.com>
8736 * docs/design/part-element-sink.txt:
8737 * docs/design/part-element-source.txt:
8738 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8739 (gst_basesink_event), (gst_basesink_activate):
8740 * gst/base/gstbasesink.h:
8741 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8742 (gst_basesrc_activate):
8743 * gst/base/gstbasesrc.h:
8744 * gst/gstelement.c: (gst_element_pads_activate):
8745 Some more documentation.
8746 Fixed scheduling decision in _pads_activate().
8748 2005-05-05 Andy Wingo <wingo@pobox.com>
8750 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8753 2005-05-05 Wim Taymans <wim@fluendo.com>
8755 * gst/base/Makefile.am:
8756 * gst/base/gstbasesink.h:
8757 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8758 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8759 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8760 (gst_collectpads_class_init), (gst_collectpads_init),
8761 (gst_collectpads_finalize), (gst_collectpads_new),
8762 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8763 (find_pad), (gst_collectpads_remove_pad),
8764 (gst_collectpads_is_active), (gst_collectpads_collect),
8765 (gst_collectpads_collect_range), (gst_collectpads_start),
8766 (gst_collectpads_stop), (gst_collectpads_peek),
8767 (gst_collectpads_pop), (gst_collectpads_available),
8768 (gst_collectpads_read), (gst_collectpads_flush),
8769 (gst_collectpads_chain):
8770 * gst/base/gstcollectpads.h:
8771 * gst/elements/Makefile.am:
8772 * gst/elements/gstelements.c:
8773 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8774 (gst_fakesink_get_times), (gst_fakesink_event),
8775 (gst_fakesink_preroll), (gst_fakesink_render):
8776 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8777 (gst_filesink_init), (gst_filesink_set_location),
8778 (gst_filesink_open_file), (gst_filesink_close_file),
8779 (gst_filesink_pad_query), (gst_filesink_event),
8780 (gst_filesink_render), (gst_filesink_change_state):
8781 * gst/elements/gstfilesink.h:
8782 Added object to help in making collect pad based elements.
8784 Make event function in sink baseclass return gboolean.
8786 2005-05-05 Wim Taymans <wim@fluendo.com>
8788 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8789 (gst_bin_get_by_name):
8791 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8792 (gst_clock_finalize):
8793 * gst/gstdata.c: (gst_data_replace):
8795 * gst/gstelement.c: (gst_element_request_pad),
8796 (gst_element_pads_activate):
8797 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8800 (gst_pad_set_checkgetrange_function),
8801 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8802 (gst_pad_check_pull_range), (gst_pad_pull_range),
8803 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8804 (gst_pad_pause_task), (gst_pad_stop_task):
8805 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8806 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8807 Fix name lookup in GstBin.
8808 Added _data_replace() function and _buffer_replace()
8809 Use finalize method to clean up clock.
8810 Fix refcounting on request pads.
8811 Fix pad schedule mode error.
8812 Some more object refcounting debug info,
8815 2005-05-04 Andy Wingo <wingo@pobox.com>
8817 * check/Makefile.am:
8818 * docs/gst/tmpl/gstatomic.sgml:
8819 * docs/gst/tmpl/gstplugin.sgml:
8820 * gst/base/gstbasesink.c: (gst_basesink_activate):
8821 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8822 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8823 (gst_basesrc_query), (gst_basesrc_set_property),
8824 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8825 (gst_basesrc_activate):
8826 * gst/base/gstbasesrc.h:
8827 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8828 (gst_base_transform_src_activate):
8829 * gst/elements/gstelements.c:
8830 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8831 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8832 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8833 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8834 (gst_type_find_element_checkgetrange),
8835 (gst_type_find_element_activate):
8836 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8837 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8838 (gst_caps_load_thyself):
8839 * gst/gstelement.c: (gst_element_pads_activate),
8840 (gst_element_save_thyself), (gst_element_restore_thyself):
8841 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8842 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8844 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8845 (gst_xml_parse_file), (gst_xml_parse_memory),
8846 (gst_xml_get_element), (gst_xml_make_element):
8847 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8848 (_file_index_id_save_xml), (gst_file_index_commit):
8849 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8850 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8852 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8853 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8854 * tools/gst-complete.c: (main):
8855 * tools/gst-compprep.c: (main):
8856 * tools/gst-inspect.c: (print_element_properties_info):
8857 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8858 * tools/gst-xmlinspect.c: (print_element_properties):
8861 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8863 * gst/gstplugin.c: (gst_plugin_check_module),
8864 (gst_plugin_check_file), (gst_plugin_load_file):
8865 apply patch from #172526 to make register work on MacOSX
8867 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8869 * docs/gst/tmpl/gstconfig.sgml:
8870 * gst/gstconfig.h.in:
8871 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8872 * testsuite/debug/printf_extension.c: (main):
8873 Do not use GST_PTR_FORMAT on pointers to types with
8874 sizeof < sizeof(gpointer). Fixes test on 64-bit
8875 * testsuite/elements/property.h:
8876 use correct printf format
8878 2005-05-02 Wim Taymans <wim@fluendo.com>
8880 * docs/design/draft-push-pull.txt:
8881 * docs/design/draft-query.txt:
8882 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8883 (gst_basesrc_start):
8884 Added draft for new query API.
8885 Added draft for better selecting scheduling methods.
8886 Make basesrc ignore length if the subclass does not support
8889 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8892 possible fixes for automake-1.5 - _LIBADD is reserved
8894 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8896 * docs/faq/Makefile.am:
8897 * docs/manual/Makefile.am:
8899 * docs/pwg/Makefile.am:
8901 possible fixes for automake-1.5
8903 2005-04-28 Wim Taymans <wim@fluendo.com>
8905 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8906 (gst_basesink_pad_getcaps), (gst_basesink_init),
8907 (gst_basesink_do_sync):
8908 * gst/gstclock.c: (gst_clock_entry_new):
8909 * gst/gstevent.c: (gst_event_discont_get_value):
8910 * gst/gstpipeline.c: (pipeline_bus_handler),
8911 (gst_pipeline_change_state):
8912 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8913 Better debugging of clocking info.
8914 Allow NULL values when getting discont values.
8916 2005-04-27 Wim Taymans <wim@fluendo.com>
8918 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8919 * check/gst/gstpad.c: (gst_pad_suite):
8920 Increase timeout for checks.
8922 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8924 * check/Makefile.am:
8925 fix the broken rule for cleanup. Apparently this rule is
8926 only needed on FC2, so maybe this warrants further autotool
8929 2005-04-26 Wim Taymans <wim@fluendo.com>
8931 * gst/gsttrashstack.h:
8932 Ooohh. a nasty one! After having a failed pop() from the stack,
8933 it's possible that the stack is empty. In that case, don't
8934 follow the NULL pointer.
8936 2005-04-25 Wim Taymans <wim@fluendo.com>
8938 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8939 (gst_pad_set_checkgetrange_function),
8940 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8941 (gst_pad_check_pull_range), (gst_pad_pull_range),
8942 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8943 (gst_pad_pause_task), (gst_pad_stop_task):
8944 * gst/gstplugin.c: (gst_plugin_load):
8946 Remove gst_library_load as it does more harm than good with
8947 the new g_module flags.
8948 Revert bogus caps template check in pad linking, pad caps
8949 are important when linking not the template, which is more
8950 general than the current caps.
8952 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8954 * gst/autoplug/.cvsignore:
8955 * gst/autoplug/Makefile.am:
8956 * gst/autoplug/gstsearchfuncs.c:
8957 * gst/autoplug/gstsearchfuncs.h:
8958 * gst/autoplug/gstspider.c:
8959 * gst/autoplug/gstspider.h:
8960 * gst/autoplug/gstspideridentity.c:
8961 * gst/autoplug/gstspideridentity.h:
8962 * gst/autoplug/spidertest.c:
8965 2005-04-25 Wim Taymans <wim@fluendo.com>
8967 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8968 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8969 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8970 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8972 Added stubs for unimplemented functions.
8974 2005-04-24 David Schleef <ds@schleef.org>
8976 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8979 2005-04-24 David Schleef <ds@schleef.org>
8981 Convert everything from GstAtomicInt to g_atomic_int_*, and
8986 * gst/gstatomic_impl.h:
8994 * gst/gstdata_private.h:
9001 * gst/gststructure.c:
9002 * gst/gststructure.h:
9003 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9006 2005-04-24 David Schleef <ds@schleef.org>
9008 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9009 make the regressions tests work. Remove some code that is no
9011 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9012 Disable warning for pads without templates.
9014 2005-04-24 David Schleef <ds@schleef.org>
9016 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9017 functions that handle filtered links.
9018 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9020 * gst/gstutils.c: Fix/remove utility functions that handle
9023 * gst/gstvalue.c: Add serialization/deserialization of caps
9024 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9025 requires fixing so that the filter caps notation creates
9026 a capsfilter element and sets the filter_caps property. I
9027 think everyone probably wants to keep the shorthand notation.
9028 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9029 * docs/gst/tmpl/gstpad.sgml:
9031 * gst/elements/gstelements.c: Register capsfilter element.
9032 * gst/Makefile.am: fix spacing
9033 * docs/random/ds/0.9-suggested-changes: random
9035 2005-04-23 David Schleef <ds@schleef.org>
9037 * gst/elements/Makefile.am:
9038 * gst/elements/gstcapsfilter.c: New element that acts like an
9039 identity, but filters caps. Will eventually replace filtered
9040 caps in pad linking.
9041 * gst/gstutils.c: (gst_element_create_all_pads): New function
9042 to create all the ALWAYS pads that are registered with an
9043 element class. This functionality should eventually be
9044 merged in with GstElement initialization.
9046 * testsuite/trigger/README: part of trigger test code that should
9047 have been checked in a long time ago.
9049 2005-04-23 David Schleef <ds@schleef.org>
9051 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9052 needed with new versions of libtool (nobody will confirm this),
9053 and hard to carry around.
9054 * gst/autoplug/Makefile.am:
9055 * gst/base/Makefile.am:
9056 * gst/elements/Makefile.am:
9057 * gst/indexers/Makefile.am:
9058 * gst/schedulers/Makefile.am:
9059 * libs/gst/bytestream/Makefile.am:
9060 * libs/gst/control/Makefile.am:
9061 * libs/gst/dataprotocol/Makefile.am:
9062 * libs/gst/getbits/Makefile.am:
9064 2005-04-21 Wim Taymans <wim@fluendo.com>
9066 * docs/design/draft-push-pull.txt:
9067 * docs/design/part-MT-refcounting.txt:
9068 * docs/design/part-TODO.txt:
9069 * docs/design/part-caps.txt:
9070 * docs/design/part-events.txt:
9071 * docs/design/part-gstbus.txt:
9072 * docs/design/part-gstpipeline.txt:
9073 * docs/design/part-messages.txt:
9074 * docs/design/part-push-pull.txt:
9075 * docs/design/part-query.txt:
9078 2005-04-21 Wim Taymans <wim@fluendo.com>
9080 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9081 (gst_message_new), (gst_message_new_error),
9082 (gst_message_new_warning), (gst_message_new_tag),
9083 (gst_message_new_state_changed), (gst_message_new_application),
9084 (gst_message_get_structure):
9086 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9087 (gst_structure_copy_conditional):
9088 Use parent refcount in GstMessage to ensure GstStructure
9090 Cleaned up headers a bit.
9093 2005-04-20 Wim Taymans <wim@fluendo.com>
9095 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9096 (gst_basesink_pad_getcaps), (gst_basesink_init),
9097 (gst_basesink_chain_unlocked):
9098 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9099 (gst_type_find_helper):
9100 * gst/elements/gsttypefindelement.c:
9101 (gst_type_find_element_have_type), (gst_type_find_element_init),
9102 (stop_typefinding), (gst_type_find_element_handle_event),
9103 (find_suggest), (gst_type_find_element_chain),
9104 (gst_type_find_element_checkgetrange),
9105 (gst_type_find_element_getrange), (do_typefind),
9106 (gst_type_find_element_activate):
9107 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9108 (gst_buffer_default_free), (gst_buffer_default_copy),
9109 (gst_buffer_set_caps):
9110 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9112 * gst/gstmessage.c: (gst_message_new),
9113 (gst_message_new_state_changed):
9114 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9115 (gst_pad_set_checkgetrange_function),
9116 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9117 (gst_pad_set_caps), (gst_pad_check_pull_range),
9118 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9120 * gst/gsttypefind.c: (gst_type_find_register):
9121 Make gst_caps_replace() work like other _replace() functions.
9122 Use _caps_replace() where possible.
9123 Make sure _message_new() initialises its field.
9124 Add gst_static_pad_template_get_caps()
9127 2005-04-18 Andy Wingo <wingo@pobox.com>
9129 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9130 on the peer, not the pad. I think that was a typo. Pass an extra
9131 arg to see if random access is possible. Activate the pads as
9132 PULL_RANGE if possible.
9134 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9136 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9137 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9140 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9142 * docs/faq/using.xml:
9143 Add note on gstreamer-properties (#154996).
9145 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9147 * docs/random/bbb/optional-properties:
9148 Some analysis on optional properties.
9150 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9152 * docs/gst/tmpl/gstelementfactory.sgml:
9154 * gst/gstelementfactory.c: (gst_element_factory_init),
9155 (gst_element_factory_cleanup), (gst_element_register),
9156 (__gst_element_factory_add_static_pad_template),
9157 (gst_element_factory_get_static_pad_templates),
9158 (gst_element_factory_can_src_caps),
9159 (gst_element_factory_can_sink_caps):
9160 * gst/registries/Makefile.am:
9161 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9162 (gst_xml_registry_class_init), (gst_xml_registry_init),
9163 (gst_xml_registry_new), (gst_xml_registry_set_property),
9164 (gst_xml_registry_get_property), (get_time), (make_dir),
9165 (gst_xml_registry_get_perms_func),
9166 (plugin_times_older_than_recurse), (plugin_times_older_than),
9167 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9168 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9169 (add_to_char_array), (read_string), (read_uint), (read_enum),
9170 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9171 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9172 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9173 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9174 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9175 (gst_xml_registry_rebuild):
9176 * gst/registries/gstlibxmlregistry.h:
9177 * tools/gst-compprep.c: (main):
9178 * tools/gst-inspect.c: (print_pad_templates_info):
9179 * tools/gst-xmlinspect.c: (print_element_info):
9180 Use libxml2 for registry parsing, use staticpadtemplates in
9181 elementfactories. Makes gst_init() +/- 10x faster.
9183 2005-04-12 Wim Taymans <wim@fluendo.com>
9185 * gst/base/Makefile.am:
9186 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9187 (gst_basesink_pad_getcaps), (gst_basesink_init),
9188 (gst_basesink_event), (gst_basesink_change_state):
9189 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9190 (gst_basesrc_init), (gst_basesrc_query),
9191 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9192 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9193 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9194 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9195 (gst_basesrc_stop), (gst_basesrc_activate),
9196 (gst_basesrc_change_state):
9197 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9198 (helper_find_suggest), (gst_type_find_helper):
9199 * gst/base/gsttypefindhelper.h:
9200 * gst/elements/Makefile.am:
9201 * gst/elements/gstelements.c:
9202 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9203 (gst_fakesink_get_times), (gst_fakesink_event),
9204 (gst_fakesink_preroll), (gst_fakesink_render):
9205 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9206 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9207 (gst_fakesrc_get_property), (gst_fakesrc_create),
9208 (gst_fakesrc_start), (gst_fakesrc_stop):
9209 * gst/elements/gstfakesrc.h:
9210 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9211 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9212 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9213 (gst_filesrc_create_read), (gst_filesrc_create),
9214 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9215 (gst_filesrc_start):
9216 * gst/elements/gsttypefindelement.c:
9217 (gst_type_find_element_have_type), (gst_type_find_element_init),
9218 (start_typefinding), (stop_typefinding), (push_buffer_store),
9219 (gst_type_find_element_handle_event),
9220 (gst_type_find_element_chain),
9221 (gst_type_find_element_checkgetrange),
9222 (gst_type_find_element_getrange), (do_typefind),
9223 (gst_type_find_element_activate),
9224 (gst_type_find_element_change_state):
9225 * gst/elements/gsttypefindelement.h:
9226 * gst/gstpipeline.c: (pipeline_bus_handler):
9227 Added typefind helper.
9228 Small preroll fix in the base sink.
9229 Disable typefind code in basesrc.
9230 Crude port of typefindelement.
9234 2005-04-11 Wim Taymans <wim@fluendo.com>
9236 * check/gst/gstbus.c: (gstbus_suite):
9237 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9239 Fix up the timeout so that the test does not fail.
9241 2005-04-06 Wim Taymans <wim@fluendo.com>
9244 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9245 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9246 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9247 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9248 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9249 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9250 (gst_basesrc_stop), (gst_basesrc_activate),
9251 (gst_basesrc_change_state), (basesrc_find_peek),
9252 (basesrc_find_suggest), (gst_basesrc_type_find):
9253 * gst/base/gstbasesrc.h:
9254 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9255 (gst_filesrc_class_init), (gst_filesrc_init),
9256 (gst_filesrc_finalize), (gst_filesrc_set_location),
9257 (gst_filesrc_set_property), (gst_filesrc_get_property),
9258 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9259 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9260 (gst_filesrc_create_read), (gst_filesrc_create),
9261 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9262 * gst/elements/gstfilesrc.h:
9263 * gst/gstelement.c: (gst_element_get_state_func),
9264 (gst_element_lost_state), (gst_element_pads_activate):
9265 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9266 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9267 (gst_pad_pull_range):
9269 More work on the generic source base class, implement seeking,
9271 Make filesrc extend the base source class.
9272 Added gst_pad_set_checkgetrange_function to GstPad.
9274 2005-04-06 Andy Wingo <wingo@pobox.com>
9276 * pkgconfig/gstreamer-base.pc.in:
9277 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9279 * pkgconfig/Makefile.am:
9280 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9282 2005-04-04 Wim Taymans <wim@fluendo.com>
9284 * gst/base/Makefile.am:
9286 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9287 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9288 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9289 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9290 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9291 (gst_basesrc_base_init), (gst_basesrc_class_init),
9292 (gst_basesrc_init), (gst_basesrc_get_formats),
9293 (gst_basesrc_get_query_types), (gst_basesrc_query),
9294 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9295 (gst_basesrc_set_property), (gst_basesrc_get_property),
9296 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9297 (gst_basesrc_loop), (gst_basesrc_activate),
9298 (gst_basesrc_change_state):
9299 * gst/base/gstbasesrc.h:
9300 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9301 (gst_fakesrc_class_init), (gst_fakesrc_init),
9302 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9303 (gst_fakesrc_get_property), (gst_fakesrc_create):
9304 * gst/elements/gstfakesrc.h:
9305 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9306 (gst_filesrc_open_file), (gst_filesrc_loop),
9307 (gst_filesrc_activate), (filesrc_find_peek),
9308 (gst_filesrc_type_find):
9309 Made base source class, make fakesrc extend it.
9310 Add comments to basesink class.
9311 Some filesrc cleanup.
9313 2005-03-31 David Schleef <ds@schleef.org>
9315 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9316 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9317 expected to link against libgstreamer.
9318 * gst/base/Makefile.am: link against libgstreamer
9319 * gst/elements/Makefile.am: same
9321 2005-03-31 Andy Wingo <wingo@pobox.com>
9323 * tests/instantiate/Makefile.am:
9324 * tests/instantiate/caps.c: Add test to test speed of caps copy
9327 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9328 GMemChunk to be fair.
9330 * gst/gsttrashstack.h: Remove warning about using the fallback
9331 trash stack implementation, it's still faster than malloc.
9333 2005-03-30 Andy Wingo <wingo@pobox.com>
9335 * tests/complexity.c: Add a copyright.
9337 2005-03-31 Wim Taymans <wim@fluendo.com>
9339 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9340 (gst_base_transform_class_init), (gst_base_transform_init),
9341 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9342 (gst_base_transform_get_property),
9343 (gst_base_transform_sink_activate),
9344 (gst_base_transform_src_activate),
9345 (gst_base_transform_change_state):
9346 * gst/base/gstbasetransform.h:
9347 * gst/elements/gstidentity.c: (gst_identity_class_init),
9348 (gst_identity_event), (gst_identity_check_perfect),
9349 (gst_identity_transform), (gst_identity_start),
9350 (gst_identity_stop):
9351 Added start/stop methods to transform base class so subclasses
9352 don't need to deal with state changes even.
9354 2005-03-31 Wim Taymans <wim@fluendo.com>
9356 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9357 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9359 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9360 (gst_pad_pull_range):
9361 Added rate to the discont event to prepare for variable speed
9362 and reverse playback.
9364 2005-03-29 David Schleef <ds@schleef.org>
9367 * testsuite/trigger/Makefile.am:
9368 * testsuite/trigger/trigger.c: A little example program to show
9369 how trigger-based elements can work.
9371 2005-03-29 Wim Taymans <wim@fluendo.com>
9373 * gst/base/Makefile.am:
9375 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9376 (gst_basesink_base_init), (gst_basesink_class_init),
9377 (gst_basesink_pad_getcaps), (gst_basesink_init),
9378 (gst_basesink_activate), (gst_basesink_change_state):
9379 * gst/base/gstbasesink.h:
9380 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9381 (gst_base_transform_base_init), (gst_base_transform_finalize),
9382 (gst_base_transform_class_init), (gst_base_transform_init),
9383 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9384 (gst_base_transform_event), (gst_base_transform_getrange),
9385 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9386 (gst_base_transform_set_property),
9387 (gst_base_transform_get_property),
9388 (gst_base_transform_sink_activate),
9389 (gst_base_transform_src_activate),
9390 (gst_base_transform_change_state):
9391 * gst/base/gstbasetransform.h:
9392 * gst/elements/gstidentity.c: (gst_identity_finalize),
9393 (gst_identity_class_init), (gst_identity_init),
9394 (gst_identity_event), (gst_identity_check_perfect),
9395 (gst_identity_transform), (gst_identity_set_property),
9396 (gst_identity_get_property), (gst_identity_change_state):
9397 * gst/elements/gstidentity.h:
9398 * gst/gstelement.c: (gst_element_get_state_func),
9399 (gst_element_lost_state), (gst_element_pads_activate):
9400 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9401 (gst_pad_check_pull_range), (gst_pad_pull_range):
9403 Simplify pad activation.
9404 Added function to check if pull_range can be performed.
9405 Error out when pulling inactive or flushing pads.
9406 Removed const from refcounted types as it does not make sense.
9407 Simplify pad templates in basesink
9408 Added base class for simple 1-to-1 transforms.
9409 Make identity subclass the base transform.
9411 2005-03-29 Andy Wingo <wingo@pobox.com>
9413 * docs/libs/gstreamer-libs-overrides.txt:
9414 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9415 really don't understand what's going on, but like whatever. I want
9418 * docs/gst/Makefile.am:
9419 * docs/libs/Makefile.am: Dist the overrides files.
9421 * check/Makefile.am (clean-local): Remove .libs directories.
9423 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9424 elements to EXTRA_DIST, so po/ files are happy.
9426 * po/POTFILES.in: Er, remove it here.
9428 * po/POTFILES: Remove gstspider.c.
9430 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9432 * docs/libs/gstreamer-libs-docs.sgml:
9433 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9436 * tests/complexity.c (main): Set the length of the preroll queue
9437 on the sinks to prevent a lockup.
9439 * libs/gst/dataprotocol/Makefile.am:
9440 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9441 the same as the one in check/gst-libs/gdp.c.
9443 * po/, docs/gst/: Commit automatic changes to docs and po files.
9445 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9446 the versioned libgstbase.
9448 * check/Makefile.am: Depend on an unversioned gst-register, seems
9449 to make autoconf happier.
9451 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9453 2005-03-28 Wim Taymans <wim@fluendo.com>
9456 * docs/design/part-gstelement.txt:
9457 * docs/design/part-negotiation.txt:
9458 * docs/design/part-preroll.txt:
9459 * docs/design/part-scheduling.txt:
9460 * docs/design/part-states.txt:
9462 * gst/base/Makefile.am:
9464 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9465 (gst_basesink_base_init), (gst_basesink_class_init),
9466 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9467 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9468 (gst_basesink_set_pad_functions),
9469 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9470 (gst_basesink_set_property), (gst_basesink_get_property),
9471 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9472 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9473 (gst_basesink_preroll_queue_push),
9474 (gst_basesink_preroll_queue_empty),
9475 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9476 (gst_basesink_event), (gst_basesink_get_times),
9477 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9478 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9479 (gst_basesink_loop), (gst_basesink_activate),
9480 (gst_basesink_change_state):
9481 * gst/base/gstbasesink.h:
9482 * gst/elements/Makefile.am:
9483 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9484 (gst_fakesink_class_init), (gst_fakesink_init),
9485 (gst_fakesink_set_property), (gst_fakesink_get_property),
9486 (gst_fakesink_get_times), (gst_fakesink_event),
9487 (gst_fakesink_preroll), (gst_fakesink_render),
9488 (gst_fakesink_change_state):
9489 * gst/elements/gstfakesink.h:
9490 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9491 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9492 * gst/gstelement.c: (gst_element_add_pad),
9493 (gst_element_get_state_func), (gst_element_abort_state),
9494 (gst_element_commit_state), (gst_element_lost_state),
9495 (gst_element_set_state), (gst_element_pads_activate):
9496 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9497 * gst/gstpipeline.c: (gst_pipeline_send_event),
9498 (gst_pipeline_change_state):
9499 Added state change code.
9501 Added sink base class, make fakesink extend the base class.
9502 Small cleanups in GstPipeline.
9504 2005-03-26 David Schleef <ds@schleef.org>
9506 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9507 is broken and should be implemented in a different library.
9508 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9509 * gst/gst.h: remove gstcpu.h
9510 * gst/gstcpu.c: remove
9511 * gst/gstcpu.h: remove
9512 * gst/Makefile.am.future: Remove this file. It's ancient.
9514 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9517 (gst_bin_send_event):
9518 Add default event/set_manager handlers. The set_manager handler
9519 takes care that the manager is distributed over kids that were
9520 already in the bin before the manager was set. The event handler
9521 is a utility virtual function that sends the event over all sinks,
9522 so that gst_element_send_event (bin, event); has the expected
9524 * gst/gstpad.c: (gst_pad_event_default):
9525 Re-install default event handling for discontinuities, so that
9526 seeking works without requiring hacks in applications or extra
9528 * gst/gstpipeline.c: (gst_pipeline_class_init),
9529 (gst_pipeline_send_event):
9530 Half hack, half utility: set a pipeline to PAUSED for seek events,
9531 since that is the only way we can guarantee a/v sync. Means that
9532 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9533 and it "just works".
9535 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9537 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9538 Lock/unlock mismatch.
9540 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9542 * docs/faq/gst-uninstalled:
9543 add gst-plugins-base
9544 * docs/gst/Makefile.am:
9545 don't error out until docs are fixed
9546 * docs/gst/gstreamer.types:
9549 2005-03-22 Wim Taymans <wim@fluendo.com>
9551 * check/Makefile.am:
9552 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9553 * gst/gststructure.c: (gst_structure_set_valist),
9554 (gst_structure_copy_conditional):
9555 Activated more tests.
9557 Added G_TYPE_POINTER to GstStructure.
9560 2005-03-22 Wim Taymans <wim@fluendo.com>
9562 * docs/design/part-TODO.txt:
9563 * docs/design/part-events.txt:
9564 * docs/design/part-gstbin.txt:
9565 * docs/design/part-gstbus.txt:
9566 * docs/design/part-gstpipeline.txt:
9567 * docs/design/part-messages.txt:
9572 2005-03-21 Wim Taymans <wim@fluendo.com>
9574 * gst/gstbus.c: (gst_bus_post):
9575 Fix copy-and-paste error.
9577 2005-03-21 Wim Taymans <wim@fluendo.com>
9579 * check/Makefile.am:
9581 * gst/elements/Makefile.am:
9582 * gst/elements/gstelements.c:
9583 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9584 (gst_fakesink_event), (gst_fakesink_chain):
9585 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9586 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9587 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9588 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9589 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9590 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9591 (gst_fakesrc_loop), (gst_fakesrc_activate),
9592 (gst_fakesrc_change_state):
9593 * gst/elements/gstfakesrc.h:
9594 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9595 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9596 (gst_filesrc_open_file), (gst_filesrc_loop),
9597 (gst_filesrc_activate), (gst_filesrc_change_state),
9598 (filesrc_find_peek), (filesrc_find_suggest),
9599 (gst_filesrc_type_find):
9600 * gst/elements/gstidentity.c: (gst_identity_finalize),
9601 (gst_identity_class_init), (gst_identity_init),
9602 (gst_identity_proxy_getcaps), (identity_queue_push),
9603 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9604 (gst_identity_getrange), (gst_identity_chain),
9605 (gst_identity_sink_loop), (gst_identity_src_loop),
9606 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9607 (gst_identity_set_property), (gst_identity_get_property),
9608 (gst_identity_change_state):
9609 * gst/elements/gstidentity.h:
9610 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9611 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9612 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9613 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9614 (gst_tee_sink_activate):
9615 * gst/elements/gsttee.h:
9616 * gst/gst.c: (gst_register_core_elements), (init_post):
9618 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9619 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9620 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9621 (gst_bin_change_state):
9623 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9624 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9625 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9626 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9627 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9628 (bus_watch_callback), (bus_watch_destroy),
9629 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9630 (poll_timeout), (gst_bus_poll):
9634 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9635 (gst_element_post_message), (gst_element_message_full),
9636 (gst_element_get_state_func), (gst_element_get_state),
9637 (gst_element_abort_state), (gst_element_commit_state),
9638 (gst_element_lost_state), (gst_element_set_state),
9639 (gst_element_pads_activate), (gst_element_change_state),
9640 (gst_element_dispose), (gst_element_set_manager_func),
9641 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9642 (gst_element_set_manager), (gst_element_get_manager),
9643 (gst_element_set_bus), (gst_element_get_bus),
9644 (gst_element_set_scheduler), (gst_element_get_scheduler):
9646 * gst/gstevent.c: (gst_event_new_segment_seek),
9647 (gst_event_new_flush):
9649 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9650 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9651 (gst_message_new_eos), (gst_message_new_error),
9652 (gst_message_new_warning), (gst_message_new_tag),
9653 (gst_message_new_state_changed), (gst_message_new_application),
9654 (gst_message_get_structure), (gst_message_parse_tag),
9655 (gst_message_parse_state_changed), (gst_message_parse_error),
9656 (gst_message_parse_warning):
9658 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9659 (gst_real_pad_set_property), (gst_pad_set_active),
9660 (gst_pad_is_active), (gst_pad_set_blocked_async),
9661 (gst_pad_set_blocked), (gst_pad_is_blocked),
9662 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9663 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9664 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9665 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9666 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9667 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9668 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9669 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9670 (gst_pad_set_caps), (gst_pad_configure_sink),
9671 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9672 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9673 (gst_real_pad_dispose), (gst_real_pad_finalize),
9674 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9675 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9676 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9678 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9679 (pipeline_bus_handler), (gst_pipeline_change_state),
9680 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9681 * gst/gstpipeline.h:
9683 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9684 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9685 (gst_queue_link_src), (gst_queue_bufferalloc),
9686 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9687 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9688 (gst_queue_loop), (gst_queue_handle_src_event),
9689 (gst_queue_handle_src_query), (gst_queue_src_activate),
9690 (gst_queue_change_state):
9692 * gst/gstscheduler.c: (gst_scheduler_init),
9693 (gst_scheduler_dispose), (gst_scheduler_create_task),
9694 (gst_scheduler_factory_create):
9695 * gst/gstscheduler.h:
9696 * gst/gststructure.c: (gst_structure_get_type),
9697 (gst_structure_copy_conditional):
9698 * gst/gststructure.h:
9699 * gst/gsttaginterface.h:
9700 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9701 (gst_task_init), (gst_task_dispose), (gst_task_create),
9702 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9708 * gst/schedulers/Makefile.am:
9709 * gst/schedulers/cothreads_compat.h:
9710 * gst/schedulers/entryscheduler.c:
9711 * gst/schedulers/faircothreads.c:
9712 * gst/schedulers/faircothreads.h:
9713 * gst/schedulers/fairscheduler.c:
9714 * gst/schedulers/gstbasicscheduler.c:
9715 * gst/schedulers/gstoptimalscheduler.c:
9716 * gst/schedulers/gthread-cothreads.h:
9717 * gst/schedulers/threadscheduler.c:
9718 (gst_thread_scheduler_task_get_type),
9719 (gst_thread_scheduler_task_class_init),
9720 (gst_thread_scheduler_task_init),
9721 (gst_thread_scheduler_task_start),
9722 (gst_thread_scheduler_task_stop),
9723 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9724 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9725 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9726 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9728 * libs/gst/Makefile.am:
9729 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9730 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9731 (gst_file_pad_parent_set):
9732 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9733 (gst_dp_event_from_packet):
9734 * tests/complexity.c: (main):
9735 * tests/mass_elements.c: (main):
9736 * testsuite/states/locked.c: (message_received), (main):
9737 * testsuite/states/parent.c: (main):
9738 * tools/gst-inspect.c: (print_element_flag_info),
9739 (print_implementation_info), (print_pad_info):
9740 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9742 * tools/gst-md5sum.c: (event_loop), (main):
9743 * tools/gst-typefind.c: (main):
9744 * tools/gst-xmlinspect.c: (print_element_info):
9746 Added GstBus for mainloop integration.
9747 Added GstMessage for sending notifications on the bus.
9748 Added GstTask as an abstraction for pipeline entry points.
9751 Simplified GstQueue for multithreaded core.
9752 Made _link threadsafe, removed old capsnego.
9753 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9754 Added pad blocking functions.
9755 Reworked scheduling functions in GstPad to prepare for
9756 scheduling updates soon.
9757 Moved events out of data stream.
9758 Simplified GstEvent types.
9759 Added return values to push/pull.
9760 Removed clocking from GstElement.
9761 Added prototypes for state change function for next merge.
9762 Removed iterate from bins and state change management.
9763 Fixed some elements, disabled others for now.
9764 Fixed -inspect and -launch.
9765 Added check for GstBus.
9767 2005-03-10 Wim Taymans <wim@fluendo.com>
9769 * docs/design/part-MT-refcounting.txt:
9770 * docs/design/part-clocks.txt:
9771 * docs/design/part-gstelement.txt:
9772 * docs/design/part-gstobject.txt:
9773 * docs/design/part-standards.txt:
9774 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9775 (gst_bin_remove_func), (gst_bin_remove):
9779 * testsuite/clock/clock1.c: (main):
9780 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9782 * testsuite/dlopen/loadgst.c: (do_test):
9783 * testsuite/refcounting/bin.c: (add_remove_test1),
9784 (add_remove_test2), (main):
9785 * testsuite/refcounting/element.c: (main):
9786 * testsuite/refcounting/element_pad.c: (main):
9787 * testsuite/refcounting/pad.c: (main):
9788 * tools/gst-launch.c: (sigint_handler_sighandler):
9789 * tools/gst-typefind.c: (main):
9791 Added doc about clock.
9792 removed gst_bin_iterate_recurse_up(), marked methods
9794 Fix more testsuites.
9796 2005-03-09 Wim Taymans <wim@fluendo.com>
9798 * gst/gstpad.c: (gst_pad_get_direction),
9799 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9800 (gst_pad_collect_valist):
9801 * testsuite/bins/interface.c: (main):
9802 * testsuite/caps/audioscale.c: (test_caps):
9803 * testsuite/caps/caps.c: (test1), (test2), (test3):
9804 * testsuite/caps/deserialize.c: (main):
9805 * testsuite/caps/enumcaps.c: (main):
9806 * testsuite/caps/filtercaps.c: (main):
9807 * testsuite/caps/intersect2.c: (main):
9808 * testsuite/caps/random.c: (main):
9809 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9810 * testsuite/caps/sets.c: (check_caps):
9811 * testsuite/caps/simplify.c: (check_caps), (main):
9812 * testsuite/caps/subtract.c: (check_caps):
9813 Fix _pad_get_direction wrt ghostpads.
9816 2005-03-09 Wim Taymans <wim@fluendo.com>
9818 * check/Makefile.am:
9819 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9820 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9821 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9823 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9824 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9825 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9826 (bin_element_is_sink), (gst_bin_iterate_sinks),
9827 (gst_bin_iterate_all_by_interface):
9829 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9830 (gst_element_change_state), (gst_element_dispose),
9831 (gst_element_finalize), (gst_element_set_loop_function):
9833 * gst/gstiterator.c: (find_custom_fold_func):
9834 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9835 (gst_pad_collectv), (gst_pad_collect_valist),
9836 (gst_pad_template_new):
9837 * gst/gstpipeline.c: (gst_pipeline_class_init),
9838 (gst_pipeline_dispose), (gst_pipeline_set_property),
9839 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9840 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9841 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9843 * gst/schedulers/entryscheduler.c:
9844 * gst/schedulers/gstbasicscheduler.c:
9845 (gst_basic_scheduler_cothreaded_chain),
9846 (gst_basic_scheduler_chain_add_element):
9847 * testsuite/bins/interface.c: (main):
9849 Added GstSystemClock test.
9850 Implemented clock distribution code in GstBin.
9851 Implemented iterate sinks method for future use.
9852 Rearranged gstelement.h
9853 Fix GstIterator comparison bug.
9854 Moved some code to GstPipeline, mostly clocking related.
9856 2005-03-09 Wim Taymans <wim@fluendo.com>
9859 * gst/gst_private.h:
9860 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9861 (gst_bin_remove_func), (gst_bin_remove),
9862 (gst_bin_get_by_name_recurse_up):
9863 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9864 (gst_clock_id_compare_func), (gst_clock_id_wait),
9865 (gst_clock_id_wait_async), (gst_clock_init),
9866 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9868 * gst/gstinfo.c: (_gst_debug_init):
9870 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9871 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9873 Bump version number, we're now 0.9.0
9874 Add future debugging category.
9875 Fix NULL _unref() in _get_by_name_recurse_up
9879 2005-03-08 Wim Taymans <wim@fluendo.com>
9881 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9882 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9883 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9884 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9885 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9886 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9887 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9888 * gst/elements/gstidentity.c: (gst_identity_class_init):
9889 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9890 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9891 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9892 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9893 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9895 * gst/gstelement.c: (gst_element_class_init),
9896 (gst_element_base_class_init), (gst_element_init),
9897 (gst_element_get_random_pad), (gst_element_wait_state_change),
9898 (gst_element_change_state), (gst_element_dispose),
9899 (gst_element_finalize), (gst_element_set_loop_function):
9901 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9902 * gst/gstthread.c: (gst_thread_class_init),
9903 (gst_thread_release_children_locks), (gst_thread_change_state):
9904 * gst/schedulers/gstbasicscheduler.c:
9905 (gst_basic_scheduler_loopfunc_wrapper),
9906 (gst_basic_scheduler_chain_wrapper),
9907 (gst_basic_scheduler_src_wrapper),
9908 (gst_basic_scheduler_remove_element):
9909 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9910 Remove threadsafe properties. Fix elements because GObject
9911 complains when installing a property before declaring a
9912 set/get_property handler.
9913 Rearrange gstelement.h file, use STATE macros for state locks.
9914 Free mutexes in the finalize method instead of dispose.
9916 2005-03-08 Wim Taymans <wim@fluendo.com>
9918 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9919 * gst/gstthread.c: (gst_thread_release_children_locks):
9920 Added parentage check.
9921 Fix build og GstThread again.
9923 2005-03-08 Wim Taymans <wim@fluendo.com>
9925 * docs/design/part-MT-refcounting.txt:
9926 * docs/design/part-conventions.txt:
9927 * docs/design/part-gstobject.txt:
9928 * docs/design/part-relations.txt:
9929 * docs/design/part-standards.txt:
9930 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9931 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9932 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9933 (gst_bin_iterate_all_by_interface):
9936 * gst/gstelement.c: (gst_element_class_init),
9937 (gst_element_change_state), (gst_element_set_loop_function):
9939 * gst/gstiterator.c:
9940 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9941 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9942 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9943 (gst_object_set_parent), (gst_object_unparent),
9944 (gst_object_check_uniqueness):
9946 Docs updates, clean up some headers.
9948 2005-03-07 Wim Taymans <wim@fluendo.com>
9951 * check/Makefile.am:
9952 * check/gst-libs/.cvsignore:
9953 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9954 * check/gst/.cvsignore:
9955 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9956 (START_TEST), (gstbus_suite), (main):
9957 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9958 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9959 (gst_data_suite), (main):
9960 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9961 (add_fold_func), (gstiterator_suite), (main):
9962 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9963 (thread_name_object), (thread_name_object_default),
9964 (gst_object_name_compare), (gst_object_suite), (main):
9965 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9966 (gst_pad_suite), (main):
9967 * check/gstcheck.c: (gst_check_log_message_func),
9968 (gst_check_log_critical_func), (gst_check_init):
9970 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9971 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9974 2005-03-07 Wim Taymans <wim@fluendo.com>
9976 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9977 (gst_list_iterator_next), (gst_list_iterator_resync),
9978 (gst_list_iterator_free), (gst_iterator_new_list),
9979 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9980 (gst_iterator_free), (gst_iterator_push), (filter_next),
9981 (filter_resync), (filter_uninit), (filter_free),
9982 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9983 (gst_iterator_foreach), (find_custom_fold_func),
9984 (gst_iterator_find_custom):
9985 * gst/gstiterator.h:
9986 Added missing files.
9988 2005-03-07 Wim Taymans <wim@fluendo.com>
9992 * docs/design/part-MT-refcounting.txt:
9993 * docs/design/part-conventions.txt:
9994 * docs/design/part-gstobject.txt:
9995 * docs/design/part-relations.txt:
9996 * examples/mixer/mixer.c: (main):
9997 * examples/thread/thread.c: (eos), (main):
9999 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10000 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10001 (gst_spider_plug_from_srcpad):
10002 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10003 (gst_spider_identity_change_state),
10004 (gst_spider_identity_sink_loop_type_finding):
10005 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10006 * gst/elements/gstidentity.c: (gst_identity_init):
10007 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10008 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10009 * gst/elements/gsttypefindelement.c: (free_entry):
10012 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10013 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10014 (gst_bin_set_index), (gst_bin_set_element_sched),
10015 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10016 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10017 (gst_bin_iterate_elements), (iterate_child_recurse),
10018 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10019 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10020 (compare_interface), (gst_bin_get_by_interface),
10021 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10023 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10024 (gst_buffer_default_free), (gst_buffer_default_copy),
10025 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10026 (gst_buffer_create_sub):
10028 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10029 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10030 (gst_caps_unref), (gst_static_caps_get),
10031 (gst_caps_remove_and_get_structure), (gst_caps_append),
10032 (gst_caps_append_structure), (gst_caps_remove_structure),
10033 (gst_caps_copy_nth), (gst_caps_set_simple),
10034 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10035 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10036 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10037 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10038 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10039 (gst_caps_structure_figure_out_union),
10040 (gst_caps_switch_structures), (gst_caps_do_simplify),
10041 (gst_caps_replace), (gst_caps_from_string),
10042 (gst_caps_copy_conditional):
10044 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10045 (_gst_clock_id_free), (gst_clock_id_unref),
10046 (gst_clock_id_compare_func), (gst_clock_id_wait),
10047 (gst_clock_id_wait_async), (gst_clock_class_init),
10048 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10049 (gst_clock_get_time), (gst_clock_set_time_adjust),
10050 (gst_clock_set_property), (gst_clock_get_property):
10053 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10054 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10056 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10057 (gst_element_requires_clock), (gst_element_provides_clock),
10058 (gst_element_set_clock), (gst_element_clock_wait),
10059 (gst_element_wait), (gst_element_set_time_delay),
10060 (gst_element_is_indexable), (gst_element_add_pad),
10061 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10062 (pad_compare_name), (gst_element_get_static_pad),
10063 (gst_element_request_pad), (gst_element_get_request_pad),
10064 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10065 (gst_element_class_get_pad_template_list),
10066 (gst_element_class_get_pad_template), (gst_element_error_func),
10067 (gst_element_get_random_pad), (gst_element_get_event_masks),
10068 (gst_element_send_event), (gst_element_seek),
10069 (gst_element_get_query_types), (gst_element_query),
10070 (gst_element_get_formats), (gst_element_convert),
10071 (gst_element_is_locked_state), (gst_element_set_locked_state),
10072 (gst_element_sync_state_with_parent), (gst_element_change_state),
10073 (gst_element_finalize), (gst_element_yield),
10074 (gst_element_interrupt), (gst_element_set_scheduler),
10075 (gst_element_get_scheduler), (gst_element_set_loop_function):
10076 * gst/gstelement.h:
10078 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10079 (gst_format_get_by_nick), (gst_format_get_details),
10080 (gst_format_iterate_definitions):
10082 * gst/gstindex.c: (gst_index_gtype_resolver):
10085 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10086 (gst_mem_chunk_free):
10087 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10088 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10089 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10090 (gst_object_dispatch_properties_changed),
10091 (gst_object_set_name_default), (gst_object_set_name),
10092 (gst_object_get_name), (gst_object_set_name_prefix),
10093 (gst_object_get_name_prefix), (gst_object_set_parent),
10094 (gst_object_get_parent), (gst_object_unparent),
10095 (gst_object_check_uniqueness), (gst_object_save_thyself),
10096 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10097 (gst_object_set_property), (gst_object_get_property),
10098 (gst_object_get_path_string):
10100 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10101 (gst_real_pad_init), (gst_real_pad_get_property),
10102 (gst_pad_custom_new), (gst_pad_get_direction),
10103 (gst_pad_set_active), (gst_pad_is_active),
10104 (gst_pad_set_event_function), (gst_pad_is_linked),
10105 (gst_pad_link_free), (gst_pad_link_intersect),
10106 (gst_pad_link_fixate), (gst_pad_set_caps),
10107 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10108 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10109 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10110 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10111 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10112 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10113 (gst_pad_realize), (gst_pad_get_allowed_caps),
10114 (gst_real_pad_dispose), (gst_real_pad_finalize),
10115 (gst_pad_collectv), (gst_pad_collect_valist),
10116 (gst_pad_template_dispose), (gst_pad_template_new),
10117 (gst_pad_get_internal_links):
10119 * gst/gstpipeline.c: (gst_pipeline_dispose),
10120 (gst_pipeline_change_state):
10121 * gst/gstpipeline.h:
10123 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10124 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10125 * gst/gstpluginfeature.h:
10126 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10127 * gst/gstquery.c: (_gst_query_type_initialize),
10128 (gst_query_type_register), (gst_query_type_get_by_nick),
10129 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10131 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10132 * gst/gstscheduler.c: (gst_scheduler_add_element),
10133 (gst_scheduler_factory_create):
10134 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10135 (gst_structure_free), (gst_structure_set_name),
10136 (gst_structure_id_set_value), (gst_structure_set_value),
10137 (gst_structure_set_valist), (gst_structure_remove_field),
10138 (gst_structure_remove_fields),
10139 (gst_structure_remove_fields_valist),
10140 (gst_structure_remove_all_fields), (gst_structure_foreach),
10141 (gst_structure_map_in_place),
10142 (gst_caps_structure_fixate_field_nearest_int),
10143 (gst_caps_structure_fixate_field_nearest_double):
10144 * gst/gststructure.h:
10145 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10146 (gst_system_clock_init), (gst_system_clock_dispose),
10147 (gst_system_clock_async_thread),
10148 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10149 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10150 * gst/gstsystemclock.h:
10151 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10152 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10153 * gst/gsttaginterface.c:
10154 * gst/gstthread.c: (gst_thread_dispose),
10155 (gst_thread_release_children_locks), (gst_thread_change_state),
10156 (gst_thread_main_loop):
10157 * gst/gsttrashstack.h:
10158 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10160 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10161 (gst_element_request_pad), (gst_element_get_pad_from_template),
10162 (gst_element_request_compatible_pad),
10163 (gst_element_get_compatible_pad_filtered),
10164 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10165 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10166 (gst_element_link_many), (gst_element_link),
10167 (gst_element_link_pads), (gst_element_unlink_pads),
10168 (gst_element_unlink_many), (gst_element_unlink),
10169 (gst_pad_can_link_filtered), (gst_pad_can_link),
10170 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10171 (gst_object_default_error), (gst_bin_add_many),
10172 (gst_bin_remove_many), (gst_element_populate_std_props),
10173 (gst_element_class_install_std_props), (gst_buffer_merge),
10174 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10175 (link_fold_func), (gst_pad_proxy_setcaps):
10177 * gst/gstvalue.c: (gst_value_deserialize_string):
10178 * gst/parse/grammar.y:
10179 * gst/schedulers/gstbasicscheduler.c:
10180 (gst_basic_scheduler_cothreaded_chain),
10181 (gst_basic_scheduler_chain_recursive_add),
10182 (gst_basic_scheduler_pad_link):
10183 * gst/schedulers/gstoptimalscheduler.c:
10184 (get_group_schedule_function),
10185 (gst_opt_scheduler_state_transition),
10186 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10187 * libs/gst/bytestream/bytestream.c:
10188 * libs/gst/dataprotocol/dataprotocol.c:
10189 (gst_dp_header_from_buffer):
10192 * tests/threadstate/threadstate2.c: (eos):
10193 * tools/gst-compprep.c: (main):
10194 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10195 (print_pad_info), (print_children_info):
10196 * tools/gst-launch.c: (idle_func), (main):
10197 * tools/gst-md5sum.c: (idle_func), (main):
10198 * tools/gst-xmlinspect.c: (print_element_info):
10199 First THREADED backport attempt, focusing on adding locks and
10200 making sure the API is threadsafe. Needs more work. More docs
10203 2005-02-24 Andy Wingo <wingo@pobox.com>
10205 * tests/bench-complexity.scm:
10206 * tests/complexity.gnuplot: New files, good for running complexity
10209 * tests/Makefile.am:
10210 * tests/complexity.c: New test, sets up N elements, at each level
10211 teeing into M streams per element. Eeeenteresting.
10213 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10214 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10215 running bench-mass_elements.scm.
10217 * tests/bench-mass_elements.scm: New script, runs mass_elements
10218 for various numbers of identities, outputting the results to a
10219 file. Requires guile 1.6. Just for testing.
10221 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10223 * gst/schedulers/fairscheduler.c:
10224 compile with debug disabled
10226 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10229 hunting season on 0.9 is now OPEN