1 2005-11-03 Wim Taymans <wim@fluendo.com>
3 * docs/design/part-events.txt:
4 * docs/design/part-gstpipeline.txt:
5 * docs/design/part-messages.txt:
6 * docs/design/part-overview.txt:
7 * docs/design/part-seeking.txt:
8 * docs/design/part-states.txt:
9 * docs/design/part-trickmodes.txt:
10 * docs/manual/advanced-position.xml:
14 People think !! is ugly, this looks better.
16 * gst/gstpad.c: (gst_pad_set_blocked_async):
17 Remove !! since it's fixed elsewhere now.
19 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21 * gst/gstminiobject.h:
23 Add !! to _FLAG_IS_SET macros to make the result boolean.
25 2005-11-03 Edward Hervey <edward@fluendo.com>
27 * gst/gstpad.c: (gst_pad_set_blocked_async):
28 comparing a flag and a gboolean rarely returns coherent results...
29 Added two characters (!!) to make that work correctly.
31 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
33 * gst/gstbus.c: (gst_bus_class_init):
36 * gst/gstqueue.c: (gst_queue_loop):
37 Don't assume a miniobject that isn't a buffer is an
38 event (it could be that there is a refcounting
39 problem somewhere and the pointer is stale and
40 refers to an already destroyed miniobject).
42 2005-11-03 Julien MOUTTE <julien@moutte.net>
44 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
46 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
48 * docs/manual/advanced-position.xml:
49 Update seek example and explanations to current 0.9 API.
51 * gst/elements/gsttypefindelement.c:
52 (gst_type_find_element_activate):
53 Remove FIXME comment now that the found caps
56 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
58 * gst/gstregistryxml.c: (load_feature):
59 Add another GST_STR_NULL instance
61 2005-11-02 Edward Hervey <edward@fluendo.com>
63 * gst/gstpad.c: (handle_pad_block):
64 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
66 2005-11-02 Wim Taymans <wim@fluendo.com>
71 * gst/gstelement.c: (gst_element_commit_state):
75 Mention that the returned element is reffed in the docs.
77 2005-11-02 Wim Taymans <wim@fluendo.com>
79 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
80 (gst_pad_push), (gst_pad_push_event):
81 Unlock blocked pads when they are flushed.
83 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
86 * docs/gst/gstreamer-sections.txt:
89 * gst/gstregistry.c: (gst_registry_scan_path_level):
90 fix for a nasty little missed situation where an installed plug-in
91 which was in the cache did not get overridden by an uninstalled one
92 which was earlier in the plugin path because the newly created plugin
93 for the uninstalled one (not in the registry) didn't get its
94 ->registered set to TRUE
96 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
98 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
99 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
100 (gst_collectpads_is_active), (gst_collectpads_collect),
101 (gst_collectpads_collect_range), (gst_collectpads_start),
102 (gst_collectpads_stop), (gst_collectpads_peek),
103 (gst_collectpads_pop), (gst_collectpads_available),
104 (gst_collectpads_read), (gst_collectpads_flush):
105 Guard public API with assertions.
108 Fix docs for gst_pad_set_link_function().
110 2005-11-02 Johan Dahlin <johan@gnome.org>
112 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
113 Unref found_caps after we used it.
115 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
117 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
118 Don't try to ref NULL.
120 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
122 * win32/common/config.h.in:
123 provide a GST_FUNCTION that just gives a string for now
125 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
127 * win32/common/gstenumtypes.c: (register_gst_object_flags),
128 (gst_object_flags_get_type), (register_gst_bin_flags),
129 (gst_bin_flags_get_type), (register_gst_buffer_flag),
130 (gst_buffer_flag_get_type), (register_gst_bus_flags),
131 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
132 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
133 (gst_clock_return_get_type), (register_gst_clock_entry_type),
134 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
135 (gst_clock_flags_get_type), (register_gst_state),
136 (gst_state_get_type), (register_gst_state_change_return),
137 (gst_state_change_return_get_type), (register_gst_state_change),
138 (gst_state_change_get_type), (register_gst_element_flags),
139 (gst_element_flags_get_type), (register_gst_core_error),
140 (gst_core_error_get_type), (register_gst_library_error),
141 (gst_library_error_get_type), (register_gst_resource_error),
142 (gst_resource_error_get_type), (register_gst_stream_error),
143 (gst_stream_error_get_type), (register_gst_event_type),
144 (gst_event_type_get_type), (register_gst_seek_type),
145 (gst_seek_type_get_type), (register_gst_seek_flags),
146 (gst_seek_flags_get_type), (register_gst_format),
147 (gst_format_get_type), (register_gst_index_certainty),
148 (gst_index_certainty_get_type), (register_gst_index_entry_type),
149 (gst_index_entry_type_get_type),
150 (register_gst_index_lookup_method),
151 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
152 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
153 (gst_index_resolver_method_get_type), (register_gst_index_flags),
154 (gst_index_flags_get_type), (register_gst_debug_level),
155 (gst_debug_level_get_type), (register_gst_debug_color_flags),
156 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
157 (gst_iterator_result_get_type), (register_gst_iterator_item),
158 (gst_iterator_item_get_type), (register_gst_message_type),
159 (gst_message_type_get_type), (register_gst_mini_object_flags),
160 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
161 (gst_pad_link_return_get_type), (register_gst_flow_return),
162 (gst_flow_return_get_type), (register_gst_activate_mode),
163 (gst_activate_mode_get_type), (register_gst_pad_direction),
164 (gst_pad_direction_get_type), (register_gst_pad_flags),
165 (gst_pad_flags_get_type), (register_gst_pad_presence),
166 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
167 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
168 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
169 (gst_plugin_error_get_type), (register_gst_plugin_flags),
170 (gst_plugin_flags_get_type), (register_gst_rank),
171 (gst_rank_get_type), (register_gst_query_type),
172 (gst_query_type_get_type), (register_gst_tag_merge_mode),
173 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
174 (gst_tag_flag_get_type), (register_gst_task_state),
175 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
176 (gst_alloc_trace_flags_get_type),
177 (register_gst_type_find_probability),
178 (gst_type_find_probability_get_type), (register_gst_uri_type),
179 (gst_uri_type_get_type), (register_gst_parse_error),
180 (gst_parse_error_get_type):
181 * win32/common/gstversion.h:
184 2005-11-01 Luca Ognibene <luogni@tin.it>
187 fix docs. popt is dead, long live GOption.
189 2005-10-31 Wim Taymans <wim@fluendo.com>
194 2005-10-31 Andy Wingo <wingo@pobox.com>
198 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
200 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
201 need to serialize property notifications on GLib 2.8. GLib 2.6 has
202 the possibility of deadlocks here if code calling notify() or
203 set() has a lock that can be taken in another notify handler (ABBA
204 with class lock and e.g. python GIL state lock).
206 2005-10-28 Julien MOUTTE <julien@moutte.net>
208 * gst/gstbus.c: Doc updates.
210 2005-10-28 Wim Taymans <wim@fluendo.com>
212 * docs/design/part-TODO.txt:
214 * gst/gstsystemclock.c:
215 * gst/gstsystemclock.h:
218 2005-10-28 Edward Hervey <edward@fluendo.com>
220 * docs/gst/gstreamer-docs.sgml:
221 * docs/gst/gstreamer-sections.txt:
222 the GstURIType documentation page is private, it only defines GstURIType
223 which should be defined in the GstURIHandler page
225 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
227 * gst/gstbin.c: (gst_bin_class_init):
230 Documentation updates.
232 2005-10-28 Wim Taymans <wim@fluendo.com>
234 * docs/gst/gstreamer-sections.txt:
237 Documented the clocks.
239 2005-10-28 Stefan Kost <ensonic@users.sf.net>
241 * docs/gst/gstreamer-sections.txt:
242 move some macros to private sections
243 * gst/gstminiobject.c:
244 * gst/gstminiobject.h:
245 add descriptions provided by ds and some more
247 mark macro as to be removed
249 2005-10-28 Wim Taymans <wim@fluendo.com>
251 * docs/design/part-TODO.txt:
254 * gst/gstiterator.c: (gst_iterator_fold),
255 (gst_iterator_find_custom):
259 2005-10-28 Wim Taymans <wim@fluendo.com>
261 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
262 (gst_base_transform_init):
265 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
266 An EOS event marks the queue as completely filled.
268 2005-10-27 Wim Taymans <wim@fluendo.com>
270 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
271 (gst_base_sink_do_sync), (gst_base_sink_get_position):
274 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
275 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
276 (gst_base_transform_event), (gst_base_transform_getrange),
277 (gst_base_transform_chain):
278 * gst/base/gstbasetransform.h:
280 Protect transform and concurrent buffer alloc with a new lock.
281 Try not to break ABI/API.
283 2005-10-27 Wim Taymans <wim@fluendo.com>
285 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
286 (gst_base_src_init), (gst_base_src_query),
287 (gst_base_src_default_newsegment),
288 (gst_base_src_configure_segment), (gst_base_src_do_seek),
289 (gst_base_src_send_event), (gst_base_src_event_handler),
290 (gst_base_src_pad_get_range), (gst_base_src_loop),
291 (gst_base_src_unlock), (gst_base_src_default_negotiate),
292 (gst_base_src_start), (gst_base_src_deactivate),
293 (gst_base_src_activate_push), (gst_base_src_change_state):
294 Move some stuff around and cleanup things.
296 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
298 * gst/base/gstbasesrc.c: (gst_base_src_query):
299 Add missing break statements.
301 2005-10-27 Wim Taymans <wim@fluendo.com>
303 * check/gst/gstbin.c: (GST_START_TEST):
304 An extra refcount is taken in basesrc.
306 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
307 (gst_base_src_get_range), (gst_base_src_pad_get_range),
309 Small cleanups, check for flushing after being unlocked from the
310 LIVE_LOCK. take refcounts correctly (not yet everywhere).
311 Don't send out EOS when going to READY.
313 2005-10-27 Wim Taymans <wim@fluendo.com>
315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
316 (gst_base_sink_get_position):
319 * gst/gstbin.c: (message_check), (bin_replace_message),
320 (bin_remove_messages), (is_eos), (gst_bin_add_func),
321 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
322 (bin_query_duration_init), (bin_query_duration_fold),
323 (bin_query_duration_done), (bin_query_generic_fold),
325 * tools/gst-launch.c: (main):
328 2005-10-26 Stefan Kost <ensonic@users.sf.net>
330 * examples/controller/audio-example.c: (main):
331 * examples/queue/queue.c: (event_loop):
332 * gst/base/gstbasetransform.h:
333 * gst/gstelement.c: (gst_element_send_event):
335 * gst/gstpad.c: (gst_pad_send_event):
338 changing log priority in error situations
340 2005-10-25 Wim Taymans <wim@fluendo.com>
342 * gst/gstbin.c: (message_check), (bin_replace_message),
343 (bin_remove_messages), (is_eos), (gst_bin_add_func),
344 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
345 (bin_query_duration_init), (bin_query_duration_fold),
346 (bin_query_duration_done), (bin_query_generic_fold),
348 Some doc and debug updates.
349 Cache previously requested query DURATION for speed. invalidate
350 cached duration if element posts a DURATION message.
352 2005-10-25 Wim Taymans <wim@fluendo.com>
354 * docs/design/part-TODO.txt:
357 * gst/gstbin.c: (message_check), (bin_replace_message),
358 (bin_remove_messages), (is_eos), (gst_bin_add_func),
359 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
360 (bin_query_duration_init), (bin_query_duration_fold),
361 (bin_query_duration_done), (bin_query_generic_fold),
363 Handle SEGMENT_START/DONE messages correctly.
364 More evolved query algorithm that handles duration queries
367 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
368 (gst_element_get_state_func), (gst_element_abort_state),
369 (gst_element_commit_state), (gst_element_lost_state):
375 2005-10-25 Wim Taymans <wim@fluendo.com>
377 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
378 Don't use invalid stream_time.
380 * gst/gstevent.c: (gst_event_new_newsegment):
381 stream_time in newsegment cannot be undefined.
383 2005-10-24 Wim Taymans <wim@fluendo.com>
388 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
390 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
392 2005-10-24 Stefan Kost <ensonic@users.sf.net>
394 * docs/libs/tmpl/gstdparam.sgml:
395 * docs/libs/tmpl/gstdplinint.sgml:
396 * docs/libs/tmpl/gstdpman.sgml:
397 * docs/libs/tmpl/gstdpsmooth.sgml:
398 * docs/libs/tmpl/gstunitconvert.sgml:
401 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
406 === release 0.9.4 ===
408 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
411 releasing 0.9.4, "Tyrannosaurus Rex"
413 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
415 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
416 (gst_file_sink_get_current_offset):
417 Use fseeko() and ftello() if available. When falling back on
418 lseek() to get the current offset, fflush() first to make sure
419 everything is up-to-date and we get the right offset.
421 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
423 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
424 * gst/base/gstbasesrc.c: (gst_base_src_loop):
425 * gst/gsterror.c: (_gst_stream_errors_init):
427 * gst/gstqueue.c: (gst_queue_loop):
429 remove prematurely added error category and clean up the instances
431 2005-10-21 Wim Taymans <wim@fluendo.com>
433 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
434 (gst_base_sink_get_position), (gst_base_sink_query),
435 (gst_base_sink_change_state):
436 Simply set the right flag when going to playing, that's all
437 we need to do instead of calling a function inside the object
438 lock (that could take the lock as well and deadlock)
440 2005-10-21 Wim Taymans <wim@fluendo.com>
442 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
444 Don't warn, the peer element knows what to do best when
445 the seek failed, it might try something else.
447 2005-10-21 Wim Taymans <wim@fluendo.com>
449 * gst/base/gstbasesrc.c: (gst_base_src_init),
450 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
453 2005-10-21 Wim Taymans <wim@fluendo.com>
455 * docs/design/part-segments.txt:
458 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
459 Correctly set caps, even on the subbufer.
461 2005-10-21 Wim Taymans <wim@fluendo.com>
463 * docs/gst/gstreamer-docs.sgml:
464 * docs/gst/gstreamer-sections.txt:
471 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
475 And 2% more doc coverage.
477 2005-10-21 Andy Wingo <wingo@pobox.com>
479 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
482 2005-10-20 Wim Taymans <wim@fluendo.com>
484 * gst/gsterror.c: (gst_error_get_message):
487 * gst/gststructure.c:
492 2005-10-20 Wim Taymans <wim@fluendo.com>
497 Another 1% more coverage.
499 2005-10-20 Wim Taymans <wim@fluendo.com>
501 * docs/gst/gstreamer-sections.txt:
502 * gst/gstelement.c: (gst_element_get_state_func),
503 (gst_element_abort_state), (gst_element_commit_state),
504 (gst_element_lost_state):
506 * gst/gstquery.c: (gst_query_set_position),
507 (gst_query_parse_position), (gst_query_set_duration),
508 (gst_query_parse_duration), (gst_query_new_convert):
510 Yay! 1% more docs coverage.
512 2005-10-20 Wim Taymans <wim@fluendo.com>
515 * gst/gstquery.c: (gst_query_set_position),
516 (gst_query_parse_position), (gst_query_set_duration),
517 (gst_query_parse_duration), (gst_query_new_convert):
519 * gst/gstutils.c: (gst_element_query_convert):
521 Docs and consistency fixes.
523 2005-10-20 Wim Taymans <wim@fluendo.com>
529 2005-10-20 Wim Taymans <wim@fluendo.com>
531 * gst/gstbin.c: (message_check), (bin_replace_message),
532 (bin_remove_messages), (is_eos), (gst_bin_add_func),
533 (update_degree), (gst_bin_sort_iterator_next),
534 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
535 Reworked the message handling a bit, cache the messages instead of
536 only the senders. alows us to do more in the future.
538 2005-10-20 Wim Taymans <wim@fluendo.com>
540 * docs/design/part-TODO.txt:
543 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
544 (gst_base_sink_query):
545 Don't use clock time to report position when in EOS.
547 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
549 * tools/gst-inspect.c: (print_interfaces),
550 (print_element_properties_info), (print_element_info):
551 Fix interface output with gst-inspect -a; don't print
552 newlines after double/float properties.
554 2005-10-20 Wim Taymans <wim@fluendo.com>
556 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
557 (gst_base_sink_query):
558 Speed up current position calculation.
560 * gst/base/gstbasesrc.c: (gst_base_src_query),
561 (gst_base_src_default_newsegment):
562 Correctly set stream position in newsegment.
564 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
565 (update_degree), (gst_bin_sort_iterator_next),
566 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
567 * gst/gstmessage.c: (gst_message_new_custom):
568 Clean up debugging info
570 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
571 (gst_queue_loop), (gst_queue_handle_src_query):
574 2005-10-19 Wim Taymans <wim@fluendo.com>
576 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
577 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
578 Fix query handling again.
580 2005-10-19 Wim Taymans <wim@fluendo.com>
582 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
583 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
584 * gst/base/gstbasesrc.c: (gst_base_src_query):
585 * gst/elements/gstfilesink.c: (gst_file_sink_query):
586 * gst/elements/gsttypefindelement.c:
587 (gst_type_find_handle_src_query), (find_element_get_length),
588 (gst_type_find_element_activate):
591 * gst/gstquery.c: (gst_query_new_position),
592 (gst_query_set_position), (gst_query_parse_position),
593 (gst_query_new_duration), (gst_query_set_duration),
594 (gst_query_parse_duration), (gst_query_set_segment),
595 (gst_query_parse_segment):
597 Bundling query position/duration is not a good idea since duration
598 does not change much and we don't want to recalculate it for every
599 position query, so they are separated again..
600 Base value in segment query is not needed.
602 * gst/gstqueue.c: (gst_queue_handle_src_query):
603 * gst/gstutils.c: (gst_element_query_position),
604 (gst_element_query_duration), (gst_pad_query_position),
605 (gst_pad_query_duration):
607 Updates for query API change.
608 Added some docs here and there.
610 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
612 * check/gst/gstbin.c: (GST_START_TEST):
613 * check/gst/gstghostpad.c: (GST_START_TEST):
614 * check/pipelines/cleanup.c: (GST_START_TEST):
615 wait on thread to die so we can check refcount correctly
617 2005-10-18 Wim Taymans <wim@fluendo.com>
619 * check/pipelines/stress.c: (GST_START_TEST):
620 Make check a little more time consuming.
622 2005-10-18 Wim Taymans <wim@fluendo.com>
625 * check/pipelines/stress.c: (GST_START_TEST),
626 (simple_launch_lines_suite), (main):
627 Small state change torture test.
629 * docs/design/part-states.txt:
630 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
631 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
632 (gst_base_sink_change_state):
633 Never take state lock from streaming thread, clean up ugly
634 hacks. Unfortunatly core does not yet support nice ways to
637 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
639 Start state recalc if a STATE_DIRTY message is posted, but only
642 * gst/gstelement.c: (gst_element_sync_state_with_parent),
643 (gst_element_get_state_func), (gst_element_abort_state),
644 (gst_element_commit_state), (gst_element_lost_state),
645 (gst_element_set_state_func), (gst_element_change_state):
647 State variables are now protected with the LOCK, the state
648 lock is only used to serialize _set_state().
650 2005-10-18 Wim Taymans <wim@fluendo.com>
652 * check/gst/gstbin.c: (GST_START_TEST):
653 * check/gst/gstmessage.c: (GST_START_TEST):
654 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
655 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
657 * gst/gstelement.c: (gst_element_abort_state),
658 (gst_element_commit_state), (gst_element_lost_state):
659 * gst/gstmessage.c: (gst_message_new_state_changed),
660 (gst_message_new_state_dirty), (gst_message_new_segment_start),
661 (gst_message_new_segment_done), (gst_message_new_duration),
662 (gst_message_parse_state_changed),
663 (gst_message_parse_segment_start),
664 (gst_message_parse_segment_done), (gst_message_parse_duration):
666 * tools/gst-launch.c: (event_loop):
667 Seriously, this is better than a previous commit as we only need
668 to notify the fact that an element changed state in a streaming
669 thread, marking the state of the parents dirty, hence the
670 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
673 2005-10-18 Wim Taymans <wim@fluendo.com>
675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
676 (gst_bin_recalc_func):
677 * gst/gstelement.c: (gst_element_set_clock),
678 (gst_element_abort_state), (gst_element_lost_state):
679 Cleanups, prepare for state change fixes.
681 2005-10-18 Wim Taymans <wim@fluendo.com>
684 * gst/gstelement.c: (gst_element_class_init),
685 (gst_element_set_state), (gst_element_set_state_func):
688 GThreadPool in GstBinClass to monitor async state changes.
689 state_cookie in GstElement to detect concurrent gst/set state.
690 set_state is now virtual too in case a very complicated element
691 has to be constructed.
693 2005-10-18 Wim Taymans <wim@fluendo.com>
695 * check/gst/gstbin.c: (GST_START_TEST):
696 * check/gst/gstmessage.c: (GST_START_TEST):
697 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
698 * gst/gstbin.c: (bin_bus_handler):
699 * gst/gstelement.c: (gst_element_commit_state),
700 (gst_element_lost_state):
701 * gst/gstmessage.c: (gst_message_new_state_changed),
702 (gst_message_new_segment_start), (gst_message_new_segment_done),
703 (gst_message_new_duration), (gst_message_parse_state_changed),
704 (gst_message_parse_segment_start),
705 (gst_message_parse_segment_done), (gst_message_parse_duration):
707 * tools/gst-launch.c: (event_loop):
708 Make messages future proof.
709 state-change gets a flag if it was a message comming from the
711 segment-start/stop can also be specified in other formats.
712 A message to notify an app that a pipeline changed playback
714 Also fix a GstMessage leak in -launch
716 2005-10-18 Andy Wingo <wingo@pobox.com>
718 * gst/gstelement.c (gst_element_dispose): More helpful message.
720 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
722 * gst/gstregistry.c: (gst_registry_scan_path_level):
723 unref a plug-in we get that was already initialized
725 2005-10-18 Stefan Kost <ensonic@users.sf.net>
727 * docs/gst/gstreamer-sections.txt:
728 * docs/libs/gstreamer-libs-sections.txt:
733 2005-10-17 Andy Wingo <wingo@pobox.com>
735 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
738 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
740 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
742 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
743 (gst_element_get_state_func): Better debug message.
744 (gst_element_commit_state): s/INFO/DEBUG/.
745 (gst_element_lost_state, gst_element_change_state):
747 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
748 (gst_message_new_custom): s/INFO/LOG/.
750 2005-10-17 Michael Smith <msmith@fluendo.com>
752 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
753 Check if end time is valid using end time, not start time.
755 2005-10-17 Stefan Kost <ensonic@users.sf.net>
757 * check/gst-libs/controller.c: (GST_START_TEST),
758 (gst_controller_suite):
759 * libs/gst/controller/gstcontroller.c:
760 (gst_controlled_property_set_interpolation_mode):
761 * libs/gst/controller/gstcontroller.h:
762 * libs/gst/controller/gstinterpolation.c:
763 * testsuite/controller/.cvsignore:
764 * testsuite/controller/Makefile.am:
765 * testsuite/controller/interpolator.c:
766 merge controller testsuites
768 remove mem-chunk from docs
770 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
774 * gst/gsttrashstack.c:
775 * gst/gsttrashstack.h:
776 out. get out. you're fired. to the Attic !
778 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
780 * gst/gstcaps.c: (gst_caps_intersect):
781 fix signedness issues in a (hopefully) correct way
782 * gst/gstelement.c: (gst_element_pads_activate):
784 * gst/gstobject.c: (gst_object_set_parent):
787 2005-10-17 Julien MOUTTE <julien@moutte.net>
789 * gst/gstvalue.h: Fix prototypes.
791 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
793 * docs/gst/gstreamer-sections.txt:
794 * gst/gst.c: (gst_version_string):
796 * gst/gstversion.h.in:
797 * win32/common/libgstreamer.def:
798 add gst_version_string ()
800 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
804 * gst/gst.c: (init_post):
805 * win32/common/config.h.in:
807 * gst/gstcaps.c: (gst_caps_intersect):
808 use gint64, the range could be bigger than a guint
810 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
813 document potential problem in 2038
815 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
817 * gst/gstcaps.c: (gst_caps_intersect):
818 Fix guint j diving under 0
820 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
823 * win32/common/config.h:
824 * win32/common/config.h.in:
825 check for process.h, declares getpid() on Windows
827 include process.h if we have it
828 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
830 fix signedness issues
831 * win32/common/libgstreamer.def:
834 2005-10-16 Julien MOUTTE <julien@moutte.net>
836 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
837 fix. Because of unsigned ints, caps intersection was going nuts and
838 trying to access structures with G_MAXUINT index. That fixes
839 videotestsrc ! ffmpegcolorspace ! fakesink
840 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
843 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
846 use the gettext macro
847 * gst/elements/gstelements.c:
849 * gst/indexers/gstindexers.c:
850 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
851 * win32/common/config.h:
853 * win32/common/config.h.in:
854 add the template to generate config.h
855 * win32/common/gstenumtypes.c:
856 * win32/common/gstversion.h:
859 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
861 * gst/gst.c: (gst_version):
862 * gst/gstversion.h.in:
865 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
868 Oops, add missing closing bracket.
870 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
873 use common m4's for argument checking
875 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
877 * docs/gst/gstreamer-sections.txt:
879 Add GST_EVENT_TYPE_NAME() macro.
881 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
884 * gst/gstpluginfeature.c:
886 privatize more symbols
888 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
891 add srcdir, builddir includes to GST_ALL_CFLAGS, since
892 everything that uses GStreamer API should have the includes
894 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
896 * docs/gst/gstreamer-sections.txt:
897 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
899 give each value a _get_type, removes the DATA exports
901 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
905 remove _gst_registry_auto_load, not used anymore
906 * gst/gstbin.c: (gst_bin_get_type):
908 * gst/gstelement.c: (gst_element_get_type):
910 * gst/gstobject.c: (gst_object_get_type):
912 * gst/gstpad.c: (gst_pad_get_type):
914 make _get_type functions similar, fixes data export from library
916 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
919 correctly make conditionals
920 * gst/elements/Makefile.am:
921 * gst/elements/gstelements.c:
922 fix typo causing fdsrc not to build
924 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
926 * testsuite/Makefile.am:
927 * testsuite/bytestream/.cvsignore:
928 * testsuite/bytestream/Makefile.am:
929 * testsuite/bytestream/filepadsink.c:
930 * testsuite/bytestream/gstbstest.c:
931 * testsuite/bytestream/test1.c:
932 * testsuite/bytestream/testfile1:
933 * testsuite/caps/normalisation.c:
934 * testsuite/caps/random.c: (main):
935 * testsuite/cleanup/.cvsignore:
936 * testsuite/cleanup/Makefile.am:
937 * testsuite/cleanup/cleanup1.c:
938 * testsuite/cleanup/cleanup2.c:
939 * testsuite/cleanup/cleanup3.c:
940 * testsuite/cleanup/cleanup4.c:
941 * testsuite/cleanup/cleanup5.c:
942 * testsuite/controller/interpolator.c:
943 * testsuite/debug/printf_extension.c: (main):
944 * testsuite/elements/tee.c:
945 * testsuite/negotiation/.cvsignore:
946 * testsuite/negotiation/Makefile.am:
947 * testsuite/negotiation/pad_link.c:
948 * testsuite/pad/Makefile.am:
949 * testsuite/pad/chainnopull.c:
950 * testsuite/pad/getnopush.c:
951 * testsuite/pad/link.c:
952 * testsuite/refcounting/sched.c: (create_pipeline):
953 * testsuite/registry/Makefile.am:
954 * testsuite/registry/gst-print-formats.c:
955 * testsuite/schedulers/.cvsignore:
956 * testsuite/schedulers/142183-2.c:
957 * testsuite/schedulers/142183.c:
958 * testsuite/schedulers/143777-2.c:
959 * testsuite/schedulers/143777.c:
960 * testsuite/schedulers/147713.c:
961 * testsuite/schedulers/147819.c:
962 * testsuite/schedulers/147894-2.c:
963 * testsuite/schedulers/147894.c:
964 * testsuite/schedulers/Makefile.am:
965 * testsuite/schedulers/group_link.c:
966 * testsuite/schedulers/queue_link.c:
967 * testsuite/schedulers/relink.c:
968 * testsuite/schedulers/unlink.c:
969 * testsuite/schedulers/unref.c:
970 * testsuite/schedulers/useless_iteration.c:
971 * testsuite/states/bin.c:
972 clean out/remove some stuff from the testsuite directories
974 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
977 check for some headers
978 * gst/elements/Makefile.am:
979 * gst/elements/gstelements.c:
980 don't compile fdsrc without sys/socket.h
981 * gst/indexers/Makefile.am:
982 * gst/indexers/gstindexers.c: (plugin_init):
983 don't compile fileindex without mmap
985 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
993 * docs/gst/Makefile.am:
994 * examples/helloworld/Makefile.am:
996 * gst/base/Makefile.am:
997 * gst/check/Makefile.am:
998 * gst/elements/Makefile.am:
999 * gst/indexers/Makefile.am:
1000 * gst/parse/Makefile.am:
1001 * libs/gst/controller/Makefile.am:
1002 * libs/gst/dataprotocol/Makefile.am:
1003 * examples/helloworld/helloworld.c: (event_loop):
1004 compile fixes, though it's not being compiled currently
1006 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1008 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1009 Add some simple tests for the new taglist date API.
1011 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1013 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1014 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1015 Beautify 'last-message' output: print 'none' for buffer timestamps
1016 and durations if none is set; improve alignment with next messages.
1018 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1020 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1021 * gst/gstpluginfeature.h:
1022 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1023 * gst/gstregistry.h:
1024 * docs/gst/gstreamer-sections.txt:
1025 Add new API to check plugin feature version requirements.
1027 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1028 Some basic tests for the above.
1030 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1032 * gst/gststructure.c: (gst_structure_to_string):
1033 guard against NULL printf - happens when for example
1034 a message structure with GstClock gets serialized
1036 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1038 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1039 Fix presumable copy'n'pasto.
1041 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1043 * gst/elements/gstfakesrc.h:
1044 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1045 * gst/elements/gsttypefindelement.c:
1047 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1048 I wonder if this could actually write +2GB files before
1050 2005-10-13 Andy Wingo <wingo@pobox.com>
1052 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1053 Fix Timmeke Waymans bug.
1054 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1055 string of the proper length to gst_caps_from_string. There's a
1056 potential for, before this fix, that this could cause someone
1057 connecting over the network to cause a segfault if the payload is
1060 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1062 * docs/design/draft-push-pull.txt:
1063 * docs/design/part-overview.txt:
1064 * docs/random/TODO-pre-0.9:
1065 * docs/random/old/ChangeLog.gstreamer:
1066 * gst/base/gstpushsrc.c:
1070 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * gst/glib-compat.c: (gst_flags_get_first_value):
1073 * gst/glib-compat.h:
1074 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1075 (gst_value_compare_double), (gst_value_serialize_flags):
1076 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1079 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1082 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1084 * tools/gst-launch.c: (event_loop):
1085 print out clock nicely
1087 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1089 * docs/gst/gstreamer-sections.txt:
1091 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1092 (gst_tag_list_get_date_index):
1093 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1094 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1096 2005-10-13 Julien MOUTTE <julien@moutte.net>
1098 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1099 (gst_collectpads_chain):
1100 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1103 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1105 * docs/gst/gstreamer-sections.txt:
1108 * tools/gst-inspect.c: (main):
1109 * tools/gst-launch.c: (main):
1110 * tools/gst-run.c: (main):
1111 * tools/gst-xmlinspect.c: (main):
1112 fix GOption context leaks
1115 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1119 * win32/common/config.h:
1121 * win32/vs6/grammar.dsp:
1122 * win32/vs6/libgstelements.dsp:
1123 * win32/vs6/libgstreamer.dsp:
1126 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1129 * gst/base/gstbasesrc.c: (gst_base_src_query):
1130 fix more guint64<->gdouble conversions
1132 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1135 add win32-update target
1136 * win32/common/gstconfig.h:
1137 * win32/common/gstenumtypes.c:
1138 * win32/common/gstenumtypes.h:
1139 * win32/common/gstversion.h:
1140 add files that visual studio can't generate
1142 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1145 add a win32-update target
1148 2005-10-12 Wim Taymans <wim@fluendo.com>
1150 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1151 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1152 * gst/gstelement.c: (gst_element_commit_state),
1153 (gst_element_set_state):
1154 Protect flags with proper lock.
1155 unref provided cached clock in dispose.
1157 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1160 * gst/gstminiobject.h:
1162 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1163 removed unused flags from miniobject
1166 2005-10-12 Wim Taymans <wim@fluendo.com>
1168 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1169 (gst_file_sink_event), (gst_file_sink_render):
1170 Flush before seeking.
1172 2005-10-12 Andy Wingo <wingo@pobox.com>
1174 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1175 always been the case.
1177 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1179 * check/gst/gstbin.c: (GST_START_TEST):
1180 * docs/gst/gstreamer-sections.txt:
1181 * gst/base/gstbasesink.c: (gst_base_sink_init):
1182 * gst/base/gstbasesrc.c: (gst_base_src_init),
1183 (gst_base_src_get_range), (gst_base_src_check_get_range),
1184 (gst_base_src_start), (gst_base_src_stop):
1185 * gst/base/gstbasesrc.h:
1186 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1187 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1188 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1192 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1194 * gst/gstelement.c: (gst_element_is_locked_state),
1195 (gst_element_set_locked_state), (gst_element_commit_state),
1196 (gst_element_set_state):
1198 * gst/gstindex.c: (gst_index_init):
1200 * gst/gstminiobject.h:
1201 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1202 (gst_object_set_parent):
1204 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1205 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1207 * gst/gstpadtemplate.h:
1208 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1209 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1210 * gst/gstpipeline.h:
1211 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1212 (gst_file_index_commit):
1213 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1214 * testsuite/pad/link.c: (gst_test_src_init),
1215 (gst_test_filter_init), (gst_test_sink_init):
1216 * testsuite/states/locked.c: (main):
1217 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1218 moved bitshift from macro to enum definition
1220 2005-10-12 Wim Taymans <wim@fluendo.com>
1222 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1223 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1224 (gst_file_sink_render):
1225 Some more debugging info.
1227 2005-10-12 Wim Taymans <wim@fluendo.com>
1229 * docs/design/part-states.txt:
1230 * tools/gst-launch.c: (main):
1232 Revert non-intentional change.
1234 2005-10-12 Wim Taymans <wim@fluendo.com>
1236 * check/gst/gstbin.c: (GST_START_TEST):
1237 * check/gst/gstelement.c: (GST_START_TEST):
1238 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1239 * check/gst/gstghostpad.c: (GST_START_TEST):
1240 * check/gst/gstpipeline.c: (GST_START_TEST):
1241 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1242 * check/states/sinks.c: (GST_START_TEST):
1243 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1244 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1245 (gst_bin_remove_func), (gst_bin_get_state_func),
1246 (gst_bin_recalc_state), (gst_bin_change_state_func),
1248 * gst/gstelement.c: (gst_element_get_state_func),
1249 (gst_element_get_state), (gst_element_abort_state),
1250 (gst_element_commit_state), (gst_element_set_state),
1251 (gst_element_change_state), (gst_element_change_state_func):
1253 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1254 (gst_pipeline_provide_clock_func):
1255 * gst/gstutils.c: (gst_element_link_pads_filtered):
1256 * tools/gst-launch.c: (main):
1257 * tools/gst-typefind.c: (main):
1258 Use GstClockTime in _get_state() instead of GTimeVal.
1259 Remove old code in gstutils.c
1261 2005-10-12 Andy Wingo <wingo@pobox.com>
1263 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1266 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1267 there is no task. Shouldn't affect any code, as nothing in our
1268 plugins checks this return value.
1269 (gst_pad_stop_task): Also take the stream lock if the pad has no
1272 2005-10-12 Wim Taymans <wim@fluendo.com>
1274 * gst/gstpad.c: (pre_activate), (post_activate),
1275 (gst_pad_activate_pull), (gst_pad_activate_push):
1276 Cleanup activation code. Reset old state if
1279 2005-10-12 Wim Taymans <wim@fluendo.com>
1281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1282 (gst_base_sink_change_state):
1283 No need to prerol after receiving EOS.
1285 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1286 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1287 * gst/elements/gstidentity.c: (gst_identity_event):
1288 Print events more verbosely.
1290 2005-10-12 Wim Taymans <wim@fluendo.com>
1292 * check/Makefile.am:
1293 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1294 * check/states/sinks2.c:
1295 Moved sinks2 testcode in sinks check.
1297 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1298 (gst_bin_remove_func), (gst_bin_recalc_state),
1299 (gst_bin_change_state_func), (bin_bus_handler):
1300 Fix potential race condition when _get_state() iterated over an
1301 ASYNC element right before it posted a state completion.
1304 Do proper cast here.
1306 * gst/gstevent.c: (gst_event_new_newsegment),
1307 (gst_event_parse_newsegment):
1308 A playback rate of 0.0 is not allowed.
1310 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1312 * win32/common/config.h:
1313 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1314 (_trewinddir), (_ttelldir), (_tseekdir):
1315 * win32/common/dirent.h:
1316 * win32/common/gtchar.h:
1317 * win32/common/libgstbase.def:
1318 * win32/common/libgstreamer.def:
1319 * win32/vs6/grammar.dsp:
1320 * win32/vs6/gst_inspect.dsp:
1321 * win32/vs6/gst_launch.dsp:
1322 * win32/vs6/gstreamer.dsw:
1323 * win32/vs6/libgstbase.dsp:
1324 * win32/vs6/libgstelements.dsp:
1325 * win32/vs6/libgstreamer.dsp:
1326 Visual Studio 6 project files, and a new common directory.
1329 2005-10-11 Wim Taymans <wim@fluendo.com>
1331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1332 (gst_base_sink_do_sync), (gst_base_sink_query),
1333 (gst_base_sink_change_state):
1334 * gst/base/gstbasesink.h:
1335 Correctly parse newsegment info.
1337 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1339 * gst/gst.c: (init_post):
1340 split plugin paths correctly
1342 2005-10-11 Wim Taymans <wim@fluendo.com>
1344 * check/gst/gstevent.c: (GST_START_TEST):
1345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1346 (gst_base_sink_change_state):
1347 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1348 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1349 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1350 * gst/gstevent.c: (gst_event_new_newsegment),
1351 (gst_event_parse_newsegment):
1353 Added extra flag to newsegment for future API freeze.
1354 Updated check and base elements.
1356 2005-10-11 Julien MOUTTE <julien@moutte.net>
1358 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1359 (gst_collectpads_add_pad), (gst_collectpads_pop),
1360 (gst_collectpads_event), (gst_collectpads_chain):
1361 * gst/base/gstcollectpads.h: Handle EOS correctly.
1363 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1365 * tools/gst-launch.c: (main):
1366 more null protecting
1368 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1370 * gst/gst-i18n-lib.h:
1371 check for ENABLE_NLS, not GETTEXT_PACKAGE
1372 * gst/gstregistry.c: (gst_registry_add_plugin),
1373 (gst_registry_scan_path_level),
1374 (_gst_registry_remove_cache_plugins):
1375 protect possibly NULL strings
1376 * gst/parse/types.h:
1377 config.h already included before
1378 * tools/gst-inspect.c: (main):
1379 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1380 check for ENABLE_NLS, not GETTEXT_PACKAGE
1381 * tools/gst-launch.c: (main):
1382 check for ENABLE_NLS, not GETTEXT_PACKAGE
1384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1387 if we don't have glib, fail before testing 2.8
1388 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1389 fix a leak, should fix plugins-base testsuite
1391 2005-10-11 Andy Wingo <wingo@pobox.com>
1393 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1394 take the mode we're going to as an arg. Go head and set the mode
1395 and flushing flags now, so that if the activate function starts a
1396 thread all the flags will be in the right state.
1397 (post_activate): Renamed also. Just handle making sure streaming
1398 finishes for the deactivation case, and setting the deactivated
1400 (gst_pad_set_active): Complain loudly if deactivation fails.
1401 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1402 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1403 remove the terrible hack.
1405 2005-10-11 Wim Taymans <wim@fluendo.com>
1407 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1408 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1409 (gst_bin_recalc_state), (gst_bin_change_state_func),
1410 (gst_bin_dispose), (bin_bus_handler):
1412 Prepare to make current EOS message queue more generic.
1415 * gst/gstevent.c: (gst_event_new_newsegment),
1416 (gst_event_parse_newsegment):
1418 Rename base to stream_time.
1423 2005-10-11 Wim Taymans <wim@fluendo.com>
1425 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1426 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1427 (gst_bin_change_state_func), (bin_bus_handler):
1429 Work on proper clock selection.
1431 2005-10-11 Edward Hervey <edward@fluendo.com>
1433 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1434 * libs/gst/controller/gstcontroller.h:
1435 Added GList* version of _remove_properties() in order to be able to wrap
1438 2005-10-11 Wim Taymans <wim@fluendo.com>
1440 * docs/design/part-states.txt:
1443 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1444 (gst_bin_change_state_func), (bin_bus_handler):
1445 Doc updates. Don't distribute the same clock over and over again.
1451 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1452 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1453 (gst_pad_send_event):
1455 Make probe emission threadsafe again.
1456 Register quarks and move _get_name() from utils.
1459 * gst/gstpipeline.c: (gst_pipeline_class_init),
1460 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1461 Only redistribute the clock of it changed.
1463 * gst/gstsystemclock.h:
1468 Moved the _flow_get_name() to GstPad.
1470 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1472 * check/gst-libs/gdp.c: (GST_START_TEST):
1473 * check/gst/gstcaps.c: (GST_START_TEST):
1474 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1475 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1476 (gst_dp_packet_from_caps):
1477 fix more valgrind warnings before turning up the heat
1479 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1481 * gst/parse/grammar.y:
1482 some cleanup before the hacking
1484 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1486 * gst/base/gstbasesrc.c: (gst_base_src_query):
1488 * gst/gstutils.c: (gst_guint64_to_gdouble),
1489 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1491 externalize, basesrc uses it
1492 obviously the implementation needs testing
1494 2005-10-10 Wim Taymans <wim@fluendo.com>
1496 * tests/sched/Makefile.am:
1497 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1498 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1500 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1502 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1503 apparently converting from guint64 to double is not implemented
1506 2005-10-10 Wim Taymans <wim@fluendo.com>
1508 * check/Makefile.am:
1509 * check/generic/states.c: (GST_START_TEST):
1510 * check/gst/gstbin.c: (GST_START_TEST):
1511 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1512 * check/states/sinks.c: (GST_START_TEST):
1513 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1515 Check fixes, use API as stated in design docs, remove hacks.
1517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1518 (gst_base_sink_change_state):
1519 Catch stopping our task while we're shutting down.
1521 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1522 (gst_bin_remove_func), (gst_bin_get_state_func),
1523 (gst_bin_recalc_state), (gst_bin_change_state_func),
1526 * gst/gstelement.c: (gst_element_init),
1527 (gst_element_get_state_func), (gst_element_abort_state),
1528 (gst_element_commit_state), (gst_element_lost_state),
1529 (gst_element_set_state), (gst_element_change_state),
1530 (gst_element_change_state_func):
1532 New state change algorithm (see #318116)
1534 * gst/gstpipeline.c: (gst_pipeline_class_init),
1535 (gst_pipeline_init), (gst_pipeline_set_property),
1536 (gst_pipeline_get_property), (do_pipeline_seek),
1537 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1538 * gst/gstpipeline.h:
1539 Remove crude state change hacks.
1544 * tools/gst-launch.c: (main):
1545 Fixes for state change. Needs some more work to fully use the
1548 2005-10-10 Andy Wingo <wingo@pobox.com>
1550 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1552 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1553 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1556 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1558 * gst/gstiterator.c: (gst_iterator_new):
1559 Fix my previous commit: GTypes passed to gst_iterator_new()
1560 can be fundamental types.
1562 2005-10-10 Wim Taymans <wim@fluendo.com>
1564 * gst/gstelement.c: (gst_element_iterate_pad_list),
1565 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1566 (gst_element_iterate_sink_pads):
1567 Use src/sink pads lists for the respective iterators instead
1570 2005-10-10 Andy Wingo <wingo@pobox.com>
1572 Merged in popt removal + GOption addition patch from Ronald, bug
1575 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1576 GstElement macros around, remove popt-related symbols, add goption
1579 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1581 * docs/gst/Makefile.am:
1582 * docs/libs/Makefile.am: No POPT_CFLAGS.
1584 * examples/manual/Makefile.am:
1585 * docs/manual/basics-init.xml: Doc updates with an example.
1587 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1588 (gst_init), (parse_one_option), (parse_goption_arg):
1589 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1590 bit of hand merging and debugging to get the GOption stuff working
1593 * tests/Makefile.am:
1594 * tools/Makefile.am:
1595 * tools/gst-inspect.c: (main):
1596 * tools/gst-launch.c: (main):
1597 * tools/gst-run.c: (main):
1598 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1600 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1602 * gst/gstiterator.c: (gst_iterator_new):
1603 Add assertions to make sure passed GType is likely to really
1604 be a GType (as the compiler won't catch it if the size and
1605 GType arguments get mixed up, see #318447).
1607 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1609 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1611 * gst/gstbin.c: (gst_bin_iterate_sorted):
1612 Pass GType and size arguments to gst_iterator_new() in the right
1613 order (maybe we should make _new() take the GType as first argument
1614 just like _new_list()?) (#318447).
1617 2005-10-10 Wim Taymans <wim@fluendo.com>
1619 * gst/gstelement.c: (gst_element_finalize):
1620 And free the GStaticRecMutex too
1622 2005-10-10 Andy Wingo <wingo@pobox.com>
1624 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1625 Allocate and free the mutex properly.
1627 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1629 (GstElement): The state_lock is now recursive. Rebuild your
1630 plugins, suckers. Old macros adapted.
1632 * docs/gst/gstreamer-sections.txt: Doc updates.
1635 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1636 (g_static_rec_cond_wait): Ported from state changes patch, while
1637 we wait on bug #317802 to be solved in a well-distributed GLib.
1639 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1640 gst_element_change_state, variable name changes.
1641 (gst_element_change_state): Split out of gst_element_set_state in
1642 preparation for the state change merge. Doesn't pay attention to
1643 the 'transition' argument.
1644 (gst_element_set_state): Updates, hopefully purely cosmetic.
1645 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1647 (gst_element_get_state_func): Renamed from get_state, cosmetic
1650 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1652 * gst/elements/gstelements.c:
1653 * win32/GStreamer.vcproj:
1655 * win32/dirent.c: (_tseekdir):
1656 * win32/gst-inspect.vcproj:
1657 * win32/gst-launch.vcproj:
1658 * win32/gstconfig.h:
1659 * win32/gstelements.vcproj:
1660 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1661 * win32/gstreamer.def:
1663 updates for the win32 build (patch from Sebastien Moutte)
1665 2005-10-10 Andy Wingo <wingo@pobox.com>
1667 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1668 gst_bin_get_state, cleaned up (but no logic changes).
1669 (bin_element_is_sink): Comment updates.
1670 (sink_iterator_filter): Remove needless cast.
1671 (gst_bin_iterate_sinks): Doc update.
1672 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1673 cleaned up (but no logic changes).
1675 * check/states/sinks.c (test_src_sink): Cleanups from the state
1677 (test_livesrc_sink): Sync on the state.
1679 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1680 the state change patch.
1682 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1685 * check/gst/gstbin.c: Merge in some style fixes and additional
1686 checks from Wim's state change patch.
1688 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1690 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1691 (gst_type_find_helper):
1692 Check whether we have the requested data already in our list of
1693 cached buffers before pulling a new buffer; also make the buffer
1694 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1696 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1701 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1702 don't use long long, it's not portable. Replacing with
1703 gint64 seems to work; let's hope no skeletons fall out of the closet.
1705 2005-10-10 Andy Wingo <wingo@pobox.com>
1707 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1709 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1711 * docs/gst/gstreamer-sections.txt:
1716 * gst/gstmessage.c: (gst_message_parse_state_changed):
1719 more docs, fix compilation
1721 2005-10-09 Philippe Khalaf <burger@speedy.org>
1723 Fixed a few forgotten variables on previous commit
1725 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1727 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1728 Fix evil typefind crasher: getrange() might return a short
1729 buffer at the end of a file, but gst_type_find_peek() must
1730 either return the full data as requested or NULL, but
1731 never a short buffer.
1733 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1735 * gst/gstmessage.c: (gst_message_new_state_changed),
1736 (gst_message_parse_state_changed):
1738 don't use "new", it's a C++ keyword
1740 2005-10-08 Wim Taymans <wim@fluendo.com>
1742 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1743 * gst/gstelement.c: (gst_element_post_message):
1744 * gst/gstpipeline.c: (gst_pipeline_change_state):
1745 Small docs and debug updates.
1747 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1749 * docs/gst/gstreamer-sections.txt:
1750 * gst/gstelementfactory.c:
1755 2005-10-08 Wim Taymans <wim@fluendo.com>
1757 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1758 (gst_bin_dispose), (bin_bus_handler):
1759 Fix typos, add comments.
1760 Clear EOS list when going to PAUSED from any direction and do it
1761 in a threadsafe way.
1762 Get base time in a threadsafe way too.
1763 Fix confusing debug in the change_state function.
1764 Various other small cleanups.
1766 * gst/gstelement.c: (gst_element_post_message):
1767 Fix very verbose bus posting code.
1769 * gst/gstpipeline.c: (gst_pipeline_class_init),
1770 (gst_pipeline_set_property), (gst_pipeline_get_property),
1771 (gst_pipeline_change_state):
1772 Small ARG_ -> PROP_ cleanup
1774 2005-10-08 Wim Taymans <wim@fluendo.com>
1776 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1777 Do a less CPU demanding EOS check because we can.
1779 2005-10-08 Wim Taymans <wim@fluendo.com>
1781 * libs/gst/dataprotocol/dataprotocol.c:
1782 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1783 (gst_dp_packet_from_event):
1784 * libs/gst/dataprotocol/dataprotocol.h:
1785 * libs/gst/dataprotocol/dp-private.h:
1786 It's about time we bump the version number.
1787 Since event types don't fit in the guint8 anymore describing
1788 the payload type, make payload type 16 bits wide.
1790 2005-10-08 Wim Taymans <wim@fluendo.com>
1792 * docs/design/part-TODO.txt:
1793 * docs/design/part-clocks.txt:
1794 * docs/design/part-events.txt:
1795 * docs/design/part-gstbin.txt:
1796 * docs/design/part-gstelement.txt:
1797 * docs/design/part-gstpipeline.txt:
1798 * docs/design/part-live-source.txt:
1799 * docs/design/part-messages.txt:
1800 * docs/design/part-overview.txt:
1801 * docs/design/part-states.txt:
1804 2005-10-08 Wim Taymans <wim@fluendo.com>
1808 Fix event quark registration.
1809 Add some space between events so we can insert them in the
1812 2005-10-08 Wim Taymans <wim@fluendo.com>
1814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1815 (gst_base_sink_handle_buffer):
1822 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1823 (gst_queue_set_property), (gst_queue_get_property):
1825 Remove old unused properties.
1827 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1828 * docs/gst/gstreamer-sections.txt:
1831 * gst/gstminiobject.c:
1832 * gst/gstminiobject.h:
1836 lots of new docs and doc fixes
1838 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1840 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1842 * gst/gstregistry.c: (gst_registry_lookup_locked),
1843 (gst_registry_scan_path_level):
1844 * gst/gstregistryxml.c: (load_plugin):
1845 Only ever load one plugin for a given plugin basename.
1846 This ensures correct overriding of GST_PLUGIN_PATH over
1847 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1848 system installed plugins.
1850 2005-10-08 Wim Taymans <wim@fluendo.com>
1852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1853 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1854 Prepare for doing QOS.
1856 2005-10-08 Wim Taymans <wim@fluendo.com>
1858 * check/gst/gstbin.c: (GST_START_TEST):
1859 * check/pipelines/cleanup.c: (GST_START_TEST):
1860 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1861 Allow new clock message too.
1863 2005-10-08 Wim Taymans <wim@fluendo.com>
1865 * gst/gstmessage.c: (gst_message_new_error),
1866 (gst_message_new_warning), (gst_message_new_tag),
1867 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1868 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1869 (gst_message_new_segment_start), (gst_message_new_segment_done),
1870 (gst_message_parse_state_changed),
1871 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1872 (gst_message_parse_new_clock):
1874 Also carry the clock in question.
1876 2005-10-08 Wim Taymans <wim@fluendo.com>
1878 * gst/gstmessage.c: (gst_message_new_custom),
1879 (gst_message_new_eos), (gst_message_new_error),
1880 (gst_message_new_warning), (gst_message_new_tag),
1881 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1882 (gst_message_new_new_clock), (gst_message_new_segment_start),
1883 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1884 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1887 Added clock related messages.
1889 * gst/gstpipeline.c: (gst_pipeline_change_state):
1890 Post message when the clock changed.
1892 * tools/gst-launch.c: (event_loop):
1895 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1897 * tools/gst-inspect.c: (print_element_properties_info):
1898 Can't pass NULL strings to g_print() on windows.
1900 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1903 * docs/gst/Makefile.am:
1904 * docs/gst/gstreamer-docs.sgml:
1905 * docs/gst/running.xml:
1906 * docs/version.entities.in:
1907 add a chapter on running GStreamer.
1908 document GST_DEBUG and GST_PLUGIN* env vars
1910 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1915 remove PLUGINS_BUILDDIR stuff
1916 * gst/gst.c: (init_post):
1917 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1919 remove, it was condescending and not needed
1921 2005-10-08 Wim Taymans <wim@fluendo.com>
1923 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1924 (gst_base_sink_handle_object), (gst_base_sink_event),
1925 (gst_base_sink_wait), (gst_base_sink_handle_event),
1926 (gst_base_sink_change_state):
1927 * gst/base/gstbasesink.h:
1928 Repost EOS message while going to PLAYING if still EOS.
1929 Make sure that when receiving a FLUSH_START we don't attempt
1930 to sync on the clock anymore.
1932 2005-10-08 Wim Taymans <wim@fluendo.com>
1934 * tools/gst-launch.c: (event_loop):
1935 Better message printout.
1937 2005-10-08 Wim Taymans <wim@fluendo.com>
1939 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1940 (gst_bin_child_proxy_get_children_count):
1941 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1942 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1943 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1944 (gst_child_proxy_set_valist):
1945 * gst/parse/grammar.y:
1946 Make ChildProxy threadsafe and fix mem leaks.
1948 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1950 * gst/gst.c: (init_post):
1951 debug the GST_PLUGIN_ env vars
1953 2005-10-08 Wim Taymans <wim@fluendo.com>
1955 * check/gst/gstbin.c: (GST_START_TEST):
1956 * check/gst/gstmessage.c: (GST_START_TEST):
1957 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1958 * gst/gstelement.c: (gst_element_commit_state),
1959 (gst_element_lost_state):
1960 * gst/gstmessage.c: (gst_message_new_state_changed),
1961 (gst_message_parse_state_changed):
1963 * tools/gst-launch.c: (event_loop):
1964 Added extra field to STATE_CHANGE message with the pending
1965 state, which will be different from the new state soon.
1967 2005-10-08 Wim Taymans <wim@fluendo.com>
1969 * gst/gstbus.c: (gst_bus_pop):
1971 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1972 Small cleanups and doc updates.
1974 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1976 * gst/gst.c: (init_pre):
1977 * gst/gstbin.c: (gst_bin_add_func):
1978 log distributing clocks and base time
1979 * gst/gstregistry.c: (gst_registry_add_plugin),
1980 (gst_registry_scan_path_level), (gst_registry_scan_path):
1981 clean up the debugging output a little
1982 * gst/gstutils.c: (gst_element_state_get_name):
1983 warn about a memleak (I've actually seen this be used, though
1984 it was probably a bug)
1986 2005-10-07 Wim Taymans <wim@fluendo.com>
1988 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1989 (gst_base_src_init), (gst_base_src_default_newsegment),
1990 (gst_base_src_newsegment), (gst_base_src_do_seek),
1991 (gst_base_src_loop), (gst_base_src_start):
1992 * gst/base/gstbasesrc.h:
1993 Make the newsegment event customizable by subclasses.
1995 2005-10-07 Wim Taymans <wim@fluendo.com>
1997 * gst/gstevent.c: (gst_event_new_buffersize),
1998 (gst_event_parse_buffersize):
2000 New event for future idea.
2002 2005-10-07 Andy Wingo <wingo@pobox.com>
2004 * gst/gstelement.c (gst_element_post_message): Doc update.
2006 * docs/gst/gstreamer-sections.txt: Update.
2008 * gst/gstmessage.c (gst_message_new_application): Made into a
2009 function like honest API calls.
2010 (gst_message_new_element): New message type.
2012 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2014 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2015 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2018 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2019 NO_PREROLL from gst_element_change_state to fall through.
2021 2005-10-07 Wim Taymans <wim@fluendo.com>
2023 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2024 (gst_ghost_pad_do_activate_push):
2025 Activating a ghostpad with no internal pad in push mode
2028 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2031 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2032 Fixes compilation on Windows.
2034 2005-10-07 Michael Smith <msmith@fluendo.com>
2036 * tools/gst-inspect.c:
2037 Print out feature and plugin count at the end when printing out
2040 2005-10-04 Michael Smith <msmith@fluendo.com>
2042 * gst/gsterror.c: (_gst_stream_errors_init):
2043 Add another error string used in a few existing plugins.
2046 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2047 * tools/gst-inspect.c: (print_element_info):
2048 When a feature disappears from a plugin (and the feature exists in
2049 the cached registry file), things went horribly wrong. This isn't a
2050 complete fix, we should actually be removing the 'missing' features
2051 from the features list when we load the actual plugin. That's not
2054 2005-10-04 Johan Dahlin <johan@gnome.org>
2056 * check/gst/gstiterator.c: (GST_START_TEST):
2057 * gst/gstbin.c: (gst_bin_iterate_elements),
2058 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2059 * gst/gstelement.c: (gst_element_iterate_pads):
2060 * gst/gstformat.c: (gst_format_iterate_definitions):
2061 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2062 (gst_iterator_new_list), (gst_iterator_filter):
2063 * gst/gstiterator.h:
2064 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2065 Add a GType to GstIterator, update callsites and tests.
2067 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2069 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2070 give events a chance to be handled by event probes when the pad
2073 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2075 * gst/gstevent.c: (gst_event_type_get_name),
2076 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2078 add string representations for event types
2080 2005-10-06 Wim Taymans <wim@fluendo.com>
2082 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2083 Don't use NULL pointers.
2085 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2087 * gst/gst_private.h:
2091 * gst/gstpluginfeature.c:
2092 widen the debug category in output to fit the biggest one we have
2093 add a bus category and use it
2094 play with the colors
2095 fix up some categories
2097 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2099 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2100 add push activation of sink ghost pads.
2101 Andye, please verify
2103 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2105 * gst/gstutils.c: (gst_element_link_pads):
2106 fix a bug in the case where neither element has a pad
2107 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2108 add a test for that case
2110 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2112 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2113 emit have-data before checking for peers. This allows
2114 for probe handlers to connect elements. This helps autopluggers.
2115 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2117 add six checks, linked/unlinked with no/true/false probe
2119 2005-10-04 Wim Taymans <wim@fluendo.com>
2121 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2122 (gst_fake_sink_event), (gst_fake_sink_preroll),
2123 (gst_fake_sink_render), (gst_fake_sink_change_state):
2124 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2125 (gst_fake_src_get_property), (gst_fake_src_create),
2126 (gst_fake_src_stop):
2127 * gst/elements/gstidentity.c: (gst_identity_stop):
2128 Protect last_message with lock.
2130 2005-10-04 Edward Hervey <edward@fluendo.com>
2133 Added precision in the comments for GST_FORMAT_DEFAULT
2135 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2137 * tools/gst-launch.c: (main):
2138 Don't try to run erroneous pipelines.
2140 2005-10-04 Julien MOUTTE <julien@moutte.net>
2142 * gst/gstbus.c: We don't need this header.
2144 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2149 === release 0.9.3 ===
2151 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2155 Releasing 0.9.3, "Unregistered"
2157 2005-10-03 Andy Wingo <wingo@pobox.com>
2159 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2160 whereby calling a pad's activatepush() function can start a thread
2161 that starts to push or pull before the pad gets the FLUSHING flag
2162 unset. Hack around it by holding the stream lock until the flag is
2163 set. Need to replace this with a proper solution. Together with
2164 the ghost pad fixes, this fixes mp3 playing/tagreading.
2166 * docs/design/part-gstghostpad.txt: Add a note about activation of
2167 proxy pads outside of ghost pads.
2169 * gst/gstghostpad.c: Implement the ghost pad activation design.
2171 2005-10-02 Andy Wingo <wingo@pobox.com>
2173 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2174 It is volatile, after all.
2176 * docs/design/part-gstghostpad.txt: Flesh out activation with
2179 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2182 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2185 Fix (unused) AM_CONDITIONAL tests.
2187 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2189 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2191 * gst/gstutils.c: (gst_pad_query_convert):
2192 Add assertion that makes sure src_val is >=0, just like
2193 gst_query_new_convert() has. (#315895)
2195 2005-09-30 Edward Hervey <edward@fluendo.com>
2197 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2198 Let's not iterate pads we're not interested in, it avoids getting
2199 sky-high refcounts on sinkpad.
2201 2005-09-30 Wim Taymans <wim@fluendo.com>
2203 * gst/gstelement.c: (gst_element_set_state),
2204 (gst_element_change_state):
2205 Small tweak, element in ASYNC remains ASYNC.
2207 2005-09-30 Wim Taymans <wim@fluendo.com>
2209 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2210 Only error is an error.
2212 * gst/gstbin.c: (gst_bin_change_state):
2215 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2216 Also call pad_block in pad alloc.
2218 * gst/gstutils.c: (gst_flow_get_name):
2221 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2223 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2224 (gst_base_src_get_range):
2225 Fix documentation typos. Add some more debug info.
2227 2005-09-29 David Schleef <ds@schleef.org>
2229 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2230 more end-user friendly.
2231 * tools/gst-inspect.c: (main): Check if command-line argument is
2232 a file and attempt to load that file as a plugin.
2234 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2236 * check/gst/gstbin.c:
2237 * check/states/sinks.c:
2238 fix tests for the new warning
2239 * check/gst/gstpipeline.c:
2240 add a test for pipeline and bus interaction
2242 elements should be NULL if they get disposed; add a warning if not
2244 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2247 for 2.6 refcounting, make debug log more correct by printing
2248 the actual refcounts at the time of swap (Wim)
2250 2005-09-29 Andy Wingo <wingo@pobox.com>
2252 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2253 removes signal watches previously added via
2254 gst_bus_add_signal_watch.
2255 (gst_bus_add_signal_watch): Don't return the source id, just store
2256 it on the bus if there wasn't an id already.
2258 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2259 add_signal_watch and remove_signal_watch.
2261 2005-09-29 Edward Hervey <edward@fluendo.com>
2263 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2264 Better if we actually iterate the list :)
2266 2005-09-29 Wim Taymans <wim@fluendo.com>
2268 * check/gst/gstbin.c: (GST_START_TEST):
2269 Change for new bus API.
2271 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2272 (send_messages), (GST_START_TEST), (gstbus_suite):
2273 Change for new bus signal API.
2275 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2276 (gst_bus_source_prepare), (gst_bus_source_check),
2277 (gst_bus_create_watch), (gst_bus_add_watch_full),
2278 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2279 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2281 Remove support for multiple GSources operating on different
2282 message types as it is too complex and unneeded when using
2284 Added support for receiving signals from the bus.
2286 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2288 * docs/libs/tmpl/gstdataprotocol.sgml:
2289 * docs/manual/advanced-dataaccess.xml:
2290 * gst/elements/gstcapsfilter.c:
2292 rename filter-caps to caps property
2294 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2296 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2297 More robust fraction string parsing.
2299 * docs/pwg/appendix-porting.xml:
2300 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2302 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2304 * gst/gstcaps.c: (gst_caps_do_simplify):
2305 Thou shalt not free a structure and then continue using it
2306 in the next loop iteration.
2308 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2310 Add test case for caps simplification.
2312 2005-09-29 Wim Taymans <wim@fluendo.com>
2314 * check/gst/gstbin.c: (GST_START_TEST):
2317 2005-09-29 Wim Taymans <wim@fluendo.com>
2319 * check/gst/gstbin.c: (GST_START_TEST):
2322 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2323 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2324 (find_element), (gst_bin_sort_iterator_next),
2325 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2326 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2327 (gst_bin_change_state), (gst_bin_dispose):
2328 A bin does not have a bus, it gets the bus from the parent.
2330 * gst/gstelement.c: (gst_element_requires_clock),
2331 (gst_element_provides_clock), (gst_element_is_indexable),
2332 (gst_element_is_locked_state), (gst_element_change_state),
2333 (gst_element_set_bus_func):
2336 * gst/gstpipeline.c: (gst_pipeline_class_init),
2337 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2338 The pipeline provides a bus.
2340 2005-09-28 Johan Dahlin <johan@gnome.org>
2342 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2343 gst_structure_get_enum instead of gst_structure_get_int
2345 * gst/gststructure.c (gst_structure_get_enum): Impl.
2347 * gst/gststructure.h (gst_structure_get_enum): Add
2349 * docs/gst/gstreamer-sections.txt: Ditto
2351 * gst/gstmessage.c (gst_message_new_state_changed): Use
2352 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2353 which does introspection.
2354 Reviewed by Christian Schaller
2356 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2358 * gst/gstinfo.c: (gst_debug_log_default):
2359 don't do dummy g_strdup()s
2360 * libs/gst/controller/gstcontroller.c:
2361 (on_object_controlled_property_changed),
2362 (gst_controlled_property_new), (gst_controller_new_valist),
2363 (gst_controller_new_list),
2364 (gst_controller_remove_properties_valist), (gst_controller_set),
2365 (gst_controller_get), (gst_controller_sync_values),
2366 (gst_controller_get_value_array), (_gst_controller_class_init),
2367 (gst_controller_get_type):
2368 * libs/gst/controller/gstcontroller.h:
2369 * libs/gst/controller/gstinterpolation.c:
2370 (gst_controlled_property_find_timed_value_node):
2371 convert // to /**/ comments
2373 2005-09-28 Wim Taymans <wim@fluendo.com>
2375 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2376 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2377 (gst_bus_sync_signal_handler):
2379 Added async-message and sync-message signals to the bus.
2380 Added helper BusFunc to emit signals for all posted messages.
2382 * gst/gstmessage.c: (gst_message_type_get_name),
2383 (gst_message_type_to_quark), (gst_message_get_type):
2385 Register quarks for message names.
2387 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2389 * docs/libs/gstreamer-libs-sections.txt:
2390 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2391 (gst_controller_new_list):
2392 * libs/gst/controller/gstcontroller.h:
2393 added another constructor for language bindings
2395 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2397 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2401 * gst/gstinfo.c: (_gst_debug_init):
2402 slightly more readable color for refcount debugging
2404 2005-09-28 Wim Taymans <wim@fluendo.com>
2406 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2407 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2408 (find_element), (gst_bin_sort_iterator_next),
2409 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2410 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2411 (gst_bin_change_state), (gst_bin_dispose):
2412 Small doc fixes. get_clock -> provide_clock.
2414 * gst/gstelement.c: (gst_element_class_init),
2415 (gst_element_provides_clock), (gst_element_provide_clock),
2416 (gst_element_get_clock), (gst_element_commit_state),
2417 (gst_element_lost_state):
2419 Make get/set_clock() symetric. Add provide_clock vmethod since
2420 that is actually what this function does.
2422 * gst/gstpipeline.c: (gst_pipeline_class_init),
2423 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2424 (gst_pipeline_get_clock):
2425 get_clock -> provide_clock.
2427 2005-09-28 Andy Wingo <wingo@pobox.com>
2429 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2430 lieu of real docs...
2432 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2434 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2436 * gst/elements/gstcapsfilter.c:
2437 * gst/elements/gstfakesink.c:
2438 * gst/elements/gstfakesrc.c:
2439 * gst/elements/gstfdsink.c:
2440 * gst/elements/gstfdsrc.c:
2441 * gst/elements/gstfilesink.c:
2442 * gst/elements/gstfilesrc.c:
2443 * gst/elements/gstidentity.c:
2444 * gst/elements/gsttee.c:
2445 * gst/elements/gsttypefindelement.c:
2446 Make element details static.
2448 2005-09-28 Wim Taymans <wim@fluendo.com>
2450 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2451 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2452 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2453 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2454 (gst_bin_change_state), (gst_bin_dispose):
2455 Some documentation updates.
2456 Clean up dispose handlers.
2458 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2459 * gst/gstpad.c: (gst_pad_dispose):
2460 Clean up dispose handler.
2462 * gst/gstpipeline.c: (gst_pipeline_change_state):
2463 Removed spurious UNLOCK.
2465 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2467 * docs/gst/gstreamer-sections.txt:
2468 * gst/base/gstbasesrc.h:
2473 * gst/gstpipeline.c:
2474 * gst/gstpipeline.h:
2477 added two new functions to the docs
2478 documents all undocumented GstXXXFlags
2479 completed some incomplete docs
2481 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2483 * gst/gstbin.c: (gst_bin_dispose):
2484 * gst/gstelement.c: (gst_element_dispose):
2485 remove now useless and leaky resurrection code in dispose
2486 * gst/base/gstbasesrc.c: (gst_base_src_init):
2487 * gst/gstelementfactory.c: (gst_element_factory_create):
2488 * gst/gstobject.c: (gst_object_set_parent):
2491 2005-09-27 Wim Taymans <wim@fluendo.com>
2493 * docs/design/part-TODO.txt:
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 Remove element variable, we keep element info in the iterator now.
2504 2005-09-27 Andy Wingo <wingo@pobox.com>
2506 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2509 2005-09-27 Wim Taymans <wim@fluendo.com>
2511 * check/gst/gstbin.c: (GST_START_TEST):
2512 Enable check that works now.
2514 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2515 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2516 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2517 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2518 (gst_bin_change_state):
2520 Redid the state change algorithm using a topological sort algo.
2521 Handles all cases correctly.
2522 Exposed iterator for state change order.
2525 Temp storage for state changes. Need to get rid of this soon.
2527 2005-09-27 Wim Taymans <wim@fluendo.com>
2529 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2530 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2531 (link_fold_func), (gst_pad_proxy_setcaps):
2532 Leak fixes, the fold functions need to unref the passed object and
2533 _get_parent_*() returns ref to parent.
2535 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2537 * check/gst/gstbuffer.c: (test_make_writable):
2538 Plug leak in test case and fix 'make check-valgrind'
2540 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2542 * gst/gstbuffer.c: (gst_subbuffer_init):
2543 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2544 works correctly in all circumstances (we could have just copied
2545 the parent buffer's readonly flag, but conceptually it seems
2546 cleaner to mark all subbuffers as read-only). (based on patch
2547 by Alessandro Decina, #314710).
2549 * check/gst/gstbuffer.c: (create_read_only_buffer),
2550 (test_make_writable), (test_subbuffer_make_writable),
2552 Add some tests for gst_buffer_make_writable().
2554 2005-09-27 Wim Taymans <wim@fluendo.com>
2556 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2557 use gst_object_has_ancestor().
2559 * gst/gstobject.c: (gst_object_has_ancestor):
2561 gst_object_has_ancestor() copied from gstbin.c as it is a
2564 * tests/instantiate/create.c: (create_all_elements):
2565 * tests/lat.c: (handoff_src), (handoff_sink):
2566 * tests/sched/runxml.c: (main):
2567 * tests/seeking/seeking1.c: (main):
2568 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2570 Fix compilation of some tests.
2572 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2575 Remove comment. GST_TYPE_G_ERROR is here to stay,
2576 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2579 2005-09-26 Wim Taymans <wim@fluendo.com>
2581 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2582 Added check that shows error in state change order.
2584 2005-09-26 Wim Taymans <wim@fluendo.com>
2586 * gst/gstbin.c: (gst_bin_change_state):
2587 Make state change function use 3 queues again, we were
2588 adding elements in the wrong order.
2590 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2593 * gst/gstpad.c: (gst_pad_dispose):
2594 Added some debug info first.
2596 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2598 * docs/design/draft-push-pull.txt:
2599 * docs/design/part-events.txt:
2600 * docs/design/part-overview.txt:
2601 * docs/design/part-scheduling.txt:
2602 Replace all _pull_region() with _pull_range()
2604 2005-09-26 Andy Wingo <wingo@pobox.com>
2606 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2608 * check/gst-libs/controller.c: Update for controller api change.
2611 * tests/Makefile.am:
2612 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2613 over by GLib bug 118439.
2615 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2616 routines to a function.
2618 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2620 * libs/gst/controller/gsthelper.c:
2621 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2622 (gst_object_sync_values): Renamed from sink_values. Ugh.
2624 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2626 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2627 Renamed from controller_key, as it is exported.
2629 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2631 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2636 * gst/gstpadtemplate.h:
2639 * gst/gstqueryutils.c:
2640 * gst/gstqueryutils.h:
2641 remove queryutils headers after moving the two used functions
2642 to gstquery. also fixes build problem for gstsiddec
2644 2005-09-26 Michael Smith <msmith@fluendo.com>
2646 * tools/gst-launch.1.in:
2647 Correct documentation in manpage of debug syntax
2649 2005-09-26 Wim Taymans <wim@fluendo.com>
2651 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2652 (gst_base_src_is_seekable), (gst_base_src_change_state):
2653 Some more debugging info.
2655 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2657 * docs/gst/gstreamer-sections.txt:
2658 * gst/base/gstbasetransform.h:
2662 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2664 * docs/gst/.cvsignore:
2665 * docs/gst/tmpl/.cvsignore:
2666 * docs/gst/tmpl/gstpipeline.sgml:
2667 * docs/gst/tmpl/gstplugin.sgml:
2668 * gst/gstpipeline.c:
2671 inlined the last two docs files
2672 removed the tmpl directory from cvs (no more conflicts here!)
2674 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2676 * docs/gst/gstreamer-sections.txt:
2677 * docs/gst/tmpl/.cvsignore:
2678 * docs/gst/tmpl/gstpad.sgml:
2679 * docs/gst/tmpl/gstpadtemplate.sgml:
2681 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2682 (gst_pad_finalize), (gst_pad_set_pad_template):
2684 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2685 (gst_pad_template_class_init), (gst_pad_template_init),
2686 (gst_pad_template_dispose), (name_is_valid),
2687 (gst_static_pad_template_get), (gst_pad_template_new),
2688 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2689 (gst_pad_template_pad_created):
2690 * gst/gstpadtemplate.h:
2691 inlined two more docs
2692 factored gstpadtemplate out of gstpad
2694 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2696 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2697 (test_children_state_change_order_semi_sink):
2698 Fix test case: we can't rely on a fixed state change order when
2699 going from READY => PAUSED because the sink might commit its
2700 new state first when the first buffer created by the source
2701 reaches the sink before the source has finished its change state.
2702 (Test case still fails at times, see #316856, comment 5 onwards)
2704 2005-09-24 Wim Taymans <wim@fluendo.com>
2706 * docs/design/part-events.txt:
2707 * docs/design/part-gstbus.txt:
2708 * docs/design/part-gstpipeline.txt:
2709 * docs/design/part-messages.txt:
2710 * docs/design/part-overview.txt:
2711 * docs/design/part-segments.txt:
2718 * gst/gstiterator.c:
2719 Various documentation updates.
2721 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2724 Well, that's embarassing. Luckily we weren't using
2725 GST_CLOCK_DIFF anywhere.
2727 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2729 * common/gtk-doc.mak:
2730 don't fail on building XML, FC4 slave shows a bunch of doc
2731 missing bits that I don't get
2733 * gst/gstpipeline.c:
2734 * gst/gststructure.c:
2737 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2739 * docs/design/part-gstbin.txt:
2740 * docs/design/part-gstbus.txt:
2742 Add blurb about how the bus goes into flushing mode and
2743 drops all messages when its bin goes from READY into NULL
2746 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2748 * docs/gst/gstreamer-sections.txt:
2749 * gst/gststructure.c: (gst_structure_get_clock_time):
2750 * gst/gststructure.h:
2751 add a method to get a GstClockTime out of a structure
2753 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2755 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2756 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2757 Added test to check state change order in bins (can still be made
2758 to fail here under heavy disk load; bails out with 'Push on pad
2759 fakesink:sink0, but it was not activated in push mode').
2761 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2762 Fix state change order when there is only a semi sink (#316856)
2764 * gst/gstbus.c: (gst_bus_class_init):
2765 Use _class_peek_parent(), not _class_ref(); fix docs to say
2766 'default main context' instead of 'mainloop' where that is
2769 * gst/gstelement.c: (gst_element_commit_state),
2770 (gst_element_set_state):
2771 Fix typos in debug messages
2773 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2776 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2777 * gst/gstpluginfeature.c:
2780 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2781 change an assert into an error until it gets fixed properly
2783 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2785 * docs/gst/gstreamer-sections.txt:
2786 * docs/gst/tmpl/.cvsignore:
2787 * docs/gst/tmpl/gstelement.sgml:
2788 * docs/gst/tmpl/gstinfo.sgml:
2789 * docs/gst/tmpl/gstobject.sgml:
2794 * gst/gstobject.c: (gst_object_class_init):
2796 inlined 3 more biiiig doc files and added some missing docs on the fly
2798 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2800 * check/gst/.cvsignore:
2801 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2802 * gst/gstregistryxml.c: (load_plugin),
2803 (gst_registry_xml_save_plugin):
2804 put back source in registry. add checks for find_plugin.
2805 * testsuite/states/bin.c: (assert_state), (empty_bin),
2806 (test_adding_one_element), (main):
2807 * testsuite/states/locked.c: (main):
2808 some compile/run fixes
2810 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2812 * check/gst/gstvalue.c: (GST_START_TEST):
2813 fix leaks in the test itself
2815 2005-09-22 Wim Taymans <wim@fluendo.com>
2817 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2818 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2819 (gst_base_sink_query):
2820 Prepare for more accurate position reporting and query
2823 * gst/gstelement.c: (gst_element_send_event),
2824 (gst_element_set_state):
2827 2005-09-22 Wim Taymans <wim@fluendo.com>
2829 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2830 (gst_query_parse_segment):
2833 Add segment query for future use.
2835 2005-09-22 Wim Taymans <wim@fluendo.com>
2837 * gst/gstbin.c: (gst_bin_add_func):
2838 Some more debug info.
2840 * gst/gstelement.c: (gst_element_send_event):
2844 Don't know how flags got broken.
2849 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2851 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2852 Add simplistic test suite for GST_TYPE_DATE serialisation and
2855 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2857 * docs/gst/gstreamer-sections.txt:
2858 * gst/gststructure.c: (gst_structure_set_valist),
2859 (gst_structure_get_date):
2860 * gst/gststructure.h:
2861 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2862 (gst_date_copy), (gst_value_compare_date),
2863 (gst_value_serialize_date), (gst_value_deserialize_date),
2864 (gst_value_transform_date_string),
2865 (gst_value_transform_string_date), (_gst_value_initialize):
2867 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2868 bunch of utility functions along with a hack that checks that
2869 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2870 is required. Part of the grand scheme in #170777.
2872 2005-09-22 Andy Wingo <wingo@pobox.com>
2874 * gst/gstconfig.h.in: Psych out gtk-doc.
2876 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2878 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2880 * tools/gst-inspect.c (print_element_list): Plug some
2881 inconsequential leaks.
2883 * gst/gstregistry.c (gst_registry_get_default): Doc.
2885 * check/gst/gstplugin.c:
2886 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2887 * gst/gstelementfactory.c (gst_element_factory_create):
2888 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2891 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2892 (gst_plugin_feature_load): Doc, don't eat refs.
2894 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2895 (gst_plugin_list_free): Doc.
2896 (gst_plugin_load_file): Doc updates.
2898 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2899 accessors returning refcounted objects, return a ref.
2901 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2902 accessor for caps. IDEMPOTENCE. Oh yes.
2904 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2906 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2908 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2909 (_gst_debug_register_funcptr):
2910 Add mutex to serialise access to the hash table with
2911 the function pointer => function name string mapping;
2912 make that hash table static scope (#316809).
2914 * gst/registries/.cvsignore:
2915 Remove left-over file.
2917 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2919 * docs/pwg/appendix-porting.xml:
2920 And something about newsegment events and caps-on-buffers to
2921 the porting guide (feel free to improve).
2923 2005-09-21 Andy Wingo <wingo@pobox.com>
2925 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2926 data and event probes on the same pad.
2927 (test_buffer_probe_once): Test that removing probes from within
2928 the probe functions works.
2930 2005-09-21 Andy Wingo <wingo@pobox.com>
2932 * check/gst/gstutils.c: New file.
2933 (test_buffer_probe_n_times): A simple buffer probe test. More to
2936 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2937 have-data::buffer, not have-data.
2938 (gst_pad_add_event_probe): Likewise for have-data::event.
2939 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2940 peer' isn't quite right yet though.
2941 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2942 (gst_pad_remove_data_probe): Change to take the guint handler_id
2943 as their arg, not the function+data, which is more glib-like.
2945 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2946 the signal emission to indicate if the data is a buffer or an
2948 (gst_pad_get_type): Initialize buffer and event quarks.
2949 (gst_pad_class_init): have-data is now a detailed signal, yes it
2952 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2954 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2955 * gst/gstutils.c: (gst_util_set_value_from_string),
2956 (gst_util_set_object_arg):
2957 Don't put functional code in g_return_if_fail() or
2958 g_return_val_if_fail() statements, otherwise things will
2959 break when G_DISABLE_CHECKS is defined during compilation.
2961 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2963 * docs/gst/tmpl/.cvsignore:
2964 * docs/gst/tmpl/gstvalue.sgml:
2967 inlied another one and added some obvious docs
2969 2005-09-21 Wim Taymans <wim@fluendo.com>
2971 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2972 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2973 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2974 (gst_fdsrc_get_property), (gst_fdsrc_create):
2975 * gst/elements/gstfdsrc.h:
2976 Properly implement fdsrc. Removed signal and timeout,
2977 better implemented somewhere else.
2979 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2981 * docs/gst/tmpl/.cvsignore:
2982 * docs/gst/tmpl/gstimplementsinterface.sgml:
2983 * gst/gstinterface.c:
2986 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2988 * docs/gst/gstreamer-sections.txt:
2989 * docs/gst/tmpl/.cvsignore:
2990 * docs/gst/tmpl/gstenumtypes.sgml:
2991 remove obsolete doc file
2993 2005-09-21 David Schleef <ds@schleef.org>
2995 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2996 little beer, fix a little leak.
2998 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3000 * docs/gst/gstreamer-docs.sgml:
3001 * docs/gst/gstreamer-sections.txt:
3002 * docs/gst/tmpl/.cvsignore:
3007 * gst/gstindex.c: (gst_index_class_init):
3009 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3010 (gst_index_factory_class_init), (gst_index_factory_init),
3011 (gst_index_factory_finalize), (gst_index_factory_new),
3012 (gst_index_factory_destroy), (gst_index_factory_find),
3013 (gst_index_factory_create), (gst_index_factory_make):
3014 * gst/gstindexfactory.h:
3015 * gst/gstpluginfeature.c:
3016 * gst/gstpluginfeature.h:
3017 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3018 more docs inlined, splitted gstindex.{c,h}
3020 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3022 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3025 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3027 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3028 Set sync to FALSE by default.
3030 2005-09-20 Wim Taymans <wim@fluendo.com>
3032 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3033 (gst_base_sink_init):
3034 Make sync property settable from subclass.
3036 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3037 (gst_fake_sink_change_state):
3038 Set sync to FALSE by default.
3040 2005-09-20 Wim Taymans <wim@fluendo.com>
3042 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3043 * tools/gst-launch.c: (main):
3044 The timeout handler should have lower priority than the source
3045 so we don't timeout before popping a message with 0 timeout.
3046 Dump error messages after failed state change.
3048 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3050 * tools/gst-inspect.c: (print_element_properties_info):
3053 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3055 * check/gst/gstevent.c:
3056 * gst/elements/gstfakesink.c:
3057 * gst/elements/gstfakesink.h:
3058 remove the sync property from fakesink.
3059 has the side effect of setting sync TRUE
3060 for fakesink, which is a change. Anyone who knows how
3061 to fix this nicely in a GObject-y way, feel free.
3063 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3065 * docs/gst/gstreamer-docs.sgml:
3066 remove probe refsection
3068 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3070 * check/Makefile.am:
3071 disable valgrinding the controller test again
3072 * docs/gst/gstreamer-sections.txt:
3073 update for api-changes
3075 2005-09-20 Wim Taymans <wim@fluendo.com>
3077 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3078 (gst_base_sink_set_property), (gst_base_sink_get_property),
3079 (gst_base_sink_do_sync):
3080 * gst/base/gstbasesink.h:
3081 Added sync property to basesink to disable clock sync.
3083 2005-09-20 Andy Wingo <wingo@pobox.com>
3085 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3086 eating the caller's refcount.
3088 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3089 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3092 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3093 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3094 of GLib 2.8 public, so we can know which refcount to check in
3097 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3098 (gst_object_init): Only set the gst refcount if we're going ahead
3099 with the refcount hack.
3101 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3103 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3104 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3105 more leaks plumbed, added more debug-logging
3109 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3112 remove include of gstmemchunk.h
3114 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3116 * gst/gstclock.c: (_gst_clock_id_free):
3117 Commit from the Political Party For More Atomic CVS Commits,
3118 so that people don't waste too much of their day fishing
3119 out obvious leaks out of massive commits.
3120 Oh, and fix a pretty damn obvious leak in the memchunk
3123 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3125 * check/Makefile.am:
3126 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3127 plug mem-leak, re-add to valgrindable tests
3129 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3132 unbreak the build for those who have chronic arthritis
3133 and typing "make check" is just too taxing on the hands
3135 2005-09-20 Andy Wingo <wingo@pobox.com>
3137 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3138 really want it out, you should fix plugins at the same time.
3140 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3143 * docs/gst/gstreamer-sections.txt:
3145 added missing symbols to api docs
3146 disable ref-count hack if we have glib >= 2.8
3148 2005-09-19 David Schleef <ds@schleef.org>
3150 * docs/gst/Makefile.am: Ignore a few more internal headers
3151 * docs/gst/gstreamer-docs.sgml: Remove old sections
3152 * docs/gst/gstreamer-sections.txt: Remove old sections
3153 * docs/gst/tmpl/gstobject.sgml: update
3154 * docs/gst/tmpl/gstplugin.sgml: update
3155 * docs/gst/tmpl/gstpluginfeature.sgml: update
3156 * docs/random/ds/0.9-suggested-changes: update.
3157 * gst/Makefile.am: remove memchunk and trashstack, since they're
3159 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3160 * gst/gst.h: don't include some headers
3161 * gst/gstchildproxy.c: add gstmarshal.h
3162 * gst/gstclock.c: Don't use memchunks
3163 * gst/gstminiobject.c: Add some docs
3164 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3165 * gst/gstobject.h: same
3166 * gst/gstplugin.c: include gstmacros.h
3167 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3168 * gst/gstquery.c: don't use memchunks
3169 * gst/gstregistry.c: rename gst_registry_deinit()
3170 * gst/gstregistry.h: same
3172 2005-09-19 David Schleef <ds@schleef.org>
3174 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3175 * docs/libs/gstreamer-libs-sections.txt:
3176 * docs/libs/tmpl/gstgetbits.sgml:
3177 * docs/libs/tmpl/gstputbits.sgml:
3179 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3181 * win32/gstenumtypes.c:
3182 * win32/gstenumtypes.h:
3185 2005-09-19 Wim Taymans <wim@fluendo.com>
3187 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3188 Automatically PAUSE and RESUME a pipeline when a flushing seek
3191 2005-09-19 Andy Wingo <wingo@pobox.com>
3193 * gst/gstregistry.h: Spacing fixen.
3195 2005-09-19 Wim Taymans <wim@fluendo.com>
3197 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3198 Handle state change failure more correctly.
3200 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3202 * check/Makefile.am:
3203 * check/pipelines/cleanup.c: (run_pipeline):
3204 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3206 enable cleanup again after fixing the leak
3208 some more info on docs
3210 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3212 * check/Makefile.am:
3213 re-enable tests now that leaks are plugged
3215 * check/gst/gstbin.c:
3216 * check/gst/gstpipeline.c:
3217 add some more tests while fixing leaks
3219 make sure binaries are uptodate when valgrinding/gdbing
3221 * gst/gstelementfactory.c:
3222 remove a ref too many, and add a FIXME for when we get
3223 round to disposing of classes
3225 fix the refcounting when loading a plugin from a file and
3226 the code pretends that the pointer is the same even though
3227 of course it can change
3228 * gst/gstpluginfeature.c:
3229 unref plugins marked cached (a bit confusing as a name)
3230 as the docs state should be done
3231 various doc additions to explain refcounting
3232 * gst/gstregistry.c:
3233 * gst/gstregistryxml.c:
3236 2005-09-19 Wim Taymans <wim@fluendo.com>
3238 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3239 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3240 (send_messages), (GST_START_TEST), (gstbus_suite):
3241 * check/gst/gstpipeline.c: (GST_START_TEST):
3242 * check/pipelines/cleanup.c: (run_pipeline):
3243 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3245 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3246 (gst_bus_source_check), (gst_bus_source_dispatch),
3247 (gst_bus_create_watch), (gst_bus_add_watch_full),
3248 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3250 * tools/gst-launch.c: (event_loop):
3251 * tools/gst-md5sum.c: (event_loop):
3252 GstBusHandler -> GstBusFunc, return value has the same meaning as
3253 any other GSource (FALSE == remove source).
3254 _add_watch() and _add_watch_full() now take a MessageType mask to
3255 only handle specific types of messages.
3256 _poll() returns the GstMessage instead of the message type to avoid
3258 _have_pending() takes a MessageType mask now too.
3259 Added testsuite for multiple bus watches.
3260 Fix testsuites and applications for new bus API.
3262 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3264 * check/Makefile.am:
3265 mark a bunch of the tests as to fix until we fix them
3267 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3270 use GST_PLUGIN settings for valgrind tests as well, so we're
3271 valgrinding the correct thing
3272 * gst/gst.c: (init_post):
3275 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3277 * gst/gst.c: (init_post), (gst_deinit):
3278 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3279 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3280 * gst/gstindex.c: (gst_index_factory_class_init),
3281 (gst_index_factory_finalize):
3282 * gst/gstobject.c: (gst_object_dispose):
3283 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3284 (gst_plugin_load_file), (gst_plugin_desc_free):
3285 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3286 (gst_plugin_feature_finalize):
3287 * gst/gstregistry.c: (gst_registry_class_init),
3288 (gst_registry_init), (gst_registry_finalize),
3289 (gst_registry_get_default), (gst_registry_deinit):
3290 * gst/gstregistry.h:
3291 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3292 various cleanups and memleak plugging. make valgrind is happy now.
3294 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3297 add a check-valgrind target
3299 2005-09-18 David Schleef <ds@schleef.org>
3301 * tools/gst-inspect.c: Revert the GOption code.
3303 2005-09-17 David Schleef <ds@schleef.org>
3305 * check/Makefile.am: Fix environment variables.
3306 * check/gst/gstplugin.c: Fix for API changes.
3307 * tools/gst-inspect.c: Fix for API changes.
3308 * tools/gst-xmlinspect.c: Fix for API changes.
3309 * gst/gstelementfactory.c:
3312 * gst/gstpluginfeature.c:
3313 * gst/gstpluginfeature.h:
3314 * gst/gstregistry.c:
3315 * gst/gstregistry.h:
3316 * gst/gstregistryxml.c:
3317 * gst/gsttypefind.c:
3318 * gst/gsttypefindfactory.c:
3319 * gst/indexers/gstfileindex.c:
3320 * gst/indexers/gstmemindex.c:
3321 * gst/schedulers/Makefile.am:
3322 Change registry to keep track of both plugins and features,
3323 removing the feature tracking from plugins themselves.
3325 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3327 * check/Makefile.am:
3328 * tools/gst-register.1.in:
3331 2005-09-15 David Schleef <ds@schleef.org>
3333 * check/gst/gstplugin.c:
3334 * gst/gstelementfactory.c:
3336 * gst/gstpluginfeature.c:
3337 * gst/gstregistry.c:
3338 Getting tired of debugging. Disabled all the unreffing of
3339 plugins and features, which fixes the segfaults, but of
3340 course leaks like crazy. At least playbin works.
3342 2005-09-15 David Schleef <ds@schleef.org>
3344 * check/gst/gstplugin.c: (register_check_elements),
3345 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3347 * gst/elements/gsttypefindelement.c: Fix refcounting.
3348 * gst/gsttypefind.c:
3349 * gst/gsttypefindfactory.c:
3350 * gst/gsttypefindfactory.h:
3352 2005-09-15 David Schleef <ds@schleef.org>
3354 * gst/gstindex.c: get refcounting correct.
3355 * gst/gstregistry.c: Handle the case where a feature/plugin is
3358 2005-09-15 David Schleef <ds@schleef.org>
3360 * check/Makefile.am:
3361 * check/gst/gstplugin.c: Add test
3362 * gst/gstplugin.c: Fix problems noticed by testsuite
3364 * gst/gstregistry.c:
3365 * gst/gstregistry.h:
3367 2005-09-15 David Schleef <ds@schleef.org>
3369 * gst/gstplugin.c: Implement semi-decent recounting and locking
3370 in plugins and plugin features.
3372 * gst/gstpluginfeature.c:
3373 * gst/gstpluginfeature.h:
3374 * gst/gstregistry.c:
3376 2005-09-15 Michael Smith <msmith@fluendo.com>
3378 * gst/gstregistry.c: (gst_registry_get_feature_list):
3379 Implement this. Makes oggdemux work; decodebin still broken.
3381 2005-09-14 David Schleef <ds@schleef.org>
3383 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3385 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3386 * gst/check/Makefile.am:
3387 * libs/gst/controller/Makefile.am:
3388 * libs/gst/dataprotocol/Makefile.am:
3390 2005-09-14 David Schleef <ds@schleef.org>
3392 * configure.ac: Remove getbits library. Nothing uses it, and
3393 it should be in something like liboil if someone did want
3395 * libs/gst/Makefile.am:
3396 * libs/gst/getbits/Makefile.am:
3397 * libs/gst/getbits/gbtest.c:
3398 * libs/gst/getbits/getbits.c:
3399 * libs/gst/getbits/getbits.h:
3400 * libs/gst/getbits/gstgetbits_generic.c:
3401 * libs/gst/getbits/gstgetbits_i386.s:
3402 * libs/gst/getbits/gstgetbits_inl.h:
3404 2005-09-14 David Schleef <ds@schleef.org>
3406 * gst/Makefile.am: Dist glib-compat.h
3408 2005-09-14 David Schleef <ds@schleef.org>
3410 * configure.ac: Remove gst/registries, since it's no longer used.
3411 * gst/registries/Makefile.am:
3412 * gst/registries/gstlibxmlregistry.c:
3413 * gst/registries/gstlibxmlregistry.h:
3414 * gst/registries/gstxmlregistry.c:
3415 * gst/registries/gstxmlregistry.h:
3416 * gst/registries/registrytest.c:
3418 2005-09-14 David Schleef <ds@schleef.org>
3420 * gst/glib-compat.h:
3421 * gst/gstregistryxml.c:
3422 Convergence is near. Seriously.
3424 2005-09-14 David Schleef <ds@schleef.org>
3426 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3427 * gst/glib-compat.h:
3428 Attempt #4 to appease the buildbots.
3430 2005-09-14 David Schleef <ds@schleef.org>
3432 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3435 2005-09-14 David Schleef <ds@schleef.org>
3437 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3440 2005-09-14 David Schleef <ds@schleef.org>
3442 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3445 2005-09-14 David Schleef <ds@schleef.org>
3447 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3448 * gst/glib-compat.h: Add some functions that are in newer versions
3449 of glib than we care to require.
3450 * gst/gstregistryxml.c: Use them.
3452 2005-09-14 David Schleef <ds@schleef.org>
3454 * po/POTFILES.in: remove gst-register.c
3456 2005-09-14 David Schleef <ds@schleef.org>
3458 * docs/gst/gstreamer-docs.sgml:
3459 * docs/gst/gstreamer-sections.txt:
3460 * docs/gst/gstreamer.types:
3461 * docs/gst/tmpl/gstelement.sgml:
3462 * docs/gst/tmpl/gstplugin.sgml:
3463 * docs/gst/tmpl/gstpluginfeature.sgml:
3464 Documentation updates for registry changes.
3466 2005-09-14 David Schleef <ds@schleef.org>
3468 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3469 because we don't require glib-2.8.
3471 2005-09-14 David Schleef <ds@schleef.org>
3473 * gst/gstregistryxml.c: Added. Essentially moved out of the
3474 registries directory.
3476 2005-09-14 David Schleef <ds@schleef.org>
3478 * check/Makefile.am:
3479 * check/generic/states.c:
3483 * gst/gst_private.h:
3484 * gst/gstelementfactory.c:
3489 * gst/gstpluginfeature.c:
3490 * gst/gstpluginfeature.h:
3491 * gst/gstregistry.c:
3492 * gst/gstregistry.h:
3493 * gst/gstregistrypool.c: remove
3494 * gst/gstregistrypool.h: remove
3495 * gst/gsttypefind.c:
3496 * gst/gsttypefindfactory.c:
3498 * tools/Makefile.am:
3499 * tools/gst-compprep.c:
3500 * tools/gst-inspect.c:
3501 * tools/gst-register.c: remove
3502 * tools/gst-xmlinspect.c:
3503 Registry rewrite. Changes registry from being a file created
3504 by a tool into a simple cache file created automatically by
3505 libgstreamer. Removed gst-register (because it's no longer
3506 needed). Remove registry pools, because we only have one
3507 registry implementation (XML). Fix up other subsystems as
3510 2005-09-13 Michael Smith <msmith@fluendo.com>
3512 * gst/gstconfig.h.in:
3513 Don't Use windows linking attributes for MinGW. Fixes #316157
3515 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3517 * gst/gstutils.c: (set_state_async_thread_func),
3518 (gst_element_set_state_async):
3519 Apparently people think it's better if this function doesn't
3520 try to set the state to whatever state was asked for on the first
3521 call to this function for any object. Seriously.
3523 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3525 * check/gst/gstpipeline.c: (GST_START_TEST):
3526 * docs/gst/gstreamer-sections.txt:
3527 * gst/gstutils.c: (set_state_async_thread_func),
3528 (gst_element_set_state_async):
3530 add a "gst_element_set_state_async" method that
3531 sets the state and starts a thread to make sure the state
3532 change completes as best as it can
3534 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3536 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3537 codify design+behaviour in testsuite after discussion
3539 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3541 * docs/gst/tmpl/gstelement.sgml:
3542 * docs/manual/appendix-quotes.xml:
3544 * gst/gstelement.c: (gst_element_set_state):
3547 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3549 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3550 (gst_base_transform_prepare_output_buf),
3551 (gst_base_transform_handle_buffer):
3552 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3553 (gst_capsfilter_prepare_buf):
3554 Remove the requirement for sub-classes to call the parent
3555 implementation of prepare_output_buffer with a wrapper function.
3558 * gst/gsttagsetter.h:
3561 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3563 * docs/gst/gstreamer-sections.txt:
3566 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3568 * docs/gst/gstreamer-sections.txt:
3569 * docs/gst/tmpl/gstelement.sgml:
3570 * docs/gst/tmpl/gstplugin.sgml:
3571 * gst/gstminiobject.c:
3573 docs now stop throwing warnings
3575 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3577 * docs/gst/gstreamer-sections.txt:
3578 * docs/gst/gstreamer.types:
3579 * docs/gst/tmpl/gstpad.sgml:
3580 * docs/gst/tmpl/gsttypes.sgml:
3581 * gst/base/gstadapter.h:
3582 * gst/base/gstbasesink.h:
3583 * gst/base/gstbasesrc.h:
3593 * gst/gststructure.c:
3594 * gst/registries/gstlibxmlregistry.h:
3595 various documentation fixes
3597 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3599 * docs/gst/gstreamer-sections.txt:
3600 * docs/gst/tmpl/gstvalue.sgml:
3601 rearrange gstvalue section
3602 * gst/gstutils.c: (gst_element_state_get_name):
3604 * gst/gstvalue.c: (_gst_value_initialize):
3608 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3610 * check/gst-libs/controller.c:
3612 * gst/base/gstbasetransform.c:
3613 (gst_base_transform_default_prepare_buf),
3614 (gst_base_transform_handle_buffer):
3615 * gst/base/gstbasetransform.h:
3616 Some more basetransform changes and fixes to enable sub-classes
3617 that modify buffer metadata only.
3618 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3619 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3620 (gst_capsfilter_prepare_buf):
3621 If the output pad has fixed allowed caps and input buffers
3622 don't have any, set the fixed caps on outgoing buffers.
3624 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3625 * check/elements/identity.c: (GST_START_TEST):
3626 Make the error a little clearer when the test fails because
3627 identity made a copy of the buffer.
3628 * docs/gst/gstreamer-sections.txt:
3629 New symbols in gstbasetransform.h
3630 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3631 (gst_base_transform_init), (gst_base_transform_transform_size),
3632 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3633 (gst_base_transform_default_prepare_buf),
3634 (gst_base_transform_get_unit_size),
3635 (gst_base_transform_buffer_alloc),
3636 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3637 (gst_base_transform_change_state),
3638 (gst_base_transform_set_passthrough),
3639 (gst_base_transform_set_in_place),
3640 (gst_base_transform_is_in_place):
3641 * gst/base/gstbasetransform.h:
3642 Change BaseTransform to separate in_place operate from same_caps
3643 output. in_place implies that the element can perform the transform
3644 on incoming buffers in-place, even if the caps on the output are
3646 Sub-class elements can now implement special buffer allocation
3647 methods for outgoing buffers if they wish to.
3648 Big documentation addition.
3649 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3650 * gst/elements/gstelements.c:
3651 Changes for basetransform modifications.
3652 * gst/elements/Makefile.am:
3653 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3654 Compile fix. Extra debug output.
3656 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3658 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3660 add tests for valid pad naming
3661 * gst/check/gstcheck.c: (gst_check_log_message_func),
3662 (gst_check_log_critical_func):
3664 remove printing of code, it is fragile when the code contains
3665 % and the line number is enough info
3666 * gst/check/gstcheck.h:
3667 * gst/gstpad.c: (gst_pad_template_new):
3670 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3673 say what CHECK flags we use
3674 * docs/libs/gstreamer-libs.types:
3675 * libs/gst/controller/Makefile.am:
3676 * libs/gst/controller/gst-controller.c:
3677 * libs/gst/controller/gst-controller.h:
3678 * libs/gst/controller/gst-helper.c:
3679 * libs/gst/controller/gst-interpolation.c:
3680 * libs/gst/controller/gstcontroller.c:
3681 * libs/gst/controller/gsthelper.c:
3682 * libs/gst/controller/gstinterpolation.c:
3683 * tools/gst-inspect.c: (print_plugin_info):
3684 we don't use dashes in header names
3686 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3688 * check/Makefile.am:
3689 * check/gst/.cvsignore:
3690 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3691 (gst_pipeline_suite), (main):
3692 adding a test for pipelines and state changes
3693 * gst/gstutils.c: (get_state_func):
3695 * gstreamer.spec.in:
3698 2005-09-08 Michael Smith <msmith@fluendo.com>
3700 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3701 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3702 (gst_file_src_is_seekable), (gst_file_src_get_size),
3703 (gst_file_src_start):
3704 * gst/elements/gstfilesrc.h:
3705 Various fixes for unseekable, unmmapable, and non-normal files, so
3706 that fallback to read() rather than mmap() works.
3707 * gst/gstevent.c: (gst_event_new_newsegment):
3708 Allow newsegment events with segment_start == segment_end, as will
3709 correctly happen if you use filesrc on a zero-size file, for
3712 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3714 * gst/gstplugin.c: (gst_plugin_load_file):
3715 Call g_module_close when we don't load the module
3717 * gst/registries/gstlibxmlregistry.c:
3718 (gst_xml_registry_get_property):
3719 Port leak fix from 0.8
3721 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3723 * docs/gst/gstreamer-docs.sgml:
3724 * docs/gst/tmpl/.cvsignore:
3725 * docs/gst/tmpl/gsttrace.sgml:
3726 * docs/gst/tmpl/gsttrashstack.sgml:
3735 * gst/gsttaginterface.c:
3736 * gst/gsttaginterface.h:
3739 * gst/gsttagsetter.c:
3740 * gst/gsttagsetter.h:
3743 * gst/gsttrashstack.c:
3744 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3745 inlined docs for gsttrace, gsttrashstack
3747 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3750 * gst/elements/gstbufferstore.h:
3751 * gst/elements/gsttypefindelement.c:
3752 * gst/elements/gsttypefindelement.h:
3754 * gst/gsttypefind.c:
3755 * gst/gsttypefind.h:
3756 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3757 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3758 (gst_type_find_factory_dispose),
3759 (gst_type_find_factory_unload_thyself),
3760 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3761 (gst_type_find_factory_get_caps),
3762 (gst_type_find_factory_get_extensions),
3763 (gst_type_find_factory_call_function):
3764 * gst/gsttypefindfactory.h:
3765 * gst/registries/gstlibxmlregistry.c:
3766 * gst/registries/gstxmlregistry.c:
3767 splitted gsttypefind into gsttypefind, gsttypefindfactory
3769 2005-09-07 Andy Wingo <wingo@pobox.com>
3771 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3772 condition whereby the pad's task function is entered before the
3773 pad_mode variable was set.
3775 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3777 * gst/gstpad.c: (gst_pad_alloc_buffer):
3778 Catch misbehaving pad_alloc functions that don't
3779 set up caps and do it for them.
3781 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3783 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3785 * docs/gst/tmpl/.cvsignore:
3786 * docs/gst/tmpl/gstmemchunk.sgml:
3787 * docs/gst/tmpl/gstparse.sgml:
3788 * docs/gst/tmpl/gsttaglist.sgml:
3789 * docs/gst/tmpl/gsttagsetter.sgml:
3790 * docs/gst/tmpl/gsttypefind.sgml:
3791 * docs/gst/tmpl/gsttypefindfactory.sgml:
3792 * gst/gstmemchunk.c:
3795 * gst/gsttaginterface.c:
3796 * gst/gsttypefind.c:
3797 * gst/gsttypefind.h:
3800 === release 0.9.2 ===
3802 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3807 releasing 0.9.2, "South"
3809 2005-09-05 Andy Wingo <wingo@pobox.com>
3811 * gst/registries/gstxmlregistry.h:
3812 * gst/registries/gstxmlregistry.c: Um... resurrect...
3814 * gst/registries/gstxmlregistry.h:
3815 * gst/registries/gstxmlregistry.c: and update to newer API.
3816 Incidentally they should be a bit faster now that they don't have
3819 2005-09-05 Andy Wingo <wingo@pobox.com>
3821 * gst/registries/gstxmlregistry.h:
3822 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3823 replaced by the libxml registry a while back
3825 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3827 * docs/gst/tmpl/gstplugin.sgml:
3828 * gst/elements/gstelements.c:
3830 * gst/gstplugin.c: (gst_plugin_register_func),
3831 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3832 (gst_plugin_get_source):
3834 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3835 (gst_xml_registry_save_plugin):
3836 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3837 (gst_xml_registry_save_plugin):
3838 * tools/gst-inspect.c: (print_plugin_info):
3839 add a "source" plugin description field, to represent the source
3840 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3841 will set it to PACKAGE, which is automake's idea of the name of
3844 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3850 * docs/faq/Makefile.am:
3851 * docs/gst/tmpl/gstelement.sgml:
3852 * docs/gst/tmpl/gsttypes.sgml:
3853 * docs/htmlinstall.mak:
3854 * docs/manual/Makefile.am:
3855 * docs/pwg/Makefile.am:
3856 reorganize doc build a little
3857 split out docbook and gtk-doc stuff
3858 have two separate --enable's and enable them through autogen
3859 but disable by default in configure (to be similar to other
3861 * gstreamer.spec.in:
3862 clean up docs install
3882 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3884 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3887 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3888 (gst_fake_sink_change_state):
3889 Make state change function thread-safe.
3891 * gst/gstpad.c: (gst_pad_alloc_buffer):
3892 Set offset on generic buffer allocated by fallback.
3894 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3896 * docs/gst/gstreamer-sections.txt:
3897 * docs/gst/tmpl/gstelement.sgml:
3899 * libs/gst/controller/gst-controller.c:
3900 (gst_controlled_property_set_interpolation_mode),
3901 (gst_controlled_property_new),
3902 (gst_controller_find_controlled_property):
3903 run the wingo-magic script against the docs
3905 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3907 * docs/gst/gstreamer-docs.sgml:
3908 * docs/gst/gstreamer-sections.txt:
3909 * docs/gst/tmpl/.cvsignore:
3910 * docs/gst/tmpl/gstelementdetails.sgml:
3911 * docs/gst/tmpl/gstelementfactory.sgml:
3914 * gst/gstelementfactory.c:
3915 * gst/gstelementfactory.h:
3916 merged elementdetails docs into elementfactory docs
3919 2005-09-02 Andy Wingo <wingo@pobox.com>
3921 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3922 consider this enum an enum and not a flags.
3924 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3926 * docs/gst/gstreamer-docs.sgml:
3927 * docs/gst/tmpl/.cvsignore:
3928 * docs/gst/tmpl/gstghostpad.sgml:
3929 * docs/gst/tmpl/gstiterator.sgml:
3930 * docs/gst/tmpl/gstmacros.sgml:
3931 * docs/gst/tmpl/gstrealpad.sgml:
3932 * docs/gst/tmpl/gstregistry.sgml:
3933 * docs/gst/tmpl/gstregistrypool.sgml:
3934 * docs/gst/tmpl/gststructure.sgml:
3935 * docs/gst/tmpl/gstsystemclock.sgml:
3936 * docs/gst/tmpl/gsttrace.sgml:
3937 * gst/gstghostpad.c:
3939 * gst/gstmemchunk.c:
3940 * gst/gstmemchunk.h:
3942 * gst/gstregistry.c:
3943 * gst/gstregistrypool.c:
3944 * gst/gststructure.c:
3945 * gst/gstsystemclock.c:
3948 2005-09-02 Andy Wingo <wingo@pobox.com>
3950 * gst/gstelement.h (GstState): Renamed from GstElementState,
3951 changed to be a normal enum instead of flags.
3952 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3953 munged to be GST_STATE_CHANGE_*.
3954 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3955 work with the new state representation.
3956 (GstStateChange): New enumeration of possible state transitions.
3957 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3958 (GstElementClass::change_state): Pass the GstStateChange along as
3959 an argument. Helps language bindings, so they don't have to use
3960 tricky lock-needing macros like GST_STATE_CHANGE ().
3962 * scripts/update-states (file): New script. Run it on a file to
3963 update it for state naming and API changes. Updates files in
3966 * All files updated for the new API.
3968 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3971 * gst/gstutils.c: (gst_util_set_value_from_string),
3972 (gst_util_set_object_arg):
3973 fix a bunch of unchecked return values
3974 * tools/gst-complete.c: (main):
3975 * gstreamer.spec.in:
3978 2005-09-01 Wim Taymans <wim@fluendo.com>
3980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3981 (gst_base_sink_event), (gst_base_sink_do_sync),
3982 (gst_base_sink_handle_event):
3983 * gst/base/gstbasesink.h:
3984 Handle newsegments more correctly.
3989 * gst/gstevent.c: (gst_event_new_newsegment):
3990 A newsegment cannot have a start_time of -1
3992 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3994 * win32/gstenumtypes.c:
3995 * win32/gstenumtypes.h:
3998 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4000 * libs/gst/controller/gst-controller.c:
4001 (gst_controlled_property_set_interpolation_mode),
4002 (gst_controlled_property_new):
4005 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4007 * docs/faq/gst-uninstalled:
4012 * gst/gstutils.c: (gst_element_link_filtered):
4014 add gst_element_link_filtered
4016 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4018 * docs/gst/gstreamer-docs.sgml:
4019 * docs/gst/gstreamer-sections.txt:
4020 * docs/gst/tmpl/.cvsignore:
4021 * docs/gst/tmpl/gsterror.sgml:
4022 * docs/gst/tmpl/gstfilter.sgml:
4023 * docs/gst/tmpl/gsturihandler.sgml:
4024 * docs/gst/tmpl/gsturitype.sgml:
4025 * docs/gst/tmpl/gstutils.sgml:
4026 * docs/gst/tmpl/gstxml.sgml:
4034 inlined more docs, fixed double id-ref
4036 2005-08-31 Wim Taymans <wim@fluendo.com>
4038 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4039 (gst_base_transform_handle_buffer):
4040 Passthrough elements don't need the caps as they don't care.
4042 2005-08-31 Wim Taymans <wim@fluendo.com>
4044 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4045 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4046 Don't leak refcounts on buffers.
4048 2005-08-31 Wim Taymans <wim@fluendo.com>
4050 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4051 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4052 (gst_base_transform_chain), (gst_base_transform_change_state):
4053 * gst/base/gstbasetransform.h:
4054 Handle the case where we are not negotiated more gracefully.
4056 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4058 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4059 (gst_file_src_map_region):
4060 Set READONLY flag on mmap'ed buffers, otherwise
4061 gst_buffer_make_writable() won't work properly (#314708).
4063 2005-08-31 Wim Taymans <wim@fluendo.com>
4065 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4066 passthrough elements can even do inplace on non writable
4067 buffers (as they don't touch them).
4069 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4071 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4072 (gst_test_mono_source_set_property),
4073 (gst_test_mono_source_class_init), (GST_START_TEST),
4074 (gst_controller_suite):
4075 more tests (hehe I have the most)
4077 describe popping messages whenusing mulltiple sources
4078 * libs/gst/controller/gst-controller.c:
4079 (gst_controlled_property_set_interpolation_mode),
4080 (gst_controlled_property_new):
4081 * libs/gst/controller/gst-controller.h:
4082 * libs/gst/controller/gst-interpolation.c:
4083 implement boolean properties
4085 2005-08-31 Wim Taymans <wim@fluendo.com>
4087 * gst/gstminiobject.c: (gst_mini_object_ref):
4088 Cannot assert that the refcount has to be positive
4089 since a disposed object can be resurrected.
4091 2005-08-31 Wim Taymans <wim@fluendo.com>
4093 * gst/gstpad.c: (gst_pad_init):
4094 Revert change, need to first fix badly behaving
4097 2005-08-30 Wim Taymans <wim@fluendo.com>
4099 * check/elements/fakesrc.c: (setup_fakesrc):
4100 * check/elements/identity.c: (setup_identity):
4101 Activate pads before using them.
4103 2005-08-30 Wim Taymans <wim@fluendo.com>
4105 * gst/base/gstadapter.c: (gst_adapter_flush):
4106 Flushing out 0 bytes is ok for this function.
4108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4109 no newsegment gives a warning and sets the start/stop to
4112 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4113 (gst_base_transform_set_passthrough):
4116 * gst/gstminiobject.c: (gst_mini_object_ref):
4117 Check refcount here too.
4119 * gst/gstpad.c: (gst_pad_init):
4120 Pads are initially flushing and refusing data.
4122 * gst/gstutils.c: (gst_element_link_pads_filtered):
4123 When adding a capsfilter element make sure it has the
4124 same state as the parent bin.
4126 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4128 * docs/gst/tmpl/.cvsignore:
4129 * docs/gst/tmpl/gstformat.sgml:
4130 * docs/gst/tmpl/gstversion.sgml:
4134 * gst/gstversion.h.in:
4135 more docs and two more inlined
4137 2005-08-30 Wim Taymans <wim@fluendo.com>
4139 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4140 Don't sync to clock.
4142 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4144 * docs/gst/gstreamer-sections.txt:
4145 ultral33t func10ns deserve to appear in the docs actually
4146 * docs/gst/tmpl/.cvsignore:
4147 * docs/gst/tmpl/gstcompat.sgml:
4148 * docs/gst/tmpl/gstconfig.sgml:
4149 * gst/check/gstcheck.c:
4151 * gst/gstconfig.h.in:
4154 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4156 * docs/gst/tmpl/.cvsignore:
4157 * docs/gst/tmpl/gstquery.sgml:
4158 * docs/gst/tmpl/gstutils.sgml:
4161 inlined and extended docs
4163 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4165 * check/gst-libs/controller.c: (GST_START_TEST),
4166 (gst_controller_suite):
4168 * docs/gst/tmpl/gstutils.sgml:
4169 * docs/libs/gstreamer-libs-sections.txt:
4170 * docs/libs/tmpl/gstdataprotocol.sgml:
4172 * examples/controller/audio-example.c: (main):
4173 controller example works now
4176 * tools/gst-inspect.c: (print_element_properties_info):
4177 show param spec flags
4179 2005-08-29 Andy Wingo <wingo@pobox.com>
4181 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4183 2005-08-28 Andy Wingo <wingo@pobox.com>
4185 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4186 as having two arguments instead of just one. Allows superclasses
4187 to access information on subclasses -- see the terrible for() loop
4188 in gtype.c:g_type_create_instance for the reason why. All callers
4191 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4193 * docs/design/part-messages.txt:
4195 * docs/gst/tmpl/.cvsignore:
4196 * docs/gst/tmpl/gstcaps.sgml:
4197 * docs/gst/tmpl/gstclock.sgml:
4204 added descriptions for bus and message
4205 inline caps and clock docs
4207 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4213 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4215 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4218 2005-08-26 Andy Wingo <wingo@pobox.com>
4220 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4221 element_set_state's return val.
4222 (test_2_elements): Add test that's been disabled for months.
4224 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4225 can-activate-pull properties.
4227 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4228 can-activate-pull properties. Implement is_seekable so fakesrc can
4229 operate in pull mode.
4231 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4233 (gst_base_sink_activate, gst_base_sink_activate_pull)
4234 (gst_base_sink_activate_push): Make activation mode choosing work.
4236 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4237 is right. Make pull mode work. Post an eos before pausing in pull
4239 (gst_base_sink_change_state): Pay attention to the core's
4240 change_state() return val.
4242 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4243 has-getrange properties. Cleanups.
4245 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4246 has_getrange and replace with can_activate_pull and
4249 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4250 locking comments. Remove has_loop, has_chain and replace with
4251 can_activate_pull and can_activate_push.
4253 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4256 * examples/Makefile.am:
4257 * examples/metadata/Makefile.am:
4258 * examples/metadata/read-metadata.c: (message_loop),
4259 (have_pad_handler), (make_pipeline), (print_tag), (main):
4260 Add metadata reading example that loops over a list of filenames,
4261 dumping any tags found.
4263 * gst/gstbus.c: (gst_bus_dispose):
4264 * gst/gstelement.c: (gst_element_dispose):
4265 Release a few potentially-held references in dispose.
4267 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4269 * docs/gst/tmpl/gstminiobject.sgml:
4270 do *not* add tmpl/*.sgml files to CVS!
4272 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4274 * libs/gst/bytestream/.cvsignore:
4275 * libs/gst/bytestream/Makefile.am:
4276 * libs/gst/bytestream/adapter.c:
4277 * libs/gst/bytestream/adapter.h:
4278 * libs/gst/bytestream/bytestream.c:
4279 * libs/gst/bytestream/bytestream.h:
4280 * libs/gst/bytestream/filepad.c:
4281 * libs/gst/bytestream/filepad.h:
4282 removing obsolete files
4284 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4286 * docs/gst/gstreamer-docs.sgml:
4287 * docs/libs/gstreamer-libs-docs.sgml:
4288 disabed additional index entries again, as this makes docs-gen just
4289 slow and they aren't useful yet
4290 * docs/libs/gstreamer-libs-sections.txt:
4291 little -section.txt cleanup for libs
4293 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4295 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4296 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4297 fix up some debugging
4298 (gst_base_transform_get_unit_size),
4299 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4300 (gst_base_transform_handle_buffer):
4301 * gst/base/gstbasetransform.h:
4302 handle and store timed NEWSEGMENT events so that subclasses that
4303 calculate time by counting samples have a segment_start time they
4304 need to add to their timestamps - see audioresample
4306 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4309 removed ';' from the end of macro defs
4310 * docs/gst/gstreamer-docs.sgml:
4311 * docs/gst/gstreamer-sections.txt:
4312 * docs/gst/tmpl/.cvsignore:
4314 * gst/gstelement.c: (gst_element_class_init),
4315 (gst_element_set_state), (activate_pads),
4316 (gst_element_save_thyself):
4317 * gst/gstevent.c: (gst_event_new_newsegment):
4319 * gst/gstiterator.c:
4320 * gst/gstiterator.h:
4323 * gst/gstutils.c: (gst_pad_query_convert):
4325 fixed parameter name mismatches between source, header and docs
4326 added some more docs, resolved the last batch of unused elements in
4327 docs (now someone needs to doc them)
4329 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4331 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4332 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4333 don't walk through the plugins backwards. Where is all this
4334 reversed logic coming from ?
4336 2005-08-25 Wim Taymans <wim@fluendo.com>
4338 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4339 (gst_base_transform_transform_size),
4340 (gst_base_transform_configure_caps),
4341 (gst_base_transform_get_unit_size),
4342 (gst_base_transform_buffer_alloc),
4343 (gst_base_transform_change_state):
4344 * gst/base/gstbasetransform.h:
4345 Cache caps unit_size.
4346 Make sure we cannot negotiate up and downstream at the
4349 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4351 * gst/gst.c: (init_pre), (init_post):
4352 register the installed plugin path after the env var
4353 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4354 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4355 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4356 directories, so the tests can prefer uninstalled over installed
4358 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4360 * gst/base/gstbasetransform.h:
4365 2005-08-25 Wim Taymans <wim@fluendo.com>
4367 * gst/gstbin.c: (bin_bus_handler):
4368 Be a bit more conservative about the posted message.
4370 * gst/gstbus.c: (gst_bus_post):
4371 Some cleanups, warn wrong return values.
4373 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4375 * check/gst/gstbin.c: (GST_START_TEST):
4376 * gst/gstbin.c: (bin_bus_handler):
4377 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4378 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4379 (gst_message_new_warning), (gst_message_new_tag),
4380 (gst_message_new_state_changed), (gst_message_new_segment_start),
4381 (gst_message_new_segment_done), (gst_message_new_custom):
4383 * tools/gst-launch.c: (event_loop):
4384 * tools/gst-md5sum.c: (event_loop):
4385 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4387 2005-08-25 Wim Taymans <wim@fluendo.com>
4389 * check/generic/states.c: (GST_START_TEST):
4390 Cleanup can be done at the end.
4392 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4393 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4394 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4395 Oh boy.. Thanks for finding this, Thomas.
4397 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4399 * docs/gst/gstreamer.types:
4402 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4404 * docs/gst/gstreamer-docs.sgml:
4405 * docs/gst/gstreamer-sections.txt:
4406 * docs/gst/tmpl/.cvsignore:
4408 * gst/gstiterator.c:
4410 * gst/registries/gstxmlregistry.h:
4411 added missing classes and symbols (123 more to go)
4412 removed removed symbols from section file
4413 fixed many doc-comments
4415 2005-08-24 Wim Taymans <wim@fluendo.com>
4417 * check/generic/states.c: (GST_START_TEST):
4418 Make sure all tasks are stopped.
4420 * check/gst/gstbin.c: (GST_START_TEST):
4421 Unref after usage for proper valgrinding.
4423 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4424 Really wait for the task to stop before destroying the
4427 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4428 (gst_queue_src_activate_push):
4429 Small cleanups. Don't stop the task when we did not start
4432 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4433 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4434 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4437 Protect the stream lock with the object lock.
4438 Disallow setting the stream lock when running.
4439 Add cleanup_all to wait for the threadpool to finish.
4440 Remove code to autoallocate a mutex if none was provided.
4441 Add _join() to wait for a task to stop.
4442 Protect the thread pool with a global lock.
4444 2005-08-24 Wim Taymans <wim@fluendo.com>
4446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4447 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4448 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4449 * gst/base/gstbasesink.h:
4450 Handle newsegment events correctly.
4451 Drop buffers out of the segment range.
4453 2005-08-22 Andy Wingo <wingo@pobox.com>
4455 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4456 macro, implements an interface and gstimplementsinterface for a
4459 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4461 * check/Makefile.am:
4462 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4463 add a test that does a bunch of state changes on elements
4464 needs some fixing for valgrind
4465 * check/states/sinks.c: (gst_object_suite):
4468 add prototype for gst_caps_is_equal_fixed
4470 * gst/gstregistrypool.c:
4473 2005-08-24 Andy Wingo <wingo@pobox.com>
4475 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4476 convert a negative value. Doesn't make much sense. Mostly this is
4477 here to force callers to ensure -1 maps to -1.
4479 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4481 * docs/pwg/advanced-types.xml:
4482 Well done to Michael for catching my deliberate introduction
4483 of this spelling mistake.
4484 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4486 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4487 unlink pads before removing the element from the bin.
4489 2005-08-24 Andy Wingo <wingo@pobox.com>
4491 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4492 the same thing as GST_DEBUG=*:4.
4493 (parse_debug_level, parse_debug_category): New helper parsers.
4495 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4497 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4498 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4499 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4500 (gst_base_transform_buffer_alloc),
4501 (gst_base_transform_handle_buffer):
4502 use gboolean return values and pointers to size so we can use the
4503 full GST_BUFFER_SIZE range (guint) for buffer sizes
4504 use GstPadDirection for transform_caps
4505 * gst/base/gstbasetransform.h:
4506 rename get_size to get_unit_size since that's what it is
4507 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4508 use GstPadDirection for transform_caps
4509 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4511 cleanup and debugging
4513 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4515 * gst/gstelement.c: (gst_element_class_init),
4516 (gst_element_set_state), (activate_pads),
4517 (gst_element_save_thyself):
4518 * tools/gst-compprep.c: (main):
4519 * tools/gst-inspect.c: (print_element_properties_info):
4520 * tools/gst-xmlinspect.c: (print_element_properties):
4521 Fixed long standing mem-leak
4523 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4525 * check/gst/gstbin.c: (GST_START_TEST):
4526 * gst/gstbin.c: (bin_bus_handler):
4527 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4528 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4529 (gst_message_new_warning), (gst_message_new_tag),
4530 (gst_message_new_state_changed), (gst_message_new_segment_start),
4531 (gst_message_new_segment_done), (gst_message_new_custom):
4533 * tools/gst-launch.c: (event_loop):
4534 * tools/gst-md5sum.c: (event_loop):
4535 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4536 that applications can sensibly post custom messages with references
4537 to their own objects.
4539 2005-08-24 Andy Wingo <wingo@pobox.com>
4541 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4544 2005-08-24 Wim Taymans <wim@fluendo.com>
4546 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4547 (gst_base_transform_transform_caps),
4548 (gst_base_transform_transform_size),
4549 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4550 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4551 (gst_base_transform_handle_buffer):
4552 * gst/base/gstbasetransform.h:
4553 Many fixes and new features added by Thomas. Can now also do
4554 transforms with variable sizes and a custom fixate_caps function.
4556 2005-08-24 Wim Taymans <wim@fluendo.com>
4558 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4562 Cast to ClockTime before formatting to time.
4567 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4569 * check/gst-libs/controller.c: (GST_START_TEST),
4570 (gst_controller_suite):
4571 * docs/gst/tmpl/gstcaps.sgml:
4572 * docs/gst/tmpl/gstghostpad.sgml:
4573 * docs/gst/tmpl/gstquery.sgml:
4574 * docs/gst/tmpl/gstutils.sgml:
4575 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4576 (gst_object_sink_values), (gst_object_get_value_arrays),
4577 (gst_object_get_value_array):
4578 gracefully handle helper method calls to objects that are not beeing
4579 controlled, added test case for that
4581 2005-08-23 Wim Taymans <wim@fluendo.com>
4583 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4584 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4585 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4586 (gst_event_parse_qos), (gst_event_new_seek),
4587 (gst_event_parse_seek):
4589 Some more debugging output and doc cleanups.
4591 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4592 Fix possible deadlock.
4594 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4596 * docs/gst/gstreamer-docs.sgml:
4597 * docs/gst/gstreamer-sections.txt:
4598 * docs/gst/gstreamer.types:
4599 * docs/gst/tmpl/.cvsignore:
4604 added 100 symbols from gstreamer-unused.txt to the right sections
4605 fixed more broken comments
4606 added GstBus to docs
4608 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4610 * docs/gst/gstreamer-sections.txt:
4611 * docs/gst/tmpl/.cvsignore:
4612 * docs/gst/tmpl/gstbin.sgml:
4613 * docs/gst/tmpl/gstbuffer.sgml:
4614 * gst/base/gstbasesrc.c:
4615 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4618 * tools/gst-launch.1.in:
4619 inlined more doc comments, added missing comments and fixed comments
4622 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4624 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4628 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4630 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4631 * gst/gststructure.h:
4632 add a fixate function for booleans; add a FIXME that these func
4633 names should probably be gst_structure_fixate_*
4635 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4637 * docs/gst/gstreamer-docs.sgml:
4638 * docs/gst/gstreamer-sections.txt:
4640 * gst/gstbin.c: (gst_bin_get_type),
4641 (gst_bin_child_proxy_get_child_by_index),
4642 (gst_bin_child_proxy_get_children_count),
4643 (gst_bin_child_proxy_init):
4644 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4645 (gst_child_proxy_get_child_by_index),
4646 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4647 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4648 (gst_child_proxy_get), (gst_child_proxy_set_property),
4649 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4650 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4651 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4652 * gst/gstchildproxy.h:
4653 * gst/parse/grammar.y:
4654 * tools/gst-inspect.c: (print_interfaces),
4655 (print_element_properties_info), (print_element_info):
4656 ported gstchildproxy over from 0.8
4657 ported gst-inspect fixes and enhancements over from 0.8
4659 2005-08-22 Wim Taymans <wim@fluendo.com>
4661 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4662 (gst_base_transform_handle_buffer):
4663 Also call the transform function if we have ANY caps.
4665 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4668 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4670 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4671 Don't pretend to handle seek events if the source is not seekable
4673 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4676 Remove extra parameter to debug output
4678 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4679 (gst_base_src_do_seek), (gst_base_src_activate_push):
4680 Fix seek event handling.
4682 * gst/gstpipeline.c: (gst_pipeline_change_state):
4683 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4684 (gst_queue_src_activate_push):
4685 Don't start the src pad task on FLUSH_STOP if the pad
4689 2005-08-22 Wim Taymans <wim@fluendo.com>
4691 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4692 Added check for gst_static_caps_get() refcounting.
4694 2005-08-22 Wim Taymans <wim@fluendo.com>
4696 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4697 Make _static_caps_get() refcounting sane.
4699 * gst/gstelement.c: (gst_element_set_state):
4700 Add g_return_val_if_fail() to protect against segfaults.
4702 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4704 * docs/gst/tmpl/gstevent.sgml:
4707 inlined remaining docs, added missing doc comments
4709 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4711 * check/gst/gstbin.c: (GST_START_TEST):
4712 since we don't know when preroll is done, use refcount range
4714 * gst/check/gstcheck.h:
4715 add macro for checking refcount range
4717 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4719 * check/Makefile.am:
4720 clean up environment for when registry gets built versus
4721 when actual tests are run; valgrind seems to not report
4722 leaks if GST_PLUGIN_PATH is set to some specific values
4723 * check/gst/gstbin.c: (GST_START_TEST):
4724 add more refcounting checks; maybe this exposes a
4727 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4728 * gst/check/gstcheck.h:
4729 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4730 (gst_bin_change_state):
4731 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4732 add/fix debugging/whitespace
4734 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4736 * check/gst/gstevent.c: (event_probe), (test_event),
4738 Er, don't call gst_bin_watch_for_state_change you idiot.
4740 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4742 * check/Makefile.am:
4743 Use CHECK_CFLAGS and CHECK_LIBS
4744 * check/gst/gstevent.c: (event_probe), (test_event),
4747 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4748 (gst_base_src_start), (gst_base_src_stop),
4749 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4750 (gst_base_src_change_state):
4751 Sprinkle gst_base_src_stop liberally around error paths to fix
4752 problems reusing a source after failed state changes.
4753 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4754 (helper_find_suggest), (gst_type_find_helper):
4755 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4757 * docs/gst/tmpl/gstevent.sgml:
4758 Migrate part of the docs from the SGML file. Wait for ensonic to
4759 tell me how I did it wrong ;)
4760 * tools/gst-typefind.c: (main):
4761 Extra robustness to state changes between files.
4763 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4765 * check/Makefile.am:
4766 don't valgrind the controller test - it's leaking - Stefan, HELP
4767 * gst/check/gstcheck.c: (gst_check_message_error),
4768 (gst_check_chain_func), (gst_check_setup_element),
4769 (gst_check_teardown_element), (gst_check_setup_src_pad),
4770 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4771 (gst_check_teardown_sink_pad):
4772 * gst/check/gstcheck.h:
4773 add a bunch of methods to set up elements, and src and sink pads
4774 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4775 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4780 whitespace/doc fixes
4782 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4785 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4786 be handled by the application and not always printed as well
4788 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4790 * check/Makefile.am:
4792 * gst/check/gstcheck.c: (gst_check_message_error):
4793 * gst/check/gstcheck.h:
4794 add a fail_unless_equals_int
4795 add fail_unless for error messages
4797 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4799 * check/Makefile.am:
4801 * common/Makefile.am:
4804 factor out some of the common stuff so we can use it
4806 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4808 * check/Makefile.am:
4809 * check/gst/gstiterator.c: (GST_START_TEST):
4810 * check/gst/gstsystemclock.c: (GST_START_TEST),
4811 (gst_systemclock_suite):
4812 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4816 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4818 * check/elements/.cvsignore:
4819 * check/elements/gstfakesrc.c:
4820 rename to name of element
4821 * check/elements/identity.c: (chain_func), (event_func),
4822 (setup_identity), (cleanup_identity), (GST_START_TEST),
4823 (identity_suite), (main):
4824 add a test for identity
4825 * check/Makefile.am:
4826 * pkgconfig/Makefile.am:
4827 * pkgconfig/gstreamer-check.pc.in:
4828 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4832 move the check stuff to a library that gets installed
4833 * check/gst-libs/controller.c: (GST_START_TEST):
4834 * check/gst-libs/gdp.c:
4835 * check/gst/gst.c: (GST_START_TEST):
4836 * check/gst/gstbin.c:
4837 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4838 * check/gst/gstbus.c:
4839 * check/gst/gstcaps.c: (GST_START_TEST):
4840 * check/gst/gstelement.c:
4841 * check/gst/gstghostpad.c:
4842 * check/gst/gstiterator.c:
4843 * check/gst/gstmessage.c:
4844 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4845 * check/gst/gstobject.c:
4846 * check/gst/gstpad.c: (GST_START_TEST):
4847 * check/gst/gststructure.c: (GST_START_TEST):
4848 * check/gst/gstsystemclock.c: (GST_START_TEST),
4849 (gst_systemclock_suite):
4850 * check/gst/gsttag.c: (gst_tag_suite):
4851 * check/gst/gstvalue.c:
4852 * check/pipelines/cleanup.c:
4853 * check/pipelines/simple_launch_lines.c:
4854 * check/states/sinks.c:
4855 change include statement
4857 * docs/gst/gstreamer-sections.txt:
4858 * docs/gst/tmpl/gstpad.sgml:
4859 document more pad stuff
4860 * gst/gstminiobject.c: (gst_mini_object_ref),
4861 (gst_mini_object_unref):
4864 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4866 * docs/gst/tmpl/gst.sgml:
4868 eliminate another tmpl file, fix spelling in the long-description
4870 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4872 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4873 (test_event), (timediff), (gstevents_suite):
4874 Should fix build on 64-bit arch's
4876 2005-08-18 Andy Wingo <wingo@pobox.com>
4878 Make sure that when a pipeline goes to PLAYING, that data has
4879 actually hit the sink.
4881 * check/states/sinks.c (test_sink): A sink that doesn't get any
4882 data shouldn't return SUCCESS for going to either PLAYING or
4883 PAUSED. Test also the return values on the way back down.
4885 * gst/gstelement.c (gst_element_set_state): When changing the
4886 state of an element currently changing state asynchronously, go to
4887 lost-state after commiting the pending state. Makes future calls
4888 to get_state continue to return ASYNC.
4890 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4891 ASYNC when going to PLAYING if we still don't have preroll, as can
4892 happen with live sources.
4894 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4896 * docs/pwg/advanced-types.xml:
4897 Hack long paragraph into 2 chunks as a workaround for buggy
4898 jadetex version in sid and breezy that loops infinitely and
4901 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4903 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4904 (test_event), (timediff), (gstevents_suite):
4905 Provide more error margin in clock measurements to allow for
4906 g_get_current_time inaccuracies.
4908 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4910 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4911 (test_event), (timediff), (gstevents_suite):
4912 Fix error message output so I might be able to tell why the
4913 test works here but fails on the build farm.
4915 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4917 * check/Makefile.am:
4918 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4919 (test_event), (timediff), (gstevents_suite), (main):
4922 * docs/design/part-seeking.txt:
4925 * docs/gst/tmpl/gstevent.sgml:
4926 * docs/gst/tmpl/gstfakesrc.sgml:
4929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4930 Treat a buffer-without-newsegment the same as a receiving
4931 a newsegment not in time format, and disable syncing to the clock
4934 * gst/gstbus.c: (gst_bus_set_sync_handler):
4935 Assert if anyone tries to replace the existing sync_handler for bus,
4936 as only the owner should be setting it.
4939 Have a fixed set of custom event enums with events identified by
4940 their structure name (as in 0.8), rather than a free-for-all
4941 allowing collisions between enum values from different plugins.
4943 * gst/gstpad.c: (gst_pad_class_init):
4946 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4947 Handle out-of-band downstream events from the sending thread.
4949 2005-08-17 Andy Wingo <wingo@pobox.com>
4951 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4952 play-timeout==0 to mean no timeout at all. In that case, don't
4953 bother with a get_state or a warning, just return directly, even
4956 * gst/base/gstbasetransform.c: Debug changes.
4959 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4960 ensure bins post state change messages. A bit of a hack but I can't
4961 think of a way to avoid it.
4963 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4965 2005-08-16 Andy Wingo <wingo@pobox.com>
4967 * gst/base/gstadapter.h:
4968 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4969 peek() but you own the data. Not terribly efficient atm.
4971 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4973 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4974 (gst_element_found_tags):
4976 Add two utility functions for tag handling.
4978 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4980 * docs/manual/advanced-dataaccess.xml:
4981 * docs/manual/basics-helloworld.xml:
4982 Fix docs to use _bin_add() before _link(), which fixes the examples
4983 with recent core versions (reported by Madhan Raj M
4984 <raj_madan@rediffmail.com>, #313199).
4986 2005-08-16 Wim Taymans <wim@fluendo.com>
4988 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4989 Added subtract checks.
4991 * docs/design/part-events.txt:
4992 Some more docs about newsegment
4994 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4997 * gst/gstcaps.c: (gst_caps_to_string):
4998 Add comments, cleanups.
5000 * gst/gstelement.c: (gst_element_save_thyself):
5003 * gst/gstvalue.c: (gst_value_collect_int_range),
5004 (gst_string_unwrap), (gst_value_union_int_int_range),
5005 (gst_value_union_int_range_int_range),
5006 (gst_value_intersect_int_int_range),
5007 (gst_value_intersect_int_range_int_range),
5008 (gst_value_intersect_double_double_range),
5009 (gst_value_intersect_double_range_double_range),
5010 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5011 (gst_value_subtract_int_range_int),
5012 (gst_value_subtract_double_range_double),
5013 (gst_value_subtract_double_range_double_range),
5014 (gst_value_subtract_from_list), (gst_value_subtract_list),
5015 (gst_value_can_compare), (gst_value_compare_fraction):
5016 Cleanups, add comments, remove unneeded asserts.
5018 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5020 * tools/gst-launch.c: (event_loop):
5021 don't convert NULL structures to strings
5023 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5025 * docs/gst/gstreamer-sections.txt:
5026 made some defines private
5027 * docs/gst/tmpl/gstconfig.sgml:
5028 * docs/gst/tmpl/gstqueue.sgml:
5029 * docs/gst/tmpl/gsttaglist.sgml:
5030 * docs/gst/tmpl/gsttypes.sgml:
5031 * docs/gst/tmpl/gstutils.sgml:
5032 * docs/pwg/appendix-porting.xml:
5033 * gst/base/gstbasesink.h:
5034 * gst/base/gstbasesrc.c:
5035 * gst/base/gstbasesrc.h:
5036 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5037 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5038 * gst/gstelement.c: (gst_element_class_init):
5039 * gst/gstpad.c: (gst_pad_class_init):
5040 * gst/gstqueue.c: (gst_queue_class_init):
5041 * gst/gstxml.c: (gst_xml_class_init):
5042 documented all undocumented signal inline
5043 * libs/gst/controller/gst-controller.h:
5046 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5048 * docs/pwg/appendix-porting.xml:
5049 Document _set_link_function -> _set_setcaps_function.
5051 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5053 * check/Makefile.am:
5054 add a .check target for running the check
5055 * check/gst-libs/controller.c: (GST_START_TEST):
5057 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5058 complete checks for gstbuffer; would be nice if I could get the
5059 gcov stuff to work so I can see if I actually completed gstbuffer.c
5061 add ASSERT_BUFFER_REFCOUNT
5063 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5065 * docs/gst/gstreamer-sections.txt:
5066 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5068 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5069 spew out a warning if a tag that is already registered
5070 is re-registered, unless it is re-registered with a
5071 different type (#308438).
5073 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5075 * docs/pwg/appendix-porting.xml:
5076 * docs/pwg/building-state.xml:
5077 Add some paragraphs about state changes in 0.9 to the PWG
5078 and the porting guide, in particular about the new meaning
5079 of GST_STATE_PAUSED and how to write state change functions
5080 with concurrent access by multiple threads in mind.
5082 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5084 * docs/gst/gstreamer-docs.sgml:
5085 * docs/libs/gstreamer-libs-docs.sgml:
5086 added deprecation and since indexes
5087 * libs/gst/controller/gst-controller.c:
5088 * libs/gst/controller/gst-helper.c:
5092 2005-08-11 Wim Taymans <wim@fluendo.com>
5094 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5095 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5096 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5097 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5098 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5099 (gst_ghost_pad_set_target):
5100 Actually implement (re)setting the target on a ghostpad
5101 as described in the docs.
5103 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5105 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5106 Check whether GST_DEBUG_NO_COLOR environment variable is
5107 set and disable coloured debug output if that is the case.
5109 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5111 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5112 (gst_type_find_helper):
5113 The memory returned by gst_type_find_peek() needs to
5114 stay valid until the end of a typefind function, and
5115 typefind functions may keep results from different
5116 offsets around, so we can't just unref the buffer from
5117 the previous _peek(), but have to save all buffers
5118 returned by _peek() until typefinding is done and only
5121 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5123 * docs/gst/gstreamer-sections.txt:
5125 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5127 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5129 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5130 Fix a pretty good memleak.
5132 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5134 * gst/gstiterator.h:
5135 Fix wrong include and 'make distcheck'.
5137 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5139 * gst/gstbin.c: (bin_bus_handler):
5140 Use gst_element_post_message() instead.
5142 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5144 * gst/base/gstadapter.h:
5145 * gst/base/gstbasesink.h:
5146 * gst/base/gstbasesrc.h:
5147 * gst/base/gstbasetransform.h:
5148 * gst/base/gstcollectpads.h:
5149 * gst/base/gstpushsrc.h:
5150 * gst/gstiterator.h:
5151 Add padding to our base elements' class and instance structs and
5152 to GstIterator (you will need to rebuild all plugins and apps!)
5154 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5156 * gst/gstbin.c: (bin_bus_handler):
5157 Make default message forwarding from child->bus to bin->bus
5158 threadsafe and make it not emit warnings if the parent has no bus.
5160 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5162 * gst/gstelement.c: (activate_pads):
5163 On paused->ready, set pad->caps to NULL, as is the documented
5164 behaviour in this state change. Fixes playback of series of
5165 media files when visualization is enabled in Totem.
5167 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5169 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5170 Allow NULL as filter-caps (which means "any").
5172 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5174 * docs/libs/gstreamer-libs-sections.txt:
5175 * libs/gst/controller/gst-controller.c:
5176 * libs/gst/controller/gst-controller.h:
5177 * libs/gst/controller/gst-helper.c:
5178 adding more entries to the docs and fix small doc-bugs
5180 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5182 * docs/gst/gstreamer-docs.sgml:
5183 * docs/gst/gstreamer-sections.txt:
5184 * docs/gst/gstreamer.types:
5185 * docs/gst/tmpl/gstbasesink.sgml:
5186 * docs/gst/tmpl/gstbasesrc.sgml:
5187 * docs/gst/tmpl/gstbasetransform.sgml:
5188 * docs/gst/tmpl/gstfakesrc.sgml:
5189 * gst/base/gstcollectpads.c:
5190 * gst/base/gstcollectpads.h:
5191 * libs/gst/controller/gst-controller.c:
5192 * libs/gst/controller/gst-controller.h:
5193 * libs/gst/controller/gst-helper.c:
5194 * libs/gst/controller/gst-interpolation.c:
5195 * libs/gst/controller/lib.c:
5196 added long/short desc for controller docs
5197 added collectpads base class docs
5198 added correct includes to base-class docs
5200 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5202 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5203 (gst_test_mono_source_set_property),
5204 (gst_test_mono_source_class_init), (GST_START_TEST),
5205 (gst_controller_suite):
5206 * docs/gst/gstreamer-docs.sgml:
5207 * docs/gst/gstreamer-sections.txt:
5208 * docs/gst/gstreamer.types:
5209 * docs/libs/gstreamer-libs-docs.sgml:
5210 * docs/libs/gstreamer-libs-sections.txt:
5211 * gst/base/gstadapter.c:
5212 * libs/gst/controller/gst-controller.c:
5213 (gst_controlled_property_new), (gst_controlled_property_free),
5214 (gst_controller_new_valist),
5215 (gst_controller_remove_properties_valist),
5216 (gst_controller_sink_values), (_gst_controller_finalize):
5217 * libs/gst/controller/gst-controller.h:
5218 * libs/gst/controller/gst-helper.c:
5219 (gst_object_control_properties), (gst_object_uncontrol_properties),
5220 (gst_object_get_controller), (gst_object_set_controller),
5221 (gst_object_sink_values), (gst_object_get_value_arrays),
5222 (gst_object_get_value_array):
5223 more tests (and fixes) for the controller
5224 more docs for the controller
5225 integrated companies docs for the adapter
5227 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5229 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5230 (GST_START_TEST), (fakesrc_suite):
5231 add tests for sizetype
5233 2005-08-04 Andy Wingo <wingo@pobox.com>
5235 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5236 fixes buffer_alloc proxying among other things.
5238 * gst/base/gstbasetransform.c:
5239 * gst/base/gstbasetransform.h:
5240 Revert patch to gstbasetransform from 7-28 removing
5243 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5244 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5245 Semantics changed, should return not the size of the output buffer
5246 but the byte size of a buffer with a given caps.
5248 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5250 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5251 out) are not the pad caps until setcaps finishes.
5252 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5253 not-in-place case as well. Deal with changing from in-place to
5254 not-in-place within calling pad_alloc_buffer. Still a bit
5255 concerned about the overhead here...
5257 2005-08-03 Andy Wingo <wingo@pobox.com>
5259 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5260 fixating is an error.
5262 2005-08-04 Edward Hervey <edward@fluendo.com>
5264 * gst/base/gstadapter.h:
5265 Added gst_adapter_get_type() to the header
5267 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5269 * check/Makefile.am:
5270 * check/gst-libs/controller.c:
5271 * libs/gst/controller/gst-controller.c:
5272 (gst_controller_new_valist):
5273 added check test suite for the controller
5274 * gst/base/gstpushsrc.c:
5277 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5279 * docs/gst/Makefile.am:
5280 * docs/gst/gstreamer-docs.sgml:
5281 * docs/gst/gstreamer-sections.txt:
5282 * docs/gst/gstreamer.types:
5283 * docs/gst/tmpl/gstfakesrc.sgml:
5285 * gst/base/gstbasesink.c:
5286 * gst/base/gstbasesink.h:
5287 * gst/base/gstbasesrc.c:
5288 * gst/base/gstbasesrc.h:
5289 * gst/base/gstbasetransform.c:
5290 * gst/base/gstpushsrc.c:
5291 * gst/base/gstpushsrc.h:
5292 add short/long description docs to base classes
5293 add pushsrc to the docs
5294 remove consolidated doc fragments
5296 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5299 * docs/libs/Makefile.am:
5300 * docs/libs/gstreamer-libs-docs.sgml:
5301 * docs/libs/gstreamer-libs-sections.txt:
5302 * docs/libs/gstreamer-libs.types:
5303 * examples/Makefile.am:
5304 * examples/controller/.cvsignore:
5305 * examples/controller/Makefile.am:
5306 * examples/controller/audio-example.c: (main):
5307 * libs/gst/Makefile.am:
5308 * libs/gst/controller/.cvsignore:
5309 * libs/gst/controller/Makefile.am:
5310 * libs/gst/controller/gst-controller.c:
5311 (on_object_controlled_property_changed), (gst_timed_value_compare),
5312 (gst_timed_value_find),
5313 (gst_controlled_property_set_interpolation_mode),
5314 (gst_controlled_property_new), (gst_controlled_property_free),
5315 (gst_controller_find_controlled_property),
5316 (gst_controller_new_valist), (gst_controller_new),
5317 (gst_controller_remove_properties_valist),
5318 (gst_controller_remove_properties), (gst_controller_set),
5319 (gst_controller_set_from_list), (gst_controller_unset),
5320 (gst_controller_get), (gst_controller_get_all),
5321 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5322 (gst_controller_get_value_array),
5323 (gst_controller_set_interpolation_mode),
5324 (_gst_controller_finalize), (_gst_controller_init),
5325 (_gst_controller_class_init), (gst_controller_get_type):
5326 * libs/gst/controller/gst-controller.h:
5327 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5328 (g_object_uncontrol_properties), (g_object_get_controller),
5329 (g_object_set_controller), (g_object_sink_values),
5330 (g_object_get_value_arrays), (g_object_get_value_array):
5331 * libs/gst/controller/gst-interpolation.c:
5332 (gst_controlled_property_find_timed_value_node),
5333 (interpolate_none_get), (interpolate_trigger_get),
5334 (interpolate_trigger_get_value_array):
5335 * libs/gst/controller/lib.c: (gst_controller_init):
5336 * pkgconfig/Makefile.am:
5337 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5338 * pkgconfig/gstreamer-control.pc.in:
5339 * testsuite/Makefile.am:
5340 * testsuite/controller/.cvsignore:
5341 * testsuite/controller/Makefile.am:
5342 * testsuite/controller/interpolator.c: (main):
5343 added controller code
5344 removed dparam pc files
5346 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5347 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5348 (gst_collectpads_stop):
5349 Broadcast the condition when shutting down, to make sure we wake all
5350 threads up. Shut down pads on finalize, for safety.
5352 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5353 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5354 (gst_base_transform_handle_buffer),
5355 (gst_base_transform_change_state):
5356 Handle PAUSED->READY->PAUSED transition after negotiation
5358 * gst/gstmessage.c: (gst_message_init):
5359 Extra piece of debug for new messages.
5361 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5364 * docs/gst/tmpl/gstbasesrc.sgml:
5365 * docs/gst/tmpl/gstelement.sgml:
5366 * docs/gst/tmpl/gstevent.sgml:
5367 * docs/gst/tmpl/gstfakesrc.sgml:
5368 * docs/gst/tmpl/gstformat.sgml:
5369 * docs/gst/tmpl/gstghostpad.sgml:
5370 * docs/gst/tmpl/gstpad.sgml:
5371 * docs/gst/tmpl/gstquery.sgml:
5372 * docs/gst/tmpl/gststructure.sgml:
5373 * docs/gst/tmpl/gsttaglist.sgml:
5374 * docs/gst/tmpl/gstvalue.sgml:
5375 * docs/libs/gstreamer-libs-docs.sgml:
5376 * docs/libs/gstreamer-libs-sections.txt:
5377 * docs/libs/gstreamer-libs.types:
5378 * libs/gst/Makefile.am:
5379 * libs/gst/control/.cvsignore:
5380 * libs/gst/control/Makefile.am:
5381 * libs/gst/control/control.c:
5382 * libs/gst/control/control.h:
5383 * libs/gst/control/dparam.c:
5384 * libs/gst/control/dparam.h:
5385 * libs/gst/control/dparam_smooth.c:
5386 * libs/gst/control/dparam_smooth.h:
5387 * libs/gst/control/dparamcommon.h:
5388 * libs/gst/control/dparammanager.c:
5389 * libs/gst/control/dparammanager.h:
5390 * libs/gst/control/dplinearinterp.c:
5391 * libs/gst/control/dplinearinterp.h:
5392 * libs/gst/control/unitconvert.c:
5393 * libs/gst/control/unitconvert.h:
5394 * testsuite/Makefile.am:
5395 * testsuite/dynparams/.cvsignore:
5396 * testsuite/dynparams/Makefile.am:
5397 * testsuite/dynparams/dparamstest.c:
5398 * tools/Makefile.am:
5399 * tools/gst-inspect.c: (print_element_info), (main):
5400 * tools/gst-xmlinspect.c: (print_element_info), (main):
5401 deactivate and remove dparams (libgstcontrol)
5403 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5405 * gst/elements/gsttypefindelement.c:
5406 (gst_type_find_element_have_type), (gst_type_find_element_init),
5407 (stop_typefinding), (gst_type_find_element_handle_event),
5408 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5409 * gst/elements/gsttypefindelement.h:
5410 Set caps on all outgoing buffers, not just the first one.
5412 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5414 * gst/elements/gsttypefindelement.c:
5415 (gst_type_find_element_have_type),
5416 (gst_type_find_element_check_set_buffer_caps),
5417 (gst_type_find_element_init), (stop_typefinding),
5418 (gst_type_find_element_handle_event),
5419 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5420 * gst/elements/gsttypefindelement.h:
5421 Set caps on first outgoing buffer when we've found the type.
5423 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5425 * docs/gst/gstreamer-docs.sgml:
5426 * docs/gst/gstreamer-sections.txt:
5427 * docs/gst/tmpl/gstscheduler.sgml:
5428 * docs/gst/tmpl/gstschedulerfactory.sgml:
5429 Remove some old cruft from docs.
5431 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5434 Fix inline docs for GstPadLinkReturn.
5436 * gst/gststructure.c: (gst_structure_has_name):
5437 * gst/gststructure.h:
5438 * docs/gst/gstreamer-sections.txt:
5439 New API: gst_structure_has_name().
5441 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5444 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5445 and _LARGEFILE_SOURCE in config.h as required. Do not
5446 export those flags in our .pc files any longer (#142209).
5448 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5450 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5451 (gst_file_sink_do_seek), (gst_file_sink_event),
5452 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5453 Redo seek/tell calls with large file support in mind; add some
5454 debugging messages; add log message that tells us when large
5455 file support is unavailable or not enabled for some reason.
5457 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5458 Add log message that tells us when large file support
5459 is unavailable or not enabled for some reason.
5461 2005-07-29 Wim Taymans <wim@fluendo.com>
5463 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5464 Added test for removing an element with ghostpad from a bin.
5465 Fixed test as current implementation does the right thing.
5467 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5468 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5469 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5470 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5471 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5472 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5473 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5474 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5475 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5476 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5477 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5478 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5479 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5480 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5481 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5482 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5483 * gst/gstghostpad.h:
5484 Clean up ghostpads, remove properties for internal stuff.
5487 Prepare for switching targets, not all use cases work yet.
5489 2005-07-29 Wim Taymans <wim@fluendo.com>
5491 * docs/design/part-gstghostpad.txt:
5494 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5495 (gst_bin_remove_func):
5496 Unlinking pads while holding the bin LOCK is not a good
5499 * gst/gstpad.c: (gst_pad_class_init),
5500 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5501 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5502 No prob setting template after creating the pad.
5504 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5506 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5507 (gst_bus_peek), (gst_bus_source_dispatch),
5508 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5509 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5510 gst_bus_poll may be called from other threads. Handle
5511 this nicely by not making poll_data disappear off the
5512 stack once gst_bus_poll returns.
5513 gst_bus_peek now increments the refcount on the returned
5516 2005-07-29 Wim Taymans <wim@fluendo.com>
5518 * docs/design/part-gstghostpad.txt:
5519 Overview of current GhostPad datastructures and use
5520 cases for changing the target.
5522 2005-07-28 Wim Taymans <wim@fluendo.com>
5524 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5525 Added checks for hierarchy consistency whan adding linked
5528 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5529 Added check to test element scheduling without bin/pipeline.
5531 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5532 First add elements to bin, then link.
5534 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5535 (gst_bin_remove_func):
5536 Unlink pads from elements added/removed from bin to maintain
5537 hierarchy consistency.
5539 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5541 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5542 (gst_base_transform_handle_buffer):
5543 * gst/base/gstbasetransform.h:
5544 Remove broken delay_configure (fixes renegotiation of software
5545 scaling pipelines); remove some leftover printf()s.
5547 2005-07-28 Wim Taymans <wim@fluendo.com>
5549 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5550 Added some more tests for wrong hierarchy
5552 * docs/design/part-overview.txt:
5555 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5558 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5559 (gst_element_dispose):
5562 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5563 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5564 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5565 (gst_pad_set_caps), (gst_pad_send_event):
5566 Check for correct hierarchy when linking pads. Moving to
5567 strict requirement for ghostpads when linking elements in
5571 Clean ups. Added WRONG_HIERARCHY return value.
5573 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5575 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5576 Better debug if no transform is possible.
5578 2005-07-27 Wim Taymans <wim@fluendo.com>
5580 * docs/random/wtay/network-transp:
5583 2005-07-27 Wim Taymans <wim@fluendo.com>
5585 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5586 (gst_dp_event_from_packet):
5587 Fix serialization of seek events.
5589 2005-07-27 Wim Taymans <wim@fluendo.com>
5591 * check/gst-libs/gdp.c: (GST_START_TEST):
5592 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5593 Fix compilation and fix event serialization.
5595 2005-07-27 Wim Taymans <wim@fluendo.com>
5598 * docs/design/part-TODO.txt:
5599 * docs/design/part-events.txt:
5602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5603 (gst_base_sink_event), (gst_base_sink_do_sync),
5604 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5605 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5606 (gst_base_src_do_seek), (gst_base_src_event_handler),
5607 (gst_base_src_loop):
5608 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5609 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5610 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5611 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5612 (gst_base_transform_set_passthrough),
5613 (gst_base_transform_is_passthrough):
5614 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5615 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5621 * gst/gstelement.c: (gst_element_seek):
5623 Update gst_element_seek.
5625 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5626 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5627 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5628 (gst_event_new_eos), (gst_event_new_newsegment),
5629 (gst_event_parse_newsegment), (gst_event_new_tag),
5630 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5631 (gst_event_parse_qos), (gst_event_new_seek),
5632 (gst_event_parse_seek), (gst_event_new_navigation):
5634 Make GstEvent use GstStructure. Add parsing code, make sure the
5635 API is sufficiently generic.
5636 Mark possible directions of events and serialization.
5638 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5639 (_gst_message_copy), (gst_message_new_segment_start),
5640 (gst_message_new_segment_done), (gst_message_new_custom),
5641 (gst_message_parse_segment_start),
5642 (gst_message_parse_segment_done):
5645 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5646 (gst_pad_set_caps), (gst_pad_send_event):
5647 Update for new events.
5648 Catch events sent in wrong directions.
5650 * gst/gstqueue.c: (gst_queue_link_src),
5651 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5652 (gst_queue_handle_src_query):
5657 Remove event code from this file.
5659 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5660 (gst_dp_event_from_packet):
5663 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5665 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5666 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5667 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5668 Make debugging actually useful.
5670 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5672 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5673 (gst_pad_fixate_caps):
5674 Implement default fixation once again, so that gst_pad_fixate()
5675 actually does anything at all. This probably needs to be some
5676 sort of a last resort, and use profile-based fixation first, but
5677 since that doesn't exist yet, this is the best we have. Fixes
5678 visualization in Totem.
5680 2005-07-22 Wim Taymans <wim@fluendo.com>
5682 * docs/design/part-events.txt:
5685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5686 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5687 (gst_base_sink_activate_pull):
5690 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5691 (gst_fake_src_create):
5692 Fix handoff marshall.
5694 * gst/elements/gstidentity.c: (gst_identity_class_init),
5695 (gst_identity_transform_ip):
5696 We're a real inplace element.
5698 * gst/gstbus.c: (gst_bus_post):
5699 Added some comments.
5701 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5702 * tests/muxing/case1.c: (main):
5703 * tests/sched/dynamic-pipeline.c: (main):
5704 * tests/sched/interrupt1.c: (main):
5705 * tests/sched/interrupt2.c: (main):
5706 * tests/sched/interrupt3.c: (main):
5707 * tests/sched/runxml.c: (main):
5708 * tests/sched/sched-stress.c: (main):
5709 * tests/seeking/seeking1.c: (event_received), (main):
5710 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5712 * tests/threadstate/threadstate3.c: (main):
5713 * tests/threadstate/threadstate4.c: (main):
5714 * tests/threadstate/threadstate5.c: (main):
5717 2005-07-21 Wim Taymans <wim@fluendo.com>
5719 * docs/design/part-seeking.txt:
5720 Some small additions.
5722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5723 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5724 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5725 * gst/base/gstbasesink.h:
5726 discont values are gint64, handle the math correctly.
5728 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5729 Make the basesrc report error if the source pad is not linked.
5731 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5732 (gst_queue_loop), (gst_queue_handle_src_query),
5733 (gst_queue_src_activate_push):
5734 Make queue collect data even if the srcpad is not linked.
5735 Start pushing out data as soon as it is linked.
5737 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5739 Added gst_flow_get_name() to ease error reporting.
5741 2005-07-20 Wim Taymans <wim@fluendo.com>
5743 * gst/gstmessage.c: (gst_message_new_segment_start),
5744 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5745 (gst_message_parse_segment_done):
5747 Added a bunch of messages for advanced seeking.
5749 * gst/parse/grammar.y:
5750 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5751 (gst_dpman_state_changed):
5752 Fix some new-pad -> pad-added signals
5754 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5756 * docs/manual/appendix-porting.xml:
5757 * docs/pwg/appendix-porting.xml:
5758 Document new-pad/state-change signal renames and the FixedList
5761 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5763 * docs/manual/advanced-autoplugging.xml:
5764 * docs/manual/basics-helloworld.xml:
5765 * docs/manual/basics-pads.xml:
5766 * docs/random/ds/0.9-suggested-changes:
5767 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5772 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5773 (gst_structure_parse_array), (gst_structure_parse_value):
5774 * gst/gstvalue.c: (gst_type_is_fixed),
5775 (gst_value_list_prepend_value), (gst_value_list_append_value),
5776 (gst_value_list_get_size), (gst_value_list_get_value),
5777 (gst_value_transform_array_string), (gst_value_serialize_array),
5778 (gst_value_deserialize_array), (gst_value_intersect_array),
5779 (gst_value_is_fixed), (_gst_value_initialize):
5781 GstElement::new-pad -> pad-added, GstElement::state-change ->
5782 state-changed, GstValueFixedList -> GstValueArray, add format and
5783 flags as their own arguments in gst_element_seek() (should improve
5784 "bindeability"), remove function generators since they don't work
5785 under a whole bunch of compilers (they were deprecated already
5788 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5790 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5791 (_gst_debug_register_funcptr):
5793 Fix illegal cast on some platforms (#309253).
5795 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5797 * gst/gstmessage.c: (gst_message_new_custom):
5799 Add _new_custom, make _new_application a macro to _new_custom.
5801 2005-07-20 Wim Taymans <wim@fluendo.com>
5803 * gst/base/gstbasesrc.c: (gst_base_src_init),
5804 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5805 * gst/base/gstbasesrc.h:
5806 Add a gboolean to decide when to push out a discont.
5808 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5809 (gst_queue_loop), (gst_queue_handle_src_query),
5810 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5811 (gst_queue_set_property), (gst_queue_get_property):
5814 * tests/threadstate/threadstate1.c: (main):
5815 Make a thread test compile and run... very silly..
5818 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5820 * docs/manual/appendix-porting.xml:
5821 Mention removal of libgstgconf-0.9.la and existence of gconf
5824 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5826 * docs/pwg/advanced-clock.xml:
5827 * docs/pwg/appendix-porting.xml:
5828 * docs/pwg/intro-preface.xml:
5829 * docs/pwg/other-base.xml:
5830 * docs/pwg/other-manager.xml:
5831 * docs/pwg/other-nton.xml:
5832 * docs/pwg/other-ntoone.xml:
5833 * docs/pwg/other-oneton.xml:
5835 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5836 demuxer), remove n-to-n (was never written), fix some code examples
5837 and links and update the porting section to include all this.
5839 2005-07-19 Wim Taymans <wim@fluendo.com>
5841 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5842 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5843 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5844 (gst_queue_src_activate_push), (gst_queue_change_state),
5845 (gst_queue_get_property):
5847 Propagate GstFlowReturn more intelligently upstream and output
5848 an ERROR/EOS when streaming stopped due to fatal error.
5850 2005-07-19 Wim Taymans <wim@fluendo.com>
5852 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5853 Don't block forever for the state change to complete, the
5854 pipeline already did with a sensible timeout.
5856 2005-07-19 Wim Taymans <wim@fluendo.com>
5858 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5859 Make sure we never call the create function is we
5862 2005-07-19 Andy Wingo <wingo@pobox.com>
5864 * gst/parse/parse.l: Attempt to solve bug #172815.
5866 2005-07-19 Wim Taymans <wim@fluendo.com>
5868 * docs/design/part-clocks.txt:
5869 * docs/design/part-events.txt:
5870 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5872 Only update the seeking values when we are not
5875 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5877 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5878 Oops, ignore the result of gst_pad_push_event here.
5880 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5882 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5883 (gst_base_src_activate_push):
5884 Send discont event from the loop function, as pads
5885 aren't activated yet in the activate_push handler.
5887 * gst/gstbin.c: (bin_bus_handler):
5888 Don't leak element name.
5890 2005-07-18 Andy Wingo <wingo@pobox.com>
5892 * configure.ac: Use AS_LIBTOOL_TAGS.
5894 2005-07-18 Wim Taymans <wim@fluendo.com>
5896 * docs/gst/gstreamer.types:
5897 Remove deleted types.
5899 2005-07-18 Wim Taymans <wim@fluendo.com>
5901 * check/elements/gstfakesrc.c: (GST_START_TEST):
5904 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5905 (init_popt_callback):
5907 * gst/gst_private.h:
5908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5909 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5912 * gst/gstconfig.h.in:
5913 * gst/gstelement.c: (gst_element_class_init),
5914 (gst_element_set_base_time), (gst_element_get_base_time),
5915 (iterator_fold_with_resync), (gst_element_change_state),
5916 (gst_element_dispose), (gst_element_get_bus):
5918 * gst/gstelementfactory.h:
5919 * gst/gsterror.c: (_gst_core_errors_init):
5922 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5924 * gst/gstinfo.c: (_gst_debug_init):
5925 * gst/gstmessage.c: (_gst_message_copy):
5927 * gst/gstminiobject.h:
5930 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5931 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5934 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5935 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5936 (gst_pipeline_get_last_stream_time):
5937 * gst/gstpipeline.h:
5938 * gst/gstpluginfeature.h:
5940 * gst/gstscheduler.c:
5941 * gst/gstscheduler.h:
5942 * gst/gststructure.h:
5943 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5944 (gst_task_finalize), (gst_task_func), (gst_task_create),
5945 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5946 (gst_task_stop), (gst_task_pause):
5948 * gst/gsttypefind.h:
5950 * gst/registries/gstlibxmlregistry.c: (load_feature),
5951 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5952 * gst/registries/gstxmlregistry.c:
5953 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5954 * gst/schedulers/threadscheduler.c:
5955 * libs/gst/control/dparammanager.h:
5956 * tools/gst-inspect.c: (print_element_list),
5957 (print_plugin_features), (print_element_features):
5958 * tools/gst-xmlinspect.c: (print_element_list),
5959 (print_plugin_info), (main):
5960 Removed plugable schedulers.
5961 Removed Scheduler/Manager from elements.
5962 Removed gsttypes.h, rearranged includes.
5963 Removed dependency pad<->element, element<>pipeline, and
5964 various others, fix includes.
5965 implement gst_pad_get_parent() with gst_object_get_parent()
5966 Make GstTask sefcontained.
5967 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5969 Fix endless loop in iterator_fold_with_resync.
5972 2005-07-18 Wim Taymans <wim@fluendo.com>
5978 2005-07-18 Wim Taymans <wim@fluendo.com>
5983 2005-07-18 Wim Taymans <wim@fluendo.com>
5989 2005-07-18 Wim Taymans <wim@fluendo.com>
5991 * docs/design/part-dynamic.txt:
5992 * docs/design/part-events.txt:
5993 * docs/design/part-seeking.txt:
5994 Some more docs in the works.
5996 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5997 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5998 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5999 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6000 (gst_base_transform_handle_buffer),
6001 (gst_base_transform_sink_activate_push),
6002 (gst_base_transform_src_activate_pull),
6003 (gst_base_transform_set_passthrough),
6004 (gst_base_transform_is_passthrough):
6007 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6010 * gst/gstevent.c: (gst_event_finalize):
6013 * gst/gstutils.c: (gst_element_unlink),
6014 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6015 (gst_pad_proxy_setcaps):
6017 Add _get_parent_element() to get a pads parent as an element.
6019 2005-07-18 Wim Taymans <wim@fluendo.com>
6021 * check/gst/gstbin.c: (GST_START_TEST):
6024 2005-07-18 Wim Taymans <wim@fluendo.com>
6026 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6027 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6028 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6029 (gst_base_sink_event), (gst_base_sink_do_sync),
6030 (gst_base_sink_chain), (gst_base_sink_loop),
6031 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6032 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6034 Fix logic for returning ASYNC when not prerolled.
6036 2005-07-18 Wim Taymans <wim@fluendo.com>
6038 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6039 Fix nasty refcount bug.
6041 2005-07-16 Philippe Khalaf <burger@speedy.org>
6043 * gst/elements/gstfdsrc.c:
6044 * gst/elements/gstfdsrc.h:
6045 * gst/elements/gstelements.c:
6046 * gst/elements/Makefile.am:
6047 Ported fdsrc to 0.9.
6049 2005-07-16 Wim Taymans <wim@fluendo.com>
6051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6052 (gst_base_sink_do_sync):
6055 2005-07-16 Wim Taymans <wim@fluendo.com>
6057 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6058 (gst_base_sink_event), (gst_base_sink_get_times),
6059 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6060 * gst/base/gstbasesink.h:
6061 Store and use discont values when syncing buffers as described
6064 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6065 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6066 (gst_base_src_activate_push):
6067 Push discont event when starting.
6069 * gst/elements/gstidentity.c: (gst_identity_transform):
6072 * gst/gstbin.c: (gst_bin_change_state):
6073 Small cleanups in base_time distribution.
6075 * gst/gstelement.c: (gst_element_set_base_time),
6076 (gst_element_get_base_time), (gst_element_change_state):
6078 Added methods for the base_time of the element.
6081 * gst/gstpipeline.c: (gst_pipeline_send_event),
6082 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6083 (gst_pipeline_get_last_stream_time):
6084 * gst/gstpipeline.h:
6086 Handle seeking as described in design doc, remove stream_time
6088 Cleanups clock and stream_time selection code. Added accessors
6089 for the stream_time.
6092 2005-07-16 Andy Wingo <wingo@pobox.com>
6094 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6097 2005-07-16 Wim Taymans <wim@fluendo.com>
6099 * check/gst/gstbin.c: (GST_START_TEST):
6100 Make elements silent as the deep_notify refs the
6101 parent, which might make the test fail.
6103 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6104 Don't hold the lock for too long.
6106 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6108 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6109 Don't unref the caps we passed to gst_caps_make_writable() after
6110 passing them. gst_caps_make_writable() will do that for us.
6112 2005-07-15 Andy Wingo <wingo@pobox.com>
6114 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6117 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6118 own marshalling function for the handoff signal. Properly type the
6119 buffer as a buffer. Fixes some warnings. Should do a more general
6121 (gst_identity_class_init): Plug into the right marshaller.
6123 2005-07-15 Wim Taymans <wim@fluendo.com>
6125 * docs/design/part-TODO.txt:
6126 * docs/design/part-clocks.txt:
6127 * docs/design/part-element-sink.txt:
6128 * docs/design/part-events.txt:
6129 * docs/design/part-gstpipeline.txt:
6130 Updated docs, mostly DISCONT related.
6132 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6134 * docs/pwg/building-pads.xml:
6135 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6137 2005-07-15 Andy Wingo <wingo@pobox.com>
6139 * tools/gst-typefind.c: Update, add copyright block.
6141 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6142 Normalize and truncate caps before fixation.
6145 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6146 discards all but the first structure from its argument.
6148 2005-07-15 Wim Taymans <wim@fluendo.com>
6150 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6151 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6152 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6153 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6154 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6155 (gst_base_transform_chain), (gst_base_transform_change_state),
6156 (gst_base_transform_set_passthrough),
6157 (gst_base_transform_is_passthrough):
6158 * gst/base/gstbasetransform.h:
6159 Make passthrough work using the bufferpools.
6160 Changed API a bit, subclasses have to write into a buffer
6161 provided by the base class.
6162 More debug info in nego functions.
6164 * gst/elements/gstidentity.c: (gst_identity_init),
6165 (gst_identity_transform):
6166 Port to new base class.
6168 2005-07-15 Wim Taymans <wim@fluendo.com>
6170 * gst/gstmessage.c: (gst_message_new_state_changed):
6171 * tools/gst-launch.c: (event_loop), (main):
6172 Totally dump messages in -launch with the -m option.
6173 Fix message name for State messages,
6175 2005-07-14 Wim Taymans <wim@fluendo.com>
6177 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6178 Post error messages on errors.
6180 2005-07-14 Wim Taymans <wim@fluendo.com>
6182 * gst/gstcaps.c: (gst_caps_do_simplify):
6186 Define error for stream stopped.
6188 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6189 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6190 Do proper return values.
6192 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6193 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6194 (gst_pad_get_range):
6195 Better return values.
6198 Reorganise return values, add macro to check for fatal errors.
6200 * gst/gstqueue.c: (gst_queue_chain):
6201 Return proper GstFlowReturn values,
6203 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6205 * docs/gst/gstreamer-sections.txt:
6206 * docs/gst/gstreamer.types:
6207 * docs/gst/tmpl/gst.sgml:
6208 * docs/gst/tmpl/gstbasesink.sgml:
6209 * docs/gst/tmpl/gstbasesrc.sgml:
6210 * docs/gst/tmpl/gstbasetransform.sgml:
6211 * docs/gst/tmpl/gstbin.sgml:
6212 * docs/gst/tmpl/gstbuffer.sgml:
6213 * docs/gst/tmpl/gstcaps.sgml:
6214 * docs/gst/tmpl/gstclock.sgml:
6215 * docs/gst/tmpl/gstcompat.sgml:
6216 * docs/gst/tmpl/gstconfig.sgml:
6217 * docs/gst/tmpl/gstelement.sgml:
6218 * docs/gst/tmpl/gstelementdetails.sgml:
6219 * docs/gst/tmpl/gstelementfactory.sgml:
6220 * docs/gst/tmpl/gstenumtypes.sgml:
6221 * docs/gst/tmpl/gsterror.sgml:
6222 * docs/gst/tmpl/gstevent.sgml:
6223 * docs/gst/tmpl/gstfakesink.sgml:
6224 * docs/gst/tmpl/gstfakesrc.sgml:
6225 * docs/gst/tmpl/gstfilesink.sgml:
6226 * docs/gst/tmpl/gstfilesrc.sgml:
6227 * docs/gst/tmpl/gstfilter.sgml:
6228 * docs/gst/tmpl/gstformat.sgml:
6229 * docs/gst/tmpl/gstghostpad.sgml:
6230 * docs/gst/tmpl/gstimplementsinterface.sgml:
6231 * docs/gst/tmpl/gstindex.sgml:
6232 * docs/gst/tmpl/gstindexfactory.sgml:
6233 * docs/gst/tmpl/gstinfo.sgml:
6234 * docs/gst/tmpl/gstiterator.sgml:
6235 * docs/gst/tmpl/gstmacros.sgml:
6236 * docs/gst/tmpl/gstmemchunk.sgml:
6237 * docs/gst/tmpl/gstminiobject.sgml:
6238 * docs/gst/tmpl/gstobject.sgml:
6239 * docs/gst/tmpl/gstpad.sgml:
6240 * docs/gst/tmpl/gstpadtemplate.sgml:
6241 * docs/gst/tmpl/gstparse.sgml:
6242 * docs/gst/tmpl/gstpipeline.sgml:
6243 * docs/gst/tmpl/gstplugin.sgml:
6244 * docs/gst/tmpl/gstpluginfeature.sgml:
6245 * docs/gst/tmpl/gstquery.sgml:
6246 * docs/gst/tmpl/gstqueue.sgml:
6247 * docs/gst/tmpl/gstregistry.sgml:
6248 * docs/gst/tmpl/gstregistrypool.sgml:
6249 * docs/gst/tmpl/gstscheduler.sgml:
6250 * docs/gst/tmpl/gstschedulerfactory.sgml:
6251 * docs/gst/tmpl/gststructure.sgml:
6252 * docs/gst/tmpl/gstsystemclock.sgml:
6253 * docs/gst/tmpl/gsttaglist.sgml:
6254 * docs/gst/tmpl/gsttagsetter.sgml:
6255 * docs/gst/tmpl/gsttrace.sgml:
6256 * docs/gst/tmpl/gsttrashstack.sgml:
6257 * docs/gst/tmpl/gsttypefind.sgml:
6258 * docs/gst/tmpl/gsttypefindfactory.sgml:
6259 * docs/gst/tmpl/gsttypes.sgml:
6260 * docs/gst/tmpl/gsturihandler.sgml:
6261 * docs/gst/tmpl/gsturitype.sgml:
6262 * docs/gst/tmpl/gstutils.sgml:
6263 * docs/gst/tmpl/gstvalue.sgml:
6264 * docs/gst/tmpl/gstversion.sgml:
6265 * docs/gst/tmpl/gstxml.sgml:
6266 * docs/libs/tmpl/gstcontrol.sgml:
6267 * docs/libs/tmpl/gstdataprotocol.sgml:
6268 * docs/libs/tmpl/gstdparam.sgml:
6269 * docs/libs/tmpl/gstdplinint.sgml:
6270 * docs/libs/tmpl/gstdpman.sgml:
6271 * docs/libs/tmpl/gstdpsmooth.sgml:
6272 * docs/libs/tmpl/gstgetbits.sgml:
6273 * docs/libs/tmpl/gstunitconvert.sgml:
6274 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6275 (gst_push_src_base_init), (gst_push_src_class_init),
6276 (gst_push_src_init), (gst_push_src_create):
6277 * gst/base/gstpushsrc.h:
6278 * gst/elements/gstelements.c:
6279 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6280 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6281 (gst_fake_sink_init), (gst_fake_sink_set_property),
6282 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6283 (gst_fake_sink_event), (gst_fake_sink_preroll),
6284 (gst_fake_sink_render), (gst_fake_sink_change_state):
6285 * gst/elements/gstfakesink.h:
6286 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6287 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6288 (gst_fake_src_base_init), (gst_fake_src_class_init),
6289 (gst_fake_src_init), (gst_fake_src_event_handler),
6290 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6291 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6292 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6293 (gst_fake_src_create_buffer), (gst_fake_src_create),
6294 (gst_fake_src_start), (gst_fake_src_stop):
6295 * gst/elements/gstfakesrc.h:
6296 * gst/elements/gstfilesink.c: (_do_init),
6297 (gst_file_sink_base_init), (gst_file_sink_class_init),
6298 (gst_file_sink_init), (gst_file_sink_dispose),
6299 (gst_file_sink_set_location), (gst_file_sink_set_property),
6300 (gst_file_sink_get_property), (gst_file_sink_open_file),
6301 (gst_file_sink_close_file), (gst_file_sink_query),
6302 (gst_file_sink_event), (gst_file_sink_render),
6303 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6304 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6305 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6306 * gst/elements/gstfilesink.h:
6307 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6308 (gst_file_src_class_init), (gst_file_src_init),
6309 (gst_file_src_finalize), (gst_file_src_set_location),
6310 (gst_file_src_set_property), (gst_file_src_get_property),
6311 (gst_file_src_map_region), (gst_file_src_map_small_region),
6312 (gst_file_src_create_mmap), (gst_file_src_create_read),
6313 (gst_file_src_create), (gst_file_src_is_seekable),
6314 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6315 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6316 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6317 (gst_file_src_uri_handler_init):
6318 * gst/elements/gstfilesrc.h:
6319 more autistic cleanliness in functions/names/defines
6321 2005-07-13 Andy Wingo <wingo@pobox.com>
6323 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6324 source couldn't negotiate.
6326 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6330 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6331 function. I am channeling Hades. Put your boots on suckers!!!
6333 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6335 * testsuite/caps/Makefile.am:
6336 * testsuite/caps/value_compare.c:
6337 * testsuite/caps/value_intersect.c:
6338 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6339 move two testsuite apps over to the check dir
6341 2005-07-12 Wim Taymans <wim@fluendo.com>
6343 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6344 Added more debug info in the negotiate process.
6347 Prepare for segment playback.
6349 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6355 * tools/gst-launch.c: (main):
6356 NULL pipeline on errors.
6358 2005-07-12 Andy Wingo <wingo@pobox.com>
6360 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6361 not it comes from a malloc region. Make sure our copy gets freed.
6363 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6365 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6366 * check/gst/gstmessage.c: (GST_START_TEST):
6367 * check/gst/gststructure.c: (GST_START_TEST),
6368 (gst_structure_suite), (main):
6370 * gst/gstelement.c: (gst_element_message_full):
6371 clean up GError and debug string now that they get copied
6372 * gst/gstmessage.c: (gst_message_new_error),
6373 (gst_message_new_warning), (gst_message_parse_error),
6374 (gst_message_parse_warning):
6375 use GST_TYPE_G_ERROR for structure_new, and take copies of
6376 arguments, so that we don't mess up refcounting
6378 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6380 * check/Makefile.am:
6381 add per-test valgrind targets
6382 * check/gst-libs/gdp.c: (GST_START_TEST),
6383 (gst_data_protocol_suite), (main):
6386 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6388 * check/Makefile.am:
6389 instate more valgrindable tests
6390 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6391 (GST_START_TEST), (fakesrc_suite):
6392 * check/gst/gstpad.c: (GST_START_TEST):
6393 * check/gst/gststructure.c: (GST_START_TEST):
6395 * docs/gst/tmpl/gstminiobject.sgml:
6396 * gst/gstpad.c: (gst_pad_finalize):
6397 fix the static mutex leak
6399 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6401 * check/Makefile.am:
6402 add two more tests for valgrinding
6403 * check/gst/gstvalue.c: (GST_START_TEST):
6404 test refcount of deserialized buffer, found a leak
6405 * docs/gst/gstreamer-docs.sgml:
6406 * docs/gst/gstreamer-sections.txt:
6407 * docs/gst/gstreamer.types:
6408 * docs/gst/tmpl/gstminiobject.sgml:
6409 add miniobject to docs
6410 * gst/gstminiobject.c:
6412 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6413 (gst_string_unwrap):
6414 fix a hard-to-find invalid write for one of the tests
6415 fix a leak for deserialized buffers
6417 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6419 * docs/pwg/advanced-events.xml:
6420 * docs/pwg/advanced-request.xml:
6421 * docs/pwg/advanced-scheduling.xml:
6422 * docs/pwg/appendix-porting.xml:
6423 * docs/pwg/building-boiler.xml:
6424 * docs/pwg/intro-preface.xml:
6425 * docs/pwg/other-ntoone.xml:
6426 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6427 of example code and explanation for pad activation, loop() and
6428 getrange() functions and a bit more. Remove old comments pointing
6430 * examples/pwg/Makefile.am:
6431 Add loop/getrange examples.
6433 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6436 check for valgrind binary + some fixes
6438 valgrind suppressions for the tests
6439 * check/Makefile.am:
6440 add a valgrind: target that valgrinds the unit tests
6441 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6442 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6443 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6444 * check/gst/gstghostpad.c:
6446 * check/gst/gstdata.c:
6448 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6449 (thread_unref), (gst_mini_object_suite), (main):
6451 * gst/gst.c: (gst_deinit):
6453 add a method to clean up.
6454 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6455 (gst_system_clock_obtain):
6456 allow for disposing the system clock.
6457 * tools/gst-launch.c: (main):
6460 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6462 * docs/gst/tmpl/gstbasesrc.sgml:
6463 * docs/gst/tmpl/gstfakesrc.sgml:
6464 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6465 (gst_base_src_init), (gst_base_src_set_property),
6466 (gst_base_src_get_property), (gst_base_src_get_range),
6467 (gst_base_src_start):
6468 * gst/base/gstbasesrc.h:
6469 add num-buffers property
6470 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6471 (gst_fakesrc_init), (gst_fakesrc_set_property),
6472 (gst_fakesrc_get_property), (gst_fakesrc_create),
6473 (gst_fakesrc_start):
6474 remove num-buffers property
6476 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6478 * docs/gst/gstreamer-sections.txt:
6479 * docs/gst/tmpl/gstbasesink.sgml:
6480 * docs/gst/tmpl/gstbasesrc.sgml:
6481 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6482 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6483 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6484 (gst_base_sink_set_property), (gst_base_sink_get_property),
6485 (gst_base_sink_handle_object), (gst_base_sink_event),
6486 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6487 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6488 (gst_base_sink_loop), (gst_base_sink_deactivate),
6489 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6490 (gst_base_sink_change_state):
6491 * gst/base/gstbasesink.h:
6492 * gst/base/gstbasesrc.h:
6493 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6494 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6495 (gst_filesink_init):
6496 more macro splitting
6498 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6500 * gst/gstelement.c: (gst_element_get_bus):
6502 * tools/gst-launch.c: (check_intr), (event_loop):
6505 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6507 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6510 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6512 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6513 (gst_base_src_finalize):
6514 add finalize method and clean up properly
6515 * gst/gstpipeline.c: (gst_pipeline_dispose):
6518 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6520 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6522 add more things to check
6523 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6527 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6529 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6530 (GST_START_TEST), (fakesrc_suite):
6531 * check/gst-libs/gdp.c: (GST_START_TEST):
6532 * check/gst/gst.c: (GST_START_TEST):
6533 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6534 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6535 * check/gst/gstbus.c: (GST_START_TEST):
6536 * check/gst/gstcaps.c: (GST_START_TEST):
6537 * check/gst/gstdata.c: (GST_START_TEST):
6538 * check/gst/gstelement.c: (GST_START_TEST):
6539 * check/gst/gstghostpad.c: (GST_START_TEST):
6540 * check/gst/gstiterator.c: (GST_START_TEST):
6541 * check/gst/gstmessage.c: (GST_START_TEST):
6542 * check/gst/gstobject.c: (GST_START_TEST):
6543 * check/gst/gstpad.c: (GST_START_TEST):
6544 * check/gst/gststructure.c: (GST_START_TEST):
6545 * check/gst/gstsystemclock.c: (GST_START_TEST),
6546 (gst_systemclock_suite):
6547 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6548 * check/gst/gstvalue.c: (GST_START_TEST):
6549 * check/pipelines/cleanup.c: (GST_START_TEST):
6550 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6551 * check/states/sinks.c: (GST_START_TEST):
6552 * check/gstcheck.c: (gst_check_init):
6554 add debugging category
6555 use GST_START_TEST now, so we add a debug line
6557 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6559 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6560 add test for state change message on a bin
6561 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6563 * gst/gstbin.c: (gst_bin_init):
6564 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6565 * gst/gstelement.c: (gst_element_post_message),
6566 (gst_element_set_state):
6567 * gst/gstelementfactory.c: (gst_element_factory_create):
6568 * gst/gstmessage.c: (gst_message_new):
6569 * gst/gstscheduler.c:
6570 various debugging additions and cleanups
6572 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6574 * check/Makefile.am:
6575 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6577 adding tests for elements
6578 * gst/gstelement.c: (gst_element_dispose):
6580 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6582 * gst/registries/gstlibxmlregistry.c: (load_feature):
6583 plug more leaks. A simple gst_init() now is leakfree, yay.
6585 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6587 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6588 (gst_xml_registry_load):
6589 plug another memleak
6591 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6594 use GST_SET_ERROR_CFLAGS
6596 change to ERROR_CFLAGS
6598 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6601 make GST_ERROR_CFLAGS overridable and re-enable Werror
6603 add a note about error CFLAGS
6604 * docs/gst/tmpl/gstfakesrc.sgml:
6605 * gst/elements/gstfakesrc.c:
6606 comment out some unused code
6607 * gst/gst.c: (split_and_iterate):
6608 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6612 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * common/Makefile.am:
6615 * common/gtk-doc.mak:
6616 * docs/gst/Makefile.am:
6617 factor out gtk-doc.mak
6619 2005-07-07 Wim Taymans <wim@fluendo.com>
6621 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6622 (gst_thread_scheduler_dispose):
6623 Unlock the STREAM_LOCK completely.
6625 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6627 * check/Makefile.am:
6628 * check/elements/.cvsignore:
6629 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6630 (START_TEST), (fakesrc_suite), (main):
6631 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6632 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6633 (gst_fakesrc_create), (gst_fakesrc_start):
6634 * gst/elements/gstfakesrc.h:
6635 adding a first element test
6637 2005-07-07 Andy Wingo <wingo@pobox.com>
6639 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6642 2005-07-07 Wim Taymans <wim@fluendo.com>
6648 2005-07-07 Wim Taymans <wim@fluendo.com>
6650 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6651 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6652 Allow subclasses to implement their own negotiation.
6654 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6656 * docs/design/part-gstbin.txt:
6657 * docs/design/part-gstpipeline.txt:
6658 Update design notes to reflect the movement of
6659 responsibility for bus handling from GstPipeline to
6662 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6665 Remove unnecessary queue2/3/4 examples.
6667 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6669 * examples/Makefile.am:
6670 * examples/helloworld/helloworld.c: (event_loop), (main):
6671 * examples/queue/queue.c: (event_loop), (main):
6672 * examples/queue2/queue2.c: (main):
6673 Update a couple of the examples to work again.
6675 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6676 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6677 Spelling corrections and extra debug.
6679 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6680 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6681 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6683 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6684 (gst_pipeline_change_state):
6685 * gst/gstpipeline.h:
6686 Move the bus handler for children to the GstBin, and create a
6687 separate bus for receiving messages from children to the one the
6688 bus sends 'upwards' on.
6690 2005-07-06 Wim Taymans <wim@fluendo.com>
6693 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6694 (gst_base_sink_handle_object), (gst_base_sink_loop),
6695 (gst_base_sink_change_state):
6696 * gst/base/gstbasesink.h:
6697 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6698 (gst_base_src_init), (gst_base_src_setcaps),
6699 (gst_base_src_getcaps), (gst_base_src_loop),
6700 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6701 (gst_base_src_start), (gst_base_src_change_state):
6702 * gst/base/gstbasesrc.h:
6703 Make basesrc negotiate.
6704 Handle the case where preroll fails in basesink.
6707 2005-07-06 Wim Taymans <wim@fluendo.com>
6709 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6710 Implement the fixate function.
6711 Clean up acceptcaps.
6713 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6715 * docs/pwg/building-filterfactory.xml:
6717 Remove never-written filter-factory chapter; I'll add the various
6718 base classes to part 4 ("other element types") later on.
6720 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6722 * docs/pwg/advanced-negotiation.xml:
6723 * docs/pwg/building-boiler.xml:
6724 * docs/pwg/building-pads.xml:
6726 * examples/pwg/Makefile.am:
6727 Add a chapter on caps negotiation, simplify the original code
6728 samples a bit w.r.t. caps negotiation, add link to the advanced
6729 section. Add a bunch of examples showing different use cases of
6730 different types of caps negotiation. Upstream renegotiation isn't
6731 fully documented yet since nobody knows how that works.
6733 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6735 * check/gst/gstpad.c:
6737 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6738 if pad has no parent, return NULL as list of internal links
6740 2005-07-05 Andy Wingo <wingo@pobox.com>
6742 * gst/elements/gstfilesrc.c:
6743 * gst/elements/gstfakesrc.c:
6744 * gst/base/gstpushsrc.c:
6745 * gst/base/gstbasesrc.h:
6746 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6748 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6751 better report generation target (lcov needs a patch)
6753 2005-07-05 Andy Wingo <wingo@pobox.com>
6755 * gst/elements, testsuite: Null if we got it...
6757 2005-07-05 Wim Taymans <wim@fluendo.com>
6760 * libs/gst/dataprotocol/Makefile.am:
6761 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6762 * libs/gst/dataprotocol/dataprotocol.h:
6763 * pkgconfig/Makefile.am:
6764 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6765 * pkgconfig/gstreamer-dataprotocol.pc.in:
6766 Ported dataprotol to 0.9.
6767 Added pkgconfig files.
6769 2005-07-05 Andy Wingo <wingo@pobox.com>
6771 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6772 Default to returning TRUE for the case when tranform_caps returns
6773 a fixed caps, like for identity or volume.
6775 * check/gst/gstbus.c (pound_bus_with_messages):
6776 * check/gst/gstmessage.c (START_TEST):
6777 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6780 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6781 logic weaks here: always run transform_caps, trying passthrough
6782 operation only if the original caps intersects with the transform.
6784 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6785 source and sink caps.
6787 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6788 Intersect the peer caps with the pad template before going into
6790 (gst_base_transform_transform_caps): More debugging.
6792 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6795 2005-07-04 Edward Hervey <edward@fluendo.com>
6799 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6802 2005-07-04 Andy Wingo <wingo@pobox.com>
6804 * check/gst/gstpad.c: Only set explicit caps on pads.
6806 2005-07-01 Andy Wingo <wingo@pobox.com>
6808 * tests/network-clock.scm: Commentary update.
6810 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6811 Didn't really make sense, not implementable with basetransform,
6813 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6814 attempt at implementing the sync property, needs an unlock method.
6816 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6817 New func, by default returns the same caps (the identity
6819 (gst_base_transform_getcaps): Uses transform_caps to return
6821 (gst_base_transform_setcaps): Complicated logic to get caps on
6822 both pads, even if they are different, and to call set_caps once
6823 for every time both pads get their caps set.
6824 (gst_base_transform_handle_buffer): Give the ref to the transform
6825 function. Allows in-place modification of the buffer.
6827 * gst/base/gstbasetransform.h (transform_caps): New class method.
6828 Given caps on one side, what can I do on the other.
6829 (set_caps): Take two caps, one for each side of the element.
6832 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6833 caps in place. This is safe because we can check the mutability of
6834 the caps, and a good idea because fixate functions are just called
6835 as a matter of last resort. (Not actually implemented.)
6836 (gst_pad_set_caps): If the caps we're setting is actually the same
6837 as the existing pad caps, just update the pointer without calling
6838 setcaps. Assert that caps is either NULL or fixed, as per the
6841 * gst/gstghostpad.c: Update for fixate changes.
6843 2005-07-02 Andy Wingo <wingo@pobox.com>
6846 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6847 two refcounts makes it immutable, which is enough. Doc more.
6849 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6851 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6852 Put the mini_object into GValue as a mini_object,
6853 not a gpointer, since that's how we declared
6856 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6858 * examples/pwg/Makefile.am:
6861 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6863 * docs/pwg/building-testapp.xml:
6865 * examples/pwg/Makefile.am:
6868 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6871 * examples/Makefile.am:
6872 * examples/pwg/Makefile.am:
6873 * examples/pwg/extract.pl:
6874 Enable building the PWG examples.
6875 * docs/pwg/advanced-interfaces.xml:
6876 Add URI interface stub.
6877 * docs/pwg/advanced-types.xml:
6878 * docs/pwg/other-autoplugger.xml:
6879 * docs/pwg/appendix-porting.xml:
6881 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6882 * docs/pwg/building-boiler.xml:
6883 * docs/pwg/building-chainfn.xml:
6884 * docs/pwg/building-pads.xml:
6885 * docs/pwg/building-props.xml:
6886 * docs/pwg/building-state.xml:
6887 * docs/pwg/building-testapp.xml:
6888 Update the building-*.xml parts for 0.9 changes. All examples
6889 code blocks compile in examples/pwg/*.
6891 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6893 * docs/manual/advanced-autoplugging.xml:
6894 * docs/manual/appendix-checklist.xml:
6895 * docs/manual/appendix-integration.xml:
6896 * docs/manual/highlevel-components.xml:
6897 Fix playbin/decodebin examples, update docs a bit, mention bus
6898 instead of signals in various places, mention kmplayer and
6899 kaffeine since they have a working GStreamer backend in the KDE
6902 2005-06-30 Wim Taymans <wim@fluendo.com>
6905 * docs/design/draft-ghostpads.txt:
6906 * docs/design/draft-push-pull.txt:
6907 * docs/design/draft-query.txt:
6908 * docs/design/part-TODO.txt:
6909 * docs/design/part-query.txt:
6910 Added CHANGES-0.9 doc, updated status of other docs.
6915 2005-06-30 Wim Taymans <wim@fluendo.com>
6917 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6918 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6919 (gst_base_sink_change_state):
6920 * gst/base/gstbasesink.h:
6921 Some tweaks, only EOS and a buffer complete a preroll.
6923 2005-06-30 Andy Wingo <wingo@pobox.com>
6925 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6926 activate_push down to the internal pad as well.
6928 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6930 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6932 * gst/gsttaginterface.c:
6933 Some documentation fixes (#307394 and #307397).
6935 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6937 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6939 * gst/gstvalue.c: (gst_value_intersect_list):
6940 Fix memleak (#309125).
6942 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6944 * docs/manual/advanced-dataaccess.xml:
6945 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6946 * docs/manual/basics-pads.xml:
6947 Add reference for filtered caps to above chapter.
6949 2005-06-30 Wim Taymans <wim@fluendo.com>
6951 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6952 (gst_bin_change_state):
6954 Lame attempt at making the state change function a bit
6957 2005-06-30 Wim Taymans <wim@fluendo.com>
6959 * docs/design/part-clocks.txt:
6960 * docs/design/part-element-sink.txt:
6961 * docs/design/part-events.txt:
6962 * docs/design/part-preroll.txt:
6963 * docs/design/part-states.txt:
6964 Some more tweeks and additions to the docs.
6966 2005-06-30 Wim Taymans <wim@fluendo.com>
6968 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6969 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6970 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6971 (gst_pad_check_pull_range), (gst_pad_get_range),
6972 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6974 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6975 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6976 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6977 (gst_pad_remove_buffer_probe):
6978 Removed atomic operations, use existing LOCK.
6979 Move exception handling out of main code path.
6981 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6983 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6984 (silly_return_true_function), (gst_pad_class_init),
6985 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6986 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6987 (gst_pad_send_event):
6988 Fix accumulator, add default value by using _emitv() instead
6989 of _emit() for signal emission.
6991 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6993 * docs/manual/advanced-dataaccess.xml:
6994 * examples/manual/Makefile.am:
6996 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6999 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7001 * gst/elements/gstfilesink.c: (gst_filesink_render):
7002 Simplify code so that we don't have to handle short
7003 writes and return GST_FLOW_ERROR if an error occured.
7005 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7007 * docs/gst/gstreamer-docs.sgml:
7010 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7012 * docs/gst/gstreamer-sections.txt:
7013 * docs/gst/tmpl/gstpad.sgml:
7014 * docs/gst/tmpl/gstprobe.sgml:
7016 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7017 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7018 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7019 (gst_pad_push_event), (gst_pad_send_event):
7021 * gst/gstutils.c: (gst_pad_add_data_probe),
7022 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7023 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7024 (gst_pad_remove_buffer_probe):
7026 Remove old probes, add new g-signal-based probes and some utility
7029 2005-06-29 Edward Hervey <edward@fluendo.com>
7031 * gst/gstelementfactory.c:
7034 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7035 the definition to the header file.
7037 2005-06-29 Andy Wingo <wingo@pobox.com>
7039 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7040 plugins from the source directory.
7042 2005-06-29 Wim Taymans <wim@fluendo.com>
7044 * docs/gst/tmpl/gstbuffer.sgml:
7045 * docs/gst/tmpl/gstclock.sgml:
7046 Some fixings for blantently wrong text.
7048 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * check/Makefile.am:
7051 * gst/gst.c: (add_path_func), (init_pre):
7052 * gst/gstregistry.c: (gst_registry_add_path):
7053 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7054 only scan the GST_PLUGIN_PATH locations, and not add
7057 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * docs/gst/gstreamer-sections.txt:
7060 * docs/gst/tmpl/gstbasesrc.sgml:
7067 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7069 * docs/manual/advanced-autoplugging.xml:
7070 Fix autoplugging example.
7072 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7074 * docs/manual/advanced-autoplugging.xml:
7075 * docs/manual/mime-world.fig:
7076 Try to get autoplugging working, fix type detection. Fix text
7077 in hello-world image.
7079 2005-06-29 Wim Taymans <wim@fluendo.com>
7081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7082 (gst_base_sink_change_state):
7086 map SIGNAL and BROADCAST to the right function.
7089 Remove redundant braces.
7091 * gst/gstpad.c: (gst_pad_set_caps):
7092 Don't call setcaps function when reseting caps to NULL.
7094 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7095 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7096 (gst_system_clock_id_unschedule):
7097 Use BROADCAST as this is what we do.
7099 2005-06-29 Wim Taymans <wim@fluendo.com>
7101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7102 We are actually prerolling before commiting the state
7105 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7107 * docs/manual/advanced-clocks.xml:
7108 * docs/manual/advanced-interfaces.xml:
7109 * docs/manual/advanced-metadata.xml:
7110 * docs/manual/advanced-position.xml:
7111 * docs/manual/advanced-schedulers.xml:
7112 * docs/manual/advanced-threads.xml:
7113 * docs/manual/appendix-porting.xml:
7114 * docs/manual/basics-bins.xml:
7115 * docs/manual/basics-bus.xml:
7116 * docs/manual/basics-elements.xml:
7117 * docs/manual/basics-helloworld.xml:
7118 * docs/manual/basics-pads.xml:
7119 * docs/manual/highlevel-components.xml:
7120 * docs/manual/manual.xml:
7121 * docs/manual/thread.fig:
7122 Update (until threads/scheduling) Application Development Manual;
7123 remove GstThread, add GstBus, add simple porting checklist, add
7124 documentation for tag writing, clocks, make all examples until this
7125 part compile and run.
7126 * examples/manual/Makefile.am:
7127 Update from changes to Application Development Manual; add bus
7128 example, remove thread example.
7130 2005-06-28 Wim Taymans <wim@fluendo.com>
7132 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7133 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7134 (gst_bus_source_dispatch):
7135 Add debugging messages.
7136 Make internal methods static.
7137 Handle the case where the bus is flushed in the handler.
7139 * gst/gstelement.c: (gst_element_get_bus):
7140 Fix refcount in _get_bus();
7142 * gst/gstpipeline.c: (gst_pipeline_change_state),
7143 (gst_pipeline_get_clock_func):
7144 Clock refcounting fixes.
7145 Handle the case where preroll timed out more gracefully.
7147 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7148 Clean up the internal thread in dispose. This is needed
7149 for subclasses that actually get disposed.
7151 * gst/schedulers/threadscheduler.c:
7152 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7153 (gst_thread_scheduler_dispose):
7154 Free thread pool in dispose.
7156 2005-06-28 Andy Wingo <wingo@pobox.com>
7158 * tests/network-clock-utils.scm (debug, print-event): New utils.
7160 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7161 (*packet-loss*): Unified loss probability.
7162 (network-time): Report out-of-band events.
7164 * tests/plot-data: Add support for out-of-band events. Hack it
7165 into this script instead of passing it down the pipe; should fix
7168 2005-06-28 Wim Taymans <wim@fluendo.com>
7170 * docs/gst/gstreamer.types:
7171 * docs/gst/tmpl/gstbasesrc.sgml:
7172 * docs/gst/tmpl/gstpad.sgml:
7175 2005-06-28 Wim Taymans <wim@fluendo.com>
7177 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7178 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7179 (gst_proxy_pad_do_fixatecaps):
7180 Correctly proxy the check_pull_range function.
7182 2005-06-28 Andy Wingo <wingo@pobox.com>
7184 * tests/network-clock.scm: Removed need for slib.
7186 2005-06-28 Wim Taymans <wim@fluendo.com>
7188 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7189 (gst_basesink_preroll_queue_flush):
7190 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7191 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7192 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7193 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7194 (gst_proxy_pad_set_property):
7197 * gst/gstqueue.c: (gst_queue_init):
7198 The deprecated pad loop function is removed now.
7200 2005-06-28 Andy Wingo <wingo@pobox.com>
7202 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7203 New parameters, simulate network packet loss.
7205 * tests/network-clock-utils.scm: Initialize the RNG.
7207 2005-06-28 Wim Taymans <wim@fluendo.com>
7209 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7210 (gst_basesink_event), (gst_basesink_deactivate):
7211 Flushing the preroll queue always needs to unlock the waiters.
7213 2005-06-28 Edward Hervey <edward@fluendo.com>
7215 * gst/gstpipeline.c: (gst_pipeline_send_event):
7216 Wheen a seek was successful on a pipeline, set the stream_time to the
7217 seek offset in order to have a synchronized stream_time.
7219 2005-06-28 Wim Taymans <wim@fluendo.com>
7221 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7222 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7223 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7224 (gst_proxy_pad_do_fixatecaps):
7225 Call wrapper function instead of just calling the function
7226 pointers. This takes care of any locking and whatmore.
7228 2005-06-28 Wim Taymans <wim@fluendo.com>
7230 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7231 (gst_pad_pull_range):
7233 CONNECTED -> LINKED.
7235 2005-06-28 Andy Wingo <wingo@pobox.com>
7237 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7238 source-munging commit!!!
7240 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7241 (gst_object_sink): Take gpointer arguments, not GstObject --
7242 avoids casts. Like GLib.
7244 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7247 2005-06-27 Andy Wingo <wingo@pobox.com>
7249 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7252 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7253 returns a sorted copy of the trace list.
7254 (gst_alloc_trace_print_live): New API, only prints traces with
7255 live objects. Sort the list.
7256 (gst_alloc_trace_print_all): Sort the list.
7257 (gst_alloc_trace_print): Align columns.
7259 * gst/elements/gstttypefindelement.c:
7260 * gst/elements/gsttee.c:
7261 * gst/base/gstbasesrc.c:
7262 * gst/base/gstbasesink.c:
7263 * gst/base/gstbasetransform.c:
7264 * gst/gstqueue.c: Adapt for pad activation changes.
7266 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7268 (gst_pipeline_dispose): Drop ref on sched.
7270 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7271 (gst_pad_activate_default): Push mode by default.
7272 (pre_activate_switch, post_activate_switch): New stubs, things to
7273 do before and after switching activation modes on pads.
7274 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7275 the pad's activate function to choose which mode to activate.
7276 Shortcut on deactivation and call the right function directly.
7277 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7279 (gst_pad_activate_push): New API, same for push mode.
7280 (gst_pad_set_activate_function)
7281 (gst_pad_set_activatepull_function)
7282 (gst_pad_set_activatepush_function): Setters for new API.
7284 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7285 Trace all miniobjects.
7286 (gst_mini_object_make_writable): Unref the arg if we copy, like
7287 gst_caps_make_writable.
7289 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7291 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7292 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7293 Adapt for new pad API.
7295 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7298 * gst/gstelement.c (gst_element_iterate_src_pads)
7299 (gst_element_iterate_sink_pads): New API functions.
7301 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7302 should fold into gstiterator.c in some form.
7303 (gst_element_pads_activate): Simplified via use of fold and
7304 delegation of decisions to gstpad->activate.
7306 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7309 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7310 class once in init, like gstmessage. Didn't run into this issue
7311 but it seems correct. Don't initialize a trace, gstminiobject does
7314 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7315 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7317 (assert_live_count): New util function, uses alloc traces to check
7320 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7321 To be modified when unlink drops the internal pad.
7323 2005-06-27 Wim Taymans <wim@fluendo.com>
7325 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7326 (gst_bin_change_state):
7327 Cleanup the get_state() function a little, make sure it
7328 iterates the same set of elements.
7329 Added stub iterate_state_order().
7331 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7333 * docs/gst/gstreamer-docs.sgml:
7334 * docs/gst/gstreamer-sections.txt:
7335 * docs/gst/gstreamer.types:
7336 * docs/gst/tmpl/gstbasesink.sgml:
7337 * docs/gst/tmpl/gstbasesrc.sgml:
7338 * docs/gst/tmpl/gstbasetransform.sgml:
7339 * docs/gst/tmpl/gstelement.sgml:
7340 * docs/gst/tmpl/gstiterator.sgml:
7341 * gst/base/gstbasesrc.c:
7342 * gst/base/gstbasesrc.h:
7343 * gst/base/gstbasetransform.h:
7345 * gst/gstiterator.h:
7346 adding basetransform and iterator docs
7348 2005-06-27 Andy Wingo <wingo@pobox.com>
7350 * docs/design/part-activation.txt: Notes on how activation should
7351 work -- not quite implemented yet.
7353 2005-06-25 Wim Taymans <wim@fluendo.com>
7355 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7356 At least get the chain function correct, needs more
7359 2005-06-25 Wim Taymans <wim@fluendo.com>
7361 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7362 (gst_basesink_handle_object), (gst_basesink_event),
7363 (gst_basesink_do_sync), (gst_basesink_handle_event),
7364 (gst_basesink_change_state):
7366 Right, two problems here: ghostpads don't take locks and
7367 glib _rec_mutex_lock_full() with depth==0 still locks.
7368 Catch illegal locking and g_warn them.
7370 2005-06-25 Wim Taymans <wim@fluendo.com>
7372 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7373 Have to check for completion now...
7375 2005-06-25 Wim Taymans <wim@fluendo.com>
7377 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7378 (gst_basesink_handle_object), (gst_basesink_event),
7379 (gst_basesink_do_sync), (gst_basesink_handle_event),
7380 (gst_basesink_change_state):
7382 Unlock STREAM_LOCK whatever the recursion was.
7384 2005-06-25 Wim Taymans <wim@fluendo.com>
7386 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7387 (gst_basesink_preroll_queue_empty),
7388 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7389 (gst_basesink_event), (gst_basesink_do_sync),
7390 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7391 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7392 (gst_basesink_change_state):
7393 Reworked the base sink, handle event and buffer serialisation
7394 correctly and removed possible deadlock.
7395 Handle EOS correctly.
7397 2005-06-25 Wim Taymans <wim@fluendo.com>
7399 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7400 (gst_pipeline_change_state):
7401 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7402 Allow elements to post EOS in the state change function.
7403 Fix up -launch, make it exit the poll loop when the
7404 pipeline actually changed state.
7405 Fix up warning parsing in -launch.
7407 2005-06-25 Wim Taymans <wim@fluendo.com>
7409 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7410 (gst_tee_sink_activate):
7411 Core takes STREAM_LOCK for us now.
7413 2005-06-25 Wim Taymans <wim@fluendo.com>
7415 * gst/gstelement.c: (gst_element_get_state_func),
7416 (gst_element_set_state):
7418 * gst/gstmessage.c: (gst_message_parse_error),
7419 (gst_message_parse_warning):
7420 Keep track of current target state while performing a state
7421 change so that subclasses can do something interesting.
7422 Fix parsing of warning/error messages when GError is NULL.
7424 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7426 * docs/gst/Makefile.am:
7427 * docs/gst/gstreamer-docs.sgml:
7428 * docs/gst/gstreamer-sections.txt:
7429 * docs/gst/gstreamer.types:
7430 * docs/gst/tmpl/gstbasesink.sgml:
7431 * docs/gst/tmpl/gstbasesrc.sgml:
7432 * docs/gst/tmpl/gstbin.sgml:
7433 * docs/gst/tmpl/gstcompat.sgml:
7434 * docs/gst/tmpl/gstfakesink.sgml:
7435 * docs/gst/tmpl/gstfakesrc.sgml:
7436 * docs/gst/tmpl/gstfilesink.sgml:
7437 * docs/gst/tmpl/gstfilesrc.sgml:
7438 * docs/gst/tmpl/gstindex.sgml:
7439 * docs/manual/appendix-quotes.xml:
7440 * gst/base/gstbasesrc.h:
7441 * gst/elements/gstfakesrc.h:
7443 start pulling in base classes and elements in our docs
7445 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7447 * docs/gst/Makefile.am:
7448 * docs/libs/Makefile.am:
7449 fixed make distcheck with gtk-doc 1.3
7451 2005-06-23 Wim Taymans <wim@fluendo.com>
7453 * gst/gstelement.c: (gst_element_get_state_func),
7454 (gst_element_set_state), (gst_element_change_state):
7455 When the state did not change, also report NO_PREROLL
7458 2005-06-23 Wim Taymans <wim@fluendo.com>
7460 * gst/gstpad.c: (gst_pad_event_default):
7461 * gst/gstqueue.c: (gst_queue_loop):
7462 No unsafe task pausing please.
7464 2005-06-23 Wim Taymans <wim@fluendo.com>
7466 * gst/schedulers/threadscheduler.c:
7467 (gst_thread_scheduler_task_start),
7468 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7469 Ref the task before pushing it on the threadpool. This
7470 makes sure that we have a ref when the threadfunction is
7473 2005-06-23 Andy Wingo <wingo@pobox.com>
7475 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7476 offset is greater than the file's size.
7478 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7479 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7480 * gst/gstobject.c (gst_object_class_init): Make the class lock
7481 recursive. Wim won't let me drop deep_notify. Decodebin works
7484 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7485 internal pad, and hacks accordingly. Doesn't do it on the target
7486 pad because we change its caps. Probably catches all cases of
7488 (gst_ghost_pad_set_property): Connect to notify::caps as
7491 * tests/network-clock.scm (plot-simulation): Pipe data to the
7492 elite python skript.
7494 * tests/network-clock-utils.scm (define-parameter): New macro,
7495 defines a parameter that can be set via the command line.
7496 (set-parameter!, parse-parameter-arguments): Command line args
7499 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7502 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7504 * gst/elements/gsttypefindelement.c:
7505 (gst_type_find_element_handle_event):
7506 Don't restart typefinding on a discont.
7507 * gst/gstelement.c: (gst_element_set_state):
7509 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7510 Allow changing mode of an active pad.
7512 * gst/registries/gstlibxmlregistry.c: (load_feature):
7513 Don't cast a static pad template to a normal pad template.
7515 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7517 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7518 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7519 remove gst_strtoll completely, since it didn't actually do
7520 anything more than what g_ascii_strtoull already does.
7521 check for range errors when deserializing
7522 do a cast for the unsigned cases; but further fixing needs
7523 a decision on what the interpretation of "(int)" and
7524 deserialization should be for values that fall outside the
7525 type's boundaries (ie, refuse, or interpret as casting)
7527 2005-06-23 Wim Taymans <wim@fluendo.com>
7529 * check/Makefile.am:
7530 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7531 * docs/design/part-live-source.txt:
7532 * docs/design/part-states.txt:
7533 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7534 (gst_basesrc_set_live), (gst_basesrc_is_live),
7535 (gst_basesrc_get_range), (gst_basesrc_activate),
7536 (gst_basesrc_change_state):
7537 * gst/base/gstbasesrc.h:
7538 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7539 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7540 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7541 * gst/gstelement.c: (gst_element_get_state_func),
7542 (gst_element_set_state):
7545 * tools/gst-launch.c: (event_loop), (main):
7546 Added support for live sources and other elements that
7548 Updated design docs, added live-source design doc.
7549 Implemented live source functionality in basesrc
7550 Fix error condition in _bin_get_state()
7551 Implement live source handling in -launch.
7552 Added check for live sources.
7553 Fixed case in GstBin where elements were changed state
7557 2005-06-23 Andy Wingo <wingo@pobox.com>
7559 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7562 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7563 gst_caps_replace takes care of this for us.
7565 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7566 gst_pad_set_caps on the target, not just its setcaps() function.
7568 * tests/network-clock.scm:
7569 * tests/network-clock-utils.scm: A network clock simulator.
7570 Something of an algorithmic testbed before doing something in C.
7572 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7574 * check/Makefile.am:
7575 * check/gst/capslist.h:
7576 copy over from 0.8, and add two with bitmasks specified with
7578 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7579 add test to parse everything from capslist.h
7580 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7582 add test for structure deserialization
7583 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7584 add tests for deserialization of strings to int types
7585 * gst/gststructure.c: (gst_structure_nth_field_name):
7586 * gst/gststructure.h:
7587 add a way to get the name of a field referenced by index
7588 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7589 instead of checking if the resulting long long lies between
7590 min and max, we check if the long long would fit into
7591 a number of bytes for the final type.
7592 This fixes cases where a string represents 2^32 - 1, which
7593 when cast to int would be the (valid) -1, but is bigger than
7596 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7598 * gst/parse/grammar.y:
7599 add a log line for type deserialization
7601 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * check/gst/gstvalue.c: (START_TEST):
7604 * gst/gstvalue.c: (gst_value_deserialize):
7605 return long long, not int, so gint64 deserialization actually
7606 works. Is there any flag that makes the compiler check this ?
7609 2005-06-22 Wim Taymans <wim@fluendo.com>
7612 Added convenience macros for setting buffers in GValue.
7614 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7616 * check/gst/.cvsignore:
7617 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7618 add a test deserializing int64, and comment part out because
7621 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7623 * check/Makefile.am:
7624 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7625 * testsuite/Makefile.am:
7626 * testsuite/caps/Makefile.am:
7627 * testsuite/caps/value_serialize.c:
7628 * testsuite/test_gst_init.c:
7629 move a value_serialize test over
7631 2005-06-20 Wim Taymans <wim@fluendo.com>
7636 * gst/gstvalue.c: (gst_value_compare_buffer),
7637 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7638 (gst_value_compare_flags), (gst_value_serialize_flags),
7639 (gst_value_deserialize_flags), (_gst_value_initialize):
7640 Fix serialisation of buffers, they are not boxed types anymore
7642 2005-06-20 Wim Taymans <wim@fluendo.com>
7644 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7645 Testcase to show error in buffer-on-caps serialisation.
7647 2005-06-20 Andy Wingo <wingo@pobox.com>
7649 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7650 will be adding to later.
7652 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7653 if its socks fill with rocks.
7654 (gst_system_clock_obtain): Set the name on object construction.
7655 Avoid double-checked locking.
7657 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7659 * gst/gsturi.c: (gst_element_make_from_uri):
7660 Fix potential endless loop.
7662 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7664 * check/Makefile.am:
7666 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7668 move over from testsuite dir and clean up
7671 * testsuite/Makefile.am:
7672 * testsuite/tags/.cvsignore:
7673 * testsuite/tags/Makefile.am:
7674 * testsuite/tags/merge.c:
7675 remove testsuite/tags
7677 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7679 * docs/gst/gstreamer-sections.txt:
7680 * docs/gst/tmpl/gstenumtypes.sgml:
7681 * win32/gstenumtypes.c:
7682 clean up documentation build a little
7684 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7687 add macros for checking refcounts on objects and caps
7688 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7689 add some more unit tests
7690 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7691 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7692 fix leaked refcounts (I hope :)) so unittest works
7696 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7698 * configure.ac: back to HEAD
7700 === release 0.9.1 ===
7702 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7708 2005-06-17 Andy Wingo <wingo@pobox.com>
7710 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7711 assert; it's always possible that the pad gets deactivated in
7712 between the checks in gstpad.c and the implementation. Rely on
7713 finish_preroll() to return a FLUSHING or similar instead of on the
7716 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7717 clock and post an EOS message if we come out of finish_preroll in
7720 2005-06-16 David Schleef <ds@schleef.org>
7722 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7723 (gst_capsfilter_set_property): Allow NULL as possible value
7724 for filter_caps property, indicating GST_CAPS_ANY.
7726 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7728 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7730 * gst/schedulers/Makefile.am:
7732 * gstreamer.spec.in:
7735 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7737 * gstreamer.spec.in:
7740 2005-06-08 Andy Wingo <wingo@pobox.com>
7742 * gst/gstutils.c: RPAD fixes all around.
7743 (gst_element_link_pads): Refcounting fixes.
7745 * tools/gst-inspect.c:
7746 * tools/gst-xmlinspect.c:
7748 * gst/base/gsttypefindhelper.c:
7749 * gst/base/gstbasesink.c:
7750 * gst/gstqueue.c: RPAD fixes.
7752 * gst/gstghostpad.h:
7753 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7754 pads. The tricky thing is they provide both source and sink
7755 interfaces, since they proxy the internal pad for the external
7756 pad, and vice versa. Implement with lower-level ProxyPad objects,
7757 with the interior proxy pad as a child of the exterior ghost pad.
7758 Should write a doc on this.
7760 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7761 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7764 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7765 pads are real pads. No ghost pads in this file. Not documenting
7766 the myriad s/RPAD/PAD/ and REALIZE fixes.
7767 (gst_pad_class_init): Add properties for "direction" and
7768 "template". Both are construct-only, so they can't change during
7769 the life of the pad. Fixes properly deriving from GstPad.
7770 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7771 derived objects, just set properties when creating the objects via
7773 (gst_pad_get_parent): Implement as a function, return NULL if the
7774 parent is not an element.
7775 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7776 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7778 * gst/gstobject.c (gst_object_class_init): Make name a construct
7779 property. Don't set it in the object init.
7781 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7782 with UNKNOWN direction.
7783 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7784 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7785 (gst_element_remove_pad): Remove ghost-pad special cases.
7786 (gst_element_pads_activate): Remove rpad cruft.
7788 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7789 catch the pad's-parent-not-an-element case.
7791 * gst/gst.h: Include gstghostpad.h.
7793 * gst/gst.c (init_post): No more real, ghost pads.
7795 * gst/Makefile.am: Add gstghostpad.[ch].
7797 * check/Makefile.am:
7798 * check/gst/gstbin.c:
7799 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7800 into a bin creates ghost pads, and that the refcounts are right.
7801 Partly moved from gstbin.c.
7803 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7805 * check/gst-libs/.cvsignore:
7806 * check/gst/.cvsignore:
7807 * check/pipelines/.cvsignore:
7809 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7810 (START_TEST), (cleanup_suite), (main):
7811 add some tests related to cleanup after running pipelines
7813 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7815 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7816 add a testsuite for GstBuffer
7818 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7820 * gst/gstminiobject.h:
7821 add defines for accessing the refcount
7823 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7825 * Makefile.am: added support for html unit test coverage reports
7827 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7829 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7830 Free existing caps if the capsfilter changes. Add a FIXME about
7831 setting those caps on the pads.
7833 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7834 Before adding a ghost pad to a parent bin, check that there isn't
7835 already one for the element on the bin. Prevents infinite recursion
7836 when using decodebin in parse pipelines. Andy says he'll rewrite the
7837 way this works anyway, so ignore the hack.
7839 2005-06-02 Andy Wingo <wingo@pobox.com>
7841 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7842 file size, pass it on to the type find helper.
7844 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7845 segment_start and segment_end properly according to the seek
7846 method. Segment_end is still a bit flaky because offset can be
7847 negative for CUR and END cases, but it takes -1 as an "unset"
7850 2005-06-02 Wim Taymans <wim@fluendo.com>
7852 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7853 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7854 (gst_basesink_activate):
7855 * gst/base/gstbasesink.h:
7856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7857 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7858 (gst_pad_query), (gst_pad_start_task):
7860 * gst/gstqueue.c: (gst_queue_bufferalloc),
7861 (gst_queue_handle_sink_event), (gst_queue_chain):
7862 Bufferalloc: return GstFlowReturn to more accuratly report
7863 why allocation failed.
7865 2005-06-02 Wim Taymans <wim@fluendo.com>
7867 * gst/gstpipeline.c: (gst_pipeline_send_event):
7868 Take snapshot of state without blocking.
7870 2005-06-02 Wim Taymans <wim@fluendo.com>
7872 * docs/design/part-TODO.txt:
7873 * docs/design/part-caps.txt:
7874 * docs/design/part-clocks.txt:
7875 * docs/design/part-negotiation.txt:
7876 * docs/design/part-preroll.txt:
7879 2005-05-30 Wim Taymans <wim@fluendo.com>
7881 * gst/elements/gstidentity.c: (gst_identity_event),
7882 (gst_identity_transform), (gst_identity_get_property):
7883 Protect last_message property as it is accessed from
7886 2005-05-30 Wim Taymans <wim@fluendo.com>
7888 * gst/gstelement.c: (gst_element_init),
7889 (gst_element_pads_activate), (gst_element_change_state):
7890 Slicker pad activation code.
7892 2005-05-30 Wim Taymans <wim@fluendo.com>
7896 * gst/gstelementfactory.h:
7898 Move elementfactory methods to separate .h file.
7900 2005-05-30 Wim Taymans <wim@fluendo.com>
7902 * docs/design/part-overview.txt:
7903 * gst/gstsystemclock.h:
7904 Small typo fixes, doc updates.
7906 2005-05-30 Wim Taymans <wim@fluendo.com>
7908 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7909 (init_popt_callback):
7910 Remove cpu-opt flag.
7912 2005-05-30 Wim Taymans <wim@fluendo.com>
7914 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7915 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7917 Avoid typechecking in places where not needed.
7918 Added accessor for malloc_data.
7920 2005-05-30 Wim Taymans <wim@fluendo.com>
7922 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7923 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7924 (gst_pad_configure_sink), (gst_pad_configure_src),
7925 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7926 (gst_pad_start_task):
7927 Propagate errors from _set_caps() in configure_src/sink
7928 functions instead of returning TRUE.
7929 FLUSH events can travel up and downstream
7932 2005-05-30 Wim Taymans <wim@fluendo.com>
7934 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7935 (gst_basesink_activate):
7936 Handle EOS in preroll.
7938 2005-05-30 Wim Taymans <wim@fluendo.com>
7940 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7941 (gst_queue_loop), (gst_queue_handle_src_event):
7942 Remove old pieces of code
7943 Flushing the queue in an upstream event is a very bad idea.
7945 2005-05-26 Andy Wingo <wingo@pobox.com>
7947 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7948 gst_value_set_mini_object so as to add a ref on the object (which
7949 will be removed when the value is unset).
7951 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7952 arg type in ::handoff.
7954 * gst/gstelement.c (gst_element_change_state): Also deactivate
7955 pads in READY->NULL, just in case the element didn't make it to
7956 PAUSED. Wingo tested, Wim approved.
7958 2005-05-26 Wim Taymans <wim@fluendo.com>
7960 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7961 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7962 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7963 A flushing pad cannot be used to alloc_buffer from.
7965 2005-05-26 Wim Taymans <wim@fluendo.com>
7967 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7968 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7969 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7970 (gst_bus_create_watch), (gst_bus_add_watch_full):
7972 Implement a real GSource and use g_main_context_wakeup() to
7973 signal new messages instead of the socketpair.
7975 2005-05-25 Wim Taymans <wim@fluendo.com>
7977 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7978 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7980 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7981 (gst_pad_send_event), (gst_pad_start_task):
7982 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7983 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7984 (gst_queue_sink_activate), (gst_queue_src_activate),
7985 (gst_queue_change_state):
7987 Fix state changes for non sinks. We now change sinks, then elements
7988 with unconnected srcpads, then the rest.
7989 More efficient queue unlocking in flush and state changes.
7990 Set the pad activate mode even if it does not have an activate
7993 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7995 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7996 Don't go in pull mode for non-seekable sources.
7997 * gst/elements/gsttypefindelement.h:
7998 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7999 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8000 (free_entry), (stop_typefinding),
8001 (gst_type_find_element_handle_event), (find_peek),
8002 (gst_type_find_element_chain), (do_pull_typefind),
8003 (gst_type_find_element_change_state):
8004 Allow typefinding (w/o seeking) in push-mode, simplified version
8006 * gst/gstutils.c: (gst_buffer_join):
8008 gst_buffer_join() from 0.8.
8010 2005-05-25 Wim Taymans <wim@fluendo.com>
8012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8013 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8014 (gst_pad_send_event), (gst_pad_start_task):
8015 Disable attempt at mode switching until it is figured out.
8017 2005-05-25 Wim Taymans <wim@fluendo.com>
8019 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8020 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8021 (gst_basesink_finish_preroll), (gst_basesink_chain),
8022 (gst_basesink_loop), (gst_basesink_activate),
8023 (gst_basesink_change_state):
8024 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8025 (gst_basesrc_get_range), (gst_basesrc_loop),
8026 (gst_basesrc_activate):
8027 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8028 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8029 (gst_real_pad_init), (gst_real_pad_set_property),
8030 (gst_real_pad_get_property), (gst_pad_set_active),
8031 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8032 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8033 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8034 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8035 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8036 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8037 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8038 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8039 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8040 (gst_pad_stop_task):
8042 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8043 (gst_queue_loop), (gst_queue_src_activate):
8044 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8045 (gst_task_get_state):
8047 * gst/schedulers/threadscheduler.c:
8048 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8049 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8051 Remove ACTIVE pad flag, use FLUSHING everywhere
8052 Added _pad_chain(), _pad_get_range() to call chain/getrange
8054 Add locks around IS_FLUSHING when reading.
8055 Take STREAM lock in chain(), get_range() functions so plugins
8056 don't need to take it anymore.
8060 2005-05-25 Wim Taymans <wim@fluendo.com>
8062 * tools/gst-launch.c: (event_loop):
8063 Unref message after using its contents instead of
8066 2005-05-24 Wim Taymans <wim@fluendo.com>
8068 * docs/design/draft-ghostpads.txt:
8069 * docs/design/draft-push-pull.txt:
8070 * docs/design/draft-query.txt:
8071 * docs/design/part-overview.txt:
8072 Docs updates, added general overview doc.
8074 2005-05-21 David Schleef <ds@schleef.org>
8076 * docs/gst/tmpl/old/GstBin.sgml:
8077 * docs/gst/tmpl/old/GstBuffer.sgml:
8078 * docs/gst/tmpl/old/GstCaps.sgml:
8079 * docs/gst/tmpl/old/GstClock.sgml:
8080 * docs/gst/tmpl/old/GstCompat.sgml:
8081 * docs/gst/tmpl/old/GstData.sgml:
8082 * docs/gst/tmpl/old/GstElement.sgml:
8083 * docs/gst/tmpl/old/GstEvent.sgml:
8084 * docs/gst/tmpl/old/GstIndex.sgml:
8085 * docs/gst/tmpl/old/GstStructure.sgml:
8086 * docs/gst/tmpl/old/GstTag.sgml:
8087 * docs/gst/tmpl/old/cothreads.sgml:
8088 * docs/gst/tmpl/old/cothreads_compat.sgml:
8089 * docs/gst/tmpl/old/gettext.sgml:
8090 * docs/gst/tmpl/old/gobject2gtk.sgml:
8091 * docs/gst/tmpl/old/grammar.tab.sgml:
8092 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8093 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8094 * docs/gst/tmpl/old/gst_private.sgml:
8095 * docs/gst/tmpl/old/gstaggregator.sgml:
8096 * docs/gst/tmpl/old/gstarch.sgml:
8097 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8098 * docs/gst/tmpl/old/gstbufferstore.sgml:
8099 * docs/gst/tmpl/old/gstdata_private.sgml:
8100 * docs/gst/tmpl/old/gstdisksink.sgml:
8101 * docs/gst/tmpl/old/gstdisksrc.sgml:
8102 * docs/gst/tmpl/old/gstelementfactory.sgml:
8103 * docs/gst/tmpl/old/gstextratypes.sgml:
8104 * docs/gst/tmpl/old/gstfakesink.sgml:
8105 * docs/gst/tmpl/old/gstfakesrc.sgml:
8106 * docs/gst/tmpl/old/gstfdsink.sgml:
8107 * docs/gst/tmpl/old/gstfdsrc.sgml:
8108 * docs/gst/tmpl/old/gstfilesink.sgml:
8109 * docs/gst/tmpl/old/gstfilesrc.sgml:
8110 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8111 * docs/gst/tmpl/old/gstidentity.sgml:
8112 * docs/gst/tmpl/old/gstindexfactory.sgml:
8113 * docs/gst/tmpl/old/gstmarshal.sgml:
8114 * docs/gst/tmpl/old/gstmd5sink.sgml:
8115 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8116 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8117 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8118 * docs/gst/tmpl/old/gstpipefilter.sgml:
8119 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8120 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8121 * docs/gst/tmpl/old/gstshaper.sgml:
8122 * docs/gst/tmpl/old/gstspider.sgml:
8123 * docs/gst/tmpl/old/gstspideridentity.sgml:
8124 * docs/gst/tmpl/old/gststatistics.sgml:
8125 * docs/gst/tmpl/old/gsttee.sgml:
8126 * docs/gst/tmpl/old/gsttimecache.sgml:
8127 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8128 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8129 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8130 * docs/gst/tmpl/old/types.sgml:
8131 I didn't intend to add these or check them in.
8133 2005-05-19 David Schleef <ds@schleef.org>
8135 * configure.ac: Use -no-common everywhere. In a sane world, it
8136 would be the default in libtool, because without it, you can't
8137 build DLLs on Windows.
8138 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8139 * docs/gst/gstreamer-sections.txt:
8140 * docs/gst/tmpl/gstcpu.sgml:
8141 * docs/gst/tmpl/gstdata.sgml:
8142 * docs/gst/tmpl/gstthread.sgml:
8144 2005-05-19 David Schleef <ds@schleef.org>
8146 * gst/gstminiobject.c: (gst_value_set_mini_object),
8147 (gst_value_take_mini_object), (gst_value_get_mini_object):
8148 * gst/gstminiobject.h: Add GValue set/get functions.
8150 2005-05-19 Wim Taymans <wim@fluendo.com>
8152 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8153 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8154 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8156 * gst/gstbus.c: (gst_bus_post):
8157 * gst/gstelement.c: (gst_element_get_random_pad):
8158 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8159 Make subbufer unref the parent in finalize.
8160 some more debugging info.
8163 2005-05-19 Wim Taymans <wim@fluendo.com>
8165 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8166 (gst_basesink_init), (gst_basesink_finalize),
8167 (gst_basesink_activate), (gst_basesink_change_state):
8168 Don't free preroll queue too early.
8170 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8174 Hi, I'm outdated. Please shoot me.
8176 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8178 * gst/gstpipeline.c: (gst_pipeline_send_event):
8179 Do not access variables after they have been deleted.
8181 2005-05-19 Wim Taymans <wim@fluendo.com>
8183 * tools/gst-inspect.c: (print_plugin_features):
8184 A plugin feature does unfortunatly not use the
8187 2005-05-18 Wim Taymans <wim@fluendo.com>
8189 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8190 Port _span() functions to new subbuffers.
8192 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8194 * gst/gstbin.c: (gst_bin_add_func):
8195 Fix clock settery in bins when adding kids after the clock has
8198 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8200 * gst/elements/gstidentity.c: (gst_identity_class_init):
8201 Workaround until signals support GstMiniObject.
8203 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8206 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8208 2005-05-18 Wim Taymans <wim@fluendo.com>
8210 * gst/base/Makefile.am:
8211 * gst/base/gstadapter.c: (gst_adapter_base_init),
8212 (gst_adapter_class_init), (gst_adapter_init),
8213 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8214 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8215 (gst_adapter_flush), (gst_adapter_available),
8216 (gst_adapter_available_fast):
8217 * gst/base/gstadapter.h:
8218 Ported and added adapter to the base classes.
8220 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8224 Make sure the class is reffed/unreffed once before threads can be
8225 used. Fixes #304551.
8227 2005-05-17 Wim Taymans <wim@fluendo.com>
8229 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8230 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8231 * gst/gstminiobject.c: (gst_mini_object_get_type),
8232 (gst_mini_object_free):
8233 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8234 (gst_pad_push), (gst_pad_push_event):
8235 * gst/gstqueue.c: (gst_queue_change_state):
8236 Don't queue buffers in basesink when we are flushing.
8237 Unref buffer when flushing in basesink.
8238 Flush queue when going to READY
8239 Unref buffer when _push() returns an error.
8240 Don't free MiniObject instance when refcount is incremented
8241 in _finalize() so that we can recover objects.
8243 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8245 * docs/manual/advanced-schedulers.xml:
8246 * docs/manual/appendix-checklist.xml:
8247 * docs/pwg/advanced-clock.xml:
8248 * docs/pwg/advanced-interfaces.xml:
8249 * docs/pwg/advanced-request.xml:
8250 * docs/pwg/advanced-types.xml:
8251 * docs/pwg/intro-preface.xml:
8252 * examples/plugins/example.c: (gst_example_get_type),
8253 (gst_example_class_init), (gst_example_chain),
8254 (gst_example_set_property), (gst_example_get_property),
8255 (gst_example_change_state), (plugin_init):
8256 * examples/plugins/example.h:
8259 2005-05-17 Wim Taymans <wim@fluendo.com>
8261 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8262 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8263 * gst/gstqueue.c: (gst_queue_change_state):
8264 Clear queue when going to READY.
8265 Remove IN_SETCAPS flag too.
8267 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8269 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8270 Remove implicit cast from gboolean to GstElementStateReturn;
8271 make sure we still return failure in paused => ready case if
8272 the parent class fails to change state and our own stop
8275 2005-05-17 Wim Taymans <wim@fluendo.com>
8277 * tools/gst-launch.c: (event_loop):
8278 Message was unreffed too soon.
8280 2005-05-16 Andy Wingo <wingo@pobox.com>
8282 * gst/gstbin.c (sink_iterator_filter): Err... um...
8284 * check/gst/gstbin.c (test_ghost_pads): New test for the
8285 ghosting-if-elements-not-in-same-bin behavior.
8287 2005-05-16 David Schleef <ds@schleef.org>
8289 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8290 accessing refcount directly.
8292 2005-05-15 David Schleef <ds@schleef.org>
8294 * check/Makefile.am: remove GstData checks
8295 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8296 * gst/Makefile.am: add miniobject, remove data
8297 * gst/gst.h: add miniobject, remove data
8298 * gst/gstdata.c: remove
8299 * gst/gstdata.h: remove
8300 * gst/gstdata_private.h: remove
8301 * gst/gsttypes.h: remove GstEvent and GstMessage
8302 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8303 * gst/gstmarshal.list: change BOXED -> OBJECT
8305 Implement GstMiniObject.
8306 * gst/gstminiobject.c:
8307 * gst/gstminiobject.h:
8309 Modify to be subclasses of GstMiniObject.
8310 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8311 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8312 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8313 (gst_subbuffer_get_type), (gst_subbuffer_init),
8314 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8317 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8318 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8319 (_gst_event_copy), (gst_event_new):
8321 * gst/gstmessage.c: (_gst_message_initialize),
8322 (gst_message_get_type), (gst_message_class_init),
8323 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8324 (gst_message_new), (gst_message_new_error),
8325 (gst_message_new_warning), (gst_message_new_tag),
8326 (gst_message_new_state_changed), (gst_message_new_application):
8328 * gst/gstprobe.c: (gst_probe_perform),
8329 (gst_probe_dispatcher_dispatch):
8331 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8332 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8333 (_gst_query_copy), (gst_query_new):
8335 Update elements for GstData -> GstMiniObject changes
8337 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8338 (gst_queue_chain), (gst_queue_loop):
8339 * gst/elements/gstbufferstore.c:
8340 (gst_buffer_store_add_buffer_func),
8341 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8342 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8343 (gst_fakesink_render):
8344 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8345 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8346 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8347 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8348 (gst_filesrc_create_read):
8349 * gst/elements/gstidentity.c: (gst_identity_class_init):
8350 * gst/elements/gsttypefindelement.c:
8351 (gst_type_find_element_src_event), (free_entry_buffers),
8352 (gst_type_find_element_handle_event):
8353 * libs/gst/dataprotocol/dataprotocol.c:
8354 (gst_dp_header_from_buffer):
8355 * libs/gst/dataprotocol/dataprotocol.h:
8356 * libs/gst/dataprotocol/dp-private.h:
8358 2005-05-15 David Schleef <ds@schleef.org>
8360 * gst/elements/gstelements.c: Don't include headers that were
8363 2005-05-15 David Schleef <ds@schleef.org>
8365 * gst/elements/Makefile.am: Remove some elements that don't
8366 need to be in the core (or even exist at all).
8367 * gst/elements/gstaggregator.c:
8368 * gst/elements/gstaggregator.h:
8369 * gst/elements/gstmd5sink.c:
8370 * gst/elements/gstmd5sink.h:
8371 * gst/elements/gstmultifilesrc.c:
8372 * gst/elements/gstmultifilesrc.h:
8373 * gst/elements/gstpipefilter.c:
8374 * gst/elements/gstpipefilter.h:
8375 * gst/elements/gstshaper.c:
8376 * gst/elements/gstshaper.h:
8377 * gst/elements/gststatistics.c:
8378 * gst/elements/gststatistics.h:
8379 * po/POTFILES.in: Remove above files.
8381 2005-05-14 Andy Wingo <wingo@pobox.com>
8383 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8384 so as to get the refs right.
8385 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8386 unreffing objects that don't pass the filter.
8388 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8389 gst_element_set_bus.
8390 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8391 normal cases, this will destroy the bus.
8393 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8396 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8399 2005-05-13 Andy Wingo <wingo@pobox.com>
8401 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8402 gst_pad_link, call pad_link_maybe_ghosting,
8403 (pad_link_maybe_ghosting): Links pads, making sure that the
8404 elements being linked are in the same bin.
8405 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8406 Helpers for pad_link_maybe_ghosting.
8408 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8411 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8413 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8415 * docs/design/part-element-source.txt:
8418 2005-05-12 Wim Taymans <wim@fluendo.com>
8420 * gst/base/gstbasesink.c: (gst_basesink_init),
8421 (gst_basesink_activate):
8422 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8423 (gst_basesrc_is_seekable):
8424 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8425 (bin_element_is_sink), (gst_bin_change_state):
8426 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8428 Identify sinks by their flag to avoid overly complicated
8430 Do state changes even for elements not reachable from the
8432 BaseSink is a sink now :)
8433 Some more debugging info in the basesrc.
8436 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8439 Implement _query on a bin, similar to _send_event.
8441 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8443 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8444 Discont event offset format should be GST_FORMAT_BYTES,
8445 not GST_FORMAT_TIME.
8447 2005-05-12 Wim Taymans <wim@fluendo.com>
8449 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8450 Same fix as Ronald's but without the signal.
8452 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8454 * gst/gstutils.c: (gst_element_query_position):
8455 No, an element is not a pad.
8457 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8459 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8460 (gst_bin_get_state):
8461 If a child is removed from a bin while we remove the child from
8462 the bin and while we're retrieving its state, signal this to the
8463 get_state function so we abort the wait (instead of waiting for
8464 a timeout) and can immediately re-iterate over all other elements.
8466 2005-05-12 Wim Taymans <wim@fluendo.com>
8468 * gst/base/Makefile.am:
8469 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8470 (gst_basesrc_start):
8471 * gst/base/gstbasesrc.h:
8472 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8473 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8474 (gst_pushsrc_init), (gst_pushsrc_create):
8475 * gst/base/gstpushsrc.h:
8476 Added is_seekable to BaseSrc
8477 Added simple PushSrc.
8479 2005-05-11 Wim Taymans <wim@fluendo.com>
8481 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8482 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8483 (gst_element_link_pads), (gst_element_query_position),
8484 (gst_element_query_convert), (intersect_caps_func),
8485 (gst_pad_query_position), (gst_pad_query_convert):
8486 Fix refcounting in utils function.
8487 No point in trying to activate a pad when it's added, it could
8488 be added from the state change function and then we deadlock, the
8489 element has to decide what to do.
8491 2005-05-10 Andy Wingo <wingo@pobox.com>
8493 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8494 *all* the arguments.
8496 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8497 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8498 lock (according to the docs -- if this is wrong change the docs).
8500 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8501 flush messages in the NULL state.
8503 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8504 message immediately and return.
8505 (gst_bus_set_flushing): New function. If a bus is flushing, it
8506 flushes out any queued messages and immediately unrefs new
8507 messages. This is so when an element goes to NULL, all of the
8508 unhandled messages coming from it can be freed, and their
8509 references to the element dropped. In other words: message source
8510 ref considered harmful :P
8512 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8513 we're finished with it.
8515 * gst/gstmessage.c (gst_message_new_state_changed):
8517 2005-05-10 Wim Taymans <wim@fluendo.com>
8519 * gst/gstvalue.c: (gst_value_compare_flags),
8520 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8521 (_gst_value_initialize):
8522 Added flags serialize/deserialize/compare code.
8524 2005-05-09 Andy Wingo <wingo@pobox.com>
8526 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8527 Intersect the peer's caps with our caps.
8529 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8531 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8532 * gst/elements/gsttypefindelement.c: (find_peek):
8533 Handle negative offsets better. Fixes decodebin.
8535 2005-05-09 Wim Taymans <wim@fluendo.com>
8537 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8538 (gst_base_transform_event):
8539 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8540 Implement accept_caps.
8541 Fix silly lock/unlock mismatch in base class.
8543 2005-05-09 Wim Taymans <wim@fluendo.com>
8545 * docs/design/draft-push-pull.txt:
8546 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8547 * gst/elements/gstfilesink.c: (gst_filesink_init),
8548 (gst_filesink_query):
8549 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8550 (gst_type_find_handle_src_query), (find_element_get_length):
8551 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8555 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8556 (gst_real_pad_get_caps_unlocked),
8557 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8558 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8559 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8560 (gst_real_pad_dispose), (gst_real_pad_finalize),
8561 (gst_pad_load_and_link), (gst_pad_save_thyself),
8562 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8563 (gst_pad_check_pull_range), (gst_pad_pull_range),
8564 (gst_pad_template_get_type), (gst_pad_template_class_init),
8565 (gst_pad_template_init), (gst_pad_template_dispose),
8566 (name_is_valid), (gst_static_pad_template_get),
8567 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8568 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8569 (gst_pad_get_element_private), (gst_pad_start_task),
8570 (gst_pad_pause_task), (gst_pad_stop_task),
8571 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8572 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8573 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8574 (gst_ghost_pad_new):
8576 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8577 (gst_query_new_position), (gst_query_set_position),
8578 (gst_query_parse_position), (gst_query_new_convert),
8579 (gst_query_set_convert), (gst_query_parse_convert):
8581 * gst/gstqueryutils.c:
8582 * gst/gstqueryutils.h:
8583 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8584 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8585 (gst_queue_handle_src_query):
8586 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8587 (gst_element_query_position), (gst_element_query_convert),
8588 (intersect_caps_func), (gst_pad_query_position),
8589 (gst_pad_query_convert):
8591 * tools/gst-inspect.c: (print_pad_info):
8592 * tools/gst-xmlinspect.c: (print_element_info):
8593 Remove old query functions. Ported old code.
8594 Added position/convert helper functions to gstutils.
8595 Reordered gstpad.c code, grouping relevant things.
8596 Remove gst_message_new(), always need to speficy a specific
8600 2005-05-09 Andy Wingo <wingo@pobox.com>
8602 * gst/gstiterator.h: Add some includes.
8604 * gst/gstqueryutils.h: Include more headers.
8607 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8608 some uses of gst_pad_query.
8610 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8611 NULL out parameters.
8612 (gst_query_new_position): New proc, allocates a new position
8615 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8616 gstqueryutils.c to the build.
8618 * gst/gststructure.c (gst_structure_set_valist): Implement with
8619 the generic G_VALUE_COLLECT.
8621 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8623 * gst/Makefile.am: (gst_headers):
8624 Added gstqueryutils.h to the list of headers to install, that was
8625 a 'nachty' move wingo :)
8627 2005-05-06 Andy Wingo <wingo@pobox.com>
8630 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8631 GstData, init a memchunk.
8632 (standard_definitions): Add a few query types, deprecate a few.
8633 (gst_query_get_type): New proc.
8634 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8636 (gst_query_new_application, gst_query_get_structure): New public
8639 * docs/design/draft-query.txt: Removed LINKS from the query types,
8640 because all the rest can be dispatched to other pads -- seemed
8641 ugly to have a query that couldn't be dispatched. internal_links
8642 is fine as a pad method.
8644 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8645 in gstpad.c, but maintain binary compatibility for the moment.
8646 Will fix before 0.9 is out.
8648 * gst/gstqueryutils.c:
8649 * gst/gstqueryutils.h: New files, implement 3 methods for each
8650 query type: parse_query, parse_response, and set. Probably need an
8653 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8655 * gst/elements/gstfilesink.c (gst_filesink_query2):
8656 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8657 query_types, and formats methods.
8659 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8660 (gst_pad_set_query2_function): New functions.
8661 (gst_real_pad_init): Set query2_default as the default query2
8662 function. Basically just dispatches to internally linked pads.
8666 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8667 without using the atomic operations. Only one thread can possibly
8668 be accessing the data at this point. Changed so as to avoid
8669 gst_atomic operations.
8671 2005-05-06 Wim Taymans <wim@fluendo.com>
8673 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8674 Also set caps if we use the fallback buffer alloc.
8676 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8678 * docs/gst/Makefile.am:
8679 * docs/gst/gstreamer-docs.sgml:
8680 * docs/gst/gstreamer-sections.txt:
8681 * docs/gst/tmpl/gstatomic.sgml:
8682 * docs/gst/tmpl/gstmemchunk.sgml:
8683 * testsuite/elements/struct_i386.h:
8684 * win32/GStreamer.vcproj:
8686 Purge GstAtomic stuff from docs and win32 makefiles as well
8688 2005-05-06 Wim Taymans <wim@fluendo.com>
8690 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8691 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8692 * gst/gstpad.c: (gst_pad_peer_get_caps):
8693 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8694 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8695 (gst_queue_src_activate), (gst_queue_change_state):
8697 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8698 (intersect_caps_func):
8699 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8700 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8701 Some fixes for the peer_get_caps() change.
8703 2005-05-06 Wim Taymans <wim@fluendo.com>
8705 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8706 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8707 (gst_basesink_activate):
8708 Actually do something with error codes returned from the push
8711 2005-05-06 Wim Taymans <wim@fluendo.com>
8713 * docs/design/part-element-sink.txt:
8714 * docs/design/part-element-source.txt:
8715 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8716 (gst_basesink_event), (gst_basesink_activate):
8717 * gst/base/gstbasesink.h:
8718 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8719 (gst_basesrc_activate):
8720 * gst/base/gstbasesrc.h:
8721 * gst/gstelement.c: (gst_element_pads_activate):
8722 Some more documentation.
8723 Fixed scheduling decision in _pads_activate().
8725 2005-05-05 Andy Wingo <wingo@pobox.com>
8727 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8730 2005-05-05 Wim Taymans <wim@fluendo.com>
8732 * gst/base/Makefile.am:
8733 * gst/base/gstbasesink.h:
8734 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8735 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8736 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8737 (gst_collectpads_class_init), (gst_collectpads_init),
8738 (gst_collectpads_finalize), (gst_collectpads_new),
8739 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8740 (find_pad), (gst_collectpads_remove_pad),
8741 (gst_collectpads_is_active), (gst_collectpads_collect),
8742 (gst_collectpads_collect_range), (gst_collectpads_start),
8743 (gst_collectpads_stop), (gst_collectpads_peek),
8744 (gst_collectpads_pop), (gst_collectpads_available),
8745 (gst_collectpads_read), (gst_collectpads_flush),
8746 (gst_collectpads_chain):
8747 * gst/base/gstcollectpads.h:
8748 * gst/elements/Makefile.am:
8749 * gst/elements/gstelements.c:
8750 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8751 (gst_fakesink_get_times), (gst_fakesink_event),
8752 (gst_fakesink_preroll), (gst_fakesink_render):
8753 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8754 (gst_filesink_init), (gst_filesink_set_location),
8755 (gst_filesink_open_file), (gst_filesink_close_file),
8756 (gst_filesink_pad_query), (gst_filesink_event),
8757 (gst_filesink_render), (gst_filesink_change_state):
8758 * gst/elements/gstfilesink.h:
8759 Added object to help in making collect pad based elements.
8761 Make event function in sink baseclass return gboolean.
8763 2005-05-05 Wim Taymans <wim@fluendo.com>
8765 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8766 (gst_bin_get_by_name):
8768 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8769 (gst_clock_finalize):
8770 * gst/gstdata.c: (gst_data_replace):
8772 * gst/gstelement.c: (gst_element_request_pad),
8773 (gst_element_pads_activate):
8774 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8776 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8777 (gst_pad_set_checkgetrange_function),
8778 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8779 (gst_pad_check_pull_range), (gst_pad_pull_range),
8780 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8781 (gst_pad_pause_task), (gst_pad_stop_task):
8782 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8783 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8784 Fix name lookup in GstBin.
8785 Added _data_replace() function and _buffer_replace()
8786 Use finalize method to clean up clock.
8787 Fix refcounting on request pads.
8788 Fix pad schedule mode error.
8789 Some more object refcounting debug info,
8792 2005-05-04 Andy Wingo <wingo@pobox.com>
8794 * check/Makefile.am:
8795 * docs/gst/tmpl/gstatomic.sgml:
8796 * docs/gst/tmpl/gstplugin.sgml:
8797 * gst/base/gstbasesink.c: (gst_basesink_activate):
8798 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8799 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8800 (gst_basesrc_query), (gst_basesrc_set_property),
8801 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8802 (gst_basesrc_activate):
8803 * gst/base/gstbasesrc.h:
8804 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8805 (gst_base_transform_src_activate):
8806 * gst/elements/gstelements.c:
8807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8808 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8809 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8810 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8811 (gst_type_find_element_checkgetrange),
8812 (gst_type_find_element_activate):
8813 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8814 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8815 (gst_caps_load_thyself):
8816 * gst/gstelement.c: (gst_element_pads_activate),
8817 (gst_element_save_thyself), (gst_element_restore_thyself):
8818 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8819 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8821 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8822 (gst_xml_parse_file), (gst_xml_parse_memory),
8823 (gst_xml_get_element), (gst_xml_make_element):
8824 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8825 (_file_index_id_save_xml), (gst_file_index_commit):
8826 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8827 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8829 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8830 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8831 * tools/gst-complete.c: (main):
8832 * tools/gst-compprep.c: (main):
8833 * tools/gst-inspect.c: (print_element_properties_info):
8834 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8835 * tools/gst-xmlinspect.c: (print_element_properties):
8838 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8840 * gst/gstplugin.c: (gst_plugin_check_module),
8841 (gst_plugin_check_file), (gst_plugin_load_file):
8842 apply patch from #172526 to make register work on MacOSX
8844 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8846 * docs/gst/tmpl/gstconfig.sgml:
8847 * gst/gstconfig.h.in:
8848 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8849 * testsuite/debug/printf_extension.c: (main):
8850 Do not use GST_PTR_FORMAT on pointers to types with
8851 sizeof < sizeof(gpointer). Fixes test on 64-bit
8852 * testsuite/elements/property.h:
8853 use correct printf format
8855 2005-05-02 Wim Taymans <wim@fluendo.com>
8857 * docs/design/draft-push-pull.txt:
8858 * docs/design/draft-query.txt:
8859 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8860 (gst_basesrc_start):
8861 Added draft for new query API.
8862 Added draft for better selecting scheduling methods.
8863 Make basesrc ignore length if the subclass does not support
8866 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8869 possible fixes for automake-1.5 - _LIBADD is reserved
8871 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8873 * docs/faq/Makefile.am:
8874 * docs/manual/Makefile.am:
8876 * docs/pwg/Makefile.am:
8878 possible fixes for automake-1.5
8880 2005-04-28 Wim Taymans <wim@fluendo.com>
8882 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8883 (gst_basesink_pad_getcaps), (gst_basesink_init),
8884 (gst_basesink_do_sync):
8885 * gst/gstclock.c: (gst_clock_entry_new):
8886 * gst/gstevent.c: (gst_event_discont_get_value):
8887 * gst/gstpipeline.c: (pipeline_bus_handler),
8888 (gst_pipeline_change_state):
8889 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8890 Better debugging of clocking info.
8891 Allow NULL values when getting discont values.
8893 2005-04-27 Wim Taymans <wim@fluendo.com>
8895 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8896 * check/gst/gstpad.c: (gst_pad_suite):
8897 Increase timeout for checks.
8899 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8901 * check/Makefile.am:
8902 fix the broken rule for cleanup. Apparently this rule is
8903 only needed on FC2, so maybe this warrants further autotool
8906 2005-04-26 Wim Taymans <wim@fluendo.com>
8908 * gst/gsttrashstack.h:
8909 Ooohh. a nasty one! After having a failed pop() from the stack,
8910 it's possible that the stack is empty. In that case, don't
8911 follow the NULL pointer.
8913 2005-04-25 Wim Taymans <wim@fluendo.com>
8915 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8916 (gst_pad_set_checkgetrange_function),
8917 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8918 (gst_pad_check_pull_range), (gst_pad_pull_range),
8919 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8920 (gst_pad_pause_task), (gst_pad_stop_task):
8921 * gst/gstplugin.c: (gst_plugin_load):
8923 Remove gst_library_load as it does more harm than good with
8924 the new g_module flags.
8925 Revert bogus caps template check in pad linking, pad caps
8926 are important when linking not the template, which is more
8927 general than the current caps.
8929 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8931 * gst/autoplug/.cvsignore:
8932 * gst/autoplug/Makefile.am:
8933 * gst/autoplug/gstsearchfuncs.c:
8934 * gst/autoplug/gstsearchfuncs.h:
8935 * gst/autoplug/gstspider.c:
8936 * gst/autoplug/gstspider.h:
8937 * gst/autoplug/gstspideridentity.c:
8938 * gst/autoplug/gstspideridentity.h:
8939 * gst/autoplug/spidertest.c:
8942 2005-04-25 Wim Taymans <wim@fluendo.com>
8944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8945 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8946 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8947 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8949 Added stubs for unimplemented functions.
8951 2005-04-24 David Schleef <ds@schleef.org>
8953 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8956 2005-04-24 David Schleef <ds@schleef.org>
8958 Convert everything from GstAtomicInt to g_atomic_int_*, and
8963 * gst/gstatomic_impl.h:
8971 * gst/gstdata_private.h:
8978 * gst/gststructure.c:
8979 * gst/gststructure.h:
8980 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8983 2005-04-24 David Schleef <ds@schleef.org>
8985 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8986 make the regressions tests work. Remove some code that is no
8988 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8989 Disable warning for pads without templates.
8991 2005-04-24 David Schleef <ds@schleef.org>
8993 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8994 functions that handle filtered links.
8995 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8997 * gst/gstutils.c: Fix/remove utility functions that handle
9000 * gst/gstvalue.c: Add serialization/deserialization of caps
9001 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9002 requires fixing so that the filter caps notation creates
9003 a capsfilter element and sets the filter_caps property. I
9004 think everyone probably wants to keep the shorthand notation.
9005 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9006 * docs/gst/tmpl/gstpad.sgml:
9008 * gst/elements/gstelements.c: Register capsfilter element.
9009 * gst/Makefile.am: fix spacing
9010 * docs/random/ds/0.9-suggested-changes: random
9012 2005-04-23 David Schleef <ds@schleef.org>
9014 * gst/elements/Makefile.am:
9015 * gst/elements/gstcapsfilter.c: New element that acts like an
9016 identity, but filters caps. Will eventually replace filtered
9017 caps in pad linking.
9018 * gst/gstutils.c: (gst_element_create_all_pads): New function
9019 to create all the ALWAYS pads that are registered with an
9020 element class. This functionality should eventually be
9021 merged in with GstElement initialization.
9023 * testsuite/trigger/README: part of trigger test code that should
9024 have been checked in a long time ago.
9026 2005-04-23 David Schleef <ds@schleef.org>
9028 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9029 needed with new versions of libtool (nobody will confirm this),
9030 and hard to carry around.
9031 * gst/autoplug/Makefile.am:
9032 * gst/base/Makefile.am:
9033 * gst/elements/Makefile.am:
9034 * gst/indexers/Makefile.am:
9035 * gst/schedulers/Makefile.am:
9036 * libs/gst/bytestream/Makefile.am:
9037 * libs/gst/control/Makefile.am:
9038 * libs/gst/dataprotocol/Makefile.am:
9039 * libs/gst/getbits/Makefile.am:
9041 2005-04-21 Wim Taymans <wim@fluendo.com>
9043 * docs/design/draft-push-pull.txt:
9044 * docs/design/part-MT-refcounting.txt:
9045 * docs/design/part-TODO.txt:
9046 * docs/design/part-caps.txt:
9047 * docs/design/part-events.txt:
9048 * docs/design/part-gstbus.txt:
9049 * docs/design/part-gstpipeline.txt:
9050 * docs/design/part-messages.txt:
9051 * docs/design/part-push-pull.txt:
9052 * docs/design/part-query.txt:
9055 2005-04-21 Wim Taymans <wim@fluendo.com>
9057 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9058 (gst_message_new), (gst_message_new_error),
9059 (gst_message_new_warning), (gst_message_new_tag),
9060 (gst_message_new_state_changed), (gst_message_new_application),
9061 (gst_message_get_structure):
9063 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9064 (gst_structure_copy_conditional):
9065 Use parent refcount in GstMessage to ensure GstStructure
9067 Cleaned up headers a bit.
9070 2005-04-20 Wim Taymans <wim@fluendo.com>
9072 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9073 (gst_basesink_pad_getcaps), (gst_basesink_init),
9074 (gst_basesink_chain_unlocked):
9075 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9076 (gst_type_find_helper):
9077 * gst/elements/gsttypefindelement.c:
9078 (gst_type_find_element_have_type), (gst_type_find_element_init),
9079 (stop_typefinding), (gst_type_find_element_handle_event),
9080 (find_suggest), (gst_type_find_element_chain),
9081 (gst_type_find_element_checkgetrange),
9082 (gst_type_find_element_getrange), (do_typefind),
9083 (gst_type_find_element_activate):
9084 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9085 (gst_buffer_default_free), (gst_buffer_default_copy),
9086 (gst_buffer_set_caps):
9087 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9089 * gst/gstmessage.c: (gst_message_new),
9090 (gst_message_new_state_changed):
9091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9092 (gst_pad_set_checkgetrange_function),
9093 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9094 (gst_pad_set_caps), (gst_pad_check_pull_range),
9095 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9097 * gst/gsttypefind.c: (gst_type_find_register):
9098 Make gst_caps_replace() work like other _replace() functions.
9099 Use _caps_replace() where possible.
9100 Make sure _message_new() initialises its field.
9101 Add gst_static_pad_template_get_caps()
9104 2005-04-18 Andy Wingo <wingo@pobox.com>
9106 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9107 on the peer, not the pad. I think that was a typo. Pass an extra
9108 arg to see if random access is possible. Activate the pads as
9109 PULL_RANGE if possible.
9111 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9113 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9114 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9117 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9119 * docs/faq/using.xml:
9120 Add note on gstreamer-properties (#154996).
9122 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9124 * docs/random/bbb/optional-properties:
9125 Some analysis on optional properties.
9127 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9129 * docs/gst/tmpl/gstelementfactory.sgml:
9131 * gst/gstelementfactory.c: (gst_element_factory_init),
9132 (gst_element_factory_cleanup), (gst_element_register),
9133 (__gst_element_factory_add_static_pad_template),
9134 (gst_element_factory_get_static_pad_templates),
9135 (gst_element_factory_can_src_caps),
9136 (gst_element_factory_can_sink_caps):
9137 * gst/registries/Makefile.am:
9138 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9139 (gst_xml_registry_class_init), (gst_xml_registry_init),
9140 (gst_xml_registry_new), (gst_xml_registry_set_property),
9141 (gst_xml_registry_get_property), (get_time), (make_dir),
9142 (gst_xml_registry_get_perms_func),
9143 (plugin_times_older_than_recurse), (plugin_times_older_than),
9144 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9145 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9146 (add_to_char_array), (read_string), (read_uint), (read_enum),
9147 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9148 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9149 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9150 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9151 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9152 (gst_xml_registry_rebuild):
9153 * gst/registries/gstlibxmlregistry.h:
9154 * tools/gst-compprep.c: (main):
9155 * tools/gst-inspect.c: (print_pad_templates_info):
9156 * tools/gst-xmlinspect.c: (print_element_info):
9157 Use libxml2 for registry parsing, use staticpadtemplates in
9158 elementfactories. Makes gst_init() +/- 10x faster.
9160 2005-04-12 Wim Taymans <wim@fluendo.com>
9162 * gst/base/Makefile.am:
9163 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9164 (gst_basesink_pad_getcaps), (gst_basesink_init),
9165 (gst_basesink_event), (gst_basesink_change_state):
9166 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9167 (gst_basesrc_init), (gst_basesrc_query),
9168 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9169 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9170 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9171 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9172 (gst_basesrc_stop), (gst_basesrc_activate),
9173 (gst_basesrc_change_state):
9174 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9175 (helper_find_suggest), (gst_type_find_helper):
9176 * gst/base/gsttypefindhelper.h:
9177 * gst/elements/Makefile.am:
9178 * gst/elements/gstelements.c:
9179 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9180 (gst_fakesink_get_times), (gst_fakesink_event),
9181 (gst_fakesink_preroll), (gst_fakesink_render):
9182 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9183 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9184 (gst_fakesrc_get_property), (gst_fakesrc_create),
9185 (gst_fakesrc_start), (gst_fakesrc_stop):
9186 * gst/elements/gstfakesrc.h:
9187 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9188 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9189 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9190 (gst_filesrc_create_read), (gst_filesrc_create),
9191 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9192 (gst_filesrc_start):
9193 * gst/elements/gsttypefindelement.c:
9194 (gst_type_find_element_have_type), (gst_type_find_element_init),
9195 (start_typefinding), (stop_typefinding), (push_buffer_store),
9196 (gst_type_find_element_handle_event),
9197 (gst_type_find_element_chain),
9198 (gst_type_find_element_checkgetrange),
9199 (gst_type_find_element_getrange), (do_typefind),
9200 (gst_type_find_element_activate),
9201 (gst_type_find_element_change_state):
9202 * gst/elements/gsttypefindelement.h:
9203 * gst/gstpipeline.c: (pipeline_bus_handler):
9204 Added typefind helper.
9205 Small preroll fix in the base sink.
9206 Disable typefind code in basesrc.
9207 Crude port of typefindelement.
9211 2005-04-11 Wim Taymans <wim@fluendo.com>
9213 * check/gst/gstbus.c: (gstbus_suite):
9214 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9216 Fix up the timeout so that the test does not fail.
9218 2005-04-06 Wim Taymans <wim@fluendo.com>
9221 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9222 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9223 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9224 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9225 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9226 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9227 (gst_basesrc_stop), (gst_basesrc_activate),
9228 (gst_basesrc_change_state), (basesrc_find_peek),
9229 (basesrc_find_suggest), (gst_basesrc_type_find):
9230 * gst/base/gstbasesrc.h:
9231 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9232 (gst_filesrc_class_init), (gst_filesrc_init),
9233 (gst_filesrc_finalize), (gst_filesrc_set_location),
9234 (gst_filesrc_set_property), (gst_filesrc_get_property),
9235 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9236 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9237 (gst_filesrc_create_read), (gst_filesrc_create),
9238 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9239 * gst/elements/gstfilesrc.h:
9240 * gst/gstelement.c: (gst_element_get_state_func),
9241 (gst_element_lost_state), (gst_element_pads_activate):
9242 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9243 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9244 (gst_pad_pull_range):
9246 More work on the generic source base class, implement seeking,
9248 Make filesrc extend the base source class.
9249 Added gst_pad_set_checkgetrange_function to GstPad.
9251 2005-04-06 Andy Wingo <wingo@pobox.com>
9253 * pkgconfig/gstreamer-base.pc.in:
9254 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9256 * pkgconfig/Makefile.am:
9257 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9259 2005-04-04 Wim Taymans <wim@fluendo.com>
9261 * gst/base/Makefile.am:
9263 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9264 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9265 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9266 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9267 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9268 (gst_basesrc_base_init), (gst_basesrc_class_init),
9269 (gst_basesrc_init), (gst_basesrc_get_formats),
9270 (gst_basesrc_get_query_types), (gst_basesrc_query),
9271 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9272 (gst_basesrc_set_property), (gst_basesrc_get_property),
9273 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9274 (gst_basesrc_loop), (gst_basesrc_activate),
9275 (gst_basesrc_change_state):
9276 * gst/base/gstbasesrc.h:
9277 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9278 (gst_fakesrc_class_init), (gst_fakesrc_init),
9279 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9280 (gst_fakesrc_get_property), (gst_fakesrc_create):
9281 * gst/elements/gstfakesrc.h:
9282 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9283 (gst_filesrc_open_file), (gst_filesrc_loop),
9284 (gst_filesrc_activate), (filesrc_find_peek),
9285 (gst_filesrc_type_find):
9286 Made base source class, make fakesrc extend it.
9287 Add comments to basesink class.
9288 Some filesrc cleanup.
9290 2005-03-31 David Schleef <ds@schleef.org>
9292 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9293 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9294 expected to link against libgstreamer.
9295 * gst/base/Makefile.am: link against libgstreamer
9296 * gst/elements/Makefile.am: same
9298 2005-03-31 Andy Wingo <wingo@pobox.com>
9300 * tests/instantiate/Makefile.am:
9301 * tests/instantiate/caps.c: Add test to test speed of caps copy
9304 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9305 GMemChunk to be fair.
9307 * gst/gsttrashstack.h: Remove warning about using the fallback
9308 trash stack implementation, it's still faster than malloc.
9310 2005-03-30 Andy Wingo <wingo@pobox.com>
9312 * tests/complexity.c: Add a copyright.
9314 2005-03-31 Wim Taymans <wim@fluendo.com>
9316 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9317 (gst_base_transform_class_init), (gst_base_transform_init),
9318 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9319 (gst_base_transform_get_property),
9320 (gst_base_transform_sink_activate),
9321 (gst_base_transform_src_activate),
9322 (gst_base_transform_change_state):
9323 * gst/base/gstbasetransform.h:
9324 * gst/elements/gstidentity.c: (gst_identity_class_init),
9325 (gst_identity_event), (gst_identity_check_perfect),
9326 (gst_identity_transform), (gst_identity_start),
9327 (gst_identity_stop):
9328 Added start/stop methods to transform base class so subclasses
9329 don't need to deal with state changes even.
9331 2005-03-31 Wim Taymans <wim@fluendo.com>
9333 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9334 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9336 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9337 (gst_pad_pull_range):
9338 Added rate to the discont event to prepare for variable speed
9339 and reverse playback.
9341 2005-03-29 David Schleef <ds@schleef.org>
9344 * testsuite/trigger/Makefile.am:
9345 * testsuite/trigger/trigger.c: A little example program to show
9346 how trigger-based elements can work.
9348 2005-03-29 Wim Taymans <wim@fluendo.com>
9350 * gst/base/Makefile.am:
9352 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9353 (gst_basesink_base_init), (gst_basesink_class_init),
9354 (gst_basesink_pad_getcaps), (gst_basesink_init),
9355 (gst_basesink_activate), (gst_basesink_change_state):
9356 * gst/base/gstbasesink.h:
9357 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9358 (gst_base_transform_base_init), (gst_base_transform_finalize),
9359 (gst_base_transform_class_init), (gst_base_transform_init),
9360 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9361 (gst_base_transform_event), (gst_base_transform_getrange),
9362 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9363 (gst_base_transform_set_property),
9364 (gst_base_transform_get_property),
9365 (gst_base_transform_sink_activate),
9366 (gst_base_transform_src_activate),
9367 (gst_base_transform_change_state):
9368 * gst/base/gstbasetransform.h:
9369 * gst/elements/gstidentity.c: (gst_identity_finalize),
9370 (gst_identity_class_init), (gst_identity_init),
9371 (gst_identity_event), (gst_identity_check_perfect),
9372 (gst_identity_transform), (gst_identity_set_property),
9373 (gst_identity_get_property), (gst_identity_change_state):
9374 * gst/elements/gstidentity.h:
9375 * gst/gstelement.c: (gst_element_get_state_func),
9376 (gst_element_lost_state), (gst_element_pads_activate):
9377 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9378 (gst_pad_check_pull_range), (gst_pad_pull_range):
9380 Simplify pad activation.
9381 Added function to check if pull_range can be performed.
9382 Error out when pulling inactive or flushing pads.
9383 Removed const from refcounted types as it does not make sense.
9384 Simplify pad templates in basesink
9385 Added base class for simple 1-to-1 transforms.
9386 Make identity subclass the base transform.
9388 2005-03-29 Andy Wingo <wingo@pobox.com>
9390 * docs/libs/gstreamer-libs-overrides.txt:
9391 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9392 really don't understand what's going on, but like whatever. I want
9395 * docs/gst/Makefile.am:
9396 * docs/libs/Makefile.am: Dist the overrides files.
9398 * check/Makefile.am (clean-local): Remove .libs directories.
9400 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9401 elements to EXTRA_DIST, so po/ files are happy.
9403 * po/POTFILES.in: Er, remove it here.
9405 * po/POTFILES: Remove gstspider.c.
9407 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9409 * docs/libs/gstreamer-libs-docs.sgml:
9410 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9413 * tests/complexity.c (main): Set the length of the preroll queue
9414 on the sinks to prevent a lockup.
9416 * libs/gst/dataprotocol/Makefile.am:
9417 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9418 the same as the one in check/gst-libs/gdp.c.
9420 * po/, docs/gst/: Commit automatic changes to docs and po files.
9422 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9423 the versioned libgstbase.
9425 * check/Makefile.am: Depend on an unversioned gst-register, seems
9426 to make autoconf happier.
9428 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9430 2005-03-28 Wim Taymans <wim@fluendo.com>
9433 * docs/design/part-gstelement.txt:
9434 * docs/design/part-negotiation.txt:
9435 * docs/design/part-preroll.txt:
9436 * docs/design/part-scheduling.txt:
9437 * docs/design/part-states.txt:
9439 * gst/base/Makefile.am:
9441 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9442 (gst_basesink_base_init), (gst_basesink_class_init),
9443 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9444 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9445 (gst_basesink_set_pad_functions),
9446 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9447 (gst_basesink_set_property), (gst_basesink_get_property),
9448 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9449 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9450 (gst_basesink_preroll_queue_push),
9451 (gst_basesink_preroll_queue_empty),
9452 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9453 (gst_basesink_event), (gst_basesink_get_times),
9454 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9455 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9456 (gst_basesink_loop), (gst_basesink_activate),
9457 (gst_basesink_change_state):
9458 * gst/base/gstbasesink.h:
9459 * gst/elements/Makefile.am:
9460 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9461 (gst_fakesink_class_init), (gst_fakesink_init),
9462 (gst_fakesink_set_property), (gst_fakesink_get_property),
9463 (gst_fakesink_get_times), (gst_fakesink_event),
9464 (gst_fakesink_preroll), (gst_fakesink_render),
9465 (gst_fakesink_change_state):
9466 * gst/elements/gstfakesink.h:
9467 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9468 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9469 * gst/gstelement.c: (gst_element_add_pad),
9470 (gst_element_get_state_func), (gst_element_abort_state),
9471 (gst_element_commit_state), (gst_element_lost_state),
9472 (gst_element_set_state), (gst_element_pads_activate):
9473 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9474 * gst/gstpipeline.c: (gst_pipeline_send_event),
9475 (gst_pipeline_change_state):
9476 Added state change code.
9478 Added sink base class, make fakesink extend the base class.
9479 Small cleanups in GstPipeline.
9481 2005-03-26 David Schleef <ds@schleef.org>
9483 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9484 is broken and should be implemented in a different library.
9485 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9486 * gst/gst.h: remove gstcpu.h
9487 * gst/gstcpu.c: remove
9488 * gst/gstcpu.h: remove
9489 * gst/Makefile.am.future: Remove this file. It's ancient.
9491 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9493 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9494 (gst_bin_send_event):
9495 Add default event/set_manager handlers. The set_manager handler
9496 takes care that the manager is distributed over kids that were
9497 already in the bin before the manager was set. The event handler
9498 is a utility virtual function that sends the event over all sinks,
9499 so that gst_element_send_event (bin, event); has the expected
9501 * gst/gstpad.c: (gst_pad_event_default):
9502 Re-install default event handling for discontinuities, so that
9503 seeking works without requiring hacks in applications or extra
9505 * gst/gstpipeline.c: (gst_pipeline_class_init),
9506 (gst_pipeline_send_event):
9507 Half hack, half utility: set a pipeline to PAUSED for seek events,
9508 since that is the only way we can guarantee a/v sync. Means that
9509 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9510 and it "just works".
9512 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9514 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9515 Lock/unlock mismatch.
9517 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9519 * docs/faq/gst-uninstalled:
9520 add gst-plugins-base
9521 * docs/gst/Makefile.am:
9522 don't error out until docs are fixed
9523 * docs/gst/gstreamer.types:
9526 2005-03-22 Wim Taymans <wim@fluendo.com>
9528 * check/Makefile.am:
9529 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9530 * gst/gststructure.c: (gst_structure_set_valist),
9531 (gst_structure_copy_conditional):
9532 Activated more tests.
9534 Added G_TYPE_POINTER to GstStructure.
9537 2005-03-22 Wim Taymans <wim@fluendo.com>
9539 * docs/design/part-TODO.txt:
9540 * docs/design/part-events.txt:
9541 * docs/design/part-gstbin.txt:
9542 * docs/design/part-gstbus.txt:
9543 * docs/design/part-gstpipeline.txt:
9544 * docs/design/part-messages.txt:
9549 2005-03-21 Wim Taymans <wim@fluendo.com>
9551 * gst/gstbus.c: (gst_bus_post):
9552 Fix copy-and-paste error.
9554 2005-03-21 Wim Taymans <wim@fluendo.com>
9556 * check/Makefile.am:
9558 * gst/elements/Makefile.am:
9559 * gst/elements/gstelements.c:
9560 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9561 (gst_fakesink_event), (gst_fakesink_chain):
9562 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9563 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9564 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9565 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9566 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9567 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9568 (gst_fakesrc_loop), (gst_fakesrc_activate),
9569 (gst_fakesrc_change_state):
9570 * gst/elements/gstfakesrc.h:
9571 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9572 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9573 (gst_filesrc_open_file), (gst_filesrc_loop),
9574 (gst_filesrc_activate), (gst_filesrc_change_state),
9575 (filesrc_find_peek), (filesrc_find_suggest),
9576 (gst_filesrc_type_find):
9577 * gst/elements/gstidentity.c: (gst_identity_finalize),
9578 (gst_identity_class_init), (gst_identity_init),
9579 (gst_identity_proxy_getcaps), (identity_queue_push),
9580 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9581 (gst_identity_getrange), (gst_identity_chain),
9582 (gst_identity_sink_loop), (gst_identity_src_loop),
9583 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9584 (gst_identity_set_property), (gst_identity_get_property),
9585 (gst_identity_change_state):
9586 * gst/elements/gstidentity.h:
9587 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9588 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9589 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9590 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9591 (gst_tee_sink_activate):
9592 * gst/elements/gsttee.h:
9593 * gst/gst.c: (gst_register_core_elements), (init_post):
9595 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9596 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9597 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9598 (gst_bin_change_state):
9600 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9601 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9602 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9603 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9604 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9605 (bus_watch_callback), (bus_watch_destroy),
9606 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9607 (poll_timeout), (gst_bus_poll):
9611 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9612 (gst_element_post_message), (gst_element_message_full),
9613 (gst_element_get_state_func), (gst_element_get_state),
9614 (gst_element_abort_state), (gst_element_commit_state),
9615 (gst_element_lost_state), (gst_element_set_state),
9616 (gst_element_pads_activate), (gst_element_change_state),
9617 (gst_element_dispose), (gst_element_set_manager_func),
9618 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9619 (gst_element_set_manager), (gst_element_get_manager),
9620 (gst_element_set_bus), (gst_element_get_bus),
9621 (gst_element_set_scheduler), (gst_element_get_scheduler):
9623 * gst/gstevent.c: (gst_event_new_segment_seek),
9624 (gst_event_new_flush):
9626 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9627 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9628 (gst_message_new_eos), (gst_message_new_error),
9629 (gst_message_new_warning), (gst_message_new_tag),
9630 (gst_message_new_state_changed), (gst_message_new_application),
9631 (gst_message_get_structure), (gst_message_parse_tag),
9632 (gst_message_parse_state_changed), (gst_message_parse_error),
9633 (gst_message_parse_warning):
9635 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9636 (gst_real_pad_set_property), (gst_pad_set_active),
9637 (gst_pad_is_active), (gst_pad_set_blocked_async),
9638 (gst_pad_set_blocked), (gst_pad_is_blocked),
9639 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9640 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9641 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9642 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9643 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9644 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9645 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9646 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9647 (gst_pad_set_caps), (gst_pad_configure_sink),
9648 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9649 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9650 (gst_real_pad_dispose), (gst_real_pad_finalize),
9651 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9652 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9653 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9655 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9656 (pipeline_bus_handler), (gst_pipeline_change_state),
9657 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9658 * gst/gstpipeline.h:
9660 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9661 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9662 (gst_queue_link_src), (gst_queue_bufferalloc),
9663 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9664 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9665 (gst_queue_loop), (gst_queue_handle_src_event),
9666 (gst_queue_handle_src_query), (gst_queue_src_activate),
9667 (gst_queue_change_state):
9669 * gst/gstscheduler.c: (gst_scheduler_init),
9670 (gst_scheduler_dispose), (gst_scheduler_create_task),
9671 (gst_scheduler_factory_create):
9672 * gst/gstscheduler.h:
9673 * gst/gststructure.c: (gst_structure_get_type),
9674 (gst_structure_copy_conditional):
9675 * gst/gststructure.h:
9676 * gst/gsttaginterface.h:
9677 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9678 (gst_task_init), (gst_task_dispose), (gst_task_create),
9679 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9685 * gst/schedulers/Makefile.am:
9686 * gst/schedulers/cothreads_compat.h:
9687 * gst/schedulers/entryscheduler.c:
9688 * gst/schedulers/faircothreads.c:
9689 * gst/schedulers/faircothreads.h:
9690 * gst/schedulers/fairscheduler.c:
9691 * gst/schedulers/gstbasicscheduler.c:
9692 * gst/schedulers/gstoptimalscheduler.c:
9693 * gst/schedulers/gthread-cothreads.h:
9694 * gst/schedulers/threadscheduler.c:
9695 (gst_thread_scheduler_task_get_type),
9696 (gst_thread_scheduler_task_class_init),
9697 (gst_thread_scheduler_task_init),
9698 (gst_thread_scheduler_task_start),
9699 (gst_thread_scheduler_task_stop),
9700 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9701 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9702 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9703 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9705 * libs/gst/Makefile.am:
9706 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9707 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9708 (gst_file_pad_parent_set):
9709 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9710 (gst_dp_event_from_packet):
9711 * tests/complexity.c: (main):
9712 * tests/mass_elements.c: (main):
9713 * testsuite/states/locked.c: (message_received), (main):
9714 * testsuite/states/parent.c: (main):
9715 * tools/gst-inspect.c: (print_element_flag_info),
9716 (print_implementation_info), (print_pad_info):
9717 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9719 * tools/gst-md5sum.c: (event_loop), (main):
9720 * tools/gst-typefind.c: (main):
9721 * tools/gst-xmlinspect.c: (print_element_info):
9723 Added GstBus for mainloop integration.
9724 Added GstMessage for sending notifications on the bus.
9725 Added GstTask as an abstraction for pipeline entry points.
9728 Simplified GstQueue for multithreaded core.
9729 Made _link threadsafe, removed old capsnego.
9730 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9731 Added pad blocking functions.
9732 Reworked scheduling functions in GstPad to prepare for
9733 scheduling updates soon.
9734 Moved events out of data stream.
9735 Simplified GstEvent types.
9736 Added return values to push/pull.
9737 Removed clocking from GstElement.
9738 Added prototypes for state change function for next merge.
9739 Removed iterate from bins and state change management.
9740 Fixed some elements, disabled others for now.
9741 Fixed -inspect and -launch.
9742 Added check for GstBus.
9744 2005-03-10 Wim Taymans <wim@fluendo.com>
9746 * docs/design/part-MT-refcounting.txt:
9747 * docs/design/part-clocks.txt:
9748 * docs/design/part-gstelement.txt:
9749 * docs/design/part-gstobject.txt:
9750 * docs/design/part-standards.txt:
9751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9752 (gst_bin_remove_func), (gst_bin_remove):
9756 * testsuite/clock/clock1.c: (main):
9757 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9759 * testsuite/dlopen/loadgst.c: (do_test):
9760 * testsuite/refcounting/bin.c: (add_remove_test1),
9761 (add_remove_test2), (main):
9762 * testsuite/refcounting/element.c: (main):
9763 * testsuite/refcounting/element_pad.c: (main):
9764 * testsuite/refcounting/pad.c: (main):
9765 * tools/gst-launch.c: (sigint_handler_sighandler):
9766 * tools/gst-typefind.c: (main):
9768 Added doc about clock.
9769 removed gst_bin_iterate_recurse_up(), marked methods
9771 Fix more testsuites.
9773 2005-03-09 Wim Taymans <wim@fluendo.com>
9775 * gst/gstpad.c: (gst_pad_get_direction),
9776 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9777 (gst_pad_collect_valist):
9778 * testsuite/bins/interface.c: (main):
9779 * testsuite/caps/audioscale.c: (test_caps):
9780 * testsuite/caps/caps.c: (test1), (test2), (test3):
9781 * testsuite/caps/deserialize.c: (main):
9782 * testsuite/caps/enumcaps.c: (main):
9783 * testsuite/caps/filtercaps.c: (main):
9784 * testsuite/caps/intersect2.c: (main):
9785 * testsuite/caps/random.c: (main):
9786 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9787 * testsuite/caps/sets.c: (check_caps):
9788 * testsuite/caps/simplify.c: (check_caps), (main):
9789 * testsuite/caps/subtract.c: (check_caps):
9790 Fix _pad_get_direction wrt ghostpads.
9793 2005-03-09 Wim Taymans <wim@fluendo.com>
9795 * check/Makefile.am:
9796 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9797 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9798 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9800 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9801 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9802 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9803 (bin_element_is_sink), (gst_bin_iterate_sinks),
9804 (gst_bin_iterate_all_by_interface):
9806 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9807 (gst_element_change_state), (gst_element_dispose),
9808 (gst_element_finalize), (gst_element_set_loop_function):
9810 * gst/gstiterator.c: (find_custom_fold_func):
9811 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9812 (gst_pad_collectv), (gst_pad_collect_valist),
9813 (gst_pad_template_new):
9814 * gst/gstpipeline.c: (gst_pipeline_class_init),
9815 (gst_pipeline_dispose), (gst_pipeline_set_property),
9816 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9817 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9818 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9820 * gst/schedulers/entryscheduler.c:
9821 * gst/schedulers/gstbasicscheduler.c:
9822 (gst_basic_scheduler_cothreaded_chain),
9823 (gst_basic_scheduler_chain_add_element):
9824 * testsuite/bins/interface.c: (main):
9826 Added GstSystemClock test.
9827 Implemented clock distribution code in GstBin.
9828 Implemented iterate sinks method for future use.
9829 Rearranged gstelement.h
9830 Fix GstIterator comparison bug.
9831 Moved some code to GstPipeline, mostly clocking related.
9833 2005-03-09 Wim Taymans <wim@fluendo.com>
9836 * gst/gst_private.h:
9837 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9838 (gst_bin_remove_func), (gst_bin_remove),
9839 (gst_bin_get_by_name_recurse_up):
9840 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9841 (gst_clock_id_compare_func), (gst_clock_id_wait),
9842 (gst_clock_id_wait_async), (gst_clock_init),
9843 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9845 * gst/gstinfo.c: (_gst_debug_init):
9847 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9848 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9850 Bump version number, we're now 0.9.0
9851 Add future debugging category.
9852 Fix NULL _unref() in _get_by_name_recurse_up
9856 2005-03-08 Wim Taymans <wim@fluendo.com>
9858 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9859 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9860 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9861 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9862 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9863 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9864 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9865 * gst/elements/gstidentity.c: (gst_identity_class_init):
9866 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9867 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9868 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9869 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9870 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9872 * gst/gstelement.c: (gst_element_class_init),
9873 (gst_element_base_class_init), (gst_element_init),
9874 (gst_element_get_random_pad), (gst_element_wait_state_change),
9875 (gst_element_change_state), (gst_element_dispose),
9876 (gst_element_finalize), (gst_element_set_loop_function):
9878 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9879 * gst/gstthread.c: (gst_thread_class_init),
9880 (gst_thread_release_children_locks), (gst_thread_change_state):
9881 * gst/schedulers/gstbasicscheduler.c:
9882 (gst_basic_scheduler_loopfunc_wrapper),
9883 (gst_basic_scheduler_chain_wrapper),
9884 (gst_basic_scheduler_src_wrapper),
9885 (gst_basic_scheduler_remove_element):
9886 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9887 Remove threadsafe properties. Fix elements because GObject
9888 complains when installing a property before declaring a
9889 set/get_property handler.
9890 Rearrange gstelement.h file, use STATE macros for state locks.
9891 Free mutexes in the finalize method instead of dispose.
9893 2005-03-08 Wim Taymans <wim@fluendo.com>
9895 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9896 * gst/gstthread.c: (gst_thread_release_children_locks):
9897 Added parentage check.
9898 Fix build og GstThread again.
9900 2005-03-08 Wim Taymans <wim@fluendo.com>
9902 * docs/design/part-MT-refcounting.txt:
9903 * docs/design/part-conventions.txt:
9904 * docs/design/part-gstobject.txt:
9905 * docs/design/part-relations.txt:
9906 * docs/design/part-standards.txt:
9907 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9908 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9909 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9910 (gst_bin_iterate_all_by_interface):
9913 * gst/gstelement.c: (gst_element_class_init),
9914 (gst_element_change_state), (gst_element_set_loop_function):
9916 * gst/gstiterator.c:
9917 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9918 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9919 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9920 (gst_object_set_parent), (gst_object_unparent),
9921 (gst_object_check_uniqueness):
9923 Docs updates, clean up some headers.
9925 2005-03-07 Wim Taymans <wim@fluendo.com>
9928 * check/Makefile.am:
9929 * check/gst-libs/.cvsignore:
9930 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9931 * check/gst/.cvsignore:
9932 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9933 (START_TEST), (gstbus_suite), (main):
9934 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9935 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9936 (gst_data_suite), (main):
9937 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9938 (add_fold_func), (gstiterator_suite), (main):
9939 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9940 (thread_name_object), (thread_name_object_default),
9941 (gst_object_name_compare), (gst_object_suite), (main):
9942 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9943 (gst_pad_suite), (main):
9944 * check/gstcheck.c: (gst_check_log_message_func),
9945 (gst_check_log_critical_func), (gst_check_init):
9947 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9948 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9951 2005-03-07 Wim Taymans <wim@fluendo.com>
9953 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9954 (gst_list_iterator_next), (gst_list_iterator_resync),
9955 (gst_list_iterator_free), (gst_iterator_new_list),
9956 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9957 (gst_iterator_free), (gst_iterator_push), (filter_next),
9958 (filter_resync), (filter_uninit), (filter_free),
9959 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9960 (gst_iterator_foreach), (find_custom_fold_func),
9961 (gst_iterator_find_custom):
9962 * gst/gstiterator.h:
9963 Added missing files.
9965 2005-03-07 Wim Taymans <wim@fluendo.com>
9969 * docs/design/part-MT-refcounting.txt:
9970 * docs/design/part-conventions.txt:
9971 * docs/design/part-gstobject.txt:
9972 * docs/design/part-relations.txt:
9973 * examples/mixer/mixer.c: (main):
9974 * examples/thread/thread.c: (eos), (main):
9976 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9977 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9978 (gst_spider_plug_from_srcpad):
9979 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9980 (gst_spider_identity_change_state),
9981 (gst_spider_identity_sink_loop_type_finding):
9982 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9983 * gst/elements/gstidentity.c: (gst_identity_init):
9984 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9985 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9986 * gst/elements/gsttypefindelement.c: (free_entry):
9989 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9990 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9991 (gst_bin_set_index), (gst_bin_set_element_sched),
9992 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9993 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9994 (gst_bin_iterate_elements), (iterate_child_recurse),
9995 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9996 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9997 (compare_interface), (gst_bin_get_by_interface),
9998 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10000 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10001 (gst_buffer_default_free), (gst_buffer_default_copy),
10002 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10003 (gst_buffer_create_sub):
10005 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10006 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10007 (gst_caps_unref), (gst_static_caps_get),
10008 (gst_caps_remove_and_get_structure), (gst_caps_append),
10009 (gst_caps_append_structure), (gst_caps_remove_structure),
10010 (gst_caps_copy_nth), (gst_caps_set_simple),
10011 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10012 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10013 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10014 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10015 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10016 (gst_caps_structure_figure_out_union),
10017 (gst_caps_switch_structures), (gst_caps_do_simplify),
10018 (gst_caps_replace), (gst_caps_from_string),
10019 (gst_caps_copy_conditional):
10021 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10022 (_gst_clock_id_free), (gst_clock_id_unref),
10023 (gst_clock_id_compare_func), (gst_clock_id_wait),
10024 (gst_clock_id_wait_async), (gst_clock_class_init),
10025 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10026 (gst_clock_get_time), (gst_clock_set_time_adjust),
10027 (gst_clock_set_property), (gst_clock_get_property):
10030 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10031 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10033 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10034 (gst_element_requires_clock), (gst_element_provides_clock),
10035 (gst_element_set_clock), (gst_element_clock_wait),
10036 (gst_element_wait), (gst_element_set_time_delay),
10037 (gst_element_is_indexable), (gst_element_add_pad),
10038 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10039 (pad_compare_name), (gst_element_get_static_pad),
10040 (gst_element_request_pad), (gst_element_get_request_pad),
10041 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10042 (gst_element_class_get_pad_template_list),
10043 (gst_element_class_get_pad_template), (gst_element_error_func),
10044 (gst_element_get_random_pad), (gst_element_get_event_masks),
10045 (gst_element_send_event), (gst_element_seek),
10046 (gst_element_get_query_types), (gst_element_query),
10047 (gst_element_get_formats), (gst_element_convert),
10048 (gst_element_is_locked_state), (gst_element_set_locked_state),
10049 (gst_element_sync_state_with_parent), (gst_element_change_state),
10050 (gst_element_finalize), (gst_element_yield),
10051 (gst_element_interrupt), (gst_element_set_scheduler),
10052 (gst_element_get_scheduler), (gst_element_set_loop_function):
10053 * gst/gstelement.h:
10055 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10056 (gst_format_get_by_nick), (gst_format_get_details),
10057 (gst_format_iterate_definitions):
10059 * gst/gstindex.c: (gst_index_gtype_resolver):
10062 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10063 (gst_mem_chunk_free):
10064 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10065 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10066 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10067 (gst_object_dispatch_properties_changed),
10068 (gst_object_set_name_default), (gst_object_set_name),
10069 (gst_object_get_name), (gst_object_set_name_prefix),
10070 (gst_object_get_name_prefix), (gst_object_set_parent),
10071 (gst_object_get_parent), (gst_object_unparent),
10072 (gst_object_check_uniqueness), (gst_object_save_thyself),
10073 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10074 (gst_object_set_property), (gst_object_get_property),
10075 (gst_object_get_path_string):
10077 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10078 (gst_real_pad_init), (gst_real_pad_get_property),
10079 (gst_pad_custom_new), (gst_pad_get_direction),
10080 (gst_pad_set_active), (gst_pad_is_active),
10081 (gst_pad_set_event_function), (gst_pad_is_linked),
10082 (gst_pad_link_free), (gst_pad_link_intersect),
10083 (gst_pad_link_fixate), (gst_pad_set_caps),
10084 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10085 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10086 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10087 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10088 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10089 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10090 (gst_pad_realize), (gst_pad_get_allowed_caps),
10091 (gst_real_pad_dispose), (gst_real_pad_finalize),
10092 (gst_pad_collectv), (gst_pad_collect_valist),
10093 (gst_pad_template_dispose), (gst_pad_template_new),
10094 (gst_pad_get_internal_links):
10096 * gst/gstpipeline.c: (gst_pipeline_dispose),
10097 (gst_pipeline_change_state):
10098 * gst/gstpipeline.h:
10100 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10101 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10102 * gst/gstpluginfeature.h:
10103 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10104 * gst/gstquery.c: (_gst_query_type_initialize),
10105 (gst_query_type_register), (gst_query_type_get_by_nick),
10106 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10108 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10109 * gst/gstscheduler.c: (gst_scheduler_add_element),
10110 (gst_scheduler_factory_create):
10111 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10112 (gst_structure_free), (gst_structure_set_name),
10113 (gst_structure_id_set_value), (gst_structure_set_value),
10114 (gst_structure_set_valist), (gst_structure_remove_field),
10115 (gst_structure_remove_fields),
10116 (gst_structure_remove_fields_valist),
10117 (gst_structure_remove_all_fields), (gst_structure_foreach),
10118 (gst_structure_map_in_place),
10119 (gst_caps_structure_fixate_field_nearest_int),
10120 (gst_caps_structure_fixate_field_nearest_double):
10121 * gst/gststructure.h:
10122 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10123 (gst_system_clock_init), (gst_system_clock_dispose),
10124 (gst_system_clock_async_thread),
10125 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10126 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10127 * gst/gstsystemclock.h:
10128 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10129 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10130 * gst/gsttaginterface.c:
10131 * gst/gstthread.c: (gst_thread_dispose),
10132 (gst_thread_release_children_locks), (gst_thread_change_state),
10133 (gst_thread_main_loop):
10134 * gst/gsttrashstack.h:
10135 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10137 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10138 (gst_element_request_pad), (gst_element_get_pad_from_template),
10139 (gst_element_request_compatible_pad),
10140 (gst_element_get_compatible_pad_filtered),
10141 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10142 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10143 (gst_element_link_many), (gst_element_link),
10144 (gst_element_link_pads), (gst_element_unlink_pads),
10145 (gst_element_unlink_many), (gst_element_unlink),
10146 (gst_pad_can_link_filtered), (gst_pad_can_link),
10147 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10148 (gst_object_default_error), (gst_bin_add_many),
10149 (gst_bin_remove_many), (gst_element_populate_std_props),
10150 (gst_element_class_install_std_props), (gst_buffer_merge),
10151 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10152 (link_fold_func), (gst_pad_proxy_setcaps):
10154 * gst/gstvalue.c: (gst_value_deserialize_string):
10155 * gst/parse/grammar.y:
10156 * gst/schedulers/gstbasicscheduler.c:
10157 (gst_basic_scheduler_cothreaded_chain),
10158 (gst_basic_scheduler_chain_recursive_add),
10159 (gst_basic_scheduler_pad_link):
10160 * gst/schedulers/gstoptimalscheduler.c:
10161 (get_group_schedule_function),
10162 (gst_opt_scheduler_state_transition),
10163 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10164 * libs/gst/bytestream/bytestream.c:
10165 * libs/gst/dataprotocol/dataprotocol.c:
10166 (gst_dp_header_from_buffer):
10169 * tests/threadstate/threadstate2.c: (eos):
10170 * tools/gst-compprep.c: (main):
10171 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10172 (print_pad_info), (print_children_info):
10173 * tools/gst-launch.c: (idle_func), (main):
10174 * tools/gst-md5sum.c: (idle_func), (main):
10175 * tools/gst-xmlinspect.c: (print_element_info):
10176 First THREADED backport attempt, focusing on adding locks and
10177 making sure the API is threadsafe. Needs more work. More docs
10180 2005-02-24 Andy Wingo <wingo@pobox.com>
10182 * tests/bench-complexity.scm:
10183 * tests/complexity.gnuplot: New files, good for running complexity
10186 * tests/Makefile.am:
10187 * tests/complexity.c: New test, sets up N elements, at each level
10188 teeing into M streams per element. Eeeenteresting.
10190 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10191 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10192 running bench-mass_elements.scm.
10194 * tests/bench-mass_elements.scm: New script, runs mass_elements
10195 for various numbers of identities, outputting the results to a
10196 file. Requires guile 1.6. Just for testing.
10198 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10200 * gst/schedulers/fairscheduler.c:
10201 compile with debug disabled
10203 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10206 hunting season on 0.9 is now OPEN