1 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
5 Add !! to _FLAG_IS_SET macros to make the result boolean.
7 2005-11-03 Edward Hervey <edward@fluendo.com>
9 * gst/gstpad.c: (gst_pad_set_blocked_async):
10 comparing a flag and a gboolean rarely returns coherent results...
11 Added two characters (!!) to make that work correctly.
13 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15 * gst/gstbus.c: (gst_bus_class_init):
18 * gst/gstqueue.c: (gst_queue_loop):
19 Don't assume a miniobject that isn't a buffer is an
20 event (it could be that there is a refcounting
21 problem somewhere and the pointer is stale and
22 refers to an already destroyed miniobject).
24 2005-11-03 Julien MOUTTE <julien@moutte.net>
26 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
28 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
30 * docs/manual/advanced-position.xml:
31 Update seek example and explanations to current 0.9 API.
33 * gst/elements/gsttypefindelement.c:
34 (gst_type_find_element_activate):
35 Remove FIXME comment now that the found caps
38 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
40 * gst/gstregistryxml.c: (load_feature):
41 Add another GST_STR_NULL instance
43 2005-11-02 Edward Hervey <edward@fluendo.com>
45 * gst/gstpad.c: (handle_pad_block):
46 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
48 2005-11-02 Wim Taymans <wim@fluendo.com>
53 * gst/gstelement.c: (gst_element_commit_state):
57 Mention that the returned element is reffed in the docs.
59 2005-11-02 Wim Taymans <wim@fluendo.com>
61 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
62 (gst_pad_push), (gst_pad_push_event):
63 Unlock blocked pads when they are flushed.
65 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
68 * docs/gst/gstreamer-sections.txt:
71 * gst/gstregistry.c: (gst_registry_scan_path_level):
72 fix for a nasty little missed situation where an installed plug-in
73 which was in the cache did not get overridden by an uninstalled one
74 which was earlier in the plugin path because the newly created plugin
75 for the uninstalled one (not in the registry) didn't get its
76 ->registered set to TRUE
78 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
80 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
81 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
82 (gst_collectpads_is_active), (gst_collectpads_collect),
83 (gst_collectpads_collect_range), (gst_collectpads_start),
84 (gst_collectpads_stop), (gst_collectpads_peek),
85 (gst_collectpads_pop), (gst_collectpads_available),
86 (gst_collectpads_read), (gst_collectpads_flush):
87 Guard public API with assertions.
90 Fix docs for gst_pad_set_link_function().
92 2005-11-02 Johan Dahlin <johan@gnome.org>
94 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
95 Unref found_caps after we used it.
97 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
99 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
100 Don't try to ref NULL.
102 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
104 * win32/common/config.h.in:
105 provide a GST_FUNCTION that just gives a string for now
107 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
109 * win32/common/gstenumtypes.c: (register_gst_object_flags),
110 (gst_object_flags_get_type), (register_gst_bin_flags),
111 (gst_bin_flags_get_type), (register_gst_buffer_flag),
112 (gst_buffer_flag_get_type), (register_gst_bus_flags),
113 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
114 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
115 (gst_clock_return_get_type), (register_gst_clock_entry_type),
116 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
117 (gst_clock_flags_get_type), (register_gst_state),
118 (gst_state_get_type), (register_gst_state_change_return),
119 (gst_state_change_return_get_type), (register_gst_state_change),
120 (gst_state_change_get_type), (register_gst_element_flags),
121 (gst_element_flags_get_type), (register_gst_core_error),
122 (gst_core_error_get_type), (register_gst_library_error),
123 (gst_library_error_get_type), (register_gst_resource_error),
124 (gst_resource_error_get_type), (register_gst_stream_error),
125 (gst_stream_error_get_type), (register_gst_event_type),
126 (gst_event_type_get_type), (register_gst_seek_type),
127 (gst_seek_type_get_type), (register_gst_seek_flags),
128 (gst_seek_flags_get_type), (register_gst_format),
129 (gst_format_get_type), (register_gst_index_certainty),
130 (gst_index_certainty_get_type), (register_gst_index_entry_type),
131 (gst_index_entry_type_get_type),
132 (register_gst_index_lookup_method),
133 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
134 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
135 (gst_index_resolver_method_get_type), (register_gst_index_flags),
136 (gst_index_flags_get_type), (register_gst_debug_level),
137 (gst_debug_level_get_type), (register_gst_debug_color_flags),
138 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
139 (gst_iterator_result_get_type), (register_gst_iterator_item),
140 (gst_iterator_item_get_type), (register_gst_message_type),
141 (gst_message_type_get_type), (register_gst_mini_object_flags),
142 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
143 (gst_pad_link_return_get_type), (register_gst_flow_return),
144 (gst_flow_return_get_type), (register_gst_activate_mode),
145 (gst_activate_mode_get_type), (register_gst_pad_direction),
146 (gst_pad_direction_get_type), (register_gst_pad_flags),
147 (gst_pad_flags_get_type), (register_gst_pad_presence),
148 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
149 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
150 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
151 (gst_plugin_error_get_type), (register_gst_plugin_flags),
152 (gst_plugin_flags_get_type), (register_gst_rank),
153 (gst_rank_get_type), (register_gst_query_type),
154 (gst_query_type_get_type), (register_gst_tag_merge_mode),
155 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
156 (gst_tag_flag_get_type), (register_gst_task_state),
157 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
158 (gst_alloc_trace_flags_get_type),
159 (register_gst_type_find_probability),
160 (gst_type_find_probability_get_type), (register_gst_uri_type),
161 (gst_uri_type_get_type), (register_gst_parse_error),
162 (gst_parse_error_get_type):
163 * win32/common/gstversion.h:
166 2005-11-01 Luca Ognibene <luogni@tin.it>
169 fix docs. popt is dead, long live GOption.
171 2005-10-31 Wim Taymans <wim@fluendo.com>
176 2005-10-31 Andy Wingo <wingo@pobox.com>
180 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
182 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
183 need to serialize property notifications on GLib 2.8. GLib 2.6 has
184 the possibility of deadlocks here if code calling notify() or
185 set() has a lock that can be taken in another notify handler (ABBA
186 with class lock and e.g. python GIL state lock).
188 2005-10-28 Julien MOUTTE <julien@moutte.net>
190 * gst/gstbus.c: Doc updates.
192 2005-10-28 Wim Taymans <wim@fluendo.com>
194 * docs/design/part-TODO.txt:
196 * gst/gstsystemclock.c:
197 * gst/gstsystemclock.h:
200 2005-10-28 Edward Hervey <edward@fluendo.com>
202 * docs/gst/gstreamer-docs.sgml:
203 * docs/gst/gstreamer-sections.txt:
204 the GstURIType documentation page is private, it only defines GstURIType
205 which should be defined in the GstURIHandler page
207 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
209 * gst/gstbin.c: (gst_bin_class_init):
212 Documentation updates.
214 2005-10-28 Wim Taymans <wim@fluendo.com>
216 * docs/gst/gstreamer-sections.txt:
219 Documented the clocks.
221 2005-10-28 Stefan Kost <ensonic@users.sf.net>
223 * docs/gst/gstreamer-sections.txt:
224 move some macros to private sections
225 * gst/gstminiobject.c:
226 * gst/gstminiobject.h:
227 add descriptions provided by ds and some more
229 mark macro as to be removed
231 2005-10-28 Wim Taymans <wim@fluendo.com>
233 * docs/design/part-TODO.txt:
236 * gst/gstiterator.c: (gst_iterator_fold),
237 (gst_iterator_find_custom):
241 2005-10-28 Wim Taymans <wim@fluendo.com>
243 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
244 (gst_base_transform_init):
247 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
248 An EOS event marks the queue as completely filled.
250 2005-10-27 Wim Taymans <wim@fluendo.com>
252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
253 (gst_base_sink_do_sync), (gst_base_sink_get_position):
256 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
257 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
258 (gst_base_transform_event), (gst_base_transform_getrange),
259 (gst_base_transform_chain):
260 * gst/base/gstbasetransform.h:
262 Protect transform and concurrent buffer alloc with a new lock.
263 Try not to break ABI/API.
265 2005-10-27 Wim Taymans <wim@fluendo.com>
267 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
268 (gst_base_src_init), (gst_base_src_query),
269 (gst_base_src_default_newsegment),
270 (gst_base_src_configure_segment), (gst_base_src_do_seek),
271 (gst_base_src_send_event), (gst_base_src_event_handler),
272 (gst_base_src_pad_get_range), (gst_base_src_loop),
273 (gst_base_src_unlock), (gst_base_src_default_negotiate),
274 (gst_base_src_start), (gst_base_src_deactivate),
275 (gst_base_src_activate_push), (gst_base_src_change_state):
276 Move some stuff around and cleanup things.
278 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
280 * gst/base/gstbasesrc.c: (gst_base_src_query):
281 Add missing break statements.
283 2005-10-27 Wim Taymans <wim@fluendo.com>
285 * check/gst/gstbin.c: (GST_START_TEST):
286 An extra refcount is taken in basesrc.
288 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
289 (gst_base_src_get_range), (gst_base_src_pad_get_range),
291 Small cleanups, check for flushing after being unlocked from the
292 LIVE_LOCK. take refcounts correctly (not yet everywhere).
293 Don't send out EOS when going to READY.
295 2005-10-27 Wim Taymans <wim@fluendo.com>
297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
298 (gst_base_sink_get_position):
301 * gst/gstbin.c: (message_check), (bin_replace_message),
302 (bin_remove_messages), (is_eos), (gst_bin_add_func),
303 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
304 (bin_query_duration_init), (bin_query_duration_fold),
305 (bin_query_duration_done), (bin_query_generic_fold),
307 * tools/gst-launch.c: (main):
310 2005-10-26 Stefan Kost <ensonic@users.sf.net>
312 * examples/controller/audio-example.c: (main):
313 * examples/queue/queue.c: (event_loop):
314 * gst/base/gstbasetransform.h:
315 * gst/gstelement.c: (gst_element_send_event):
317 * gst/gstpad.c: (gst_pad_send_event):
320 changing log priority in error situations
322 2005-10-25 Wim Taymans <wim@fluendo.com>
324 * gst/gstbin.c: (message_check), (bin_replace_message),
325 (bin_remove_messages), (is_eos), (gst_bin_add_func),
326 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
327 (bin_query_duration_init), (bin_query_duration_fold),
328 (bin_query_duration_done), (bin_query_generic_fold),
330 Some doc and debug updates.
331 Cache previously requested query DURATION for speed. invalidate
332 cached duration if element posts a DURATION message.
334 2005-10-25 Wim Taymans <wim@fluendo.com>
336 * docs/design/part-TODO.txt:
339 * gst/gstbin.c: (message_check), (bin_replace_message),
340 (bin_remove_messages), (is_eos), (gst_bin_add_func),
341 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
342 (bin_query_duration_init), (bin_query_duration_fold),
343 (bin_query_duration_done), (bin_query_generic_fold),
345 Handle SEGMENT_START/DONE messages correctly.
346 More evolved query algorithm that handles duration queries
349 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
350 (gst_element_get_state_func), (gst_element_abort_state),
351 (gst_element_commit_state), (gst_element_lost_state):
357 2005-10-25 Wim Taymans <wim@fluendo.com>
359 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
360 Don't use invalid stream_time.
362 * gst/gstevent.c: (gst_event_new_newsegment):
363 stream_time in newsegment cannot be undefined.
365 2005-10-24 Wim Taymans <wim@fluendo.com>
370 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
372 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
374 2005-10-24 Stefan Kost <ensonic@users.sf.net>
376 * docs/libs/tmpl/gstdparam.sgml:
377 * docs/libs/tmpl/gstdplinint.sgml:
378 * docs/libs/tmpl/gstdpman.sgml:
379 * docs/libs/tmpl/gstdpsmooth.sgml:
380 * docs/libs/tmpl/gstunitconvert.sgml:
383 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
388 === release 0.9.4 ===
390 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
393 releasing 0.9.4, "Tyrannosaurus Rex"
395 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
397 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
398 (gst_file_sink_get_current_offset):
399 Use fseeko() and ftello() if available. When falling back on
400 lseek() to get the current offset, fflush() first to make sure
401 everything is up-to-date and we get the right offset.
403 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
406 * gst/base/gstbasesrc.c: (gst_base_src_loop):
407 * gst/gsterror.c: (_gst_stream_errors_init):
409 * gst/gstqueue.c: (gst_queue_loop):
411 remove prematurely added error category and clean up the instances
413 2005-10-21 Wim Taymans <wim@fluendo.com>
415 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
416 (gst_base_sink_get_position), (gst_base_sink_query),
417 (gst_base_sink_change_state):
418 Simply set the right flag when going to playing, that's all
419 we need to do instead of calling a function inside the object
420 lock (that could take the lock as well and deadlock)
422 2005-10-21 Wim Taymans <wim@fluendo.com>
424 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
426 Don't warn, the peer element knows what to do best when
427 the seek failed, it might try something else.
429 2005-10-21 Wim Taymans <wim@fluendo.com>
431 * gst/base/gstbasesrc.c: (gst_base_src_init),
432 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
435 2005-10-21 Wim Taymans <wim@fluendo.com>
437 * docs/design/part-segments.txt:
440 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
441 Correctly set caps, even on the subbufer.
443 2005-10-21 Wim Taymans <wim@fluendo.com>
445 * docs/gst/gstreamer-docs.sgml:
446 * docs/gst/gstreamer-sections.txt:
453 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
457 And 2% more doc coverage.
459 2005-10-21 Andy Wingo <wingo@pobox.com>
461 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
464 2005-10-20 Wim Taymans <wim@fluendo.com>
466 * gst/gsterror.c: (gst_error_get_message):
469 * gst/gststructure.c:
474 2005-10-20 Wim Taymans <wim@fluendo.com>
479 Another 1% more coverage.
481 2005-10-20 Wim Taymans <wim@fluendo.com>
483 * docs/gst/gstreamer-sections.txt:
484 * gst/gstelement.c: (gst_element_get_state_func),
485 (gst_element_abort_state), (gst_element_commit_state),
486 (gst_element_lost_state):
488 * gst/gstquery.c: (gst_query_set_position),
489 (gst_query_parse_position), (gst_query_set_duration),
490 (gst_query_parse_duration), (gst_query_new_convert):
492 Yay! 1% more docs coverage.
494 2005-10-20 Wim Taymans <wim@fluendo.com>
497 * gst/gstquery.c: (gst_query_set_position),
498 (gst_query_parse_position), (gst_query_set_duration),
499 (gst_query_parse_duration), (gst_query_new_convert):
501 * gst/gstutils.c: (gst_element_query_convert):
503 Docs and consistency fixes.
505 2005-10-20 Wim Taymans <wim@fluendo.com>
511 2005-10-20 Wim Taymans <wim@fluendo.com>
513 * gst/gstbin.c: (message_check), (bin_replace_message),
514 (bin_remove_messages), (is_eos), (gst_bin_add_func),
515 (update_degree), (gst_bin_sort_iterator_next),
516 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
517 Reworked the message handling a bit, cache the messages instead of
518 only the senders. alows us to do more in the future.
520 2005-10-20 Wim Taymans <wim@fluendo.com>
522 * docs/design/part-TODO.txt:
525 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
526 (gst_base_sink_query):
527 Don't use clock time to report position when in EOS.
529 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
531 * tools/gst-inspect.c: (print_interfaces),
532 (print_element_properties_info), (print_element_info):
533 Fix interface output with gst-inspect -a; don't print
534 newlines after double/float properties.
536 2005-10-20 Wim Taymans <wim@fluendo.com>
538 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
539 (gst_base_sink_query):
540 Speed up current position calculation.
542 * gst/base/gstbasesrc.c: (gst_base_src_query),
543 (gst_base_src_default_newsegment):
544 Correctly set stream position in newsegment.
546 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
547 (update_degree), (gst_bin_sort_iterator_next),
548 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
549 * gst/gstmessage.c: (gst_message_new_custom):
550 Clean up debugging info
552 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
553 (gst_queue_loop), (gst_queue_handle_src_query):
556 2005-10-19 Wim Taymans <wim@fluendo.com>
558 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
559 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
560 Fix query handling again.
562 2005-10-19 Wim Taymans <wim@fluendo.com>
564 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
565 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
566 * gst/base/gstbasesrc.c: (gst_base_src_query):
567 * gst/elements/gstfilesink.c: (gst_file_sink_query):
568 * gst/elements/gsttypefindelement.c:
569 (gst_type_find_handle_src_query), (find_element_get_length),
570 (gst_type_find_element_activate):
573 * gst/gstquery.c: (gst_query_new_position),
574 (gst_query_set_position), (gst_query_parse_position),
575 (gst_query_new_duration), (gst_query_set_duration),
576 (gst_query_parse_duration), (gst_query_set_segment),
577 (gst_query_parse_segment):
579 Bundling query position/duration is not a good idea since duration
580 does not change much and we don't want to recalculate it for every
581 position query, so they are separated again..
582 Base value in segment query is not needed.
584 * gst/gstqueue.c: (gst_queue_handle_src_query):
585 * gst/gstutils.c: (gst_element_query_position),
586 (gst_element_query_duration), (gst_pad_query_position),
587 (gst_pad_query_duration):
589 Updates for query API change.
590 Added some docs here and there.
592 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
594 * check/gst/gstbin.c: (GST_START_TEST):
595 * check/gst/gstghostpad.c: (GST_START_TEST):
596 * check/pipelines/cleanup.c: (GST_START_TEST):
597 wait on thread to die so we can check refcount correctly
599 2005-10-18 Wim Taymans <wim@fluendo.com>
601 * check/pipelines/stress.c: (GST_START_TEST):
602 Make check a little more time consuming.
604 2005-10-18 Wim Taymans <wim@fluendo.com>
607 * check/pipelines/stress.c: (GST_START_TEST),
608 (simple_launch_lines_suite), (main):
609 Small state change torture test.
611 * docs/design/part-states.txt:
612 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
613 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
614 (gst_base_sink_change_state):
615 Never take state lock from streaming thread, clean up ugly
616 hacks. Unfortunatly core does not yet support nice ways to
619 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
621 Start state recalc if a STATE_DIRTY message is posted, but only
624 * gst/gstelement.c: (gst_element_sync_state_with_parent),
625 (gst_element_get_state_func), (gst_element_abort_state),
626 (gst_element_commit_state), (gst_element_lost_state),
627 (gst_element_set_state_func), (gst_element_change_state):
629 State variables are now protected with the LOCK, the state
630 lock is only used to serialize _set_state().
632 2005-10-18 Wim Taymans <wim@fluendo.com>
634 * check/gst/gstbin.c: (GST_START_TEST):
635 * check/gst/gstmessage.c: (GST_START_TEST):
636 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
637 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
639 * gst/gstelement.c: (gst_element_abort_state),
640 (gst_element_commit_state), (gst_element_lost_state):
641 * gst/gstmessage.c: (gst_message_new_state_changed),
642 (gst_message_new_state_dirty), (gst_message_new_segment_start),
643 (gst_message_new_segment_done), (gst_message_new_duration),
644 (gst_message_parse_state_changed),
645 (gst_message_parse_segment_start),
646 (gst_message_parse_segment_done), (gst_message_parse_duration):
648 * tools/gst-launch.c: (event_loop):
649 Seriously, this is better than a previous commit as we only need
650 to notify the fact that an element changed state in a streaming
651 thread, marking the state of the parents dirty, hence the
652 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
655 2005-10-18 Wim Taymans <wim@fluendo.com>
657 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
658 (gst_bin_recalc_func):
659 * gst/gstelement.c: (gst_element_set_clock),
660 (gst_element_abort_state), (gst_element_lost_state):
661 Cleanups, prepare for state change fixes.
663 2005-10-18 Wim Taymans <wim@fluendo.com>
666 * gst/gstelement.c: (gst_element_class_init),
667 (gst_element_set_state), (gst_element_set_state_func):
670 GThreadPool in GstBinClass to monitor async state changes.
671 state_cookie in GstElement to detect concurrent gst/set state.
672 set_state is now virtual too in case a very complicated element
673 has to be constructed.
675 2005-10-18 Wim Taymans <wim@fluendo.com>
677 * check/gst/gstbin.c: (GST_START_TEST):
678 * check/gst/gstmessage.c: (GST_START_TEST):
679 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
680 * gst/gstbin.c: (bin_bus_handler):
681 * gst/gstelement.c: (gst_element_commit_state),
682 (gst_element_lost_state):
683 * gst/gstmessage.c: (gst_message_new_state_changed),
684 (gst_message_new_segment_start), (gst_message_new_segment_done),
685 (gst_message_new_duration), (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 Make messages future proof.
691 state-change gets a flag if it was a message comming from the
693 segment-start/stop can also be specified in other formats.
694 A message to notify an app that a pipeline changed playback
696 Also fix a GstMessage leak in -launch
698 2005-10-18 Andy Wingo <wingo@pobox.com>
700 * gst/gstelement.c (gst_element_dispose): More helpful message.
702 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
704 * gst/gstregistry.c: (gst_registry_scan_path_level):
705 unref a plug-in we get that was already initialized
707 2005-10-18 Stefan Kost <ensonic@users.sf.net>
709 * docs/gst/gstreamer-sections.txt:
710 * docs/libs/gstreamer-libs-sections.txt:
715 2005-10-17 Andy Wingo <wingo@pobox.com>
717 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
720 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
722 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
724 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
725 (gst_element_get_state_func): Better debug message.
726 (gst_element_commit_state): s/INFO/DEBUG/.
727 (gst_element_lost_state, gst_element_change_state):
729 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
730 (gst_message_new_custom): s/INFO/LOG/.
732 2005-10-17 Michael Smith <msmith@fluendo.com>
734 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
735 Check if end time is valid using end time, not start time.
737 2005-10-17 Stefan Kost <ensonic@users.sf.net>
739 * check/gst-libs/controller.c: (GST_START_TEST),
740 (gst_controller_suite):
741 * libs/gst/controller/gstcontroller.c:
742 (gst_controlled_property_set_interpolation_mode):
743 * libs/gst/controller/gstcontroller.h:
744 * libs/gst/controller/gstinterpolation.c:
745 * testsuite/controller/.cvsignore:
746 * testsuite/controller/Makefile.am:
747 * testsuite/controller/interpolator.c:
748 merge controller testsuites
750 remove mem-chunk from docs
752 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
756 * gst/gsttrashstack.c:
757 * gst/gsttrashstack.h:
758 out. get out. you're fired. to the Attic !
760 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
762 * gst/gstcaps.c: (gst_caps_intersect):
763 fix signedness issues in a (hopefully) correct way
764 * gst/gstelement.c: (gst_element_pads_activate):
766 * gst/gstobject.c: (gst_object_set_parent):
769 2005-10-17 Julien MOUTTE <julien@moutte.net>
771 * gst/gstvalue.h: Fix prototypes.
773 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
775 * docs/gst/gstreamer-sections.txt:
776 * gst/gst.c: (gst_version_string):
778 * gst/gstversion.h.in:
779 * win32/common/libgstreamer.def:
780 add gst_version_string ()
782 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
786 * gst/gst.c: (init_post):
787 * win32/common/config.h.in:
789 * gst/gstcaps.c: (gst_caps_intersect):
790 use gint64, the range could be bigger than a guint
792 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
795 document potential problem in 2038
797 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
799 * gst/gstcaps.c: (gst_caps_intersect):
800 Fix guint j diving under 0
802 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
805 * win32/common/config.h:
806 * win32/common/config.h.in:
807 check for process.h, declares getpid() on Windows
809 include process.h if we have it
810 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
812 fix signedness issues
813 * win32/common/libgstreamer.def:
816 2005-10-16 Julien MOUTTE <julien@moutte.net>
818 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
819 fix. Because of unsigned ints, caps intersection was going nuts and
820 trying to access structures with G_MAXUINT index. That fixes
821 videotestsrc ! ffmpegcolorspace ! fakesink
822 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
825 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
828 use the gettext macro
829 * gst/elements/gstelements.c:
831 * gst/indexers/gstindexers.c:
832 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
833 * win32/common/config.h:
835 * win32/common/config.h.in:
836 add the template to generate config.h
837 * win32/common/gstenumtypes.c:
838 * win32/common/gstversion.h:
841 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
843 * gst/gst.c: (gst_version):
844 * gst/gstversion.h.in:
847 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
850 Oops, add missing closing bracket.
852 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
855 use common m4's for argument checking
857 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
859 * docs/gst/gstreamer-sections.txt:
861 Add GST_EVENT_TYPE_NAME() macro.
863 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
866 * gst/gstpluginfeature.c:
868 privatize more symbols
870 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
873 add srcdir, builddir includes to GST_ALL_CFLAGS, since
874 everything that uses GStreamer API should have the includes
876 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
878 * docs/gst/gstreamer-sections.txt:
879 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
881 give each value a _get_type, removes the DATA exports
883 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
887 remove _gst_registry_auto_load, not used anymore
888 * gst/gstbin.c: (gst_bin_get_type):
890 * gst/gstelement.c: (gst_element_get_type):
892 * gst/gstobject.c: (gst_object_get_type):
894 * gst/gstpad.c: (gst_pad_get_type):
896 make _get_type functions similar, fixes data export from library
898 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
901 correctly make conditionals
902 * gst/elements/Makefile.am:
903 * gst/elements/gstelements.c:
904 fix typo causing fdsrc not to build
906 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
908 * testsuite/Makefile.am:
909 * testsuite/bytestream/.cvsignore:
910 * testsuite/bytestream/Makefile.am:
911 * testsuite/bytestream/filepadsink.c:
912 * testsuite/bytestream/gstbstest.c:
913 * testsuite/bytestream/test1.c:
914 * testsuite/bytestream/testfile1:
915 * testsuite/caps/normalisation.c:
916 * testsuite/caps/random.c: (main):
917 * testsuite/cleanup/.cvsignore:
918 * testsuite/cleanup/Makefile.am:
919 * testsuite/cleanup/cleanup1.c:
920 * testsuite/cleanup/cleanup2.c:
921 * testsuite/cleanup/cleanup3.c:
922 * testsuite/cleanup/cleanup4.c:
923 * testsuite/cleanup/cleanup5.c:
924 * testsuite/controller/interpolator.c:
925 * testsuite/debug/printf_extension.c: (main):
926 * testsuite/elements/tee.c:
927 * testsuite/negotiation/.cvsignore:
928 * testsuite/negotiation/Makefile.am:
929 * testsuite/negotiation/pad_link.c:
930 * testsuite/pad/Makefile.am:
931 * testsuite/pad/chainnopull.c:
932 * testsuite/pad/getnopush.c:
933 * testsuite/pad/link.c:
934 * testsuite/refcounting/sched.c: (create_pipeline):
935 * testsuite/registry/Makefile.am:
936 * testsuite/registry/gst-print-formats.c:
937 * testsuite/schedulers/.cvsignore:
938 * testsuite/schedulers/142183-2.c:
939 * testsuite/schedulers/142183.c:
940 * testsuite/schedulers/143777-2.c:
941 * testsuite/schedulers/143777.c:
942 * testsuite/schedulers/147713.c:
943 * testsuite/schedulers/147819.c:
944 * testsuite/schedulers/147894-2.c:
945 * testsuite/schedulers/147894.c:
946 * testsuite/schedulers/Makefile.am:
947 * testsuite/schedulers/group_link.c:
948 * testsuite/schedulers/queue_link.c:
949 * testsuite/schedulers/relink.c:
950 * testsuite/schedulers/unlink.c:
951 * testsuite/schedulers/unref.c:
952 * testsuite/schedulers/useless_iteration.c:
953 * testsuite/states/bin.c:
954 clean out/remove some stuff from the testsuite directories
956 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
959 check for some headers
960 * gst/elements/Makefile.am:
961 * gst/elements/gstelements.c:
962 don't compile fdsrc without sys/socket.h
963 * gst/indexers/Makefile.am:
964 * gst/indexers/gstindexers.c: (plugin_init):
965 don't compile fileindex without mmap
967 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
975 * docs/gst/Makefile.am:
976 * examples/helloworld/Makefile.am:
978 * gst/base/Makefile.am:
979 * gst/check/Makefile.am:
980 * gst/elements/Makefile.am:
981 * gst/indexers/Makefile.am:
982 * gst/parse/Makefile.am:
983 * libs/gst/controller/Makefile.am:
984 * libs/gst/dataprotocol/Makefile.am:
985 * examples/helloworld/helloworld.c: (event_loop):
986 compile fixes, though it's not being compiled currently
988 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
990 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
991 Add some simple tests for the new taglist date API.
993 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
995 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
996 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
997 Beautify 'last-message' output: print 'none' for buffer timestamps
998 and durations if none is set; improve alignment with next messages.
1000 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1002 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1003 * gst/gstpluginfeature.h:
1004 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1005 * gst/gstregistry.h:
1006 * docs/gst/gstreamer-sections.txt:
1007 Add new API to check plugin feature version requirements.
1009 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1010 Some basic tests for the above.
1012 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1014 * gst/gststructure.c: (gst_structure_to_string):
1015 guard against NULL printf - happens when for example
1016 a message structure with GstClock gets serialized
1018 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1020 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1021 Fix presumable copy'n'pasto.
1023 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1025 * gst/elements/gstfakesrc.h:
1026 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1027 * gst/elements/gsttypefindelement.c:
1029 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1030 I wonder if this could actually write +2GB files before
1032 2005-10-13 Andy Wingo <wingo@pobox.com>
1034 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1035 Fix Timmeke Waymans bug.
1036 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1037 string of the proper length to gst_caps_from_string. There's a
1038 potential for, before this fix, that this could cause someone
1039 connecting over the network to cause a segfault if the payload is
1042 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1044 * docs/design/draft-push-pull.txt:
1045 * docs/design/part-overview.txt:
1046 * docs/random/TODO-pre-0.9:
1047 * docs/random/old/ChangeLog.gstreamer:
1048 * gst/base/gstpushsrc.c:
1052 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1054 * gst/glib-compat.c: (gst_flags_get_first_value):
1055 * gst/glib-compat.h:
1056 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1057 (gst_value_compare_double), (gst_value_serialize_flags):
1058 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1061 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1064 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1066 * tools/gst-launch.c: (event_loop):
1067 print out clock nicely
1069 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1071 * docs/gst/gstreamer-sections.txt:
1073 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1074 (gst_tag_list_get_date_index):
1075 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1076 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1078 2005-10-13 Julien MOUTTE <julien@moutte.net>
1080 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1081 (gst_collectpads_chain):
1082 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1085 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1087 * docs/gst/gstreamer-sections.txt:
1090 * tools/gst-inspect.c: (main):
1091 * tools/gst-launch.c: (main):
1092 * tools/gst-run.c: (main):
1093 * tools/gst-xmlinspect.c: (main):
1094 fix GOption context leaks
1097 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1101 * win32/common/config.h:
1103 * win32/vs6/grammar.dsp:
1104 * win32/vs6/libgstelements.dsp:
1105 * win32/vs6/libgstreamer.dsp:
1108 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1111 * gst/base/gstbasesrc.c: (gst_base_src_query):
1112 fix more guint64<->gdouble conversions
1114 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1117 add win32-update target
1118 * win32/common/gstconfig.h:
1119 * win32/common/gstenumtypes.c:
1120 * win32/common/gstenumtypes.h:
1121 * win32/common/gstversion.h:
1122 add files that visual studio can't generate
1124 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1127 add a win32-update target
1130 2005-10-12 Wim Taymans <wim@fluendo.com>
1132 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1133 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1134 * gst/gstelement.c: (gst_element_commit_state),
1135 (gst_element_set_state):
1136 Protect flags with proper lock.
1137 unref provided cached clock in dispose.
1139 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1142 * gst/gstminiobject.h:
1144 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1145 removed unused flags from miniobject
1148 2005-10-12 Wim Taymans <wim@fluendo.com>
1150 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1151 (gst_file_sink_event), (gst_file_sink_render):
1152 Flush before seeking.
1154 2005-10-12 Andy Wingo <wingo@pobox.com>
1156 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1157 always been the case.
1159 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1161 * check/gst/gstbin.c: (GST_START_TEST):
1162 * docs/gst/gstreamer-sections.txt:
1163 * gst/base/gstbasesink.c: (gst_base_sink_init):
1164 * gst/base/gstbasesrc.c: (gst_base_src_init),
1165 (gst_base_src_get_range), (gst_base_src_check_get_range),
1166 (gst_base_src_start), (gst_base_src_stop):
1167 * gst/base/gstbasesrc.h:
1168 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1169 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1170 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1174 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1176 * gst/gstelement.c: (gst_element_is_locked_state),
1177 (gst_element_set_locked_state), (gst_element_commit_state),
1178 (gst_element_set_state):
1180 * gst/gstindex.c: (gst_index_init):
1182 * gst/gstminiobject.h:
1183 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1184 (gst_object_set_parent):
1186 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1187 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1189 * gst/gstpadtemplate.h:
1190 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1191 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1192 * gst/gstpipeline.h:
1193 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1194 (gst_file_index_commit):
1195 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1196 * testsuite/pad/link.c: (gst_test_src_init),
1197 (gst_test_filter_init), (gst_test_sink_init):
1198 * testsuite/states/locked.c: (main):
1199 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1200 moved bitshift from macro to enum definition
1202 2005-10-12 Wim Taymans <wim@fluendo.com>
1204 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1205 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1206 (gst_file_sink_render):
1207 Some more debugging info.
1209 2005-10-12 Wim Taymans <wim@fluendo.com>
1211 * docs/design/part-states.txt:
1212 * tools/gst-launch.c: (main):
1214 Revert non-intentional change.
1216 2005-10-12 Wim Taymans <wim@fluendo.com>
1218 * check/gst/gstbin.c: (GST_START_TEST):
1219 * check/gst/gstelement.c: (GST_START_TEST):
1220 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1221 * check/gst/gstghostpad.c: (GST_START_TEST):
1222 * check/gst/gstpipeline.c: (GST_START_TEST):
1223 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1224 * check/states/sinks.c: (GST_START_TEST):
1225 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1226 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1227 (gst_bin_remove_func), (gst_bin_get_state_func),
1228 (gst_bin_recalc_state), (gst_bin_change_state_func),
1230 * gst/gstelement.c: (gst_element_get_state_func),
1231 (gst_element_get_state), (gst_element_abort_state),
1232 (gst_element_commit_state), (gst_element_set_state),
1233 (gst_element_change_state), (gst_element_change_state_func):
1235 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1236 (gst_pipeline_provide_clock_func):
1237 * gst/gstutils.c: (gst_element_link_pads_filtered):
1238 * tools/gst-launch.c: (main):
1239 * tools/gst-typefind.c: (main):
1240 Use GstClockTime in _get_state() instead of GTimeVal.
1241 Remove old code in gstutils.c
1243 2005-10-12 Andy Wingo <wingo@pobox.com>
1245 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1248 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1249 there is no task. Shouldn't affect any code, as nothing in our
1250 plugins checks this return value.
1251 (gst_pad_stop_task): Also take the stream lock if the pad has no
1254 2005-10-12 Wim Taymans <wim@fluendo.com>
1256 * gst/gstpad.c: (pre_activate), (post_activate),
1257 (gst_pad_activate_pull), (gst_pad_activate_push):
1258 Cleanup activation code. Reset old state if
1261 2005-10-12 Wim Taymans <wim@fluendo.com>
1263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1264 (gst_base_sink_change_state):
1265 No need to prerol after receiving EOS.
1267 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1268 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1269 * gst/elements/gstidentity.c: (gst_identity_event):
1270 Print events more verbosely.
1272 2005-10-12 Wim Taymans <wim@fluendo.com>
1274 * check/Makefile.am:
1275 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1276 * check/states/sinks2.c:
1277 Moved sinks2 testcode in sinks check.
1279 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1280 (gst_bin_remove_func), (gst_bin_recalc_state),
1281 (gst_bin_change_state_func), (bin_bus_handler):
1282 Fix potential race condition when _get_state() iterated over an
1283 ASYNC element right before it posted a state completion.
1286 Do proper cast here.
1288 * gst/gstevent.c: (gst_event_new_newsegment),
1289 (gst_event_parse_newsegment):
1290 A playback rate of 0.0 is not allowed.
1292 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1294 * win32/common/config.h:
1295 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1296 (_trewinddir), (_ttelldir), (_tseekdir):
1297 * win32/common/dirent.h:
1298 * win32/common/gtchar.h:
1299 * win32/common/libgstbase.def:
1300 * win32/common/libgstreamer.def:
1301 * win32/vs6/grammar.dsp:
1302 * win32/vs6/gst_inspect.dsp:
1303 * win32/vs6/gst_launch.dsp:
1304 * win32/vs6/gstreamer.dsw:
1305 * win32/vs6/libgstbase.dsp:
1306 * win32/vs6/libgstelements.dsp:
1307 * win32/vs6/libgstreamer.dsp:
1308 Visual Studio 6 project files, and a new common directory.
1311 2005-10-11 Wim Taymans <wim@fluendo.com>
1313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1314 (gst_base_sink_do_sync), (gst_base_sink_query),
1315 (gst_base_sink_change_state):
1316 * gst/base/gstbasesink.h:
1317 Correctly parse newsegment info.
1319 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1321 * gst/gst.c: (init_post):
1322 split plugin paths correctly
1324 2005-10-11 Wim Taymans <wim@fluendo.com>
1326 * check/gst/gstevent.c: (GST_START_TEST):
1327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1328 (gst_base_sink_change_state):
1329 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1330 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1331 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1332 * gst/gstevent.c: (gst_event_new_newsegment),
1333 (gst_event_parse_newsegment):
1335 Added extra flag to newsegment for future API freeze.
1336 Updated check and base elements.
1338 2005-10-11 Julien MOUTTE <julien@moutte.net>
1340 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1341 (gst_collectpads_add_pad), (gst_collectpads_pop),
1342 (gst_collectpads_event), (gst_collectpads_chain):
1343 * gst/base/gstcollectpads.h: Handle EOS correctly.
1345 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1347 * tools/gst-launch.c: (main):
1348 more null protecting
1350 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1352 * gst/gst-i18n-lib.h:
1353 check for ENABLE_NLS, not GETTEXT_PACKAGE
1354 * gst/gstregistry.c: (gst_registry_add_plugin),
1355 (gst_registry_scan_path_level),
1356 (_gst_registry_remove_cache_plugins):
1357 protect possibly NULL strings
1358 * gst/parse/types.h:
1359 config.h already included before
1360 * tools/gst-inspect.c: (main):
1361 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1362 check for ENABLE_NLS, not GETTEXT_PACKAGE
1363 * tools/gst-launch.c: (main):
1364 check for ENABLE_NLS, not GETTEXT_PACKAGE
1366 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1369 if we don't have glib, fail before testing 2.8
1370 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1371 fix a leak, should fix plugins-base testsuite
1373 2005-10-11 Andy Wingo <wingo@pobox.com>
1375 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1376 take the mode we're going to as an arg. Go head and set the mode
1377 and flushing flags now, so that if the activate function starts a
1378 thread all the flags will be in the right state.
1379 (post_activate): Renamed also. Just handle making sure streaming
1380 finishes for the deactivation case, and setting the deactivated
1382 (gst_pad_set_active): Complain loudly if deactivation fails.
1383 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1384 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1385 remove the terrible hack.
1387 2005-10-11 Wim Taymans <wim@fluendo.com>
1389 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1390 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1391 (gst_bin_recalc_state), (gst_bin_change_state_func),
1392 (gst_bin_dispose), (bin_bus_handler):
1394 Prepare to make current EOS message queue more generic.
1397 * gst/gstevent.c: (gst_event_new_newsegment),
1398 (gst_event_parse_newsegment):
1400 Rename base to stream_time.
1405 2005-10-11 Wim Taymans <wim@fluendo.com>
1407 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1408 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1409 (gst_bin_change_state_func), (bin_bus_handler):
1411 Work on proper clock selection.
1413 2005-10-11 Edward Hervey <edward@fluendo.com>
1415 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1416 * libs/gst/controller/gstcontroller.h:
1417 Added GList* version of _remove_properties() in order to be able to wrap
1420 2005-10-11 Wim Taymans <wim@fluendo.com>
1422 * docs/design/part-states.txt:
1425 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1426 (gst_bin_change_state_func), (bin_bus_handler):
1427 Doc updates. Don't distribute the same clock over and over again.
1433 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1434 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1435 (gst_pad_send_event):
1437 Make probe emission threadsafe again.
1438 Register quarks and move _get_name() from utils.
1441 * gst/gstpipeline.c: (gst_pipeline_class_init),
1442 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1443 Only redistribute the clock of it changed.
1445 * gst/gstsystemclock.h:
1450 Moved the _flow_get_name() to GstPad.
1452 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1454 * check/gst-libs/gdp.c: (GST_START_TEST):
1455 * check/gst/gstcaps.c: (GST_START_TEST):
1456 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1457 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1458 (gst_dp_packet_from_caps):
1459 fix more valgrind warnings before turning up the heat
1461 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1463 * gst/parse/grammar.y:
1464 some cleanup before the hacking
1466 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1468 * gst/base/gstbasesrc.c: (gst_base_src_query):
1470 * gst/gstutils.c: (gst_guint64_to_gdouble),
1471 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1473 externalize, basesrc uses it
1474 obviously the implementation needs testing
1476 2005-10-10 Wim Taymans <wim@fluendo.com>
1478 * tests/sched/Makefile.am:
1479 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1480 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1482 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1484 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1485 apparently converting from guint64 to double is not implemented
1488 2005-10-10 Wim Taymans <wim@fluendo.com>
1490 * check/Makefile.am:
1491 * check/generic/states.c: (GST_START_TEST):
1492 * check/gst/gstbin.c: (GST_START_TEST):
1493 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1494 * check/states/sinks.c: (GST_START_TEST):
1495 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1497 Check fixes, use API as stated in design docs, remove hacks.
1499 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1500 (gst_base_sink_change_state):
1501 Catch stopping our task while we're shutting down.
1503 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1504 (gst_bin_remove_func), (gst_bin_get_state_func),
1505 (gst_bin_recalc_state), (gst_bin_change_state_func),
1508 * gst/gstelement.c: (gst_element_init),
1509 (gst_element_get_state_func), (gst_element_abort_state),
1510 (gst_element_commit_state), (gst_element_lost_state),
1511 (gst_element_set_state), (gst_element_change_state),
1512 (gst_element_change_state_func):
1514 New state change algorithm (see #318116)
1516 * gst/gstpipeline.c: (gst_pipeline_class_init),
1517 (gst_pipeline_init), (gst_pipeline_set_property),
1518 (gst_pipeline_get_property), (do_pipeline_seek),
1519 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1520 * gst/gstpipeline.h:
1521 Remove crude state change hacks.
1526 * tools/gst-launch.c: (main):
1527 Fixes for state change. Needs some more work to fully use the
1530 2005-10-10 Andy Wingo <wingo@pobox.com>
1532 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1534 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1535 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1538 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1540 * gst/gstiterator.c: (gst_iterator_new):
1541 Fix my previous commit: GTypes passed to gst_iterator_new()
1542 can be fundamental types.
1544 2005-10-10 Wim Taymans <wim@fluendo.com>
1546 * gst/gstelement.c: (gst_element_iterate_pad_list),
1547 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1548 (gst_element_iterate_sink_pads):
1549 Use src/sink pads lists for the respective iterators instead
1552 2005-10-10 Andy Wingo <wingo@pobox.com>
1554 Merged in popt removal + GOption addition patch from Ronald, bug
1557 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1558 GstElement macros around, remove popt-related symbols, add goption
1561 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1563 * docs/gst/Makefile.am:
1564 * docs/libs/Makefile.am: No POPT_CFLAGS.
1566 * examples/manual/Makefile.am:
1567 * docs/manual/basics-init.xml: Doc updates with an example.
1569 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1570 (gst_init), (parse_one_option), (parse_goption_arg):
1571 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1572 bit of hand merging and debugging to get the GOption stuff working
1575 * tests/Makefile.am:
1576 * tools/Makefile.am:
1577 * tools/gst-inspect.c: (main):
1578 * tools/gst-launch.c: (main):
1579 * tools/gst-run.c: (main):
1580 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1582 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1584 * gst/gstiterator.c: (gst_iterator_new):
1585 Add assertions to make sure passed GType is likely to really
1586 be a GType (as the compiler won't catch it if the size and
1587 GType arguments get mixed up, see #318447).
1589 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1591 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1593 * gst/gstbin.c: (gst_bin_iterate_sorted):
1594 Pass GType and size arguments to gst_iterator_new() in the right
1595 order (maybe we should make _new() take the GType as first argument
1596 just like _new_list()?) (#318447).
1599 2005-10-10 Wim Taymans <wim@fluendo.com>
1601 * gst/gstelement.c: (gst_element_finalize):
1602 And free the GStaticRecMutex too
1604 2005-10-10 Andy Wingo <wingo@pobox.com>
1606 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1607 Allocate and free the mutex properly.
1609 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1611 (GstElement): The state_lock is now recursive. Rebuild your
1612 plugins, suckers. Old macros adapted.
1614 * docs/gst/gstreamer-sections.txt: Doc updates.
1617 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1618 (g_static_rec_cond_wait): Ported from state changes patch, while
1619 we wait on bug #317802 to be solved in a well-distributed GLib.
1621 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1622 gst_element_change_state, variable name changes.
1623 (gst_element_change_state): Split out of gst_element_set_state in
1624 preparation for the state change merge. Doesn't pay attention to
1625 the 'transition' argument.
1626 (gst_element_set_state): Updates, hopefully purely cosmetic.
1627 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1629 (gst_element_get_state_func): Renamed from get_state, cosmetic
1632 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1634 * gst/elements/gstelements.c:
1635 * win32/GStreamer.vcproj:
1637 * win32/dirent.c: (_tseekdir):
1638 * win32/gst-inspect.vcproj:
1639 * win32/gst-launch.vcproj:
1640 * win32/gstconfig.h:
1641 * win32/gstelements.vcproj:
1642 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1643 * win32/gstreamer.def:
1645 updates for the win32 build (patch from Sebastien Moutte)
1647 2005-10-10 Andy Wingo <wingo@pobox.com>
1649 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1650 gst_bin_get_state, cleaned up (but no logic changes).
1651 (bin_element_is_sink): Comment updates.
1652 (sink_iterator_filter): Remove needless cast.
1653 (gst_bin_iterate_sinks): Doc update.
1654 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1655 cleaned up (but no logic changes).
1657 * check/states/sinks.c (test_src_sink): Cleanups from the state
1659 (test_livesrc_sink): Sync on the state.
1661 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1662 the state change patch.
1664 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1667 * check/gst/gstbin.c: Merge in some style fixes and additional
1668 checks from Wim's state change patch.
1670 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1672 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1673 (gst_type_find_helper):
1674 Check whether we have the requested data already in our list of
1675 cached buffers before pulling a new buffer; also make the buffer
1676 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1678 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1683 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1684 don't use long long, it's not portable. Replacing with
1685 gint64 seems to work; let's hope no skeletons fall out of the closet.
1687 2005-10-10 Andy Wingo <wingo@pobox.com>
1689 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1691 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1693 * docs/gst/gstreamer-sections.txt:
1698 * gst/gstmessage.c: (gst_message_parse_state_changed):
1701 more docs, fix compilation
1703 2005-10-09 Philippe Khalaf <burger@speedy.org>
1705 Fixed a few forgotten variables on previous commit
1707 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1709 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1710 Fix evil typefind crasher: getrange() might return a short
1711 buffer at the end of a file, but gst_type_find_peek() must
1712 either return the full data as requested or NULL, but
1713 never a short buffer.
1715 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1717 * gst/gstmessage.c: (gst_message_new_state_changed),
1718 (gst_message_parse_state_changed):
1720 don't use "new", it's a C++ keyword
1722 2005-10-08 Wim Taymans <wim@fluendo.com>
1724 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1725 * gst/gstelement.c: (gst_element_post_message):
1726 * gst/gstpipeline.c: (gst_pipeline_change_state):
1727 Small docs and debug updates.
1729 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1731 * docs/gst/gstreamer-sections.txt:
1732 * gst/gstelementfactory.c:
1737 2005-10-08 Wim Taymans <wim@fluendo.com>
1739 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1740 (gst_bin_dispose), (bin_bus_handler):
1741 Fix typos, add comments.
1742 Clear EOS list when going to PAUSED from any direction and do it
1743 in a threadsafe way.
1744 Get base time in a threadsafe way too.
1745 Fix confusing debug in the change_state function.
1746 Various other small cleanups.
1748 * gst/gstelement.c: (gst_element_post_message):
1749 Fix very verbose bus posting code.
1751 * gst/gstpipeline.c: (gst_pipeline_class_init),
1752 (gst_pipeline_set_property), (gst_pipeline_get_property),
1753 (gst_pipeline_change_state):
1754 Small ARG_ -> PROP_ cleanup
1756 2005-10-08 Wim Taymans <wim@fluendo.com>
1758 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1759 Do a less CPU demanding EOS check because we can.
1761 2005-10-08 Wim Taymans <wim@fluendo.com>
1763 * libs/gst/dataprotocol/dataprotocol.c:
1764 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1765 (gst_dp_packet_from_event):
1766 * libs/gst/dataprotocol/dataprotocol.h:
1767 * libs/gst/dataprotocol/dp-private.h:
1768 It's about time we bump the version number.
1769 Since event types don't fit in the guint8 anymore describing
1770 the payload type, make payload type 16 bits wide.
1772 2005-10-08 Wim Taymans <wim@fluendo.com>
1774 * docs/design/part-TODO.txt:
1775 * docs/design/part-clocks.txt:
1776 * docs/design/part-events.txt:
1777 * docs/design/part-gstbin.txt:
1778 * docs/design/part-gstelement.txt:
1779 * docs/design/part-gstpipeline.txt:
1780 * docs/design/part-live-source.txt:
1781 * docs/design/part-messages.txt:
1782 * docs/design/part-overview.txt:
1783 * docs/design/part-states.txt:
1786 2005-10-08 Wim Taymans <wim@fluendo.com>
1790 Fix event quark registration.
1791 Add some space between events so we can insert them in the
1794 2005-10-08 Wim Taymans <wim@fluendo.com>
1796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1797 (gst_base_sink_handle_buffer):
1804 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1805 (gst_queue_set_property), (gst_queue_get_property):
1807 Remove old unused properties.
1809 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1810 * docs/gst/gstreamer-sections.txt:
1813 * gst/gstminiobject.c:
1814 * gst/gstminiobject.h:
1818 lots of new docs and doc fixes
1820 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1822 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1824 * gst/gstregistry.c: (gst_registry_lookup_locked),
1825 (gst_registry_scan_path_level):
1826 * gst/gstregistryxml.c: (load_plugin):
1827 Only ever load one plugin for a given plugin basename.
1828 This ensures correct overriding of GST_PLUGIN_PATH over
1829 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1830 system installed plugins.
1832 2005-10-08 Wim Taymans <wim@fluendo.com>
1834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1835 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1836 Prepare for doing QOS.
1838 2005-10-08 Wim Taymans <wim@fluendo.com>
1840 * check/gst/gstbin.c: (GST_START_TEST):
1841 * check/pipelines/cleanup.c: (GST_START_TEST):
1842 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1843 Allow new clock message too.
1845 2005-10-08 Wim Taymans <wim@fluendo.com>
1847 * gst/gstmessage.c: (gst_message_new_error),
1848 (gst_message_new_warning), (gst_message_new_tag),
1849 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1850 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1851 (gst_message_new_segment_start), (gst_message_new_segment_done),
1852 (gst_message_parse_state_changed),
1853 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1854 (gst_message_parse_new_clock):
1856 Also carry the clock in question.
1858 2005-10-08 Wim Taymans <wim@fluendo.com>
1860 * gst/gstmessage.c: (gst_message_new_custom),
1861 (gst_message_new_eos), (gst_message_new_error),
1862 (gst_message_new_warning), (gst_message_new_tag),
1863 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1864 (gst_message_new_new_clock), (gst_message_new_segment_start),
1865 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1866 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1869 Added clock related messages.
1871 * gst/gstpipeline.c: (gst_pipeline_change_state):
1872 Post message when the clock changed.
1874 * tools/gst-launch.c: (event_loop):
1877 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1879 * tools/gst-inspect.c: (print_element_properties_info):
1880 Can't pass NULL strings to g_print() on windows.
1882 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1885 * docs/gst/Makefile.am:
1886 * docs/gst/gstreamer-docs.sgml:
1887 * docs/gst/running.xml:
1888 * docs/version.entities.in:
1889 add a chapter on running GStreamer.
1890 document GST_DEBUG and GST_PLUGIN* env vars
1892 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1897 remove PLUGINS_BUILDDIR stuff
1898 * gst/gst.c: (init_post):
1899 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1901 remove, it was condescending and not needed
1903 2005-10-08 Wim Taymans <wim@fluendo.com>
1905 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1906 (gst_base_sink_handle_object), (gst_base_sink_event),
1907 (gst_base_sink_wait), (gst_base_sink_handle_event),
1908 (gst_base_sink_change_state):
1909 * gst/base/gstbasesink.h:
1910 Repost EOS message while going to PLAYING if still EOS.
1911 Make sure that when receiving a FLUSH_START we don't attempt
1912 to sync on the clock anymore.
1914 2005-10-08 Wim Taymans <wim@fluendo.com>
1916 * tools/gst-launch.c: (event_loop):
1917 Better message printout.
1919 2005-10-08 Wim Taymans <wim@fluendo.com>
1921 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1922 (gst_bin_child_proxy_get_children_count):
1923 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1924 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1925 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1926 (gst_child_proxy_set_valist):
1927 * gst/parse/grammar.y:
1928 Make ChildProxy threadsafe and fix mem leaks.
1930 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1932 * gst/gst.c: (init_post):
1933 debug the GST_PLUGIN_ env vars
1935 2005-10-08 Wim Taymans <wim@fluendo.com>
1937 * check/gst/gstbin.c: (GST_START_TEST):
1938 * check/gst/gstmessage.c: (GST_START_TEST):
1939 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1940 * gst/gstelement.c: (gst_element_commit_state),
1941 (gst_element_lost_state):
1942 * gst/gstmessage.c: (gst_message_new_state_changed),
1943 (gst_message_parse_state_changed):
1945 * tools/gst-launch.c: (event_loop):
1946 Added extra field to STATE_CHANGE message with the pending
1947 state, which will be different from the new state soon.
1949 2005-10-08 Wim Taymans <wim@fluendo.com>
1951 * gst/gstbus.c: (gst_bus_pop):
1953 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1954 Small cleanups and doc updates.
1956 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1958 * gst/gst.c: (init_pre):
1959 * gst/gstbin.c: (gst_bin_add_func):
1960 log distributing clocks and base time
1961 * gst/gstregistry.c: (gst_registry_add_plugin),
1962 (gst_registry_scan_path_level), (gst_registry_scan_path):
1963 clean up the debugging output a little
1964 * gst/gstutils.c: (gst_element_state_get_name):
1965 warn about a memleak (I've actually seen this be used, though
1966 it was probably a bug)
1968 2005-10-07 Wim Taymans <wim@fluendo.com>
1970 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1971 (gst_base_src_init), (gst_base_src_default_newsegment),
1972 (gst_base_src_newsegment), (gst_base_src_do_seek),
1973 (gst_base_src_loop), (gst_base_src_start):
1974 * gst/base/gstbasesrc.h:
1975 Make the newsegment event customizable by subclasses.
1977 2005-10-07 Wim Taymans <wim@fluendo.com>
1979 * gst/gstevent.c: (gst_event_new_buffersize),
1980 (gst_event_parse_buffersize):
1982 New event for future idea.
1984 2005-10-07 Andy Wingo <wingo@pobox.com>
1986 * gst/gstelement.c (gst_element_post_message): Doc update.
1988 * docs/gst/gstreamer-sections.txt: Update.
1990 * gst/gstmessage.c (gst_message_new_application): Made into a
1991 function like honest API calls.
1992 (gst_message_new_element): New message type.
1994 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1996 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1997 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2000 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2001 NO_PREROLL from gst_element_change_state to fall through.
2003 2005-10-07 Wim Taymans <wim@fluendo.com>
2005 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2006 (gst_ghost_pad_do_activate_push):
2007 Activating a ghostpad with no internal pad in push mode
2010 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2013 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2014 Fixes compilation on Windows.
2016 2005-10-07 Michael Smith <msmith@fluendo.com>
2018 * tools/gst-inspect.c:
2019 Print out feature and plugin count at the end when printing out
2022 2005-10-04 Michael Smith <msmith@fluendo.com>
2024 * gst/gsterror.c: (_gst_stream_errors_init):
2025 Add another error string used in a few existing plugins.
2028 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2029 * tools/gst-inspect.c: (print_element_info):
2030 When a feature disappears from a plugin (and the feature exists in
2031 the cached registry file), things went horribly wrong. This isn't a
2032 complete fix, we should actually be removing the 'missing' features
2033 from the features list when we load the actual plugin. That's not
2036 2005-10-04 Johan Dahlin <johan@gnome.org>
2038 * check/gst/gstiterator.c: (GST_START_TEST):
2039 * gst/gstbin.c: (gst_bin_iterate_elements),
2040 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2041 * gst/gstelement.c: (gst_element_iterate_pads):
2042 * gst/gstformat.c: (gst_format_iterate_definitions):
2043 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2044 (gst_iterator_new_list), (gst_iterator_filter):
2045 * gst/gstiterator.h:
2046 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2047 Add a GType to GstIterator, update callsites and tests.
2049 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2051 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2052 give events a chance to be handled by event probes when the pad
2055 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2057 * gst/gstevent.c: (gst_event_type_get_name),
2058 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2060 add string representations for event types
2062 2005-10-06 Wim Taymans <wim@fluendo.com>
2064 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2065 Don't use NULL pointers.
2067 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2069 * gst/gst_private.h:
2073 * gst/gstpluginfeature.c:
2074 widen the debug category in output to fit the biggest one we have
2075 add a bus category and use it
2076 play with the colors
2077 fix up some categories
2079 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2081 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2082 add push activation of sink ghost pads.
2083 Andye, please verify
2085 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2087 * gst/gstutils.c: (gst_element_link_pads):
2088 fix a bug in the case where neither element has a pad
2089 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2090 add a test for that case
2092 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2094 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2095 emit have-data before checking for peers. This allows
2096 for probe handlers to connect elements. This helps autopluggers.
2097 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2099 add six checks, linked/unlinked with no/true/false probe
2101 2005-10-04 Wim Taymans <wim@fluendo.com>
2103 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2104 (gst_fake_sink_event), (gst_fake_sink_preroll),
2105 (gst_fake_sink_render), (gst_fake_sink_change_state):
2106 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2107 (gst_fake_src_get_property), (gst_fake_src_create),
2108 (gst_fake_src_stop):
2109 * gst/elements/gstidentity.c: (gst_identity_stop):
2110 Protect last_message with lock.
2112 2005-10-04 Edward Hervey <edward@fluendo.com>
2115 Added precision in the comments for GST_FORMAT_DEFAULT
2117 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2119 * tools/gst-launch.c: (main):
2120 Don't try to run erroneous pipelines.
2122 2005-10-04 Julien MOUTTE <julien@moutte.net>
2124 * gst/gstbus.c: We don't need this header.
2126 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2131 === release 0.9.3 ===
2133 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2137 Releasing 0.9.3, "Unregistered"
2139 2005-10-03 Andy Wingo <wingo@pobox.com>
2141 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2142 whereby calling a pad's activatepush() function can start a thread
2143 that starts to push or pull before the pad gets the FLUSHING flag
2144 unset. Hack around it by holding the stream lock until the flag is
2145 set. Need to replace this with a proper solution. Together with
2146 the ghost pad fixes, this fixes mp3 playing/tagreading.
2148 * docs/design/part-gstghostpad.txt: Add a note about activation of
2149 proxy pads outside of ghost pads.
2151 * gst/gstghostpad.c: Implement the ghost pad activation design.
2153 2005-10-02 Andy Wingo <wingo@pobox.com>
2155 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2156 It is volatile, after all.
2158 * docs/design/part-gstghostpad.txt: Flesh out activation with
2161 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2164 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2167 Fix (unused) AM_CONDITIONAL tests.
2169 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2171 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2173 * gst/gstutils.c: (gst_pad_query_convert):
2174 Add assertion that makes sure src_val is >=0, just like
2175 gst_query_new_convert() has. (#315895)
2177 2005-09-30 Edward Hervey <edward@fluendo.com>
2179 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2180 Let's not iterate pads we're not interested in, it avoids getting
2181 sky-high refcounts on sinkpad.
2183 2005-09-30 Wim Taymans <wim@fluendo.com>
2185 * gst/gstelement.c: (gst_element_set_state),
2186 (gst_element_change_state):
2187 Small tweak, element in ASYNC remains ASYNC.
2189 2005-09-30 Wim Taymans <wim@fluendo.com>
2191 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2192 Only error is an error.
2194 * gst/gstbin.c: (gst_bin_change_state):
2197 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2198 Also call pad_block in pad alloc.
2200 * gst/gstutils.c: (gst_flow_get_name):
2203 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2205 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2206 (gst_base_src_get_range):
2207 Fix documentation typos. Add some more debug info.
2209 2005-09-29 David Schleef <ds@schleef.org>
2211 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2212 more end-user friendly.
2213 * tools/gst-inspect.c: (main): Check if command-line argument is
2214 a file and attempt to load that file as a plugin.
2216 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2218 * check/gst/gstbin.c:
2219 * check/states/sinks.c:
2220 fix tests for the new warning
2221 * check/gst/gstpipeline.c:
2222 add a test for pipeline and bus interaction
2224 elements should be NULL if they get disposed; add a warning if not
2226 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2229 for 2.6 refcounting, make debug log more correct by printing
2230 the actual refcounts at the time of swap (Wim)
2232 2005-09-29 Andy Wingo <wingo@pobox.com>
2234 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2235 removes signal watches previously added via
2236 gst_bus_add_signal_watch.
2237 (gst_bus_add_signal_watch): Don't return the source id, just store
2238 it on the bus if there wasn't an id already.
2240 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2241 add_signal_watch and remove_signal_watch.
2243 2005-09-29 Edward Hervey <edward@fluendo.com>
2245 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2246 Better if we actually iterate the list :)
2248 2005-09-29 Wim Taymans <wim@fluendo.com>
2250 * check/gst/gstbin.c: (GST_START_TEST):
2251 Change for new bus API.
2253 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2254 (send_messages), (GST_START_TEST), (gstbus_suite):
2255 Change for new bus signal API.
2257 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2258 (gst_bus_source_prepare), (gst_bus_source_check),
2259 (gst_bus_create_watch), (gst_bus_add_watch_full),
2260 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2261 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2263 Remove support for multiple GSources operating on different
2264 message types as it is too complex and unneeded when using
2266 Added support for receiving signals from the bus.
2268 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2270 * docs/libs/tmpl/gstdataprotocol.sgml:
2271 * docs/manual/advanced-dataaccess.xml:
2272 * gst/elements/gstcapsfilter.c:
2274 rename filter-caps to caps property
2276 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2278 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2279 More robust fraction string parsing.
2281 * docs/pwg/appendix-porting.xml:
2282 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2284 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2286 * gst/gstcaps.c: (gst_caps_do_simplify):
2287 Thou shalt not free a structure and then continue using it
2288 in the next loop iteration.
2290 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2292 Add test case for caps simplification.
2294 2005-09-29 Wim Taymans <wim@fluendo.com>
2296 * check/gst/gstbin.c: (GST_START_TEST):
2299 2005-09-29 Wim Taymans <wim@fluendo.com>
2301 * check/gst/gstbin.c: (GST_START_TEST):
2304 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2305 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2306 (find_element), (gst_bin_sort_iterator_next),
2307 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2308 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2309 (gst_bin_change_state), (gst_bin_dispose):
2310 A bin does not have a bus, it gets the bus from the parent.
2312 * gst/gstelement.c: (gst_element_requires_clock),
2313 (gst_element_provides_clock), (gst_element_is_indexable),
2314 (gst_element_is_locked_state), (gst_element_change_state),
2315 (gst_element_set_bus_func):
2318 * gst/gstpipeline.c: (gst_pipeline_class_init),
2319 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2320 The pipeline provides a bus.
2322 2005-09-28 Johan Dahlin <johan@gnome.org>
2324 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2325 gst_structure_get_enum instead of gst_structure_get_int
2327 * gst/gststructure.c (gst_structure_get_enum): Impl.
2329 * gst/gststructure.h (gst_structure_get_enum): Add
2331 * docs/gst/gstreamer-sections.txt: Ditto
2333 * gst/gstmessage.c (gst_message_new_state_changed): Use
2334 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2335 which does introspection.
2336 Reviewed by Christian Schaller
2338 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2340 * gst/gstinfo.c: (gst_debug_log_default):
2341 don't do dummy g_strdup()s
2342 * libs/gst/controller/gstcontroller.c:
2343 (on_object_controlled_property_changed),
2344 (gst_controlled_property_new), (gst_controller_new_valist),
2345 (gst_controller_new_list),
2346 (gst_controller_remove_properties_valist), (gst_controller_set),
2347 (gst_controller_get), (gst_controller_sync_values),
2348 (gst_controller_get_value_array), (_gst_controller_class_init),
2349 (gst_controller_get_type):
2350 * libs/gst/controller/gstcontroller.h:
2351 * libs/gst/controller/gstinterpolation.c:
2352 (gst_controlled_property_find_timed_value_node):
2353 convert // to /**/ comments
2355 2005-09-28 Wim Taymans <wim@fluendo.com>
2357 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2358 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2359 (gst_bus_sync_signal_handler):
2361 Added async-message and sync-message signals to the bus.
2362 Added helper BusFunc to emit signals for all posted messages.
2364 * gst/gstmessage.c: (gst_message_type_get_name),
2365 (gst_message_type_to_quark), (gst_message_get_type):
2367 Register quarks for message names.
2369 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2371 * docs/libs/gstreamer-libs-sections.txt:
2372 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2373 (gst_controller_new_list):
2374 * libs/gst/controller/gstcontroller.h:
2375 added another constructor for language bindings
2377 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2379 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2383 * gst/gstinfo.c: (_gst_debug_init):
2384 slightly more readable color for refcount debugging
2386 2005-09-28 Wim Taymans <wim@fluendo.com>
2388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2389 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2390 (find_element), (gst_bin_sort_iterator_next),
2391 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2392 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2393 (gst_bin_change_state), (gst_bin_dispose):
2394 Small doc fixes. get_clock -> provide_clock.
2396 * gst/gstelement.c: (gst_element_class_init),
2397 (gst_element_provides_clock), (gst_element_provide_clock),
2398 (gst_element_get_clock), (gst_element_commit_state),
2399 (gst_element_lost_state):
2401 Make get/set_clock() symetric. Add provide_clock vmethod since
2402 that is actually what this function does.
2404 * gst/gstpipeline.c: (gst_pipeline_class_init),
2405 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2406 (gst_pipeline_get_clock):
2407 get_clock -> provide_clock.
2409 2005-09-28 Andy Wingo <wingo@pobox.com>
2411 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2412 lieu of real docs...
2414 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2416 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2418 * gst/elements/gstcapsfilter.c:
2419 * gst/elements/gstfakesink.c:
2420 * gst/elements/gstfakesrc.c:
2421 * gst/elements/gstfdsink.c:
2422 * gst/elements/gstfdsrc.c:
2423 * gst/elements/gstfilesink.c:
2424 * gst/elements/gstfilesrc.c:
2425 * gst/elements/gstidentity.c:
2426 * gst/elements/gsttee.c:
2427 * gst/elements/gsttypefindelement.c:
2428 Make element details static.
2430 2005-09-28 Wim Taymans <wim@fluendo.com>
2432 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2433 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2434 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2435 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2436 (gst_bin_change_state), (gst_bin_dispose):
2437 Some documentation updates.
2438 Clean up dispose handlers.
2440 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2441 * gst/gstpad.c: (gst_pad_dispose):
2442 Clean up dispose handler.
2444 * gst/gstpipeline.c: (gst_pipeline_change_state):
2445 Removed spurious UNLOCK.
2447 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2449 * docs/gst/gstreamer-sections.txt:
2450 * gst/base/gstbasesrc.h:
2455 * gst/gstpipeline.c:
2456 * gst/gstpipeline.h:
2459 added two new functions to the docs
2460 documents all undocumented GstXXXFlags
2461 completed some incomplete docs
2463 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2465 * gst/gstbin.c: (gst_bin_dispose):
2466 * gst/gstelement.c: (gst_element_dispose):
2467 remove now useless and leaky resurrection code in dispose
2468 * gst/base/gstbasesrc.c: (gst_base_src_init):
2469 * gst/gstelementfactory.c: (gst_element_factory_create):
2470 * gst/gstobject.c: (gst_object_set_parent):
2473 2005-09-27 Wim Taymans <wim@fluendo.com>
2475 * docs/design/part-TODO.txt:
2478 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2479 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2480 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2481 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2482 (gst_bin_change_state):
2484 Remove element variable, we keep element info in the iterator now.
2486 2005-09-27 Andy Wingo <wingo@pobox.com>
2488 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2491 2005-09-27 Wim Taymans <wim@fluendo.com>
2493 * check/gst/gstbin.c: (GST_START_TEST):
2494 Enable check that works now.
2496 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2497 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2498 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2499 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2500 (gst_bin_change_state):
2502 Redid the state change algorithm using a topological sort algo.
2503 Handles all cases correctly.
2504 Exposed iterator for state change order.
2507 Temp storage for state changes. Need to get rid of this soon.
2509 2005-09-27 Wim Taymans <wim@fluendo.com>
2511 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2512 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2513 (link_fold_func), (gst_pad_proxy_setcaps):
2514 Leak fixes, the fold functions need to unref the passed object and
2515 _get_parent_*() returns ref to parent.
2517 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2519 * check/gst/gstbuffer.c: (test_make_writable):
2520 Plug leak in test case and fix 'make check-valgrind'
2522 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2524 * gst/gstbuffer.c: (gst_subbuffer_init):
2525 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2526 works correctly in all circumstances (we could have just copied
2527 the parent buffer's readonly flag, but conceptually it seems
2528 cleaner to mark all subbuffers as read-only). (based on patch
2529 by Alessandro Decina, #314710).
2531 * check/gst/gstbuffer.c: (create_read_only_buffer),
2532 (test_make_writable), (test_subbuffer_make_writable),
2534 Add some tests for gst_buffer_make_writable().
2536 2005-09-27 Wim Taymans <wim@fluendo.com>
2538 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2539 use gst_object_has_ancestor().
2541 * gst/gstobject.c: (gst_object_has_ancestor):
2543 gst_object_has_ancestor() copied from gstbin.c as it is a
2546 * tests/instantiate/create.c: (create_all_elements):
2547 * tests/lat.c: (handoff_src), (handoff_sink):
2548 * tests/sched/runxml.c: (main):
2549 * tests/seeking/seeking1.c: (main):
2550 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2552 Fix compilation of some tests.
2554 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2557 Remove comment. GST_TYPE_G_ERROR is here to stay,
2558 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2561 2005-09-26 Wim Taymans <wim@fluendo.com>
2563 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2564 Added check that shows error in state change order.
2566 2005-09-26 Wim Taymans <wim@fluendo.com>
2568 * gst/gstbin.c: (gst_bin_change_state):
2569 Make state change function use 3 queues again, we were
2570 adding elements in the wrong order.
2572 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2575 * gst/gstpad.c: (gst_pad_dispose):
2576 Added some debug info first.
2578 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2580 * docs/design/draft-push-pull.txt:
2581 * docs/design/part-events.txt:
2582 * docs/design/part-overview.txt:
2583 * docs/design/part-scheduling.txt:
2584 Replace all _pull_region() with _pull_range()
2586 2005-09-26 Andy Wingo <wingo@pobox.com>
2588 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2590 * check/gst-libs/controller.c: Update for controller api change.
2593 * tests/Makefile.am:
2594 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2595 over by GLib bug 118439.
2597 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2598 routines to a function.
2600 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2602 * libs/gst/controller/gsthelper.c:
2603 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2604 (gst_object_sync_values): Renamed from sink_values. Ugh.
2606 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2608 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2609 Renamed from controller_key, as it is exported.
2611 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2613 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2618 * gst/gstpadtemplate.h:
2621 * gst/gstqueryutils.c:
2622 * gst/gstqueryutils.h:
2623 remove queryutils headers after moving the two used functions
2624 to gstquery. also fixes build problem for gstsiddec
2626 2005-09-26 Michael Smith <msmith@fluendo.com>
2628 * tools/gst-launch.1.in:
2629 Correct documentation in manpage of debug syntax
2631 2005-09-26 Wim Taymans <wim@fluendo.com>
2633 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2634 (gst_base_src_is_seekable), (gst_base_src_change_state):
2635 Some more debugging info.
2637 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2639 * docs/gst/gstreamer-sections.txt:
2640 * gst/base/gstbasetransform.h:
2644 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2646 * docs/gst/.cvsignore:
2647 * docs/gst/tmpl/.cvsignore:
2648 * docs/gst/tmpl/gstpipeline.sgml:
2649 * docs/gst/tmpl/gstplugin.sgml:
2650 * gst/gstpipeline.c:
2653 inlined the last two docs files
2654 removed the tmpl directory from cvs (no more conflicts here!)
2656 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2658 * docs/gst/gstreamer-sections.txt:
2659 * docs/gst/tmpl/.cvsignore:
2660 * docs/gst/tmpl/gstpad.sgml:
2661 * docs/gst/tmpl/gstpadtemplate.sgml:
2663 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2664 (gst_pad_finalize), (gst_pad_set_pad_template):
2666 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2667 (gst_pad_template_class_init), (gst_pad_template_init),
2668 (gst_pad_template_dispose), (name_is_valid),
2669 (gst_static_pad_template_get), (gst_pad_template_new),
2670 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2671 (gst_pad_template_pad_created):
2672 * gst/gstpadtemplate.h:
2673 inlined two more docs
2674 factored gstpadtemplate out of gstpad
2676 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2678 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2679 (test_children_state_change_order_semi_sink):
2680 Fix test case: we can't rely on a fixed state change order when
2681 going from READY => PAUSED because the sink might commit its
2682 new state first when the first buffer created by the source
2683 reaches the sink before the source has finished its change state.
2684 (Test case still fails at times, see #316856, comment 5 onwards)
2686 2005-09-24 Wim Taymans <wim@fluendo.com>
2688 * docs/design/part-events.txt:
2689 * docs/design/part-gstbus.txt:
2690 * docs/design/part-gstpipeline.txt:
2691 * docs/design/part-messages.txt:
2692 * docs/design/part-overview.txt:
2693 * docs/design/part-segments.txt:
2700 * gst/gstiterator.c:
2701 Various documentation updates.
2703 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2706 Well, that's embarassing. Luckily we weren't using
2707 GST_CLOCK_DIFF anywhere.
2709 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2711 * common/gtk-doc.mak:
2712 don't fail on building XML, FC4 slave shows a bunch of doc
2713 missing bits that I don't get
2715 * gst/gstpipeline.c:
2716 * gst/gststructure.c:
2719 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2721 * docs/design/part-gstbin.txt:
2722 * docs/design/part-gstbus.txt:
2724 Add blurb about how the bus goes into flushing mode and
2725 drops all messages when its bin goes from READY into NULL
2728 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2730 * docs/gst/gstreamer-sections.txt:
2731 * gst/gststructure.c: (gst_structure_get_clock_time):
2732 * gst/gststructure.h:
2733 add a method to get a GstClockTime out of a structure
2735 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2737 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2738 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2739 Added test to check state change order in bins (can still be made
2740 to fail here under heavy disk load; bails out with 'Push on pad
2741 fakesink:sink0, but it was not activated in push mode').
2743 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2744 Fix state change order when there is only a semi sink (#316856)
2746 * gst/gstbus.c: (gst_bus_class_init):
2747 Use _class_peek_parent(), not _class_ref(); fix docs to say
2748 'default main context' instead of 'mainloop' where that is
2751 * gst/gstelement.c: (gst_element_commit_state),
2752 (gst_element_set_state):
2753 Fix typos in debug messages
2755 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2758 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2759 * gst/gstpluginfeature.c:
2762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2763 change an assert into an error until it gets fixed properly
2765 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2767 * docs/gst/gstreamer-sections.txt:
2768 * docs/gst/tmpl/.cvsignore:
2769 * docs/gst/tmpl/gstelement.sgml:
2770 * docs/gst/tmpl/gstinfo.sgml:
2771 * docs/gst/tmpl/gstobject.sgml:
2776 * gst/gstobject.c: (gst_object_class_init):
2778 inlined 3 more biiiig doc files and added some missing docs on the fly
2780 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2782 * check/gst/.cvsignore:
2783 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2784 * gst/gstregistryxml.c: (load_plugin),
2785 (gst_registry_xml_save_plugin):
2786 put back source in registry. add checks for find_plugin.
2787 * testsuite/states/bin.c: (assert_state), (empty_bin),
2788 (test_adding_one_element), (main):
2789 * testsuite/states/locked.c: (main):
2790 some compile/run fixes
2792 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * check/gst/gstvalue.c: (GST_START_TEST):
2795 fix leaks in the test itself
2797 2005-09-22 Wim Taymans <wim@fluendo.com>
2799 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2800 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2801 (gst_base_sink_query):
2802 Prepare for more accurate position reporting and query
2805 * gst/gstelement.c: (gst_element_send_event),
2806 (gst_element_set_state):
2809 2005-09-22 Wim Taymans <wim@fluendo.com>
2811 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2812 (gst_query_parse_segment):
2815 Add segment query for future use.
2817 2005-09-22 Wim Taymans <wim@fluendo.com>
2819 * gst/gstbin.c: (gst_bin_add_func):
2820 Some more debug info.
2822 * gst/gstelement.c: (gst_element_send_event):
2826 Don't know how flags got broken.
2831 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2833 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2834 Add simplistic test suite for GST_TYPE_DATE serialisation and
2837 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2839 * docs/gst/gstreamer-sections.txt:
2840 * gst/gststructure.c: (gst_structure_set_valist),
2841 (gst_structure_get_date):
2842 * gst/gststructure.h:
2843 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2844 (gst_date_copy), (gst_value_compare_date),
2845 (gst_value_serialize_date), (gst_value_deserialize_date),
2846 (gst_value_transform_date_string),
2847 (gst_value_transform_string_date), (_gst_value_initialize):
2849 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2850 bunch of utility functions along with a hack that checks that
2851 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2852 is required. Part of the grand scheme in #170777.
2854 2005-09-22 Andy Wingo <wingo@pobox.com>
2856 * gst/gstconfig.h.in: Psych out gtk-doc.
2858 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2860 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2862 * tools/gst-inspect.c (print_element_list): Plug some
2863 inconsequential leaks.
2865 * gst/gstregistry.c (gst_registry_get_default): Doc.
2867 * check/gst/gstplugin.c:
2868 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2869 * gst/gstelementfactory.c (gst_element_factory_create):
2870 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2873 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2874 (gst_plugin_feature_load): Doc, don't eat refs.
2876 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2877 (gst_plugin_list_free): Doc.
2878 (gst_plugin_load_file): Doc updates.
2880 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2881 accessors returning refcounted objects, return a ref.
2883 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2884 accessor for caps. IDEMPOTENCE. Oh yes.
2886 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2888 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2890 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2891 (_gst_debug_register_funcptr):
2892 Add mutex to serialise access to the hash table with
2893 the function pointer => function name string mapping;
2894 make that hash table static scope (#316809).
2896 * gst/registries/.cvsignore:
2897 Remove left-over file.
2899 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2901 * docs/pwg/appendix-porting.xml:
2902 And something about newsegment events and caps-on-buffers to
2903 the porting guide (feel free to improve).
2905 2005-09-21 Andy Wingo <wingo@pobox.com>
2907 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2908 data and event probes on the same pad.
2909 (test_buffer_probe_once): Test that removing probes from within
2910 the probe functions works.
2912 2005-09-21 Andy Wingo <wingo@pobox.com>
2914 * check/gst/gstutils.c: New file.
2915 (test_buffer_probe_n_times): A simple buffer probe test. More to
2918 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2919 have-data::buffer, not have-data.
2920 (gst_pad_add_event_probe): Likewise for have-data::event.
2921 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2922 peer' isn't quite right yet though.
2923 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2924 (gst_pad_remove_data_probe): Change to take the guint handler_id
2925 as their arg, not the function+data, which is more glib-like.
2927 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2928 the signal emission to indicate if the data is a buffer or an
2930 (gst_pad_get_type): Initialize buffer and event quarks.
2931 (gst_pad_class_init): have-data is now a detailed signal, yes it
2934 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2936 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2937 * gst/gstutils.c: (gst_util_set_value_from_string),
2938 (gst_util_set_object_arg):
2939 Don't put functional code in g_return_if_fail() or
2940 g_return_val_if_fail() statements, otherwise things will
2941 break when G_DISABLE_CHECKS is defined during compilation.
2943 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2945 * docs/gst/tmpl/.cvsignore:
2946 * docs/gst/tmpl/gstvalue.sgml:
2949 inlied another one and added some obvious docs
2951 2005-09-21 Wim Taymans <wim@fluendo.com>
2953 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2954 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2955 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2956 (gst_fdsrc_get_property), (gst_fdsrc_create):
2957 * gst/elements/gstfdsrc.h:
2958 Properly implement fdsrc. Removed signal and timeout,
2959 better implemented somewhere else.
2961 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2963 * docs/gst/tmpl/.cvsignore:
2964 * docs/gst/tmpl/gstimplementsinterface.sgml:
2965 * gst/gstinterface.c:
2968 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2970 * docs/gst/gstreamer-sections.txt:
2971 * docs/gst/tmpl/.cvsignore:
2972 * docs/gst/tmpl/gstenumtypes.sgml:
2973 remove obsolete doc file
2975 2005-09-21 David Schleef <ds@schleef.org>
2977 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2978 little beer, fix a little leak.
2980 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2982 * docs/gst/gstreamer-docs.sgml:
2983 * docs/gst/gstreamer-sections.txt:
2984 * docs/gst/tmpl/.cvsignore:
2989 * gst/gstindex.c: (gst_index_class_init):
2991 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2992 (gst_index_factory_class_init), (gst_index_factory_init),
2993 (gst_index_factory_finalize), (gst_index_factory_new),
2994 (gst_index_factory_destroy), (gst_index_factory_find),
2995 (gst_index_factory_create), (gst_index_factory_make):
2996 * gst/gstindexfactory.h:
2997 * gst/gstpluginfeature.c:
2998 * gst/gstpluginfeature.h:
2999 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3000 more docs inlined, splitted gstindex.{c,h}
3002 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3004 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3007 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3009 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3010 Set sync to FALSE by default.
3012 2005-09-20 Wim Taymans <wim@fluendo.com>
3014 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3015 (gst_base_sink_init):
3016 Make sync property settable from subclass.
3018 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3019 (gst_fake_sink_change_state):
3020 Set sync to FALSE by default.
3022 2005-09-20 Wim Taymans <wim@fluendo.com>
3024 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3025 * tools/gst-launch.c: (main):
3026 The timeout handler should have lower priority than the source
3027 so we don't timeout before popping a message with 0 timeout.
3028 Dump error messages after failed state change.
3030 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3032 * tools/gst-inspect.c: (print_element_properties_info):
3035 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3037 * check/gst/gstevent.c:
3038 * gst/elements/gstfakesink.c:
3039 * gst/elements/gstfakesink.h:
3040 remove the sync property from fakesink.
3041 has the side effect of setting sync TRUE
3042 for fakesink, which is a change. Anyone who knows how
3043 to fix this nicely in a GObject-y way, feel free.
3045 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3047 * docs/gst/gstreamer-docs.sgml:
3048 remove probe refsection
3050 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3052 * check/Makefile.am:
3053 disable valgrinding the controller test again
3054 * docs/gst/gstreamer-sections.txt:
3055 update for api-changes
3057 2005-09-20 Wim Taymans <wim@fluendo.com>
3059 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3060 (gst_base_sink_set_property), (gst_base_sink_get_property),
3061 (gst_base_sink_do_sync):
3062 * gst/base/gstbasesink.h:
3063 Added sync property to basesink to disable clock sync.
3065 2005-09-20 Andy Wingo <wingo@pobox.com>
3067 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3068 eating the caller's refcount.
3070 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3071 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3074 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3075 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3076 of GLib 2.8 public, so we can know which refcount to check in
3079 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3080 (gst_object_init): Only set the gst refcount if we're going ahead
3081 with the refcount hack.
3083 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3085 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3086 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3087 more leaks plumbed, added more debug-logging
3091 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3094 remove include of gstmemchunk.h
3096 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3098 * gst/gstclock.c: (_gst_clock_id_free):
3099 Commit from the Political Party For More Atomic CVS Commits,
3100 so that people don't waste too much of their day fishing
3101 out obvious leaks out of massive commits.
3102 Oh, and fix a pretty damn obvious leak in the memchunk
3105 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3107 * check/Makefile.am:
3108 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3109 plug mem-leak, re-add to valgrindable tests
3111 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3114 unbreak the build for those who have chronic arthritis
3115 and typing "make check" is just too taxing on the hands
3117 2005-09-20 Andy Wingo <wingo@pobox.com>
3119 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3120 really want it out, you should fix plugins at the same time.
3122 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3125 * docs/gst/gstreamer-sections.txt:
3127 added missing symbols to api docs
3128 disable ref-count hack if we have glib >= 2.8
3130 2005-09-19 David Schleef <ds@schleef.org>
3132 * docs/gst/Makefile.am: Ignore a few more internal headers
3133 * docs/gst/gstreamer-docs.sgml: Remove old sections
3134 * docs/gst/gstreamer-sections.txt: Remove old sections
3135 * docs/gst/tmpl/gstobject.sgml: update
3136 * docs/gst/tmpl/gstplugin.sgml: update
3137 * docs/gst/tmpl/gstpluginfeature.sgml: update
3138 * docs/random/ds/0.9-suggested-changes: update.
3139 * gst/Makefile.am: remove memchunk and trashstack, since they're
3141 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3142 * gst/gst.h: don't include some headers
3143 * gst/gstchildproxy.c: add gstmarshal.h
3144 * gst/gstclock.c: Don't use memchunks
3145 * gst/gstminiobject.c: Add some docs
3146 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3147 * gst/gstobject.h: same
3148 * gst/gstplugin.c: include gstmacros.h
3149 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3150 * gst/gstquery.c: don't use memchunks
3151 * gst/gstregistry.c: rename gst_registry_deinit()
3152 * gst/gstregistry.h: same
3154 2005-09-19 David Schleef <ds@schleef.org>
3156 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3157 * docs/libs/gstreamer-libs-sections.txt:
3158 * docs/libs/tmpl/gstgetbits.sgml:
3159 * docs/libs/tmpl/gstputbits.sgml:
3161 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3163 * win32/gstenumtypes.c:
3164 * win32/gstenumtypes.h:
3167 2005-09-19 Wim Taymans <wim@fluendo.com>
3169 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3170 Automatically PAUSE and RESUME a pipeline when a flushing seek
3173 2005-09-19 Andy Wingo <wingo@pobox.com>
3175 * gst/gstregistry.h: Spacing fixen.
3177 2005-09-19 Wim Taymans <wim@fluendo.com>
3179 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3180 Handle state change failure more correctly.
3182 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3184 * check/Makefile.am:
3185 * check/pipelines/cleanup.c: (run_pipeline):
3186 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3188 enable cleanup again after fixing the leak
3190 some more info on docs
3192 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3194 * check/Makefile.am:
3195 re-enable tests now that leaks are plugged
3197 * check/gst/gstbin.c:
3198 * check/gst/gstpipeline.c:
3199 add some more tests while fixing leaks
3201 make sure binaries are uptodate when valgrinding/gdbing
3203 * gst/gstelementfactory.c:
3204 remove a ref too many, and add a FIXME for when we get
3205 round to disposing of classes
3207 fix the refcounting when loading a plugin from a file and
3208 the code pretends that the pointer is the same even though
3209 of course it can change
3210 * gst/gstpluginfeature.c:
3211 unref plugins marked cached (a bit confusing as a name)
3212 as the docs state should be done
3213 various doc additions to explain refcounting
3214 * gst/gstregistry.c:
3215 * gst/gstregistryxml.c:
3218 2005-09-19 Wim Taymans <wim@fluendo.com>
3220 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3221 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3222 (send_messages), (GST_START_TEST), (gstbus_suite):
3223 * check/gst/gstpipeline.c: (GST_START_TEST):
3224 * check/pipelines/cleanup.c: (run_pipeline):
3225 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3227 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3228 (gst_bus_source_check), (gst_bus_source_dispatch),
3229 (gst_bus_create_watch), (gst_bus_add_watch_full),
3230 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3232 * tools/gst-launch.c: (event_loop):
3233 * tools/gst-md5sum.c: (event_loop):
3234 GstBusHandler -> GstBusFunc, return value has the same meaning as
3235 any other GSource (FALSE == remove source).
3236 _add_watch() and _add_watch_full() now take a MessageType mask to
3237 only handle specific types of messages.
3238 _poll() returns the GstMessage instead of the message type to avoid
3240 _have_pending() takes a MessageType mask now too.
3241 Added testsuite for multiple bus watches.
3242 Fix testsuites and applications for new bus API.
3244 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3246 * check/Makefile.am:
3247 mark a bunch of the tests as to fix until we fix them
3249 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3252 use GST_PLUGIN settings for valgrind tests as well, so we're
3253 valgrinding the correct thing
3254 * gst/gst.c: (init_post):
3257 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3259 * gst/gst.c: (init_post), (gst_deinit):
3260 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3261 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3262 * gst/gstindex.c: (gst_index_factory_class_init),
3263 (gst_index_factory_finalize):
3264 * gst/gstobject.c: (gst_object_dispose):
3265 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3266 (gst_plugin_load_file), (gst_plugin_desc_free):
3267 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3268 (gst_plugin_feature_finalize):
3269 * gst/gstregistry.c: (gst_registry_class_init),
3270 (gst_registry_init), (gst_registry_finalize),
3271 (gst_registry_get_default), (gst_registry_deinit):
3272 * gst/gstregistry.h:
3273 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3274 various cleanups and memleak plugging. make valgrind is happy now.
3276 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3279 add a check-valgrind target
3281 2005-09-18 David Schleef <ds@schleef.org>
3283 * tools/gst-inspect.c: Revert the GOption code.
3285 2005-09-17 David Schleef <ds@schleef.org>
3287 * check/Makefile.am: Fix environment variables.
3288 * check/gst/gstplugin.c: Fix for API changes.
3289 * tools/gst-inspect.c: Fix for API changes.
3290 * tools/gst-xmlinspect.c: Fix for API changes.
3291 * gst/gstelementfactory.c:
3294 * gst/gstpluginfeature.c:
3295 * gst/gstpluginfeature.h:
3296 * gst/gstregistry.c:
3297 * gst/gstregistry.h:
3298 * gst/gstregistryxml.c:
3299 * gst/gsttypefind.c:
3300 * gst/gsttypefindfactory.c:
3301 * gst/indexers/gstfileindex.c:
3302 * gst/indexers/gstmemindex.c:
3303 * gst/schedulers/Makefile.am:
3304 Change registry to keep track of both plugins and features,
3305 removing the feature tracking from plugins themselves.
3307 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3309 * check/Makefile.am:
3310 * tools/gst-register.1.in:
3313 2005-09-15 David Schleef <ds@schleef.org>
3315 * check/gst/gstplugin.c:
3316 * gst/gstelementfactory.c:
3318 * gst/gstpluginfeature.c:
3319 * gst/gstregistry.c:
3320 Getting tired of debugging. Disabled all the unreffing of
3321 plugins and features, which fixes the segfaults, but of
3322 course leaks like crazy. At least playbin works.
3324 2005-09-15 David Schleef <ds@schleef.org>
3326 * check/gst/gstplugin.c: (register_check_elements),
3327 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3329 * gst/elements/gsttypefindelement.c: Fix refcounting.
3330 * gst/gsttypefind.c:
3331 * gst/gsttypefindfactory.c:
3332 * gst/gsttypefindfactory.h:
3334 2005-09-15 David Schleef <ds@schleef.org>
3336 * gst/gstindex.c: get refcounting correct.
3337 * gst/gstregistry.c: Handle the case where a feature/plugin is
3340 2005-09-15 David Schleef <ds@schleef.org>
3342 * check/Makefile.am:
3343 * check/gst/gstplugin.c: Add test
3344 * gst/gstplugin.c: Fix problems noticed by testsuite
3346 * gst/gstregistry.c:
3347 * gst/gstregistry.h:
3349 2005-09-15 David Schleef <ds@schleef.org>
3351 * gst/gstplugin.c: Implement semi-decent recounting and locking
3352 in plugins and plugin features.
3354 * gst/gstpluginfeature.c:
3355 * gst/gstpluginfeature.h:
3356 * gst/gstregistry.c:
3358 2005-09-15 Michael Smith <msmith@fluendo.com>
3360 * gst/gstregistry.c: (gst_registry_get_feature_list):
3361 Implement this. Makes oggdemux work; decodebin still broken.
3363 2005-09-14 David Schleef <ds@schleef.org>
3365 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3367 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3368 * gst/check/Makefile.am:
3369 * libs/gst/controller/Makefile.am:
3370 * libs/gst/dataprotocol/Makefile.am:
3372 2005-09-14 David Schleef <ds@schleef.org>
3374 * configure.ac: Remove getbits library. Nothing uses it, and
3375 it should be in something like liboil if someone did want
3377 * libs/gst/Makefile.am:
3378 * libs/gst/getbits/Makefile.am:
3379 * libs/gst/getbits/gbtest.c:
3380 * libs/gst/getbits/getbits.c:
3381 * libs/gst/getbits/getbits.h:
3382 * libs/gst/getbits/gstgetbits_generic.c:
3383 * libs/gst/getbits/gstgetbits_i386.s:
3384 * libs/gst/getbits/gstgetbits_inl.h:
3386 2005-09-14 David Schleef <ds@schleef.org>
3388 * gst/Makefile.am: Dist glib-compat.h
3390 2005-09-14 David Schleef <ds@schleef.org>
3392 * configure.ac: Remove gst/registries, since it's no longer used.
3393 * gst/registries/Makefile.am:
3394 * gst/registries/gstlibxmlregistry.c:
3395 * gst/registries/gstlibxmlregistry.h:
3396 * gst/registries/gstxmlregistry.c:
3397 * gst/registries/gstxmlregistry.h:
3398 * gst/registries/registrytest.c:
3400 2005-09-14 David Schleef <ds@schleef.org>
3402 * gst/glib-compat.h:
3403 * gst/gstregistryxml.c:
3404 Convergence is near. Seriously.
3406 2005-09-14 David Schleef <ds@schleef.org>
3408 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3409 * gst/glib-compat.h:
3410 Attempt #4 to appease the buildbots.
3412 2005-09-14 David Schleef <ds@schleef.org>
3414 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3417 2005-09-14 David Schleef <ds@schleef.org>
3419 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3422 2005-09-14 David Schleef <ds@schleef.org>
3424 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3427 2005-09-14 David Schleef <ds@schleef.org>
3429 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3430 * gst/glib-compat.h: Add some functions that are in newer versions
3431 of glib than we care to require.
3432 * gst/gstregistryxml.c: Use them.
3434 2005-09-14 David Schleef <ds@schleef.org>
3436 * po/POTFILES.in: remove gst-register.c
3438 2005-09-14 David Schleef <ds@schleef.org>
3440 * docs/gst/gstreamer-docs.sgml:
3441 * docs/gst/gstreamer-sections.txt:
3442 * docs/gst/gstreamer.types:
3443 * docs/gst/tmpl/gstelement.sgml:
3444 * docs/gst/tmpl/gstplugin.sgml:
3445 * docs/gst/tmpl/gstpluginfeature.sgml:
3446 Documentation updates for registry changes.
3448 2005-09-14 David Schleef <ds@schleef.org>
3450 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3451 because we don't require glib-2.8.
3453 2005-09-14 David Schleef <ds@schleef.org>
3455 * gst/gstregistryxml.c: Added. Essentially moved out of the
3456 registries directory.
3458 2005-09-14 David Schleef <ds@schleef.org>
3460 * check/Makefile.am:
3461 * check/generic/states.c:
3465 * gst/gst_private.h:
3466 * gst/gstelementfactory.c:
3471 * gst/gstpluginfeature.c:
3472 * gst/gstpluginfeature.h:
3473 * gst/gstregistry.c:
3474 * gst/gstregistry.h:
3475 * gst/gstregistrypool.c: remove
3476 * gst/gstregistrypool.h: remove
3477 * gst/gsttypefind.c:
3478 * gst/gsttypefindfactory.c:
3480 * tools/Makefile.am:
3481 * tools/gst-compprep.c:
3482 * tools/gst-inspect.c:
3483 * tools/gst-register.c: remove
3484 * tools/gst-xmlinspect.c:
3485 Registry rewrite. Changes registry from being a file created
3486 by a tool into a simple cache file created automatically by
3487 libgstreamer. Removed gst-register (because it's no longer
3488 needed). Remove registry pools, because we only have one
3489 registry implementation (XML). Fix up other subsystems as
3492 2005-09-13 Michael Smith <msmith@fluendo.com>
3494 * gst/gstconfig.h.in:
3495 Don't Use windows linking attributes for MinGW. Fixes #316157
3497 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3499 * gst/gstutils.c: (set_state_async_thread_func),
3500 (gst_element_set_state_async):
3501 Apparently people think it's better if this function doesn't
3502 try to set the state to whatever state was asked for on the first
3503 call to this function for any object. Seriously.
3505 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3507 * check/gst/gstpipeline.c: (GST_START_TEST):
3508 * docs/gst/gstreamer-sections.txt:
3509 * gst/gstutils.c: (set_state_async_thread_func),
3510 (gst_element_set_state_async):
3512 add a "gst_element_set_state_async" method that
3513 sets the state and starts a thread to make sure the state
3514 change completes as best as it can
3516 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3518 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3519 codify design+behaviour in testsuite after discussion
3521 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3523 * docs/gst/tmpl/gstelement.sgml:
3524 * docs/manual/appendix-quotes.xml:
3526 * gst/gstelement.c: (gst_element_set_state):
3529 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3531 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3532 (gst_base_transform_prepare_output_buf),
3533 (gst_base_transform_handle_buffer):
3534 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3535 (gst_capsfilter_prepare_buf):
3536 Remove the requirement for sub-classes to call the parent
3537 implementation of prepare_output_buffer with a wrapper function.
3540 * gst/gsttagsetter.h:
3543 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3545 * docs/gst/gstreamer-sections.txt:
3548 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3550 * docs/gst/gstreamer-sections.txt:
3551 * docs/gst/tmpl/gstelement.sgml:
3552 * docs/gst/tmpl/gstplugin.sgml:
3553 * gst/gstminiobject.c:
3555 docs now stop throwing warnings
3557 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3559 * docs/gst/gstreamer-sections.txt:
3560 * docs/gst/gstreamer.types:
3561 * docs/gst/tmpl/gstpad.sgml:
3562 * docs/gst/tmpl/gsttypes.sgml:
3563 * gst/base/gstadapter.h:
3564 * gst/base/gstbasesink.h:
3565 * gst/base/gstbasesrc.h:
3575 * gst/gststructure.c:
3576 * gst/registries/gstlibxmlregistry.h:
3577 various documentation fixes
3579 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3581 * docs/gst/gstreamer-sections.txt:
3582 * docs/gst/tmpl/gstvalue.sgml:
3583 rearrange gstvalue section
3584 * gst/gstutils.c: (gst_element_state_get_name):
3586 * gst/gstvalue.c: (_gst_value_initialize):
3590 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3592 * check/gst-libs/controller.c:
3594 * gst/base/gstbasetransform.c:
3595 (gst_base_transform_default_prepare_buf),
3596 (gst_base_transform_handle_buffer):
3597 * gst/base/gstbasetransform.h:
3598 Some more basetransform changes and fixes to enable sub-classes
3599 that modify buffer metadata only.
3600 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3601 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3602 (gst_capsfilter_prepare_buf):
3603 If the output pad has fixed allowed caps and input buffers
3604 don't have any, set the fixed caps on outgoing buffers.
3606 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3607 * check/elements/identity.c: (GST_START_TEST):
3608 Make the error a little clearer when the test fails because
3609 identity made a copy of the buffer.
3610 * docs/gst/gstreamer-sections.txt:
3611 New symbols in gstbasetransform.h
3612 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3613 (gst_base_transform_init), (gst_base_transform_transform_size),
3614 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3615 (gst_base_transform_default_prepare_buf),
3616 (gst_base_transform_get_unit_size),
3617 (gst_base_transform_buffer_alloc),
3618 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3619 (gst_base_transform_change_state),
3620 (gst_base_transform_set_passthrough),
3621 (gst_base_transform_set_in_place),
3622 (gst_base_transform_is_in_place):
3623 * gst/base/gstbasetransform.h:
3624 Change BaseTransform to separate in_place operate from same_caps
3625 output. in_place implies that the element can perform the transform
3626 on incoming buffers in-place, even if the caps on the output are
3628 Sub-class elements can now implement special buffer allocation
3629 methods for outgoing buffers if they wish to.
3630 Big documentation addition.
3631 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3632 * gst/elements/gstelements.c:
3633 Changes for basetransform modifications.
3634 * gst/elements/Makefile.am:
3635 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3636 Compile fix. Extra debug output.
3638 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3640 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3642 add tests for valid pad naming
3643 * gst/check/gstcheck.c: (gst_check_log_message_func),
3644 (gst_check_log_critical_func):
3646 remove printing of code, it is fragile when the code contains
3647 % and the line number is enough info
3648 * gst/check/gstcheck.h:
3649 * gst/gstpad.c: (gst_pad_template_new):
3652 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3655 say what CHECK flags we use
3656 * docs/libs/gstreamer-libs.types:
3657 * libs/gst/controller/Makefile.am:
3658 * libs/gst/controller/gst-controller.c:
3659 * libs/gst/controller/gst-controller.h:
3660 * libs/gst/controller/gst-helper.c:
3661 * libs/gst/controller/gst-interpolation.c:
3662 * libs/gst/controller/gstcontroller.c:
3663 * libs/gst/controller/gsthelper.c:
3664 * libs/gst/controller/gstinterpolation.c:
3665 * tools/gst-inspect.c: (print_plugin_info):
3666 we don't use dashes in header names
3668 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3670 * check/Makefile.am:
3671 * check/gst/.cvsignore:
3672 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3673 (gst_pipeline_suite), (main):
3674 adding a test for pipelines and state changes
3675 * gst/gstutils.c: (get_state_func):
3677 * gstreamer.spec.in:
3680 2005-09-08 Michael Smith <msmith@fluendo.com>
3682 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3683 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3684 (gst_file_src_is_seekable), (gst_file_src_get_size),
3685 (gst_file_src_start):
3686 * gst/elements/gstfilesrc.h:
3687 Various fixes for unseekable, unmmapable, and non-normal files, so
3688 that fallback to read() rather than mmap() works.
3689 * gst/gstevent.c: (gst_event_new_newsegment):
3690 Allow newsegment events with segment_start == segment_end, as will
3691 correctly happen if you use filesrc on a zero-size file, for
3694 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3696 * gst/gstplugin.c: (gst_plugin_load_file):
3697 Call g_module_close when we don't load the module
3699 * gst/registries/gstlibxmlregistry.c:
3700 (gst_xml_registry_get_property):
3701 Port leak fix from 0.8
3703 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3705 * docs/gst/gstreamer-docs.sgml:
3706 * docs/gst/tmpl/.cvsignore:
3707 * docs/gst/tmpl/gsttrace.sgml:
3708 * docs/gst/tmpl/gsttrashstack.sgml:
3717 * gst/gsttaginterface.c:
3718 * gst/gsttaginterface.h:
3721 * gst/gsttagsetter.c:
3722 * gst/gsttagsetter.h:
3725 * gst/gsttrashstack.c:
3726 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3727 inlined docs for gsttrace, gsttrashstack
3729 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3732 * gst/elements/gstbufferstore.h:
3733 * gst/elements/gsttypefindelement.c:
3734 * gst/elements/gsttypefindelement.h:
3736 * gst/gsttypefind.c:
3737 * gst/gsttypefind.h:
3738 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3739 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3740 (gst_type_find_factory_dispose),
3741 (gst_type_find_factory_unload_thyself),
3742 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3743 (gst_type_find_factory_get_caps),
3744 (gst_type_find_factory_get_extensions),
3745 (gst_type_find_factory_call_function):
3746 * gst/gsttypefindfactory.h:
3747 * gst/registries/gstlibxmlregistry.c:
3748 * gst/registries/gstxmlregistry.c:
3749 splitted gsttypefind into gsttypefind, gsttypefindfactory
3751 2005-09-07 Andy Wingo <wingo@pobox.com>
3753 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3754 condition whereby the pad's task function is entered before the
3755 pad_mode variable was set.
3757 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3759 * gst/gstpad.c: (gst_pad_alloc_buffer):
3760 Catch misbehaving pad_alloc functions that don't
3761 set up caps and do it for them.
3763 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3765 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3767 * docs/gst/tmpl/.cvsignore:
3768 * docs/gst/tmpl/gstmemchunk.sgml:
3769 * docs/gst/tmpl/gstparse.sgml:
3770 * docs/gst/tmpl/gsttaglist.sgml:
3771 * docs/gst/tmpl/gsttagsetter.sgml:
3772 * docs/gst/tmpl/gsttypefind.sgml:
3773 * docs/gst/tmpl/gsttypefindfactory.sgml:
3774 * gst/gstmemchunk.c:
3777 * gst/gsttaginterface.c:
3778 * gst/gsttypefind.c:
3779 * gst/gsttypefind.h:
3782 === release 0.9.2 ===
3784 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3789 releasing 0.9.2, "South"
3791 2005-09-05 Andy Wingo <wingo@pobox.com>
3793 * gst/registries/gstxmlregistry.h:
3794 * gst/registries/gstxmlregistry.c: Um... resurrect...
3796 * gst/registries/gstxmlregistry.h:
3797 * gst/registries/gstxmlregistry.c: and update to newer API.
3798 Incidentally they should be a bit faster now that they don't have
3801 2005-09-05 Andy Wingo <wingo@pobox.com>
3803 * gst/registries/gstxmlregistry.h:
3804 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3805 replaced by the libxml registry a while back
3807 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3809 * docs/gst/tmpl/gstplugin.sgml:
3810 * gst/elements/gstelements.c:
3812 * gst/gstplugin.c: (gst_plugin_register_func),
3813 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3814 (gst_plugin_get_source):
3816 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3817 (gst_xml_registry_save_plugin):
3818 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3819 (gst_xml_registry_save_plugin):
3820 * tools/gst-inspect.c: (print_plugin_info):
3821 add a "source" plugin description field, to represent the source
3822 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3823 will set it to PACKAGE, which is automake's idea of the name of
3826 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3832 * docs/faq/Makefile.am:
3833 * docs/gst/tmpl/gstelement.sgml:
3834 * docs/gst/tmpl/gsttypes.sgml:
3835 * docs/htmlinstall.mak:
3836 * docs/manual/Makefile.am:
3837 * docs/pwg/Makefile.am:
3838 reorganize doc build a little
3839 split out docbook and gtk-doc stuff
3840 have two separate --enable's and enable them through autogen
3841 but disable by default in configure (to be similar to other
3843 * gstreamer.spec.in:
3844 clean up docs install
3864 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3866 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3869 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3870 (gst_fake_sink_change_state):
3871 Make state change function thread-safe.
3873 * gst/gstpad.c: (gst_pad_alloc_buffer):
3874 Set offset on generic buffer allocated by fallback.
3876 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3878 * docs/gst/gstreamer-sections.txt:
3879 * docs/gst/tmpl/gstelement.sgml:
3881 * libs/gst/controller/gst-controller.c:
3882 (gst_controlled_property_set_interpolation_mode),
3883 (gst_controlled_property_new),
3884 (gst_controller_find_controlled_property):
3885 run the wingo-magic script against the docs
3887 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3889 * docs/gst/gstreamer-docs.sgml:
3890 * docs/gst/gstreamer-sections.txt:
3891 * docs/gst/tmpl/.cvsignore:
3892 * docs/gst/tmpl/gstelementdetails.sgml:
3893 * docs/gst/tmpl/gstelementfactory.sgml:
3896 * gst/gstelementfactory.c:
3897 * gst/gstelementfactory.h:
3898 merged elementdetails docs into elementfactory docs
3901 2005-09-02 Andy Wingo <wingo@pobox.com>
3903 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3904 consider this enum an enum and not a flags.
3906 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3908 * docs/gst/gstreamer-docs.sgml:
3909 * docs/gst/tmpl/.cvsignore:
3910 * docs/gst/tmpl/gstghostpad.sgml:
3911 * docs/gst/tmpl/gstiterator.sgml:
3912 * docs/gst/tmpl/gstmacros.sgml:
3913 * docs/gst/tmpl/gstrealpad.sgml:
3914 * docs/gst/tmpl/gstregistry.sgml:
3915 * docs/gst/tmpl/gstregistrypool.sgml:
3916 * docs/gst/tmpl/gststructure.sgml:
3917 * docs/gst/tmpl/gstsystemclock.sgml:
3918 * docs/gst/tmpl/gsttrace.sgml:
3919 * gst/gstghostpad.c:
3921 * gst/gstmemchunk.c:
3922 * gst/gstmemchunk.h:
3924 * gst/gstregistry.c:
3925 * gst/gstregistrypool.c:
3926 * gst/gststructure.c:
3927 * gst/gstsystemclock.c:
3930 2005-09-02 Andy Wingo <wingo@pobox.com>
3932 * gst/gstelement.h (GstState): Renamed from GstElementState,
3933 changed to be a normal enum instead of flags.
3934 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3935 munged to be GST_STATE_CHANGE_*.
3936 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3937 work with the new state representation.
3938 (GstStateChange): New enumeration of possible state transitions.
3939 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3940 (GstElementClass::change_state): Pass the GstStateChange along as
3941 an argument. Helps language bindings, so they don't have to use
3942 tricky lock-needing macros like GST_STATE_CHANGE ().
3944 * scripts/update-states (file): New script. Run it on a file to
3945 update it for state naming and API changes. Updates files in
3948 * All files updated for the new API.
3950 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3952 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3953 * gst/gstutils.c: (gst_util_set_value_from_string),
3954 (gst_util_set_object_arg):
3955 fix a bunch of unchecked return values
3956 * tools/gst-complete.c: (main):
3957 * gstreamer.spec.in:
3960 2005-09-01 Wim Taymans <wim@fluendo.com>
3962 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3963 (gst_base_sink_event), (gst_base_sink_do_sync),
3964 (gst_base_sink_handle_event):
3965 * gst/base/gstbasesink.h:
3966 Handle newsegments more correctly.
3971 * gst/gstevent.c: (gst_event_new_newsegment):
3972 A newsegment cannot have a start_time of -1
3974 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3976 * win32/gstenumtypes.c:
3977 * win32/gstenumtypes.h:
3980 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3982 * libs/gst/controller/gst-controller.c:
3983 (gst_controlled_property_set_interpolation_mode),
3984 (gst_controlled_property_new):
3987 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3989 * docs/faq/gst-uninstalled:
3994 * gst/gstutils.c: (gst_element_link_filtered):
3996 add gst_element_link_filtered
3998 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4000 * docs/gst/gstreamer-docs.sgml:
4001 * docs/gst/gstreamer-sections.txt:
4002 * docs/gst/tmpl/.cvsignore:
4003 * docs/gst/tmpl/gsterror.sgml:
4004 * docs/gst/tmpl/gstfilter.sgml:
4005 * docs/gst/tmpl/gsturihandler.sgml:
4006 * docs/gst/tmpl/gsturitype.sgml:
4007 * docs/gst/tmpl/gstutils.sgml:
4008 * docs/gst/tmpl/gstxml.sgml:
4016 inlined more docs, fixed double id-ref
4018 2005-08-31 Wim Taymans <wim@fluendo.com>
4020 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4021 (gst_base_transform_handle_buffer):
4022 Passthrough elements don't need the caps as they don't care.
4024 2005-08-31 Wim Taymans <wim@fluendo.com>
4026 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4027 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4028 Don't leak refcounts on buffers.
4030 2005-08-31 Wim Taymans <wim@fluendo.com>
4032 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4033 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4034 (gst_base_transform_chain), (gst_base_transform_change_state):
4035 * gst/base/gstbasetransform.h:
4036 Handle the case where we are not negotiated more gracefully.
4038 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4040 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4041 (gst_file_src_map_region):
4042 Set READONLY flag on mmap'ed buffers, otherwise
4043 gst_buffer_make_writable() won't work properly (#314708).
4045 2005-08-31 Wim Taymans <wim@fluendo.com>
4047 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4048 passthrough elements can even do inplace on non writable
4049 buffers (as they don't touch them).
4051 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4053 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4054 (gst_test_mono_source_set_property),
4055 (gst_test_mono_source_class_init), (GST_START_TEST),
4056 (gst_controller_suite):
4057 more tests (hehe I have the most)
4059 describe popping messages whenusing mulltiple sources
4060 * libs/gst/controller/gst-controller.c:
4061 (gst_controlled_property_set_interpolation_mode),
4062 (gst_controlled_property_new):
4063 * libs/gst/controller/gst-controller.h:
4064 * libs/gst/controller/gst-interpolation.c:
4065 implement boolean properties
4067 2005-08-31 Wim Taymans <wim@fluendo.com>
4069 * gst/gstminiobject.c: (gst_mini_object_ref):
4070 Cannot assert that the refcount has to be positive
4071 since a disposed object can be resurrected.
4073 2005-08-31 Wim Taymans <wim@fluendo.com>
4075 * gst/gstpad.c: (gst_pad_init):
4076 Revert change, need to first fix badly behaving
4079 2005-08-30 Wim Taymans <wim@fluendo.com>
4081 * check/elements/fakesrc.c: (setup_fakesrc):
4082 * check/elements/identity.c: (setup_identity):
4083 Activate pads before using them.
4085 2005-08-30 Wim Taymans <wim@fluendo.com>
4087 * gst/base/gstadapter.c: (gst_adapter_flush):
4088 Flushing out 0 bytes is ok for this function.
4090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4091 no newsegment gives a warning and sets the start/stop to
4094 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4095 (gst_base_transform_set_passthrough):
4098 * gst/gstminiobject.c: (gst_mini_object_ref):
4099 Check refcount here too.
4101 * gst/gstpad.c: (gst_pad_init):
4102 Pads are initially flushing and refusing data.
4104 * gst/gstutils.c: (gst_element_link_pads_filtered):
4105 When adding a capsfilter element make sure it has the
4106 same state as the parent bin.
4108 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4110 * docs/gst/tmpl/.cvsignore:
4111 * docs/gst/tmpl/gstformat.sgml:
4112 * docs/gst/tmpl/gstversion.sgml:
4116 * gst/gstversion.h.in:
4117 more docs and two more inlined
4119 2005-08-30 Wim Taymans <wim@fluendo.com>
4121 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4122 Don't sync to clock.
4124 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4126 * docs/gst/gstreamer-sections.txt:
4127 ultral33t func10ns deserve to appear in the docs actually
4128 * docs/gst/tmpl/.cvsignore:
4129 * docs/gst/tmpl/gstcompat.sgml:
4130 * docs/gst/tmpl/gstconfig.sgml:
4131 * gst/check/gstcheck.c:
4133 * gst/gstconfig.h.in:
4136 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4138 * docs/gst/tmpl/.cvsignore:
4139 * docs/gst/tmpl/gstquery.sgml:
4140 * docs/gst/tmpl/gstutils.sgml:
4143 inlined and extended docs
4145 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4147 * check/gst-libs/controller.c: (GST_START_TEST),
4148 (gst_controller_suite):
4150 * docs/gst/tmpl/gstutils.sgml:
4151 * docs/libs/gstreamer-libs-sections.txt:
4152 * docs/libs/tmpl/gstdataprotocol.sgml:
4154 * examples/controller/audio-example.c: (main):
4155 controller example works now
4158 * tools/gst-inspect.c: (print_element_properties_info):
4159 show param spec flags
4161 2005-08-29 Andy Wingo <wingo@pobox.com>
4163 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4165 2005-08-28 Andy Wingo <wingo@pobox.com>
4167 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4168 as having two arguments instead of just one. Allows superclasses
4169 to access information on subclasses -- see the terrible for() loop
4170 in gtype.c:g_type_create_instance for the reason why. All callers
4173 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4175 * docs/design/part-messages.txt:
4177 * docs/gst/tmpl/.cvsignore:
4178 * docs/gst/tmpl/gstcaps.sgml:
4179 * docs/gst/tmpl/gstclock.sgml:
4186 added descriptions for bus and message
4187 inline caps and clock docs
4189 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4195 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4197 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4200 2005-08-26 Andy Wingo <wingo@pobox.com>
4202 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4203 element_set_state's return val.
4204 (test_2_elements): Add test that's been disabled for months.
4206 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4207 can-activate-pull properties.
4209 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4210 can-activate-pull properties. Implement is_seekable so fakesrc can
4211 operate in pull mode.
4213 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4215 (gst_base_sink_activate, gst_base_sink_activate_pull)
4216 (gst_base_sink_activate_push): Make activation mode choosing work.
4218 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4219 is right. Make pull mode work. Post an eos before pausing in pull
4221 (gst_base_sink_change_state): Pay attention to the core's
4222 change_state() return val.
4224 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4225 has-getrange properties. Cleanups.
4227 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4228 has_getrange and replace with can_activate_pull and
4231 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4232 locking comments. Remove has_loop, has_chain and replace with
4233 can_activate_pull and can_activate_push.
4235 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4238 * examples/Makefile.am:
4239 * examples/metadata/Makefile.am:
4240 * examples/metadata/read-metadata.c: (message_loop),
4241 (have_pad_handler), (make_pipeline), (print_tag), (main):
4242 Add metadata reading example that loops over a list of filenames,
4243 dumping any tags found.
4245 * gst/gstbus.c: (gst_bus_dispose):
4246 * gst/gstelement.c: (gst_element_dispose):
4247 Release a few potentially-held references in dispose.
4249 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4251 * docs/gst/tmpl/gstminiobject.sgml:
4252 do *not* add tmpl/*.sgml files to CVS!
4254 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4256 * libs/gst/bytestream/.cvsignore:
4257 * libs/gst/bytestream/Makefile.am:
4258 * libs/gst/bytestream/adapter.c:
4259 * libs/gst/bytestream/adapter.h:
4260 * libs/gst/bytestream/bytestream.c:
4261 * libs/gst/bytestream/bytestream.h:
4262 * libs/gst/bytestream/filepad.c:
4263 * libs/gst/bytestream/filepad.h:
4264 removing obsolete files
4266 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4268 * docs/gst/gstreamer-docs.sgml:
4269 * docs/libs/gstreamer-libs-docs.sgml:
4270 disabed additional index entries again, as this makes docs-gen just
4271 slow and they aren't useful yet
4272 * docs/libs/gstreamer-libs-sections.txt:
4273 little -section.txt cleanup for libs
4275 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4278 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4279 fix up some debugging
4280 (gst_base_transform_get_unit_size),
4281 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4282 (gst_base_transform_handle_buffer):
4283 * gst/base/gstbasetransform.h:
4284 handle and store timed NEWSEGMENT events so that subclasses that
4285 calculate time by counting samples have a segment_start time they
4286 need to add to their timestamps - see audioresample
4288 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4291 removed ';' from the end of macro defs
4292 * docs/gst/gstreamer-docs.sgml:
4293 * docs/gst/gstreamer-sections.txt:
4294 * docs/gst/tmpl/.cvsignore:
4296 * gst/gstelement.c: (gst_element_class_init),
4297 (gst_element_set_state), (activate_pads),
4298 (gst_element_save_thyself):
4299 * gst/gstevent.c: (gst_event_new_newsegment):
4301 * gst/gstiterator.c:
4302 * gst/gstiterator.h:
4305 * gst/gstutils.c: (gst_pad_query_convert):
4307 fixed parameter name mismatches between source, header and docs
4308 added some more docs, resolved the last batch of unused elements in
4309 docs (now someone needs to doc them)
4311 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4313 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4314 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4315 don't walk through the plugins backwards. Where is all this
4316 reversed logic coming from ?
4318 2005-08-25 Wim Taymans <wim@fluendo.com>
4320 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4321 (gst_base_transform_transform_size),
4322 (gst_base_transform_configure_caps),
4323 (gst_base_transform_get_unit_size),
4324 (gst_base_transform_buffer_alloc),
4325 (gst_base_transform_change_state):
4326 * gst/base/gstbasetransform.h:
4327 Cache caps unit_size.
4328 Make sure we cannot negotiate up and downstream at the
4331 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4333 * gst/gst.c: (init_pre), (init_post):
4334 register the installed plugin path after the env var
4335 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4336 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4337 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4338 directories, so the tests can prefer uninstalled over installed
4340 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4342 * gst/base/gstbasetransform.h:
4347 2005-08-25 Wim Taymans <wim@fluendo.com>
4349 * gst/gstbin.c: (bin_bus_handler):
4350 Be a bit more conservative about the posted message.
4352 * gst/gstbus.c: (gst_bus_post):
4353 Some cleanups, warn wrong return values.
4355 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4357 * check/gst/gstbin.c: (GST_START_TEST):
4358 * gst/gstbin.c: (bin_bus_handler):
4359 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4360 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4361 (gst_message_new_warning), (gst_message_new_tag),
4362 (gst_message_new_state_changed), (gst_message_new_segment_start),
4363 (gst_message_new_segment_done), (gst_message_new_custom):
4365 * tools/gst-launch.c: (event_loop):
4366 * tools/gst-md5sum.c: (event_loop):
4367 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4369 2005-08-25 Wim Taymans <wim@fluendo.com>
4371 * check/generic/states.c: (GST_START_TEST):
4372 Cleanup can be done at the end.
4374 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4375 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4376 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4377 Oh boy.. Thanks for finding this, Thomas.
4379 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4381 * docs/gst/gstreamer.types:
4384 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4386 * docs/gst/gstreamer-docs.sgml:
4387 * docs/gst/gstreamer-sections.txt:
4388 * docs/gst/tmpl/.cvsignore:
4390 * gst/gstiterator.c:
4392 * gst/registries/gstxmlregistry.h:
4393 added missing classes and symbols (123 more to go)
4394 removed removed symbols from section file
4395 fixed many doc-comments
4397 2005-08-24 Wim Taymans <wim@fluendo.com>
4399 * check/generic/states.c: (GST_START_TEST):
4400 Make sure all tasks are stopped.
4402 * check/gst/gstbin.c: (GST_START_TEST):
4403 Unref after usage for proper valgrinding.
4405 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4406 Really wait for the task to stop before destroying the
4409 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4410 (gst_queue_src_activate_push):
4411 Small cleanups. Don't stop the task when we did not start
4414 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4415 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4416 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4419 Protect the stream lock with the object lock.
4420 Disallow setting the stream lock when running.
4421 Add cleanup_all to wait for the threadpool to finish.
4422 Remove code to autoallocate a mutex if none was provided.
4423 Add _join() to wait for a task to stop.
4424 Protect the thread pool with a global lock.
4426 2005-08-24 Wim Taymans <wim@fluendo.com>
4428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4429 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4430 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4431 * gst/base/gstbasesink.h:
4432 Handle newsegment events correctly.
4433 Drop buffers out of the segment range.
4435 2005-08-22 Andy Wingo <wingo@pobox.com>
4437 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4438 macro, implements an interface and gstimplementsinterface for a
4441 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4443 * check/Makefile.am:
4444 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4445 add a test that does a bunch of state changes on elements
4446 needs some fixing for valgrind
4447 * check/states/sinks.c: (gst_object_suite):
4450 add prototype for gst_caps_is_equal_fixed
4452 * gst/gstregistrypool.c:
4455 2005-08-24 Andy Wingo <wingo@pobox.com>
4457 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4458 convert a negative value. Doesn't make much sense. Mostly this is
4459 here to force callers to ensure -1 maps to -1.
4461 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4463 * docs/pwg/advanced-types.xml:
4464 Well done to Michael for catching my deliberate introduction
4465 of this spelling mistake.
4466 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4468 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4469 unlink pads before removing the element from the bin.
4471 2005-08-24 Andy Wingo <wingo@pobox.com>
4473 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4474 the same thing as GST_DEBUG=*:4.
4475 (parse_debug_level, parse_debug_category): New helper parsers.
4477 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4479 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4480 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4481 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4482 (gst_base_transform_buffer_alloc),
4483 (gst_base_transform_handle_buffer):
4484 use gboolean return values and pointers to size so we can use the
4485 full GST_BUFFER_SIZE range (guint) for buffer sizes
4486 use GstPadDirection for transform_caps
4487 * gst/base/gstbasetransform.h:
4488 rename get_size to get_unit_size since that's what it is
4489 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4490 use GstPadDirection for transform_caps
4491 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4493 cleanup and debugging
4495 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4497 * gst/gstelement.c: (gst_element_class_init),
4498 (gst_element_set_state), (activate_pads),
4499 (gst_element_save_thyself):
4500 * tools/gst-compprep.c: (main):
4501 * tools/gst-inspect.c: (print_element_properties_info):
4502 * tools/gst-xmlinspect.c: (print_element_properties):
4503 Fixed long standing mem-leak
4505 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4507 * check/gst/gstbin.c: (GST_START_TEST):
4508 * gst/gstbin.c: (bin_bus_handler):
4509 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4510 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4511 (gst_message_new_warning), (gst_message_new_tag),
4512 (gst_message_new_state_changed), (gst_message_new_segment_start),
4513 (gst_message_new_segment_done), (gst_message_new_custom):
4515 * tools/gst-launch.c: (event_loop):
4516 * tools/gst-md5sum.c: (event_loop):
4517 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4518 that applications can sensibly post custom messages with references
4519 to their own objects.
4521 2005-08-24 Andy Wingo <wingo@pobox.com>
4523 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4526 2005-08-24 Wim Taymans <wim@fluendo.com>
4528 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4529 (gst_base_transform_transform_caps),
4530 (gst_base_transform_transform_size),
4531 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4532 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4533 (gst_base_transform_handle_buffer):
4534 * gst/base/gstbasetransform.h:
4535 Many fixes and new features added by Thomas. Can now also do
4536 transforms with variable sizes and a custom fixate_caps function.
4538 2005-08-24 Wim Taymans <wim@fluendo.com>
4540 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4544 Cast to ClockTime before formatting to time.
4549 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4551 * check/gst-libs/controller.c: (GST_START_TEST),
4552 (gst_controller_suite):
4553 * docs/gst/tmpl/gstcaps.sgml:
4554 * docs/gst/tmpl/gstghostpad.sgml:
4555 * docs/gst/tmpl/gstquery.sgml:
4556 * docs/gst/tmpl/gstutils.sgml:
4557 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4558 (gst_object_sink_values), (gst_object_get_value_arrays),
4559 (gst_object_get_value_array):
4560 gracefully handle helper method calls to objects that are not beeing
4561 controlled, added test case for that
4563 2005-08-23 Wim Taymans <wim@fluendo.com>
4565 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4566 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4567 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4568 (gst_event_parse_qos), (gst_event_new_seek),
4569 (gst_event_parse_seek):
4571 Some more debugging output and doc cleanups.
4573 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4574 Fix possible deadlock.
4576 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4578 * docs/gst/gstreamer-docs.sgml:
4579 * docs/gst/gstreamer-sections.txt:
4580 * docs/gst/gstreamer.types:
4581 * docs/gst/tmpl/.cvsignore:
4586 added 100 symbols from gstreamer-unused.txt to the right sections
4587 fixed more broken comments
4588 added GstBus to docs
4590 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4592 * docs/gst/gstreamer-sections.txt:
4593 * docs/gst/tmpl/.cvsignore:
4594 * docs/gst/tmpl/gstbin.sgml:
4595 * docs/gst/tmpl/gstbuffer.sgml:
4596 * gst/base/gstbasesrc.c:
4597 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4600 * tools/gst-launch.1.in:
4601 inlined more doc comments, added missing comments and fixed comments
4604 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4606 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4610 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4612 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4613 * gst/gststructure.h:
4614 add a fixate function for booleans; add a FIXME that these func
4615 names should probably be gst_structure_fixate_*
4617 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4619 * docs/gst/gstreamer-docs.sgml:
4620 * docs/gst/gstreamer-sections.txt:
4622 * gst/gstbin.c: (gst_bin_get_type),
4623 (gst_bin_child_proxy_get_child_by_index),
4624 (gst_bin_child_proxy_get_children_count),
4625 (gst_bin_child_proxy_init):
4626 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4627 (gst_child_proxy_get_child_by_index),
4628 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4629 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4630 (gst_child_proxy_get), (gst_child_proxy_set_property),
4631 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4632 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4633 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4634 * gst/gstchildproxy.h:
4635 * gst/parse/grammar.y:
4636 * tools/gst-inspect.c: (print_interfaces),
4637 (print_element_properties_info), (print_element_info):
4638 ported gstchildproxy over from 0.8
4639 ported gst-inspect fixes and enhancements over from 0.8
4641 2005-08-22 Wim Taymans <wim@fluendo.com>
4643 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4644 (gst_base_transform_handle_buffer):
4645 Also call the transform function if we have ANY caps.
4647 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4650 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4652 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4653 Don't pretend to handle seek events if the source is not seekable
4655 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4658 Remove extra parameter to debug output
4660 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4661 (gst_base_src_do_seek), (gst_base_src_activate_push):
4662 Fix seek event handling.
4664 * gst/gstpipeline.c: (gst_pipeline_change_state):
4665 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4666 (gst_queue_src_activate_push):
4667 Don't start the src pad task on FLUSH_STOP if the pad
4671 2005-08-22 Wim Taymans <wim@fluendo.com>
4673 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4674 Added check for gst_static_caps_get() refcounting.
4676 2005-08-22 Wim Taymans <wim@fluendo.com>
4678 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4679 Make _static_caps_get() refcounting sane.
4681 * gst/gstelement.c: (gst_element_set_state):
4682 Add g_return_val_if_fail() to protect against segfaults.
4684 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4686 * docs/gst/tmpl/gstevent.sgml:
4689 inlined remaining docs, added missing doc comments
4691 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4693 * check/gst/gstbin.c: (GST_START_TEST):
4694 since we don't know when preroll is done, use refcount range
4696 * gst/check/gstcheck.h:
4697 add macro for checking refcount range
4699 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4701 * check/Makefile.am:
4702 clean up environment for when registry gets built versus
4703 when actual tests are run; valgrind seems to not report
4704 leaks if GST_PLUGIN_PATH is set to some specific values
4705 * check/gst/gstbin.c: (GST_START_TEST):
4706 add more refcounting checks; maybe this exposes a
4709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4710 * gst/check/gstcheck.h:
4711 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4712 (gst_bin_change_state):
4713 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4714 add/fix debugging/whitespace
4716 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4718 * check/gst/gstevent.c: (event_probe), (test_event),
4720 Er, don't call gst_bin_watch_for_state_change you idiot.
4722 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4724 * check/Makefile.am:
4725 Use CHECK_CFLAGS and CHECK_LIBS
4726 * check/gst/gstevent.c: (event_probe), (test_event),
4729 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4730 (gst_base_src_start), (gst_base_src_stop),
4731 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4732 (gst_base_src_change_state):
4733 Sprinkle gst_base_src_stop liberally around error paths to fix
4734 problems reusing a source after failed state changes.
4735 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4736 (helper_find_suggest), (gst_type_find_helper):
4737 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4739 * docs/gst/tmpl/gstevent.sgml:
4740 Migrate part of the docs from the SGML file. Wait for ensonic to
4741 tell me how I did it wrong ;)
4742 * tools/gst-typefind.c: (main):
4743 Extra robustness to state changes between files.
4745 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4747 * check/Makefile.am:
4748 don't valgrind the controller test - it's leaking - Stefan, HELP
4749 * gst/check/gstcheck.c: (gst_check_message_error),
4750 (gst_check_chain_func), (gst_check_setup_element),
4751 (gst_check_teardown_element), (gst_check_setup_src_pad),
4752 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4753 (gst_check_teardown_sink_pad):
4754 * gst/check/gstcheck.h:
4755 add a bunch of methods to set up elements, and src and sink pads
4756 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4757 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4762 whitespace/doc fixes
4764 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4767 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4768 be handled by the application and not always printed as well
4770 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4772 * check/Makefile.am:
4774 * gst/check/gstcheck.c: (gst_check_message_error):
4775 * gst/check/gstcheck.h:
4776 add a fail_unless_equals_int
4777 add fail_unless for error messages
4779 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * check/Makefile.am:
4783 * common/Makefile.am:
4786 factor out some of the common stuff so we can use it
4788 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4790 * check/Makefile.am:
4791 * check/gst/gstiterator.c: (GST_START_TEST):
4792 * check/gst/gstsystemclock.c: (GST_START_TEST),
4793 (gst_systemclock_suite):
4794 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4798 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4800 * check/elements/.cvsignore:
4801 * check/elements/gstfakesrc.c:
4802 rename to name of element
4803 * check/elements/identity.c: (chain_func), (event_func),
4804 (setup_identity), (cleanup_identity), (GST_START_TEST),
4805 (identity_suite), (main):
4806 add a test for identity
4807 * check/Makefile.am:
4808 * pkgconfig/Makefile.am:
4809 * pkgconfig/gstreamer-check.pc.in:
4810 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4814 move the check stuff to a library that gets installed
4815 * check/gst-libs/controller.c: (GST_START_TEST):
4816 * check/gst-libs/gdp.c:
4817 * check/gst/gst.c: (GST_START_TEST):
4818 * check/gst/gstbin.c:
4819 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4820 * check/gst/gstbus.c:
4821 * check/gst/gstcaps.c: (GST_START_TEST):
4822 * check/gst/gstelement.c:
4823 * check/gst/gstghostpad.c:
4824 * check/gst/gstiterator.c:
4825 * check/gst/gstmessage.c:
4826 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4827 * check/gst/gstobject.c:
4828 * check/gst/gstpad.c: (GST_START_TEST):
4829 * check/gst/gststructure.c: (GST_START_TEST):
4830 * check/gst/gstsystemclock.c: (GST_START_TEST),
4831 (gst_systemclock_suite):
4832 * check/gst/gsttag.c: (gst_tag_suite):
4833 * check/gst/gstvalue.c:
4834 * check/pipelines/cleanup.c:
4835 * check/pipelines/simple_launch_lines.c:
4836 * check/states/sinks.c:
4837 change include statement
4839 * docs/gst/gstreamer-sections.txt:
4840 * docs/gst/tmpl/gstpad.sgml:
4841 document more pad stuff
4842 * gst/gstminiobject.c: (gst_mini_object_ref),
4843 (gst_mini_object_unref):
4846 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4848 * docs/gst/tmpl/gst.sgml:
4850 eliminate another tmpl file, fix spelling in the long-description
4852 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4854 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4855 (test_event), (timediff), (gstevents_suite):
4856 Should fix build on 64-bit arch's
4858 2005-08-18 Andy Wingo <wingo@pobox.com>
4860 Make sure that when a pipeline goes to PLAYING, that data has
4861 actually hit the sink.
4863 * check/states/sinks.c (test_sink): A sink that doesn't get any
4864 data shouldn't return SUCCESS for going to either PLAYING or
4865 PAUSED. Test also the return values on the way back down.
4867 * gst/gstelement.c (gst_element_set_state): When changing the
4868 state of an element currently changing state asynchronously, go to
4869 lost-state after commiting the pending state. Makes future calls
4870 to get_state continue to return ASYNC.
4872 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4873 ASYNC when going to PLAYING if we still don't have preroll, as can
4874 happen with live sources.
4876 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4878 * docs/pwg/advanced-types.xml:
4879 Hack long paragraph into 2 chunks as a workaround for buggy
4880 jadetex version in sid and breezy that loops infinitely and
4883 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4885 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4886 (test_event), (timediff), (gstevents_suite):
4887 Provide more error margin in clock measurements to allow for
4888 g_get_current_time inaccuracies.
4890 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4892 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4893 (test_event), (timediff), (gstevents_suite):
4894 Fix error message output so I might be able to tell why the
4895 test works here but fails on the build farm.
4897 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4899 * check/Makefile.am:
4900 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4901 (test_event), (timediff), (gstevents_suite), (main):
4904 * docs/design/part-seeking.txt:
4907 * docs/gst/tmpl/gstevent.sgml:
4908 * docs/gst/tmpl/gstfakesrc.sgml:
4911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4912 Treat a buffer-without-newsegment the same as a receiving
4913 a newsegment not in time format, and disable syncing to the clock
4916 * gst/gstbus.c: (gst_bus_set_sync_handler):
4917 Assert if anyone tries to replace the existing sync_handler for bus,
4918 as only the owner should be setting it.
4921 Have a fixed set of custom event enums with events identified by
4922 their structure name (as in 0.8), rather than a free-for-all
4923 allowing collisions between enum values from different plugins.
4925 * gst/gstpad.c: (gst_pad_class_init):
4928 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4929 Handle out-of-band downstream events from the sending thread.
4931 2005-08-17 Andy Wingo <wingo@pobox.com>
4933 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4934 play-timeout==0 to mean no timeout at all. In that case, don't
4935 bother with a get_state or a warning, just return directly, even
4938 * gst/base/gstbasetransform.c: Debug changes.
4941 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4942 ensure bins post state change messages. A bit of a hack but I can't
4943 think of a way to avoid it.
4945 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4947 2005-08-16 Andy Wingo <wingo@pobox.com>
4949 * gst/base/gstadapter.h:
4950 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4951 peek() but you own the data. Not terribly efficient atm.
4953 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4955 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4956 (gst_element_found_tags):
4958 Add two utility functions for tag handling.
4960 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4962 * docs/manual/advanced-dataaccess.xml:
4963 * docs/manual/basics-helloworld.xml:
4964 Fix docs to use _bin_add() before _link(), which fixes the examples
4965 with recent core versions (reported by Madhan Raj M
4966 <raj_madan@rediffmail.com>, #313199).
4968 2005-08-16 Wim Taymans <wim@fluendo.com>
4970 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4971 Added subtract checks.
4973 * docs/design/part-events.txt:
4974 Some more docs about newsegment
4976 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4979 * gst/gstcaps.c: (gst_caps_to_string):
4980 Add comments, cleanups.
4982 * gst/gstelement.c: (gst_element_save_thyself):
4985 * gst/gstvalue.c: (gst_value_collect_int_range),
4986 (gst_string_unwrap), (gst_value_union_int_int_range),
4987 (gst_value_union_int_range_int_range),
4988 (gst_value_intersect_int_int_range),
4989 (gst_value_intersect_int_range_int_range),
4990 (gst_value_intersect_double_double_range),
4991 (gst_value_intersect_double_range_double_range),
4992 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4993 (gst_value_subtract_int_range_int),
4994 (gst_value_subtract_double_range_double),
4995 (gst_value_subtract_double_range_double_range),
4996 (gst_value_subtract_from_list), (gst_value_subtract_list),
4997 (gst_value_can_compare), (gst_value_compare_fraction):
4998 Cleanups, add comments, remove unneeded asserts.
5000 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5002 * tools/gst-launch.c: (event_loop):
5003 don't convert NULL structures to strings
5005 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5007 * docs/gst/gstreamer-sections.txt:
5008 made some defines private
5009 * docs/gst/tmpl/gstconfig.sgml:
5010 * docs/gst/tmpl/gstqueue.sgml:
5011 * docs/gst/tmpl/gsttaglist.sgml:
5012 * docs/gst/tmpl/gsttypes.sgml:
5013 * docs/gst/tmpl/gstutils.sgml:
5014 * docs/pwg/appendix-porting.xml:
5015 * gst/base/gstbasesink.h:
5016 * gst/base/gstbasesrc.c:
5017 * gst/base/gstbasesrc.h:
5018 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5019 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5020 * gst/gstelement.c: (gst_element_class_init):
5021 * gst/gstpad.c: (gst_pad_class_init):
5022 * gst/gstqueue.c: (gst_queue_class_init):
5023 * gst/gstxml.c: (gst_xml_class_init):
5024 documented all undocumented signal inline
5025 * libs/gst/controller/gst-controller.h:
5028 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5030 * docs/pwg/appendix-porting.xml:
5031 Document _set_link_function -> _set_setcaps_function.
5033 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5035 * check/Makefile.am:
5036 add a .check target for running the check
5037 * check/gst-libs/controller.c: (GST_START_TEST):
5039 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5040 complete checks for gstbuffer; would be nice if I could get the
5041 gcov stuff to work so I can see if I actually completed gstbuffer.c
5043 add ASSERT_BUFFER_REFCOUNT
5045 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5047 * docs/gst/gstreamer-sections.txt:
5048 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5050 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5051 spew out a warning if a tag that is already registered
5052 is re-registered, unless it is re-registered with a
5053 different type (#308438).
5055 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5057 * docs/pwg/appendix-porting.xml:
5058 * docs/pwg/building-state.xml:
5059 Add some paragraphs about state changes in 0.9 to the PWG
5060 and the porting guide, in particular about the new meaning
5061 of GST_STATE_PAUSED and how to write state change functions
5062 with concurrent access by multiple threads in mind.
5064 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5066 * docs/gst/gstreamer-docs.sgml:
5067 * docs/libs/gstreamer-libs-docs.sgml:
5068 added deprecation and since indexes
5069 * libs/gst/controller/gst-controller.c:
5070 * libs/gst/controller/gst-helper.c:
5074 2005-08-11 Wim Taymans <wim@fluendo.com>
5076 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5077 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5078 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5079 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5080 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5081 (gst_ghost_pad_set_target):
5082 Actually implement (re)setting the target on a ghostpad
5083 as described in the docs.
5085 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5087 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5088 Check whether GST_DEBUG_NO_COLOR environment variable is
5089 set and disable coloured debug output if that is the case.
5091 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5093 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5094 (gst_type_find_helper):
5095 The memory returned by gst_type_find_peek() needs to
5096 stay valid until the end of a typefind function, and
5097 typefind functions may keep results from different
5098 offsets around, so we can't just unref the buffer from
5099 the previous _peek(), but have to save all buffers
5100 returned by _peek() until typefinding is done and only
5103 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5105 * docs/gst/gstreamer-sections.txt:
5107 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5109 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5111 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5112 Fix a pretty good memleak.
5114 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5116 * gst/gstiterator.h:
5117 Fix wrong include and 'make distcheck'.
5119 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5121 * gst/gstbin.c: (bin_bus_handler):
5122 Use gst_element_post_message() instead.
5124 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5126 * gst/base/gstadapter.h:
5127 * gst/base/gstbasesink.h:
5128 * gst/base/gstbasesrc.h:
5129 * gst/base/gstbasetransform.h:
5130 * gst/base/gstcollectpads.h:
5131 * gst/base/gstpushsrc.h:
5132 * gst/gstiterator.h:
5133 Add padding to our base elements' class and instance structs and
5134 to GstIterator (you will need to rebuild all plugins and apps!)
5136 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5138 * gst/gstbin.c: (bin_bus_handler):
5139 Make default message forwarding from child->bus to bin->bus
5140 threadsafe and make it not emit warnings if the parent has no bus.
5142 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5144 * gst/gstelement.c: (activate_pads):
5145 On paused->ready, set pad->caps to NULL, as is the documented
5146 behaviour in this state change. Fixes playback of series of
5147 media files when visualization is enabled in Totem.
5149 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5151 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5152 Allow NULL as filter-caps (which means "any").
5154 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5156 * docs/libs/gstreamer-libs-sections.txt:
5157 * libs/gst/controller/gst-controller.c:
5158 * libs/gst/controller/gst-controller.h:
5159 * libs/gst/controller/gst-helper.c:
5160 adding more entries to the docs and fix small doc-bugs
5162 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5164 * docs/gst/gstreamer-docs.sgml:
5165 * docs/gst/gstreamer-sections.txt:
5166 * docs/gst/gstreamer.types:
5167 * docs/gst/tmpl/gstbasesink.sgml:
5168 * docs/gst/tmpl/gstbasesrc.sgml:
5169 * docs/gst/tmpl/gstbasetransform.sgml:
5170 * docs/gst/tmpl/gstfakesrc.sgml:
5171 * gst/base/gstcollectpads.c:
5172 * gst/base/gstcollectpads.h:
5173 * libs/gst/controller/gst-controller.c:
5174 * libs/gst/controller/gst-controller.h:
5175 * libs/gst/controller/gst-helper.c:
5176 * libs/gst/controller/gst-interpolation.c:
5177 * libs/gst/controller/lib.c:
5178 added long/short desc for controller docs
5179 added collectpads base class docs
5180 added correct includes to base-class docs
5182 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5184 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5185 (gst_test_mono_source_set_property),
5186 (gst_test_mono_source_class_init), (GST_START_TEST),
5187 (gst_controller_suite):
5188 * docs/gst/gstreamer-docs.sgml:
5189 * docs/gst/gstreamer-sections.txt:
5190 * docs/gst/gstreamer.types:
5191 * docs/libs/gstreamer-libs-docs.sgml:
5192 * docs/libs/gstreamer-libs-sections.txt:
5193 * gst/base/gstadapter.c:
5194 * libs/gst/controller/gst-controller.c:
5195 (gst_controlled_property_new), (gst_controlled_property_free),
5196 (gst_controller_new_valist),
5197 (gst_controller_remove_properties_valist),
5198 (gst_controller_sink_values), (_gst_controller_finalize):
5199 * libs/gst/controller/gst-controller.h:
5200 * libs/gst/controller/gst-helper.c:
5201 (gst_object_control_properties), (gst_object_uncontrol_properties),
5202 (gst_object_get_controller), (gst_object_set_controller),
5203 (gst_object_sink_values), (gst_object_get_value_arrays),
5204 (gst_object_get_value_array):
5205 more tests (and fixes) for the controller
5206 more docs for the controller
5207 integrated companies docs for the adapter
5209 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5211 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5212 (GST_START_TEST), (fakesrc_suite):
5213 add tests for sizetype
5215 2005-08-04 Andy Wingo <wingo@pobox.com>
5217 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5218 fixes buffer_alloc proxying among other things.
5220 * gst/base/gstbasetransform.c:
5221 * gst/base/gstbasetransform.h:
5222 Revert patch to gstbasetransform from 7-28 removing
5225 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5226 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5227 Semantics changed, should return not the size of the output buffer
5228 but the byte size of a buffer with a given caps.
5230 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5232 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5233 out) are not the pad caps until setcaps finishes.
5234 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5235 not-in-place case as well. Deal with changing from in-place to
5236 not-in-place within calling pad_alloc_buffer. Still a bit
5237 concerned about the overhead here...
5239 2005-08-03 Andy Wingo <wingo@pobox.com>
5241 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5242 fixating is an error.
5244 2005-08-04 Edward Hervey <edward@fluendo.com>
5246 * gst/base/gstadapter.h:
5247 Added gst_adapter_get_type() to the header
5249 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5251 * check/Makefile.am:
5252 * check/gst-libs/controller.c:
5253 * libs/gst/controller/gst-controller.c:
5254 (gst_controller_new_valist):
5255 added check test suite for the controller
5256 * gst/base/gstpushsrc.c:
5259 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5261 * docs/gst/Makefile.am:
5262 * docs/gst/gstreamer-docs.sgml:
5263 * docs/gst/gstreamer-sections.txt:
5264 * docs/gst/gstreamer.types:
5265 * docs/gst/tmpl/gstfakesrc.sgml:
5267 * gst/base/gstbasesink.c:
5268 * gst/base/gstbasesink.h:
5269 * gst/base/gstbasesrc.c:
5270 * gst/base/gstbasesrc.h:
5271 * gst/base/gstbasetransform.c:
5272 * gst/base/gstpushsrc.c:
5273 * gst/base/gstpushsrc.h:
5274 add short/long description docs to base classes
5275 add pushsrc to the docs
5276 remove consolidated doc fragments
5278 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5281 * docs/libs/Makefile.am:
5282 * docs/libs/gstreamer-libs-docs.sgml:
5283 * docs/libs/gstreamer-libs-sections.txt:
5284 * docs/libs/gstreamer-libs.types:
5285 * examples/Makefile.am:
5286 * examples/controller/.cvsignore:
5287 * examples/controller/Makefile.am:
5288 * examples/controller/audio-example.c: (main):
5289 * libs/gst/Makefile.am:
5290 * libs/gst/controller/.cvsignore:
5291 * libs/gst/controller/Makefile.am:
5292 * libs/gst/controller/gst-controller.c:
5293 (on_object_controlled_property_changed), (gst_timed_value_compare),
5294 (gst_timed_value_find),
5295 (gst_controlled_property_set_interpolation_mode),
5296 (gst_controlled_property_new), (gst_controlled_property_free),
5297 (gst_controller_find_controlled_property),
5298 (gst_controller_new_valist), (gst_controller_new),
5299 (gst_controller_remove_properties_valist),
5300 (gst_controller_remove_properties), (gst_controller_set),
5301 (gst_controller_set_from_list), (gst_controller_unset),
5302 (gst_controller_get), (gst_controller_get_all),
5303 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5304 (gst_controller_get_value_array),
5305 (gst_controller_set_interpolation_mode),
5306 (_gst_controller_finalize), (_gst_controller_init),
5307 (_gst_controller_class_init), (gst_controller_get_type):
5308 * libs/gst/controller/gst-controller.h:
5309 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5310 (g_object_uncontrol_properties), (g_object_get_controller),
5311 (g_object_set_controller), (g_object_sink_values),
5312 (g_object_get_value_arrays), (g_object_get_value_array):
5313 * libs/gst/controller/gst-interpolation.c:
5314 (gst_controlled_property_find_timed_value_node),
5315 (interpolate_none_get), (interpolate_trigger_get),
5316 (interpolate_trigger_get_value_array):
5317 * libs/gst/controller/lib.c: (gst_controller_init):
5318 * pkgconfig/Makefile.am:
5319 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5320 * pkgconfig/gstreamer-control.pc.in:
5321 * testsuite/Makefile.am:
5322 * testsuite/controller/.cvsignore:
5323 * testsuite/controller/Makefile.am:
5324 * testsuite/controller/interpolator.c: (main):
5325 added controller code
5326 removed dparam pc files
5328 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5329 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5330 (gst_collectpads_stop):
5331 Broadcast the condition when shutting down, to make sure we wake all
5332 threads up. Shut down pads on finalize, for safety.
5334 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5335 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5336 (gst_base_transform_handle_buffer),
5337 (gst_base_transform_change_state):
5338 Handle PAUSED->READY->PAUSED transition after negotiation
5340 * gst/gstmessage.c: (gst_message_init):
5341 Extra piece of debug for new messages.
5343 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5346 * docs/gst/tmpl/gstbasesrc.sgml:
5347 * docs/gst/tmpl/gstelement.sgml:
5348 * docs/gst/tmpl/gstevent.sgml:
5349 * docs/gst/tmpl/gstfakesrc.sgml:
5350 * docs/gst/tmpl/gstformat.sgml:
5351 * docs/gst/tmpl/gstghostpad.sgml:
5352 * docs/gst/tmpl/gstpad.sgml:
5353 * docs/gst/tmpl/gstquery.sgml:
5354 * docs/gst/tmpl/gststructure.sgml:
5355 * docs/gst/tmpl/gsttaglist.sgml:
5356 * docs/gst/tmpl/gstvalue.sgml:
5357 * docs/libs/gstreamer-libs-docs.sgml:
5358 * docs/libs/gstreamer-libs-sections.txt:
5359 * docs/libs/gstreamer-libs.types:
5360 * libs/gst/Makefile.am:
5361 * libs/gst/control/.cvsignore:
5362 * libs/gst/control/Makefile.am:
5363 * libs/gst/control/control.c:
5364 * libs/gst/control/control.h:
5365 * libs/gst/control/dparam.c:
5366 * libs/gst/control/dparam.h:
5367 * libs/gst/control/dparam_smooth.c:
5368 * libs/gst/control/dparam_smooth.h:
5369 * libs/gst/control/dparamcommon.h:
5370 * libs/gst/control/dparammanager.c:
5371 * libs/gst/control/dparammanager.h:
5372 * libs/gst/control/dplinearinterp.c:
5373 * libs/gst/control/dplinearinterp.h:
5374 * libs/gst/control/unitconvert.c:
5375 * libs/gst/control/unitconvert.h:
5376 * testsuite/Makefile.am:
5377 * testsuite/dynparams/.cvsignore:
5378 * testsuite/dynparams/Makefile.am:
5379 * testsuite/dynparams/dparamstest.c:
5380 * tools/Makefile.am:
5381 * tools/gst-inspect.c: (print_element_info), (main):
5382 * tools/gst-xmlinspect.c: (print_element_info), (main):
5383 deactivate and remove dparams (libgstcontrol)
5385 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5387 * gst/elements/gsttypefindelement.c:
5388 (gst_type_find_element_have_type), (gst_type_find_element_init),
5389 (stop_typefinding), (gst_type_find_element_handle_event),
5390 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5391 * gst/elements/gsttypefindelement.h:
5392 Set caps on all outgoing buffers, not just the first one.
5394 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5396 * gst/elements/gsttypefindelement.c:
5397 (gst_type_find_element_have_type),
5398 (gst_type_find_element_check_set_buffer_caps),
5399 (gst_type_find_element_init), (stop_typefinding),
5400 (gst_type_find_element_handle_event),
5401 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5402 * gst/elements/gsttypefindelement.h:
5403 Set caps on first outgoing buffer when we've found the type.
5405 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5407 * docs/gst/gstreamer-docs.sgml:
5408 * docs/gst/gstreamer-sections.txt:
5409 * docs/gst/tmpl/gstscheduler.sgml:
5410 * docs/gst/tmpl/gstschedulerfactory.sgml:
5411 Remove some old cruft from docs.
5413 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5416 Fix inline docs for GstPadLinkReturn.
5418 * gst/gststructure.c: (gst_structure_has_name):
5419 * gst/gststructure.h:
5420 * docs/gst/gstreamer-sections.txt:
5421 New API: gst_structure_has_name().
5423 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5426 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5427 and _LARGEFILE_SOURCE in config.h as required. Do not
5428 export those flags in our .pc files any longer (#142209).
5430 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5432 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5433 (gst_file_sink_do_seek), (gst_file_sink_event),
5434 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5435 Redo seek/tell calls with large file support in mind; add some
5436 debugging messages; add log message that tells us when large
5437 file support is unavailable or not enabled for some reason.
5439 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5440 Add log message that tells us when large file support
5441 is unavailable or not enabled for some reason.
5443 2005-07-29 Wim Taymans <wim@fluendo.com>
5445 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5446 Added test for removing an element with ghostpad from a bin.
5447 Fixed test as current implementation does the right thing.
5449 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5450 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5451 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5452 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5453 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5454 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5455 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5456 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5457 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5458 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5459 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5460 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5461 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5462 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5463 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5464 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5465 * gst/gstghostpad.h:
5466 Clean up ghostpads, remove properties for internal stuff.
5469 Prepare for switching targets, not all use cases work yet.
5471 2005-07-29 Wim Taymans <wim@fluendo.com>
5473 * docs/design/part-gstghostpad.txt:
5476 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5477 (gst_bin_remove_func):
5478 Unlinking pads while holding the bin LOCK is not a good
5481 * gst/gstpad.c: (gst_pad_class_init),
5482 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5483 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5484 No prob setting template after creating the pad.
5486 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5488 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5489 (gst_bus_peek), (gst_bus_source_dispatch),
5490 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5491 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5492 gst_bus_poll may be called from other threads. Handle
5493 this nicely by not making poll_data disappear off the
5494 stack once gst_bus_poll returns.
5495 gst_bus_peek now increments the refcount on the returned
5498 2005-07-29 Wim Taymans <wim@fluendo.com>
5500 * docs/design/part-gstghostpad.txt:
5501 Overview of current GhostPad datastructures and use
5502 cases for changing the target.
5504 2005-07-28 Wim Taymans <wim@fluendo.com>
5506 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5507 Added checks for hierarchy consistency whan adding linked
5510 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5511 Added check to test element scheduling without bin/pipeline.
5513 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5514 First add elements to bin, then link.
5516 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5517 (gst_bin_remove_func):
5518 Unlink pads from elements added/removed from bin to maintain
5519 hierarchy consistency.
5521 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5523 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5524 (gst_base_transform_handle_buffer):
5525 * gst/base/gstbasetransform.h:
5526 Remove broken delay_configure (fixes renegotiation of software
5527 scaling pipelines); remove some leftover printf()s.
5529 2005-07-28 Wim Taymans <wim@fluendo.com>
5531 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5532 Added some more tests for wrong hierarchy
5534 * docs/design/part-overview.txt:
5537 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5540 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5541 (gst_element_dispose):
5544 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5545 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5546 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5547 (gst_pad_set_caps), (gst_pad_send_event):
5548 Check for correct hierarchy when linking pads. Moving to
5549 strict requirement for ghostpads when linking elements in
5553 Clean ups. Added WRONG_HIERARCHY return value.
5555 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5557 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5558 Better debug if no transform is possible.
5560 2005-07-27 Wim Taymans <wim@fluendo.com>
5562 * docs/random/wtay/network-transp:
5565 2005-07-27 Wim Taymans <wim@fluendo.com>
5567 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5568 (gst_dp_event_from_packet):
5569 Fix serialization of seek events.
5571 2005-07-27 Wim Taymans <wim@fluendo.com>
5573 * check/gst-libs/gdp.c: (GST_START_TEST):
5574 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5575 Fix compilation and fix event serialization.
5577 2005-07-27 Wim Taymans <wim@fluendo.com>
5580 * docs/design/part-TODO.txt:
5581 * docs/design/part-events.txt:
5584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5585 (gst_base_sink_event), (gst_base_sink_do_sync),
5586 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5587 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5588 (gst_base_src_do_seek), (gst_base_src_event_handler),
5589 (gst_base_src_loop):
5590 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5591 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5592 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5593 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5594 (gst_base_transform_set_passthrough),
5595 (gst_base_transform_is_passthrough):
5596 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5597 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5603 * gst/gstelement.c: (gst_element_seek):
5605 Update gst_element_seek.
5607 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5608 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5609 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5610 (gst_event_new_eos), (gst_event_new_newsegment),
5611 (gst_event_parse_newsegment), (gst_event_new_tag),
5612 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5613 (gst_event_parse_qos), (gst_event_new_seek),
5614 (gst_event_parse_seek), (gst_event_new_navigation):
5616 Make GstEvent use GstStructure. Add parsing code, make sure the
5617 API is sufficiently generic.
5618 Mark possible directions of events and serialization.
5620 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5621 (_gst_message_copy), (gst_message_new_segment_start),
5622 (gst_message_new_segment_done), (gst_message_new_custom),
5623 (gst_message_parse_segment_start),
5624 (gst_message_parse_segment_done):
5627 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5628 (gst_pad_set_caps), (gst_pad_send_event):
5629 Update for new events.
5630 Catch events sent in wrong directions.
5632 * gst/gstqueue.c: (gst_queue_link_src),
5633 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5634 (gst_queue_handle_src_query):
5639 Remove event code from this file.
5641 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5642 (gst_dp_event_from_packet):
5645 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5647 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5648 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5649 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5650 Make debugging actually useful.
5652 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5654 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5655 (gst_pad_fixate_caps):
5656 Implement default fixation once again, so that gst_pad_fixate()
5657 actually does anything at all. This probably needs to be some
5658 sort of a last resort, and use profile-based fixation first, but
5659 since that doesn't exist yet, this is the best we have. Fixes
5660 visualization in Totem.
5662 2005-07-22 Wim Taymans <wim@fluendo.com>
5664 * docs/design/part-events.txt:
5667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5668 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5669 (gst_base_sink_activate_pull):
5672 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5673 (gst_fake_src_create):
5674 Fix handoff marshall.
5676 * gst/elements/gstidentity.c: (gst_identity_class_init),
5677 (gst_identity_transform_ip):
5678 We're a real inplace element.
5680 * gst/gstbus.c: (gst_bus_post):
5681 Added some comments.
5683 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5684 * tests/muxing/case1.c: (main):
5685 * tests/sched/dynamic-pipeline.c: (main):
5686 * tests/sched/interrupt1.c: (main):
5687 * tests/sched/interrupt2.c: (main):
5688 * tests/sched/interrupt3.c: (main):
5689 * tests/sched/runxml.c: (main):
5690 * tests/sched/sched-stress.c: (main):
5691 * tests/seeking/seeking1.c: (event_received), (main):
5692 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5694 * tests/threadstate/threadstate3.c: (main):
5695 * tests/threadstate/threadstate4.c: (main):
5696 * tests/threadstate/threadstate5.c: (main):
5699 2005-07-21 Wim Taymans <wim@fluendo.com>
5701 * docs/design/part-seeking.txt:
5702 Some small additions.
5704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5705 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5706 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5707 * gst/base/gstbasesink.h:
5708 discont values are gint64, handle the math correctly.
5710 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5711 Make the basesrc report error if the source pad is not linked.
5713 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5714 (gst_queue_loop), (gst_queue_handle_src_query),
5715 (gst_queue_src_activate_push):
5716 Make queue collect data even if the srcpad is not linked.
5717 Start pushing out data as soon as it is linked.
5719 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5721 Added gst_flow_get_name() to ease error reporting.
5723 2005-07-20 Wim Taymans <wim@fluendo.com>
5725 * gst/gstmessage.c: (gst_message_new_segment_start),
5726 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5727 (gst_message_parse_segment_done):
5729 Added a bunch of messages for advanced seeking.
5731 * gst/parse/grammar.y:
5732 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5733 (gst_dpman_state_changed):
5734 Fix some new-pad -> pad-added signals
5736 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5738 * docs/manual/appendix-porting.xml:
5739 * docs/pwg/appendix-porting.xml:
5740 Document new-pad/state-change signal renames and the FixedList
5743 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5745 * docs/manual/advanced-autoplugging.xml:
5746 * docs/manual/basics-helloworld.xml:
5747 * docs/manual/basics-pads.xml:
5748 * docs/random/ds/0.9-suggested-changes:
5749 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5754 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5755 (gst_structure_parse_array), (gst_structure_parse_value):
5756 * gst/gstvalue.c: (gst_type_is_fixed),
5757 (gst_value_list_prepend_value), (gst_value_list_append_value),
5758 (gst_value_list_get_size), (gst_value_list_get_value),
5759 (gst_value_transform_array_string), (gst_value_serialize_array),
5760 (gst_value_deserialize_array), (gst_value_intersect_array),
5761 (gst_value_is_fixed), (_gst_value_initialize):
5763 GstElement::new-pad -> pad-added, GstElement::state-change ->
5764 state-changed, GstValueFixedList -> GstValueArray, add format and
5765 flags as their own arguments in gst_element_seek() (should improve
5766 "bindeability"), remove function generators since they don't work
5767 under a whole bunch of compilers (they were deprecated already
5770 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5772 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5773 (_gst_debug_register_funcptr):
5775 Fix illegal cast on some platforms (#309253).
5777 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5779 * gst/gstmessage.c: (gst_message_new_custom):
5781 Add _new_custom, make _new_application a macro to _new_custom.
5783 2005-07-20 Wim Taymans <wim@fluendo.com>
5785 * gst/base/gstbasesrc.c: (gst_base_src_init),
5786 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5787 * gst/base/gstbasesrc.h:
5788 Add a gboolean to decide when to push out a discont.
5790 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5791 (gst_queue_loop), (gst_queue_handle_src_query),
5792 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5793 (gst_queue_set_property), (gst_queue_get_property):
5796 * tests/threadstate/threadstate1.c: (main):
5797 Make a thread test compile and run... very silly..
5800 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5802 * docs/manual/appendix-porting.xml:
5803 Mention removal of libgstgconf-0.9.la and existence of gconf
5806 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5808 * docs/pwg/advanced-clock.xml:
5809 * docs/pwg/appendix-porting.xml:
5810 * docs/pwg/intro-preface.xml:
5811 * docs/pwg/other-base.xml:
5812 * docs/pwg/other-manager.xml:
5813 * docs/pwg/other-nton.xml:
5814 * docs/pwg/other-ntoone.xml:
5815 * docs/pwg/other-oneton.xml:
5817 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5818 demuxer), remove n-to-n (was never written), fix some code examples
5819 and links and update the porting section to include all this.
5821 2005-07-19 Wim Taymans <wim@fluendo.com>
5823 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5824 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5825 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5826 (gst_queue_src_activate_push), (gst_queue_change_state),
5827 (gst_queue_get_property):
5829 Propagate GstFlowReturn more intelligently upstream and output
5830 an ERROR/EOS when streaming stopped due to fatal error.
5832 2005-07-19 Wim Taymans <wim@fluendo.com>
5834 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5835 Don't block forever for the state change to complete, the
5836 pipeline already did with a sensible timeout.
5838 2005-07-19 Wim Taymans <wim@fluendo.com>
5840 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5841 Make sure we never call the create function is we
5844 2005-07-19 Andy Wingo <wingo@pobox.com>
5846 * gst/parse/parse.l: Attempt to solve bug #172815.
5848 2005-07-19 Wim Taymans <wim@fluendo.com>
5850 * docs/design/part-clocks.txt:
5851 * docs/design/part-events.txt:
5852 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5854 Only update the seeking values when we are not
5857 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5859 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5860 Oops, ignore the result of gst_pad_push_event here.
5862 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5864 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5865 (gst_base_src_activate_push):
5866 Send discont event from the loop function, as pads
5867 aren't activated yet in the activate_push handler.
5869 * gst/gstbin.c: (bin_bus_handler):
5870 Don't leak element name.
5872 2005-07-18 Andy Wingo <wingo@pobox.com>
5874 * configure.ac: Use AS_LIBTOOL_TAGS.
5876 2005-07-18 Wim Taymans <wim@fluendo.com>
5878 * docs/gst/gstreamer.types:
5879 Remove deleted types.
5881 2005-07-18 Wim Taymans <wim@fluendo.com>
5883 * check/elements/gstfakesrc.c: (GST_START_TEST):
5886 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5887 (init_popt_callback):
5889 * gst/gst_private.h:
5890 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5891 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5894 * gst/gstconfig.h.in:
5895 * gst/gstelement.c: (gst_element_class_init),
5896 (gst_element_set_base_time), (gst_element_get_base_time),
5897 (iterator_fold_with_resync), (gst_element_change_state),
5898 (gst_element_dispose), (gst_element_get_bus):
5900 * gst/gstelementfactory.h:
5901 * gst/gsterror.c: (_gst_core_errors_init):
5904 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5906 * gst/gstinfo.c: (_gst_debug_init):
5907 * gst/gstmessage.c: (_gst_message_copy):
5909 * gst/gstminiobject.h:
5912 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5913 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5916 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5917 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5918 (gst_pipeline_get_last_stream_time):
5919 * gst/gstpipeline.h:
5920 * gst/gstpluginfeature.h:
5922 * gst/gstscheduler.c:
5923 * gst/gstscheduler.h:
5924 * gst/gststructure.h:
5925 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5926 (gst_task_finalize), (gst_task_func), (gst_task_create),
5927 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5928 (gst_task_stop), (gst_task_pause):
5930 * gst/gsttypefind.h:
5932 * gst/registries/gstlibxmlregistry.c: (load_feature),
5933 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5934 * gst/registries/gstxmlregistry.c:
5935 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5936 * gst/schedulers/threadscheduler.c:
5937 * libs/gst/control/dparammanager.h:
5938 * tools/gst-inspect.c: (print_element_list),
5939 (print_plugin_features), (print_element_features):
5940 * tools/gst-xmlinspect.c: (print_element_list),
5941 (print_plugin_info), (main):
5942 Removed plugable schedulers.
5943 Removed Scheduler/Manager from elements.
5944 Removed gsttypes.h, rearranged includes.
5945 Removed dependency pad<->element, element<>pipeline, and
5946 various others, fix includes.
5947 implement gst_pad_get_parent() with gst_object_get_parent()
5948 Make GstTask sefcontained.
5949 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5951 Fix endless loop in iterator_fold_with_resync.
5954 2005-07-18 Wim Taymans <wim@fluendo.com>
5960 2005-07-18 Wim Taymans <wim@fluendo.com>
5965 2005-07-18 Wim Taymans <wim@fluendo.com>
5971 2005-07-18 Wim Taymans <wim@fluendo.com>
5973 * docs/design/part-dynamic.txt:
5974 * docs/design/part-events.txt:
5975 * docs/design/part-seeking.txt:
5976 Some more docs in the works.
5978 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5979 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5980 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5981 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5982 (gst_base_transform_handle_buffer),
5983 (gst_base_transform_sink_activate_push),
5984 (gst_base_transform_src_activate_pull),
5985 (gst_base_transform_set_passthrough),
5986 (gst_base_transform_is_passthrough):
5989 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5992 * gst/gstevent.c: (gst_event_finalize):
5995 * gst/gstutils.c: (gst_element_unlink),
5996 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5997 (gst_pad_proxy_setcaps):
5999 Add _get_parent_element() to get a pads parent as an element.
6001 2005-07-18 Wim Taymans <wim@fluendo.com>
6003 * check/gst/gstbin.c: (GST_START_TEST):
6006 2005-07-18 Wim Taymans <wim@fluendo.com>
6008 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6009 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6010 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6011 (gst_base_sink_event), (gst_base_sink_do_sync),
6012 (gst_base_sink_chain), (gst_base_sink_loop),
6013 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6014 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6016 Fix logic for returning ASYNC when not prerolled.
6018 2005-07-18 Wim Taymans <wim@fluendo.com>
6020 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6021 Fix nasty refcount bug.
6023 2005-07-16 Philippe Khalaf <burger@speedy.org>
6025 * gst/elements/gstfdsrc.c:
6026 * gst/elements/gstfdsrc.h:
6027 * gst/elements/gstelements.c:
6028 * gst/elements/Makefile.am:
6029 Ported fdsrc to 0.9.
6031 2005-07-16 Wim Taymans <wim@fluendo.com>
6033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6034 (gst_base_sink_do_sync):
6037 2005-07-16 Wim Taymans <wim@fluendo.com>
6039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6040 (gst_base_sink_event), (gst_base_sink_get_times),
6041 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6042 * gst/base/gstbasesink.h:
6043 Store and use discont values when syncing buffers as described
6046 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6047 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6048 (gst_base_src_activate_push):
6049 Push discont event when starting.
6051 * gst/elements/gstidentity.c: (gst_identity_transform):
6054 * gst/gstbin.c: (gst_bin_change_state):
6055 Small cleanups in base_time distribution.
6057 * gst/gstelement.c: (gst_element_set_base_time),
6058 (gst_element_get_base_time), (gst_element_change_state):
6060 Added methods for the base_time of the element.
6063 * gst/gstpipeline.c: (gst_pipeline_send_event),
6064 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6065 (gst_pipeline_get_last_stream_time):
6066 * gst/gstpipeline.h:
6068 Handle seeking as described in design doc, remove stream_time
6070 Cleanups clock and stream_time selection code. Added accessors
6071 for the stream_time.
6074 2005-07-16 Andy Wingo <wingo@pobox.com>
6076 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6079 2005-07-16 Wim Taymans <wim@fluendo.com>
6081 * check/gst/gstbin.c: (GST_START_TEST):
6082 Make elements silent as the deep_notify refs the
6083 parent, which might make the test fail.
6085 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6086 Don't hold the lock for too long.
6088 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6090 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6091 Don't unref the caps we passed to gst_caps_make_writable() after
6092 passing them. gst_caps_make_writable() will do that for us.
6094 2005-07-15 Andy Wingo <wingo@pobox.com>
6096 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6099 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6100 own marshalling function for the handoff signal. Properly type the
6101 buffer as a buffer. Fixes some warnings. Should do a more general
6103 (gst_identity_class_init): Plug into the right marshaller.
6105 2005-07-15 Wim Taymans <wim@fluendo.com>
6107 * docs/design/part-TODO.txt:
6108 * docs/design/part-clocks.txt:
6109 * docs/design/part-element-sink.txt:
6110 * docs/design/part-events.txt:
6111 * docs/design/part-gstpipeline.txt:
6112 Updated docs, mostly DISCONT related.
6114 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6116 * docs/pwg/building-pads.xml:
6117 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6119 2005-07-15 Andy Wingo <wingo@pobox.com>
6121 * tools/gst-typefind.c: Update, add copyright block.
6123 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6124 Normalize and truncate caps before fixation.
6127 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6128 discards all but the first structure from its argument.
6130 2005-07-15 Wim Taymans <wim@fluendo.com>
6132 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6133 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6134 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6135 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6136 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6137 (gst_base_transform_chain), (gst_base_transform_change_state),
6138 (gst_base_transform_set_passthrough),
6139 (gst_base_transform_is_passthrough):
6140 * gst/base/gstbasetransform.h:
6141 Make passthrough work using the bufferpools.
6142 Changed API a bit, subclasses have to write into a buffer
6143 provided by the base class.
6144 More debug info in nego functions.
6146 * gst/elements/gstidentity.c: (gst_identity_init),
6147 (gst_identity_transform):
6148 Port to new base class.
6150 2005-07-15 Wim Taymans <wim@fluendo.com>
6152 * gst/gstmessage.c: (gst_message_new_state_changed):
6153 * tools/gst-launch.c: (event_loop), (main):
6154 Totally dump messages in -launch with the -m option.
6155 Fix message name for State messages,
6157 2005-07-14 Wim Taymans <wim@fluendo.com>
6159 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6160 Post error messages on errors.
6162 2005-07-14 Wim Taymans <wim@fluendo.com>
6164 * gst/gstcaps.c: (gst_caps_do_simplify):
6168 Define error for stream stopped.
6170 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6171 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6172 Do proper return values.
6174 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6175 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6176 (gst_pad_get_range):
6177 Better return values.
6180 Reorganise return values, add macro to check for fatal errors.
6182 * gst/gstqueue.c: (gst_queue_chain):
6183 Return proper GstFlowReturn values,
6185 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6187 * docs/gst/gstreamer-sections.txt:
6188 * docs/gst/gstreamer.types:
6189 * docs/gst/tmpl/gst.sgml:
6190 * docs/gst/tmpl/gstbasesink.sgml:
6191 * docs/gst/tmpl/gstbasesrc.sgml:
6192 * docs/gst/tmpl/gstbasetransform.sgml:
6193 * docs/gst/tmpl/gstbin.sgml:
6194 * docs/gst/tmpl/gstbuffer.sgml:
6195 * docs/gst/tmpl/gstcaps.sgml:
6196 * docs/gst/tmpl/gstclock.sgml:
6197 * docs/gst/tmpl/gstcompat.sgml:
6198 * docs/gst/tmpl/gstconfig.sgml:
6199 * docs/gst/tmpl/gstelement.sgml:
6200 * docs/gst/tmpl/gstelementdetails.sgml:
6201 * docs/gst/tmpl/gstelementfactory.sgml:
6202 * docs/gst/tmpl/gstenumtypes.sgml:
6203 * docs/gst/tmpl/gsterror.sgml:
6204 * docs/gst/tmpl/gstevent.sgml:
6205 * docs/gst/tmpl/gstfakesink.sgml:
6206 * docs/gst/tmpl/gstfakesrc.sgml:
6207 * docs/gst/tmpl/gstfilesink.sgml:
6208 * docs/gst/tmpl/gstfilesrc.sgml:
6209 * docs/gst/tmpl/gstfilter.sgml:
6210 * docs/gst/tmpl/gstformat.sgml:
6211 * docs/gst/tmpl/gstghostpad.sgml:
6212 * docs/gst/tmpl/gstimplementsinterface.sgml:
6213 * docs/gst/tmpl/gstindex.sgml:
6214 * docs/gst/tmpl/gstindexfactory.sgml:
6215 * docs/gst/tmpl/gstinfo.sgml:
6216 * docs/gst/tmpl/gstiterator.sgml:
6217 * docs/gst/tmpl/gstmacros.sgml:
6218 * docs/gst/tmpl/gstmemchunk.sgml:
6219 * docs/gst/tmpl/gstminiobject.sgml:
6220 * docs/gst/tmpl/gstobject.sgml:
6221 * docs/gst/tmpl/gstpad.sgml:
6222 * docs/gst/tmpl/gstpadtemplate.sgml:
6223 * docs/gst/tmpl/gstparse.sgml:
6224 * docs/gst/tmpl/gstpipeline.sgml:
6225 * docs/gst/tmpl/gstplugin.sgml:
6226 * docs/gst/tmpl/gstpluginfeature.sgml:
6227 * docs/gst/tmpl/gstquery.sgml:
6228 * docs/gst/tmpl/gstqueue.sgml:
6229 * docs/gst/tmpl/gstregistry.sgml:
6230 * docs/gst/tmpl/gstregistrypool.sgml:
6231 * docs/gst/tmpl/gstscheduler.sgml:
6232 * docs/gst/tmpl/gstschedulerfactory.sgml:
6233 * docs/gst/tmpl/gststructure.sgml:
6234 * docs/gst/tmpl/gstsystemclock.sgml:
6235 * docs/gst/tmpl/gsttaglist.sgml:
6236 * docs/gst/tmpl/gsttagsetter.sgml:
6237 * docs/gst/tmpl/gsttrace.sgml:
6238 * docs/gst/tmpl/gsttrashstack.sgml:
6239 * docs/gst/tmpl/gsttypefind.sgml:
6240 * docs/gst/tmpl/gsttypefindfactory.sgml:
6241 * docs/gst/tmpl/gsttypes.sgml:
6242 * docs/gst/tmpl/gsturihandler.sgml:
6243 * docs/gst/tmpl/gsturitype.sgml:
6244 * docs/gst/tmpl/gstutils.sgml:
6245 * docs/gst/tmpl/gstvalue.sgml:
6246 * docs/gst/tmpl/gstversion.sgml:
6247 * docs/gst/tmpl/gstxml.sgml:
6248 * docs/libs/tmpl/gstcontrol.sgml:
6249 * docs/libs/tmpl/gstdataprotocol.sgml:
6250 * docs/libs/tmpl/gstdparam.sgml:
6251 * docs/libs/tmpl/gstdplinint.sgml:
6252 * docs/libs/tmpl/gstdpman.sgml:
6253 * docs/libs/tmpl/gstdpsmooth.sgml:
6254 * docs/libs/tmpl/gstgetbits.sgml:
6255 * docs/libs/tmpl/gstunitconvert.sgml:
6256 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6257 (gst_push_src_base_init), (gst_push_src_class_init),
6258 (gst_push_src_init), (gst_push_src_create):
6259 * gst/base/gstpushsrc.h:
6260 * gst/elements/gstelements.c:
6261 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6262 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6263 (gst_fake_sink_init), (gst_fake_sink_set_property),
6264 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6265 (gst_fake_sink_event), (gst_fake_sink_preroll),
6266 (gst_fake_sink_render), (gst_fake_sink_change_state):
6267 * gst/elements/gstfakesink.h:
6268 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6269 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6270 (gst_fake_src_base_init), (gst_fake_src_class_init),
6271 (gst_fake_src_init), (gst_fake_src_event_handler),
6272 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6273 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6274 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6275 (gst_fake_src_create_buffer), (gst_fake_src_create),
6276 (gst_fake_src_start), (gst_fake_src_stop):
6277 * gst/elements/gstfakesrc.h:
6278 * gst/elements/gstfilesink.c: (_do_init),
6279 (gst_file_sink_base_init), (gst_file_sink_class_init),
6280 (gst_file_sink_init), (gst_file_sink_dispose),
6281 (gst_file_sink_set_location), (gst_file_sink_set_property),
6282 (gst_file_sink_get_property), (gst_file_sink_open_file),
6283 (gst_file_sink_close_file), (gst_file_sink_query),
6284 (gst_file_sink_event), (gst_file_sink_render),
6285 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6286 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6287 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6288 * gst/elements/gstfilesink.h:
6289 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6290 (gst_file_src_class_init), (gst_file_src_init),
6291 (gst_file_src_finalize), (gst_file_src_set_location),
6292 (gst_file_src_set_property), (gst_file_src_get_property),
6293 (gst_file_src_map_region), (gst_file_src_map_small_region),
6294 (gst_file_src_create_mmap), (gst_file_src_create_read),
6295 (gst_file_src_create), (gst_file_src_is_seekable),
6296 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6297 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6298 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6299 (gst_file_src_uri_handler_init):
6300 * gst/elements/gstfilesrc.h:
6301 more autistic cleanliness in functions/names/defines
6303 2005-07-13 Andy Wingo <wingo@pobox.com>
6305 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6306 source couldn't negotiate.
6308 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6312 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6313 function. I am channeling Hades. Put your boots on suckers!!!
6315 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6317 * testsuite/caps/Makefile.am:
6318 * testsuite/caps/value_compare.c:
6319 * testsuite/caps/value_intersect.c:
6320 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6321 move two testsuite apps over to the check dir
6323 2005-07-12 Wim Taymans <wim@fluendo.com>
6325 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6326 Added more debug info in the negotiate process.
6329 Prepare for segment playback.
6331 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6337 * tools/gst-launch.c: (main):
6338 NULL pipeline on errors.
6340 2005-07-12 Andy Wingo <wingo@pobox.com>
6342 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6343 not it comes from a malloc region. Make sure our copy gets freed.
6345 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6347 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6348 * check/gst/gstmessage.c: (GST_START_TEST):
6349 * check/gst/gststructure.c: (GST_START_TEST),
6350 (gst_structure_suite), (main):
6352 * gst/gstelement.c: (gst_element_message_full):
6353 clean up GError and debug string now that they get copied
6354 * gst/gstmessage.c: (gst_message_new_error),
6355 (gst_message_new_warning), (gst_message_parse_error),
6356 (gst_message_parse_warning):
6357 use GST_TYPE_G_ERROR for structure_new, and take copies of
6358 arguments, so that we don't mess up refcounting
6360 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6362 * check/Makefile.am:
6363 add per-test valgrind targets
6364 * check/gst-libs/gdp.c: (GST_START_TEST),
6365 (gst_data_protocol_suite), (main):
6368 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6370 * check/Makefile.am:
6371 instate more valgrindable tests
6372 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6373 (GST_START_TEST), (fakesrc_suite):
6374 * check/gst/gstpad.c: (GST_START_TEST):
6375 * check/gst/gststructure.c: (GST_START_TEST):
6377 * docs/gst/tmpl/gstminiobject.sgml:
6378 * gst/gstpad.c: (gst_pad_finalize):
6379 fix the static mutex leak
6381 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6383 * check/Makefile.am:
6384 add two more tests for valgrinding
6385 * check/gst/gstvalue.c: (GST_START_TEST):
6386 test refcount of deserialized buffer, found a leak
6387 * docs/gst/gstreamer-docs.sgml:
6388 * docs/gst/gstreamer-sections.txt:
6389 * docs/gst/gstreamer.types:
6390 * docs/gst/tmpl/gstminiobject.sgml:
6391 add miniobject to docs
6392 * gst/gstminiobject.c:
6394 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6395 (gst_string_unwrap):
6396 fix a hard-to-find invalid write for one of the tests
6397 fix a leak for deserialized buffers
6399 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6401 * docs/pwg/advanced-events.xml:
6402 * docs/pwg/advanced-request.xml:
6403 * docs/pwg/advanced-scheduling.xml:
6404 * docs/pwg/appendix-porting.xml:
6405 * docs/pwg/building-boiler.xml:
6406 * docs/pwg/intro-preface.xml:
6407 * docs/pwg/other-ntoone.xml:
6408 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6409 of example code and explanation for pad activation, loop() and
6410 getrange() functions and a bit more. Remove old comments pointing
6412 * examples/pwg/Makefile.am:
6413 Add loop/getrange examples.
6415 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6418 check for valgrind binary + some fixes
6420 valgrind suppressions for the tests
6421 * check/Makefile.am:
6422 add a valgrind: target that valgrinds the unit tests
6423 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6424 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6425 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6426 * check/gst/gstghostpad.c:
6428 * check/gst/gstdata.c:
6430 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6431 (thread_unref), (gst_mini_object_suite), (main):
6433 * gst/gst.c: (gst_deinit):
6435 add a method to clean up.
6436 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6437 (gst_system_clock_obtain):
6438 allow for disposing the system clock.
6439 * tools/gst-launch.c: (main):
6442 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6444 * docs/gst/tmpl/gstbasesrc.sgml:
6445 * docs/gst/tmpl/gstfakesrc.sgml:
6446 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6447 (gst_base_src_init), (gst_base_src_set_property),
6448 (gst_base_src_get_property), (gst_base_src_get_range),
6449 (gst_base_src_start):
6450 * gst/base/gstbasesrc.h:
6451 add num-buffers property
6452 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6453 (gst_fakesrc_init), (gst_fakesrc_set_property),
6454 (gst_fakesrc_get_property), (gst_fakesrc_create),
6455 (gst_fakesrc_start):
6456 remove num-buffers property
6458 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6460 * docs/gst/gstreamer-sections.txt:
6461 * docs/gst/tmpl/gstbasesink.sgml:
6462 * docs/gst/tmpl/gstbasesrc.sgml:
6463 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6464 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6465 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6466 (gst_base_sink_set_property), (gst_base_sink_get_property),
6467 (gst_base_sink_handle_object), (gst_base_sink_event),
6468 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6469 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6470 (gst_base_sink_loop), (gst_base_sink_deactivate),
6471 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6472 (gst_base_sink_change_state):
6473 * gst/base/gstbasesink.h:
6474 * gst/base/gstbasesrc.h:
6475 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6476 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6477 (gst_filesink_init):
6478 more macro splitting
6480 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6482 * gst/gstelement.c: (gst_element_get_bus):
6484 * tools/gst-launch.c: (check_intr), (event_loop):
6487 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6489 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6492 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6494 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6495 (gst_base_src_finalize):
6496 add finalize method and clean up properly
6497 * gst/gstpipeline.c: (gst_pipeline_dispose):
6500 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6502 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6504 add more things to check
6505 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6509 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6511 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6512 (GST_START_TEST), (fakesrc_suite):
6513 * check/gst-libs/gdp.c: (GST_START_TEST):
6514 * check/gst/gst.c: (GST_START_TEST):
6515 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6516 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6517 * check/gst/gstbus.c: (GST_START_TEST):
6518 * check/gst/gstcaps.c: (GST_START_TEST):
6519 * check/gst/gstdata.c: (GST_START_TEST):
6520 * check/gst/gstelement.c: (GST_START_TEST):
6521 * check/gst/gstghostpad.c: (GST_START_TEST):
6522 * check/gst/gstiterator.c: (GST_START_TEST):
6523 * check/gst/gstmessage.c: (GST_START_TEST):
6524 * check/gst/gstobject.c: (GST_START_TEST):
6525 * check/gst/gstpad.c: (GST_START_TEST):
6526 * check/gst/gststructure.c: (GST_START_TEST):
6527 * check/gst/gstsystemclock.c: (GST_START_TEST),
6528 (gst_systemclock_suite):
6529 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6530 * check/gst/gstvalue.c: (GST_START_TEST):
6531 * check/pipelines/cleanup.c: (GST_START_TEST):
6532 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6533 * check/states/sinks.c: (GST_START_TEST):
6534 * check/gstcheck.c: (gst_check_init):
6536 add debugging category
6537 use GST_START_TEST now, so we add a debug line
6539 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6541 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6542 add test for state change message on a bin
6543 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6545 * gst/gstbin.c: (gst_bin_init):
6546 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6547 * gst/gstelement.c: (gst_element_post_message),
6548 (gst_element_set_state):
6549 * gst/gstelementfactory.c: (gst_element_factory_create):
6550 * gst/gstmessage.c: (gst_message_new):
6551 * gst/gstscheduler.c:
6552 various debugging additions and cleanups
6554 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6556 * check/Makefile.am:
6557 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6559 adding tests for elements
6560 * gst/gstelement.c: (gst_element_dispose):
6562 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6564 * gst/registries/gstlibxmlregistry.c: (load_feature):
6565 plug more leaks. A simple gst_init() now is leakfree, yay.
6567 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6569 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6570 (gst_xml_registry_load):
6571 plug another memleak
6573 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6576 use GST_SET_ERROR_CFLAGS
6578 change to ERROR_CFLAGS
6580 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6583 make GST_ERROR_CFLAGS overridable and re-enable Werror
6585 add a note about error CFLAGS
6586 * docs/gst/tmpl/gstfakesrc.sgml:
6587 * gst/elements/gstfakesrc.c:
6588 comment out some unused code
6589 * gst/gst.c: (split_and_iterate):
6590 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6594 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6596 * common/Makefile.am:
6597 * common/gtk-doc.mak:
6598 * docs/gst/Makefile.am:
6599 factor out gtk-doc.mak
6601 2005-07-07 Wim Taymans <wim@fluendo.com>
6603 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6604 (gst_thread_scheduler_dispose):
6605 Unlock the STREAM_LOCK completely.
6607 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6609 * check/Makefile.am:
6610 * check/elements/.cvsignore:
6611 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6612 (START_TEST), (fakesrc_suite), (main):
6613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6614 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6615 (gst_fakesrc_create), (gst_fakesrc_start):
6616 * gst/elements/gstfakesrc.h:
6617 adding a first element test
6619 2005-07-07 Andy Wingo <wingo@pobox.com>
6621 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6624 2005-07-07 Wim Taymans <wim@fluendo.com>
6630 2005-07-07 Wim Taymans <wim@fluendo.com>
6632 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6633 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6634 Allow subclasses to implement their own negotiation.
6636 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6638 * docs/design/part-gstbin.txt:
6639 * docs/design/part-gstpipeline.txt:
6640 Update design notes to reflect the movement of
6641 responsibility for bus handling from GstPipeline to
6644 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6647 Remove unnecessary queue2/3/4 examples.
6649 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6651 * examples/Makefile.am:
6652 * examples/helloworld/helloworld.c: (event_loop), (main):
6653 * examples/queue/queue.c: (event_loop), (main):
6654 * examples/queue2/queue2.c: (main):
6655 Update a couple of the examples to work again.
6657 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6658 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6659 Spelling corrections and extra debug.
6661 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6662 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6663 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6665 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6666 (gst_pipeline_change_state):
6667 * gst/gstpipeline.h:
6668 Move the bus handler for children to the GstBin, and create a
6669 separate bus for receiving messages from children to the one the
6670 bus sends 'upwards' on.
6672 2005-07-06 Wim Taymans <wim@fluendo.com>
6675 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6676 (gst_base_sink_handle_object), (gst_base_sink_loop),
6677 (gst_base_sink_change_state):
6678 * gst/base/gstbasesink.h:
6679 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6680 (gst_base_src_init), (gst_base_src_setcaps),
6681 (gst_base_src_getcaps), (gst_base_src_loop),
6682 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6683 (gst_base_src_start), (gst_base_src_change_state):
6684 * gst/base/gstbasesrc.h:
6685 Make basesrc negotiate.
6686 Handle the case where preroll fails in basesink.
6689 2005-07-06 Wim Taymans <wim@fluendo.com>
6691 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6692 Implement the fixate function.
6693 Clean up acceptcaps.
6695 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6697 * docs/pwg/building-filterfactory.xml:
6699 Remove never-written filter-factory chapter; I'll add the various
6700 base classes to part 4 ("other element types") later on.
6702 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6704 * docs/pwg/advanced-negotiation.xml:
6705 * docs/pwg/building-boiler.xml:
6706 * docs/pwg/building-pads.xml:
6708 * examples/pwg/Makefile.am:
6709 Add a chapter on caps negotiation, simplify the original code
6710 samples a bit w.r.t. caps negotiation, add link to the advanced
6711 section. Add a bunch of examples showing different use cases of
6712 different types of caps negotiation. Upstream renegotiation isn't
6713 fully documented yet since nobody knows how that works.
6715 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6717 * check/gst/gstpad.c:
6719 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6720 if pad has no parent, return NULL as list of internal links
6722 2005-07-05 Andy Wingo <wingo@pobox.com>
6724 * gst/elements/gstfilesrc.c:
6725 * gst/elements/gstfakesrc.c:
6726 * gst/base/gstpushsrc.c:
6727 * gst/base/gstbasesrc.h:
6728 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6730 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6733 better report generation target (lcov needs a patch)
6735 2005-07-05 Andy Wingo <wingo@pobox.com>
6737 * gst/elements, testsuite: Null if we got it...
6739 2005-07-05 Wim Taymans <wim@fluendo.com>
6742 * libs/gst/dataprotocol/Makefile.am:
6743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6744 * libs/gst/dataprotocol/dataprotocol.h:
6745 * pkgconfig/Makefile.am:
6746 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6747 * pkgconfig/gstreamer-dataprotocol.pc.in:
6748 Ported dataprotol to 0.9.
6749 Added pkgconfig files.
6751 2005-07-05 Andy Wingo <wingo@pobox.com>
6753 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6754 Default to returning TRUE for the case when tranform_caps returns
6755 a fixed caps, like for identity or volume.
6757 * check/gst/gstbus.c (pound_bus_with_messages):
6758 * check/gst/gstmessage.c (START_TEST):
6759 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6762 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6763 logic weaks here: always run transform_caps, trying passthrough
6764 operation only if the original caps intersects with the transform.
6766 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6767 source and sink caps.
6769 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6770 Intersect the peer caps with the pad template before going into
6772 (gst_base_transform_transform_caps): More debugging.
6774 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6777 2005-07-04 Edward Hervey <edward@fluendo.com>
6781 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6784 2005-07-04 Andy Wingo <wingo@pobox.com>
6786 * check/gst/gstpad.c: Only set explicit caps on pads.
6788 2005-07-01 Andy Wingo <wingo@pobox.com>
6790 * tests/network-clock.scm: Commentary update.
6792 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6793 Didn't really make sense, not implementable with basetransform,
6795 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6796 attempt at implementing the sync property, needs an unlock method.
6798 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6799 New func, by default returns the same caps (the identity
6801 (gst_base_transform_getcaps): Uses transform_caps to return
6803 (gst_base_transform_setcaps): Complicated logic to get caps on
6804 both pads, even if they are different, and to call set_caps once
6805 for every time both pads get their caps set.
6806 (gst_base_transform_handle_buffer): Give the ref to the transform
6807 function. Allows in-place modification of the buffer.
6809 * gst/base/gstbasetransform.h (transform_caps): New class method.
6810 Given caps on one side, what can I do on the other.
6811 (set_caps): Take two caps, one for each side of the element.
6814 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6815 caps in place. This is safe because we can check the mutability of
6816 the caps, and a good idea because fixate functions are just called
6817 as a matter of last resort. (Not actually implemented.)
6818 (gst_pad_set_caps): If the caps we're setting is actually the same
6819 as the existing pad caps, just update the pointer without calling
6820 setcaps. Assert that caps is either NULL or fixed, as per the
6823 * gst/gstghostpad.c: Update for fixate changes.
6825 2005-07-02 Andy Wingo <wingo@pobox.com>
6828 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6829 two refcounts makes it immutable, which is enough. Doc more.
6831 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6833 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6834 Put the mini_object into GValue as a mini_object,
6835 not a gpointer, since that's how we declared
6838 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6840 * examples/pwg/Makefile.am:
6843 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6845 * docs/pwg/building-testapp.xml:
6847 * examples/pwg/Makefile.am:
6850 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6853 * examples/Makefile.am:
6854 * examples/pwg/Makefile.am:
6855 * examples/pwg/extract.pl:
6856 Enable building the PWG examples.
6857 * docs/pwg/advanced-interfaces.xml:
6858 Add URI interface stub.
6859 * docs/pwg/advanced-types.xml:
6860 * docs/pwg/other-autoplugger.xml:
6861 * docs/pwg/appendix-porting.xml:
6863 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6864 * docs/pwg/building-boiler.xml:
6865 * docs/pwg/building-chainfn.xml:
6866 * docs/pwg/building-pads.xml:
6867 * docs/pwg/building-props.xml:
6868 * docs/pwg/building-state.xml:
6869 * docs/pwg/building-testapp.xml:
6870 Update the building-*.xml parts for 0.9 changes. All examples
6871 code blocks compile in examples/pwg/*.
6873 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6875 * docs/manual/advanced-autoplugging.xml:
6876 * docs/manual/appendix-checklist.xml:
6877 * docs/manual/appendix-integration.xml:
6878 * docs/manual/highlevel-components.xml:
6879 Fix playbin/decodebin examples, update docs a bit, mention bus
6880 instead of signals in various places, mention kmplayer and
6881 kaffeine since they have a working GStreamer backend in the KDE
6884 2005-06-30 Wim Taymans <wim@fluendo.com>
6887 * docs/design/draft-ghostpads.txt:
6888 * docs/design/draft-push-pull.txt:
6889 * docs/design/draft-query.txt:
6890 * docs/design/part-TODO.txt:
6891 * docs/design/part-query.txt:
6892 Added CHANGES-0.9 doc, updated status of other docs.
6897 2005-06-30 Wim Taymans <wim@fluendo.com>
6899 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6900 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6901 (gst_base_sink_change_state):
6902 * gst/base/gstbasesink.h:
6903 Some tweaks, only EOS and a buffer complete a preroll.
6905 2005-06-30 Andy Wingo <wingo@pobox.com>
6907 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6908 activate_push down to the internal pad as well.
6910 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6912 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6914 * gst/gsttaginterface.c:
6915 Some documentation fixes (#307394 and #307397).
6917 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6919 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6921 * gst/gstvalue.c: (gst_value_intersect_list):
6922 Fix memleak (#309125).
6924 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6926 * docs/manual/advanced-dataaccess.xml:
6927 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6928 * docs/manual/basics-pads.xml:
6929 Add reference for filtered caps to above chapter.
6931 2005-06-30 Wim Taymans <wim@fluendo.com>
6933 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6934 (gst_bin_change_state):
6936 Lame attempt at making the state change function a bit
6939 2005-06-30 Wim Taymans <wim@fluendo.com>
6941 * docs/design/part-clocks.txt:
6942 * docs/design/part-element-sink.txt:
6943 * docs/design/part-events.txt:
6944 * docs/design/part-preroll.txt:
6945 * docs/design/part-states.txt:
6946 Some more tweeks and additions to the docs.
6948 2005-06-30 Wim Taymans <wim@fluendo.com>
6950 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6951 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6952 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6953 (gst_pad_check_pull_range), (gst_pad_get_range),
6954 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6956 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6957 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6958 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6959 (gst_pad_remove_buffer_probe):
6960 Removed atomic operations, use existing LOCK.
6961 Move exception handling out of main code path.
6963 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6965 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6966 (silly_return_true_function), (gst_pad_class_init),
6967 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6968 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6969 (gst_pad_send_event):
6970 Fix accumulator, add default value by using _emitv() instead
6971 of _emit() for signal emission.
6973 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6975 * docs/manual/advanced-dataaccess.xml:
6976 * examples/manual/Makefile.am:
6978 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6981 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6983 * gst/elements/gstfilesink.c: (gst_filesink_render):
6984 Simplify code so that we don't have to handle short
6985 writes and return GST_FLOW_ERROR if an error occured.
6987 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6989 * docs/gst/gstreamer-docs.sgml:
6992 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6994 * docs/gst/gstreamer-sections.txt:
6995 * docs/gst/tmpl/gstpad.sgml:
6996 * docs/gst/tmpl/gstprobe.sgml:
6998 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6999 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7000 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7001 (gst_pad_push_event), (gst_pad_send_event):
7003 * gst/gstutils.c: (gst_pad_add_data_probe),
7004 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7005 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7006 (gst_pad_remove_buffer_probe):
7008 Remove old probes, add new g-signal-based probes and some utility
7011 2005-06-29 Edward Hervey <edward@fluendo.com>
7013 * gst/gstelementfactory.c:
7016 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7017 the definition to the header file.
7019 2005-06-29 Andy Wingo <wingo@pobox.com>
7021 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7022 plugins from the source directory.
7024 2005-06-29 Wim Taymans <wim@fluendo.com>
7026 * docs/gst/tmpl/gstbuffer.sgml:
7027 * docs/gst/tmpl/gstclock.sgml:
7028 Some fixings for blantently wrong text.
7030 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7032 * check/Makefile.am:
7033 * gst/gst.c: (add_path_func), (init_pre):
7034 * gst/gstregistry.c: (gst_registry_add_path):
7035 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7036 only scan the GST_PLUGIN_PATH locations, and not add
7039 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7041 * docs/gst/gstreamer-sections.txt:
7042 * docs/gst/tmpl/gstbasesrc.sgml:
7049 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7051 * docs/manual/advanced-autoplugging.xml:
7052 Fix autoplugging example.
7054 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7056 * docs/manual/advanced-autoplugging.xml:
7057 * docs/manual/mime-world.fig:
7058 Try to get autoplugging working, fix type detection. Fix text
7059 in hello-world image.
7061 2005-06-29 Wim Taymans <wim@fluendo.com>
7063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7064 (gst_base_sink_change_state):
7068 map SIGNAL and BROADCAST to the right function.
7071 Remove redundant braces.
7073 * gst/gstpad.c: (gst_pad_set_caps):
7074 Don't call setcaps function when reseting caps to NULL.
7076 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7077 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7078 (gst_system_clock_id_unschedule):
7079 Use BROADCAST as this is what we do.
7081 2005-06-29 Wim Taymans <wim@fluendo.com>
7083 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7084 We are actually prerolling before commiting the state
7087 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7089 * docs/manual/advanced-clocks.xml:
7090 * docs/manual/advanced-interfaces.xml:
7091 * docs/manual/advanced-metadata.xml:
7092 * docs/manual/advanced-position.xml:
7093 * docs/manual/advanced-schedulers.xml:
7094 * docs/manual/advanced-threads.xml:
7095 * docs/manual/appendix-porting.xml:
7096 * docs/manual/basics-bins.xml:
7097 * docs/manual/basics-bus.xml:
7098 * docs/manual/basics-elements.xml:
7099 * docs/manual/basics-helloworld.xml:
7100 * docs/manual/basics-pads.xml:
7101 * docs/manual/highlevel-components.xml:
7102 * docs/manual/manual.xml:
7103 * docs/manual/thread.fig:
7104 Update (until threads/scheduling) Application Development Manual;
7105 remove GstThread, add GstBus, add simple porting checklist, add
7106 documentation for tag writing, clocks, make all examples until this
7107 part compile and run.
7108 * examples/manual/Makefile.am:
7109 Update from changes to Application Development Manual; add bus
7110 example, remove thread example.
7112 2005-06-28 Wim Taymans <wim@fluendo.com>
7114 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7115 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7116 (gst_bus_source_dispatch):
7117 Add debugging messages.
7118 Make internal methods static.
7119 Handle the case where the bus is flushed in the handler.
7121 * gst/gstelement.c: (gst_element_get_bus):
7122 Fix refcount in _get_bus();
7124 * gst/gstpipeline.c: (gst_pipeline_change_state),
7125 (gst_pipeline_get_clock_func):
7126 Clock refcounting fixes.
7127 Handle the case where preroll timed out more gracefully.
7129 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7130 Clean up the internal thread in dispose. This is needed
7131 for subclasses that actually get disposed.
7133 * gst/schedulers/threadscheduler.c:
7134 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7135 (gst_thread_scheduler_dispose):
7136 Free thread pool in dispose.
7138 2005-06-28 Andy Wingo <wingo@pobox.com>
7140 * tests/network-clock-utils.scm (debug, print-event): New utils.
7142 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7143 (*packet-loss*): Unified loss probability.
7144 (network-time): Report out-of-band events.
7146 * tests/plot-data: Add support for out-of-band events. Hack it
7147 into this script instead of passing it down the pipe; should fix
7150 2005-06-28 Wim Taymans <wim@fluendo.com>
7152 * docs/gst/gstreamer.types:
7153 * docs/gst/tmpl/gstbasesrc.sgml:
7154 * docs/gst/tmpl/gstpad.sgml:
7157 2005-06-28 Wim Taymans <wim@fluendo.com>
7159 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7160 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7161 (gst_proxy_pad_do_fixatecaps):
7162 Correctly proxy the check_pull_range function.
7164 2005-06-28 Andy Wingo <wingo@pobox.com>
7166 * tests/network-clock.scm: Removed need for slib.
7168 2005-06-28 Wim Taymans <wim@fluendo.com>
7170 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7171 (gst_basesink_preroll_queue_flush):
7172 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7173 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7174 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7175 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7176 (gst_proxy_pad_set_property):
7179 * gst/gstqueue.c: (gst_queue_init):
7180 The deprecated pad loop function is removed now.
7182 2005-06-28 Andy Wingo <wingo@pobox.com>
7184 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7185 New parameters, simulate network packet loss.
7187 * tests/network-clock-utils.scm: Initialize the RNG.
7189 2005-06-28 Wim Taymans <wim@fluendo.com>
7191 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7192 (gst_basesink_event), (gst_basesink_deactivate):
7193 Flushing the preroll queue always needs to unlock the waiters.
7195 2005-06-28 Edward Hervey <edward@fluendo.com>
7197 * gst/gstpipeline.c: (gst_pipeline_send_event):
7198 Wheen a seek was successful on a pipeline, set the stream_time to the
7199 seek offset in order to have a synchronized stream_time.
7201 2005-06-28 Wim Taymans <wim@fluendo.com>
7203 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7204 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7205 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7206 (gst_proxy_pad_do_fixatecaps):
7207 Call wrapper function instead of just calling the function
7208 pointers. This takes care of any locking and whatmore.
7210 2005-06-28 Wim Taymans <wim@fluendo.com>
7212 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7213 (gst_pad_pull_range):
7215 CONNECTED -> LINKED.
7217 2005-06-28 Andy Wingo <wingo@pobox.com>
7219 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7220 source-munging commit!!!
7222 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7223 (gst_object_sink): Take gpointer arguments, not GstObject --
7224 avoids casts. Like GLib.
7226 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7229 2005-06-27 Andy Wingo <wingo@pobox.com>
7231 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7234 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7235 returns a sorted copy of the trace list.
7236 (gst_alloc_trace_print_live): New API, only prints traces with
7237 live objects. Sort the list.
7238 (gst_alloc_trace_print_all): Sort the list.
7239 (gst_alloc_trace_print): Align columns.
7241 * gst/elements/gstttypefindelement.c:
7242 * gst/elements/gsttee.c:
7243 * gst/base/gstbasesrc.c:
7244 * gst/base/gstbasesink.c:
7245 * gst/base/gstbasetransform.c:
7246 * gst/gstqueue.c: Adapt for pad activation changes.
7248 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7250 (gst_pipeline_dispose): Drop ref on sched.
7252 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7253 (gst_pad_activate_default): Push mode by default.
7254 (pre_activate_switch, post_activate_switch): New stubs, things to
7255 do before and after switching activation modes on pads.
7256 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7257 the pad's activate function to choose which mode to activate.
7258 Shortcut on deactivation and call the right function directly.
7259 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7261 (gst_pad_activate_push): New API, same for push mode.
7262 (gst_pad_set_activate_function)
7263 (gst_pad_set_activatepull_function)
7264 (gst_pad_set_activatepush_function): Setters for new API.
7266 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7267 Trace all miniobjects.
7268 (gst_mini_object_make_writable): Unref the arg if we copy, like
7269 gst_caps_make_writable.
7271 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7273 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7274 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7275 Adapt for new pad API.
7277 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7280 * gst/gstelement.c (gst_element_iterate_src_pads)
7281 (gst_element_iterate_sink_pads): New API functions.
7283 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7284 should fold into gstiterator.c in some form.
7285 (gst_element_pads_activate): Simplified via use of fold and
7286 delegation of decisions to gstpad->activate.
7288 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7291 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7292 class once in init, like gstmessage. Didn't run into this issue
7293 but it seems correct. Don't initialize a trace, gstminiobject does
7296 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7297 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7299 (assert_live_count): New util function, uses alloc traces to check
7302 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7303 To be modified when unlink drops the internal pad.
7305 2005-06-27 Wim Taymans <wim@fluendo.com>
7307 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7308 (gst_bin_change_state):
7309 Cleanup the get_state() function a little, make sure it
7310 iterates the same set of elements.
7311 Added stub iterate_state_order().
7313 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7315 * docs/gst/gstreamer-docs.sgml:
7316 * docs/gst/gstreamer-sections.txt:
7317 * docs/gst/gstreamer.types:
7318 * docs/gst/tmpl/gstbasesink.sgml:
7319 * docs/gst/tmpl/gstbasesrc.sgml:
7320 * docs/gst/tmpl/gstbasetransform.sgml:
7321 * docs/gst/tmpl/gstelement.sgml:
7322 * docs/gst/tmpl/gstiterator.sgml:
7323 * gst/base/gstbasesrc.c:
7324 * gst/base/gstbasesrc.h:
7325 * gst/base/gstbasetransform.h:
7327 * gst/gstiterator.h:
7328 adding basetransform and iterator docs
7330 2005-06-27 Andy Wingo <wingo@pobox.com>
7332 * docs/design/part-activation.txt: Notes on how activation should
7333 work -- not quite implemented yet.
7335 2005-06-25 Wim Taymans <wim@fluendo.com>
7337 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7338 At least get the chain function correct, needs more
7341 2005-06-25 Wim Taymans <wim@fluendo.com>
7343 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7344 (gst_basesink_handle_object), (gst_basesink_event),
7345 (gst_basesink_do_sync), (gst_basesink_handle_event),
7346 (gst_basesink_change_state):
7348 Right, two problems here: ghostpads don't take locks and
7349 glib _rec_mutex_lock_full() with depth==0 still locks.
7350 Catch illegal locking and g_warn them.
7352 2005-06-25 Wim Taymans <wim@fluendo.com>
7354 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7355 Have to check for completion now...
7357 2005-06-25 Wim Taymans <wim@fluendo.com>
7359 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7360 (gst_basesink_handle_object), (gst_basesink_event),
7361 (gst_basesink_do_sync), (gst_basesink_handle_event),
7362 (gst_basesink_change_state):
7364 Unlock STREAM_LOCK whatever the recursion was.
7366 2005-06-25 Wim Taymans <wim@fluendo.com>
7368 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7369 (gst_basesink_preroll_queue_empty),
7370 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7371 (gst_basesink_event), (gst_basesink_do_sync),
7372 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7373 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7374 (gst_basesink_change_state):
7375 Reworked the base sink, handle event and buffer serialisation
7376 correctly and removed possible deadlock.
7377 Handle EOS correctly.
7379 2005-06-25 Wim Taymans <wim@fluendo.com>
7381 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7382 (gst_pipeline_change_state):
7383 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7384 Allow elements to post EOS in the state change function.
7385 Fix up -launch, make it exit the poll loop when the
7386 pipeline actually changed state.
7387 Fix up warning parsing in -launch.
7389 2005-06-25 Wim Taymans <wim@fluendo.com>
7391 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7392 (gst_tee_sink_activate):
7393 Core takes STREAM_LOCK for us now.
7395 2005-06-25 Wim Taymans <wim@fluendo.com>
7397 * gst/gstelement.c: (gst_element_get_state_func),
7398 (gst_element_set_state):
7400 * gst/gstmessage.c: (gst_message_parse_error),
7401 (gst_message_parse_warning):
7402 Keep track of current target state while performing a state
7403 change so that subclasses can do something interesting.
7404 Fix parsing of warning/error messages when GError is NULL.
7406 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7408 * docs/gst/Makefile.am:
7409 * docs/gst/gstreamer-docs.sgml:
7410 * docs/gst/gstreamer-sections.txt:
7411 * docs/gst/gstreamer.types:
7412 * docs/gst/tmpl/gstbasesink.sgml:
7413 * docs/gst/tmpl/gstbasesrc.sgml:
7414 * docs/gst/tmpl/gstbin.sgml:
7415 * docs/gst/tmpl/gstcompat.sgml:
7416 * docs/gst/tmpl/gstfakesink.sgml:
7417 * docs/gst/tmpl/gstfakesrc.sgml:
7418 * docs/gst/tmpl/gstfilesink.sgml:
7419 * docs/gst/tmpl/gstfilesrc.sgml:
7420 * docs/gst/tmpl/gstindex.sgml:
7421 * docs/manual/appendix-quotes.xml:
7422 * gst/base/gstbasesrc.h:
7423 * gst/elements/gstfakesrc.h:
7425 start pulling in base classes and elements in our docs
7427 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7429 * docs/gst/Makefile.am:
7430 * docs/libs/Makefile.am:
7431 fixed make distcheck with gtk-doc 1.3
7433 2005-06-23 Wim Taymans <wim@fluendo.com>
7435 * gst/gstelement.c: (gst_element_get_state_func),
7436 (gst_element_set_state), (gst_element_change_state):
7437 When the state did not change, also report NO_PREROLL
7440 2005-06-23 Wim Taymans <wim@fluendo.com>
7442 * gst/gstpad.c: (gst_pad_event_default):
7443 * gst/gstqueue.c: (gst_queue_loop):
7444 No unsafe task pausing please.
7446 2005-06-23 Wim Taymans <wim@fluendo.com>
7448 * gst/schedulers/threadscheduler.c:
7449 (gst_thread_scheduler_task_start),
7450 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7451 Ref the task before pushing it on the threadpool. This
7452 makes sure that we have a ref when the threadfunction is
7455 2005-06-23 Andy Wingo <wingo@pobox.com>
7457 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7458 offset is greater than the file's size.
7460 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7461 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7462 * gst/gstobject.c (gst_object_class_init): Make the class lock
7463 recursive. Wim won't let me drop deep_notify. Decodebin works
7466 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7467 internal pad, and hacks accordingly. Doesn't do it on the target
7468 pad because we change its caps. Probably catches all cases of
7470 (gst_ghost_pad_set_property): Connect to notify::caps as
7473 * tests/network-clock.scm (plot-simulation): Pipe data to the
7474 elite python skript.
7476 * tests/network-clock-utils.scm (define-parameter): New macro,
7477 defines a parameter that can be set via the command line.
7478 (set-parameter!, parse-parameter-arguments): Command line args
7481 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7484 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7486 * gst/elements/gsttypefindelement.c:
7487 (gst_type_find_element_handle_event):
7488 Don't restart typefinding on a discont.
7489 * gst/gstelement.c: (gst_element_set_state):
7491 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7492 Allow changing mode of an active pad.
7494 * gst/registries/gstlibxmlregistry.c: (load_feature):
7495 Don't cast a static pad template to a normal pad template.
7497 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7499 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7500 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7501 remove gst_strtoll completely, since it didn't actually do
7502 anything more than what g_ascii_strtoull already does.
7503 check for range errors when deserializing
7504 do a cast for the unsigned cases; but further fixing needs
7505 a decision on what the interpretation of "(int)" and
7506 deserialization should be for values that fall outside the
7507 type's boundaries (ie, refuse, or interpret as casting)
7509 2005-06-23 Wim Taymans <wim@fluendo.com>
7511 * check/Makefile.am:
7512 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7513 * docs/design/part-live-source.txt:
7514 * docs/design/part-states.txt:
7515 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7516 (gst_basesrc_set_live), (gst_basesrc_is_live),
7517 (gst_basesrc_get_range), (gst_basesrc_activate),
7518 (gst_basesrc_change_state):
7519 * gst/base/gstbasesrc.h:
7520 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7521 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7522 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7523 * gst/gstelement.c: (gst_element_get_state_func),
7524 (gst_element_set_state):
7527 * tools/gst-launch.c: (event_loop), (main):
7528 Added support for live sources and other elements that
7530 Updated design docs, added live-source design doc.
7531 Implemented live source functionality in basesrc
7532 Fix error condition in _bin_get_state()
7533 Implement live source handling in -launch.
7534 Added check for live sources.
7535 Fixed case in GstBin where elements were changed state
7539 2005-06-23 Andy Wingo <wingo@pobox.com>
7541 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7544 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7545 gst_caps_replace takes care of this for us.
7547 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7548 gst_pad_set_caps on the target, not just its setcaps() function.
7550 * tests/network-clock.scm:
7551 * tests/network-clock-utils.scm: A network clock simulator.
7552 Something of an algorithmic testbed before doing something in C.
7554 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7556 * check/Makefile.am:
7557 * check/gst/capslist.h:
7558 copy over from 0.8, and add two with bitmasks specified with
7560 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7561 add test to parse everything from capslist.h
7562 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7564 add test for structure deserialization
7565 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7566 add tests for deserialization of strings to int types
7567 * gst/gststructure.c: (gst_structure_nth_field_name):
7568 * gst/gststructure.h:
7569 add a way to get the name of a field referenced by index
7570 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7571 instead of checking if the resulting long long lies between
7572 min and max, we check if the long long would fit into
7573 a number of bytes for the final type.
7574 This fixes cases where a string represents 2^32 - 1, which
7575 when cast to int would be the (valid) -1, but is bigger than
7578 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7580 * gst/parse/grammar.y:
7581 add a log line for type deserialization
7583 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7585 * check/gst/gstvalue.c: (START_TEST):
7586 * gst/gstvalue.c: (gst_value_deserialize):
7587 return long long, not int, so gint64 deserialization actually
7588 works. Is there any flag that makes the compiler check this ?
7591 2005-06-22 Wim Taymans <wim@fluendo.com>
7594 Added convenience macros for setting buffers in GValue.
7596 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7598 * check/gst/.cvsignore:
7599 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7600 add a test deserializing int64, and comment part out because
7603 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7605 * check/Makefile.am:
7606 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7607 * testsuite/Makefile.am:
7608 * testsuite/caps/Makefile.am:
7609 * testsuite/caps/value_serialize.c:
7610 * testsuite/test_gst_init.c:
7611 move a value_serialize test over
7613 2005-06-20 Wim Taymans <wim@fluendo.com>
7618 * gst/gstvalue.c: (gst_value_compare_buffer),
7619 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7620 (gst_value_compare_flags), (gst_value_serialize_flags),
7621 (gst_value_deserialize_flags), (_gst_value_initialize):
7622 Fix serialisation of buffers, they are not boxed types anymore
7624 2005-06-20 Wim Taymans <wim@fluendo.com>
7626 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7627 Testcase to show error in buffer-on-caps serialisation.
7629 2005-06-20 Andy Wingo <wingo@pobox.com>
7631 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7632 will be adding to later.
7634 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7635 if its socks fill with rocks.
7636 (gst_system_clock_obtain): Set the name on object construction.
7637 Avoid double-checked locking.
7639 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7641 * gst/gsturi.c: (gst_element_make_from_uri):
7642 Fix potential endless loop.
7644 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7646 * check/Makefile.am:
7648 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7650 move over from testsuite dir and clean up
7653 * testsuite/Makefile.am:
7654 * testsuite/tags/.cvsignore:
7655 * testsuite/tags/Makefile.am:
7656 * testsuite/tags/merge.c:
7657 remove testsuite/tags
7659 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7661 * docs/gst/gstreamer-sections.txt:
7662 * docs/gst/tmpl/gstenumtypes.sgml:
7663 * win32/gstenumtypes.c:
7664 clean up documentation build a little
7666 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7669 add macros for checking refcounts on objects and caps
7670 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7671 add some more unit tests
7672 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7673 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7674 fix leaked refcounts (I hope :)) so unittest works
7678 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7680 * configure.ac: back to HEAD
7682 === release 0.9.1 ===
7684 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7690 2005-06-17 Andy Wingo <wingo@pobox.com>
7692 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7693 assert; it's always possible that the pad gets deactivated in
7694 between the checks in gstpad.c and the implementation. Rely on
7695 finish_preroll() to return a FLUSHING or similar instead of on the
7698 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7699 clock and post an EOS message if we come out of finish_preroll in
7702 2005-06-16 David Schleef <ds@schleef.org>
7704 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7705 (gst_capsfilter_set_property): Allow NULL as possible value
7706 for filter_caps property, indicating GST_CAPS_ANY.
7708 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7712 * gst/schedulers/Makefile.am:
7714 * gstreamer.spec.in:
7717 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7719 * gstreamer.spec.in:
7722 2005-06-08 Andy Wingo <wingo@pobox.com>
7724 * gst/gstutils.c: RPAD fixes all around.
7725 (gst_element_link_pads): Refcounting fixes.
7727 * tools/gst-inspect.c:
7728 * tools/gst-xmlinspect.c:
7730 * gst/base/gsttypefindhelper.c:
7731 * gst/base/gstbasesink.c:
7732 * gst/gstqueue.c: RPAD fixes.
7734 * gst/gstghostpad.h:
7735 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7736 pads. The tricky thing is they provide both source and sink
7737 interfaces, since they proxy the internal pad for the external
7738 pad, and vice versa. Implement with lower-level ProxyPad objects,
7739 with the interior proxy pad as a child of the exterior ghost pad.
7740 Should write a doc on this.
7742 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7743 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7746 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7747 pads are real pads. No ghost pads in this file. Not documenting
7748 the myriad s/RPAD/PAD/ and REALIZE fixes.
7749 (gst_pad_class_init): Add properties for "direction" and
7750 "template". Both are construct-only, so they can't change during
7751 the life of the pad. Fixes properly deriving from GstPad.
7752 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7753 derived objects, just set properties when creating the objects via
7755 (gst_pad_get_parent): Implement as a function, return NULL if the
7756 parent is not an element.
7757 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7758 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7760 * gst/gstobject.c (gst_object_class_init): Make name a construct
7761 property. Don't set it in the object init.
7763 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7764 with UNKNOWN direction.
7765 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7766 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7767 (gst_element_remove_pad): Remove ghost-pad special cases.
7768 (gst_element_pads_activate): Remove rpad cruft.
7770 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7771 catch the pad's-parent-not-an-element case.
7773 * gst/gst.h: Include gstghostpad.h.
7775 * gst/gst.c (init_post): No more real, ghost pads.
7777 * gst/Makefile.am: Add gstghostpad.[ch].
7779 * check/Makefile.am:
7780 * check/gst/gstbin.c:
7781 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7782 into a bin creates ghost pads, and that the refcounts are right.
7783 Partly moved from gstbin.c.
7785 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7787 * check/gst-libs/.cvsignore:
7788 * check/gst/.cvsignore:
7789 * check/pipelines/.cvsignore:
7791 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7792 (START_TEST), (cleanup_suite), (main):
7793 add some tests related to cleanup after running pipelines
7795 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7797 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7798 add a testsuite for GstBuffer
7800 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7802 * gst/gstminiobject.h:
7803 add defines for accessing the refcount
7805 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7807 * Makefile.am: added support for html unit test coverage reports
7809 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7811 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7812 Free existing caps if the capsfilter changes. Add a FIXME about
7813 setting those caps on the pads.
7815 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7816 Before adding a ghost pad to a parent bin, check that there isn't
7817 already one for the element on the bin. Prevents infinite recursion
7818 when using decodebin in parse pipelines. Andy says he'll rewrite the
7819 way this works anyway, so ignore the hack.
7821 2005-06-02 Andy Wingo <wingo@pobox.com>
7823 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7824 file size, pass it on to the type find helper.
7826 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7827 segment_start and segment_end properly according to the seek
7828 method. Segment_end is still a bit flaky because offset can be
7829 negative for CUR and END cases, but it takes -1 as an "unset"
7832 2005-06-02 Wim Taymans <wim@fluendo.com>
7834 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7835 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7836 (gst_basesink_activate):
7837 * gst/base/gstbasesink.h:
7838 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7839 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7840 (gst_pad_query), (gst_pad_start_task):
7842 * gst/gstqueue.c: (gst_queue_bufferalloc),
7843 (gst_queue_handle_sink_event), (gst_queue_chain):
7844 Bufferalloc: return GstFlowReturn to more accuratly report
7845 why allocation failed.
7847 2005-06-02 Wim Taymans <wim@fluendo.com>
7849 * gst/gstpipeline.c: (gst_pipeline_send_event):
7850 Take snapshot of state without blocking.
7852 2005-06-02 Wim Taymans <wim@fluendo.com>
7854 * docs/design/part-TODO.txt:
7855 * docs/design/part-caps.txt:
7856 * docs/design/part-clocks.txt:
7857 * docs/design/part-negotiation.txt:
7858 * docs/design/part-preroll.txt:
7861 2005-05-30 Wim Taymans <wim@fluendo.com>
7863 * gst/elements/gstidentity.c: (gst_identity_event),
7864 (gst_identity_transform), (gst_identity_get_property):
7865 Protect last_message property as it is accessed from
7868 2005-05-30 Wim Taymans <wim@fluendo.com>
7870 * gst/gstelement.c: (gst_element_init),
7871 (gst_element_pads_activate), (gst_element_change_state):
7872 Slicker pad activation code.
7874 2005-05-30 Wim Taymans <wim@fluendo.com>
7878 * gst/gstelementfactory.h:
7880 Move elementfactory methods to separate .h file.
7882 2005-05-30 Wim Taymans <wim@fluendo.com>
7884 * docs/design/part-overview.txt:
7885 * gst/gstsystemclock.h:
7886 Small typo fixes, doc updates.
7888 2005-05-30 Wim Taymans <wim@fluendo.com>
7890 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7891 (init_popt_callback):
7892 Remove cpu-opt flag.
7894 2005-05-30 Wim Taymans <wim@fluendo.com>
7896 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7897 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7899 Avoid typechecking in places where not needed.
7900 Added accessor for malloc_data.
7902 2005-05-30 Wim Taymans <wim@fluendo.com>
7904 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7905 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7906 (gst_pad_configure_sink), (gst_pad_configure_src),
7907 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7908 (gst_pad_start_task):
7909 Propagate errors from _set_caps() in configure_src/sink
7910 functions instead of returning TRUE.
7911 FLUSH events can travel up and downstream
7914 2005-05-30 Wim Taymans <wim@fluendo.com>
7916 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7917 (gst_basesink_activate):
7918 Handle EOS in preroll.
7920 2005-05-30 Wim Taymans <wim@fluendo.com>
7922 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7923 (gst_queue_loop), (gst_queue_handle_src_event):
7924 Remove old pieces of code
7925 Flushing the queue in an upstream event is a very bad idea.
7927 2005-05-26 Andy Wingo <wingo@pobox.com>
7929 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7930 gst_value_set_mini_object so as to add a ref on the object (which
7931 will be removed when the value is unset).
7933 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7934 arg type in ::handoff.
7936 * gst/gstelement.c (gst_element_change_state): Also deactivate
7937 pads in READY->NULL, just in case the element didn't make it to
7938 PAUSED. Wingo tested, Wim approved.
7940 2005-05-26 Wim Taymans <wim@fluendo.com>
7942 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7943 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7944 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7945 A flushing pad cannot be used to alloc_buffer from.
7947 2005-05-26 Wim Taymans <wim@fluendo.com>
7949 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7950 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7951 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7952 (gst_bus_create_watch), (gst_bus_add_watch_full):
7954 Implement a real GSource and use g_main_context_wakeup() to
7955 signal new messages instead of the socketpair.
7957 2005-05-25 Wim Taymans <wim@fluendo.com>
7959 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7960 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7961 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7962 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7963 (gst_pad_send_event), (gst_pad_start_task):
7964 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7965 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7966 (gst_queue_sink_activate), (gst_queue_src_activate),
7967 (gst_queue_change_state):
7969 Fix state changes for non sinks. We now change sinks, then elements
7970 with unconnected srcpads, then the rest.
7971 More efficient queue unlocking in flush and state changes.
7972 Set the pad activate mode even if it does not have an activate
7975 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7977 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7978 Don't go in pull mode for non-seekable sources.
7979 * gst/elements/gsttypefindelement.h:
7980 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7981 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7982 (free_entry), (stop_typefinding),
7983 (gst_type_find_element_handle_event), (find_peek),
7984 (gst_type_find_element_chain), (do_pull_typefind),
7985 (gst_type_find_element_change_state):
7986 Allow typefinding (w/o seeking) in push-mode, simplified version
7988 * gst/gstutils.c: (gst_buffer_join):
7990 gst_buffer_join() from 0.8.
7992 2005-05-25 Wim Taymans <wim@fluendo.com>
7994 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7995 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7996 (gst_pad_send_event), (gst_pad_start_task):
7997 Disable attempt at mode switching until it is figured out.
7999 2005-05-25 Wim Taymans <wim@fluendo.com>
8001 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8002 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8003 (gst_basesink_finish_preroll), (gst_basesink_chain),
8004 (gst_basesink_loop), (gst_basesink_activate),
8005 (gst_basesink_change_state):
8006 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8007 (gst_basesrc_get_range), (gst_basesrc_loop),
8008 (gst_basesrc_activate):
8009 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8010 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8011 (gst_real_pad_init), (gst_real_pad_set_property),
8012 (gst_real_pad_get_property), (gst_pad_set_active),
8013 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8014 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8015 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8016 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8017 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8018 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8019 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8020 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8021 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8022 (gst_pad_stop_task):
8024 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8025 (gst_queue_loop), (gst_queue_src_activate):
8026 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8027 (gst_task_get_state):
8029 * gst/schedulers/threadscheduler.c:
8030 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8031 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8033 Remove ACTIVE pad flag, use FLUSHING everywhere
8034 Added _pad_chain(), _pad_get_range() to call chain/getrange
8036 Add locks around IS_FLUSHING when reading.
8037 Take STREAM lock in chain(), get_range() functions so plugins
8038 don't need to take it anymore.
8042 2005-05-25 Wim Taymans <wim@fluendo.com>
8044 * tools/gst-launch.c: (event_loop):
8045 Unref message after using its contents instead of
8048 2005-05-24 Wim Taymans <wim@fluendo.com>
8050 * docs/design/draft-ghostpads.txt:
8051 * docs/design/draft-push-pull.txt:
8052 * docs/design/draft-query.txt:
8053 * docs/design/part-overview.txt:
8054 Docs updates, added general overview doc.
8056 2005-05-21 David Schleef <ds@schleef.org>
8058 * docs/gst/tmpl/old/GstBin.sgml:
8059 * docs/gst/tmpl/old/GstBuffer.sgml:
8060 * docs/gst/tmpl/old/GstCaps.sgml:
8061 * docs/gst/tmpl/old/GstClock.sgml:
8062 * docs/gst/tmpl/old/GstCompat.sgml:
8063 * docs/gst/tmpl/old/GstData.sgml:
8064 * docs/gst/tmpl/old/GstElement.sgml:
8065 * docs/gst/tmpl/old/GstEvent.sgml:
8066 * docs/gst/tmpl/old/GstIndex.sgml:
8067 * docs/gst/tmpl/old/GstStructure.sgml:
8068 * docs/gst/tmpl/old/GstTag.sgml:
8069 * docs/gst/tmpl/old/cothreads.sgml:
8070 * docs/gst/tmpl/old/cothreads_compat.sgml:
8071 * docs/gst/tmpl/old/gettext.sgml:
8072 * docs/gst/tmpl/old/gobject2gtk.sgml:
8073 * docs/gst/tmpl/old/grammar.tab.sgml:
8074 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8075 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8076 * docs/gst/tmpl/old/gst_private.sgml:
8077 * docs/gst/tmpl/old/gstaggregator.sgml:
8078 * docs/gst/tmpl/old/gstarch.sgml:
8079 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8080 * docs/gst/tmpl/old/gstbufferstore.sgml:
8081 * docs/gst/tmpl/old/gstdata_private.sgml:
8082 * docs/gst/tmpl/old/gstdisksink.sgml:
8083 * docs/gst/tmpl/old/gstdisksrc.sgml:
8084 * docs/gst/tmpl/old/gstelementfactory.sgml:
8085 * docs/gst/tmpl/old/gstextratypes.sgml:
8086 * docs/gst/tmpl/old/gstfakesink.sgml:
8087 * docs/gst/tmpl/old/gstfakesrc.sgml:
8088 * docs/gst/tmpl/old/gstfdsink.sgml:
8089 * docs/gst/tmpl/old/gstfdsrc.sgml:
8090 * docs/gst/tmpl/old/gstfilesink.sgml:
8091 * docs/gst/tmpl/old/gstfilesrc.sgml:
8092 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8093 * docs/gst/tmpl/old/gstidentity.sgml:
8094 * docs/gst/tmpl/old/gstindexfactory.sgml:
8095 * docs/gst/tmpl/old/gstmarshal.sgml:
8096 * docs/gst/tmpl/old/gstmd5sink.sgml:
8097 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8098 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8099 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8100 * docs/gst/tmpl/old/gstpipefilter.sgml:
8101 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8102 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8103 * docs/gst/tmpl/old/gstshaper.sgml:
8104 * docs/gst/tmpl/old/gstspider.sgml:
8105 * docs/gst/tmpl/old/gstspideridentity.sgml:
8106 * docs/gst/tmpl/old/gststatistics.sgml:
8107 * docs/gst/tmpl/old/gsttee.sgml:
8108 * docs/gst/tmpl/old/gsttimecache.sgml:
8109 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8110 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8111 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8112 * docs/gst/tmpl/old/types.sgml:
8113 I didn't intend to add these or check them in.
8115 2005-05-19 David Schleef <ds@schleef.org>
8117 * configure.ac: Use -no-common everywhere. In a sane world, it
8118 would be the default in libtool, because without it, you can't
8119 build DLLs on Windows.
8120 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8121 * docs/gst/gstreamer-sections.txt:
8122 * docs/gst/tmpl/gstcpu.sgml:
8123 * docs/gst/tmpl/gstdata.sgml:
8124 * docs/gst/tmpl/gstthread.sgml:
8126 2005-05-19 David Schleef <ds@schleef.org>
8128 * gst/gstminiobject.c: (gst_value_set_mini_object),
8129 (gst_value_take_mini_object), (gst_value_get_mini_object):
8130 * gst/gstminiobject.h: Add GValue set/get functions.
8132 2005-05-19 Wim Taymans <wim@fluendo.com>
8134 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8135 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8136 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8138 * gst/gstbus.c: (gst_bus_post):
8139 * gst/gstelement.c: (gst_element_get_random_pad):
8140 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8141 Make subbufer unref the parent in finalize.
8142 some more debugging info.
8145 2005-05-19 Wim Taymans <wim@fluendo.com>
8147 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8148 (gst_basesink_init), (gst_basesink_finalize),
8149 (gst_basesink_activate), (gst_basesink_change_state):
8150 Don't free preroll queue too early.
8152 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8156 Hi, I'm outdated. Please shoot me.
8158 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8160 * gst/gstpipeline.c: (gst_pipeline_send_event):
8161 Do not access variables after they have been deleted.
8163 2005-05-19 Wim Taymans <wim@fluendo.com>
8165 * tools/gst-inspect.c: (print_plugin_features):
8166 A plugin feature does unfortunatly not use the
8169 2005-05-18 Wim Taymans <wim@fluendo.com>
8171 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8172 Port _span() functions to new subbuffers.
8174 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8176 * gst/gstbin.c: (gst_bin_add_func):
8177 Fix clock settery in bins when adding kids after the clock has
8180 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8182 * gst/elements/gstidentity.c: (gst_identity_class_init):
8183 Workaround until signals support GstMiniObject.
8185 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8188 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8190 2005-05-18 Wim Taymans <wim@fluendo.com>
8192 * gst/base/Makefile.am:
8193 * gst/base/gstadapter.c: (gst_adapter_base_init),
8194 (gst_adapter_class_init), (gst_adapter_init),
8195 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8196 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8197 (gst_adapter_flush), (gst_adapter_available),
8198 (gst_adapter_available_fast):
8199 * gst/base/gstadapter.h:
8200 Ported and added adapter to the base classes.
8202 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8206 Make sure the class is reffed/unreffed once before threads can be
8207 used. Fixes #304551.
8209 2005-05-17 Wim Taymans <wim@fluendo.com>
8211 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8212 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8213 * gst/gstminiobject.c: (gst_mini_object_get_type),
8214 (gst_mini_object_free):
8215 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8216 (gst_pad_push), (gst_pad_push_event):
8217 * gst/gstqueue.c: (gst_queue_change_state):
8218 Don't queue buffers in basesink when we are flushing.
8219 Unref buffer when flushing in basesink.
8220 Flush queue when going to READY
8221 Unref buffer when _push() returns an error.
8222 Don't free MiniObject instance when refcount is incremented
8223 in _finalize() so that we can recover objects.
8225 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8227 * docs/manual/advanced-schedulers.xml:
8228 * docs/manual/appendix-checklist.xml:
8229 * docs/pwg/advanced-clock.xml:
8230 * docs/pwg/advanced-interfaces.xml:
8231 * docs/pwg/advanced-request.xml:
8232 * docs/pwg/advanced-types.xml:
8233 * docs/pwg/intro-preface.xml:
8234 * examples/plugins/example.c: (gst_example_get_type),
8235 (gst_example_class_init), (gst_example_chain),
8236 (gst_example_set_property), (gst_example_get_property),
8237 (gst_example_change_state), (plugin_init):
8238 * examples/plugins/example.h:
8241 2005-05-17 Wim Taymans <wim@fluendo.com>
8243 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8244 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8245 * gst/gstqueue.c: (gst_queue_change_state):
8246 Clear queue when going to READY.
8247 Remove IN_SETCAPS flag too.
8249 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8251 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8252 Remove implicit cast from gboolean to GstElementStateReturn;
8253 make sure we still return failure in paused => ready case if
8254 the parent class fails to change state and our own stop
8257 2005-05-17 Wim Taymans <wim@fluendo.com>
8259 * tools/gst-launch.c: (event_loop):
8260 Message was unreffed too soon.
8262 2005-05-16 Andy Wingo <wingo@pobox.com>
8264 * gst/gstbin.c (sink_iterator_filter): Err... um...
8266 * check/gst/gstbin.c (test_ghost_pads): New test for the
8267 ghosting-if-elements-not-in-same-bin behavior.
8269 2005-05-16 David Schleef <ds@schleef.org>
8271 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8272 accessing refcount directly.
8274 2005-05-15 David Schleef <ds@schleef.org>
8276 * check/Makefile.am: remove GstData checks
8277 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8278 * gst/Makefile.am: add miniobject, remove data
8279 * gst/gst.h: add miniobject, remove data
8280 * gst/gstdata.c: remove
8281 * gst/gstdata.h: remove
8282 * gst/gstdata_private.h: remove
8283 * gst/gsttypes.h: remove GstEvent and GstMessage
8284 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8285 * gst/gstmarshal.list: change BOXED -> OBJECT
8287 Implement GstMiniObject.
8288 * gst/gstminiobject.c:
8289 * gst/gstminiobject.h:
8291 Modify to be subclasses of GstMiniObject.
8292 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8293 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8294 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8295 (gst_subbuffer_get_type), (gst_subbuffer_init),
8296 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8299 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8300 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8301 (_gst_event_copy), (gst_event_new):
8303 * gst/gstmessage.c: (_gst_message_initialize),
8304 (gst_message_get_type), (gst_message_class_init),
8305 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8306 (gst_message_new), (gst_message_new_error),
8307 (gst_message_new_warning), (gst_message_new_tag),
8308 (gst_message_new_state_changed), (gst_message_new_application):
8310 * gst/gstprobe.c: (gst_probe_perform),
8311 (gst_probe_dispatcher_dispatch):
8313 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8314 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8315 (_gst_query_copy), (gst_query_new):
8317 Update elements for GstData -> GstMiniObject changes
8319 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8320 (gst_queue_chain), (gst_queue_loop):
8321 * gst/elements/gstbufferstore.c:
8322 (gst_buffer_store_add_buffer_func),
8323 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8324 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8325 (gst_fakesink_render):
8326 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8327 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8328 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8329 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8330 (gst_filesrc_create_read):
8331 * gst/elements/gstidentity.c: (gst_identity_class_init):
8332 * gst/elements/gsttypefindelement.c:
8333 (gst_type_find_element_src_event), (free_entry_buffers),
8334 (gst_type_find_element_handle_event):
8335 * libs/gst/dataprotocol/dataprotocol.c:
8336 (gst_dp_header_from_buffer):
8337 * libs/gst/dataprotocol/dataprotocol.h:
8338 * libs/gst/dataprotocol/dp-private.h:
8340 2005-05-15 David Schleef <ds@schleef.org>
8342 * gst/elements/gstelements.c: Don't include headers that were
8345 2005-05-15 David Schleef <ds@schleef.org>
8347 * gst/elements/Makefile.am: Remove some elements that don't
8348 need to be in the core (or even exist at all).
8349 * gst/elements/gstaggregator.c:
8350 * gst/elements/gstaggregator.h:
8351 * gst/elements/gstmd5sink.c:
8352 * gst/elements/gstmd5sink.h:
8353 * gst/elements/gstmultifilesrc.c:
8354 * gst/elements/gstmultifilesrc.h:
8355 * gst/elements/gstpipefilter.c:
8356 * gst/elements/gstpipefilter.h:
8357 * gst/elements/gstshaper.c:
8358 * gst/elements/gstshaper.h:
8359 * gst/elements/gststatistics.c:
8360 * gst/elements/gststatistics.h:
8361 * po/POTFILES.in: Remove above files.
8363 2005-05-14 Andy Wingo <wingo@pobox.com>
8365 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8366 so as to get the refs right.
8367 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8368 unreffing objects that don't pass the filter.
8370 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8371 gst_element_set_bus.
8372 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8373 normal cases, this will destroy the bus.
8375 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8378 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8381 2005-05-13 Andy Wingo <wingo@pobox.com>
8383 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8384 gst_pad_link, call pad_link_maybe_ghosting,
8385 (pad_link_maybe_ghosting): Links pads, making sure that the
8386 elements being linked are in the same bin.
8387 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8388 Helpers for pad_link_maybe_ghosting.
8390 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8393 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8395 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8397 * docs/design/part-element-source.txt:
8400 2005-05-12 Wim Taymans <wim@fluendo.com>
8402 * gst/base/gstbasesink.c: (gst_basesink_init),
8403 (gst_basesink_activate):
8404 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8405 (gst_basesrc_is_seekable):
8406 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8407 (bin_element_is_sink), (gst_bin_change_state):
8408 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8410 Identify sinks by their flag to avoid overly complicated
8412 Do state changes even for elements not reachable from the
8414 BaseSink is a sink now :)
8415 Some more debugging info in the basesrc.
8418 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8420 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8421 Implement _query on a bin, similar to _send_event.
8423 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8425 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8426 Discont event offset format should be GST_FORMAT_BYTES,
8427 not GST_FORMAT_TIME.
8429 2005-05-12 Wim Taymans <wim@fluendo.com>
8431 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8432 Same fix as Ronald's but without the signal.
8434 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8436 * gst/gstutils.c: (gst_element_query_position):
8437 No, an element is not a pad.
8439 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8441 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8442 (gst_bin_get_state):
8443 If a child is removed from a bin while we remove the child from
8444 the bin and while we're retrieving its state, signal this to the
8445 get_state function so we abort the wait (instead of waiting for
8446 a timeout) and can immediately re-iterate over all other elements.
8448 2005-05-12 Wim Taymans <wim@fluendo.com>
8450 * gst/base/Makefile.am:
8451 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8452 (gst_basesrc_start):
8453 * gst/base/gstbasesrc.h:
8454 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8455 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8456 (gst_pushsrc_init), (gst_pushsrc_create):
8457 * gst/base/gstpushsrc.h:
8458 Added is_seekable to BaseSrc
8459 Added simple PushSrc.
8461 2005-05-11 Wim Taymans <wim@fluendo.com>
8463 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8464 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8465 (gst_element_link_pads), (gst_element_query_position),
8466 (gst_element_query_convert), (intersect_caps_func),
8467 (gst_pad_query_position), (gst_pad_query_convert):
8468 Fix refcounting in utils function.
8469 No point in trying to activate a pad when it's added, it could
8470 be added from the state change function and then we deadlock, the
8471 element has to decide what to do.
8473 2005-05-10 Andy Wingo <wingo@pobox.com>
8475 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8476 *all* the arguments.
8478 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8479 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8480 lock (according to the docs -- if this is wrong change the docs).
8482 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8483 flush messages in the NULL state.
8485 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8486 message immediately and return.
8487 (gst_bus_set_flushing): New function. If a bus is flushing, it
8488 flushes out any queued messages and immediately unrefs new
8489 messages. This is so when an element goes to NULL, all of the
8490 unhandled messages coming from it can be freed, and their
8491 references to the element dropped. In other words: message source
8492 ref considered harmful :P
8494 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8495 we're finished with it.
8497 * gst/gstmessage.c (gst_message_new_state_changed):
8499 2005-05-10 Wim Taymans <wim@fluendo.com>
8501 * gst/gstvalue.c: (gst_value_compare_flags),
8502 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8503 (_gst_value_initialize):
8504 Added flags serialize/deserialize/compare code.
8506 2005-05-09 Andy Wingo <wingo@pobox.com>
8508 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8509 Intersect the peer's caps with our caps.
8511 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8513 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8514 * gst/elements/gsttypefindelement.c: (find_peek):
8515 Handle negative offsets better. Fixes decodebin.
8517 2005-05-09 Wim Taymans <wim@fluendo.com>
8519 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8520 (gst_base_transform_event):
8521 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8522 Implement accept_caps.
8523 Fix silly lock/unlock mismatch in base class.
8525 2005-05-09 Wim Taymans <wim@fluendo.com>
8527 * docs/design/draft-push-pull.txt:
8528 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8529 * gst/elements/gstfilesink.c: (gst_filesink_init),
8530 (gst_filesink_query):
8531 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8532 (gst_type_find_handle_src_query), (find_element_get_length):
8533 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8537 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8538 (gst_real_pad_get_caps_unlocked),
8539 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8540 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8541 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8542 (gst_real_pad_dispose), (gst_real_pad_finalize),
8543 (gst_pad_load_and_link), (gst_pad_save_thyself),
8544 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8545 (gst_pad_check_pull_range), (gst_pad_pull_range),
8546 (gst_pad_template_get_type), (gst_pad_template_class_init),
8547 (gst_pad_template_init), (gst_pad_template_dispose),
8548 (name_is_valid), (gst_static_pad_template_get),
8549 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8550 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8551 (gst_pad_get_element_private), (gst_pad_start_task),
8552 (gst_pad_pause_task), (gst_pad_stop_task),
8553 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8554 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8555 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8556 (gst_ghost_pad_new):
8558 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8559 (gst_query_new_position), (gst_query_set_position),
8560 (gst_query_parse_position), (gst_query_new_convert),
8561 (gst_query_set_convert), (gst_query_parse_convert):
8563 * gst/gstqueryutils.c:
8564 * gst/gstqueryutils.h:
8565 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8566 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8567 (gst_queue_handle_src_query):
8568 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8569 (gst_element_query_position), (gst_element_query_convert),
8570 (intersect_caps_func), (gst_pad_query_position),
8571 (gst_pad_query_convert):
8573 * tools/gst-inspect.c: (print_pad_info):
8574 * tools/gst-xmlinspect.c: (print_element_info):
8575 Remove old query functions. Ported old code.
8576 Added position/convert helper functions to gstutils.
8577 Reordered gstpad.c code, grouping relevant things.
8578 Remove gst_message_new(), always need to speficy a specific
8582 2005-05-09 Andy Wingo <wingo@pobox.com>
8584 * gst/gstiterator.h: Add some includes.
8586 * gst/gstqueryutils.h: Include more headers.
8589 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8590 some uses of gst_pad_query.
8592 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8593 NULL out parameters.
8594 (gst_query_new_position): New proc, allocates a new position
8597 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8598 gstqueryutils.c to the build.
8600 * gst/gststructure.c (gst_structure_set_valist): Implement with
8601 the generic G_VALUE_COLLECT.
8603 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8605 * gst/Makefile.am: (gst_headers):
8606 Added gstqueryutils.h to the list of headers to install, that was
8607 a 'nachty' move wingo :)
8609 2005-05-06 Andy Wingo <wingo@pobox.com>
8612 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8613 GstData, init a memchunk.
8614 (standard_definitions): Add a few query types, deprecate a few.
8615 (gst_query_get_type): New proc.
8616 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8618 (gst_query_new_application, gst_query_get_structure): New public
8621 * docs/design/draft-query.txt: Removed LINKS from the query types,
8622 because all the rest can be dispatched to other pads -- seemed
8623 ugly to have a query that couldn't be dispatched. internal_links
8624 is fine as a pad method.
8626 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8627 in gstpad.c, but maintain binary compatibility for the moment.
8628 Will fix before 0.9 is out.
8630 * gst/gstqueryutils.c:
8631 * gst/gstqueryutils.h: New files, implement 3 methods for each
8632 query type: parse_query, parse_response, and set. Probably need an
8635 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8637 * gst/elements/gstfilesink.c (gst_filesink_query2):
8638 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8639 query_types, and formats methods.
8641 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8642 (gst_pad_set_query2_function): New functions.
8643 (gst_real_pad_init): Set query2_default as the default query2
8644 function. Basically just dispatches to internally linked pads.
8648 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8649 without using the atomic operations. Only one thread can possibly
8650 be accessing the data at this point. Changed so as to avoid
8651 gst_atomic operations.
8653 2005-05-06 Wim Taymans <wim@fluendo.com>
8655 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8656 Also set caps if we use the fallback buffer alloc.
8658 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8660 * docs/gst/Makefile.am:
8661 * docs/gst/gstreamer-docs.sgml:
8662 * docs/gst/gstreamer-sections.txt:
8663 * docs/gst/tmpl/gstatomic.sgml:
8664 * docs/gst/tmpl/gstmemchunk.sgml:
8665 * testsuite/elements/struct_i386.h:
8666 * win32/GStreamer.vcproj:
8668 Purge GstAtomic stuff from docs and win32 makefiles as well
8670 2005-05-06 Wim Taymans <wim@fluendo.com>
8672 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8673 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8674 * gst/gstpad.c: (gst_pad_peer_get_caps):
8675 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8676 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8677 (gst_queue_src_activate), (gst_queue_change_state):
8679 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8680 (intersect_caps_func):
8681 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8682 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8683 Some fixes for the peer_get_caps() change.
8685 2005-05-06 Wim Taymans <wim@fluendo.com>
8687 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8688 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8689 (gst_basesink_activate):
8690 Actually do something with error codes returned from the push
8693 2005-05-06 Wim Taymans <wim@fluendo.com>
8695 * docs/design/part-element-sink.txt:
8696 * docs/design/part-element-source.txt:
8697 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8698 (gst_basesink_event), (gst_basesink_activate):
8699 * gst/base/gstbasesink.h:
8700 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8701 (gst_basesrc_activate):
8702 * gst/base/gstbasesrc.h:
8703 * gst/gstelement.c: (gst_element_pads_activate):
8704 Some more documentation.
8705 Fixed scheduling decision in _pads_activate().
8707 2005-05-05 Andy Wingo <wingo@pobox.com>
8709 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8712 2005-05-05 Wim Taymans <wim@fluendo.com>
8714 * gst/base/Makefile.am:
8715 * gst/base/gstbasesink.h:
8716 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8717 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8718 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8719 (gst_collectpads_class_init), (gst_collectpads_init),
8720 (gst_collectpads_finalize), (gst_collectpads_new),
8721 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8722 (find_pad), (gst_collectpads_remove_pad),
8723 (gst_collectpads_is_active), (gst_collectpads_collect),
8724 (gst_collectpads_collect_range), (gst_collectpads_start),
8725 (gst_collectpads_stop), (gst_collectpads_peek),
8726 (gst_collectpads_pop), (gst_collectpads_available),
8727 (gst_collectpads_read), (gst_collectpads_flush),
8728 (gst_collectpads_chain):
8729 * gst/base/gstcollectpads.h:
8730 * gst/elements/Makefile.am:
8731 * gst/elements/gstelements.c:
8732 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8733 (gst_fakesink_get_times), (gst_fakesink_event),
8734 (gst_fakesink_preroll), (gst_fakesink_render):
8735 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8736 (gst_filesink_init), (gst_filesink_set_location),
8737 (gst_filesink_open_file), (gst_filesink_close_file),
8738 (gst_filesink_pad_query), (gst_filesink_event),
8739 (gst_filesink_render), (gst_filesink_change_state):
8740 * gst/elements/gstfilesink.h:
8741 Added object to help in making collect pad based elements.
8743 Make event function in sink baseclass return gboolean.
8745 2005-05-05 Wim Taymans <wim@fluendo.com>
8747 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8748 (gst_bin_get_by_name):
8750 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8751 (gst_clock_finalize):
8752 * gst/gstdata.c: (gst_data_replace):
8754 * gst/gstelement.c: (gst_element_request_pad),
8755 (gst_element_pads_activate):
8756 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8758 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8759 (gst_pad_set_checkgetrange_function),
8760 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8761 (gst_pad_check_pull_range), (gst_pad_pull_range),
8762 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8763 (gst_pad_pause_task), (gst_pad_stop_task):
8764 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8765 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8766 Fix name lookup in GstBin.
8767 Added _data_replace() function and _buffer_replace()
8768 Use finalize method to clean up clock.
8769 Fix refcounting on request pads.
8770 Fix pad schedule mode error.
8771 Some more object refcounting debug info,
8774 2005-05-04 Andy Wingo <wingo@pobox.com>
8776 * check/Makefile.am:
8777 * docs/gst/tmpl/gstatomic.sgml:
8778 * docs/gst/tmpl/gstplugin.sgml:
8779 * gst/base/gstbasesink.c: (gst_basesink_activate):
8780 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8781 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8782 (gst_basesrc_query), (gst_basesrc_set_property),
8783 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8784 (gst_basesrc_activate):
8785 * gst/base/gstbasesrc.h:
8786 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8787 (gst_base_transform_src_activate):
8788 * gst/elements/gstelements.c:
8789 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8790 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8791 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8792 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8793 (gst_type_find_element_checkgetrange),
8794 (gst_type_find_element_activate):
8795 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8796 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8797 (gst_caps_load_thyself):
8798 * gst/gstelement.c: (gst_element_pads_activate),
8799 (gst_element_save_thyself), (gst_element_restore_thyself):
8800 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8801 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8803 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8804 (gst_xml_parse_file), (gst_xml_parse_memory),
8805 (gst_xml_get_element), (gst_xml_make_element):
8806 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8807 (_file_index_id_save_xml), (gst_file_index_commit):
8808 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8809 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8811 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8812 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8813 * tools/gst-complete.c: (main):
8814 * tools/gst-compprep.c: (main):
8815 * tools/gst-inspect.c: (print_element_properties_info):
8816 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8817 * tools/gst-xmlinspect.c: (print_element_properties):
8820 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8822 * gst/gstplugin.c: (gst_plugin_check_module),
8823 (gst_plugin_check_file), (gst_plugin_load_file):
8824 apply patch from #172526 to make register work on MacOSX
8826 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8828 * docs/gst/tmpl/gstconfig.sgml:
8829 * gst/gstconfig.h.in:
8830 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8831 * testsuite/debug/printf_extension.c: (main):
8832 Do not use GST_PTR_FORMAT on pointers to types with
8833 sizeof < sizeof(gpointer). Fixes test on 64-bit
8834 * testsuite/elements/property.h:
8835 use correct printf format
8837 2005-05-02 Wim Taymans <wim@fluendo.com>
8839 * docs/design/draft-push-pull.txt:
8840 * docs/design/draft-query.txt:
8841 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8842 (gst_basesrc_start):
8843 Added draft for new query API.
8844 Added draft for better selecting scheduling methods.
8845 Make basesrc ignore length if the subclass does not support
8848 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8851 possible fixes for automake-1.5 - _LIBADD is reserved
8853 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8855 * docs/faq/Makefile.am:
8856 * docs/manual/Makefile.am:
8858 * docs/pwg/Makefile.am:
8860 possible fixes for automake-1.5
8862 2005-04-28 Wim Taymans <wim@fluendo.com>
8864 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8865 (gst_basesink_pad_getcaps), (gst_basesink_init),
8866 (gst_basesink_do_sync):
8867 * gst/gstclock.c: (gst_clock_entry_new):
8868 * gst/gstevent.c: (gst_event_discont_get_value):
8869 * gst/gstpipeline.c: (pipeline_bus_handler),
8870 (gst_pipeline_change_state):
8871 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8872 Better debugging of clocking info.
8873 Allow NULL values when getting discont values.
8875 2005-04-27 Wim Taymans <wim@fluendo.com>
8877 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8878 * check/gst/gstpad.c: (gst_pad_suite):
8879 Increase timeout for checks.
8881 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8883 * check/Makefile.am:
8884 fix the broken rule for cleanup. Apparently this rule is
8885 only needed on FC2, so maybe this warrants further autotool
8888 2005-04-26 Wim Taymans <wim@fluendo.com>
8890 * gst/gsttrashstack.h:
8891 Ooohh. a nasty one! After having a failed pop() from the stack,
8892 it's possible that the stack is empty. In that case, don't
8893 follow the NULL pointer.
8895 2005-04-25 Wim Taymans <wim@fluendo.com>
8897 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8898 (gst_pad_set_checkgetrange_function),
8899 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8900 (gst_pad_check_pull_range), (gst_pad_pull_range),
8901 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8902 (gst_pad_pause_task), (gst_pad_stop_task):
8903 * gst/gstplugin.c: (gst_plugin_load):
8905 Remove gst_library_load as it does more harm than good with
8906 the new g_module flags.
8907 Revert bogus caps template check in pad linking, pad caps
8908 are important when linking not the template, which is more
8909 general than the current caps.
8911 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8913 * gst/autoplug/.cvsignore:
8914 * gst/autoplug/Makefile.am:
8915 * gst/autoplug/gstsearchfuncs.c:
8916 * gst/autoplug/gstsearchfuncs.h:
8917 * gst/autoplug/gstspider.c:
8918 * gst/autoplug/gstspider.h:
8919 * gst/autoplug/gstspideridentity.c:
8920 * gst/autoplug/gstspideridentity.h:
8921 * gst/autoplug/spidertest.c:
8924 2005-04-25 Wim Taymans <wim@fluendo.com>
8926 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8927 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8928 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8929 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8931 Added stubs for unimplemented functions.
8933 2005-04-24 David Schleef <ds@schleef.org>
8935 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8938 2005-04-24 David Schleef <ds@schleef.org>
8940 Convert everything from GstAtomicInt to g_atomic_int_*, and
8945 * gst/gstatomic_impl.h:
8953 * gst/gstdata_private.h:
8960 * gst/gststructure.c:
8961 * gst/gststructure.h:
8962 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8965 2005-04-24 David Schleef <ds@schleef.org>
8967 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8968 make the regressions tests work. Remove some code that is no
8970 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8971 Disable warning for pads without templates.
8973 2005-04-24 David Schleef <ds@schleef.org>
8975 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8976 functions that handle filtered links.
8977 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8979 * gst/gstutils.c: Fix/remove utility functions that handle
8982 * gst/gstvalue.c: Add serialization/deserialization of caps
8983 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8984 requires fixing so that the filter caps notation creates
8985 a capsfilter element and sets the filter_caps property. I
8986 think everyone probably wants to keep the shorthand notation.
8987 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8988 * docs/gst/tmpl/gstpad.sgml:
8990 * gst/elements/gstelements.c: Register capsfilter element.
8991 * gst/Makefile.am: fix spacing
8992 * docs/random/ds/0.9-suggested-changes: random
8994 2005-04-23 David Schleef <ds@schleef.org>
8996 * gst/elements/Makefile.am:
8997 * gst/elements/gstcapsfilter.c: New element that acts like an
8998 identity, but filters caps. Will eventually replace filtered
8999 caps in pad linking.
9000 * gst/gstutils.c: (gst_element_create_all_pads): New function
9001 to create all the ALWAYS pads that are registered with an
9002 element class. This functionality should eventually be
9003 merged in with GstElement initialization.
9005 * testsuite/trigger/README: part of trigger test code that should
9006 have been checked in a long time ago.
9008 2005-04-23 David Schleef <ds@schleef.org>
9010 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9011 needed with new versions of libtool (nobody will confirm this),
9012 and hard to carry around.
9013 * gst/autoplug/Makefile.am:
9014 * gst/base/Makefile.am:
9015 * gst/elements/Makefile.am:
9016 * gst/indexers/Makefile.am:
9017 * gst/schedulers/Makefile.am:
9018 * libs/gst/bytestream/Makefile.am:
9019 * libs/gst/control/Makefile.am:
9020 * libs/gst/dataprotocol/Makefile.am:
9021 * libs/gst/getbits/Makefile.am:
9023 2005-04-21 Wim Taymans <wim@fluendo.com>
9025 * docs/design/draft-push-pull.txt:
9026 * docs/design/part-MT-refcounting.txt:
9027 * docs/design/part-TODO.txt:
9028 * docs/design/part-caps.txt:
9029 * docs/design/part-events.txt:
9030 * docs/design/part-gstbus.txt:
9031 * docs/design/part-gstpipeline.txt:
9032 * docs/design/part-messages.txt:
9033 * docs/design/part-push-pull.txt:
9034 * docs/design/part-query.txt:
9037 2005-04-21 Wim Taymans <wim@fluendo.com>
9039 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9040 (gst_message_new), (gst_message_new_error),
9041 (gst_message_new_warning), (gst_message_new_tag),
9042 (gst_message_new_state_changed), (gst_message_new_application),
9043 (gst_message_get_structure):
9045 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9046 (gst_structure_copy_conditional):
9047 Use parent refcount in GstMessage to ensure GstStructure
9049 Cleaned up headers a bit.
9052 2005-04-20 Wim Taymans <wim@fluendo.com>
9054 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9055 (gst_basesink_pad_getcaps), (gst_basesink_init),
9056 (gst_basesink_chain_unlocked):
9057 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9058 (gst_type_find_helper):
9059 * gst/elements/gsttypefindelement.c:
9060 (gst_type_find_element_have_type), (gst_type_find_element_init),
9061 (stop_typefinding), (gst_type_find_element_handle_event),
9062 (find_suggest), (gst_type_find_element_chain),
9063 (gst_type_find_element_checkgetrange),
9064 (gst_type_find_element_getrange), (do_typefind),
9065 (gst_type_find_element_activate):
9066 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9067 (gst_buffer_default_free), (gst_buffer_default_copy),
9068 (gst_buffer_set_caps):
9069 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9071 * gst/gstmessage.c: (gst_message_new),
9072 (gst_message_new_state_changed):
9073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9074 (gst_pad_set_checkgetrange_function),
9075 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9076 (gst_pad_set_caps), (gst_pad_check_pull_range),
9077 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9079 * gst/gsttypefind.c: (gst_type_find_register):
9080 Make gst_caps_replace() work like other _replace() functions.
9081 Use _caps_replace() where possible.
9082 Make sure _message_new() initialises its field.
9083 Add gst_static_pad_template_get_caps()
9086 2005-04-18 Andy Wingo <wingo@pobox.com>
9088 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9089 on the peer, not the pad. I think that was a typo. Pass an extra
9090 arg to see if random access is possible. Activate the pads as
9091 PULL_RANGE if possible.
9093 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9095 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9096 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9099 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9101 * docs/faq/using.xml:
9102 Add note on gstreamer-properties (#154996).
9104 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9106 * docs/random/bbb/optional-properties:
9107 Some analysis on optional properties.
9109 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9111 * docs/gst/tmpl/gstelementfactory.sgml:
9113 * gst/gstelementfactory.c: (gst_element_factory_init),
9114 (gst_element_factory_cleanup), (gst_element_register),
9115 (__gst_element_factory_add_static_pad_template),
9116 (gst_element_factory_get_static_pad_templates),
9117 (gst_element_factory_can_src_caps),
9118 (gst_element_factory_can_sink_caps):
9119 * gst/registries/Makefile.am:
9120 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9121 (gst_xml_registry_class_init), (gst_xml_registry_init),
9122 (gst_xml_registry_new), (gst_xml_registry_set_property),
9123 (gst_xml_registry_get_property), (get_time), (make_dir),
9124 (gst_xml_registry_get_perms_func),
9125 (plugin_times_older_than_recurse), (plugin_times_older_than),
9126 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9127 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9128 (add_to_char_array), (read_string), (read_uint), (read_enum),
9129 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9130 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9131 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9132 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9133 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9134 (gst_xml_registry_rebuild):
9135 * gst/registries/gstlibxmlregistry.h:
9136 * tools/gst-compprep.c: (main):
9137 * tools/gst-inspect.c: (print_pad_templates_info):
9138 * tools/gst-xmlinspect.c: (print_element_info):
9139 Use libxml2 for registry parsing, use staticpadtemplates in
9140 elementfactories. Makes gst_init() +/- 10x faster.
9142 2005-04-12 Wim Taymans <wim@fluendo.com>
9144 * gst/base/Makefile.am:
9145 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9146 (gst_basesink_pad_getcaps), (gst_basesink_init),
9147 (gst_basesink_event), (gst_basesink_change_state):
9148 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9149 (gst_basesrc_init), (gst_basesrc_query),
9150 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9151 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9152 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9153 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9154 (gst_basesrc_stop), (gst_basesrc_activate),
9155 (gst_basesrc_change_state):
9156 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9157 (helper_find_suggest), (gst_type_find_helper):
9158 * gst/base/gsttypefindhelper.h:
9159 * gst/elements/Makefile.am:
9160 * gst/elements/gstelements.c:
9161 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9162 (gst_fakesink_get_times), (gst_fakesink_event),
9163 (gst_fakesink_preroll), (gst_fakesink_render):
9164 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9165 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9166 (gst_fakesrc_get_property), (gst_fakesrc_create),
9167 (gst_fakesrc_start), (gst_fakesrc_stop):
9168 * gst/elements/gstfakesrc.h:
9169 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9170 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9171 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9172 (gst_filesrc_create_read), (gst_filesrc_create),
9173 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9174 (gst_filesrc_start):
9175 * gst/elements/gsttypefindelement.c:
9176 (gst_type_find_element_have_type), (gst_type_find_element_init),
9177 (start_typefinding), (stop_typefinding), (push_buffer_store),
9178 (gst_type_find_element_handle_event),
9179 (gst_type_find_element_chain),
9180 (gst_type_find_element_checkgetrange),
9181 (gst_type_find_element_getrange), (do_typefind),
9182 (gst_type_find_element_activate),
9183 (gst_type_find_element_change_state):
9184 * gst/elements/gsttypefindelement.h:
9185 * gst/gstpipeline.c: (pipeline_bus_handler):
9186 Added typefind helper.
9187 Small preroll fix in the base sink.
9188 Disable typefind code in basesrc.
9189 Crude port of typefindelement.
9193 2005-04-11 Wim Taymans <wim@fluendo.com>
9195 * check/gst/gstbus.c: (gstbus_suite):
9196 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9198 Fix up the timeout so that the test does not fail.
9200 2005-04-06 Wim Taymans <wim@fluendo.com>
9203 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9204 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9205 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9206 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9207 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9208 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9209 (gst_basesrc_stop), (gst_basesrc_activate),
9210 (gst_basesrc_change_state), (basesrc_find_peek),
9211 (basesrc_find_suggest), (gst_basesrc_type_find):
9212 * gst/base/gstbasesrc.h:
9213 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9214 (gst_filesrc_class_init), (gst_filesrc_init),
9215 (gst_filesrc_finalize), (gst_filesrc_set_location),
9216 (gst_filesrc_set_property), (gst_filesrc_get_property),
9217 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9218 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9219 (gst_filesrc_create_read), (gst_filesrc_create),
9220 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9221 * gst/elements/gstfilesrc.h:
9222 * gst/gstelement.c: (gst_element_get_state_func),
9223 (gst_element_lost_state), (gst_element_pads_activate):
9224 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9225 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9226 (gst_pad_pull_range):
9228 More work on the generic source base class, implement seeking,
9230 Make filesrc extend the base source class.
9231 Added gst_pad_set_checkgetrange_function to GstPad.
9233 2005-04-06 Andy Wingo <wingo@pobox.com>
9235 * pkgconfig/gstreamer-base.pc.in:
9236 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9238 * pkgconfig/Makefile.am:
9239 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9241 2005-04-04 Wim Taymans <wim@fluendo.com>
9243 * gst/base/Makefile.am:
9245 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9246 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9247 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9248 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9249 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9250 (gst_basesrc_base_init), (gst_basesrc_class_init),
9251 (gst_basesrc_init), (gst_basesrc_get_formats),
9252 (gst_basesrc_get_query_types), (gst_basesrc_query),
9253 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9254 (gst_basesrc_set_property), (gst_basesrc_get_property),
9255 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9256 (gst_basesrc_loop), (gst_basesrc_activate),
9257 (gst_basesrc_change_state):
9258 * gst/base/gstbasesrc.h:
9259 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9260 (gst_fakesrc_class_init), (gst_fakesrc_init),
9261 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9262 (gst_fakesrc_get_property), (gst_fakesrc_create):
9263 * gst/elements/gstfakesrc.h:
9264 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9265 (gst_filesrc_open_file), (gst_filesrc_loop),
9266 (gst_filesrc_activate), (filesrc_find_peek),
9267 (gst_filesrc_type_find):
9268 Made base source class, make fakesrc extend it.
9269 Add comments to basesink class.
9270 Some filesrc cleanup.
9272 2005-03-31 David Schleef <ds@schleef.org>
9274 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9275 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9276 expected to link against libgstreamer.
9277 * gst/base/Makefile.am: link against libgstreamer
9278 * gst/elements/Makefile.am: same
9280 2005-03-31 Andy Wingo <wingo@pobox.com>
9282 * tests/instantiate/Makefile.am:
9283 * tests/instantiate/caps.c: Add test to test speed of caps copy
9286 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9287 GMemChunk to be fair.
9289 * gst/gsttrashstack.h: Remove warning about using the fallback
9290 trash stack implementation, it's still faster than malloc.
9292 2005-03-30 Andy Wingo <wingo@pobox.com>
9294 * tests/complexity.c: Add a copyright.
9296 2005-03-31 Wim Taymans <wim@fluendo.com>
9298 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9299 (gst_base_transform_class_init), (gst_base_transform_init),
9300 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9301 (gst_base_transform_get_property),
9302 (gst_base_transform_sink_activate),
9303 (gst_base_transform_src_activate),
9304 (gst_base_transform_change_state):
9305 * gst/base/gstbasetransform.h:
9306 * gst/elements/gstidentity.c: (gst_identity_class_init),
9307 (gst_identity_event), (gst_identity_check_perfect),
9308 (gst_identity_transform), (gst_identity_start),
9309 (gst_identity_stop):
9310 Added start/stop methods to transform base class so subclasses
9311 don't need to deal with state changes even.
9313 2005-03-31 Wim Taymans <wim@fluendo.com>
9315 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9316 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9318 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9319 (gst_pad_pull_range):
9320 Added rate to the discont event to prepare for variable speed
9321 and reverse playback.
9323 2005-03-29 David Schleef <ds@schleef.org>
9326 * testsuite/trigger/Makefile.am:
9327 * testsuite/trigger/trigger.c: A little example program to show
9328 how trigger-based elements can work.
9330 2005-03-29 Wim Taymans <wim@fluendo.com>
9332 * gst/base/Makefile.am:
9334 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9335 (gst_basesink_base_init), (gst_basesink_class_init),
9336 (gst_basesink_pad_getcaps), (gst_basesink_init),
9337 (gst_basesink_activate), (gst_basesink_change_state):
9338 * gst/base/gstbasesink.h:
9339 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9340 (gst_base_transform_base_init), (gst_base_transform_finalize),
9341 (gst_base_transform_class_init), (gst_base_transform_init),
9342 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9343 (gst_base_transform_event), (gst_base_transform_getrange),
9344 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9345 (gst_base_transform_set_property),
9346 (gst_base_transform_get_property),
9347 (gst_base_transform_sink_activate),
9348 (gst_base_transform_src_activate),
9349 (gst_base_transform_change_state):
9350 * gst/base/gstbasetransform.h:
9351 * gst/elements/gstidentity.c: (gst_identity_finalize),
9352 (gst_identity_class_init), (gst_identity_init),
9353 (gst_identity_event), (gst_identity_check_perfect),
9354 (gst_identity_transform), (gst_identity_set_property),
9355 (gst_identity_get_property), (gst_identity_change_state):
9356 * gst/elements/gstidentity.h:
9357 * gst/gstelement.c: (gst_element_get_state_func),
9358 (gst_element_lost_state), (gst_element_pads_activate):
9359 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9360 (gst_pad_check_pull_range), (gst_pad_pull_range):
9362 Simplify pad activation.
9363 Added function to check if pull_range can be performed.
9364 Error out when pulling inactive or flushing pads.
9365 Removed const from refcounted types as it does not make sense.
9366 Simplify pad templates in basesink
9367 Added base class for simple 1-to-1 transforms.
9368 Make identity subclass the base transform.
9370 2005-03-29 Andy Wingo <wingo@pobox.com>
9372 * docs/libs/gstreamer-libs-overrides.txt:
9373 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9374 really don't understand what's going on, but like whatever. I want
9377 * docs/gst/Makefile.am:
9378 * docs/libs/Makefile.am: Dist the overrides files.
9380 * check/Makefile.am (clean-local): Remove .libs directories.
9382 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9383 elements to EXTRA_DIST, so po/ files are happy.
9385 * po/POTFILES.in: Er, remove it here.
9387 * po/POTFILES: Remove gstspider.c.
9389 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9391 * docs/libs/gstreamer-libs-docs.sgml:
9392 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9395 * tests/complexity.c (main): Set the length of the preroll queue
9396 on the sinks to prevent a lockup.
9398 * libs/gst/dataprotocol/Makefile.am:
9399 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9400 the same as the one in check/gst-libs/gdp.c.
9402 * po/, docs/gst/: Commit automatic changes to docs and po files.
9404 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9405 the versioned libgstbase.
9407 * check/Makefile.am: Depend on an unversioned gst-register, seems
9408 to make autoconf happier.
9410 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9412 2005-03-28 Wim Taymans <wim@fluendo.com>
9415 * docs/design/part-gstelement.txt:
9416 * docs/design/part-negotiation.txt:
9417 * docs/design/part-preroll.txt:
9418 * docs/design/part-scheduling.txt:
9419 * docs/design/part-states.txt:
9421 * gst/base/Makefile.am:
9423 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9424 (gst_basesink_base_init), (gst_basesink_class_init),
9425 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9426 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9427 (gst_basesink_set_pad_functions),
9428 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9429 (gst_basesink_set_property), (gst_basesink_get_property),
9430 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9431 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9432 (gst_basesink_preroll_queue_push),
9433 (gst_basesink_preroll_queue_empty),
9434 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9435 (gst_basesink_event), (gst_basesink_get_times),
9436 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9437 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9438 (gst_basesink_loop), (gst_basesink_activate),
9439 (gst_basesink_change_state):
9440 * gst/base/gstbasesink.h:
9441 * gst/elements/Makefile.am:
9442 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9443 (gst_fakesink_class_init), (gst_fakesink_init),
9444 (gst_fakesink_set_property), (gst_fakesink_get_property),
9445 (gst_fakesink_get_times), (gst_fakesink_event),
9446 (gst_fakesink_preroll), (gst_fakesink_render),
9447 (gst_fakesink_change_state):
9448 * gst/elements/gstfakesink.h:
9449 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9450 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9451 * gst/gstelement.c: (gst_element_add_pad),
9452 (gst_element_get_state_func), (gst_element_abort_state),
9453 (gst_element_commit_state), (gst_element_lost_state),
9454 (gst_element_set_state), (gst_element_pads_activate):
9455 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9456 * gst/gstpipeline.c: (gst_pipeline_send_event),
9457 (gst_pipeline_change_state):
9458 Added state change code.
9460 Added sink base class, make fakesink extend the base class.
9461 Small cleanups in GstPipeline.
9463 2005-03-26 David Schleef <ds@schleef.org>
9465 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9466 is broken and should be implemented in a different library.
9467 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9468 * gst/gst.h: remove gstcpu.h
9469 * gst/gstcpu.c: remove
9470 * gst/gstcpu.h: remove
9471 * gst/Makefile.am.future: Remove this file. It's ancient.
9473 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9476 (gst_bin_send_event):
9477 Add default event/set_manager handlers. The set_manager handler
9478 takes care that the manager is distributed over kids that were
9479 already in the bin before the manager was set. The event handler
9480 is a utility virtual function that sends the event over all sinks,
9481 so that gst_element_send_event (bin, event); has the expected
9483 * gst/gstpad.c: (gst_pad_event_default):
9484 Re-install default event handling for discontinuities, so that
9485 seeking works without requiring hacks in applications or extra
9487 * gst/gstpipeline.c: (gst_pipeline_class_init),
9488 (gst_pipeline_send_event):
9489 Half hack, half utility: set a pipeline to PAUSED for seek events,
9490 since that is the only way we can guarantee a/v sync. Means that
9491 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9492 and it "just works".
9494 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9496 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9497 Lock/unlock mismatch.
9499 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9501 * docs/faq/gst-uninstalled:
9502 add gst-plugins-base
9503 * docs/gst/Makefile.am:
9504 don't error out until docs are fixed
9505 * docs/gst/gstreamer.types:
9508 2005-03-22 Wim Taymans <wim@fluendo.com>
9510 * check/Makefile.am:
9511 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9512 * gst/gststructure.c: (gst_structure_set_valist),
9513 (gst_structure_copy_conditional):
9514 Activated more tests.
9516 Added G_TYPE_POINTER to GstStructure.
9519 2005-03-22 Wim Taymans <wim@fluendo.com>
9521 * docs/design/part-TODO.txt:
9522 * docs/design/part-events.txt:
9523 * docs/design/part-gstbin.txt:
9524 * docs/design/part-gstbus.txt:
9525 * docs/design/part-gstpipeline.txt:
9526 * docs/design/part-messages.txt:
9531 2005-03-21 Wim Taymans <wim@fluendo.com>
9533 * gst/gstbus.c: (gst_bus_post):
9534 Fix copy-and-paste error.
9536 2005-03-21 Wim Taymans <wim@fluendo.com>
9538 * check/Makefile.am:
9540 * gst/elements/Makefile.am:
9541 * gst/elements/gstelements.c:
9542 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9543 (gst_fakesink_event), (gst_fakesink_chain):
9544 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9545 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9546 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9547 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9548 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9549 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9550 (gst_fakesrc_loop), (gst_fakesrc_activate),
9551 (gst_fakesrc_change_state):
9552 * gst/elements/gstfakesrc.h:
9553 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9554 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9555 (gst_filesrc_open_file), (gst_filesrc_loop),
9556 (gst_filesrc_activate), (gst_filesrc_change_state),
9557 (filesrc_find_peek), (filesrc_find_suggest),
9558 (gst_filesrc_type_find):
9559 * gst/elements/gstidentity.c: (gst_identity_finalize),
9560 (gst_identity_class_init), (gst_identity_init),
9561 (gst_identity_proxy_getcaps), (identity_queue_push),
9562 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9563 (gst_identity_getrange), (gst_identity_chain),
9564 (gst_identity_sink_loop), (gst_identity_src_loop),
9565 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9566 (gst_identity_set_property), (gst_identity_get_property),
9567 (gst_identity_change_state):
9568 * gst/elements/gstidentity.h:
9569 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9570 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9571 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9572 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9573 (gst_tee_sink_activate):
9574 * gst/elements/gsttee.h:
9575 * gst/gst.c: (gst_register_core_elements), (init_post):
9577 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9578 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9579 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9580 (gst_bin_change_state):
9582 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9583 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9584 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9585 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9586 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9587 (bus_watch_callback), (bus_watch_destroy),
9588 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9589 (poll_timeout), (gst_bus_poll):
9593 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9594 (gst_element_post_message), (gst_element_message_full),
9595 (gst_element_get_state_func), (gst_element_get_state),
9596 (gst_element_abort_state), (gst_element_commit_state),
9597 (gst_element_lost_state), (gst_element_set_state),
9598 (gst_element_pads_activate), (gst_element_change_state),
9599 (gst_element_dispose), (gst_element_set_manager_func),
9600 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9601 (gst_element_set_manager), (gst_element_get_manager),
9602 (gst_element_set_bus), (gst_element_get_bus),
9603 (gst_element_set_scheduler), (gst_element_get_scheduler):
9605 * gst/gstevent.c: (gst_event_new_segment_seek),
9606 (gst_event_new_flush):
9608 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9609 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9610 (gst_message_new_eos), (gst_message_new_error),
9611 (gst_message_new_warning), (gst_message_new_tag),
9612 (gst_message_new_state_changed), (gst_message_new_application),
9613 (gst_message_get_structure), (gst_message_parse_tag),
9614 (gst_message_parse_state_changed), (gst_message_parse_error),
9615 (gst_message_parse_warning):
9617 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9618 (gst_real_pad_set_property), (gst_pad_set_active),
9619 (gst_pad_is_active), (gst_pad_set_blocked_async),
9620 (gst_pad_set_blocked), (gst_pad_is_blocked),
9621 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9622 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9623 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9624 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9625 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9626 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9627 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9628 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9629 (gst_pad_set_caps), (gst_pad_configure_sink),
9630 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9631 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9632 (gst_real_pad_dispose), (gst_real_pad_finalize),
9633 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9634 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9635 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9637 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9638 (pipeline_bus_handler), (gst_pipeline_change_state),
9639 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9640 * gst/gstpipeline.h:
9642 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9643 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9644 (gst_queue_link_src), (gst_queue_bufferalloc),
9645 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9646 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9647 (gst_queue_loop), (gst_queue_handle_src_event),
9648 (gst_queue_handle_src_query), (gst_queue_src_activate),
9649 (gst_queue_change_state):
9651 * gst/gstscheduler.c: (gst_scheduler_init),
9652 (gst_scheduler_dispose), (gst_scheduler_create_task),
9653 (gst_scheduler_factory_create):
9654 * gst/gstscheduler.h:
9655 * gst/gststructure.c: (gst_structure_get_type),
9656 (gst_structure_copy_conditional):
9657 * gst/gststructure.h:
9658 * gst/gsttaginterface.h:
9659 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9660 (gst_task_init), (gst_task_dispose), (gst_task_create),
9661 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9667 * gst/schedulers/Makefile.am:
9668 * gst/schedulers/cothreads_compat.h:
9669 * gst/schedulers/entryscheduler.c:
9670 * gst/schedulers/faircothreads.c:
9671 * gst/schedulers/faircothreads.h:
9672 * gst/schedulers/fairscheduler.c:
9673 * gst/schedulers/gstbasicscheduler.c:
9674 * gst/schedulers/gstoptimalscheduler.c:
9675 * gst/schedulers/gthread-cothreads.h:
9676 * gst/schedulers/threadscheduler.c:
9677 (gst_thread_scheduler_task_get_type),
9678 (gst_thread_scheduler_task_class_init),
9679 (gst_thread_scheduler_task_init),
9680 (gst_thread_scheduler_task_start),
9681 (gst_thread_scheduler_task_stop),
9682 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9683 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9684 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9685 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9687 * libs/gst/Makefile.am:
9688 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9689 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9690 (gst_file_pad_parent_set):
9691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9692 (gst_dp_event_from_packet):
9693 * tests/complexity.c: (main):
9694 * tests/mass_elements.c: (main):
9695 * testsuite/states/locked.c: (message_received), (main):
9696 * testsuite/states/parent.c: (main):
9697 * tools/gst-inspect.c: (print_element_flag_info),
9698 (print_implementation_info), (print_pad_info):
9699 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9701 * tools/gst-md5sum.c: (event_loop), (main):
9702 * tools/gst-typefind.c: (main):
9703 * tools/gst-xmlinspect.c: (print_element_info):
9705 Added GstBus for mainloop integration.
9706 Added GstMessage for sending notifications on the bus.
9707 Added GstTask as an abstraction for pipeline entry points.
9710 Simplified GstQueue for multithreaded core.
9711 Made _link threadsafe, removed old capsnego.
9712 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9713 Added pad blocking functions.
9714 Reworked scheduling functions in GstPad to prepare for
9715 scheduling updates soon.
9716 Moved events out of data stream.
9717 Simplified GstEvent types.
9718 Added return values to push/pull.
9719 Removed clocking from GstElement.
9720 Added prototypes for state change function for next merge.
9721 Removed iterate from bins and state change management.
9722 Fixed some elements, disabled others for now.
9723 Fixed -inspect and -launch.
9724 Added check for GstBus.
9726 2005-03-10 Wim Taymans <wim@fluendo.com>
9728 * docs/design/part-MT-refcounting.txt:
9729 * docs/design/part-clocks.txt:
9730 * docs/design/part-gstelement.txt:
9731 * docs/design/part-gstobject.txt:
9732 * docs/design/part-standards.txt:
9733 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9734 (gst_bin_remove_func), (gst_bin_remove):
9738 * testsuite/clock/clock1.c: (main):
9739 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9741 * testsuite/dlopen/loadgst.c: (do_test):
9742 * testsuite/refcounting/bin.c: (add_remove_test1),
9743 (add_remove_test2), (main):
9744 * testsuite/refcounting/element.c: (main):
9745 * testsuite/refcounting/element_pad.c: (main):
9746 * testsuite/refcounting/pad.c: (main):
9747 * tools/gst-launch.c: (sigint_handler_sighandler):
9748 * tools/gst-typefind.c: (main):
9750 Added doc about clock.
9751 removed gst_bin_iterate_recurse_up(), marked methods
9753 Fix more testsuites.
9755 2005-03-09 Wim Taymans <wim@fluendo.com>
9757 * gst/gstpad.c: (gst_pad_get_direction),
9758 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9759 (gst_pad_collect_valist):
9760 * testsuite/bins/interface.c: (main):
9761 * testsuite/caps/audioscale.c: (test_caps):
9762 * testsuite/caps/caps.c: (test1), (test2), (test3):
9763 * testsuite/caps/deserialize.c: (main):
9764 * testsuite/caps/enumcaps.c: (main):
9765 * testsuite/caps/filtercaps.c: (main):
9766 * testsuite/caps/intersect2.c: (main):
9767 * testsuite/caps/random.c: (main):
9768 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9769 * testsuite/caps/sets.c: (check_caps):
9770 * testsuite/caps/simplify.c: (check_caps), (main):
9771 * testsuite/caps/subtract.c: (check_caps):
9772 Fix _pad_get_direction wrt ghostpads.
9775 2005-03-09 Wim Taymans <wim@fluendo.com>
9777 * check/Makefile.am:
9778 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9779 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9780 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9782 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9783 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9784 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9785 (bin_element_is_sink), (gst_bin_iterate_sinks),
9786 (gst_bin_iterate_all_by_interface):
9788 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9789 (gst_element_change_state), (gst_element_dispose),
9790 (gst_element_finalize), (gst_element_set_loop_function):
9792 * gst/gstiterator.c: (find_custom_fold_func):
9793 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9794 (gst_pad_collectv), (gst_pad_collect_valist),
9795 (gst_pad_template_new):
9796 * gst/gstpipeline.c: (gst_pipeline_class_init),
9797 (gst_pipeline_dispose), (gst_pipeline_set_property),
9798 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9799 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9800 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9802 * gst/schedulers/entryscheduler.c:
9803 * gst/schedulers/gstbasicscheduler.c:
9804 (gst_basic_scheduler_cothreaded_chain),
9805 (gst_basic_scheduler_chain_add_element):
9806 * testsuite/bins/interface.c: (main):
9808 Added GstSystemClock test.
9809 Implemented clock distribution code in GstBin.
9810 Implemented iterate sinks method for future use.
9811 Rearranged gstelement.h
9812 Fix GstIterator comparison bug.
9813 Moved some code to GstPipeline, mostly clocking related.
9815 2005-03-09 Wim Taymans <wim@fluendo.com>
9818 * gst/gst_private.h:
9819 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9820 (gst_bin_remove_func), (gst_bin_remove),
9821 (gst_bin_get_by_name_recurse_up):
9822 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9823 (gst_clock_id_compare_func), (gst_clock_id_wait),
9824 (gst_clock_id_wait_async), (gst_clock_init),
9825 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9827 * gst/gstinfo.c: (_gst_debug_init):
9829 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9830 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9832 Bump version number, we're now 0.9.0
9833 Add future debugging category.
9834 Fix NULL _unref() in _get_by_name_recurse_up
9838 2005-03-08 Wim Taymans <wim@fluendo.com>
9840 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9841 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9842 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9843 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9844 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9845 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9846 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9847 * gst/elements/gstidentity.c: (gst_identity_class_init):
9848 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9849 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9850 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9851 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9852 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9854 * gst/gstelement.c: (gst_element_class_init),
9855 (gst_element_base_class_init), (gst_element_init),
9856 (gst_element_get_random_pad), (gst_element_wait_state_change),
9857 (gst_element_change_state), (gst_element_dispose),
9858 (gst_element_finalize), (gst_element_set_loop_function):
9860 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9861 * gst/gstthread.c: (gst_thread_class_init),
9862 (gst_thread_release_children_locks), (gst_thread_change_state):
9863 * gst/schedulers/gstbasicscheduler.c:
9864 (gst_basic_scheduler_loopfunc_wrapper),
9865 (gst_basic_scheduler_chain_wrapper),
9866 (gst_basic_scheduler_src_wrapper),
9867 (gst_basic_scheduler_remove_element):
9868 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9869 Remove threadsafe properties. Fix elements because GObject
9870 complains when installing a property before declaring a
9871 set/get_property handler.
9872 Rearrange gstelement.h file, use STATE macros for state locks.
9873 Free mutexes in the finalize method instead of dispose.
9875 2005-03-08 Wim Taymans <wim@fluendo.com>
9877 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9878 * gst/gstthread.c: (gst_thread_release_children_locks):
9879 Added parentage check.
9880 Fix build og GstThread again.
9882 2005-03-08 Wim Taymans <wim@fluendo.com>
9884 * docs/design/part-MT-refcounting.txt:
9885 * docs/design/part-conventions.txt:
9886 * docs/design/part-gstobject.txt:
9887 * docs/design/part-relations.txt:
9888 * docs/design/part-standards.txt:
9889 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9890 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9891 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9892 (gst_bin_iterate_all_by_interface):
9895 * gst/gstelement.c: (gst_element_class_init),
9896 (gst_element_change_state), (gst_element_set_loop_function):
9898 * gst/gstiterator.c:
9899 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9900 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9901 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9902 (gst_object_set_parent), (gst_object_unparent),
9903 (gst_object_check_uniqueness):
9905 Docs updates, clean up some headers.
9907 2005-03-07 Wim Taymans <wim@fluendo.com>
9910 * check/Makefile.am:
9911 * check/gst-libs/.cvsignore:
9912 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9913 * check/gst/.cvsignore:
9914 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9915 (START_TEST), (gstbus_suite), (main):
9916 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9917 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9918 (gst_data_suite), (main):
9919 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9920 (add_fold_func), (gstiterator_suite), (main):
9921 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9922 (thread_name_object), (thread_name_object_default),
9923 (gst_object_name_compare), (gst_object_suite), (main):
9924 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9925 (gst_pad_suite), (main):
9926 * check/gstcheck.c: (gst_check_log_message_func),
9927 (gst_check_log_critical_func), (gst_check_init):
9929 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9930 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9933 2005-03-07 Wim Taymans <wim@fluendo.com>
9935 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9936 (gst_list_iterator_next), (gst_list_iterator_resync),
9937 (gst_list_iterator_free), (gst_iterator_new_list),
9938 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9939 (gst_iterator_free), (gst_iterator_push), (filter_next),
9940 (filter_resync), (filter_uninit), (filter_free),
9941 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9942 (gst_iterator_foreach), (find_custom_fold_func),
9943 (gst_iterator_find_custom):
9944 * gst/gstiterator.h:
9945 Added missing files.
9947 2005-03-07 Wim Taymans <wim@fluendo.com>
9951 * docs/design/part-MT-refcounting.txt:
9952 * docs/design/part-conventions.txt:
9953 * docs/design/part-gstobject.txt:
9954 * docs/design/part-relations.txt:
9955 * examples/mixer/mixer.c: (main):
9956 * examples/thread/thread.c: (eos), (main):
9958 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9959 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9960 (gst_spider_plug_from_srcpad):
9961 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9962 (gst_spider_identity_change_state),
9963 (gst_spider_identity_sink_loop_type_finding):
9964 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9965 * gst/elements/gstidentity.c: (gst_identity_init):
9966 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9967 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9968 * gst/elements/gsttypefindelement.c: (free_entry):
9971 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9972 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9973 (gst_bin_set_index), (gst_bin_set_element_sched),
9974 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9975 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9976 (gst_bin_iterate_elements), (iterate_child_recurse),
9977 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9978 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9979 (compare_interface), (gst_bin_get_by_interface),
9980 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9982 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9983 (gst_buffer_default_free), (gst_buffer_default_copy),
9984 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9985 (gst_buffer_create_sub):
9987 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9988 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9989 (gst_caps_unref), (gst_static_caps_get),
9990 (gst_caps_remove_and_get_structure), (gst_caps_append),
9991 (gst_caps_append_structure), (gst_caps_remove_structure),
9992 (gst_caps_copy_nth), (gst_caps_set_simple),
9993 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9994 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9995 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9996 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9997 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9998 (gst_caps_structure_figure_out_union),
9999 (gst_caps_switch_structures), (gst_caps_do_simplify),
10000 (gst_caps_replace), (gst_caps_from_string),
10001 (gst_caps_copy_conditional):
10003 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10004 (_gst_clock_id_free), (gst_clock_id_unref),
10005 (gst_clock_id_compare_func), (gst_clock_id_wait),
10006 (gst_clock_id_wait_async), (gst_clock_class_init),
10007 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10008 (gst_clock_get_time), (gst_clock_set_time_adjust),
10009 (gst_clock_set_property), (gst_clock_get_property):
10012 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10013 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10015 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10016 (gst_element_requires_clock), (gst_element_provides_clock),
10017 (gst_element_set_clock), (gst_element_clock_wait),
10018 (gst_element_wait), (gst_element_set_time_delay),
10019 (gst_element_is_indexable), (gst_element_add_pad),
10020 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10021 (pad_compare_name), (gst_element_get_static_pad),
10022 (gst_element_request_pad), (gst_element_get_request_pad),
10023 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10024 (gst_element_class_get_pad_template_list),
10025 (gst_element_class_get_pad_template), (gst_element_error_func),
10026 (gst_element_get_random_pad), (gst_element_get_event_masks),
10027 (gst_element_send_event), (gst_element_seek),
10028 (gst_element_get_query_types), (gst_element_query),
10029 (gst_element_get_formats), (gst_element_convert),
10030 (gst_element_is_locked_state), (gst_element_set_locked_state),
10031 (gst_element_sync_state_with_parent), (gst_element_change_state),
10032 (gst_element_finalize), (gst_element_yield),
10033 (gst_element_interrupt), (gst_element_set_scheduler),
10034 (gst_element_get_scheduler), (gst_element_set_loop_function):
10035 * gst/gstelement.h:
10037 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10038 (gst_format_get_by_nick), (gst_format_get_details),
10039 (gst_format_iterate_definitions):
10041 * gst/gstindex.c: (gst_index_gtype_resolver):
10044 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10045 (gst_mem_chunk_free):
10046 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10047 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10048 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10049 (gst_object_dispatch_properties_changed),
10050 (gst_object_set_name_default), (gst_object_set_name),
10051 (gst_object_get_name), (gst_object_set_name_prefix),
10052 (gst_object_get_name_prefix), (gst_object_set_parent),
10053 (gst_object_get_parent), (gst_object_unparent),
10054 (gst_object_check_uniqueness), (gst_object_save_thyself),
10055 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10056 (gst_object_set_property), (gst_object_get_property),
10057 (gst_object_get_path_string):
10059 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10060 (gst_real_pad_init), (gst_real_pad_get_property),
10061 (gst_pad_custom_new), (gst_pad_get_direction),
10062 (gst_pad_set_active), (gst_pad_is_active),
10063 (gst_pad_set_event_function), (gst_pad_is_linked),
10064 (gst_pad_link_free), (gst_pad_link_intersect),
10065 (gst_pad_link_fixate), (gst_pad_set_caps),
10066 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10067 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10068 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10069 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10070 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10071 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10072 (gst_pad_realize), (gst_pad_get_allowed_caps),
10073 (gst_real_pad_dispose), (gst_real_pad_finalize),
10074 (gst_pad_collectv), (gst_pad_collect_valist),
10075 (gst_pad_template_dispose), (gst_pad_template_new),
10076 (gst_pad_get_internal_links):
10078 * gst/gstpipeline.c: (gst_pipeline_dispose),
10079 (gst_pipeline_change_state):
10080 * gst/gstpipeline.h:
10082 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10083 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10084 * gst/gstpluginfeature.h:
10085 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10086 * gst/gstquery.c: (_gst_query_type_initialize),
10087 (gst_query_type_register), (gst_query_type_get_by_nick),
10088 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10090 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10091 * gst/gstscheduler.c: (gst_scheduler_add_element),
10092 (gst_scheduler_factory_create):
10093 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10094 (gst_structure_free), (gst_structure_set_name),
10095 (gst_structure_id_set_value), (gst_structure_set_value),
10096 (gst_structure_set_valist), (gst_structure_remove_field),
10097 (gst_structure_remove_fields),
10098 (gst_structure_remove_fields_valist),
10099 (gst_structure_remove_all_fields), (gst_structure_foreach),
10100 (gst_structure_map_in_place),
10101 (gst_caps_structure_fixate_field_nearest_int),
10102 (gst_caps_structure_fixate_field_nearest_double):
10103 * gst/gststructure.h:
10104 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10105 (gst_system_clock_init), (gst_system_clock_dispose),
10106 (gst_system_clock_async_thread),
10107 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10108 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10109 * gst/gstsystemclock.h:
10110 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10111 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10112 * gst/gsttaginterface.c:
10113 * gst/gstthread.c: (gst_thread_dispose),
10114 (gst_thread_release_children_locks), (gst_thread_change_state),
10115 (gst_thread_main_loop):
10116 * gst/gsttrashstack.h:
10117 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10119 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10120 (gst_element_request_pad), (gst_element_get_pad_from_template),
10121 (gst_element_request_compatible_pad),
10122 (gst_element_get_compatible_pad_filtered),
10123 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10124 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10125 (gst_element_link_many), (gst_element_link),
10126 (gst_element_link_pads), (gst_element_unlink_pads),
10127 (gst_element_unlink_many), (gst_element_unlink),
10128 (gst_pad_can_link_filtered), (gst_pad_can_link),
10129 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10130 (gst_object_default_error), (gst_bin_add_many),
10131 (gst_bin_remove_many), (gst_element_populate_std_props),
10132 (gst_element_class_install_std_props), (gst_buffer_merge),
10133 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10134 (link_fold_func), (gst_pad_proxy_setcaps):
10136 * gst/gstvalue.c: (gst_value_deserialize_string):
10137 * gst/parse/grammar.y:
10138 * gst/schedulers/gstbasicscheduler.c:
10139 (gst_basic_scheduler_cothreaded_chain),
10140 (gst_basic_scheduler_chain_recursive_add),
10141 (gst_basic_scheduler_pad_link):
10142 * gst/schedulers/gstoptimalscheduler.c:
10143 (get_group_schedule_function),
10144 (gst_opt_scheduler_state_transition),
10145 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10146 * libs/gst/bytestream/bytestream.c:
10147 * libs/gst/dataprotocol/dataprotocol.c:
10148 (gst_dp_header_from_buffer):
10151 * tests/threadstate/threadstate2.c: (eos):
10152 * tools/gst-compprep.c: (main):
10153 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10154 (print_pad_info), (print_children_info):
10155 * tools/gst-launch.c: (idle_func), (main):
10156 * tools/gst-md5sum.c: (idle_func), (main):
10157 * tools/gst-xmlinspect.c: (print_element_info):
10158 First THREADED backport attempt, focusing on adding locks and
10159 making sure the API is threadsafe. Needs more work. More docs
10162 2005-02-24 Andy Wingo <wingo@pobox.com>
10164 * tests/bench-complexity.scm:
10165 * tests/complexity.gnuplot: New files, good for running complexity
10168 * tests/Makefile.am:
10169 * tests/complexity.c: New test, sets up N elements, at each level
10170 teeing into M streams per element. Eeeenteresting.
10172 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10173 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10174 running bench-mass_elements.scm.
10176 * tests/bench-mass_elements.scm: New script, runs mass_elements
10177 for various numbers of identities, outputting the results to a
10178 file. Requires guile 1.6. Just for testing.
10180 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10182 * gst/schedulers/fairscheduler.c:
10183 compile with debug disabled
10185 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10188 hunting season on 0.9 is now OPEN