1 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3 * win32/common/config.h.in:
4 provide a GST_FUNCTION that just gives a string for now
6 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
8 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9 (gst_object_flags_get_type), (register_gst_bin_flags),
10 (gst_bin_flags_get_type), (register_gst_buffer_flag),
11 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16 (gst_clock_flags_get_type), (register_gst_state),
17 (gst_state_get_type), (register_gst_state_change_return),
18 (gst_state_change_return_get_type), (register_gst_state_change),
19 (gst_state_change_get_type), (register_gst_element_flags),
20 (gst_element_flags_get_type), (register_gst_core_error),
21 (gst_core_error_get_type), (register_gst_library_error),
22 (gst_library_error_get_type), (register_gst_resource_error),
23 (gst_resource_error_get_type), (register_gst_stream_error),
24 (gst_stream_error_get_type), (register_gst_event_type),
25 (gst_event_type_get_type), (register_gst_seek_type),
26 (gst_seek_type_get_type), (register_gst_seek_flags),
27 (gst_seek_flags_get_type), (register_gst_format),
28 (gst_format_get_type), (register_gst_index_certainty),
29 (gst_index_certainty_get_type), (register_gst_index_entry_type),
30 (gst_index_entry_type_get_type),
31 (register_gst_index_lookup_method),
32 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
33 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
34 (gst_index_resolver_method_get_type), (register_gst_index_flags),
35 (gst_index_flags_get_type), (register_gst_debug_level),
36 (gst_debug_level_get_type), (register_gst_debug_color_flags),
37 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
38 (gst_iterator_result_get_type), (register_gst_iterator_item),
39 (gst_iterator_item_get_type), (register_gst_message_type),
40 (gst_message_type_get_type), (register_gst_mini_object_flags),
41 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
42 (gst_pad_link_return_get_type), (register_gst_flow_return),
43 (gst_flow_return_get_type), (register_gst_activate_mode),
44 (gst_activate_mode_get_type), (register_gst_pad_direction),
45 (gst_pad_direction_get_type), (register_gst_pad_flags),
46 (gst_pad_flags_get_type), (register_gst_pad_presence),
47 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
48 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
49 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
50 (gst_plugin_error_get_type), (register_gst_plugin_flags),
51 (gst_plugin_flags_get_type), (register_gst_rank),
52 (gst_rank_get_type), (register_gst_query_type),
53 (gst_query_type_get_type), (register_gst_tag_merge_mode),
54 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
55 (gst_tag_flag_get_type), (register_gst_task_state),
56 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
57 (gst_alloc_trace_flags_get_type),
58 (register_gst_type_find_probability),
59 (gst_type_find_probability_get_type), (register_gst_uri_type),
60 (gst_uri_type_get_type), (register_gst_parse_error),
61 (gst_parse_error_get_type):
62 * win32/common/gstversion.h:
65 2005-11-01 Luca Ognibene <luogni@tin.it>
68 fix docs. popt is dead, long live GOption.
70 2005-10-31 Wim Taymans <wim@fluendo.com>
75 2005-10-31 Andy Wingo <wingo@pobox.com>
79 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
81 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
82 need to serialize property notifications on GLib 2.8. GLib 2.6 has
83 the possibility of deadlocks here if code calling notify() or
84 set() has a lock that can be taken in another notify handler (ABBA
85 with class lock and e.g. python GIL state lock).
87 2005-10-28 Julien MOUTTE <julien@moutte.net>
89 * gst/gstbus.c: Doc updates.
91 2005-10-28 Wim Taymans <wim@fluendo.com>
93 * docs/design/part-TODO.txt:
95 * gst/gstsystemclock.c:
96 * gst/gstsystemclock.h:
99 2005-10-28 Edward Hervey <edward@fluendo.com>
101 * docs/gst/gstreamer-docs.sgml:
102 * docs/gst/gstreamer-sections.txt:
103 the GstURIType documentation page is private, it only defines GstURIType
104 which should be defined in the GstURIHandler page
106 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
108 * gst/gstbin.c: (gst_bin_class_init):
111 Documentation updates.
113 2005-10-28 Wim Taymans <wim@fluendo.com>
115 * docs/gst/gstreamer-sections.txt:
118 Documented the clocks.
120 2005-10-28 Stefan Kost <ensonic@users.sf.net>
122 * docs/gst/gstreamer-sections.txt:
123 move some macros to private sections
124 * gst/gstminiobject.c:
125 * gst/gstminiobject.h:
126 add descriptions provided by ds and some more
128 mark macro as to be removed
130 2005-10-28 Wim Taymans <wim@fluendo.com>
132 * docs/design/part-TODO.txt:
135 * gst/gstiterator.c: (gst_iterator_fold),
136 (gst_iterator_find_custom):
140 2005-10-28 Wim Taymans <wim@fluendo.com>
142 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
143 (gst_base_transform_init):
146 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
147 An EOS event marks the queue as completely filled.
149 2005-10-27 Wim Taymans <wim@fluendo.com>
151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
152 (gst_base_sink_do_sync), (gst_base_sink_get_position):
155 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
156 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
157 (gst_base_transform_event), (gst_base_transform_getrange),
158 (gst_base_transform_chain):
159 * gst/base/gstbasetransform.h:
161 Protect transform and concurrent buffer alloc with a new lock.
162 Try not to break ABI/API.
164 2005-10-27 Wim Taymans <wim@fluendo.com>
166 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
167 (gst_base_src_init), (gst_base_src_query),
168 (gst_base_src_default_newsegment),
169 (gst_base_src_configure_segment), (gst_base_src_do_seek),
170 (gst_base_src_send_event), (gst_base_src_event_handler),
171 (gst_base_src_pad_get_range), (gst_base_src_loop),
172 (gst_base_src_unlock), (gst_base_src_default_negotiate),
173 (gst_base_src_start), (gst_base_src_deactivate),
174 (gst_base_src_activate_push), (gst_base_src_change_state):
175 Move some stuff around and cleanup things.
177 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
179 * gst/base/gstbasesrc.c: (gst_base_src_query):
180 Add missing break statements.
182 2005-10-27 Wim Taymans <wim@fluendo.com>
184 * check/gst/gstbin.c: (GST_START_TEST):
185 An extra refcount is taken in basesrc.
187 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
188 (gst_base_src_get_range), (gst_base_src_pad_get_range),
190 Small cleanups, check for flushing after being unlocked from the
191 LIVE_LOCK. take refcounts correctly (not yet everywhere).
192 Don't send out EOS when going to READY.
194 2005-10-27 Wim Taymans <wim@fluendo.com>
196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
197 (gst_base_sink_get_position):
200 * gst/gstbin.c: (message_check), (bin_replace_message),
201 (bin_remove_messages), (is_eos), (gst_bin_add_func),
202 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
203 (bin_query_duration_init), (bin_query_duration_fold),
204 (bin_query_duration_done), (bin_query_generic_fold),
206 * tools/gst-launch.c: (main):
209 2005-10-26 Stefan Kost <ensonic@users.sf.net>
211 * examples/controller/audio-example.c: (main):
212 * examples/queue/queue.c: (event_loop):
213 * gst/base/gstbasetransform.h:
214 * gst/gstelement.c: (gst_element_send_event):
216 * gst/gstpad.c: (gst_pad_send_event):
219 changing log priority in error situations
221 2005-10-25 Wim Taymans <wim@fluendo.com>
223 * gst/gstbin.c: (message_check), (bin_replace_message),
224 (bin_remove_messages), (is_eos), (gst_bin_add_func),
225 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
226 (bin_query_duration_init), (bin_query_duration_fold),
227 (bin_query_duration_done), (bin_query_generic_fold),
229 Some doc and debug updates.
230 Cache previously requested query DURATION for speed. invalidate
231 cached duration if element posts a DURATION message.
233 2005-10-25 Wim Taymans <wim@fluendo.com>
235 * docs/design/part-TODO.txt:
238 * gst/gstbin.c: (message_check), (bin_replace_message),
239 (bin_remove_messages), (is_eos), (gst_bin_add_func),
240 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
241 (bin_query_duration_init), (bin_query_duration_fold),
242 (bin_query_duration_done), (bin_query_generic_fold),
244 Handle SEGMENT_START/DONE messages correctly.
245 More evolved query algorithm that handles duration queries
248 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
249 (gst_element_get_state_func), (gst_element_abort_state),
250 (gst_element_commit_state), (gst_element_lost_state):
256 2005-10-25 Wim Taymans <wim@fluendo.com>
258 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
259 Don't use invalid stream_time.
261 * gst/gstevent.c: (gst_event_new_newsegment):
262 stream_time in newsegment cannot be undefined.
264 2005-10-24 Wim Taymans <wim@fluendo.com>
269 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
271 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
273 2005-10-24 Stefan Kost <ensonic@users.sf.net>
275 * docs/libs/tmpl/gstdparam.sgml:
276 * docs/libs/tmpl/gstdplinint.sgml:
277 * docs/libs/tmpl/gstdpman.sgml:
278 * docs/libs/tmpl/gstdpsmooth.sgml:
279 * docs/libs/tmpl/gstunitconvert.sgml:
282 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
287 === release 0.9.4 ===
289 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
292 releasing 0.9.4, "Tyrannosaurus Rex"
294 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
296 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
297 (gst_file_sink_get_current_offset):
298 Use fseeko() and ftello() if available. When falling back on
299 lseek() to get the current offset, fflush() first to make sure
300 everything is up-to-date and we get the right offset.
302 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
305 * gst/base/gstbasesrc.c: (gst_base_src_loop):
306 * gst/gsterror.c: (_gst_stream_errors_init):
308 * gst/gstqueue.c: (gst_queue_loop):
310 remove prematurely added error category and clean up the instances
312 2005-10-21 Wim Taymans <wim@fluendo.com>
314 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
315 (gst_base_sink_get_position), (gst_base_sink_query),
316 (gst_base_sink_change_state):
317 Simply set the right flag when going to playing, that's all
318 we need to do instead of calling a function inside the object
319 lock (that could take the lock as well and deadlock)
321 2005-10-21 Wim Taymans <wim@fluendo.com>
323 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
325 Don't warn, the peer element knows what to do best when
326 the seek failed, it might try something else.
328 2005-10-21 Wim Taymans <wim@fluendo.com>
330 * gst/base/gstbasesrc.c: (gst_base_src_init),
331 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
334 2005-10-21 Wim Taymans <wim@fluendo.com>
336 * docs/design/part-segments.txt:
339 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
340 Correctly set caps, even on the subbufer.
342 2005-10-21 Wim Taymans <wim@fluendo.com>
344 * docs/gst/gstreamer-docs.sgml:
345 * docs/gst/gstreamer-sections.txt:
352 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
356 And 2% more doc coverage.
358 2005-10-21 Andy Wingo <wingo@pobox.com>
360 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
363 2005-10-20 Wim Taymans <wim@fluendo.com>
365 * gst/gsterror.c: (gst_error_get_message):
368 * gst/gststructure.c:
373 2005-10-20 Wim Taymans <wim@fluendo.com>
378 Another 1% more coverage.
380 2005-10-20 Wim Taymans <wim@fluendo.com>
382 * docs/gst/gstreamer-sections.txt:
383 * gst/gstelement.c: (gst_element_get_state_func),
384 (gst_element_abort_state), (gst_element_commit_state),
385 (gst_element_lost_state):
387 * gst/gstquery.c: (gst_query_set_position),
388 (gst_query_parse_position), (gst_query_set_duration),
389 (gst_query_parse_duration), (gst_query_new_convert):
391 Yay! 1% more docs coverage.
393 2005-10-20 Wim Taymans <wim@fluendo.com>
396 * gst/gstquery.c: (gst_query_set_position),
397 (gst_query_parse_position), (gst_query_set_duration),
398 (gst_query_parse_duration), (gst_query_new_convert):
400 * gst/gstutils.c: (gst_element_query_convert):
402 Docs and consistency fixes.
404 2005-10-20 Wim Taymans <wim@fluendo.com>
410 2005-10-20 Wim Taymans <wim@fluendo.com>
412 * gst/gstbin.c: (message_check), (bin_replace_message),
413 (bin_remove_messages), (is_eos), (gst_bin_add_func),
414 (update_degree), (gst_bin_sort_iterator_next),
415 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
416 Reworked the message handling a bit, cache the messages instead of
417 only the senders. alows us to do more in the future.
419 2005-10-20 Wim Taymans <wim@fluendo.com>
421 * docs/design/part-TODO.txt:
424 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
425 (gst_base_sink_query):
426 Don't use clock time to report position when in EOS.
428 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
430 * tools/gst-inspect.c: (print_interfaces),
431 (print_element_properties_info), (print_element_info):
432 Fix interface output with gst-inspect -a; don't print
433 newlines after double/float properties.
435 2005-10-20 Wim Taymans <wim@fluendo.com>
437 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
438 (gst_base_sink_query):
439 Speed up current position calculation.
441 * gst/base/gstbasesrc.c: (gst_base_src_query),
442 (gst_base_src_default_newsegment):
443 Correctly set stream position in newsegment.
445 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
446 (update_degree), (gst_bin_sort_iterator_next),
447 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
448 * gst/gstmessage.c: (gst_message_new_custom):
449 Clean up debugging info
451 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
452 (gst_queue_loop), (gst_queue_handle_src_query):
455 2005-10-19 Wim Taymans <wim@fluendo.com>
457 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
458 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
459 Fix query handling again.
461 2005-10-19 Wim Taymans <wim@fluendo.com>
463 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
464 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
465 * gst/base/gstbasesrc.c: (gst_base_src_query):
466 * gst/elements/gstfilesink.c: (gst_file_sink_query):
467 * gst/elements/gsttypefindelement.c:
468 (gst_type_find_handle_src_query), (find_element_get_length),
469 (gst_type_find_element_activate):
472 * gst/gstquery.c: (gst_query_new_position),
473 (gst_query_set_position), (gst_query_parse_position),
474 (gst_query_new_duration), (gst_query_set_duration),
475 (gst_query_parse_duration), (gst_query_set_segment),
476 (gst_query_parse_segment):
478 Bundling query position/duration is not a good idea since duration
479 does not change much and we don't want to recalculate it for every
480 position query, so they are separated again..
481 Base value in segment query is not needed.
483 * gst/gstqueue.c: (gst_queue_handle_src_query):
484 * gst/gstutils.c: (gst_element_query_position),
485 (gst_element_query_duration), (gst_pad_query_position),
486 (gst_pad_query_duration):
488 Updates for query API change.
489 Added some docs here and there.
491 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
493 * check/gst/gstbin.c: (GST_START_TEST):
494 * check/gst/gstghostpad.c: (GST_START_TEST):
495 * check/pipelines/cleanup.c: (GST_START_TEST):
496 wait on thread to die so we can check refcount correctly
498 2005-10-18 Wim Taymans <wim@fluendo.com>
500 * check/pipelines/stress.c: (GST_START_TEST):
501 Make check a little more time consuming.
503 2005-10-18 Wim Taymans <wim@fluendo.com>
506 * check/pipelines/stress.c: (GST_START_TEST),
507 (simple_launch_lines_suite), (main):
508 Small state change torture test.
510 * docs/design/part-states.txt:
511 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
512 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
513 (gst_base_sink_change_state):
514 Never take state lock from streaming thread, clean up ugly
515 hacks. Unfortunatly core does not yet support nice ways to
518 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
520 Start state recalc if a STATE_DIRTY message is posted, but only
523 * gst/gstelement.c: (gst_element_sync_state_with_parent),
524 (gst_element_get_state_func), (gst_element_abort_state),
525 (gst_element_commit_state), (gst_element_lost_state),
526 (gst_element_set_state_func), (gst_element_change_state):
528 State variables are now protected with the LOCK, the state
529 lock is only used to serialize _set_state().
531 2005-10-18 Wim Taymans <wim@fluendo.com>
533 * check/gst/gstbin.c: (GST_START_TEST):
534 * check/gst/gstmessage.c: (GST_START_TEST):
535 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
538 * gst/gstelement.c: (gst_element_abort_state),
539 (gst_element_commit_state), (gst_element_lost_state):
540 * gst/gstmessage.c: (gst_message_new_state_changed),
541 (gst_message_new_state_dirty), (gst_message_new_segment_start),
542 (gst_message_new_segment_done), (gst_message_new_duration),
543 (gst_message_parse_state_changed),
544 (gst_message_parse_segment_start),
545 (gst_message_parse_segment_done), (gst_message_parse_duration):
547 * tools/gst-launch.c: (event_loop):
548 Seriously, this is better than a previous commit as we only need
549 to notify the fact that an element changed state in a streaming
550 thread, marking the state of the parents dirty, hence the
551 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
554 2005-10-18 Wim Taymans <wim@fluendo.com>
556 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
557 (gst_bin_recalc_func):
558 * gst/gstelement.c: (gst_element_set_clock),
559 (gst_element_abort_state), (gst_element_lost_state):
560 Cleanups, prepare for state change fixes.
562 2005-10-18 Wim Taymans <wim@fluendo.com>
565 * gst/gstelement.c: (gst_element_class_init),
566 (gst_element_set_state), (gst_element_set_state_func):
569 GThreadPool in GstBinClass to monitor async state changes.
570 state_cookie in GstElement to detect concurrent gst/set state.
571 set_state is now virtual too in case a very complicated element
572 has to be constructed.
574 2005-10-18 Wim Taymans <wim@fluendo.com>
576 * check/gst/gstbin.c: (GST_START_TEST):
577 * check/gst/gstmessage.c: (GST_START_TEST):
578 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
579 * gst/gstbin.c: (bin_bus_handler):
580 * gst/gstelement.c: (gst_element_commit_state),
581 (gst_element_lost_state):
582 * gst/gstmessage.c: (gst_message_new_state_changed),
583 (gst_message_new_segment_start), (gst_message_new_segment_done),
584 (gst_message_new_duration), (gst_message_parse_state_changed),
585 (gst_message_parse_segment_start),
586 (gst_message_parse_segment_done), (gst_message_parse_duration):
588 * tools/gst-launch.c: (event_loop):
589 Make messages future proof.
590 state-change gets a flag if it was a message comming from the
592 segment-start/stop can also be specified in other formats.
593 A message to notify an app that a pipeline changed playback
595 Also fix a GstMessage leak in -launch
597 2005-10-18 Andy Wingo <wingo@pobox.com>
599 * gst/gstelement.c (gst_element_dispose): More helpful message.
601 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
603 * gst/gstregistry.c: (gst_registry_scan_path_level):
604 unref a plug-in we get that was already initialized
606 2005-10-18 Stefan Kost <ensonic@users.sf.net>
608 * docs/gst/gstreamer-sections.txt:
609 * docs/libs/gstreamer-libs-sections.txt:
614 2005-10-17 Andy Wingo <wingo@pobox.com>
616 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
619 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
621 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
623 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
624 (gst_element_get_state_func): Better debug message.
625 (gst_element_commit_state): s/INFO/DEBUG/.
626 (gst_element_lost_state, gst_element_change_state):
628 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
629 (gst_message_new_custom): s/INFO/LOG/.
631 2005-10-17 Michael Smith <msmith@fluendo.com>
633 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
634 Check if end time is valid using end time, not start time.
636 2005-10-17 Stefan Kost <ensonic@users.sf.net>
638 * check/gst-libs/controller.c: (GST_START_TEST),
639 (gst_controller_suite):
640 * libs/gst/controller/gstcontroller.c:
641 (gst_controlled_property_set_interpolation_mode):
642 * libs/gst/controller/gstcontroller.h:
643 * libs/gst/controller/gstinterpolation.c:
644 * testsuite/controller/.cvsignore:
645 * testsuite/controller/Makefile.am:
646 * testsuite/controller/interpolator.c:
647 merge controller testsuites
649 remove mem-chunk from docs
651 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
655 * gst/gsttrashstack.c:
656 * gst/gsttrashstack.h:
657 out. get out. you're fired. to the Attic !
659 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
661 * gst/gstcaps.c: (gst_caps_intersect):
662 fix signedness issues in a (hopefully) correct way
663 * gst/gstelement.c: (gst_element_pads_activate):
665 * gst/gstobject.c: (gst_object_set_parent):
668 2005-10-17 Julien MOUTTE <julien@moutte.net>
670 * gst/gstvalue.h: Fix prototypes.
672 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
674 * docs/gst/gstreamer-sections.txt:
675 * gst/gst.c: (gst_version_string):
677 * gst/gstversion.h.in:
678 * win32/common/libgstreamer.def:
679 add gst_version_string ()
681 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
685 * gst/gst.c: (init_post):
686 * win32/common/config.h.in:
688 * gst/gstcaps.c: (gst_caps_intersect):
689 use gint64, the range could be bigger than a guint
691 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
694 document potential problem in 2038
696 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
698 * gst/gstcaps.c: (gst_caps_intersect):
699 Fix guint j diving under 0
701 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
704 * win32/common/config.h:
705 * win32/common/config.h.in:
706 check for process.h, declares getpid() on Windows
708 include process.h if we have it
709 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
711 fix signedness issues
712 * win32/common/libgstreamer.def:
715 2005-10-16 Julien MOUTTE <julien@moutte.net>
717 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
718 fix. Because of unsigned ints, caps intersection was going nuts and
719 trying to access structures with G_MAXUINT index. That fixes
720 videotestsrc ! ffmpegcolorspace ! fakesink
721 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
724 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
727 use the gettext macro
728 * gst/elements/gstelements.c:
730 * gst/indexers/gstindexers.c:
731 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
732 * win32/common/config.h:
734 * win32/common/config.h.in:
735 add the template to generate config.h
736 * win32/common/gstenumtypes.c:
737 * win32/common/gstversion.h:
740 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
742 * gst/gst.c: (gst_version):
743 * gst/gstversion.h.in:
746 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
749 Oops, add missing closing bracket.
751 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
754 use common m4's for argument checking
756 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
758 * docs/gst/gstreamer-sections.txt:
760 Add GST_EVENT_TYPE_NAME() macro.
762 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
765 * gst/gstpluginfeature.c:
767 privatize more symbols
769 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
772 add srcdir, builddir includes to GST_ALL_CFLAGS, since
773 everything that uses GStreamer API should have the includes
775 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
777 * docs/gst/gstreamer-sections.txt:
778 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
780 give each value a _get_type, removes the DATA exports
782 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
786 remove _gst_registry_auto_load, not used anymore
787 * gst/gstbin.c: (gst_bin_get_type):
789 * gst/gstelement.c: (gst_element_get_type):
791 * gst/gstobject.c: (gst_object_get_type):
793 * gst/gstpad.c: (gst_pad_get_type):
795 make _get_type functions similar, fixes data export from library
797 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
800 correctly make conditionals
801 * gst/elements/Makefile.am:
802 * gst/elements/gstelements.c:
803 fix typo causing fdsrc not to build
805 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
807 * testsuite/Makefile.am:
808 * testsuite/bytestream/.cvsignore:
809 * testsuite/bytestream/Makefile.am:
810 * testsuite/bytestream/filepadsink.c:
811 * testsuite/bytestream/gstbstest.c:
812 * testsuite/bytestream/test1.c:
813 * testsuite/bytestream/testfile1:
814 * testsuite/caps/normalisation.c:
815 * testsuite/caps/random.c: (main):
816 * testsuite/cleanup/.cvsignore:
817 * testsuite/cleanup/Makefile.am:
818 * testsuite/cleanup/cleanup1.c:
819 * testsuite/cleanup/cleanup2.c:
820 * testsuite/cleanup/cleanup3.c:
821 * testsuite/cleanup/cleanup4.c:
822 * testsuite/cleanup/cleanup5.c:
823 * testsuite/controller/interpolator.c:
824 * testsuite/debug/printf_extension.c: (main):
825 * testsuite/elements/tee.c:
826 * testsuite/negotiation/.cvsignore:
827 * testsuite/negotiation/Makefile.am:
828 * testsuite/negotiation/pad_link.c:
829 * testsuite/pad/Makefile.am:
830 * testsuite/pad/chainnopull.c:
831 * testsuite/pad/getnopush.c:
832 * testsuite/pad/link.c:
833 * testsuite/refcounting/sched.c: (create_pipeline):
834 * testsuite/registry/Makefile.am:
835 * testsuite/registry/gst-print-formats.c:
836 * testsuite/schedulers/.cvsignore:
837 * testsuite/schedulers/142183-2.c:
838 * testsuite/schedulers/142183.c:
839 * testsuite/schedulers/143777-2.c:
840 * testsuite/schedulers/143777.c:
841 * testsuite/schedulers/147713.c:
842 * testsuite/schedulers/147819.c:
843 * testsuite/schedulers/147894-2.c:
844 * testsuite/schedulers/147894.c:
845 * testsuite/schedulers/Makefile.am:
846 * testsuite/schedulers/group_link.c:
847 * testsuite/schedulers/queue_link.c:
848 * testsuite/schedulers/relink.c:
849 * testsuite/schedulers/unlink.c:
850 * testsuite/schedulers/unref.c:
851 * testsuite/schedulers/useless_iteration.c:
852 * testsuite/states/bin.c:
853 clean out/remove some stuff from the testsuite directories
855 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
858 check for some headers
859 * gst/elements/Makefile.am:
860 * gst/elements/gstelements.c:
861 don't compile fdsrc without sys/socket.h
862 * gst/indexers/Makefile.am:
863 * gst/indexers/gstindexers.c: (plugin_init):
864 don't compile fileindex without mmap
866 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
874 * docs/gst/Makefile.am:
875 * examples/helloworld/Makefile.am:
877 * gst/base/Makefile.am:
878 * gst/check/Makefile.am:
879 * gst/elements/Makefile.am:
880 * gst/indexers/Makefile.am:
881 * gst/parse/Makefile.am:
882 * libs/gst/controller/Makefile.am:
883 * libs/gst/dataprotocol/Makefile.am:
884 * examples/helloworld/helloworld.c: (event_loop):
885 compile fixes, though it's not being compiled currently
887 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
889 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
890 Add some simple tests for the new taglist date API.
892 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
894 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
895 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
896 Beautify 'last-message' output: print 'none' for buffer timestamps
897 and durations if none is set; improve alignment with next messages.
899 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
901 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
902 * gst/gstpluginfeature.h:
903 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
905 * docs/gst/gstreamer-sections.txt:
906 Add new API to check plugin feature version requirements.
908 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
909 Some basic tests for the above.
911 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
913 * gst/gststructure.c: (gst_structure_to_string):
914 guard against NULL printf - happens when for example
915 a message structure with GstClock gets serialized
917 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
919 * gst/base/gstcollectpads.c: (gst_collectpads_event):
920 Fix presumable copy'n'pasto.
922 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
924 * gst/elements/gstfakesrc.h:
925 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
926 * gst/elements/gsttypefindelement.c:
928 * gst/elements/gstfilesink.c: (gst_file_sink_render):
929 I wonder if this could actually write +2GB files before
931 2005-10-13 Andy Wingo <wingo@pobox.com>
933 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
934 Fix Timmeke Waymans bug.
935 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
936 string of the proper length to gst_caps_from_string. There's a
937 potential for, before this fix, that this could cause someone
938 connecting over the network to cause a segfault if the payload is
941 2005-10-13 Stefan Kost <ensonic@users.sf.net>
943 * docs/design/draft-push-pull.txt:
944 * docs/design/part-overview.txt:
945 * docs/random/TODO-pre-0.9:
946 * docs/random/old/ChangeLog.gstreamer:
947 * gst/base/gstpushsrc.c:
951 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
953 * gst/glib-compat.c: (gst_flags_get_first_value):
955 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
956 (gst_value_compare_double), (gst_value_serialize_flags):
957 GLib 2.6 g_flags_get_first_value has a bug that triggers an
960 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
962 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
963 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
965 * tools/gst-launch.c: (event_loop):
966 print out clock nicely
968 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
970 * docs/gst/gstreamer-sections.txt:
972 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
973 (gst_tag_list_get_date_index):
974 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
975 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
977 2005-10-13 Julien MOUTTE <julien@moutte.net>
979 * gst/base/gstcollectpads.c: (gst_collectpads_event),
980 (gst_collectpads_chain):
981 * gst/base/gstcollectpads.h: Handle newsegment and store informations
984 2005-10-13 Stefan Kost <ensonic@users.sf.net>
986 * docs/gst/gstreamer-sections.txt:
989 * tools/gst-inspect.c: (main):
990 * tools/gst-launch.c: (main):
991 * tools/gst-run.c: (main):
992 * tools/gst-xmlinspect.c: (main):
993 fix GOption context leaks
996 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1000 * win32/common/config.h:
1002 * win32/vs6/grammar.dsp:
1003 * win32/vs6/libgstelements.dsp:
1004 * win32/vs6/libgstreamer.dsp:
1007 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1010 * gst/base/gstbasesrc.c: (gst_base_src_query):
1011 fix more guint64<->gdouble conversions
1013 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1016 add win32-update target
1017 * win32/common/gstconfig.h:
1018 * win32/common/gstenumtypes.c:
1019 * win32/common/gstenumtypes.h:
1020 * win32/common/gstversion.h:
1021 add files that visual studio can't generate
1023 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1026 add a win32-update target
1029 2005-10-12 Wim Taymans <wim@fluendo.com>
1031 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1032 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1033 * gst/gstelement.c: (gst_element_commit_state),
1034 (gst_element_set_state):
1035 Protect flags with proper lock.
1036 unref provided cached clock in dispose.
1038 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1041 * gst/gstminiobject.h:
1043 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1044 removed unused flags from miniobject
1047 2005-10-12 Wim Taymans <wim@fluendo.com>
1049 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1050 (gst_file_sink_event), (gst_file_sink_render):
1051 Flush before seeking.
1053 2005-10-12 Andy Wingo <wingo@pobox.com>
1055 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1056 always been the case.
1058 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1060 * check/gst/gstbin.c: (GST_START_TEST):
1061 * docs/gst/gstreamer-sections.txt:
1062 * gst/base/gstbasesink.c: (gst_base_sink_init):
1063 * gst/base/gstbasesrc.c: (gst_base_src_init),
1064 (gst_base_src_get_range), (gst_base_src_check_get_range),
1065 (gst_base_src_start), (gst_base_src_stop):
1066 * gst/base/gstbasesrc.h:
1067 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1068 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1069 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1073 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1075 * gst/gstelement.c: (gst_element_is_locked_state),
1076 (gst_element_set_locked_state), (gst_element_commit_state),
1077 (gst_element_set_state):
1079 * gst/gstindex.c: (gst_index_init):
1081 * gst/gstminiobject.h:
1082 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1083 (gst_object_set_parent):
1085 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1086 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1088 * gst/gstpadtemplate.h:
1089 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1090 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1091 * gst/gstpipeline.h:
1092 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1093 (gst_file_index_commit):
1094 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1095 * testsuite/pad/link.c: (gst_test_src_init),
1096 (gst_test_filter_init), (gst_test_sink_init):
1097 * testsuite/states/locked.c: (main):
1098 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1099 moved bitshift from macro to enum definition
1101 2005-10-12 Wim Taymans <wim@fluendo.com>
1103 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1104 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1105 (gst_file_sink_render):
1106 Some more debugging info.
1108 2005-10-12 Wim Taymans <wim@fluendo.com>
1110 * docs/design/part-states.txt:
1111 * tools/gst-launch.c: (main):
1113 Revert non-intentional change.
1115 2005-10-12 Wim Taymans <wim@fluendo.com>
1117 * check/gst/gstbin.c: (GST_START_TEST):
1118 * check/gst/gstelement.c: (GST_START_TEST):
1119 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1120 * check/gst/gstghostpad.c: (GST_START_TEST):
1121 * check/gst/gstpipeline.c: (GST_START_TEST):
1122 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1123 * check/states/sinks.c: (GST_START_TEST):
1124 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1125 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1126 (gst_bin_remove_func), (gst_bin_get_state_func),
1127 (gst_bin_recalc_state), (gst_bin_change_state_func),
1129 * gst/gstelement.c: (gst_element_get_state_func),
1130 (gst_element_get_state), (gst_element_abort_state),
1131 (gst_element_commit_state), (gst_element_set_state),
1132 (gst_element_change_state), (gst_element_change_state_func):
1134 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1135 (gst_pipeline_provide_clock_func):
1136 * gst/gstutils.c: (gst_element_link_pads_filtered):
1137 * tools/gst-launch.c: (main):
1138 * tools/gst-typefind.c: (main):
1139 Use GstClockTime in _get_state() instead of GTimeVal.
1140 Remove old code in gstutils.c
1142 2005-10-12 Andy Wingo <wingo@pobox.com>
1144 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1147 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1148 there is no task. Shouldn't affect any code, as nothing in our
1149 plugins checks this return value.
1150 (gst_pad_stop_task): Also take the stream lock if the pad has no
1153 2005-10-12 Wim Taymans <wim@fluendo.com>
1155 * gst/gstpad.c: (pre_activate), (post_activate),
1156 (gst_pad_activate_pull), (gst_pad_activate_push):
1157 Cleanup activation code. Reset old state if
1160 2005-10-12 Wim Taymans <wim@fluendo.com>
1162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1163 (gst_base_sink_change_state):
1164 No need to prerol after receiving EOS.
1166 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1167 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1168 * gst/elements/gstidentity.c: (gst_identity_event):
1169 Print events more verbosely.
1171 2005-10-12 Wim Taymans <wim@fluendo.com>
1173 * check/Makefile.am:
1174 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1175 * check/states/sinks2.c:
1176 Moved sinks2 testcode in sinks check.
1178 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1179 (gst_bin_remove_func), (gst_bin_recalc_state),
1180 (gst_bin_change_state_func), (bin_bus_handler):
1181 Fix potential race condition when _get_state() iterated over an
1182 ASYNC element right before it posted a state completion.
1185 Do proper cast here.
1187 * gst/gstevent.c: (gst_event_new_newsegment),
1188 (gst_event_parse_newsegment):
1189 A playback rate of 0.0 is not allowed.
1191 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1193 * win32/common/config.h:
1194 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1195 (_trewinddir), (_ttelldir), (_tseekdir):
1196 * win32/common/dirent.h:
1197 * win32/common/gtchar.h:
1198 * win32/common/libgstbase.def:
1199 * win32/common/libgstreamer.def:
1200 * win32/vs6/grammar.dsp:
1201 * win32/vs6/gst_inspect.dsp:
1202 * win32/vs6/gst_launch.dsp:
1203 * win32/vs6/gstreamer.dsw:
1204 * win32/vs6/libgstbase.dsp:
1205 * win32/vs6/libgstelements.dsp:
1206 * win32/vs6/libgstreamer.dsp:
1207 Visual Studio 6 project files, and a new common directory.
1210 2005-10-11 Wim Taymans <wim@fluendo.com>
1212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1213 (gst_base_sink_do_sync), (gst_base_sink_query),
1214 (gst_base_sink_change_state):
1215 * gst/base/gstbasesink.h:
1216 Correctly parse newsegment info.
1218 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1220 * gst/gst.c: (init_post):
1221 split plugin paths correctly
1223 2005-10-11 Wim Taymans <wim@fluendo.com>
1225 * check/gst/gstevent.c: (GST_START_TEST):
1226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1227 (gst_base_sink_change_state):
1228 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1229 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1230 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1231 * gst/gstevent.c: (gst_event_new_newsegment),
1232 (gst_event_parse_newsegment):
1234 Added extra flag to newsegment for future API freeze.
1235 Updated check and base elements.
1237 2005-10-11 Julien MOUTTE <julien@moutte.net>
1239 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1240 (gst_collectpads_add_pad), (gst_collectpads_pop),
1241 (gst_collectpads_event), (gst_collectpads_chain):
1242 * gst/base/gstcollectpads.h: Handle EOS correctly.
1244 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1246 * tools/gst-launch.c: (main):
1247 more null protecting
1249 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1251 * gst/gst-i18n-lib.h:
1252 check for ENABLE_NLS, not GETTEXT_PACKAGE
1253 * gst/gstregistry.c: (gst_registry_add_plugin),
1254 (gst_registry_scan_path_level),
1255 (_gst_registry_remove_cache_plugins):
1256 protect possibly NULL strings
1257 * gst/parse/types.h:
1258 config.h already included before
1259 * tools/gst-inspect.c: (main):
1260 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1261 check for ENABLE_NLS, not GETTEXT_PACKAGE
1262 * tools/gst-launch.c: (main):
1263 check for ENABLE_NLS, not GETTEXT_PACKAGE
1265 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1268 if we don't have glib, fail before testing 2.8
1269 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1270 fix a leak, should fix plugins-base testsuite
1272 2005-10-11 Andy Wingo <wingo@pobox.com>
1274 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1275 take the mode we're going to as an arg. Go head and set the mode
1276 and flushing flags now, so that if the activate function starts a
1277 thread all the flags will be in the right state.
1278 (post_activate): Renamed also. Just handle making sure streaming
1279 finishes for the deactivation case, and setting the deactivated
1281 (gst_pad_set_active): Complain loudly if deactivation fails.
1282 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1283 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1284 remove the terrible hack.
1286 2005-10-11 Wim Taymans <wim@fluendo.com>
1288 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1289 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1290 (gst_bin_recalc_state), (gst_bin_change_state_func),
1291 (gst_bin_dispose), (bin_bus_handler):
1293 Prepare to make current EOS message queue more generic.
1296 * gst/gstevent.c: (gst_event_new_newsegment),
1297 (gst_event_parse_newsegment):
1299 Rename base to stream_time.
1304 2005-10-11 Wim Taymans <wim@fluendo.com>
1306 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1307 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1308 (gst_bin_change_state_func), (bin_bus_handler):
1310 Work on proper clock selection.
1312 2005-10-11 Edward Hervey <edward@fluendo.com>
1314 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1315 * libs/gst/controller/gstcontroller.h:
1316 Added GList* version of _remove_properties() in order to be able to wrap
1319 2005-10-11 Wim Taymans <wim@fluendo.com>
1321 * docs/design/part-states.txt:
1324 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1325 (gst_bin_change_state_func), (bin_bus_handler):
1326 Doc updates. Don't distribute the same clock over and over again.
1332 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1333 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1334 (gst_pad_send_event):
1336 Make probe emission threadsafe again.
1337 Register quarks and move _get_name() from utils.
1340 * gst/gstpipeline.c: (gst_pipeline_class_init),
1341 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1342 Only redistribute the clock of it changed.
1344 * gst/gstsystemclock.h:
1349 Moved the _flow_get_name() to GstPad.
1351 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1353 * check/gst-libs/gdp.c: (GST_START_TEST):
1354 * check/gst/gstcaps.c: (GST_START_TEST):
1355 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1356 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1357 (gst_dp_packet_from_caps):
1358 fix more valgrind warnings before turning up the heat
1360 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1362 * gst/parse/grammar.y:
1363 some cleanup before the hacking
1365 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1367 * gst/base/gstbasesrc.c: (gst_base_src_query):
1369 * gst/gstutils.c: (gst_guint64_to_gdouble),
1370 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1372 externalize, basesrc uses it
1373 obviously the implementation needs testing
1375 2005-10-10 Wim Taymans <wim@fluendo.com>
1377 * tests/sched/Makefile.am:
1378 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1379 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1381 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1383 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1384 apparently converting from guint64 to double is not implemented
1387 2005-10-10 Wim Taymans <wim@fluendo.com>
1389 * check/Makefile.am:
1390 * check/generic/states.c: (GST_START_TEST):
1391 * check/gst/gstbin.c: (GST_START_TEST):
1392 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1393 * check/states/sinks.c: (GST_START_TEST):
1394 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1396 Check fixes, use API as stated in design docs, remove hacks.
1398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1399 (gst_base_sink_change_state):
1400 Catch stopping our task while we're shutting down.
1402 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1403 (gst_bin_remove_func), (gst_bin_get_state_func),
1404 (gst_bin_recalc_state), (gst_bin_change_state_func),
1407 * gst/gstelement.c: (gst_element_init),
1408 (gst_element_get_state_func), (gst_element_abort_state),
1409 (gst_element_commit_state), (gst_element_lost_state),
1410 (gst_element_set_state), (gst_element_change_state),
1411 (gst_element_change_state_func):
1413 New state change algorithm (see #318116)
1415 * gst/gstpipeline.c: (gst_pipeline_class_init),
1416 (gst_pipeline_init), (gst_pipeline_set_property),
1417 (gst_pipeline_get_property), (do_pipeline_seek),
1418 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1419 * gst/gstpipeline.h:
1420 Remove crude state change hacks.
1425 * tools/gst-launch.c: (main):
1426 Fixes for state change. Needs some more work to fully use the
1429 2005-10-10 Andy Wingo <wingo@pobox.com>
1431 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1433 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1434 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1437 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1439 * gst/gstiterator.c: (gst_iterator_new):
1440 Fix my previous commit: GTypes passed to gst_iterator_new()
1441 can be fundamental types.
1443 2005-10-10 Wim Taymans <wim@fluendo.com>
1445 * gst/gstelement.c: (gst_element_iterate_pad_list),
1446 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1447 (gst_element_iterate_sink_pads):
1448 Use src/sink pads lists for the respective iterators instead
1451 2005-10-10 Andy Wingo <wingo@pobox.com>
1453 Merged in popt removal + GOption addition patch from Ronald, bug
1456 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1457 GstElement macros around, remove popt-related symbols, add goption
1460 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1462 * docs/gst/Makefile.am:
1463 * docs/libs/Makefile.am: No POPT_CFLAGS.
1465 * examples/manual/Makefile.am:
1466 * docs/manual/basics-init.xml: Doc updates with an example.
1468 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1469 (gst_init), (parse_one_option), (parse_goption_arg):
1470 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1471 bit of hand merging and debugging to get the GOption stuff working
1474 * tests/Makefile.am:
1475 * tools/Makefile.am:
1476 * tools/gst-inspect.c: (main):
1477 * tools/gst-launch.c: (main):
1478 * tools/gst-run.c: (main):
1479 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1481 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1483 * gst/gstiterator.c: (gst_iterator_new):
1484 Add assertions to make sure passed GType is likely to really
1485 be a GType (as the compiler won't catch it if the size and
1486 GType arguments get mixed up, see #318447).
1488 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1490 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1492 * gst/gstbin.c: (gst_bin_iterate_sorted):
1493 Pass GType and size arguments to gst_iterator_new() in the right
1494 order (maybe we should make _new() take the GType as first argument
1495 just like _new_list()?) (#318447).
1498 2005-10-10 Wim Taymans <wim@fluendo.com>
1500 * gst/gstelement.c: (gst_element_finalize):
1501 And free the GStaticRecMutex too
1503 2005-10-10 Andy Wingo <wingo@pobox.com>
1505 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1506 Allocate and free the mutex properly.
1508 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1510 (GstElement): The state_lock is now recursive. Rebuild your
1511 plugins, suckers. Old macros adapted.
1513 * docs/gst/gstreamer-sections.txt: Doc updates.
1516 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1517 (g_static_rec_cond_wait): Ported from state changes patch, while
1518 we wait on bug #317802 to be solved in a well-distributed GLib.
1520 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1521 gst_element_change_state, variable name changes.
1522 (gst_element_change_state): Split out of gst_element_set_state in
1523 preparation for the state change merge. Doesn't pay attention to
1524 the 'transition' argument.
1525 (gst_element_set_state): Updates, hopefully purely cosmetic.
1526 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1528 (gst_element_get_state_func): Renamed from get_state, cosmetic
1531 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1533 * gst/elements/gstelements.c:
1534 * win32/GStreamer.vcproj:
1536 * win32/dirent.c: (_tseekdir):
1537 * win32/gst-inspect.vcproj:
1538 * win32/gst-launch.vcproj:
1539 * win32/gstconfig.h:
1540 * win32/gstelements.vcproj:
1541 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1542 * win32/gstreamer.def:
1544 updates for the win32 build (patch from Sebastien Moutte)
1546 2005-10-10 Andy Wingo <wingo@pobox.com>
1548 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1549 gst_bin_get_state, cleaned up (but no logic changes).
1550 (bin_element_is_sink): Comment updates.
1551 (sink_iterator_filter): Remove needless cast.
1552 (gst_bin_iterate_sinks): Doc update.
1553 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1554 cleaned up (but no logic changes).
1556 * check/states/sinks.c (test_src_sink): Cleanups from the state
1558 (test_livesrc_sink): Sync on the state.
1560 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1561 the state change patch.
1563 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1566 * check/gst/gstbin.c: Merge in some style fixes and additional
1567 checks from Wim's state change patch.
1569 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1571 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1572 (gst_type_find_helper):
1573 Check whether we have the requested data already in our list of
1574 cached buffers before pulling a new buffer; also make the buffer
1575 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1577 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1582 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1583 don't use long long, it's not portable. Replacing with
1584 gint64 seems to work; let's hope no skeletons fall out of the closet.
1586 2005-10-10 Andy Wingo <wingo@pobox.com>
1588 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1590 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1592 * docs/gst/gstreamer-sections.txt:
1597 * gst/gstmessage.c: (gst_message_parse_state_changed):
1600 more docs, fix compilation
1602 2005-10-09 Philippe Khalaf <burger@speedy.org>
1604 Fixed a few forgotten variables on previous commit
1606 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1608 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1609 Fix evil typefind crasher: getrange() might return a short
1610 buffer at the end of a file, but gst_type_find_peek() must
1611 either return the full data as requested or NULL, but
1612 never a short buffer.
1614 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1616 * gst/gstmessage.c: (gst_message_new_state_changed),
1617 (gst_message_parse_state_changed):
1619 don't use "new", it's a C++ keyword
1621 2005-10-08 Wim Taymans <wim@fluendo.com>
1623 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1624 * gst/gstelement.c: (gst_element_post_message):
1625 * gst/gstpipeline.c: (gst_pipeline_change_state):
1626 Small docs and debug updates.
1628 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1630 * docs/gst/gstreamer-sections.txt:
1631 * gst/gstelementfactory.c:
1636 2005-10-08 Wim Taymans <wim@fluendo.com>
1638 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1639 (gst_bin_dispose), (bin_bus_handler):
1640 Fix typos, add comments.
1641 Clear EOS list when going to PAUSED from any direction and do it
1642 in a threadsafe way.
1643 Get base time in a threadsafe way too.
1644 Fix confusing debug in the change_state function.
1645 Various other small cleanups.
1647 * gst/gstelement.c: (gst_element_post_message):
1648 Fix very verbose bus posting code.
1650 * gst/gstpipeline.c: (gst_pipeline_class_init),
1651 (gst_pipeline_set_property), (gst_pipeline_get_property),
1652 (gst_pipeline_change_state):
1653 Small ARG_ -> PROP_ cleanup
1655 2005-10-08 Wim Taymans <wim@fluendo.com>
1657 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1658 Do a less CPU demanding EOS check because we can.
1660 2005-10-08 Wim Taymans <wim@fluendo.com>
1662 * libs/gst/dataprotocol/dataprotocol.c:
1663 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1664 (gst_dp_packet_from_event):
1665 * libs/gst/dataprotocol/dataprotocol.h:
1666 * libs/gst/dataprotocol/dp-private.h:
1667 It's about time we bump the version number.
1668 Since event types don't fit in the guint8 anymore describing
1669 the payload type, make payload type 16 bits wide.
1671 2005-10-08 Wim Taymans <wim@fluendo.com>
1673 * docs/design/part-TODO.txt:
1674 * docs/design/part-clocks.txt:
1675 * docs/design/part-events.txt:
1676 * docs/design/part-gstbin.txt:
1677 * docs/design/part-gstelement.txt:
1678 * docs/design/part-gstpipeline.txt:
1679 * docs/design/part-live-source.txt:
1680 * docs/design/part-messages.txt:
1681 * docs/design/part-overview.txt:
1682 * docs/design/part-states.txt:
1685 2005-10-08 Wim Taymans <wim@fluendo.com>
1689 Fix event quark registration.
1690 Add some space between events so we can insert them in the
1693 2005-10-08 Wim Taymans <wim@fluendo.com>
1695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1696 (gst_base_sink_handle_buffer):
1703 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1704 (gst_queue_set_property), (gst_queue_get_property):
1706 Remove old unused properties.
1708 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1709 * docs/gst/gstreamer-sections.txt:
1712 * gst/gstminiobject.c:
1713 * gst/gstminiobject.h:
1717 lots of new docs and doc fixes
1719 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1721 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1723 * gst/gstregistry.c: (gst_registry_lookup_locked),
1724 (gst_registry_scan_path_level):
1725 * gst/gstregistryxml.c: (load_plugin):
1726 Only ever load one plugin for a given plugin basename.
1727 This ensures correct overriding of GST_PLUGIN_PATH over
1728 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1729 system installed plugins.
1731 2005-10-08 Wim Taymans <wim@fluendo.com>
1733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1734 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1735 Prepare for doing QOS.
1737 2005-10-08 Wim Taymans <wim@fluendo.com>
1739 * check/gst/gstbin.c: (GST_START_TEST):
1740 * check/pipelines/cleanup.c: (GST_START_TEST):
1741 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1742 Allow new clock message too.
1744 2005-10-08 Wim Taymans <wim@fluendo.com>
1746 * gst/gstmessage.c: (gst_message_new_error),
1747 (gst_message_new_warning), (gst_message_new_tag),
1748 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1749 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1750 (gst_message_new_segment_start), (gst_message_new_segment_done),
1751 (gst_message_parse_state_changed),
1752 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1753 (gst_message_parse_new_clock):
1755 Also carry the clock in question.
1757 2005-10-08 Wim Taymans <wim@fluendo.com>
1759 * gst/gstmessage.c: (gst_message_new_custom),
1760 (gst_message_new_eos), (gst_message_new_error),
1761 (gst_message_new_warning), (gst_message_new_tag),
1762 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1763 (gst_message_new_new_clock), (gst_message_new_segment_start),
1764 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1765 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1768 Added clock related messages.
1770 * gst/gstpipeline.c: (gst_pipeline_change_state):
1771 Post message when the clock changed.
1773 * tools/gst-launch.c: (event_loop):
1776 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1778 * tools/gst-inspect.c: (print_element_properties_info):
1779 Can't pass NULL strings to g_print() on windows.
1781 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1784 * docs/gst/Makefile.am:
1785 * docs/gst/gstreamer-docs.sgml:
1786 * docs/gst/running.xml:
1787 * docs/version.entities.in:
1788 add a chapter on running GStreamer.
1789 document GST_DEBUG and GST_PLUGIN* env vars
1791 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1796 remove PLUGINS_BUILDDIR stuff
1797 * gst/gst.c: (init_post):
1798 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1800 remove, it was condescending and not needed
1802 2005-10-08 Wim Taymans <wim@fluendo.com>
1804 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1805 (gst_base_sink_handle_object), (gst_base_sink_event),
1806 (gst_base_sink_wait), (gst_base_sink_handle_event),
1807 (gst_base_sink_change_state):
1808 * gst/base/gstbasesink.h:
1809 Repost EOS message while going to PLAYING if still EOS.
1810 Make sure that when receiving a FLUSH_START we don't attempt
1811 to sync on the clock anymore.
1813 2005-10-08 Wim Taymans <wim@fluendo.com>
1815 * tools/gst-launch.c: (event_loop):
1816 Better message printout.
1818 2005-10-08 Wim Taymans <wim@fluendo.com>
1820 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1821 (gst_bin_child_proxy_get_children_count):
1822 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1823 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1824 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1825 (gst_child_proxy_set_valist):
1826 * gst/parse/grammar.y:
1827 Make ChildProxy threadsafe and fix mem leaks.
1829 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1831 * gst/gst.c: (init_post):
1832 debug the GST_PLUGIN_ env vars
1834 2005-10-08 Wim Taymans <wim@fluendo.com>
1836 * check/gst/gstbin.c: (GST_START_TEST):
1837 * check/gst/gstmessage.c: (GST_START_TEST):
1838 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1839 * gst/gstelement.c: (gst_element_commit_state),
1840 (gst_element_lost_state):
1841 * gst/gstmessage.c: (gst_message_new_state_changed),
1842 (gst_message_parse_state_changed):
1844 * tools/gst-launch.c: (event_loop):
1845 Added extra field to STATE_CHANGE message with the pending
1846 state, which will be different from the new state soon.
1848 2005-10-08 Wim Taymans <wim@fluendo.com>
1850 * gst/gstbus.c: (gst_bus_pop):
1852 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1853 Small cleanups and doc updates.
1855 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1857 * gst/gst.c: (init_pre):
1858 * gst/gstbin.c: (gst_bin_add_func):
1859 log distributing clocks and base time
1860 * gst/gstregistry.c: (gst_registry_add_plugin),
1861 (gst_registry_scan_path_level), (gst_registry_scan_path):
1862 clean up the debugging output a little
1863 * gst/gstutils.c: (gst_element_state_get_name):
1864 warn about a memleak (I've actually seen this be used, though
1865 it was probably a bug)
1867 2005-10-07 Wim Taymans <wim@fluendo.com>
1869 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1870 (gst_base_src_init), (gst_base_src_default_newsegment),
1871 (gst_base_src_newsegment), (gst_base_src_do_seek),
1872 (gst_base_src_loop), (gst_base_src_start):
1873 * gst/base/gstbasesrc.h:
1874 Make the newsegment event customizable by subclasses.
1876 2005-10-07 Wim Taymans <wim@fluendo.com>
1878 * gst/gstevent.c: (gst_event_new_buffersize),
1879 (gst_event_parse_buffersize):
1881 New event for future idea.
1883 2005-10-07 Andy Wingo <wingo@pobox.com>
1885 * gst/gstelement.c (gst_element_post_message): Doc update.
1887 * docs/gst/gstreamer-sections.txt: Update.
1889 * gst/gstmessage.c (gst_message_new_application): Made into a
1890 function like honest API calls.
1891 (gst_message_new_element): New message type.
1893 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1895 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1896 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1899 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1900 NO_PREROLL from gst_element_change_state to fall through.
1902 2005-10-07 Wim Taymans <wim@fluendo.com>
1904 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1905 (gst_ghost_pad_do_activate_push):
1906 Activating a ghostpad with no internal pad in push mode
1909 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1912 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1913 Fixes compilation on Windows.
1915 2005-10-07 Michael Smith <msmith@fluendo.com>
1917 * tools/gst-inspect.c:
1918 Print out feature and plugin count at the end when printing out
1921 2005-10-04 Michael Smith <msmith@fluendo.com>
1923 * gst/gsterror.c: (_gst_stream_errors_init):
1924 Add another error string used in a few existing plugins.
1927 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1928 * tools/gst-inspect.c: (print_element_info):
1929 When a feature disappears from a plugin (and the feature exists in
1930 the cached registry file), things went horribly wrong. This isn't a
1931 complete fix, we should actually be removing the 'missing' features
1932 from the features list when we load the actual plugin. That's not
1935 2005-10-04 Johan Dahlin <johan@gnome.org>
1937 * check/gst/gstiterator.c: (GST_START_TEST):
1938 * gst/gstbin.c: (gst_bin_iterate_elements),
1939 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1940 * gst/gstelement.c: (gst_element_iterate_pads):
1941 * gst/gstformat.c: (gst_format_iterate_definitions):
1942 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1943 (gst_iterator_new_list), (gst_iterator_filter):
1944 * gst/gstiterator.h:
1945 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1946 Add a GType to GstIterator, update callsites and tests.
1948 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1950 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1951 give events a chance to be handled by event probes when the pad
1954 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1956 * gst/gstevent.c: (gst_event_type_get_name),
1957 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1959 add string representations for event types
1961 2005-10-06 Wim Taymans <wim@fluendo.com>
1963 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1964 Don't use NULL pointers.
1966 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1968 * gst/gst_private.h:
1972 * gst/gstpluginfeature.c:
1973 widen the debug category in output to fit the biggest one we have
1974 add a bus category and use it
1975 play with the colors
1976 fix up some categories
1978 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1980 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1981 add push activation of sink ghost pads.
1982 Andye, please verify
1984 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1986 * gst/gstutils.c: (gst_element_link_pads):
1987 fix a bug in the case where neither element has a pad
1988 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1989 add a test for that case
1991 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1993 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1994 emit have-data before checking for peers. This allows
1995 for probe handlers to connect elements. This helps autopluggers.
1996 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1998 add six checks, linked/unlinked with no/true/false probe
2000 2005-10-04 Wim Taymans <wim@fluendo.com>
2002 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2003 (gst_fake_sink_event), (gst_fake_sink_preroll),
2004 (gst_fake_sink_render), (gst_fake_sink_change_state):
2005 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2006 (gst_fake_src_get_property), (gst_fake_src_create),
2007 (gst_fake_src_stop):
2008 * gst/elements/gstidentity.c: (gst_identity_stop):
2009 Protect last_message with lock.
2011 2005-10-04 Edward Hervey <edward@fluendo.com>
2014 Added precision in the comments for GST_FORMAT_DEFAULT
2016 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2018 * tools/gst-launch.c: (main):
2019 Don't try to run erroneous pipelines.
2021 2005-10-04 Julien MOUTTE <julien@moutte.net>
2023 * gst/gstbus.c: We don't need this header.
2025 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2030 === release 0.9.3 ===
2032 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2036 Releasing 0.9.3, "Unregistered"
2038 2005-10-03 Andy Wingo <wingo@pobox.com>
2040 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2041 whereby calling a pad's activatepush() function can start a thread
2042 that starts to push or pull before the pad gets the FLUSHING flag
2043 unset. Hack around it by holding the stream lock until the flag is
2044 set. Need to replace this with a proper solution. Together with
2045 the ghost pad fixes, this fixes mp3 playing/tagreading.
2047 * docs/design/part-gstghostpad.txt: Add a note about activation of
2048 proxy pads outside of ghost pads.
2050 * gst/gstghostpad.c: Implement the ghost pad activation design.
2052 2005-10-02 Andy Wingo <wingo@pobox.com>
2054 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2055 It is volatile, after all.
2057 * docs/design/part-gstghostpad.txt: Flesh out activation with
2060 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2063 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2066 Fix (unused) AM_CONDITIONAL tests.
2068 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2070 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2072 * gst/gstutils.c: (gst_pad_query_convert):
2073 Add assertion that makes sure src_val is >=0, just like
2074 gst_query_new_convert() has. (#315895)
2076 2005-09-30 Edward Hervey <edward@fluendo.com>
2078 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2079 Let's not iterate pads we're not interested in, it avoids getting
2080 sky-high refcounts on sinkpad.
2082 2005-09-30 Wim Taymans <wim@fluendo.com>
2084 * gst/gstelement.c: (gst_element_set_state),
2085 (gst_element_change_state):
2086 Small tweak, element in ASYNC remains ASYNC.
2088 2005-09-30 Wim Taymans <wim@fluendo.com>
2090 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2091 Only error is an error.
2093 * gst/gstbin.c: (gst_bin_change_state):
2096 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2097 Also call pad_block in pad alloc.
2099 * gst/gstutils.c: (gst_flow_get_name):
2102 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2104 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2105 (gst_base_src_get_range):
2106 Fix documentation typos. Add some more debug info.
2108 2005-09-29 David Schleef <ds@schleef.org>
2110 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2111 more end-user friendly.
2112 * tools/gst-inspect.c: (main): Check if command-line argument is
2113 a file and attempt to load that file as a plugin.
2115 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2117 * check/gst/gstbin.c:
2118 * check/states/sinks.c:
2119 fix tests for the new warning
2120 * check/gst/gstpipeline.c:
2121 add a test for pipeline and bus interaction
2123 elements should be NULL if they get disposed; add a warning if not
2125 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2128 for 2.6 refcounting, make debug log more correct by printing
2129 the actual refcounts at the time of swap (Wim)
2131 2005-09-29 Andy Wingo <wingo@pobox.com>
2133 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2134 removes signal watches previously added via
2135 gst_bus_add_signal_watch.
2136 (gst_bus_add_signal_watch): Don't return the source id, just store
2137 it on the bus if there wasn't an id already.
2139 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2140 add_signal_watch and remove_signal_watch.
2142 2005-09-29 Edward Hervey <edward@fluendo.com>
2144 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2145 Better if we actually iterate the list :)
2147 2005-09-29 Wim Taymans <wim@fluendo.com>
2149 * check/gst/gstbin.c: (GST_START_TEST):
2150 Change for new bus API.
2152 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2153 (send_messages), (GST_START_TEST), (gstbus_suite):
2154 Change for new bus signal API.
2156 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2157 (gst_bus_source_prepare), (gst_bus_source_check),
2158 (gst_bus_create_watch), (gst_bus_add_watch_full),
2159 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2160 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2162 Remove support for multiple GSources operating on different
2163 message types as it is too complex and unneeded when using
2165 Added support for receiving signals from the bus.
2167 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2169 * docs/libs/tmpl/gstdataprotocol.sgml:
2170 * docs/manual/advanced-dataaccess.xml:
2171 * gst/elements/gstcapsfilter.c:
2173 rename filter-caps to caps property
2175 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2177 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2178 More robust fraction string parsing.
2180 * docs/pwg/appendix-porting.xml:
2181 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2183 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2185 * gst/gstcaps.c: (gst_caps_do_simplify):
2186 Thou shalt not free a structure and then continue using it
2187 in the next loop iteration.
2189 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2191 Add test case for caps simplification.
2193 2005-09-29 Wim Taymans <wim@fluendo.com>
2195 * check/gst/gstbin.c: (GST_START_TEST):
2198 2005-09-29 Wim Taymans <wim@fluendo.com>
2200 * check/gst/gstbin.c: (GST_START_TEST):
2203 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2204 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2205 (find_element), (gst_bin_sort_iterator_next),
2206 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2207 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2208 (gst_bin_change_state), (gst_bin_dispose):
2209 A bin does not have a bus, it gets the bus from the parent.
2211 * gst/gstelement.c: (gst_element_requires_clock),
2212 (gst_element_provides_clock), (gst_element_is_indexable),
2213 (gst_element_is_locked_state), (gst_element_change_state),
2214 (gst_element_set_bus_func):
2217 * gst/gstpipeline.c: (gst_pipeline_class_init),
2218 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2219 The pipeline provides a bus.
2221 2005-09-28 Johan Dahlin <johan@gnome.org>
2223 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2224 gst_structure_get_enum instead of gst_structure_get_int
2226 * gst/gststructure.c (gst_structure_get_enum): Impl.
2228 * gst/gststructure.h (gst_structure_get_enum): Add
2230 * docs/gst/gstreamer-sections.txt: Ditto
2232 * gst/gstmessage.c (gst_message_new_state_changed): Use
2233 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2234 which does introspection.
2235 Reviewed by Christian Schaller
2237 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2239 * gst/gstinfo.c: (gst_debug_log_default):
2240 don't do dummy g_strdup()s
2241 * libs/gst/controller/gstcontroller.c:
2242 (on_object_controlled_property_changed),
2243 (gst_controlled_property_new), (gst_controller_new_valist),
2244 (gst_controller_new_list),
2245 (gst_controller_remove_properties_valist), (gst_controller_set),
2246 (gst_controller_get), (gst_controller_sync_values),
2247 (gst_controller_get_value_array), (_gst_controller_class_init),
2248 (gst_controller_get_type):
2249 * libs/gst/controller/gstcontroller.h:
2250 * libs/gst/controller/gstinterpolation.c:
2251 (gst_controlled_property_find_timed_value_node):
2252 convert // to /**/ comments
2254 2005-09-28 Wim Taymans <wim@fluendo.com>
2256 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2257 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2258 (gst_bus_sync_signal_handler):
2260 Added async-message and sync-message signals to the bus.
2261 Added helper BusFunc to emit signals for all posted messages.
2263 * gst/gstmessage.c: (gst_message_type_get_name),
2264 (gst_message_type_to_quark), (gst_message_get_type):
2266 Register quarks for message names.
2268 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2270 * docs/libs/gstreamer-libs-sections.txt:
2271 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2272 (gst_controller_new_list):
2273 * libs/gst/controller/gstcontroller.h:
2274 added another constructor for language bindings
2276 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2278 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2282 * gst/gstinfo.c: (_gst_debug_init):
2283 slightly more readable color for refcount debugging
2285 2005-09-28 Wim Taymans <wim@fluendo.com>
2287 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2288 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2289 (find_element), (gst_bin_sort_iterator_next),
2290 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2291 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2292 (gst_bin_change_state), (gst_bin_dispose):
2293 Small doc fixes. get_clock -> provide_clock.
2295 * gst/gstelement.c: (gst_element_class_init),
2296 (gst_element_provides_clock), (gst_element_provide_clock),
2297 (gst_element_get_clock), (gst_element_commit_state),
2298 (gst_element_lost_state):
2300 Make get/set_clock() symetric. Add provide_clock vmethod since
2301 that is actually what this function does.
2303 * gst/gstpipeline.c: (gst_pipeline_class_init),
2304 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2305 (gst_pipeline_get_clock):
2306 get_clock -> provide_clock.
2308 2005-09-28 Andy Wingo <wingo@pobox.com>
2310 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2311 lieu of real docs...
2313 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2315 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2317 * gst/elements/gstcapsfilter.c:
2318 * gst/elements/gstfakesink.c:
2319 * gst/elements/gstfakesrc.c:
2320 * gst/elements/gstfdsink.c:
2321 * gst/elements/gstfdsrc.c:
2322 * gst/elements/gstfilesink.c:
2323 * gst/elements/gstfilesrc.c:
2324 * gst/elements/gstidentity.c:
2325 * gst/elements/gsttee.c:
2326 * gst/elements/gsttypefindelement.c:
2327 Make element details static.
2329 2005-09-28 Wim Taymans <wim@fluendo.com>
2331 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2332 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2333 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2334 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2335 (gst_bin_change_state), (gst_bin_dispose):
2336 Some documentation updates.
2337 Clean up dispose handlers.
2339 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2340 * gst/gstpad.c: (gst_pad_dispose):
2341 Clean up dispose handler.
2343 * gst/gstpipeline.c: (gst_pipeline_change_state):
2344 Removed spurious UNLOCK.
2346 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2348 * docs/gst/gstreamer-sections.txt:
2349 * gst/base/gstbasesrc.h:
2354 * gst/gstpipeline.c:
2355 * gst/gstpipeline.h:
2358 added two new functions to the docs
2359 documents all undocumented GstXXXFlags
2360 completed some incomplete docs
2362 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2364 * gst/gstbin.c: (gst_bin_dispose):
2365 * gst/gstelement.c: (gst_element_dispose):
2366 remove now useless and leaky resurrection code in dispose
2367 * gst/base/gstbasesrc.c: (gst_base_src_init):
2368 * gst/gstelementfactory.c: (gst_element_factory_create):
2369 * gst/gstobject.c: (gst_object_set_parent):
2372 2005-09-27 Wim Taymans <wim@fluendo.com>
2374 * docs/design/part-TODO.txt:
2377 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2378 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2379 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2380 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2381 (gst_bin_change_state):
2383 Remove element variable, we keep element info in the iterator now.
2385 2005-09-27 Andy Wingo <wingo@pobox.com>
2387 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2390 2005-09-27 Wim Taymans <wim@fluendo.com>
2392 * check/gst/gstbin.c: (GST_START_TEST):
2393 Enable check that works now.
2395 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2396 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2397 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2398 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2399 (gst_bin_change_state):
2401 Redid the state change algorithm using a topological sort algo.
2402 Handles all cases correctly.
2403 Exposed iterator for state change order.
2406 Temp storage for state changes. Need to get rid of this soon.
2408 2005-09-27 Wim Taymans <wim@fluendo.com>
2410 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2411 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2412 (link_fold_func), (gst_pad_proxy_setcaps):
2413 Leak fixes, the fold functions need to unref the passed object and
2414 _get_parent_*() returns ref to parent.
2416 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2418 * check/gst/gstbuffer.c: (test_make_writable):
2419 Plug leak in test case and fix 'make check-valgrind'
2421 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2423 * gst/gstbuffer.c: (gst_subbuffer_init):
2424 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2425 works correctly in all circumstances (we could have just copied
2426 the parent buffer's readonly flag, but conceptually it seems
2427 cleaner to mark all subbuffers as read-only). (based on patch
2428 by Alessandro Decina, #314710).
2430 * check/gst/gstbuffer.c: (create_read_only_buffer),
2431 (test_make_writable), (test_subbuffer_make_writable),
2433 Add some tests for gst_buffer_make_writable().
2435 2005-09-27 Wim Taymans <wim@fluendo.com>
2437 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2438 use gst_object_has_ancestor().
2440 * gst/gstobject.c: (gst_object_has_ancestor):
2442 gst_object_has_ancestor() copied from gstbin.c as it is a
2445 * tests/instantiate/create.c: (create_all_elements):
2446 * tests/lat.c: (handoff_src), (handoff_sink):
2447 * tests/sched/runxml.c: (main):
2448 * tests/seeking/seeking1.c: (main):
2449 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2451 Fix compilation of some tests.
2453 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2456 Remove comment. GST_TYPE_G_ERROR is here to stay,
2457 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2460 2005-09-26 Wim Taymans <wim@fluendo.com>
2462 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2463 Added check that shows error in state change order.
2465 2005-09-26 Wim Taymans <wim@fluendo.com>
2467 * gst/gstbin.c: (gst_bin_change_state):
2468 Make state change function use 3 queues again, we were
2469 adding elements in the wrong order.
2471 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2474 * gst/gstpad.c: (gst_pad_dispose):
2475 Added some debug info first.
2477 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2479 * docs/design/draft-push-pull.txt:
2480 * docs/design/part-events.txt:
2481 * docs/design/part-overview.txt:
2482 * docs/design/part-scheduling.txt:
2483 Replace all _pull_region() with _pull_range()
2485 2005-09-26 Andy Wingo <wingo@pobox.com>
2487 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2489 * check/gst-libs/controller.c: Update for controller api change.
2492 * tests/Makefile.am:
2493 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2494 over by GLib bug 118439.
2496 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2497 routines to a function.
2499 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2501 * libs/gst/controller/gsthelper.c:
2502 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2503 (gst_object_sync_values): Renamed from sink_values. Ugh.
2505 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2507 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2508 Renamed from controller_key, as it is exported.
2510 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2512 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2517 * gst/gstpadtemplate.h:
2520 * gst/gstqueryutils.c:
2521 * gst/gstqueryutils.h:
2522 remove queryutils headers after moving the two used functions
2523 to gstquery. also fixes build problem for gstsiddec
2525 2005-09-26 Michael Smith <msmith@fluendo.com>
2527 * tools/gst-launch.1.in:
2528 Correct documentation in manpage of debug syntax
2530 2005-09-26 Wim Taymans <wim@fluendo.com>
2532 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2533 (gst_base_src_is_seekable), (gst_base_src_change_state):
2534 Some more debugging info.
2536 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2538 * docs/gst/gstreamer-sections.txt:
2539 * gst/base/gstbasetransform.h:
2543 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2545 * docs/gst/.cvsignore:
2546 * docs/gst/tmpl/.cvsignore:
2547 * docs/gst/tmpl/gstpipeline.sgml:
2548 * docs/gst/tmpl/gstplugin.sgml:
2549 * gst/gstpipeline.c:
2552 inlined the last two docs files
2553 removed the tmpl directory from cvs (no more conflicts here!)
2555 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2557 * docs/gst/gstreamer-sections.txt:
2558 * docs/gst/tmpl/.cvsignore:
2559 * docs/gst/tmpl/gstpad.sgml:
2560 * docs/gst/tmpl/gstpadtemplate.sgml:
2562 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2563 (gst_pad_finalize), (gst_pad_set_pad_template):
2565 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2566 (gst_pad_template_class_init), (gst_pad_template_init),
2567 (gst_pad_template_dispose), (name_is_valid),
2568 (gst_static_pad_template_get), (gst_pad_template_new),
2569 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2570 (gst_pad_template_pad_created):
2571 * gst/gstpadtemplate.h:
2572 inlined two more docs
2573 factored gstpadtemplate out of gstpad
2575 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2577 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2578 (test_children_state_change_order_semi_sink):
2579 Fix test case: we can't rely on a fixed state change order when
2580 going from READY => PAUSED because the sink might commit its
2581 new state first when the first buffer created by the source
2582 reaches the sink before the source has finished its change state.
2583 (Test case still fails at times, see #316856, comment 5 onwards)
2585 2005-09-24 Wim Taymans <wim@fluendo.com>
2587 * docs/design/part-events.txt:
2588 * docs/design/part-gstbus.txt:
2589 * docs/design/part-gstpipeline.txt:
2590 * docs/design/part-messages.txt:
2591 * docs/design/part-overview.txt:
2592 * docs/design/part-segments.txt:
2599 * gst/gstiterator.c:
2600 Various documentation updates.
2602 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2605 Well, that's embarassing. Luckily we weren't using
2606 GST_CLOCK_DIFF anywhere.
2608 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2610 * common/gtk-doc.mak:
2611 don't fail on building XML, FC4 slave shows a bunch of doc
2612 missing bits that I don't get
2614 * gst/gstpipeline.c:
2615 * gst/gststructure.c:
2618 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2620 * docs/design/part-gstbin.txt:
2621 * docs/design/part-gstbus.txt:
2623 Add blurb about how the bus goes into flushing mode and
2624 drops all messages when its bin goes from READY into NULL
2627 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2629 * docs/gst/gstreamer-sections.txt:
2630 * gst/gststructure.c: (gst_structure_get_clock_time):
2631 * gst/gststructure.h:
2632 add a method to get a GstClockTime out of a structure
2634 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2636 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2637 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2638 Added test to check state change order in bins (can still be made
2639 to fail here under heavy disk load; bails out with 'Push on pad
2640 fakesink:sink0, but it was not activated in push mode').
2642 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2643 Fix state change order when there is only a semi sink (#316856)
2645 * gst/gstbus.c: (gst_bus_class_init):
2646 Use _class_peek_parent(), not _class_ref(); fix docs to say
2647 'default main context' instead of 'mainloop' where that is
2650 * gst/gstelement.c: (gst_element_commit_state),
2651 (gst_element_set_state):
2652 Fix typos in debug messages
2654 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2657 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2658 * gst/gstpluginfeature.c:
2661 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2662 change an assert into an error until it gets fixed properly
2664 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2666 * docs/gst/gstreamer-sections.txt:
2667 * docs/gst/tmpl/.cvsignore:
2668 * docs/gst/tmpl/gstelement.sgml:
2669 * docs/gst/tmpl/gstinfo.sgml:
2670 * docs/gst/tmpl/gstobject.sgml:
2675 * gst/gstobject.c: (gst_object_class_init):
2677 inlined 3 more biiiig doc files and added some missing docs on the fly
2679 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2681 * check/gst/.cvsignore:
2682 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2683 * gst/gstregistryxml.c: (load_plugin),
2684 (gst_registry_xml_save_plugin):
2685 put back source in registry. add checks for find_plugin.
2686 * testsuite/states/bin.c: (assert_state), (empty_bin),
2687 (test_adding_one_element), (main):
2688 * testsuite/states/locked.c: (main):
2689 some compile/run fixes
2691 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2693 * check/gst/gstvalue.c: (GST_START_TEST):
2694 fix leaks in the test itself
2696 2005-09-22 Wim Taymans <wim@fluendo.com>
2698 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2699 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2700 (gst_base_sink_query):
2701 Prepare for more accurate position reporting and query
2704 * gst/gstelement.c: (gst_element_send_event),
2705 (gst_element_set_state):
2708 2005-09-22 Wim Taymans <wim@fluendo.com>
2710 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2711 (gst_query_parse_segment):
2714 Add segment query for future use.
2716 2005-09-22 Wim Taymans <wim@fluendo.com>
2718 * gst/gstbin.c: (gst_bin_add_func):
2719 Some more debug info.
2721 * gst/gstelement.c: (gst_element_send_event):
2725 Don't know how flags got broken.
2730 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2732 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2733 Add simplistic test suite for GST_TYPE_DATE serialisation and
2736 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2738 * docs/gst/gstreamer-sections.txt:
2739 * gst/gststructure.c: (gst_structure_set_valist),
2740 (gst_structure_get_date):
2741 * gst/gststructure.h:
2742 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2743 (gst_date_copy), (gst_value_compare_date),
2744 (gst_value_serialize_date), (gst_value_deserialize_date),
2745 (gst_value_transform_date_string),
2746 (gst_value_transform_string_date), (_gst_value_initialize):
2748 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2749 bunch of utility functions along with a hack that checks that
2750 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2751 is required. Part of the grand scheme in #170777.
2753 2005-09-22 Andy Wingo <wingo@pobox.com>
2755 * gst/gstconfig.h.in: Psych out gtk-doc.
2757 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2759 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2761 * tools/gst-inspect.c (print_element_list): Plug some
2762 inconsequential leaks.
2764 * gst/gstregistry.c (gst_registry_get_default): Doc.
2766 * check/gst/gstplugin.c:
2767 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2768 * gst/gstelementfactory.c (gst_element_factory_create):
2769 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2772 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2773 (gst_plugin_feature_load): Doc, don't eat refs.
2775 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2776 (gst_plugin_list_free): Doc.
2777 (gst_plugin_load_file): Doc updates.
2779 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2780 accessors returning refcounted objects, return a ref.
2782 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2783 accessor for caps. IDEMPOTENCE. Oh yes.
2785 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2787 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2789 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2790 (_gst_debug_register_funcptr):
2791 Add mutex to serialise access to the hash table with
2792 the function pointer => function name string mapping;
2793 make that hash table static scope (#316809).
2795 * gst/registries/.cvsignore:
2796 Remove left-over file.
2798 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2800 * docs/pwg/appendix-porting.xml:
2801 And something about newsegment events and caps-on-buffers to
2802 the porting guide (feel free to improve).
2804 2005-09-21 Andy Wingo <wingo@pobox.com>
2806 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2807 data and event probes on the same pad.
2808 (test_buffer_probe_once): Test that removing probes from within
2809 the probe functions works.
2811 2005-09-21 Andy Wingo <wingo@pobox.com>
2813 * check/gst/gstutils.c: New file.
2814 (test_buffer_probe_n_times): A simple buffer probe test. More to
2817 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2818 have-data::buffer, not have-data.
2819 (gst_pad_add_event_probe): Likewise for have-data::event.
2820 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2821 peer' isn't quite right yet though.
2822 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2823 (gst_pad_remove_data_probe): Change to take the guint handler_id
2824 as their arg, not the function+data, which is more glib-like.
2826 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2827 the signal emission to indicate if the data is a buffer or an
2829 (gst_pad_get_type): Initialize buffer and event quarks.
2830 (gst_pad_class_init): have-data is now a detailed signal, yes it
2833 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2835 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2836 * gst/gstutils.c: (gst_util_set_value_from_string),
2837 (gst_util_set_object_arg):
2838 Don't put functional code in g_return_if_fail() or
2839 g_return_val_if_fail() statements, otherwise things will
2840 break when G_DISABLE_CHECKS is defined during compilation.
2842 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2844 * docs/gst/tmpl/.cvsignore:
2845 * docs/gst/tmpl/gstvalue.sgml:
2848 inlied another one and added some obvious docs
2850 2005-09-21 Wim Taymans <wim@fluendo.com>
2852 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2853 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2854 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2855 (gst_fdsrc_get_property), (gst_fdsrc_create):
2856 * gst/elements/gstfdsrc.h:
2857 Properly implement fdsrc. Removed signal and timeout,
2858 better implemented somewhere else.
2860 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2862 * docs/gst/tmpl/.cvsignore:
2863 * docs/gst/tmpl/gstimplementsinterface.sgml:
2864 * gst/gstinterface.c:
2867 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2869 * docs/gst/gstreamer-sections.txt:
2870 * docs/gst/tmpl/.cvsignore:
2871 * docs/gst/tmpl/gstenumtypes.sgml:
2872 remove obsolete doc file
2874 2005-09-21 David Schleef <ds@schleef.org>
2876 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2877 little beer, fix a little leak.
2879 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2881 * docs/gst/gstreamer-docs.sgml:
2882 * docs/gst/gstreamer-sections.txt:
2883 * docs/gst/tmpl/.cvsignore:
2888 * gst/gstindex.c: (gst_index_class_init):
2890 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2891 (gst_index_factory_class_init), (gst_index_factory_init),
2892 (gst_index_factory_finalize), (gst_index_factory_new),
2893 (gst_index_factory_destroy), (gst_index_factory_find),
2894 (gst_index_factory_create), (gst_index_factory_make):
2895 * gst/gstindexfactory.h:
2896 * gst/gstpluginfeature.c:
2897 * gst/gstpluginfeature.h:
2898 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2899 more docs inlined, splitted gstindex.{c,h}
2901 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2903 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2906 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2908 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2909 Set sync to FALSE by default.
2911 2005-09-20 Wim Taymans <wim@fluendo.com>
2913 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2914 (gst_base_sink_init):
2915 Make sync property settable from subclass.
2917 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2918 (gst_fake_sink_change_state):
2919 Set sync to FALSE by default.
2921 2005-09-20 Wim Taymans <wim@fluendo.com>
2923 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2924 * tools/gst-launch.c: (main):
2925 The timeout handler should have lower priority than the source
2926 so we don't timeout before popping a message with 0 timeout.
2927 Dump error messages after failed state change.
2929 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2931 * tools/gst-inspect.c: (print_element_properties_info):
2934 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * check/gst/gstevent.c:
2937 * gst/elements/gstfakesink.c:
2938 * gst/elements/gstfakesink.h:
2939 remove the sync property from fakesink.
2940 has the side effect of setting sync TRUE
2941 for fakesink, which is a change. Anyone who knows how
2942 to fix this nicely in a GObject-y way, feel free.
2944 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2946 * docs/gst/gstreamer-docs.sgml:
2947 remove probe refsection
2949 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2951 * check/Makefile.am:
2952 disable valgrinding the controller test again
2953 * docs/gst/gstreamer-sections.txt:
2954 update for api-changes
2956 2005-09-20 Wim Taymans <wim@fluendo.com>
2958 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2959 (gst_base_sink_set_property), (gst_base_sink_get_property),
2960 (gst_base_sink_do_sync):
2961 * gst/base/gstbasesink.h:
2962 Added sync property to basesink to disable clock sync.
2964 2005-09-20 Andy Wingo <wingo@pobox.com>
2966 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2967 eating the caller's refcount.
2969 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2970 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2973 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2974 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2975 of GLib 2.8 public, so we can know which refcount to check in
2978 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2979 (gst_object_init): Only set the gst refcount if we're going ahead
2980 with the refcount hack.
2982 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2984 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2985 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2986 more leaks plumbed, added more debug-logging
2990 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2993 remove include of gstmemchunk.h
2995 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2997 * gst/gstclock.c: (_gst_clock_id_free):
2998 Commit from the Political Party For More Atomic CVS Commits,
2999 so that people don't waste too much of their day fishing
3000 out obvious leaks out of massive commits.
3001 Oh, and fix a pretty damn obvious leak in the memchunk
3004 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3006 * check/Makefile.am:
3007 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3008 plug mem-leak, re-add to valgrindable tests
3010 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3013 unbreak the build for those who have chronic arthritis
3014 and typing "make check" is just too taxing on the hands
3016 2005-09-20 Andy Wingo <wingo@pobox.com>
3018 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3019 really want it out, you should fix plugins at the same time.
3021 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3024 * docs/gst/gstreamer-sections.txt:
3026 added missing symbols to api docs
3027 disable ref-count hack if we have glib >= 2.8
3029 2005-09-19 David Schleef <ds@schleef.org>
3031 * docs/gst/Makefile.am: Ignore a few more internal headers
3032 * docs/gst/gstreamer-docs.sgml: Remove old sections
3033 * docs/gst/gstreamer-sections.txt: Remove old sections
3034 * docs/gst/tmpl/gstobject.sgml: update
3035 * docs/gst/tmpl/gstplugin.sgml: update
3036 * docs/gst/tmpl/gstpluginfeature.sgml: update
3037 * docs/random/ds/0.9-suggested-changes: update.
3038 * gst/Makefile.am: remove memchunk and trashstack, since they're
3040 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3041 * gst/gst.h: don't include some headers
3042 * gst/gstchildproxy.c: add gstmarshal.h
3043 * gst/gstclock.c: Don't use memchunks
3044 * gst/gstminiobject.c: Add some docs
3045 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3046 * gst/gstobject.h: same
3047 * gst/gstplugin.c: include gstmacros.h
3048 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3049 * gst/gstquery.c: don't use memchunks
3050 * gst/gstregistry.c: rename gst_registry_deinit()
3051 * gst/gstregistry.h: same
3053 2005-09-19 David Schleef <ds@schleef.org>
3055 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3056 * docs/libs/gstreamer-libs-sections.txt:
3057 * docs/libs/tmpl/gstgetbits.sgml:
3058 * docs/libs/tmpl/gstputbits.sgml:
3060 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3062 * win32/gstenumtypes.c:
3063 * win32/gstenumtypes.h:
3066 2005-09-19 Wim Taymans <wim@fluendo.com>
3068 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3069 Automatically PAUSE and RESUME a pipeline when a flushing seek
3072 2005-09-19 Andy Wingo <wingo@pobox.com>
3074 * gst/gstregistry.h: Spacing fixen.
3076 2005-09-19 Wim Taymans <wim@fluendo.com>
3078 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3079 Handle state change failure more correctly.
3081 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3083 * check/Makefile.am:
3084 * check/pipelines/cleanup.c: (run_pipeline):
3085 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3087 enable cleanup again after fixing the leak
3089 some more info on docs
3091 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3093 * check/Makefile.am:
3094 re-enable tests now that leaks are plugged
3096 * check/gst/gstbin.c:
3097 * check/gst/gstpipeline.c:
3098 add some more tests while fixing leaks
3100 make sure binaries are uptodate when valgrinding/gdbing
3102 * gst/gstelementfactory.c:
3103 remove a ref too many, and add a FIXME for when we get
3104 round to disposing of classes
3106 fix the refcounting when loading a plugin from a file and
3107 the code pretends that the pointer is the same even though
3108 of course it can change
3109 * gst/gstpluginfeature.c:
3110 unref plugins marked cached (a bit confusing as a name)
3111 as the docs state should be done
3112 various doc additions to explain refcounting
3113 * gst/gstregistry.c:
3114 * gst/gstregistryxml.c:
3117 2005-09-19 Wim Taymans <wim@fluendo.com>
3119 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3120 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3121 (send_messages), (GST_START_TEST), (gstbus_suite):
3122 * check/gst/gstpipeline.c: (GST_START_TEST):
3123 * check/pipelines/cleanup.c: (run_pipeline):
3124 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3126 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3127 (gst_bus_source_check), (gst_bus_source_dispatch),
3128 (gst_bus_create_watch), (gst_bus_add_watch_full),
3129 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3131 * tools/gst-launch.c: (event_loop):
3132 * tools/gst-md5sum.c: (event_loop):
3133 GstBusHandler -> GstBusFunc, return value has the same meaning as
3134 any other GSource (FALSE == remove source).
3135 _add_watch() and _add_watch_full() now take a MessageType mask to
3136 only handle specific types of messages.
3137 _poll() returns the GstMessage instead of the message type to avoid
3139 _have_pending() takes a MessageType mask now too.
3140 Added testsuite for multiple bus watches.
3141 Fix testsuites and applications for new bus API.
3143 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3145 * check/Makefile.am:
3146 mark a bunch of the tests as to fix until we fix them
3148 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3151 use GST_PLUGIN settings for valgrind tests as well, so we're
3152 valgrinding the correct thing
3153 * gst/gst.c: (init_post):
3156 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3158 * gst/gst.c: (init_post), (gst_deinit):
3159 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3160 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3161 * gst/gstindex.c: (gst_index_factory_class_init),
3162 (gst_index_factory_finalize):
3163 * gst/gstobject.c: (gst_object_dispose):
3164 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3165 (gst_plugin_load_file), (gst_plugin_desc_free):
3166 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3167 (gst_plugin_feature_finalize):
3168 * gst/gstregistry.c: (gst_registry_class_init),
3169 (gst_registry_init), (gst_registry_finalize),
3170 (gst_registry_get_default), (gst_registry_deinit):
3171 * gst/gstregistry.h:
3172 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3173 various cleanups and memleak plugging. make valgrind is happy now.
3175 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3178 add a check-valgrind target
3180 2005-09-18 David Schleef <ds@schleef.org>
3182 * tools/gst-inspect.c: Revert the GOption code.
3184 2005-09-17 David Schleef <ds@schleef.org>
3186 * check/Makefile.am: Fix environment variables.
3187 * check/gst/gstplugin.c: Fix for API changes.
3188 * tools/gst-inspect.c: Fix for API changes.
3189 * tools/gst-xmlinspect.c: Fix for API changes.
3190 * gst/gstelementfactory.c:
3193 * gst/gstpluginfeature.c:
3194 * gst/gstpluginfeature.h:
3195 * gst/gstregistry.c:
3196 * gst/gstregistry.h:
3197 * gst/gstregistryxml.c:
3198 * gst/gsttypefind.c:
3199 * gst/gsttypefindfactory.c:
3200 * gst/indexers/gstfileindex.c:
3201 * gst/indexers/gstmemindex.c:
3202 * gst/schedulers/Makefile.am:
3203 Change registry to keep track of both plugins and features,
3204 removing the feature tracking from plugins themselves.
3206 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3208 * check/Makefile.am:
3209 * tools/gst-register.1.in:
3212 2005-09-15 David Schleef <ds@schleef.org>
3214 * check/gst/gstplugin.c:
3215 * gst/gstelementfactory.c:
3217 * gst/gstpluginfeature.c:
3218 * gst/gstregistry.c:
3219 Getting tired of debugging. Disabled all the unreffing of
3220 plugins and features, which fixes the segfaults, but of
3221 course leaks like crazy. At least playbin works.
3223 2005-09-15 David Schleef <ds@schleef.org>
3225 * check/gst/gstplugin.c: (register_check_elements),
3226 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3228 * gst/elements/gsttypefindelement.c: Fix refcounting.
3229 * gst/gsttypefind.c:
3230 * gst/gsttypefindfactory.c:
3231 * gst/gsttypefindfactory.h:
3233 2005-09-15 David Schleef <ds@schleef.org>
3235 * gst/gstindex.c: get refcounting correct.
3236 * gst/gstregistry.c: Handle the case where a feature/plugin is
3239 2005-09-15 David Schleef <ds@schleef.org>
3241 * check/Makefile.am:
3242 * check/gst/gstplugin.c: Add test
3243 * gst/gstplugin.c: Fix problems noticed by testsuite
3245 * gst/gstregistry.c:
3246 * gst/gstregistry.h:
3248 2005-09-15 David Schleef <ds@schleef.org>
3250 * gst/gstplugin.c: Implement semi-decent recounting and locking
3251 in plugins and plugin features.
3253 * gst/gstpluginfeature.c:
3254 * gst/gstpluginfeature.h:
3255 * gst/gstregistry.c:
3257 2005-09-15 Michael Smith <msmith@fluendo.com>
3259 * gst/gstregistry.c: (gst_registry_get_feature_list):
3260 Implement this. Makes oggdemux work; decodebin still broken.
3262 2005-09-14 David Schleef <ds@schleef.org>
3264 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3266 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3267 * gst/check/Makefile.am:
3268 * libs/gst/controller/Makefile.am:
3269 * libs/gst/dataprotocol/Makefile.am:
3271 2005-09-14 David Schleef <ds@schleef.org>
3273 * configure.ac: Remove getbits library. Nothing uses it, and
3274 it should be in something like liboil if someone did want
3276 * libs/gst/Makefile.am:
3277 * libs/gst/getbits/Makefile.am:
3278 * libs/gst/getbits/gbtest.c:
3279 * libs/gst/getbits/getbits.c:
3280 * libs/gst/getbits/getbits.h:
3281 * libs/gst/getbits/gstgetbits_generic.c:
3282 * libs/gst/getbits/gstgetbits_i386.s:
3283 * libs/gst/getbits/gstgetbits_inl.h:
3285 2005-09-14 David Schleef <ds@schleef.org>
3287 * gst/Makefile.am: Dist glib-compat.h
3289 2005-09-14 David Schleef <ds@schleef.org>
3291 * configure.ac: Remove gst/registries, since it's no longer used.
3292 * gst/registries/Makefile.am:
3293 * gst/registries/gstlibxmlregistry.c:
3294 * gst/registries/gstlibxmlregistry.h:
3295 * gst/registries/gstxmlregistry.c:
3296 * gst/registries/gstxmlregistry.h:
3297 * gst/registries/registrytest.c:
3299 2005-09-14 David Schleef <ds@schleef.org>
3301 * gst/glib-compat.h:
3302 * gst/gstregistryxml.c:
3303 Convergence is near. Seriously.
3305 2005-09-14 David Schleef <ds@schleef.org>
3307 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3308 * gst/glib-compat.h:
3309 Attempt #4 to appease the buildbots.
3311 2005-09-14 David Schleef <ds@schleef.org>
3313 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3316 2005-09-14 David Schleef <ds@schleef.org>
3318 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3321 2005-09-14 David Schleef <ds@schleef.org>
3323 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3326 2005-09-14 David Schleef <ds@schleef.org>
3328 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3329 * gst/glib-compat.h: Add some functions that are in newer versions
3330 of glib than we care to require.
3331 * gst/gstregistryxml.c: Use them.
3333 2005-09-14 David Schleef <ds@schleef.org>
3335 * po/POTFILES.in: remove gst-register.c
3337 2005-09-14 David Schleef <ds@schleef.org>
3339 * docs/gst/gstreamer-docs.sgml:
3340 * docs/gst/gstreamer-sections.txt:
3341 * docs/gst/gstreamer.types:
3342 * docs/gst/tmpl/gstelement.sgml:
3343 * docs/gst/tmpl/gstplugin.sgml:
3344 * docs/gst/tmpl/gstpluginfeature.sgml:
3345 Documentation updates for registry changes.
3347 2005-09-14 David Schleef <ds@schleef.org>
3349 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3350 because we don't require glib-2.8.
3352 2005-09-14 David Schleef <ds@schleef.org>
3354 * gst/gstregistryxml.c: Added. Essentially moved out of the
3355 registries directory.
3357 2005-09-14 David Schleef <ds@schleef.org>
3359 * check/Makefile.am:
3360 * check/generic/states.c:
3364 * gst/gst_private.h:
3365 * gst/gstelementfactory.c:
3370 * gst/gstpluginfeature.c:
3371 * gst/gstpluginfeature.h:
3372 * gst/gstregistry.c:
3373 * gst/gstregistry.h:
3374 * gst/gstregistrypool.c: remove
3375 * gst/gstregistrypool.h: remove
3376 * gst/gsttypefind.c:
3377 * gst/gsttypefindfactory.c:
3379 * tools/Makefile.am:
3380 * tools/gst-compprep.c:
3381 * tools/gst-inspect.c:
3382 * tools/gst-register.c: remove
3383 * tools/gst-xmlinspect.c:
3384 Registry rewrite. Changes registry from being a file created
3385 by a tool into a simple cache file created automatically by
3386 libgstreamer. Removed gst-register (because it's no longer
3387 needed). Remove registry pools, because we only have one
3388 registry implementation (XML). Fix up other subsystems as
3391 2005-09-13 Michael Smith <msmith@fluendo.com>
3393 * gst/gstconfig.h.in:
3394 Don't Use windows linking attributes for MinGW. Fixes #316157
3396 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3398 * gst/gstutils.c: (set_state_async_thread_func),
3399 (gst_element_set_state_async):
3400 Apparently people think it's better if this function doesn't
3401 try to set the state to whatever state was asked for on the first
3402 call to this function for any object. Seriously.
3404 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3406 * check/gst/gstpipeline.c: (GST_START_TEST):
3407 * docs/gst/gstreamer-sections.txt:
3408 * gst/gstutils.c: (set_state_async_thread_func),
3409 (gst_element_set_state_async):
3411 add a "gst_element_set_state_async" method that
3412 sets the state and starts a thread to make sure the state
3413 change completes as best as it can
3415 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3417 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3418 codify design+behaviour in testsuite after discussion
3420 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3422 * docs/gst/tmpl/gstelement.sgml:
3423 * docs/manual/appendix-quotes.xml:
3425 * gst/gstelement.c: (gst_element_set_state):
3428 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3430 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3431 (gst_base_transform_prepare_output_buf),
3432 (gst_base_transform_handle_buffer):
3433 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3434 (gst_capsfilter_prepare_buf):
3435 Remove the requirement for sub-classes to call the parent
3436 implementation of prepare_output_buffer with a wrapper function.
3439 * gst/gsttagsetter.h:
3442 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3444 * docs/gst/gstreamer-sections.txt:
3447 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3449 * docs/gst/gstreamer-sections.txt:
3450 * docs/gst/tmpl/gstelement.sgml:
3451 * docs/gst/tmpl/gstplugin.sgml:
3452 * gst/gstminiobject.c:
3454 docs now stop throwing warnings
3456 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3458 * docs/gst/gstreamer-sections.txt:
3459 * docs/gst/gstreamer.types:
3460 * docs/gst/tmpl/gstpad.sgml:
3461 * docs/gst/tmpl/gsttypes.sgml:
3462 * gst/base/gstadapter.h:
3463 * gst/base/gstbasesink.h:
3464 * gst/base/gstbasesrc.h:
3474 * gst/gststructure.c:
3475 * gst/registries/gstlibxmlregistry.h:
3476 various documentation fixes
3478 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3480 * docs/gst/gstreamer-sections.txt:
3481 * docs/gst/tmpl/gstvalue.sgml:
3482 rearrange gstvalue section
3483 * gst/gstutils.c: (gst_element_state_get_name):
3485 * gst/gstvalue.c: (_gst_value_initialize):
3489 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3491 * check/gst-libs/controller.c:
3493 * gst/base/gstbasetransform.c:
3494 (gst_base_transform_default_prepare_buf),
3495 (gst_base_transform_handle_buffer):
3496 * gst/base/gstbasetransform.h:
3497 Some more basetransform changes and fixes to enable sub-classes
3498 that modify buffer metadata only.
3499 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3500 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3501 (gst_capsfilter_prepare_buf):
3502 If the output pad has fixed allowed caps and input buffers
3503 don't have any, set the fixed caps on outgoing buffers.
3505 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3506 * check/elements/identity.c: (GST_START_TEST):
3507 Make the error a little clearer when the test fails because
3508 identity made a copy of the buffer.
3509 * docs/gst/gstreamer-sections.txt:
3510 New symbols in gstbasetransform.h
3511 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3512 (gst_base_transform_init), (gst_base_transform_transform_size),
3513 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3514 (gst_base_transform_default_prepare_buf),
3515 (gst_base_transform_get_unit_size),
3516 (gst_base_transform_buffer_alloc),
3517 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3518 (gst_base_transform_change_state),
3519 (gst_base_transform_set_passthrough),
3520 (gst_base_transform_set_in_place),
3521 (gst_base_transform_is_in_place):
3522 * gst/base/gstbasetransform.h:
3523 Change BaseTransform to separate in_place operate from same_caps
3524 output. in_place implies that the element can perform the transform
3525 on incoming buffers in-place, even if the caps on the output are
3527 Sub-class elements can now implement special buffer allocation
3528 methods for outgoing buffers if they wish to.
3529 Big documentation addition.
3530 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3531 * gst/elements/gstelements.c:
3532 Changes for basetransform modifications.
3533 * gst/elements/Makefile.am:
3534 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3535 Compile fix. Extra debug output.
3537 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3539 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3541 add tests for valid pad naming
3542 * gst/check/gstcheck.c: (gst_check_log_message_func),
3543 (gst_check_log_critical_func):
3545 remove printing of code, it is fragile when the code contains
3546 % and the line number is enough info
3547 * gst/check/gstcheck.h:
3548 * gst/gstpad.c: (gst_pad_template_new):
3551 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3554 say what CHECK flags we use
3555 * docs/libs/gstreamer-libs.types:
3556 * libs/gst/controller/Makefile.am:
3557 * libs/gst/controller/gst-controller.c:
3558 * libs/gst/controller/gst-controller.h:
3559 * libs/gst/controller/gst-helper.c:
3560 * libs/gst/controller/gst-interpolation.c:
3561 * libs/gst/controller/gstcontroller.c:
3562 * libs/gst/controller/gsthelper.c:
3563 * libs/gst/controller/gstinterpolation.c:
3564 * tools/gst-inspect.c: (print_plugin_info):
3565 we don't use dashes in header names
3567 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3569 * check/Makefile.am:
3570 * check/gst/.cvsignore:
3571 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3572 (gst_pipeline_suite), (main):
3573 adding a test for pipelines and state changes
3574 * gst/gstutils.c: (get_state_func):
3576 * gstreamer.spec.in:
3579 2005-09-08 Michael Smith <msmith@fluendo.com>
3581 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3582 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3583 (gst_file_src_is_seekable), (gst_file_src_get_size),
3584 (gst_file_src_start):
3585 * gst/elements/gstfilesrc.h:
3586 Various fixes for unseekable, unmmapable, and non-normal files, so
3587 that fallback to read() rather than mmap() works.
3588 * gst/gstevent.c: (gst_event_new_newsegment):
3589 Allow newsegment events with segment_start == segment_end, as will
3590 correctly happen if you use filesrc on a zero-size file, for
3593 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3595 * gst/gstplugin.c: (gst_plugin_load_file):
3596 Call g_module_close when we don't load the module
3598 * gst/registries/gstlibxmlregistry.c:
3599 (gst_xml_registry_get_property):
3600 Port leak fix from 0.8
3602 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3604 * docs/gst/gstreamer-docs.sgml:
3605 * docs/gst/tmpl/.cvsignore:
3606 * docs/gst/tmpl/gsttrace.sgml:
3607 * docs/gst/tmpl/gsttrashstack.sgml:
3616 * gst/gsttaginterface.c:
3617 * gst/gsttaginterface.h:
3620 * gst/gsttagsetter.c:
3621 * gst/gsttagsetter.h:
3624 * gst/gsttrashstack.c:
3625 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3626 inlined docs for gsttrace, gsttrashstack
3628 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3631 * gst/elements/gstbufferstore.h:
3632 * gst/elements/gsttypefindelement.c:
3633 * gst/elements/gsttypefindelement.h:
3635 * gst/gsttypefind.c:
3636 * gst/gsttypefind.h:
3637 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3638 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3639 (gst_type_find_factory_dispose),
3640 (gst_type_find_factory_unload_thyself),
3641 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3642 (gst_type_find_factory_get_caps),
3643 (gst_type_find_factory_get_extensions),
3644 (gst_type_find_factory_call_function):
3645 * gst/gsttypefindfactory.h:
3646 * gst/registries/gstlibxmlregistry.c:
3647 * gst/registries/gstxmlregistry.c:
3648 splitted gsttypefind into gsttypefind, gsttypefindfactory
3650 2005-09-07 Andy Wingo <wingo@pobox.com>
3652 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3653 condition whereby the pad's task function is entered before the
3654 pad_mode variable was set.
3656 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3658 * gst/gstpad.c: (gst_pad_alloc_buffer):
3659 Catch misbehaving pad_alloc functions that don't
3660 set up caps and do it for them.
3662 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3664 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3666 * docs/gst/tmpl/.cvsignore:
3667 * docs/gst/tmpl/gstmemchunk.sgml:
3668 * docs/gst/tmpl/gstparse.sgml:
3669 * docs/gst/tmpl/gsttaglist.sgml:
3670 * docs/gst/tmpl/gsttagsetter.sgml:
3671 * docs/gst/tmpl/gsttypefind.sgml:
3672 * docs/gst/tmpl/gsttypefindfactory.sgml:
3673 * gst/gstmemchunk.c:
3676 * gst/gsttaginterface.c:
3677 * gst/gsttypefind.c:
3678 * gst/gsttypefind.h:
3681 === release 0.9.2 ===
3683 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3688 releasing 0.9.2, "South"
3690 2005-09-05 Andy Wingo <wingo@pobox.com>
3692 * gst/registries/gstxmlregistry.h:
3693 * gst/registries/gstxmlregistry.c: Um... resurrect...
3695 * gst/registries/gstxmlregistry.h:
3696 * gst/registries/gstxmlregistry.c: and update to newer API.
3697 Incidentally they should be a bit faster now that they don't have
3700 2005-09-05 Andy Wingo <wingo@pobox.com>
3702 * gst/registries/gstxmlregistry.h:
3703 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3704 replaced by the libxml registry a while back
3706 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3708 * docs/gst/tmpl/gstplugin.sgml:
3709 * gst/elements/gstelements.c:
3711 * gst/gstplugin.c: (gst_plugin_register_func),
3712 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3713 (gst_plugin_get_source):
3715 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3716 (gst_xml_registry_save_plugin):
3717 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3718 (gst_xml_registry_save_plugin):
3719 * tools/gst-inspect.c: (print_plugin_info):
3720 add a "source" plugin description field, to represent the source
3721 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3722 will set it to PACKAGE, which is automake's idea of the name of
3725 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3731 * docs/faq/Makefile.am:
3732 * docs/gst/tmpl/gstelement.sgml:
3733 * docs/gst/tmpl/gsttypes.sgml:
3734 * docs/htmlinstall.mak:
3735 * docs/manual/Makefile.am:
3736 * docs/pwg/Makefile.am:
3737 reorganize doc build a little
3738 split out docbook and gtk-doc stuff
3739 have two separate --enable's and enable them through autogen
3740 but disable by default in configure (to be similar to other
3742 * gstreamer.spec.in:
3743 clean up docs install
3763 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3765 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3768 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3769 (gst_fake_sink_change_state):
3770 Make state change function thread-safe.
3772 * gst/gstpad.c: (gst_pad_alloc_buffer):
3773 Set offset on generic buffer allocated by fallback.
3775 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3777 * docs/gst/gstreamer-sections.txt:
3778 * docs/gst/tmpl/gstelement.sgml:
3780 * libs/gst/controller/gst-controller.c:
3781 (gst_controlled_property_set_interpolation_mode),
3782 (gst_controlled_property_new),
3783 (gst_controller_find_controlled_property):
3784 run the wingo-magic script against the docs
3786 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3788 * docs/gst/gstreamer-docs.sgml:
3789 * docs/gst/gstreamer-sections.txt:
3790 * docs/gst/tmpl/.cvsignore:
3791 * docs/gst/tmpl/gstelementdetails.sgml:
3792 * docs/gst/tmpl/gstelementfactory.sgml:
3795 * gst/gstelementfactory.c:
3796 * gst/gstelementfactory.h:
3797 merged elementdetails docs into elementfactory docs
3800 2005-09-02 Andy Wingo <wingo@pobox.com>
3802 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3803 consider this enum an enum and not a flags.
3805 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3807 * docs/gst/gstreamer-docs.sgml:
3808 * docs/gst/tmpl/.cvsignore:
3809 * docs/gst/tmpl/gstghostpad.sgml:
3810 * docs/gst/tmpl/gstiterator.sgml:
3811 * docs/gst/tmpl/gstmacros.sgml:
3812 * docs/gst/tmpl/gstrealpad.sgml:
3813 * docs/gst/tmpl/gstregistry.sgml:
3814 * docs/gst/tmpl/gstregistrypool.sgml:
3815 * docs/gst/tmpl/gststructure.sgml:
3816 * docs/gst/tmpl/gstsystemclock.sgml:
3817 * docs/gst/tmpl/gsttrace.sgml:
3818 * gst/gstghostpad.c:
3820 * gst/gstmemchunk.c:
3821 * gst/gstmemchunk.h:
3823 * gst/gstregistry.c:
3824 * gst/gstregistrypool.c:
3825 * gst/gststructure.c:
3826 * gst/gstsystemclock.c:
3829 2005-09-02 Andy Wingo <wingo@pobox.com>
3831 * gst/gstelement.h (GstState): Renamed from GstElementState,
3832 changed to be a normal enum instead of flags.
3833 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3834 munged to be GST_STATE_CHANGE_*.
3835 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3836 work with the new state representation.
3837 (GstStateChange): New enumeration of possible state transitions.
3838 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3839 (GstElementClass::change_state): Pass the GstStateChange along as
3840 an argument. Helps language bindings, so they don't have to use
3841 tricky lock-needing macros like GST_STATE_CHANGE ().
3843 * scripts/update-states (file): New script. Run it on a file to
3844 update it for state naming and API changes. Updates files in
3847 * All files updated for the new API.
3849 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3851 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3852 * gst/gstutils.c: (gst_util_set_value_from_string),
3853 (gst_util_set_object_arg):
3854 fix a bunch of unchecked return values
3855 * tools/gst-complete.c: (main):
3856 * gstreamer.spec.in:
3859 2005-09-01 Wim Taymans <wim@fluendo.com>
3861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3862 (gst_base_sink_event), (gst_base_sink_do_sync),
3863 (gst_base_sink_handle_event):
3864 * gst/base/gstbasesink.h:
3865 Handle newsegments more correctly.
3870 * gst/gstevent.c: (gst_event_new_newsegment):
3871 A newsegment cannot have a start_time of -1
3873 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3875 * win32/gstenumtypes.c:
3876 * win32/gstenumtypes.h:
3879 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3881 * libs/gst/controller/gst-controller.c:
3882 (gst_controlled_property_set_interpolation_mode),
3883 (gst_controlled_property_new):
3886 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * docs/faq/gst-uninstalled:
3893 * gst/gstutils.c: (gst_element_link_filtered):
3895 add gst_element_link_filtered
3897 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3899 * docs/gst/gstreamer-docs.sgml:
3900 * docs/gst/gstreamer-sections.txt:
3901 * docs/gst/tmpl/.cvsignore:
3902 * docs/gst/tmpl/gsterror.sgml:
3903 * docs/gst/tmpl/gstfilter.sgml:
3904 * docs/gst/tmpl/gsturihandler.sgml:
3905 * docs/gst/tmpl/gsturitype.sgml:
3906 * docs/gst/tmpl/gstutils.sgml:
3907 * docs/gst/tmpl/gstxml.sgml:
3915 inlined more docs, fixed double id-ref
3917 2005-08-31 Wim Taymans <wim@fluendo.com>
3919 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3920 (gst_base_transform_handle_buffer):
3921 Passthrough elements don't need the caps as they don't care.
3923 2005-08-31 Wim Taymans <wim@fluendo.com>
3925 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3926 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3927 Don't leak refcounts on buffers.
3929 2005-08-31 Wim Taymans <wim@fluendo.com>
3931 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3932 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3933 (gst_base_transform_chain), (gst_base_transform_change_state):
3934 * gst/base/gstbasetransform.h:
3935 Handle the case where we are not negotiated more gracefully.
3937 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3939 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3940 (gst_file_src_map_region):
3941 Set READONLY flag on mmap'ed buffers, otherwise
3942 gst_buffer_make_writable() won't work properly (#314708).
3944 2005-08-31 Wim Taymans <wim@fluendo.com>
3946 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3947 passthrough elements can even do inplace on non writable
3948 buffers (as they don't touch them).
3950 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3952 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3953 (gst_test_mono_source_set_property),
3954 (gst_test_mono_source_class_init), (GST_START_TEST),
3955 (gst_controller_suite):
3956 more tests (hehe I have the most)
3958 describe popping messages whenusing mulltiple sources
3959 * libs/gst/controller/gst-controller.c:
3960 (gst_controlled_property_set_interpolation_mode),
3961 (gst_controlled_property_new):
3962 * libs/gst/controller/gst-controller.h:
3963 * libs/gst/controller/gst-interpolation.c:
3964 implement boolean properties
3966 2005-08-31 Wim Taymans <wim@fluendo.com>
3968 * gst/gstminiobject.c: (gst_mini_object_ref):
3969 Cannot assert that the refcount has to be positive
3970 since a disposed object can be resurrected.
3972 2005-08-31 Wim Taymans <wim@fluendo.com>
3974 * gst/gstpad.c: (gst_pad_init):
3975 Revert change, need to first fix badly behaving
3978 2005-08-30 Wim Taymans <wim@fluendo.com>
3980 * check/elements/fakesrc.c: (setup_fakesrc):
3981 * check/elements/identity.c: (setup_identity):
3982 Activate pads before using them.
3984 2005-08-30 Wim Taymans <wim@fluendo.com>
3986 * gst/base/gstadapter.c: (gst_adapter_flush):
3987 Flushing out 0 bytes is ok for this function.
3989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3990 no newsegment gives a warning and sets the start/stop to
3993 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3994 (gst_base_transform_set_passthrough):
3997 * gst/gstminiobject.c: (gst_mini_object_ref):
3998 Check refcount here too.
4000 * gst/gstpad.c: (gst_pad_init):
4001 Pads are initially flushing and refusing data.
4003 * gst/gstutils.c: (gst_element_link_pads_filtered):
4004 When adding a capsfilter element make sure it has the
4005 same state as the parent bin.
4007 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4009 * docs/gst/tmpl/.cvsignore:
4010 * docs/gst/tmpl/gstformat.sgml:
4011 * docs/gst/tmpl/gstversion.sgml:
4015 * gst/gstversion.h.in:
4016 more docs and two more inlined
4018 2005-08-30 Wim Taymans <wim@fluendo.com>
4020 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4021 Don't sync to clock.
4023 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4025 * docs/gst/gstreamer-sections.txt:
4026 ultral33t func10ns deserve to appear in the docs actually
4027 * docs/gst/tmpl/.cvsignore:
4028 * docs/gst/tmpl/gstcompat.sgml:
4029 * docs/gst/tmpl/gstconfig.sgml:
4030 * gst/check/gstcheck.c:
4032 * gst/gstconfig.h.in:
4035 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4037 * docs/gst/tmpl/.cvsignore:
4038 * docs/gst/tmpl/gstquery.sgml:
4039 * docs/gst/tmpl/gstutils.sgml:
4042 inlined and extended docs
4044 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4046 * check/gst-libs/controller.c: (GST_START_TEST),
4047 (gst_controller_suite):
4049 * docs/gst/tmpl/gstutils.sgml:
4050 * docs/libs/gstreamer-libs-sections.txt:
4051 * docs/libs/tmpl/gstdataprotocol.sgml:
4053 * examples/controller/audio-example.c: (main):
4054 controller example works now
4057 * tools/gst-inspect.c: (print_element_properties_info):
4058 show param spec flags
4060 2005-08-29 Andy Wingo <wingo@pobox.com>
4062 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4064 2005-08-28 Andy Wingo <wingo@pobox.com>
4066 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4067 as having two arguments instead of just one. Allows superclasses
4068 to access information on subclasses -- see the terrible for() loop
4069 in gtype.c:g_type_create_instance for the reason why. All callers
4072 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4074 * docs/design/part-messages.txt:
4076 * docs/gst/tmpl/.cvsignore:
4077 * docs/gst/tmpl/gstcaps.sgml:
4078 * docs/gst/tmpl/gstclock.sgml:
4085 added descriptions for bus and message
4086 inline caps and clock docs
4088 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4094 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4096 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4099 2005-08-26 Andy Wingo <wingo@pobox.com>
4101 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4102 element_set_state's return val.
4103 (test_2_elements): Add test that's been disabled for months.
4105 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4106 can-activate-pull properties.
4108 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4109 can-activate-pull properties. Implement is_seekable so fakesrc can
4110 operate in pull mode.
4112 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4114 (gst_base_sink_activate, gst_base_sink_activate_pull)
4115 (gst_base_sink_activate_push): Make activation mode choosing work.
4117 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4118 is right. Make pull mode work. Post an eos before pausing in pull
4120 (gst_base_sink_change_state): Pay attention to the core's
4121 change_state() return val.
4123 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4124 has-getrange properties. Cleanups.
4126 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4127 has_getrange and replace with can_activate_pull and
4130 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4131 locking comments. Remove has_loop, has_chain and replace with
4132 can_activate_pull and can_activate_push.
4134 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4137 * examples/Makefile.am:
4138 * examples/metadata/Makefile.am:
4139 * examples/metadata/read-metadata.c: (message_loop),
4140 (have_pad_handler), (make_pipeline), (print_tag), (main):
4141 Add metadata reading example that loops over a list of filenames,
4142 dumping any tags found.
4144 * gst/gstbus.c: (gst_bus_dispose):
4145 * gst/gstelement.c: (gst_element_dispose):
4146 Release a few potentially-held references in dispose.
4148 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4150 * docs/gst/tmpl/gstminiobject.sgml:
4151 do *not* add tmpl/*.sgml files to CVS!
4153 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4155 * libs/gst/bytestream/.cvsignore:
4156 * libs/gst/bytestream/Makefile.am:
4157 * libs/gst/bytestream/adapter.c:
4158 * libs/gst/bytestream/adapter.h:
4159 * libs/gst/bytestream/bytestream.c:
4160 * libs/gst/bytestream/bytestream.h:
4161 * libs/gst/bytestream/filepad.c:
4162 * libs/gst/bytestream/filepad.h:
4163 removing obsolete files
4165 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4167 * docs/gst/gstreamer-docs.sgml:
4168 * docs/libs/gstreamer-libs-docs.sgml:
4169 disabed additional index entries again, as this makes docs-gen just
4170 slow and they aren't useful yet
4171 * docs/libs/gstreamer-libs-sections.txt:
4172 little -section.txt cleanup for libs
4174 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4177 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4178 fix up some debugging
4179 (gst_base_transform_get_unit_size),
4180 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4181 (gst_base_transform_handle_buffer):
4182 * gst/base/gstbasetransform.h:
4183 handle and store timed NEWSEGMENT events so that subclasses that
4184 calculate time by counting samples have a segment_start time they
4185 need to add to their timestamps - see audioresample
4187 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4190 removed ';' from the end of macro defs
4191 * docs/gst/gstreamer-docs.sgml:
4192 * docs/gst/gstreamer-sections.txt:
4193 * docs/gst/tmpl/.cvsignore:
4195 * gst/gstelement.c: (gst_element_class_init),
4196 (gst_element_set_state), (activate_pads),
4197 (gst_element_save_thyself):
4198 * gst/gstevent.c: (gst_event_new_newsegment):
4200 * gst/gstiterator.c:
4201 * gst/gstiterator.h:
4204 * gst/gstutils.c: (gst_pad_query_convert):
4206 fixed parameter name mismatches between source, header and docs
4207 added some more docs, resolved the last batch of unused elements in
4208 docs (now someone needs to doc them)
4210 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4212 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4213 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4214 don't walk through the plugins backwards. Where is all this
4215 reversed logic coming from ?
4217 2005-08-25 Wim Taymans <wim@fluendo.com>
4219 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4220 (gst_base_transform_transform_size),
4221 (gst_base_transform_configure_caps),
4222 (gst_base_transform_get_unit_size),
4223 (gst_base_transform_buffer_alloc),
4224 (gst_base_transform_change_state):
4225 * gst/base/gstbasetransform.h:
4226 Cache caps unit_size.
4227 Make sure we cannot negotiate up and downstream at the
4230 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4232 * gst/gst.c: (init_pre), (init_post):
4233 register the installed plugin path after the env var
4234 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4235 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4236 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4237 directories, so the tests can prefer uninstalled over installed
4239 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * gst/base/gstbasetransform.h:
4246 2005-08-25 Wim Taymans <wim@fluendo.com>
4248 * gst/gstbin.c: (bin_bus_handler):
4249 Be a bit more conservative about the posted message.
4251 * gst/gstbus.c: (gst_bus_post):
4252 Some cleanups, warn wrong return values.
4254 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4256 * check/gst/gstbin.c: (GST_START_TEST):
4257 * gst/gstbin.c: (bin_bus_handler):
4258 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4259 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4260 (gst_message_new_warning), (gst_message_new_tag),
4261 (gst_message_new_state_changed), (gst_message_new_segment_start),
4262 (gst_message_new_segment_done), (gst_message_new_custom):
4264 * tools/gst-launch.c: (event_loop):
4265 * tools/gst-md5sum.c: (event_loop):
4266 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4268 2005-08-25 Wim Taymans <wim@fluendo.com>
4270 * check/generic/states.c: (GST_START_TEST):
4271 Cleanup can be done at the end.
4273 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4274 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4275 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4276 Oh boy.. Thanks for finding this, Thomas.
4278 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4280 * docs/gst/gstreamer.types:
4283 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4285 * docs/gst/gstreamer-docs.sgml:
4286 * docs/gst/gstreamer-sections.txt:
4287 * docs/gst/tmpl/.cvsignore:
4289 * gst/gstiterator.c:
4291 * gst/registries/gstxmlregistry.h:
4292 added missing classes and symbols (123 more to go)
4293 removed removed symbols from section file
4294 fixed many doc-comments
4296 2005-08-24 Wim Taymans <wim@fluendo.com>
4298 * check/generic/states.c: (GST_START_TEST):
4299 Make sure all tasks are stopped.
4301 * check/gst/gstbin.c: (GST_START_TEST):
4302 Unref after usage for proper valgrinding.
4304 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4305 Really wait for the task to stop before destroying the
4308 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4309 (gst_queue_src_activate_push):
4310 Small cleanups. Don't stop the task when we did not start
4313 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4314 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4315 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4318 Protect the stream lock with the object lock.
4319 Disallow setting the stream lock when running.
4320 Add cleanup_all to wait for the threadpool to finish.
4321 Remove code to autoallocate a mutex if none was provided.
4322 Add _join() to wait for a task to stop.
4323 Protect the thread pool with a global lock.
4325 2005-08-24 Wim Taymans <wim@fluendo.com>
4327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4328 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4329 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4330 * gst/base/gstbasesink.h:
4331 Handle newsegment events correctly.
4332 Drop buffers out of the segment range.
4334 2005-08-22 Andy Wingo <wingo@pobox.com>
4336 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4337 macro, implements an interface and gstimplementsinterface for a
4340 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4342 * check/Makefile.am:
4343 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4344 add a test that does a bunch of state changes on elements
4345 needs some fixing for valgrind
4346 * check/states/sinks.c: (gst_object_suite):
4349 add prototype for gst_caps_is_equal_fixed
4351 * gst/gstregistrypool.c:
4354 2005-08-24 Andy Wingo <wingo@pobox.com>
4356 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4357 convert a negative value. Doesn't make much sense. Mostly this is
4358 here to force callers to ensure -1 maps to -1.
4360 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4362 * docs/pwg/advanced-types.xml:
4363 Well done to Michael for catching my deliberate introduction
4364 of this spelling mistake.
4365 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4367 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4368 unlink pads before removing the element from the bin.
4370 2005-08-24 Andy Wingo <wingo@pobox.com>
4372 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4373 the same thing as GST_DEBUG=*:4.
4374 (parse_debug_level, parse_debug_category): New helper parsers.
4376 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4378 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4379 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4380 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4381 (gst_base_transform_buffer_alloc),
4382 (gst_base_transform_handle_buffer):
4383 use gboolean return values and pointers to size so we can use the
4384 full GST_BUFFER_SIZE range (guint) for buffer sizes
4385 use GstPadDirection for transform_caps
4386 * gst/base/gstbasetransform.h:
4387 rename get_size to get_unit_size since that's what it is
4388 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4389 use GstPadDirection for transform_caps
4390 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4392 cleanup and debugging
4394 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4396 * gst/gstelement.c: (gst_element_class_init),
4397 (gst_element_set_state), (activate_pads),
4398 (gst_element_save_thyself):
4399 * tools/gst-compprep.c: (main):
4400 * tools/gst-inspect.c: (print_element_properties_info):
4401 * tools/gst-xmlinspect.c: (print_element_properties):
4402 Fixed long standing mem-leak
4404 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4406 * check/gst/gstbin.c: (GST_START_TEST):
4407 * gst/gstbin.c: (bin_bus_handler):
4408 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4409 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4410 (gst_message_new_warning), (gst_message_new_tag),
4411 (gst_message_new_state_changed), (gst_message_new_segment_start),
4412 (gst_message_new_segment_done), (gst_message_new_custom):
4414 * tools/gst-launch.c: (event_loop):
4415 * tools/gst-md5sum.c: (event_loop):
4416 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4417 that applications can sensibly post custom messages with references
4418 to their own objects.
4420 2005-08-24 Andy Wingo <wingo@pobox.com>
4422 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4425 2005-08-24 Wim Taymans <wim@fluendo.com>
4427 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4428 (gst_base_transform_transform_caps),
4429 (gst_base_transform_transform_size),
4430 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4431 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4432 (gst_base_transform_handle_buffer):
4433 * gst/base/gstbasetransform.h:
4434 Many fixes and new features added by Thomas. Can now also do
4435 transforms with variable sizes and a custom fixate_caps function.
4437 2005-08-24 Wim Taymans <wim@fluendo.com>
4439 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4443 Cast to ClockTime before formatting to time.
4448 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4450 * check/gst-libs/controller.c: (GST_START_TEST),
4451 (gst_controller_suite):
4452 * docs/gst/tmpl/gstcaps.sgml:
4453 * docs/gst/tmpl/gstghostpad.sgml:
4454 * docs/gst/tmpl/gstquery.sgml:
4455 * docs/gst/tmpl/gstutils.sgml:
4456 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4457 (gst_object_sink_values), (gst_object_get_value_arrays),
4458 (gst_object_get_value_array):
4459 gracefully handle helper method calls to objects that are not beeing
4460 controlled, added test case for that
4462 2005-08-23 Wim Taymans <wim@fluendo.com>
4464 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4465 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4466 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4467 (gst_event_parse_qos), (gst_event_new_seek),
4468 (gst_event_parse_seek):
4470 Some more debugging output and doc cleanups.
4472 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4473 Fix possible deadlock.
4475 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4477 * docs/gst/gstreamer-docs.sgml:
4478 * docs/gst/gstreamer-sections.txt:
4479 * docs/gst/gstreamer.types:
4480 * docs/gst/tmpl/.cvsignore:
4485 added 100 symbols from gstreamer-unused.txt to the right sections
4486 fixed more broken comments
4487 added GstBus to docs
4489 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4491 * docs/gst/gstreamer-sections.txt:
4492 * docs/gst/tmpl/.cvsignore:
4493 * docs/gst/tmpl/gstbin.sgml:
4494 * docs/gst/tmpl/gstbuffer.sgml:
4495 * gst/base/gstbasesrc.c:
4496 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4499 * tools/gst-launch.1.in:
4500 inlined more doc comments, added missing comments and fixed comments
4503 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4505 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4509 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4511 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4512 * gst/gststructure.h:
4513 add a fixate function for booleans; add a FIXME that these func
4514 names should probably be gst_structure_fixate_*
4516 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4518 * docs/gst/gstreamer-docs.sgml:
4519 * docs/gst/gstreamer-sections.txt:
4521 * gst/gstbin.c: (gst_bin_get_type),
4522 (gst_bin_child_proxy_get_child_by_index),
4523 (gst_bin_child_proxy_get_children_count),
4524 (gst_bin_child_proxy_init):
4525 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4526 (gst_child_proxy_get_child_by_index),
4527 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4528 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4529 (gst_child_proxy_get), (gst_child_proxy_set_property),
4530 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4531 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4532 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4533 * gst/gstchildproxy.h:
4534 * gst/parse/grammar.y:
4535 * tools/gst-inspect.c: (print_interfaces),
4536 (print_element_properties_info), (print_element_info):
4537 ported gstchildproxy over from 0.8
4538 ported gst-inspect fixes and enhancements over from 0.8
4540 2005-08-22 Wim Taymans <wim@fluendo.com>
4542 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4543 (gst_base_transform_handle_buffer):
4544 Also call the transform function if we have ANY caps.
4546 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4549 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4551 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4552 Don't pretend to handle seek events if the source is not seekable
4554 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4556 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4557 Remove extra parameter to debug output
4559 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4560 (gst_base_src_do_seek), (gst_base_src_activate_push):
4561 Fix seek event handling.
4563 * gst/gstpipeline.c: (gst_pipeline_change_state):
4564 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4565 (gst_queue_src_activate_push):
4566 Don't start the src pad task on FLUSH_STOP if the pad
4570 2005-08-22 Wim Taymans <wim@fluendo.com>
4572 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4573 Added check for gst_static_caps_get() refcounting.
4575 2005-08-22 Wim Taymans <wim@fluendo.com>
4577 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4578 Make _static_caps_get() refcounting sane.
4580 * gst/gstelement.c: (gst_element_set_state):
4581 Add g_return_val_if_fail() to protect against segfaults.
4583 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4585 * docs/gst/tmpl/gstevent.sgml:
4588 inlined remaining docs, added missing doc comments
4590 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * check/gst/gstbin.c: (GST_START_TEST):
4593 since we don't know when preroll is done, use refcount range
4595 * gst/check/gstcheck.h:
4596 add macro for checking refcount range
4598 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4600 * check/Makefile.am:
4601 clean up environment for when registry gets built versus
4602 when actual tests are run; valgrind seems to not report
4603 leaks if GST_PLUGIN_PATH is set to some specific values
4604 * check/gst/gstbin.c: (GST_START_TEST):
4605 add more refcounting checks; maybe this exposes a
4608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4609 * gst/check/gstcheck.h:
4610 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4611 (gst_bin_change_state):
4612 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4613 add/fix debugging/whitespace
4615 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4617 * check/gst/gstevent.c: (event_probe), (test_event),
4619 Er, don't call gst_bin_watch_for_state_change you idiot.
4621 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4623 * check/Makefile.am:
4624 Use CHECK_CFLAGS and CHECK_LIBS
4625 * check/gst/gstevent.c: (event_probe), (test_event),
4628 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4629 (gst_base_src_start), (gst_base_src_stop),
4630 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4631 (gst_base_src_change_state):
4632 Sprinkle gst_base_src_stop liberally around error paths to fix
4633 problems reusing a source after failed state changes.
4634 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4635 (helper_find_suggest), (gst_type_find_helper):
4636 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4638 * docs/gst/tmpl/gstevent.sgml:
4639 Migrate part of the docs from the SGML file. Wait for ensonic to
4640 tell me how I did it wrong ;)
4641 * tools/gst-typefind.c: (main):
4642 Extra robustness to state changes between files.
4644 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4646 * check/Makefile.am:
4647 don't valgrind the controller test - it's leaking - Stefan, HELP
4648 * gst/check/gstcheck.c: (gst_check_message_error),
4649 (gst_check_chain_func), (gst_check_setup_element),
4650 (gst_check_teardown_element), (gst_check_setup_src_pad),
4651 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4652 (gst_check_teardown_sink_pad):
4653 * gst/check/gstcheck.h:
4654 add a bunch of methods to set up elements, and src and sink pads
4655 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4656 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4661 whitespace/doc fixes
4663 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4666 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4667 be handled by the application and not always printed as well
4669 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4671 * check/Makefile.am:
4673 * gst/check/gstcheck.c: (gst_check_message_error):
4674 * gst/check/gstcheck.h:
4675 add a fail_unless_equals_int
4676 add fail_unless for error messages
4678 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4680 * check/Makefile.am:
4682 * common/Makefile.am:
4685 factor out some of the common stuff so we can use it
4687 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4689 * check/Makefile.am:
4690 * check/gst/gstiterator.c: (GST_START_TEST):
4691 * check/gst/gstsystemclock.c: (GST_START_TEST),
4692 (gst_systemclock_suite):
4693 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4697 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4699 * check/elements/.cvsignore:
4700 * check/elements/gstfakesrc.c:
4701 rename to name of element
4702 * check/elements/identity.c: (chain_func), (event_func),
4703 (setup_identity), (cleanup_identity), (GST_START_TEST),
4704 (identity_suite), (main):
4705 add a test for identity
4706 * check/Makefile.am:
4707 * pkgconfig/Makefile.am:
4708 * pkgconfig/gstreamer-check.pc.in:
4709 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4713 move the check stuff to a library that gets installed
4714 * check/gst-libs/controller.c: (GST_START_TEST):
4715 * check/gst-libs/gdp.c:
4716 * check/gst/gst.c: (GST_START_TEST):
4717 * check/gst/gstbin.c:
4718 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4719 * check/gst/gstbus.c:
4720 * check/gst/gstcaps.c: (GST_START_TEST):
4721 * check/gst/gstelement.c:
4722 * check/gst/gstghostpad.c:
4723 * check/gst/gstiterator.c:
4724 * check/gst/gstmessage.c:
4725 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4726 * check/gst/gstobject.c:
4727 * check/gst/gstpad.c: (GST_START_TEST):
4728 * check/gst/gststructure.c: (GST_START_TEST):
4729 * check/gst/gstsystemclock.c: (GST_START_TEST),
4730 (gst_systemclock_suite):
4731 * check/gst/gsttag.c: (gst_tag_suite):
4732 * check/gst/gstvalue.c:
4733 * check/pipelines/cleanup.c:
4734 * check/pipelines/simple_launch_lines.c:
4735 * check/states/sinks.c:
4736 change include statement
4738 * docs/gst/gstreamer-sections.txt:
4739 * docs/gst/tmpl/gstpad.sgml:
4740 document more pad stuff
4741 * gst/gstminiobject.c: (gst_mini_object_ref),
4742 (gst_mini_object_unref):
4745 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4747 * docs/gst/tmpl/gst.sgml:
4749 eliminate another tmpl file, fix spelling in the long-description
4751 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4753 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4754 (test_event), (timediff), (gstevents_suite):
4755 Should fix build on 64-bit arch's
4757 2005-08-18 Andy Wingo <wingo@pobox.com>
4759 Make sure that when a pipeline goes to PLAYING, that data has
4760 actually hit the sink.
4762 * check/states/sinks.c (test_sink): A sink that doesn't get any
4763 data shouldn't return SUCCESS for going to either PLAYING or
4764 PAUSED. Test also the return values on the way back down.
4766 * gst/gstelement.c (gst_element_set_state): When changing the
4767 state of an element currently changing state asynchronously, go to
4768 lost-state after commiting the pending state. Makes future calls
4769 to get_state continue to return ASYNC.
4771 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4772 ASYNC when going to PLAYING if we still don't have preroll, as can
4773 happen with live sources.
4775 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4777 * docs/pwg/advanced-types.xml:
4778 Hack long paragraph into 2 chunks as a workaround for buggy
4779 jadetex version in sid and breezy that loops infinitely and
4782 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4784 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4785 (test_event), (timediff), (gstevents_suite):
4786 Provide more error margin in clock measurements to allow for
4787 g_get_current_time inaccuracies.
4789 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4791 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4792 (test_event), (timediff), (gstevents_suite):
4793 Fix error message output so I might be able to tell why the
4794 test works here but fails on the build farm.
4796 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4798 * check/Makefile.am:
4799 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4800 (test_event), (timediff), (gstevents_suite), (main):
4803 * docs/design/part-seeking.txt:
4806 * docs/gst/tmpl/gstevent.sgml:
4807 * docs/gst/tmpl/gstfakesrc.sgml:
4810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4811 Treat a buffer-without-newsegment the same as a receiving
4812 a newsegment not in time format, and disable syncing to the clock
4815 * gst/gstbus.c: (gst_bus_set_sync_handler):
4816 Assert if anyone tries to replace the existing sync_handler for bus,
4817 as only the owner should be setting it.
4820 Have a fixed set of custom event enums with events identified by
4821 their structure name (as in 0.8), rather than a free-for-all
4822 allowing collisions between enum values from different plugins.
4824 * gst/gstpad.c: (gst_pad_class_init):
4827 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4828 Handle out-of-band downstream events from the sending thread.
4830 2005-08-17 Andy Wingo <wingo@pobox.com>
4832 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4833 play-timeout==0 to mean no timeout at all. In that case, don't
4834 bother with a get_state or a warning, just return directly, even
4837 * gst/base/gstbasetransform.c: Debug changes.
4840 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4841 ensure bins post state change messages. A bit of a hack but I can't
4842 think of a way to avoid it.
4844 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4846 2005-08-16 Andy Wingo <wingo@pobox.com>
4848 * gst/base/gstadapter.h:
4849 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4850 peek() but you own the data. Not terribly efficient atm.
4852 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4854 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4855 (gst_element_found_tags):
4857 Add two utility functions for tag handling.
4859 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4861 * docs/manual/advanced-dataaccess.xml:
4862 * docs/manual/basics-helloworld.xml:
4863 Fix docs to use _bin_add() before _link(), which fixes the examples
4864 with recent core versions (reported by Madhan Raj M
4865 <raj_madan@rediffmail.com>, #313199).
4867 2005-08-16 Wim Taymans <wim@fluendo.com>
4869 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4870 Added subtract checks.
4872 * docs/design/part-events.txt:
4873 Some more docs about newsegment
4875 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4878 * gst/gstcaps.c: (gst_caps_to_string):
4879 Add comments, cleanups.
4881 * gst/gstelement.c: (gst_element_save_thyself):
4884 * gst/gstvalue.c: (gst_value_collect_int_range),
4885 (gst_string_unwrap), (gst_value_union_int_int_range),
4886 (gst_value_union_int_range_int_range),
4887 (gst_value_intersect_int_int_range),
4888 (gst_value_intersect_int_range_int_range),
4889 (gst_value_intersect_double_double_range),
4890 (gst_value_intersect_double_range_double_range),
4891 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4892 (gst_value_subtract_int_range_int),
4893 (gst_value_subtract_double_range_double),
4894 (gst_value_subtract_double_range_double_range),
4895 (gst_value_subtract_from_list), (gst_value_subtract_list),
4896 (gst_value_can_compare), (gst_value_compare_fraction):
4897 Cleanups, add comments, remove unneeded asserts.
4899 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4901 * tools/gst-launch.c: (event_loop):
4902 don't convert NULL structures to strings
4904 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4906 * docs/gst/gstreamer-sections.txt:
4907 made some defines private
4908 * docs/gst/tmpl/gstconfig.sgml:
4909 * docs/gst/tmpl/gstqueue.sgml:
4910 * docs/gst/tmpl/gsttaglist.sgml:
4911 * docs/gst/tmpl/gsttypes.sgml:
4912 * docs/gst/tmpl/gstutils.sgml:
4913 * docs/pwg/appendix-porting.xml:
4914 * gst/base/gstbasesink.h:
4915 * gst/base/gstbasesrc.c:
4916 * gst/base/gstbasesrc.h:
4917 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4918 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4919 * gst/gstelement.c: (gst_element_class_init):
4920 * gst/gstpad.c: (gst_pad_class_init):
4921 * gst/gstqueue.c: (gst_queue_class_init):
4922 * gst/gstxml.c: (gst_xml_class_init):
4923 documented all undocumented signal inline
4924 * libs/gst/controller/gst-controller.h:
4927 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4929 * docs/pwg/appendix-porting.xml:
4930 Document _set_link_function -> _set_setcaps_function.
4932 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4934 * check/Makefile.am:
4935 add a .check target for running the check
4936 * check/gst-libs/controller.c: (GST_START_TEST):
4938 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4939 complete checks for gstbuffer; would be nice if I could get the
4940 gcov stuff to work so I can see if I actually completed gstbuffer.c
4942 add ASSERT_BUFFER_REFCOUNT
4944 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4946 * docs/gst/gstreamer-sections.txt:
4947 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4949 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4950 spew out a warning if a tag that is already registered
4951 is re-registered, unless it is re-registered with a
4952 different type (#308438).
4954 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4956 * docs/pwg/appendix-porting.xml:
4957 * docs/pwg/building-state.xml:
4958 Add some paragraphs about state changes in 0.9 to the PWG
4959 and the porting guide, in particular about the new meaning
4960 of GST_STATE_PAUSED and how to write state change functions
4961 with concurrent access by multiple threads in mind.
4963 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4965 * docs/gst/gstreamer-docs.sgml:
4966 * docs/libs/gstreamer-libs-docs.sgml:
4967 added deprecation and since indexes
4968 * libs/gst/controller/gst-controller.c:
4969 * libs/gst/controller/gst-helper.c:
4973 2005-08-11 Wim Taymans <wim@fluendo.com>
4975 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4976 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4977 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4978 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4979 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4980 (gst_ghost_pad_set_target):
4981 Actually implement (re)setting the target on a ghostpad
4982 as described in the docs.
4984 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4986 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4987 Check whether GST_DEBUG_NO_COLOR environment variable is
4988 set and disable coloured debug output if that is the case.
4990 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4992 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4993 (gst_type_find_helper):
4994 The memory returned by gst_type_find_peek() needs to
4995 stay valid until the end of a typefind function, and
4996 typefind functions may keep results from different
4997 offsets around, so we can't just unref the buffer from
4998 the previous _peek(), but have to save all buffers
4999 returned by _peek() until typefinding is done and only
5002 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5004 * docs/gst/gstreamer-sections.txt:
5006 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5008 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5010 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5011 Fix a pretty good memleak.
5013 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5015 * gst/gstiterator.h:
5016 Fix wrong include and 'make distcheck'.
5018 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5020 * gst/gstbin.c: (bin_bus_handler):
5021 Use gst_element_post_message() instead.
5023 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5025 * gst/base/gstadapter.h:
5026 * gst/base/gstbasesink.h:
5027 * gst/base/gstbasesrc.h:
5028 * gst/base/gstbasetransform.h:
5029 * gst/base/gstcollectpads.h:
5030 * gst/base/gstpushsrc.h:
5031 * gst/gstiterator.h:
5032 Add padding to our base elements' class and instance structs and
5033 to GstIterator (you will need to rebuild all plugins and apps!)
5035 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5037 * gst/gstbin.c: (bin_bus_handler):
5038 Make default message forwarding from child->bus to bin->bus
5039 threadsafe and make it not emit warnings if the parent has no bus.
5041 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5043 * gst/gstelement.c: (activate_pads):
5044 On paused->ready, set pad->caps to NULL, as is the documented
5045 behaviour in this state change. Fixes playback of series of
5046 media files when visualization is enabled in Totem.
5048 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5050 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5051 Allow NULL as filter-caps (which means "any").
5053 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5055 * docs/libs/gstreamer-libs-sections.txt:
5056 * libs/gst/controller/gst-controller.c:
5057 * libs/gst/controller/gst-controller.h:
5058 * libs/gst/controller/gst-helper.c:
5059 adding more entries to the docs and fix small doc-bugs
5061 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5063 * docs/gst/gstreamer-docs.sgml:
5064 * docs/gst/gstreamer-sections.txt:
5065 * docs/gst/gstreamer.types:
5066 * docs/gst/tmpl/gstbasesink.sgml:
5067 * docs/gst/tmpl/gstbasesrc.sgml:
5068 * docs/gst/tmpl/gstbasetransform.sgml:
5069 * docs/gst/tmpl/gstfakesrc.sgml:
5070 * gst/base/gstcollectpads.c:
5071 * gst/base/gstcollectpads.h:
5072 * libs/gst/controller/gst-controller.c:
5073 * libs/gst/controller/gst-controller.h:
5074 * libs/gst/controller/gst-helper.c:
5075 * libs/gst/controller/gst-interpolation.c:
5076 * libs/gst/controller/lib.c:
5077 added long/short desc for controller docs
5078 added collectpads base class docs
5079 added correct includes to base-class docs
5081 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5083 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5084 (gst_test_mono_source_set_property),
5085 (gst_test_mono_source_class_init), (GST_START_TEST),
5086 (gst_controller_suite):
5087 * docs/gst/gstreamer-docs.sgml:
5088 * docs/gst/gstreamer-sections.txt:
5089 * docs/gst/gstreamer.types:
5090 * docs/libs/gstreamer-libs-docs.sgml:
5091 * docs/libs/gstreamer-libs-sections.txt:
5092 * gst/base/gstadapter.c:
5093 * libs/gst/controller/gst-controller.c:
5094 (gst_controlled_property_new), (gst_controlled_property_free),
5095 (gst_controller_new_valist),
5096 (gst_controller_remove_properties_valist),
5097 (gst_controller_sink_values), (_gst_controller_finalize):
5098 * libs/gst/controller/gst-controller.h:
5099 * libs/gst/controller/gst-helper.c:
5100 (gst_object_control_properties), (gst_object_uncontrol_properties),
5101 (gst_object_get_controller), (gst_object_set_controller),
5102 (gst_object_sink_values), (gst_object_get_value_arrays),
5103 (gst_object_get_value_array):
5104 more tests (and fixes) for the controller
5105 more docs for the controller
5106 integrated companies docs for the adapter
5108 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5110 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5111 (GST_START_TEST), (fakesrc_suite):
5112 add tests for sizetype
5114 2005-08-04 Andy Wingo <wingo@pobox.com>
5116 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5117 fixes buffer_alloc proxying among other things.
5119 * gst/base/gstbasetransform.c:
5120 * gst/base/gstbasetransform.h:
5121 Revert patch to gstbasetransform from 7-28 removing
5124 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5125 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5126 Semantics changed, should return not the size of the output buffer
5127 but the byte size of a buffer with a given caps.
5129 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5131 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5132 out) are not the pad caps until setcaps finishes.
5133 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5134 not-in-place case as well. Deal with changing from in-place to
5135 not-in-place within calling pad_alloc_buffer. Still a bit
5136 concerned about the overhead here...
5138 2005-08-03 Andy Wingo <wingo@pobox.com>
5140 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5141 fixating is an error.
5143 2005-08-04 Edward Hervey <edward@fluendo.com>
5145 * gst/base/gstadapter.h:
5146 Added gst_adapter_get_type() to the header
5148 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5150 * check/Makefile.am:
5151 * check/gst-libs/controller.c:
5152 * libs/gst/controller/gst-controller.c:
5153 (gst_controller_new_valist):
5154 added check test suite for the controller
5155 * gst/base/gstpushsrc.c:
5158 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5160 * docs/gst/Makefile.am:
5161 * docs/gst/gstreamer-docs.sgml:
5162 * docs/gst/gstreamer-sections.txt:
5163 * docs/gst/gstreamer.types:
5164 * docs/gst/tmpl/gstfakesrc.sgml:
5166 * gst/base/gstbasesink.c:
5167 * gst/base/gstbasesink.h:
5168 * gst/base/gstbasesrc.c:
5169 * gst/base/gstbasesrc.h:
5170 * gst/base/gstbasetransform.c:
5171 * gst/base/gstpushsrc.c:
5172 * gst/base/gstpushsrc.h:
5173 add short/long description docs to base classes
5174 add pushsrc to the docs
5175 remove consolidated doc fragments
5177 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5180 * docs/libs/Makefile.am:
5181 * docs/libs/gstreamer-libs-docs.sgml:
5182 * docs/libs/gstreamer-libs-sections.txt:
5183 * docs/libs/gstreamer-libs.types:
5184 * examples/Makefile.am:
5185 * examples/controller/.cvsignore:
5186 * examples/controller/Makefile.am:
5187 * examples/controller/audio-example.c: (main):
5188 * libs/gst/Makefile.am:
5189 * libs/gst/controller/.cvsignore:
5190 * libs/gst/controller/Makefile.am:
5191 * libs/gst/controller/gst-controller.c:
5192 (on_object_controlled_property_changed), (gst_timed_value_compare),
5193 (gst_timed_value_find),
5194 (gst_controlled_property_set_interpolation_mode),
5195 (gst_controlled_property_new), (gst_controlled_property_free),
5196 (gst_controller_find_controlled_property),
5197 (gst_controller_new_valist), (gst_controller_new),
5198 (gst_controller_remove_properties_valist),
5199 (gst_controller_remove_properties), (gst_controller_set),
5200 (gst_controller_set_from_list), (gst_controller_unset),
5201 (gst_controller_get), (gst_controller_get_all),
5202 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5203 (gst_controller_get_value_array),
5204 (gst_controller_set_interpolation_mode),
5205 (_gst_controller_finalize), (_gst_controller_init),
5206 (_gst_controller_class_init), (gst_controller_get_type):
5207 * libs/gst/controller/gst-controller.h:
5208 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5209 (g_object_uncontrol_properties), (g_object_get_controller),
5210 (g_object_set_controller), (g_object_sink_values),
5211 (g_object_get_value_arrays), (g_object_get_value_array):
5212 * libs/gst/controller/gst-interpolation.c:
5213 (gst_controlled_property_find_timed_value_node),
5214 (interpolate_none_get), (interpolate_trigger_get),
5215 (interpolate_trigger_get_value_array):
5216 * libs/gst/controller/lib.c: (gst_controller_init):
5217 * pkgconfig/Makefile.am:
5218 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5219 * pkgconfig/gstreamer-control.pc.in:
5220 * testsuite/Makefile.am:
5221 * testsuite/controller/.cvsignore:
5222 * testsuite/controller/Makefile.am:
5223 * testsuite/controller/interpolator.c: (main):
5224 added controller code
5225 removed dparam pc files
5227 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5228 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5229 (gst_collectpads_stop):
5230 Broadcast the condition when shutting down, to make sure we wake all
5231 threads up. Shut down pads on finalize, for safety.
5233 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5234 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5235 (gst_base_transform_handle_buffer),
5236 (gst_base_transform_change_state):
5237 Handle PAUSED->READY->PAUSED transition after negotiation
5239 * gst/gstmessage.c: (gst_message_init):
5240 Extra piece of debug for new messages.
5242 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5245 * docs/gst/tmpl/gstbasesrc.sgml:
5246 * docs/gst/tmpl/gstelement.sgml:
5247 * docs/gst/tmpl/gstevent.sgml:
5248 * docs/gst/tmpl/gstfakesrc.sgml:
5249 * docs/gst/tmpl/gstformat.sgml:
5250 * docs/gst/tmpl/gstghostpad.sgml:
5251 * docs/gst/tmpl/gstpad.sgml:
5252 * docs/gst/tmpl/gstquery.sgml:
5253 * docs/gst/tmpl/gststructure.sgml:
5254 * docs/gst/tmpl/gsttaglist.sgml:
5255 * docs/gst/tmpl/gstvalue.sgml:
5256 * docs/libs/gstreamer-libs-docs.sgml:
5257 * docs/libs/gstreamer-libs-sections.txt:
5258 * docs/libs/gstreamer-libs.types:
5259 * libs/gst/Makefile.am:
5260 * libs/gst/control/.cvsignore:
5261 * libs/gst/control/Makefile.am:
5262 * libs/gst/control/control.c:
5263 * libs/gst/control/control.h:
5264 * libs/gst/control/dparam.c:
5265 * libs/gst/control/dparam.h:
5266 * libs/gst/control/dparam_smooth.c:
5267 * libs/gst/control/dparam_smooth.h:
5268 * libs/gst/control/dparamcommon.h:
5269 * libs/gst/control/dparammanager.c:
5270 * libs/gst/control/dparammanager.h:
5271 * libs/gst/control/dplinearinterp.c:
5272 * libs/gst/control/dplinearinterp.h:
5273 * libs/gst/control/unitconvert.c:
5274 * libs/gst/control/unitconvert.h:
5275 * testsuite/Makefile.am:
5276 * testsuite/dynparams/.cvsignore:
5277 * testsuite/dynparams/Makefile.am:
5278 * testsuite/dynparams/dparamstest.c:
5279 * tools/Makefile.am:
5280 * tools/gst-inspect.c: (print_element_info), (main):
5281 * tools/gst-xmlinspect.c: (print_element_info), (main):
5282 deactivate and remove dparams (libgstcontrol)
5284 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5286 * gst/elements/gsttypefindelement.c:
5287 (gst_type_find_element_have_type), (gst_type_find_element_init),
5288 (stop_typefinding), (gst_type_find_element_handle_event),
5289 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5290 * gst/elements/gsttypefindelement.h:
5291 Set caps on all outgoing buffers, not just the first one.
5293 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5295 * gst/elements/gsttypefindelement.c:
5296 (gst_type_find_element_have_type),
5297 (gst_type_find_element_check_set_buffer_caps),
5298 (gst_type_find_element_init), (stop_typefinding),
5299 (gst_type_find_element_handle_event),
5300 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5301 * gst/elements/gsttypefindelement.h:
5302 Set caps on first outgoing buffer when we've found the type.
5304 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5306 * docs/gst/gstreamer-docs.sgml:
5307 * docs/gst/gstreamer-sections.txt:
5308 * docs/gst/tmpl/gstscheduler.sgml:
5309 * docs/gst/tmpl/gstschedulerfactory.sgml:
5310 Remove some old cruft from docs.
5312 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5315 Fix inline docs for GstPadLinkReturn.
5317 * gst/gststructure.c: (gst_structure_has_name):
5318 * gst/gststructure.h:
5319 * docs/gst/gstreamer-sections.txt:
5320 New API: gst_structure_has_name().
5322 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5325 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5326 and _LARGEFILE_SOURCE in config.h as required. Do not
5327 export those flags in our .pc files any longer (#142209).
5329 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5331 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5332 (gst_file_sink_do_seek), (gst_file_sink_event),
5333 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5334 Redo seek/tell calls with large file support in mind; add some
5335 debugging messages; add log message that tells us when large
5336 file support is unavailable or not enabled for some reason.
5338 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5339 Add log message that tells us when large file support
5340 is unavailable or not enabled for some reason.
5342 2005-07-29 Wim Taymans <wim@fluendo.com>
5344 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5345 Added test for removing an element with ghostpad from a bin.
5346 Fixed test as current implementation does the right thing.
5348 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5349 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5350 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5351 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5352 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5353 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5354 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5355 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5356 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5357 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5358 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5359 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5360 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5361 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5362 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5363 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5364 * gst/gstghostpad.h:
5365 Clean up ghostpads, remove properties for internal stuff.
5368 Prepare for switching targets, not all use cases work yet.
5370 2005-07-29 Wim Taymans <wim@fluendo.com>
5372 * docs/design/part-gstghostpad.txt:
5375 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5376 (gst_bin_remove_func):
5377 Unlinking pads while holding the bin LOCK is not a good
5380 * gst/gstpad.c: (gst_pad_class_init),
5381 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5382 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5383 No prob setting template after creating the pad.
5385 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5387 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5388 (gst_bus_peek), (gst_bus_source_dispatch),
5389 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5390 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5391 gst_bus_poll may be called from other threads. Handle
5392 this nicely by not making poll_data disappear off the
5393 stack once gst_bus_poll returns.
5394 gst_bus_peek now increments the refcount on the returned
5397 2005-07-29 Wim Taymans <wim@fluendo.com>
5399 * docs/design/part-gstghostpad.txt:
5400 Overview of current GhostPad datastructures and use
5401 cases for changing the target.
5403 2005-07-28 Wim Taymans <wim@fluendo.com>
5405 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5406 Added checks for hierarchy consistency whan adding linked
5409 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5410 Added check to test element scheduling without bin/pipeline.
5412 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5413 First add elements to bin, then link.
5415 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5416 (gst_bin_remove_func):
5417 Unlink pads from elements added/removed from bin to maintain
5418 hierarchy consistency.
5420 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5422 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5423 (gst_base_transform_handle_buffer):
5424 * gst/base/gstbasetransform.h:
5425 Remove broken delay_configure (fixes renegotiation of software
5426 scaling pipelines); remove some leftover printf()s.
5428 2005-07-28 Wim Taymans <wim@fluendo.com>
5430 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5431 Added some more tests for wrong hierarchy
5433 * docs/design/part-overview.txt:
5436 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5439 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5440 (gst_element_dispose):
5443 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5444 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5445 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5446 (gst_pad_set_caps), (gst_pad_send_event):
5447 Check for correct hierarchy when linking pads. Moving to
5448 strict requirement for ghostpads when linking elements in
5452 Clean ups. Added WRONG_HIERARCHY return value.
5454 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5456 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5457 Better debug if no transform is possible.
5459 2005-07-27 Wim Taymans <wim@fluendo.com>
5461 * docs/random/wtay/network-transp:
5464 2005-07-27 Wim Taymans <wim@fluendo.com>
5466 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5467 (gst_dp_event_from_packet):
5468 Fix serialization of seek events.
5470 2005-07-27 Wim Taymans <wim@fluendo.com>
5472 * check/gst-libs/gdp.c: (GST_START_TEST):
5473 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5474 Fix compilation and fix event serialization.
5476 2005-07-27 Wim Taymans <wim@fluendo.com>
5479 * docs/design/part-TODO.txt:
5480 * docs/design/part-events.txt:
5483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5484 (gst_base_sink_event), (gst_base_sink_do_sync),
5485 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5486 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5487 (gst_base_src_do_seek), (gst_base_src_event_handler),
5488 (gst_base_src_loop):
5489 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5490 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5491 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5492 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5493 (gst_base_transform_set_passthrough),
5494 (gst_base_transform_is_passthrough):
5495 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5496 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5502 * gst/gstelement.c: (gst_element_seek):
5504 Update gst_element_seek.
5506 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5507 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5508 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5509 (gst_event_new_eos), (gst_event_new_newsegment),
5510 (gst_event_parse_newsegment), (gst_event_new_tag),
5511 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5512 (gst_event_parse_qos), (gst_event_new_seek),
5513 (gst_event_parse_seek), (gst_event_new_navigation):
5515 Make GstEvent use GstStructure. Add parsing code, make sure the
5516 API is sufficiently generic.
5517 Mark possible directions of events and serialization.
5519 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5520 (_gst_message_copy), (gst_message_new_segment_start),
5521 (gst_message_new_segment_done), (gst_message_new_custom),
5522 (gst_message_parse_segment_start),
5523 (gst_message_parse_segment_done):
5526 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5527 (gst_pad_set_caps), (gst_pad_send_event):
5528 Update for new events.
5529 Catch events sent in wrong directions.
5531 * gst/gstqueue.c: (gst_queue_link_src),
5532 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5533 (gst_queue_handle_src_query):
5538 Remove event code from this file.
5540 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5541 (gst_dp_event_from_packet):
5544 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5546 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5547 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5548 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5549 Make debugging actually useful.
5551 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5553 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5554 (gst_pad_fixate_caps):
5555 Implement default fixation once again, so that gst_pad_fixate()
5556 actually does anything at all. This probably needs to be some
5557 sort of a last resort, and use profile-based fixation first, but
5558 since that doesn't exist yet, this is the best we have. Fixes
5559 visualization in Totem.
5561 2005-07-22 Wim Taymans <wim@fluendo.com>
5563 * docs/design/part-events.txt:
5566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5567 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5568 (gst_base_sink_activate_pull):
5571 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5572 (gst_fake_src_create):
5573 Fix handoff marshall.
5575 * gst/elements/gstidentity.c: (gst_identity_class_init),
5576 (gst_identity_transform_ip):
5577 We're a real inplace element.
5579 * gst/gstbus.c: (gst_bus_post):
5580 Added some comments.
5582 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5583 * tests/muxing/case1.c: (main):
5584 * tests/sched/dynamic-pipeline.c: (main):
5585 * tests/sched/interrupt1.c: (main):
5586 * tests/sched/interrupt2.c: (main):
5587 * tests/sched/interrupt3.c: (main):
5588 * tests/sched/runxml.c: (main):
5589 * tests/sched/sched-stress.c: (main):
5590 * tests/seeking/seeking1.c: (event_received), (main):
5591 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5593 * tests/threadstate/threadstate3.c: (main):
5594 * tests/threadstate/threadstate4.c: (main):
5595 * tests/threadstate/threadstate5.c: (main):
5598 2005-07-21 Wim Taymans <wim@fluendo.com>
5600 * docs/design/part-seeking.txt:
5601 Some small additions.
5603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5604 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5605 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5606 * gst/base/gstbasesink.h:
5607 discont values are gint64, handle the math correctly.
5609 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5610 Make the basesrc report error if the source pad is not linked.
5612 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5613 (gst_queue_loop), (gst_queue_handle_src_query),
5614 (gst_queue_src_activate_push):
5615 Make queue collect data even if the srcpad is not linked.
5616 Start pushing out data as soon as it is linked.
5618 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5620 Added gst_flow_get_name() to ease error reporting.
5622 2005-07-20 Wim Taymans <wim@fluendo.com>
5624 * gst/gstmessage.c: (gst_message_new_segment_start),
5625 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5626 (gst_message_parse_segment_done):
5628 Added a bunch of messages for advanced seeking.
5630 * gst/parse/grammar.y:
5631 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5632 (gst_dpman_state_changed):
5633 Fix some new-pad -> pad-added signals
5635 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5637 * docs/manual/appendix-porting.xml:
5638 * docs/pwg/appendix-porting.xml:
5639 Document new-pad/state-change signal renames and the FixedList
5642 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5644 * docs/manual/advanced-autoplugging.xml:
5645 * docs/manual/basics-helloworld.xml:
5646 * docs/manual/basics-pads.xml:
5647 * docs/random/ds/0.9-suggested-changes:
5648 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5653 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5654 (gst_structure_parse_array), (gst_structure_parse_value):
5655 * gst/gstvalue.c: (gst_type_is_fixed),
5656 (gst_value_list_prepend_value), (gst_value_list_append_value),
5657 (gst_value_list_get_size), (gst_value_list_get_value),
5658 (gst_value_transform_array_string), (gst_value_serialize_array),
5659 (gst_value_deserialize_array), (gst_value_intersect_array),
5660 (gst_value_is_fixed), (_gst_value_initialize):
5662 GstElement::new-pad -> pad-added, GstElement::state-change ->
5663 state-changed, GstValueFixedList -> GstValueArray, add format and
5664 flags as their own arguments in gst_element_seek() (should improve
5665 "bindeability"), remove function generators since they don't work
5666 under a whole bunch of compilers (they were deprecated already
5669 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5671 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5672 (_gst_debug_register_funcptr):
5674 Fix illegal cast on some platforms (#309253).
5676 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5678 * gst/gstmessage.c: (gst_message_new_custom):
5680 Add _new_custom, make _new_application a macro to _new_custom.
5682 2005-07-20 Wim Taymans <wim@fluendo.com>
5684 * gst/base/gstbasesrc.c: (gst_base_src_init),
5685 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5686 * gst/base/gstbasesrc.h:
5687 Add a gboolean to decide when to push out a discont.
5689 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5690 (gst_queue_loop), (gst_queue_handle_src_query),
5691 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5692 (gst_queue_set_property), (gst_queue_get_property):
5695 * tests/threadstate/threadstate1.c: (main):
5696 Make a thread test compile and run... very silly..
5699 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5701 * docs/manual/appendix-porting.xml:
5702 Mention removal of libgstgconf-0.9.la and existence of gconf
5705 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5707 * docs/pwg/advanced-clock.xml:
5708 * docs/pwg/appendix-porting.xml:
5709 * docs/pwg/intro-preface.xml:
5710 * docs/pwg/other-base.xml:
5711 * docs/pwg/other-manager.xml:
5712 * docs/pwg/other-nton.xml:
5713 * docs/pwg/other-ntoone.xml:
5714 * docs/pwg/other-oneton.xml:
5716 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5717 demuxer), remove n-to-n (was never written), fix some code examples
5718 and links and update the porting section to include all this.
5720 2005-07-19 Wim Taymans <wim@fluendo.com>
5722 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5723 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5724 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5725 (gst_queue_src_activate_push), (gst_queue_change_state),
5726 (gst_queue_get_property):
5728 Propagate GstFlowReturn more intelligently upstream and output
5729 an ERROR/EOS when streaming stopped due to fatal error.
5731 2005-07-19 Wim Taymans <wim@fluendo.com>
5733 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5734 Don't block forever for the state change to complete, the
5735 pipeline already did with a sensible timeout.
5737 2005-07-19 Wim Taymans <wim@fluendo.com>
5739 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5740 Make sure we never call the create function is we
5743 2005-07-19 Andy Wingo <wingo@pobox.com>
5745 * gst/parse/parse.l: Attempt to solve bug #172815.
5747 2005-07-19 Wim Taymans <wim@fluendo.com>
5749 * docs/design/part-clocks.txt:
5750 * docs/design/part-events.txt:
5751 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5753 Only update the seeking values when we are not
5756 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5758 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5759 Oops, ignore the result of gst_pad_push_event here.
5761 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5763 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5764 (gst_base_src_activate_push):
5765 Send discont event from the loop function, as pads
5766 aren't activated yet in the activate_push handler.
5768 * gst/gstbin.c: (bin_bus_handler):
5769 Don't leak element name.
5771 2005-07-18 Andy Wingo <wingo@pobox.com>
5773 * configure.ac: Use AS_LIBTOOL_TAGS.
5775 2005-07-18 Wim Taymans <wim@fluendo.com>
5777 * docs/gst/gstreamer.types:
5778 Remove deleted types.
5780 2005-07-18 Wim Taymans <wim@fluendo.com>
5782 * check/elements/gstfakesrc.c: (GST_START_TEST):
5785 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5786 (init_popt_callback):
5788 * gst/gst_private.h:
5789 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5790 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5793 * gst/gstconfig.h.in:
5794 * gst/gstelement.c: (gst_element_class_init),
5795 (gst_element_set_base_time), (gst_element_get_base_time),
5796 (iterator_fold_with_resync), (gst_element_change_state),
5797 (gst_element_dispose), (gst_element_get_bus):
5799 * gst/gstelementfactory.h:
5800 * gst/gsterror.c: (_gst_core_errors_init):
5803 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5805 * gst/gstinfo.c: (_gst_debug_init):
5806 * gst/gstmessage.c: (_gst_message_copy):
5808 * gst/gstminiobject.h:
5811 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5812 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5815 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5816 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5817 (gst_pipeline_get_last_stream_time):
5818 * gst/gstpipeline.h:
5819 * gst/gstpluginfeature.h:
5821 * gst/gstscheduler.c:
5822 * gst/gstscheduler.h:
5823 * gst/gststructure.h:
5824 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5825 (gst_task_finalize), (gst_task_func), (gst_task_create),
5826 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5827 (gst_task_stop), (gst_task_pause):
5829 * gst/gsttypefind.h:
5831 * gst/registries/gstlibxmlregistry.c: (load_feature),
5832 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5833 * gst/registries/gstxmlregistry.c:
5834 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5835 * gst/schedulers/threadscheduler.c:
5836 * libs/gst/control/dparammanager.h:
5837 * tools/gst-inspect.c: (print_element_list),
5838 (print_plugin_features), (print_element_features):
5839 * tools/gst-xmlinspect.c: (print_element_list),
5840 (print_plugin_info), (main):
5841 Removed plugable schedulers.
5842 Removed Scheduler/Manager from elements.
5843 Removed gsttypes.h, rearranged includes.
5844 Removed dependency pad<->element, element<>pipeline, and
5845 various others, fix includes.
5846 implement gst_pad_get_parent() with gst_object_get_parent()
5847 Make GstTask sefcontained.
5848 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5850 Fix endless loop in iterator_fold_with_resync.
5853 2005-07-18 Wim Taymans <wim@fluendo.com>
5859 2005-07-18 Wim Taymans <wim@fluendo.com>
5864 2005-07-18 Wim Taymans <wim@fluendo.com>
5870 2005-07-18 Wim Taymans <wim@fluendo.com>
5872 * docs/design/part-dynamic.txt:
5873 * docs/design/part-events.txt:
5874 * docs/design/part-seeking.txt:
5875 Some more docs in the works.
5877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5878 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5879 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5880 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5881 (gst_base_transform_handle_buffer),
5882 (gst_base_transform_sink_activate_push),
5883 (gst_base_transform_src_activate_pull),
5884 (gst_base_transform_set_passthrough),
5885 (gst_base_transform_is_passthrough):
5888 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5891 * gst/gstevent.c: (gst_event_finalize):
5894 * gst/gstutils.c: (gst_element_unlink),
5895 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5896 (gst_pad_proxy_setcaps):
5898 Add _get_parent_element() to get a pads parent as an element.
5900 2005-07-18 Wim Taymans <wim@fluendo.com>
5902 * check/gst/gstbin.c: (GST_START_TEST):
5905 2005-07-18 Wim Taymans <wim@fluendo.com>
5907 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5908 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5909 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5910 (gst_base_sink_event), (gst_base_sink_do_sync),
5911 (gst_base_sink_chain), (gst_base_sink_loop),
5912 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5913 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5915 Fix logic for returning ASYNC when not prerolled.
5917 2005-07-18 Wim Taymans <wim@fluendo.com>
5919 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5920 Fix nasty refcount bug.
5922 2005-07-16 Philippe Khalaf <burger@speedy.org>
5924 * gst/elements/gstfdsrc.c:
5925 * gst/elements/gstfdsrc.h:
5926 * gst/elements/gstelements.c:
5927 * gst/elements/Makefile.am:
5928 Ported fdsrc to 0.9.
5930 2005-07-16 Wim Taymans <wim@fluendo.com>
5932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5933 (gst_base_sink_do_sync):
5936 2005-07-16 Wim Taymans <wim@fluendo.com>
5938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5939 (gst_base_sink_event), (gst_base_sink_get_times),
5940 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5941 * gst/base/gstbasesink.h:
5942 Store and use discont values when syncing buffers as described
5945 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5946 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5947 (gst_base_src_activate_push):
5948 Push discont event when starting.
5950 * gst/elements/gstidentity.c: (gst_identity_transform):
5953 * gst/gstbin.c: (gst_bin_change_state):
5954 Small cleanups in base_time distribution.
5956 * gst/gstelement.c: (gst_element_set_base_time),
5957 (gst_element_get_base_time), (gst_element_change_state):
5959 Added methods for the base_time of the element.
5962 * gst/gstpipeline.c: (gst_pipeline_send_event),
5963 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5964 (gst_pipeline_get_last_stream_time):
5965 * gst/gstpipeline.h:
5967 Handle seeking as described in design doc, remove stream_time
5969 Cleanups clock and stream_time selection code. Added accessors
5970 for the stream_time.
5973 2005-07-16 Andy Wingo <wingo@pobox.com>
5975 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5978 2005-07-16 Wim Taymans <wim@fluendo.com>
5980 * check/gst/gstbin.c: (GST_START_TEST):
5981 Make elements silent as the deep_notify refs the
5982 parent, which might make the test fail.
5984 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5985 Don't hold the lock for too long.
5987 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5989 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5990 Don't unref the caps we passed to gst_caps_make_writable() after
5991 passing them. gst_caps_make_writable() will do that for us.
5993 2005-07-15 Andy Wingo <wingo@pobox.com>
5995 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5998 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5999 own marshalling function for the handoff signal. Properly type the
6000 buffer as a buffer. Fixes some warnings. Should do a more general
6002 (gst_identity_class_init): Plug into the right marshaller.
6004 2005-07-15 Wim Taymans <wim@fluendo.com>
6006 * docs/design/part-TODO.txt:
6007 * docs/design/part-clocks.txt:
6008 * docs/design/part-element-sink.txt:
6009 * docs/design/part-events.txt:
6010 * docs/design/part-gstpipeline.txt:
6011 Updated docs, mostly DISCONT related.
6013 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6015 * docs/pwg/building-pads.xml:
6016 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6018 2005-07-15 Andy Wingo <wingo@pobox.com>
6020 * tools/gst-typefind.c: Update, add copyright block.
6022 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6023 Normalize and truncate caps before fixation.
6026 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6027 discards all but the first structure from its argument.
6029 2005-07-15 Wim Taymans <wim@fluendo.com>
6031 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6032 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6033 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6034 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6035 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6036 (gst_base_transform_chain), (gst_base_transform_change_state),
6037 (gst_base_transform_set_passthrough),
6038 (gst_base_transform_is_passthrough):
6039 * gst/base/gstbasetransform.h:
6040 Make passthrough work using the bufferpools.
6041 Changed API a bit, subclasses have to write into a buffer
6042 provided by the base class.
6043 More debug info in nego functions.
6045 * gst/elements/gstidentity.c: (gst_identity_init),
6046 (gst_identity_transform):
6047 Port to new base class.
6049 2005-07-15 Wim Taymans <wim@fluendo.com>
6051 * gst/gstmessage.c: (gst_message_new_state_changed):
6052 * tools/gst-launch.c: (event_loop), (main):
6053 Totally dump messages in -launch with the -m option.
6054 Fix message name for State messages,
6056 2005-07-14 Wim Taymans <wim@fluendo.com>
6058 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6059 Post error messages on errors.
6061 2005-07-14 Wim Taymans <wim@fluendo.com>
6063 * gst/gstcaps.c: (gst_caps_do_simplify):
6067 Define error for stream stopped.
6069 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6070 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6071 Do proper return values.
6073 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6074 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6075 (gst_pad_get_range):
6076 Better return values.
6079 Reorganise return values, add macro to check for fatal errors.
6081 * gst/gstqueue.c: (gst_queue_chain):
6082 Return proper GstFlowReturn values,
6084 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6086 * docs/gst/gstreamer-sections.txt:
6087 * docs/gst/gstreamer.types:
6088 * docs/gst/tmpl/gst.sgml:
6089 * docs/gst/tmpl/gstbasesink.sgml:
6090 * docs/gst/tmpl/gstbasesrc.sgml:
6091 * docs/gst/tmpl/gstbasetransform.sgml:
6092 * docs/gst/tmpl/gstbin.sgml:
6093 * docs/gst/tmpl/gstbuffer.sgml:
6094 * docs/gst/tmpl/gstcaps.sgml:
6095 * docs/gst/tmpl/gstclock.sgml:
6096 * docs/gst/tmpl/gstcompat.sgml:
6097 * docs/gst/tmpl/gstconfig.sgml:
6098 * docs/gst/tmpl/gstelement.sgml:
6099 * docs/gst/tmpl/gstelementdetails.sgml:
6100 * docs/gst/tmpl/gstelementfactory.sgml:
6101 * docs/gst/tmpl/gstenumtypes.sgml:
6102 * docs/gst/tmpl/gsterror.sgml:
6103 * docs/gst/tmpl/gstevent.sgml:
6104 * docs/gst/tmpl/gstfakesink.sgml:
6105 * docs/gst/tmpl/gstfakesrc.sgml:
6106 * docs/gst/tmpl/gstfilesink.sgml:
6107 * docs/gst/tmpl/gstfilesrc.sgml:
6108 * docs/gst/tmpl/gstfilter.sgml:
6109 * docs/gst/tmpl/gstformat.sgml:
6110 * docs/gst/tmpl/gstghostpad.sgml:
6111 * docs/gst/tmpl/gstimplementsinterface.sgml:
6112 * docs/gst/tmpl/gstindex.sgml:
6113 * docs/gst/tmpl/gstindexfactory.sgml:
6114 * docs/gst/tmpl/gstinfo.sgml:
6115 * docs/gst/tmpl/gstiterator.sgml:
6116 * docs/gst/tmpl/gstmacros.sgml:
6117 * docs/gst/tmpl/gstmemchunk.sgml:
6118 * docs/gst/tmpl/gstminiobject.sgml:
6119 * docs/gst/tmpl/gstobject.sgml:
6120 * docs/gst/tmpl/gstpad.sgml:
6121 * docs/gst/tmpl/gstpadtemplate.sgml:
6122 * docs/gst/tmpl/gstparse.sgml:
6123 * docs/gst/tmpl/gstpipeline.sgml:
6124 * docs/gst/tmpl/gstplugin.sgml:
6125 * docs/gst/tmpl/gstpluginfeature.sgml:
6126 * docs/gst/tmpl/gstquery.sgml:
6127 * docs/gst/tmpl/gstqueue.sgml:
6128 * docs/gst/tmpl/gstregistry.sgml:
6129 * docs/gst/tmpl/gstregistrypool.sgml:
6130 * docs/gst/tmpl/gstscheduler.sgml:
6131 * docs/gst/tmpl/gstschedulerfactory.sgml:
6132 * docs/gst/tmpl/gststructure.sgml:
6133 * docs/gst/tmpl/gstsystemclock.sgml:
6134 * docs/gst/tmpl/gsttaglist.sgml:
6135 * docs/gst/tmpl/gsttagsetter.sgml:
6136 * docs/gst/tmpl/gsttrace.sgml:
6137 * docs/gst/tmpl/gsttrashstack.sgml:
6138 * docs/gst/tmpl/gsttypefind.sgml:
6139 * docs/gst/tmpl/gsttypefindfactory.sgml:
6140 * docs/gst/tmpl/gsttypes.sgml:
6141 * docs/gst/tmpl/gsturihandler.sgml:
6142 * docs/gst/tmpl/gsturitype.sgml:
6143 * docs/gst/tmpl/gstutils.sgml:
6144 * docs/gst/tmpl/gstvalue.sgml:
6145 * docs/gst/tmpl/gstversion.sgml:
6146 * docs/gst/tmpl/gstxml.sgml:
6147 * docs/libs/tmpl/gstcontrol.sgml:
6148 * docs/libs/tmpl/gstdataprotocol.sgml:
6149 * docs/libs/tmpl/gstdparam.sgml:
6150 * docs/libs/tmpl/gstdplinint.sgml:
6151 * docs/libs/tmpl/gstdpman.sgml:
6152 * docs/libs/tmpl/gstdpsmooth.sgml:
6153 * docs/libs/tmpl/gstgetbits.sgml:
6154 * docs/libs/tmpl/gstunitconvert.sgml:
6155 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6156 (gst_push_src_base_init), (gst_push_src_class_init),
6157 (gst_push_src_init), (gst_push_src_create):
6158 * gst/base/gstpushsrc.h:
6159 * gst/elements/gstelements.c:
6160 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6161 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6162 (gst_fake_sink_init), (gst_fake_sink_set_property),
6163 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6164 (gst_fake_sink_event), (gst_fake_sink_preroll),
6165 (gst_fake_sink_render), (gst_fake_sink_change_state):
6166 * gst/elements/gstfakesink.h:
6167 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6168 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6169 (gst_fake_src_base_init), (gst_fake_src_class_init),
6170 (gst_fake_src_init), (gst_fake_src_event_handler),
6171 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6172 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6173 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6174 (gst_fake_src_create_buffer), (gst_fake_src_create),
6175 (gst_fake_src_start), (gst_fake_src_stop):
6176 * gst/elements/gstfakesrc.h:
6177 * gst/elements/gstfilesink.c: (_do_init),
6178 (gst_file_sink_base_init), (gst_file_sink_class_init),
6179 (gst_file_sink_init), (gst_file_sink_dispose),
6180 (gst_file_sink_set_location), (gst_file_sink_set_property),
6181 (gst_file_sink_get_property), (gst_file_sink_open_file),
6182 (gst_file_sink_close_file), (gst_file_sink_query),
6183 (gst_file_sink_event), (gst_file_sink_render),
6184 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6185 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6186 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6187 * gst/elements/gstfilesink.h:
6188 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6189 (gst_file_src_class_init), (gst_file_src_init),
6190 (gst_file_src_finalize), (gst_file_src_set_location),
6191 (gst_file_src_set_property), (gst_file_src_get_property),
6192 (gst_file_src_map_region), (gst_file_src_map_small_region),
6193 (gst_file_src_create_mmap), (gst_file_src_create_read),
6194 (gst_file_src_create), (gst_file_src_is_seekable),
6195 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6196 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6197 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6198 (gst_file_src_uri_handler_init):
6199 * gst/elements/gstfilesrc.h:
6200 more autistic cleanliness in functions/names/defines
6202 2005-07-13 Andy Wingo <wingo@pobox.com>
6204 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6205 source couldn't negotiate.
6207 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6211 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6212 function. I am channeling Hades. Put your boots on suckers!!!
6214 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6216 * testsuite/caps/Makefile.am:
6217 * testsuite/caps/value_compare.c:
6218 * testsuite/caps/value_intersect.c:
6219 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6220 move two testsuite apps over to the check dir
6222 2005-07-12 Wim Taymans <wim@fluendo.com>
6224 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6225 Added more debug info in the negotiate process.
6228 Prepare for segment playback.
6230 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6236 * tools/gst-launch.c: (main):
6237 NULL pipeline on errors.
6239 2005-07-12 Andy Wingo <wingo@pobox.com>
6241 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6242 not it comes from a malloc region. Make sure our copy gets freed.
6244 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6246 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6247 * check/gst/gstmessage.c: (GST_START_TEST):
6248 * check/gst/gststructure.c: (GST_START_TEST),
6249 (gst_structure_suite), (main):
6251 * gst/gstelement.c: (gst_element_message_full):
6252 clean up GError and debug string now that they get copied
6253 * gst/gstmessage.c: (gst_message_new_error),
6254 (gst_message_new_warning), (gst_message_parse_error),
6255 (gst_message_parse_warning):
6256 use GST_TYPE_G_ERROR for structure_new, and take copies of
6257 arguments, so that we don't mess up refcounting
6259 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6261 * check/Makefile.am:
6262 add per-test valgrind targets
6263 * check/gst-libs/gdp.c: (GST_START_TEST),
6264 (gst_data_protocol_suite), (main):
6267 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6269 * check/Makefile.am:
6270 instate more valgrindable tests
6271 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6272 (GST_START_TEST), (fakesrc_suite):
6273 * check/gst/gstpad.c: (GST_START_TEST):
6274 * check/gst/gststructure.c: (GST_START_TEST):
6276 * docs/gst/tmpl/gstminiobject.sgml:
6277 * gst/gstpad.c: (gst_pad_finalize):
6278 fix the static mutex leak
6280 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6282 * check/Makefile.am:
6283 add two more tests for valgrinding
6284 * check/gst/gstvalue.c: (GST_START_TEST):
6285 test refcount of deserialized buffer, found a leak
6286 * docs/gst/gstreamer-docs.sgml:
6287 * docs/gst/gstreamer-sections.txt:
6288 * docs/gst/gstreamer.types:
6289 * docs/gst/tmpl/gstminiobject.sgml:
6290 add miniobject to docs
6291 * gst/gstminiobject.c:
6293 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6294 (gst_string_unwrap):
6295 fix a hard-to-find invalid write for one of the tests
6296 fix a leak for deserialized buffers
6298 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6300 * docs/pwg/advanced-events.xml:
6301 * docs/pwg/advanced-request.xml:
6302 * docs/pwg/advanced-scheduling.xml:
6303 * docs/pwg/appendix-porting.xml:
6304 * docs/pwg/building-boiler.xml:
6305 * docs/pwg/intro-preface.xml:
6306 * docs/pwg/other-ntoone.xml:
6307 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6308 of example code and explanation for pad activation, loop() and
6309 getrange() functions and a bit more. Remove old comments pointing
6311 * examples/pwg/Makefile.am:
6312 Add loop/getrange examples.
6314 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6317 check for valgrind binary + some fixes
6319 valgrind suppressions for the tests
6320 * check/Makefile.am:
6321 add a valgrind: target that valgrinds the unit tests
6322 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6323 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6324 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6325 * check/gst/gstghostpad.c:
6327 * check/gst/gstdata.c:
6329 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6330 (thread_unref), (gst_mini_object_suite), (main):
6332 * gst/gst.c: (gst_deinit):
6334 add a method to clean up.
6335 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6336 (gst_system_clock_obtain):
6337 allow for disposing the system clock.
6338 * tools/gst-launch.c: (main):
6341 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6343 * docs/gst/tmpl/gstbasesrc.sgml:
6344 * docs/gst/tmpl/gstfakesrc.sgml:
6345 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6346 (gst_base_src_init), (gst_base_src_set_property),
6347 (gst_base_src_get_property), (gst_base_src_get_range),
6348 (gst_base_src_start):
6349 * gst/base/gstbasesrc.h:
6350 add num-buffers property
6351 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6352 (gst_fakesrc_init), (gst_fakesrc_set_property),
6353 (gst_fakesrc_get_property), (gst_fakesrc_create),
6354 (gst_fakesrc_start):
6355 remove num-buffers property
6357 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6359 * docs/gst/gstreamer-sections.txt:
6360 * docs/gst/tmpl/gstbasesink.sgml:
6361 * docs/gst/tmpl/gstbasesrc.sgml:
6362 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6363 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6364 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6365 (gst_base_sink_set_property), (gst_base_sink_get_property),
6366 (gst_base_sink_handle_object), (gst_base_sink_event),
6367 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6368 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6369 (gst_base_sink_loop), (gst_base_sink_deactivate),
6370 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6371 (gst_base_sink_change_state):
6372 * gst/base/gstbasesink.h:
6373 * gst/base/gstbasesrc.h:
6374 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6375 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6376 (gst_filesink_init):
6377 more macro splitting
6379 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6381 * gst/gstelement.c: (gst_element_get_bus):
6383 * tools/gst-launch.c: (check_intr), (event_loop):
6386 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6388 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6391 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6393 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6394 (gst_base_src_finalize):
6395 add finalize method and clean up properly
6396 * gst/gstpipeline.c: (gst_pipeline_dispose):
6399 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6401 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6403 add more things to check
6404 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6408 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6410 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6411 (GST_START_TEST), (fakesrc_suite):
6412 * check/gst-libs/gdp.c: (GST_START_TEST):
6413 * check/gst/gst.c: (GST_START_TEST):
6414 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6415 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6416 * check/gst/gstbus.c: (GST_START_TEST):
6417 * check/gst/gstcaps.c: (GST_START_TEST):
6418 * check/gst/gstdata.c: (GST_START_TEST):
6419 * check/gst/gstelement.c: (GST_START_TEST):
6420 * check/gst/gstghostpad.c: (GST_START_TEST):
6421 * check/gst/gstiterator.c: (GST_START_TEST):
6422 * check/gst/gstmessage.c: (GST_START_TEST):
6423 * check/gst/gstobject.c: (GST_START_TEST):
6424 * check/gst/gstpad.c: (GST_START_TEST):
6425 * check/gst/gststructure.c: (GST_START_TEST):
6426 * check/gst/gstsystemclock.c: (GST_START_TEST),
6427 (gst_systemclock_suite):
6428 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6429 * check/gst/gstvalue.c: (GST_START_TEST):
6430 * check/pipelines/cleanup.c: (GST_START_TEST):
6431 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6432 * check/states/sinks.c: (GST_START_TEST):
6433 * check/gstcheck.c: (gst_check_init):
6435 add debugging category
6436 use GST_START_TEST now, so we add a debug line
6438 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6440 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6441 add test for state change message on a bin
6442 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6444 * gst/gstbin.c: (gst_bin_init):
6445 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6446 * gst/gstelement.c: (gst_element_post_message),
6447 (gst_element_set_state):
6448 * gst/gstelementfactory.c: (gst_element_factory_create):
6449 * gst/gstmessage.c: (gst_message_new):
6450 * gst/gstscheduler.c:
6451 various debugging additions and cleanups
6453 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6455 * check/Makefile.am:
6456 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6458 adding tests for elements
6459 * gst/gstelement.c: (gst_element_dispose):
6461 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6463 * gst/registries/gstlibxmlregistry.c: (load_feature):
6464 plug more leaks. A simple gst_init() now is leakfree, yay.
6466 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6468 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6469 (gst_xml_registry_load):
6470 plug another memleak
6472 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6475 use GST_SET_ERROR_CFLAGS
6477 change to ERROR_CFLAGS
6479 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6482 make GST_ERROR_CFLAGS overridable and re-enable Werror
6484 add a note about error CFLAGS
6485 * docs/gst/tmpl/gstfakesrc.sgml:
6486 * gst/elements/gstfakesrc.c:
6487 comment out some unused code
6488 * gst/gst.c: (split_and_iterate):
6489 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6493 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6495 * common/Makefile.am:
6496 * common/gtk-doc.mak:
6497 * docs/gst/Makefile.am:
6498 factor out gtk-doc.mak
6500 2005-07-07 Wim Taymans <wim@fluendo.com>
6502 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6503 (gst_thread_scheduler_dispose):
6504 Unlock the STREAM_LOCK completely.
6506 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6508 * check/Makefile.am:
6509 * check/elements/.cvsignore:
6510 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6511 (START_TEST), (fakesrc_suite), (main):
6512 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6513 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6514 (gst_fakesrc_create), (gst_fakesrc_start):
6515 * gst/elements/gstfakesrc.h:
6516 adding a first element test
6518 2005-07-07 Andy Wingo <wingo@pobox.com>
6520 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6523 2005-07-07 Wim Taymans <wim@fluendo.com>
6529 2005-07-07 Wim Taymans <wim@fluendo.com>
6531 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6532 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6533 Allow subclasses to implement their own negotiation.
6535 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6537 * docs/design/part-gstbin.txt:
6538 * docs/design/part-gstpipeline.txt:
6539 Update design notes to reflect the movement of
6540 responsibility for bus handling from GstPipeline to
6543 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6546 Remove unnecessary queue2/3/4 examples.
6548 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6550 * examples/Makefile.am:
6551 * examples/helloworld/helloworld.c: (event_loop), (main):
6552 * examples/queue/queue.c: (event_loop), (main):
6553 * examples/queue2/queue2.c: (main):
6554 Update a couple of the examples to work again.
6556 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6557 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6558 Spelling corrections and extra debug.
6560 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6561 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6562 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6564 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6565 (gst_pipeline_change_state):
6566 * gst/gstpipeline.h:
6567 Move the bus handler for children to the GstBin, and create a
6568 separate bus for receiving messages from children to the one the
6569 bus sends 'upwards' on.
6571 2005-07-06 Wim Taymans <wim@fluendo.com>
6574 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6575 (gst_base_sink_handle_object), (gst_base_sink_loop),
6576 (gst_base_sink_change_state):
6577 * gst/base/gstbasesink.h:
6578 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6579 (gst_base_src_init), (gst_base_src_setcaps),
6580 (gst_base_src_getcaps), (gst_base_src_loop),
6581 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6582 (gst_base_src_start), (gst_base_src_change_state):
6583 * gst/base/gstbasesrc.h:
6584 Make basesrc negotiate.
6585 Handle the case where preroll fails in basesink.
6588 2005-07-06 Wim Taymans <wim@fluendo.com>
6590 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6591 Implement the fixate function.
6592 Clean up acceptcaps.
6594 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6596 * docs/pwg/building-filterfactory.xml:
6598 Remove never-written filter-factory chapter; I'll add the various
6599 base classes to part 4 ("other element types") later on.
6601 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6603 * docs/pwg/advanced-negotiation.xml:
6604 * docs/pwg/building-boiler.xml:
6605 * docs/pwg/building-pads.xml:
6607 * examples/pwg/Makefile.am:
6608 Add a chapter on caps negotiation, simplify the original code
6609 samples a bit w.r.t. caps negotiation, add link to the advanced
6610 section. Add a bunch of examples showing different use cases of
6611 different types of caps negotiation. Upstream renegotiation isn't
6612 fully documented yet since nobody knows how that works.
6614 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6616 * check/gst/gstpad.c:
6618 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6619 if pad has no parent, return NULL as list of internal links
6621 2005-07-05 Andy Wingo <wingo@pobox.com>
6623 * gst/elements/gstfilesrc.c:
6624 * gst/elements/gstfakesrc.c:
6625 * gst/base/gstpushsrc.c:
6626 * gst/base/gstbasesrc.h:
6627 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6629 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6632 better report generation target (lcov needs a patch)
6634 2005-07-05 Andy Wingo <wingo@pobox.com>
6636 * gst/elements, testsuite: Null if we got it...
6638 2005-07-05 Wim Taymans <wim@fluendo.com>
6641 * libs/gst/dataprotocol/Makefile.am:
6642 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6643 * libs/gst/dataprotocol/dataprotocol.h:
6644 * pkgconfig/Makefile.am:
6645 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6646 * pkgconfig/gstreamer-dataprotocol.pc.in:
6647 Ported dataprotol to 0.9.
6648 Added pkgconfig files.
6650 2005-07-05 Andy Wingo <wingo@pobox.com>
6652 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6653 Default to returning TRUE for the case when tranform_caps returns
6654 a fixed caps, like for identity or volume.
6656 * check/gst/gstbus.c (pound_bus_with_messages):
6657 * check/gst/gstmessage.c (START_TEST):
6658 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6661 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6662 logic weaks here: always run transform_caps, trying passthrough
6663 operation only if the original caps intersects with the transform.
6665 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6666 source and sink caps.
6668 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6669 Intersect the peer caps with the pad template before going into
6671 (gst_base_transform_transform_caps): More debugging.
6673 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6676 2005-07-04 Edward Hervey <edward@fluendo.com>
6680 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6683 2005-07-04 Andy Wingo <wingo@pobox.com>
6685 * check/gst/gstpad.c: Only set explicit caps on pads.
6687 2005-07-01 Andy Wingo <wingo@pobox.com>
6689 * tests/network-clock.scm: Commentary update.
6691 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6692 Didn't really make sense, not implementable with basetransform,
6694 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6695 attempt at implementing the sync property, needs an unlock method.
6697 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6698 New func, by default returns the same caps (the identity
6700 (gst_base_transform_getcaps): Uses transform_caps to return
6702 (gst_base_transform_setcaps): Complicated logic to get caps on
6703 both pads, even if they are different, and to call set_caps once
6704 for every time both pads get their caps set.
6705 (gst_base_transform_handle_buffer): Give the ref to the transform
6706 function. Allows in-place modification of the buffer.
6708 * gst/base/gstbasetransform.h (transform_caps): New class method.
6709 Given caps on one side, what can I do on the other.
6710 (set_caps): Take two caps, one for each side of the element.
6713 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6714 caps in place. This is safe because we can check the mutability of
6715 the caps, and a good idea because fixate functions are just called
6716 as a matter of last resort. (Not actually implemented.)
6717 (gst_pad_set_caps): If the caps we're setting is actually the same
6718 as the existing pad caps, just update the pointer without calling
6719 setcaps. Assert that caps is either NULL or fixed, as per the
6722 * gst/gstghostpad.c: Update for fixate changes.
6724 2005-07-02 Andy Wingo <wingo@pobox.com>
6727 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6728 two refcounts makes it immutable, which is enough. Doc more.
6730 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6732 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6733 Put the mini_object into GValue as a mini_object,
6734 not a gpointer, since that's how we declared
6737 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6739 * examples/pwg/Makefile.am:
6742 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6744 * docs/pwg/building-testapp.xml:
6746 * examples/pwg/Makefile.am:
6749 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6752 * examples/Makefile.am:
6753 * examples/pwg/Makefile.am:
6754 * examples/pwg/extract.pl:
6755 Enable building the PWG examples.
6756 * docs/pwg/advanced-interfaces.xml:
6757 Add URI interface stub.
6758 * docs/pwg/advanced-types.xml:
6759 * docs/pwg/other-autoplugger.xml:
6760 * docs/pwg/appendix-porting.xml:
6762 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6763 * docs/pwg/building-boiler.xml:
6764 * docs/pwg/building-chainfn.xml:
6765 * docs/pwg/building-pads.xml:
6766 * docs/pwg/building-props.xml:
6767 * docs/pwg/building-state.xml:
6768 * docs/pwg/building-testapp.xml:
6769 Update the building-*.xml parts for 0.9 changes. All examples
6770 code blocks compile in examples/pwg/*.
6772 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6774 * docs/manual/advanced-autoplugging.xml:
6775 * docs/manual/appendix-checklist.xml:
6776 * docs/manual/appendix-integration.xml:
6777 * docs/manual/highlevel-components.xml:
6778 Fix playbin/decodebin examples, update docs a bit, mention bus
6779 instead of signals in various places, mention kmplayer and
6780 kaffeine since they have a working GStreamer backend in the KDE
6783 2005-06-30 Wim Taymans <wim@fluendo.com>
6786 * docs/design/draft-ghostpads.txt:
6787 * docs/design/draft-push-pull.txt:
6788 * docs/design/draft-query.txt:
6789 * docs/design/part-TODO.txt:
6790 * docs/design/part-query.txt:
6791 Added CHANGES-0.9 doc, updated status of other docs.
6796 2005-06-30 Wim Taymans <wim@fluendo.com>
6798 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6799 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6800 (gst_base_sink_change_state):
6801 * gst/base/gstbasesink.h:
6802 Some tweaks, only EOS and a buffer complete a preroll.
6804 2005-06-30 Andy Wingo <wingo@pobox.com>
6806 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6807 activate_push down to the internal pad as well.
6809 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6811 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6813 * gst/gsttaginterface.c:
6814 Some documentation fixes (#307394 and #307397).
6816 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6818 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6820 * gst/gstvalue.c: (gst_value_intersect_list):
6821 Fix memleak (#309125).
6823 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6825 * docs/manual/advanced-dataaccess.xml:
6826 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6827 * docs/manual/basics-pads.xml:
6828 Add reference for filtered caps to above chapter.
6830 2005-06-30 Wim Taymans <wim@fluendo.com>
6832 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6833 (gst_bin_change_state):
6835 Lame attempt at making the state change function a bit
6838 2005-06-30 Wim Taymans <wim@fluendo.com>
6840 * docs/design/part-clocks.txt:
6841 * docs/design/part-element-sink.txt:
6842 * docs/design/part-events.txt:
6843 * docs/design/part-preroll.txt:
6844 * docs/design/part-states.txt:
6845 Some more tweeks and additions to the docs.
6847 2005-06-30 Wim Taymans <wim@fluendo.com>
6849 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6850 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6851 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6852 (gst_pad_check_pull_range), (gst_pad_get_range),
6853 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6855 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6856 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6857 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6858 (gst_pad_remove_buffer_probe):
6859 Removed atomic operations, use existing LOCK.
6860 Move exception handling out of main code path.
6862 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6864 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6865 (silly_return_true_function), (gst_pad_class_init),
6866 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6867 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6868 (gst_pad_send_event):
6869 Fix accumulator, add default value by using _emitv() instead
6870 of _emit() for signal emission.
6872 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6874 * docs/manual/advanced-dataaccess.xml:
6875 * examples/manual/Makefile.am:
6877 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6880 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6882 * gst/elements/gstfilesink.c: (gst_filesink_render):
6883 Simplify code so that we don't have to handle short
6884 writes and return GST_FLOW_ERROR if an error occured.
6886 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6888 * docs/gst/gstreamer-docs.sgml:
6891 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6893 * docs/gst/gstreamer-sections.txt:
6894 * docs/gst/tmpl/gstpad.sgml:
6895 * docs/gst/tmpl/gstprobe.sgml:
6897 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6898 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6899 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6900 (gst_pad_push_event), (gst_pad_send_event):
6902 * gst/gstutils.c: (gst_pad_add_data_probe),
6903 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6904 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6905 (gst_pad_remove_buffer_probe):
6907 Remove old probes, add new g-signal-based probes and some utility
6910 2005-06-29 Edward Hervey <edward@fluendo.com>
6912 * gst/gstelementfactory.c:
6915 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6916 the definition to the header file.
6918 2005-06-29 Andy Wingo <wingo@pobox.com>
6920 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6921 plugins from the source directory.
6923 2005-06-29 Wim Taymans <wim@fluendo.com>
6925 * docs/gst/tmpl/gstbuffer.sgml:
6926 * docs/gst/tmpl/gstclock.sgml:
6927 Some fixings for blantently wrong text.
6929 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6931 * check/Makefile.am:
6932 * gst/gst.c: (add_path_func), (init_pre):
6933 * gst/gstregistry.c: (gst_registry_add_path):
6934 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6935 only scan the GST_PLUGIN_PATH locations, and not add
6938 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6940 * docs/gst/gstreamer-sections.txt:
6941 * docs/gst/tmpl/gstbasesrc.sgml:
6948 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6950 * docs/manual/advanced-autoplugging.xml:
6951 Fix autoplugging example.
6953 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6955 * docs/manual/advanced-autoplugging.xml:
6956 * docs/manual/mime-world.fig:
6957 Try to get autoplugging working, fix type detection. Fix text
6958 in hello-world image.
6960 2005-06-29 Wim Taymans <wim@fluendo.com>
6962 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6963 (gst_base_sink_change_state):
6967 map SIGNAL and BROADCAST to the right function.
6970 Remove redundant braces.
6972 * gst/gstpad.c: (gst_pad_set_caps):
6973 Don't call setcaps function when reseting caps to NULL.
6975 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6976 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6977 (gst_system_clock_id_unschedule):
6978 Use BROADCAST as this is what we do.
6980 2005-06-29 Wim Taymans <wim@fluendo.com>
6982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6983 We are actually prerolling before commiting the state
6986 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6988 * docs/manual/advanced-clocks.xml:
6989 * docs/manual/advanced-interfaces.xml:
6990 * docs/manual/advanced-metadata.xml:
6991 * docs/manual/advanced-position.xml:
6992 * docs/manual/advanced-schedulers.xml:
6993 * docs/manual/advanced-threads.xml:
6994 * docs/manual/appendix-porting.xml:
6995 * docs/manual/basics-bins.xml:
6996 * docs/manual/basics-bus.xml:
6997 * docs/manual/basics-elements.xml:
6998 * docs/manual/basics-helloworld.xml:
6999 * docs/manual/basics-pads.xml:
7000 * docs/manual/highlevel-components.xml:
7001 * docs/manual/manual.xml:
7002 * docs/manual/thread.fig:
7003 Update (until threads/scheduling) Application Development Manual;
7004 remove GstThread, add GstBus, add simple porting checklist, add
7005 documentation for tag writing, clocks, make all examples until this
7006 part compile and run.
7007 * examples/manual/Makefile.am:
7008 Update from changes to Application Development Manual; add bus
7009 example, remove thread example.
7011 2005-06-28 Wim Taymans <wim@fluendo.com>
7013 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7014 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7015 (gst_bus_source_dispatch):
7016 Add debugging messages.
7017 Make internal methods static.
7018 Handle the case where the bus is flushed in the handler.
7020 * gst/gstelement.c: (gst_element_get_bus):
7021 Fix refcount in _get_bus();
7023 * gst/gstpipeline.c: (gst_pipeline_change_state),
7024 (gst_pipeline_get_clock_func):
7025 Clock refcounting fixes.
7026 Handle the case where preroll timed out more gracefully.
7028 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7029 Clean up the internal thread in dispose. This is needed
7030 for subclasses that actually get disposed.
7032 * gst/schedulers/threadscheduler.c:
7033 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7034 (gst_thread_scheduler_dispose):
7035 Free thread pool in dispose.
7037 2005-06-28 Andy Wingo <wingo@pobox.com>
7039 * tests/network-clock-utils.scm (debug, print-event): New utils.
7041 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7042 (*packet-loss*): Unified loss probability.
7043 (network-time): Report out-of-band events.
7045 * tests/plot-data: Add support for out-of-band events. Hack it
7046 into this script instead of passing it down the pipe; should fix
7049 2005-06-28 Wim Taymans <wim@fluendo.com>
7051 * docs/gst/gstreamer.types:
7052 * docs/gst/tmpl/gstbasesrc.sgml:
7053 * docs/gst/tmpl/gstpad.sgml:
7056 2005-06-28 Wim Taymans <wim@fluendo.com>
7058 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7059 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7060 (gst_proxy_pad_do_fixatecaps):
7061 Correctly proxy the check_pull_range function.
7063 2005-06-28 Andy Wingo <wingo@pobox.com>
7065 * tests/network-clock.scm: Removed need for slib.
7067 2005-06-28 Wim Taymans <wim@fluendo.com>
7069 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7070 (gst_basesink_preroll_queue_flush):
7071 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7072 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7073 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7074 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7075 (gst_proxy_pad_set_property):
7078 * gst/gstqueue.c: (gst_queue_init):
7079 The deprecated pad loop function is removed now.
7081 2005-06-28 Andy Wingo <wingo@pobox.com>
7083 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7084 New parameters, simulate network packet loss.
7086 * tests/network-clock-utils.scm: Initialize the RNG.
7088 2005-06-28 Wim Taymans <wim@fluendo.com>
7090 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7091 (gst_basesink_event), (gst_basesink_deactivate):
7092 Flushing the preroll queue always needs to unlock the waiters.
7094 2005-06-28 Edward Hervey <edward@fluendo.com>
7096 * gst/gstpipeline.c: (gst_pipeline_send_event):
7097 Wheen a seek was successful on a pipeline, set the stream_time to the
7098 seek offset in order to have a synchronized stream_time.
7100 2005-06-28 Wim Taymans <wim@fluendo.com>
7102 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7103 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7104 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7105 (gst_proxy_pad_do_fixatecaps):
7106 Call wrapper function instead of just calling the function
7107 pointers. This takes care of any locking and whatmore.
7109 2005-06-28 Wim Taymans <wim@fluendo.com>
7111 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7112 (gst_pad_pull_range):
7114 CONNECTED -> LINKED.
7116 2005-06-28 Andy Wingo <wingo@pobox.com>
7118 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7119 source-munging commit!!!
7121 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7122 (gst_object_sink): Take gpointer arguments, not GstObject --
7123 avoids casts. Like GLib.
7125 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7128 2005-06-27 Andy Wingo <wingo@pobox.com>
7130 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7133 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7134 returns a sorted copy of the trace list.
7135 (gst_alloc_trace_print_live): New API, only prints traces with
7136 live objects. Sort the list.
7137 (gst_alloc_trace_print_all): Sort the list.
7138 (gst_alloc_trace_print): Align columns.
7140 * gst/elements/gstttypefindelement.c:
7141 * gst/elements/gsttee.c:
7142 * gst/base/gstbasesrc.c:
7143 * gst/base/gstbasesink.c:
7144 * gst/base/gstbasetransform.c:
7145 * gst/gstqueue.c: Adapt for pad activation changes.
7147 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7149 (gst_pipeline_dispose): Drop ref on sched.
7151 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7152 (gst_pad_activate_default): Push mode by default.
7153 (pre_activate_switch, post_activate_switch): New stubs, things to
7154 do before and after switching activation modes on pads.
7155 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7156 the pad's activate function to choose which mode to activate.
7157 Shortcut on deactivation and call the right function directly.
7158 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7160 (gst_pad_activate_push): New API, same for push mode.
7161 (gst_pad_set_activate_function)
7162 (gst_pad_set_activatepull_function)
7163 (gst_pad_set_activatepush_function): Setters for new API.
7165 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7166 Trace all miniobjects.
7167 (gst_mini_object_make_writable): Unref the arg if we copy, like
7168 gst_caps_make_writable.
7170 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7172 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7173 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7174 Adapt for new pad API.
7176 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7179 * gst/gstelement.c (gst_element_iterate_src_pads)
7180 (gst_element_iterate_sink_pads): New API functions.
7182 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7183 should fold into gstiterator.c in some form.
7184 (gst_element_pads_activate): Simplified via use of fold and
7185 delegation of decisions to gstpad->activate.
7187 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7190 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7191 class once in init, like gstmessage. Didn't run into this issue
7192 but it seems correct. Don't initialize a trace, gstminiobject does
7195 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7196 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7198 (assert_live_count): New util function, uses alloc traces to check
7201 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7202 To be modified when unlink drops the internal pad.
7204 2005-06-27 Wim Taymans <wim@fluendo.com>
7206 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7207 (gst_bin_change_state):
7208 Cleanup the get_state() function a little, make sure it
7209 iterates the same set of elements.
7210 Added stub iterate_state_order().
7212 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * docs/gst/gstreamer-docs.sgml:
7215 * docs/gst/gstreamer-sections.txt:
7216 * docs/gst/gstreamer.types:
7217 * docs/gst/tmpl/gstbasesink.sgml:
7218 * docs/gst/tmpl/gstbasesrc.sgml:
7219 * docs/gst/tmpl/gstbasetransform.sgml:
7220 * docs/gst/tmpl/gstelement.sgml:
7221 * docs/gst/tmpl/gstiterator.sgml:
7222 * gst/base/gstbasesrc.c:
7223 * gst/base/gstbasesrc.h:
7224 * gst/base/gstbasetransform.h:
7226 * gst/gstiterator.h:
7227 adding basetransform and iterator docs
7229 2005-06-27 Andy Wingo <wingo@pobox.com>
7231 * docs/design/part-activation.txt: Notes on how activation should
7232 work -- not quite implemented yet.
7234 2005-06-25 Wim Taymans <wim@fluendo.com>
7236 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7237 At least get the chain function correct, needs more
7240 2005-06-25 Wim Taymans <wim@fluendo.com>
7242 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7243 (gst_basesink_handle_object), (gst_basesink_event),
7244 (gst_basesink_do_sync), (gst_basesink_handle_event),
7245 (gst_basesink_change_state):
7247 Right, two problems here: ghostpads don't take locks and
7248 glib _rec_mutex_lock_full() with depth==0 still locks.
7249 Catch illegal locking and g_warn them.
7251 2005-06-25 Wim Taymans <wim@fluendo.com>
7253 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7254 Have to check for completion now...
7256 2005-06-25 Wim Taymans <wim@fluendo.com>
7258 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7259 (gst_basesink_handle_object), (gst_basesink_event),
7260 (gst_basesink_do_sync), (gst_basesink_handle_event),
7261 (gst_basesink_change_state):
7263 Unlock STREAM_LOCK whatever the recursion was.
7265 2005-06-25 Wim Taymans <wim@fluendo.com>
7267 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7268 (gst_basesink_preroll_queue_empty),
7269 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7270 (gst_basesink_event), (gst_basesink_do_sync),
7271 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7272 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7273 (gst_basesink_change_state):
7274 Reworked the base sink, handle event and buffer serialisation
7275 correctly and removed possible deadlock.
7276 Handle EOS correctly.
7278 2005-06-25 Wim Taymans <wim@fluendo.com>
7280 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7281 (gst_pipeline_change_state):
7282 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7283 Allow elements to post EOS in the state change function.
7284 Fix up -launch, make it exit the poll loop when the
7285 pipeline actually changed state.
7286 Fix up warning parsing in -launch.
7288 2005-06-25 Wim Taymans <wim@fluendo.com>
7290 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7291 (gst_tee_sink_activate):
7292 Core takes STREAM_LOCK for us now.
7294 2005-06-25 Wim Taymans <wim@fluendo.com>
7296 * gst/gstelement.c: (gst_element_get_state_func),
7297 (gst_element_set_state):
7299 * gst/gstmessage.c: (gst_message_parse_error),
7300 (gst_message_parse_warning):
7301 Keep track of current target state while performing a state
7302 change so that subclasses can do something interesting.
7303 Fix parsing of warning/error messages when GError is NULL.
7305 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7307 * docs/gst/Makefile.am:
7308 * docs/gst/gstreamer-docs.sgml:
7309 * docs/gst/gstreamer-sections.txt:
7310 * docs/gst/gstreamer.types:
7311 * docs/gst/tmpl/gstbasesink.sgml:
7312 * docs/gst/tmpl/gstbasesrc.sgml:
7313 * docs/gst/tmpl/gstbin.sgml:
7314 * docs/gst/tmpl/gstcompat.sgml:
7315 * docs/gst/tmpl/gstfakesink.sgml:
7316 * docs/gst/tmpl/gstfakesrc.sgml:
7317 * docs/gst/tmpl/gstfilesink.sgml:
7318 * docs/gst/tmpl/gstfilesrc.sgml:
7319 * docs/gst/tmpl/gstindex.sgml:
7320 * docs/manual/appendix-quotes.xml:
7321 * gst/base/gstbasesrc.h:
7322 * gst/elements/gstfakesrc.h:
7324 start pulling in base classes and elements in our docs
7326 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7328 * docs/gst/Makefile.am:
7329 * docs/libs/Makefile.am:
7330 fixed make distcheck with gtk-doc 1.3
7332 2005-06-23 Wim Taymans <wim@fluendo.com>
7334 * gst/gstelement.c: (gst_element_get_state_func),
7335 (gst_element_set_state), (gst_element_change_state):
7336 When the state did not change, also report NO_PREROLL
7339 2005-06-23 Wim Taymans <wim@fluendo.com>
7341 * gst/gstpad.c: (gst_pad_event_default):
7342 * gst/gstqueue.c: (gst_queue_loop):
7343 No unsafe task pausing please.
7345 2005-06-23 Wim Taymans <wim@fluendo.com>
7347 * gst/schedulers/threadscheduler.c:
7348 (gst_thread_scheduler_task_start),
7349 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7350 Ref the task before pushing it on the threadpool. This
7351 makes sure that we have a ref when the threadfunction is
7354 2005-06-23 Andy Wingo <wingo@pobox.com>
7356 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7357 offset is greater than the file's size.
7359 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7360 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7361 * gst/gstobject.c (gst_object_class_init): Make the class lock
7362 recursive. Wim won't let me drop deep_notify. Decodebin works
7365 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7366 internal pad, and hacks accordingly. Doesn't do it on the target
7367 pad because we change its caps. Probably catches all cases of
7369 (gst_ghost_pad_set_property): Connect to notify::caps as
7372 * tests/network-clock.scm (plot-simulation): Pipe data to the
7373 elite python skript.
7375 * tests/network-clock-utils.scm (define-parameter): New macro,
7376 defines a parameter that can be set via the command line.
7377 (set-parameter!, parse-parameter-arguments): Command line args
7380 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7383 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7385 * gst/elements/gsttypefindelement.c:
7386 (gst_type_find_element_handle_event):
7387 Don't restart typefinding on a discont.
7388 * gst/gstelement.c: (gst_element_set_state):
7390 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7391 Allow changing mode of an active pad.
7393 * gst/registries/gstlibxmlregistry.c: (load_feature):
7394 Don't cast a static pad template to a normal pad template.
7396 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7398 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7399 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7400 remove gst_strtoll completely, since it didn't actually do
7401 anything more than what g_ascii_strtoull already does.
7402 check for range errors when deserializing
7403 do a cast for the unsigned cases; but further fixing needs
7404 a decision on what the interpretation of "(int)" and
7405 deserialization should be for values that fall outside the
7406 type's boundaries (ie, refuse, or interpret as casting)
7408 2005-06-23 Wim Taymans <wim@fluendo.com>
7410 * check/Makefile.am:
7411 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7412 * docs/design/part-live-source.txt:
7413 * docs/design/part-states.txt:
7414 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7415 (gst_basesrc_set_live), (gst_basesrc_is_live),
7416 (gst_basesrc_get_range), (gst_basesrc_activate),
7417 (gst_basesrc_change_state):
7418 * gst/base/gstbasesrc.h:
7419 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7420 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7421 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7422 * gst/gstelement.c: (gst_element_get_state_func),
7423 (gst_element_set_state):
7426 * tools/gst-launch.c: (event_loop), (main):
7427 Added support for live sources and other elements that
7429 Updated design docs, added live-source design doc.
7430 Implemented live source functionality in basesrc
7431 Fix error condition in _bin_get_state()
7432 Implement live source handling in -launch.
7433 Added check for live sources.
7434 Fixed case in GstBin where elements were changed state
7438 2005-06-23 Andy Wingo <wingo@pobox.com>
7440 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7443 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7444 gst_caps_replace takes care of this for us.
7446 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7447 gst_pad_set_caps on the target, not just its setcaps() function.
7449 * tests/network-clock.scm:
7450 * tests/network-clock-utils.scm: A network clock simulator.
7451 Something of an algorithmic testbed before doing something in C.
7453 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7455 * check/Makefile.am:
7456 * check/gst/capslist.h:
7457 copy over from 0.8, and add two with bitmasks specified with
7459 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7460 add test to parse everything from capslist.h
7461 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7463 add test for structure deserialization
7464 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7465 add tests for deserialization of strings to int types
7466 * gst/gststructure.c: (gst_structure_nth_field_name):
7467 * gst/gststructure.h:
7468 add a way to get the name of a field referenced by index
7469 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7470 instead of checking if the resulting long long lies between
7471 min and max, we check if the long long would fit into
7472 a number of bytes for the final type.
7473 This fixes cases where a string represents 2^32 - 1, which
7474 when cast to int would be the (valid) -1, but is bigger than
7477 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * gst/parse/grammar.y:
7480 add a log line for type deserialization
7482 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7484 * check/gst/gstvalue.c: (START_TEST):
7485 * gst/gstvalue.c: (gst_value_deserialize):
7486 return long long, not int, so gint64 deserialization actually
7487 works. Is there any flag that makes the compiler check this ?
7490 2005-06-22 Wim Taymans <wim@fluendo.com>
7493 Added convenience macros for setting buffers in GValue.
7495 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7497 * check/gst/.cvsignore:
7498 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7499 add a test deserializing int64, and comment part out because
7502 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7504 * check/Makefile.am:
7505 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7506 * testsuite/Makefile.am:
7507 * testsuite/caps/Makefile.am:
7508 * testsuite/caps/value_serialize.c:
7509 * testsuite/test_gst_init.c:
7510 move a value_serialize test over
7512 2005-06-20 Wim Taymans <wim@fluendo.com>
7517 * gst/gstvalue.c: (gst_value_compare_buffer),
7518 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7519 (gst_value_compare_flags), (gst_value_serialize_flags),
7520 (gst_value_deserialize_flags), (_gst_value_initialize):
7521 Fix serialisation of buffers, they are not boxed types anymore
7523 2005-06-20 Wim Taymans <wim@fluendo.com>
7525 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7526 Testcase to show error in buffer-on-caps serialisation.
7528 2005-06-20 Andy Wingo <wingo@pobox.com>
7530 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7531 will be adding to later.
7533 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7534 if its socks fill with rocks.
7535 (gst_system_clock_obtain): Set the name on object construction.
7536 Avoid double-checked locking.
7538 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7540 * gst/gsturi.c: (gst_element_make_from_uri):
7541 Fix potential endless loop.
7543 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7545 * check/Makefile.am:
7547 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7549 move over from testsuite dir and clean up
7552 * testsuite/Makefile.am:
7553 * testsuite/tags/.cvsignore:
7554 * testsuite/tags/Makefile.am:
7555 * testsuite/tags/merge.c:
7556 remove testsuite/tags
7558 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7560 * docs/gst/gstreamer-sections.txt:
7561 * docs/gst/tmpl/gstenumtypes.sgml:
7562 * win32/gstenumtypes.c:
7563 clean up documentation build a little
7565 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7568 add macros for checking refcounts on objects and caps
7569 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7570 add some more unit tests
7571 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7572 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7573 fix leaked refcounts (I hope :)) so unittest works
7577 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7579 * configure.ac: back to HEAD
7581 === release 0.9.1 ===
7583 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7589 2005-06-17 Andy Wingo <wingo@pobox.com>
7591 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7592 assert; it's always possible that the pad gets deactivated in
7593 between the checks in gstpad.c and the implementation. Rely on
7594 finish_preroll() to return a FLUSHING or similar instead of on the
7597 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7598 clock and post an EOS message if we come out of finish_preroll in
7601 2005-06-16 David Schleef <ds@schleef.org>
7603 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7604 (gst_capsfilter_set_property): Allow NULL as possible value
7605 for filter_caps property, indicating GST_CAPS_ANY.
7607 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7609 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7611 * gst/schedulers/Makefile.am:
7613 * gstreamer.spec.in:
7616 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7618 * gstreamer.spec.in:
7621 2005-06-08 Andy Wingo <wingo@pobox.com>
7623 * gst/gstutils.c: RPAD fixes all around.
7624 (gst_element_link_pads): Refcounting fixes.
7626 * tools/gst-inspect.c:
7627 * tools/gst-xmlinspect.c:
7629 * gst/base/gsttypefindhelper.c:
7630 * gst/base/gstbasesink.c:
7631 * gst/gstqueue.c: RPAD fixes.
7633 * gst/gstghostpad.h:
7634 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7635 pads. The tricky thing is they provide both source and sink
7636 interfaces, since they proxy the internal pad for the external
7637 pad, and vice versa. Implement with lower-level ProxyPad objects,
7638 with the interior proxy pad as a child of the exterior ghost pad.
7639 Should write a doc on this.
7641 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7642 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7645 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7646 pads are real pads. No ghost pads in this file. Not documenting
7647 the myriad s/RPAD/PAD/ and REALIZE fixes.
7648 (gst_pad_class_init): Add properties for "direction" and
7649 "template". Both are construct-only, so they can't change during
7650 the life of the pad. Fixes properly deriving from GstPad.
7651 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7652 derived objects, just set properties when creating the objects via
7654 (gst_pad_get_parent): Implement as a function, return NULL if the
7655 parent is not an element.
7656 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7657 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7659 * gst/gstobject.c (gst_object_class_init): Make name a construct
7660 property. Don't set it in the object init.
7662 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7663 with UNKNOWN direction.
7664 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7665 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7666 (gst_element_remove_pad): Remove ghost-pad special cases.
7667 (gst_element_pads_activate): Remove rpad cruft.
7669 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7670 catch the pad's-parent-not-an-element case.
7672 * gst/gst.h: Include gstghostpad.h.
7674 * gst/gst.c (init_post): No more real, ghost pads.
7676 * gst/Makefile.am: Add gstghostpad.[ch].
7678 * check/Makefile.am:
7679 * check/gst/gstbin.c:
7680 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7681 into a bin creates ghost pads, and that the refcounts are right.
7682 Partly moved from gstbin.c.
7684 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7686 * check/gst-libs/.cvsignore:
7687 * check/gst/.cvsignore:
7688 * check/pipelines/.cvsignore:
7690 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7691 (START_TEST), (cleanup_suite), (main):
7692 add some tests related to cleanup after running pipelines
7694 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7696 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7697 add a testsuite for GstBuffer
7699 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7701 * gst/gstminiobject.h:
7702 add defines for accessing the refcount
7704 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7706 * Makefile.am: added support for html unit test coverage reports
7708 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7710 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7711 Free existing caps if the capsfilter changes. Add a FIXME about
7712 setting those caps on the pads.
7714 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7715 Before adding a ghost pad to a parent bin, check that there isn't
7716 already one for the element on the bin. Prevents infinite recursion
7717 when using decodebin in parse pipelines. Andy says he'll rewrite the
7718 way this works anyway, so ignore the hack.
7720 2005-06-02 Andy Wingo <wingo@pobox.com>
7722 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7723 file size, pass it on to the type find helper.
7725 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7726 segment_start and segment_end properly according to the seek
7727 method. Segment_end is still a bit flaky because offset can be
7728 negative for CUR and END cases, but it takes -1 as an "unset"
7731 2005-06-02 Wim Taymans <wim@fluendo.com>
7733 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7734 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7735 (gst_basesink_activate):
7736 * gst/base/gstbasesink.h:
7737 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7738 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7739 (gst_pad_query), (gst_pad_start_task):
7741 * gst/gstqueue.c: (gst_queue_bufferalloc),
7742 (gst_queue_handle_sink_event), (gst_queue_chain):
7743 Bufferalloc: return GstFlowReturn to more accuratly report
7744 why allocation failed.
7746 2005-06-02 Wim Taymans <wim@fluendo.com>
7748 * gst/gstpipeline.c: (gst_pipeline_send_event):
7749 Take snapshot of state without blocking.
7751 2005-06-02 Wim Taymans <wim@fluendo.com>
7753 * docs/design/part-TODO.txt:
7754 * docs/design/part-caps.txt:
7755 * docs/design/part-clocks.txt:
7756 * docs/design/part-negotiation.txt:
7757 * docs/design/part-preroll.txt:
7760 2005-05-30 Wim Taymans <wim@fluendo.com>
7762 * gst/elements/gstidentity.c: (gst_identity_event),
7763 (gst_identity_transform), (gst_identity_get_property):
7764 Protect last_message property as it is accessed from
7767 2005-05-30 Wim Taymans <wim@fluendo.com>
7769 * gst/gstelement.c: (gst_element_init),
7770 (gst_element_pads_activate), (gst_element_change_state):
7771 Slicker pad activation code.
7773 2005-05-30 Wim Taymans <wim@fluendo.com>
7777 * gst/gstelementfactory.h:
7779 Move elementfactory methods to separate .h file.
7781 2005-05-30 Wim Taymans <wim@fluendo.com>
7783 * docs/design/part-overview.txt:
7784 * gst/gstsystemclock.h:
7785 Small typo fixes, doc updates.
7787 2005-05-30 Wim Taymans <wim@fluendo.com>
7789 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7790 (init_popt_callback):
7791 Remove cpu-opt flag.
7793 2005-05-30 Wim Taymans <wim@fluendo.com>
7795 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7796 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7798 Avoid typechecking in places where not needed.
7799 Added accessor for malloc_data.
7801 2005-05-30 Wim Taymans <wim@fluendo.com>
7803 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7804 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7805 (gst_pad_configure_sink), (gst_pad_configure_src),
7806 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7807 (gst_pad_start_task):
7808 Propagate errors from _set_caps() in configure_src/sink
7809 functions instead of returning TRUE.
7810 FLUSH events can travel up and downstream
7813 2005-05-30 Wim Taymans <wim@fluendo.com>
7815 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7816 (gst_basesink_activate):
7817 Handle EOS in preroll.
7819 2005-05-30 Wim Taymans <wim@fluendo.com>
7821 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7822 (gst_queue_loop), (gst_queue_handle_src_event):
7823 Remove old pieces of code
7824 Flushing the queue in an upstream event is a very bad idea.
7826 2005-05-26 Andy Wingo <wingo@pobox.com>
7828 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7829 gst_value_set_mini_object so as to add a ref on the object (which
7830 will be removed when the value is unset).
7832 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7833 arg type in ::handoff.
7835 * gst/gstelement.c (gst_element_change_state): Also deactivate
7836 pads in READY->NULL, just in case the element didn't make it to
7837 PAUSED. Wingo tested, Wim approved.
7839 2005-05-26 Wim Taymans <wim@fluendo.com>
7841 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7842 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7843 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7844 A flushing pad cannot be used to alloc_buffer from.
7846 2005-05-26 Wim Taymans <wim@fluendo.com>
7848 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7849 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7850 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7851 (gst_bus_create_watch), (gst_bus_add_watch_full):
7853 Implement a real GSource and use g_main_context_wakeup() to
7854 signal new messages instead of the socketpair.
7856 2005-05-25 Wim Taymans <wim@fluendo.com>
7858 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7859 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7860 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7861 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7862 (gst_pad_send_event), (gst_pad_start_task):
7863 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7864 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7865 (gst_queue_sink_activate), (gst_queue_src_activate),
7866 (gst_queue_change_state):
7868 Fix state changes for non sinks. We now change sinks, then elements
7869 with unconnected srcpads, then the rest.
7870 More efficient queue unlocking in flush and state changes.
7871 Set the pad activate mode even if it does not have an activate
7874 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7876 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7877 Don't go in pull mode for non-seekable sources.
7878 * gst/elements/gsttypefindelement.h:
7879 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7880 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7881 (free_entry), (stop_typefinding),
7882 (gst_type_find_element_handle_event), (find_peek),
7883 (gst_type_find_element_chain), (do_pull_typefind),
7884 (gst_type_find_element_change_state):
7885 Allow typefinding (w/o seeking) in push-mode, simplified version
7887 * gst/gstutils.c: (gst_buffer_join):
7889 gst_buffer_join() from 0.8.
7891 2005-05-25 Wim Taymans <wim@fluendo.com>
7893 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7894 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7895 (gst_pad_send_event), (gst_pad_start_task):
7896 Disable attempt at mode switching until it is figured out.
7898 2005-05-25 Wim Taymans <wim@fluendo.com>
7900 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7901 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7902 (gst_basesink_finish_preroll), (gst_basesink_chain),
7903 (gst_basesink_loop), (gst_basesink_activate),
7904 (gst_basesink_change_state):
7905 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7906 (gst_basesrc_get_range), (gst_basesrc_loop),
7907 (gst_basesrc_activate):
7908 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7909 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7910 (gst_real_pad_init), (gst_real_pad_set_property),
7911 (gst_real_pad_get_property), (gst_pad_set_active),
7912 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7913 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7914 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7915 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7916 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7917 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7918 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7919 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7920 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7921 (gst_pad_stop_task):
7923 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7924 (gst_queue_loop), (gst_queue_src_activate):
7925 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7926 (gst_task_get_state):
7928 * gst/schedulers/threadscheduler.c:
7929 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7930 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7932 Remove ACTIVE pad flag, use FLUSHING everywhere
7933 Added _pad_chain(), _pad_get_range() to call chain/getrange
7935 Add locks around IS_FLUSHING when reading.
7936 Take STREAM lock in chain(), get_range() functions so plugins
7937 don't need to take it anymore.
7941 2005-05-25 Wim Taymans <wim@fluendo.com>
7943 * tools/gst-launch.c: (event_loop):
7944 Unref message after using its contents instead of
7947 2005-05-24 Wim Taymans <wim@fluendo.com>
7949 * docs/design/draft-ghostpads.txt:
7950 * docs/design/draft-push-pull.txt:
7951 * docs/design/draft-query.txt:
7952 * docs/design/part-overview.txt:
7953 Docs updates, added general overview doc.
7955 2005-05-21 David Schleef <ds@schleef.org>
7957 * docs/gst/tmpl/old/GstBin.sgml:
7958 * docs/gst/tmpl/old/GstBuffer.sgml:
7959 * docs/gst/tmpl/old/GstCaps.sgml:
7960 * docs/gst/tmpl/old/GstClock.sgml:
7961 * docs/gst/tmpl/old/GstCompat.sgml:
7962 * docs/gst/tmpl/old/GstData.sgml:
7963 * docs/gst/tmpl/old/GstElement.sgml:
7964 * docs/gst/tmpl/old/GstEvent.sgml:
7965 * docs/gst/tmpl/old/GstIndex.sgml:
7966 * docs/gst/tmpl/old/GstStructure.sgml:
7967 * docs/gst/tmpl/old/GstTag.sgml:
7968 * docs/gst/tmpl/old/cothreads.sgml:
7969 * docs/gst/tmpl/old/cothreads_compat.sgml:
7970 * docs/gst/tmpl/old/gettext.sgml:
7971 * docs/gst/tmpl/old/gobject2gtk.sgml:
7972 * docs/gst/tmpl/old/grammar.tab.sgml:
7973 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7974 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7975 * docs/gst/tmpl/old/gst_private.sgml:
7976 * docs/gst/tmpl/old/gstaggregator.sgml:
7977 * docs/gst/tmpl/old/gstarch.sgml:
7978 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7979 * docs/gst/tmpl/old/gstbufferstore.sgml:
7980 * docs/gst/tmpl/old/gstdata_private.sgml:
7981 * docs/gst/tmpl/old/gstdisksink.sgml:
7982 * docs/gst/tmpl/old/gstdisksrc.sgml:
7983 * docs/gst/tmpl/old/gstelementfactory.sgml:
7984 * docs/gst/tmpl/old/gstextratypes.sgml:
7985 * docs/gst/tmpl/old/gstfakesink.sgml:
7986 * docs/gst/tmpl/old/gstfakesrc.sgml:
7987 * docs/gst/tmpl/old/gstfdsink.sgml:
7988 * docs/gst/tmpl/old/gstfdsrc.sgml:
7989 * docs/gst/tmpl/old/gstfilesink.sgml:
7990 * docs/gst/tmpl/old/gstfilesrc.sgml:
7991 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7992 * docs/gst/tmpl/old/gstidentity.sgml:
7993 * docs/gst/tmpl/old/gstindexfactory.sgml:
7994 * docs/gst/tmpl/old/gstmarshal.sgml:
7995 * docs/gst/tmpl/old/gstmd5sink.sgml:
7996 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7997 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7998 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7999 * docs/gst/tmpl/old/gstpipefilter.sgml:
8000 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8001 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8002 * docs/gst/tmpl/old/gstshaper.sgml:
8003 * docs/gst/tmpl/old/gstspider.sgml:
8004 * docs/gst/tmpl/old/gstspideridentity.sgml:
8005 * docs/gst/tmpl/old/gststatistics.sgml:
8006 * docs/gst/tmpl/old/gsttee.sgml:
8007 * docs/gst/tmpl/old/gsttimecache.sgml:
8008 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8009 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8010 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8011 * docs/gst/tmpl/old/types.sgml:
8012 I didn't intend to add these or check them in.
8014 2005-05-19 David Schleef <ds@schleef.org>
8016 * configure.ac: Use -no-common everywhere. In a sane world, it
8017 would be the default in libtool, because without it, you can't
8018 build DLLs on Windows.
8019 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8020 * docs/gst/gstreamer-sections.txt:
8021 * docs/gst/tmpl/gstcpu.sgml:
8022 * docs/gst/tmpl/gstdata.sgml:
8023 * docs/gst/tmpl/gstthread.sgml:
8025 2005-05-19 David Schleef <ds@schleef.org>
8027 * gst/gstminiobject.c: (gst_value_set_mini_object),
8028 (gst_value_take_mini_object), (gst_value_get_mini_object):
8029 * gst/gstminiobject.h: Add GValue set/get functions.
8031 2005-05-19 Wim Taymans <wim@fluendo.com>
8033 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8034 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8035 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8037 * gst/gstbus.c: (gst_bus_post):
8038 * gst/gstelement.c: (gst_element_get_random_pad):
8039 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8040 Make subbufer unref the parent in finalize.
8041 some more debugging info.
8044 2005-05-19 Wim Taymans <wim@fluendo.com>
8046 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8047 (gst_basesink_init), (gst_basesink_finalize),
8048 (gst_basesink_activate), (gst_basesink_change_state):
8049 Don't free preroll queue too early.
8051 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8055 Hi, I'm outdated. Please shoot me.
8057 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8059 * gst/gstpipeline.c: (gst_pipeline_send_event):
8060 Do not access variables after they have been deleted.
8062 2005-05-19 Wim Taymans <wim@fluendo.com>
8064 * tools/gst-inspect.c: (print_plugin_features):
8065 A plugin feature does unfortunatly not use the
8068 2005-05-18 Wim Taymans <wim@fluendo.com>
8070 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8071 Port _span() functions to new subbuffers.
8073 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8075 * gst/gstbin.c: (gst_bin_add_func):
8076 Fix clock settery in bins when adding kids after the clock has
8079 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8081 * gst/elements/gstidentity.c: (gst_identity_class_init):
8082 Workaround until signals support GstMiniObject.
8084 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8087 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8089 2005-05-18 Wim Taymans <wim@fluendo.com>
8091 * gst/base/Makefile.am:
8092 * gst/base/gstadapter.c: (gst_adapter_base_init),
8093 (gst_adapter_class_init), (gst_adapter_init),
8094 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8095 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8096 (gst_adapter_flush), (gst_adapter_available),
8097 (gst_adapter_available_fast):
8098 * gst/base/gstadapter.h:
8099 Ported and added adapter to the base classes.
8101 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8105 Make sure the class is reffed/unreffed once before threads can be
8106 used. Fixes #304551.
8108 2005-05-17 Wim Taymans <wim@fluendo.com>
8110 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8111 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8112 * gst/gstminiobject.c: (gst_mini_object_get_type),
8113 (gst_mini_object_free):
8114 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8115 (gst_pad_push), (gst_pad_push_event):
8116 * gst/gstqueue.c: (gst_queue_change_state):
8117 Don't queue buffers in basesink when we are flushing.
8118 Unref buffer when flushing in basesink.
8119 Flush queue when going to READY
8120 Unref buffer when _push() returns an error.
8121 Don't free MiniObject instance when refcount is incremented
8122 in _finalize() so that we can recover objects.
8124 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8126 * docs/manual/advanced-schedulers.xml:
8127 * docs/manual/appendix-checklist.xml:
8128 * docs/pwg/advanced-clock.xml:
8129 * docs/pwg/advanced-interfaces.xml:
8130 * docs/pwg/advanced-request.xml:
8131 * docs/pwg/advanced-types.xml:
8132 * docs/pwg/intro-preface.xml:
8133 * examples/plugins/example.c: (gst_example_get_type),
8134 (gst_example_class_init), (gst_example_chain),
8135 (gst_example_set_property), (gst_example_get_property),
8136 (gst_example_change_state), (plugin_init):
8137 * examples/plugins/example.h:
8140 2005-05-17 Wim Taymans <wim@fluendo.com>
8142 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8143 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8144 * gst/gstqueue.c: (gst_queue_change_state):
8145 Clear queue when going to READY.
8146 Remove IN_SETCAPS flag too.
8148 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8150 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8151 Remove implicit cast from gboolean to GstElementStateReturn;
8152 make sure we still return failure in paused => ready case if
8153 the parent class fails to change state and our own stop
8156 2005-05-17 Wim Taymans <wim@fluendo.com>
8158 * tools/gst-launch.c: (event_loop):
8159 Message was unreffed too soon.
8161 2005-05-16 Andy Wingo <wingo@pobox.com>
8163 * gst/gstbin.c (sink_iterator_filter): Err... um...
8165 * check/gst/gstbin.c (test_ghost_pads): New test for the
8166 ghosting-if-elements-not-in-same-bin behavior.
8168 2005-05-16 David Schleef <ds@schleef.org>
8170 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8171 accessing refcount directly.
8173 2005-05-15 David Schleef <ds@schleef.org>
8175 * check/Makefile.am: remove GstData checks
8176 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8177 * gst/Makefile.am: add miniobject, remove data
8178 * gst/gst.h: add miniobject, remove data
8179 * gst/gstdata.c: remove
8180 * gst/gstdata.h: remove
8181 * gst/gstdata_private.h: remove
8182 * gst/gsttypes.h: remove GstEvent and GstMessage
8183 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8184 * gst/gstmarshal.list: change BOXED -> OBJECT
8186 Implement GstMiniObject.
8187 * gst/gstminiobject.c:
8188 * gst/gstminiobject.h:
8190 Modify to be subclasses of GstMiniObject.
8191 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8192 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8193 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8194 (gst_subbuffer_get_type), (gst_subbuffer_init),
8195 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8198 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8199 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8200 (_gst_event_copy), (gst_event_new):
8202 * gst/gstmessage.c: (_gst_message_initialize),
8203 (gst_message_get_type), (gst_message_class_init),
8204 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8205 (gst_message_new), (gst_message_new_error),
8206 (gst_message_new_warning), (gst_message_new_tag),
8207 (gst_message_new_state_changed), (gst_message_new_application):
8209 * gst/gstprobe.c: (gst_probe_perform),
8210 (gst_probe_dispatcher_dispatch):
8212 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8213 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8214 (_gst_query_copy), (gst_query_new):
8216 Update elements for GstData -> GstMiniObject changes
8218 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8219 (gst_queue_chain), (gst_queue_loop):
8220 * gst/elements/gstbufferstore.c:
8221 (gst_buffer_store_add_buffer_func),
8222 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8223 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8224 (gst_fakesink_render):
8225 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8226 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8227 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8228 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8229 (gst_filesrc_create_read):
8230 * gst/elements/gstidentity.c: (gst_identity_class_init):
8231 * gst/elements/gsttypefindelement.c:
8232 (gst_type_find_element_src_event), (free_entry_buffers),
8233 (gst_type_find_element_handle_event):
8234 * libs/gst/dataprotocol/dataprotocol.c:
8235 (gst_dp_header_from_buffer):
8236 * libs/gst/dataprotocol/dataprotocol.h:
8237 * libs/gst/dataprotocol/dp-private.h:
8239 2005-05-15 David Schleef <ds@schleef.org>
8241 * gst/elements/gstelements.c: Don't include headers that were
8244 2005-05-15 David Schleef <ds@schleef.org>
8246 * gst/elements/Makefile.am: Remove some elements that don't
8247 need to be in the core (or even exist at all).
8248 * gst/elements/gstaggregator.c:
8249 * gst/elements/gstaggregator.h:
8250 * gst/elements/gstmd5sink.c:
8251 * gst/elements/gstmd5sink.h:
8252 * gst/elements/gstmultifilesrc.c:
8253 * gst/elements/gstmultifilesrc.h:
8254 * gst/elements/gstpipefilter.c:
8255 * gst/elements/gstpipefilter.h:
8256 * gst/elements/gstshaper.c:
8257 * gst/elements/gstshaper.h:
8258 * gst/elements/gststatistics.c:
8259 * gst/elements/gststatistics.h:
8260 * po/POTFILES.in: Remove above files.
8262 2005-05-14 Andy Wingo <wingo@pobox.com>
8264 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8265 so as to get the refs right.
8266 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8267 unreffing objects that don't pass the filter.
8269 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8270 gst_element_set_bus.
8271 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8272 normal cases, this will destroy the bus.
8274 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8277 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8280 2005-05-13 Andy Wingo <wingo@pobox.com>
8282 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8283 gst_pad_link, call pad_link_maybe_ghosting,
8284 (pad_link_maybe_ghosting): Links pads, making sure that the
8285 elements being linked are in the same bin.
8286 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8287 Helpers for pad_link_maybe_ghosting.
8289 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8292 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8294 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8296 * docs/design/part-element-source.txt:
8299 2005-05-12 Wim Taymans <wim@fluendo.com>
8301 * gst/base/gstbasesink.c: (gst_basesink_init),
8302 (gst_basesink_activate):
8303 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8304 (gst_basesrc_is_seekable):
8305 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8306 (bin_element_is_sink), (gst_bin_change_state):
8307 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8309 Identify sinks by their flag to avoid overly complicated
8311 Do state changes even for elements not reachable from the
8313 BaseSink is a sink now :)
8314 Some more debugging info in the basesrc.
8317 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8319 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8320 Implement _query on a bin, similar to _send_event.
8322 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8324 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8325 Discont event offset format should be GST_FORMAT_BYTES,
8326 not GST_FORMAT_TIME.
8328 2005-05-12 Wim Taymans <wim@fluendo.com>
8330 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8331 Same fix as Ronald's but without the signal.
8333 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8335 * gst/gstutils.c: (gst_element_query_position):
8336 No, an element is not a pad.
8338 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8340 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8341 (gst_bin_get_state):
8342 If a child is removed from a bin while we remove the child from
8343 the bin and while we're retrieving its state, signal this to the
8344 get_state function so we abort the wait (instead of waiting for
8345 a timeout) and can immediately re-iterate over all other elements.
8347 2005-05-12 Wim Taymans <wim@fluendo.com>
8349 * gst/base/Makefile.am:
8350 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8351 (gst_basesrc_start):
8352 * gst/base/gstbasesrc.h:
8353 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8354 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8355 (gst_pushsrc_init), (gst_pushsrc_create):
8356 * gst/base/gstpushsrc.h:
8357 Added is_seekable to BaseSrc
8358 Added simple PushSrc.
8360 2005-05-11 Wim Taymans <wim@fluendo.com>
8362 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8363 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8364 (gst_element_link_pads), (gst_element_query_position),
8365 (gst_element_query_convert), (intersect_caps_func),
8366 (gst_pad_query_position), (gst_pad_query_convert):
8367 Fix refcounting in utils function.
8368 No point in trying to activate a pad when it's added, it could
8369 be added from the state change function and then we deadlock, the
8370 element has to decide what to do.
8372 2005-05-10 Andy Wingo <wingo@pobox.com>
8374 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8375 *all* the arguments.
8377 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8378 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8379 lock (according to the docs -- if this is wrong change the docs).
8381 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8382 flush messages in the NULL state.
8384 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8385 message immediately and return.
8386 (gst_bus_set_flushing): New function. If a bus is flushing, it
8387 flushes out any queued messages and immediately unrefs new
8388 messages. This is so when an element goes to NULL, all of the
8389 unhandled messages coming from it can be freed, and their
8390 references to the element dropped. In other words: message source
8391 ref considered harmful :P
8393 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8394 we're finished with it.
8396 * gst/gstmessage.c (gst_message_new_state_changed):
8398 2005-05-10 Wim Taymans <wim@fluendo.com>
8400 * gst/gstvalue.c: (gst_value_compare_flags),
8401 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8402 (_gst_value_initialize):
8403 Added flags serialize/deserialize/compare code.
8405 2005-05-09 Andy Wingo <wingo@pobox.com>
8407 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8408 Intersect the peer's caps with our caps.
8410 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8412 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8413 * gst/elements/gsttypefindelement.c: (find_peek):
8414 Handle negative offsets better. Fixes decodebin.
8416 2005-05-09 Wim Taymans <wim@fluendo.com>
8418 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8419 (gst_base_transform_event):
8420 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8421 Implement accept_caps.
8422 Fix silly lock/unlock mismatch in base class.
8424 2005-05-09 Wim Taymans <wim@fluendo.com>
8426 * docs/design/draft-push-pull.txt:
8427 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8428 * gst/elements/gstfilesink.c: (gst_filesink_init),
8429 (gst_filesink_query):
8430 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8431 (gst_type_find_handle_src_query), (find_element_get_length):
8432 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8436 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8437 (gst_real_pad_get_caps_unlocked),
8438 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8439 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8440 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8441 (gst_real_pad_dispose), (gst_real_pad_finalize),
8442 (gst_pad_load_and_link), (gst_pad_save_thyself),
8443 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8444 (gst_pad_check_pull_range), (gst_pad_pull_range),
8445 (gst_pad_template_get_type), (gst_pad_template_class_init),
8446 (gst_pad_template_init), (gst_pad_template_dispose),
8447 (name_is_valid), (gst_static_pad_template_get),
8448 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8449 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8450 (gst_pad_get_element_private), (gst_pad_start_task),
8451 (gst_pad_pause_task), (gst_pad_stop_task),
8452 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8453 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8454 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8455 (gst_ghost_pad_new):
8457 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8458 (gst_query_new_position), (gst_query_set_position),
8459 (gst_query_parse_position), (gst_query_new_convert),
8460 (gst_query_set_convert), (gst_query_parse_convert):
8462 * gst/gstqueryutils.c:
8463 * gst/gstqueryutils.h:
8464 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8465 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8466 (gst_queue_handle_src_query):
8467 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8468 (gst_element_query_position), (gst_element_query_convert),
8469 (intersect_caps_func), (gst_pad_query_position),
8470 (gst_pad_query_convert):
8472 * tools/gst-inspect.c: (print_pad_info):
8473 * tools/gst-xmlinspect.c: (print_element_info):
8474 Remove old query functions. Ported old code.
8475 Added position/convert helper functions to gstutils.
8476 Reordered gstpad.c code, grouping relevant things.
8477 Remove gst_message_new(), always need to speficy a specific
8481 2005-05-09 Andy Wingo <wingo@pobox.com>
8483 * gst/gstiterator.h: Add some includes.
8485 * gst/gstqueryutils.h: Include more headers.
8488 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8489 some uses of gst_pad_query.
8491 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8492 NULL out parameters.
8493 (gst_query_new_position): New proc, allocates a new position
8496 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8497 gstqueryutils.c to the build.
8499 * gst/gststructure.c (gst_structure_set_valist): Implement with
8500 the generic G_VALUE_COLLECT.
8502 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8504 * gst/Makefile.am: (gst_headers):
8505 Added gstqueryutils.h to the list of headers to install, that was
8506 a 'nachty' move wingo :)
8508 2005-05-06 Andy Wingo <wingo@pobox.com>
8511 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8512 GstData, init a memchunk.
8513 (standard_definitions): Add a few query types, deprecate a few.
8514 (gst_query_get_type): New proc.
8515 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8517 (gst_query_new_application, gst_query_get_structure): New public
8520 * docs/design/draft-query.txt: Removed LINKS from the query types,
8521 because all the rest can be dispatched to other pads -- seemed
8522 ugly to have a query that couldn't be dispatched. internal_links
8523 is fine as a pad method.
8525 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8526 in gstpad.c, but maintain binary compatibility for the moment.
8527 Will fix before 0.9 is out.
8529 * gst/gstqueryutils.c:
8530 * gst/gstqueryutils.h: New files, implement 3 methods for each
8531 query type: parse_query, parse_response, and set. Probably need an
8534 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8536 * gst/elements/gstfilesink.c (gst_filesink_query2):
8537 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8538 query_types, and formats methods.
8540 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8541 (gst_pad_set_query2_function): New functions.
8542 (gst_real_pad_init): Set query2_default as the default query2
8543 function. Basically just dispatches to internally linked pads.
8547 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8548 without using the atomic operations. Only one thread can possibly
8549 be accessing the data at this point. Changed so as to avoid
8550 gst_atomic operations.
8552 2005-05-06 Wim Taymans <wim@fluendo.com>
8554 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8555 Also set caps if we use the fallback buffer alloc.
8557 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8559 * docs/gst/Makefile.am:
8560 * docs/gst/gstreamer-docs.sgml:
8561 * docs/gst/gstreamer-sections.txt:
8562 * docs/gst/tmpl/gstatomic.sgml:
8563 * docs/gst/tmpl/gstmemchunk.sgml:
8564 * testsuite/elements/struct_i386.h:
8565 * win32/GStreamer.vcproj:
8567 Purge GstAtomic stuff from docs and win32 makefiles as well
8569 2005-05-06 Wim Taymans <wim@fluendo.com>
8571 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8572 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8573 * gst/gstpad.c: (gst_pad_peer_get_caps):
8574 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8575 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8576 (gst_queue_src_activate), (gst_queue_change_state):
8578 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8579 (intersect_caps_func):
8580 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8581 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8582 Some fixes for the peer_get_caps() change.
8584 2005-05-06 Wim Taymans <wim@fluendo.com>
8586 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8587 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8588 (gst_basesink_activate):
8589 Actually do something with error codes returned from the push
8592 2005-05-06 Wim Taymans <wim@fluendo.com>
8594 * docs/design/part-element-sink.txt:
8595 * docs/design/part-element-source.txt:
8596 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8597 (gst_basesink_event), (gst_basesink_activate):
8598 * gst/base/gstbasesink.h:
8599 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8600 (gst_basesrc_activate):
8601 * gst/base/gstbasesrc.h:
8602 * gst/gstelement.c: (gst_element_pads_activate):
8603 Some more documentation.
8604 Fixed scheduling decision in _pads_activate().
8606 2005-05-05 Andy Wingo <wingo@pobox.com>
8608 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8611 2005-05-05 Wim Taymans <wim@fluendo.com>
8613 * gst/base/Makefile.am:
8614 * gst/base/gstbasesink.h:
8615 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8616 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8617 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8618 (gst_collectpads_class_init), (gst_collectpads_init),
8619 (gst_collectpads_finalize), (gst_collectpads_new),
8620 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8621 (find_pad), (gst_collectpads_remove_pad),
8622 (gst_collectpads_is_active), (gst_collectpads_collect),
8623 (gst_collectpads_collect_range), (gst_collectpads_start),
8624 (gst_collectpads_stop), (gst_collectpads_peek),
8625 (gst_collectpads_pop), (gst_collectpads_available),
8626 (gst_collectpads_read), (gst_collectpads_flush),
8627 (gst_collectpads_chain):
8628 * gst/base/gstcollectpads.h:
8629 * gst/elements/Makefile.am:
8630 * gst/elements/gstelements.c:
8631 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8632 (gst_fakesink_get_times), (gst_fakesink_event),
8633 (gst_fakesink_preroll), (gst_fakesink_render):
8634 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8635 (gst_filesink_init), (gst_filesink_set_location),
8636 (gst_filesink_open_file), (gst_filesink_close_file),
8637 (gst_filesink_pad_query), (gst_filesink_event),
8638 (gst_filesink_render), (gst_filesink_change_state):
8639 * gst/elements/gstfilesink.h:
8640 Added object to help in making collect pad based elements.
8642 Make event function in sink baseclass return gboolean.
8644 2005-05-05 Wim Taymans <wim@fluendo.com>
8646 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8647 (gst_bin_get_by_name):
8649 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8650 (gst_clock_finalize):
8651 * gst/gstdata.c: (gst_data_replace):
8653 * gst/gstelement.c: (gst_element_request_pad),
8654 (gst_element_pads_activate):
8655 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8657 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8658 (gst_pad_set_checkgetrange_function),
8659 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8660 (gst_pad_check_pull_range), (gst_pad_pull_range),
8661 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8662 (gst_pad_pause_task), (gst_pad_stop_task):
8663 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8664 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8665 Fix name lookup in GstBin.
8666 Added _data_replace() function and _buffer_replace()
8667 Use finalize method to clean up clock.
8668 Fix refcounting on request pads.
8669 Fix pad schedule mode error.
8670 Some more object refcounting debug info,
8673 2005-05-04 Andy Wingo <wingo@pobox.com>
8675 * check/Makefile.am:
8676 * docs/gst/tmpl/gstatomic.sgml:
8677 * docs/gst/tmpl/gstplugin.sgml:
8678 * gst/base/gstbasesink.c: (gst_basesink_activate):
8679 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8680 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8681 (gst_basesrc_query), (gst_basesrc_set_property),
8682 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8683 (gst_basesrc_activate):
8684 * gst/base/gstbasesrc.h:
8685 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8686 (gst_base_transform_src_activate):
8687 * gst/elements/gstelements.c:
8688 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8689 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8690 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8691 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8692 (gst_type_find_element_checkgetrange),
8693 (gst_type_find_element_activate):
8694 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8695 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8696 (gst_caps_load_thyself):
8697 * gst/gstelement.c: (gst_element_pads_activate),
8698 (gst_element_save_thyself), (gst_element_restore_thyself):
8699 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8700 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8702 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8703 (gst_xml_parse_file), (gst_xml_parse_memory),
8704 (gst_xml_get_element), (gst_xml_make_element):
8705 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8706 (_file_index_id_save_xml), (gst_file_index_commit):
8707 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8708 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8710 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8711 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8712 * tools/gst-complete.c: (main):
8713 * tools/gst-compprep.c: (main):
8714 * tools/gst-inspect.c: (print_element_properties_info):
8715 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8716 * tools/gst-xmlinspect.c: (print_element_properties):
8719 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8721 * gst/gstplugin.c: (gst_plugin_check_module),
8722 (gst_plugin_check_file), (gst_plugin_load_file):
8723 apply patch from #172526 to make register work on MacOSX
8725 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8727 * docs/gst/tmpl/gstconfig.sgml:
8728 * gst/gstconfig.h.in:
8729 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8730 * testsuite/debug/printf_extension.c: (main):
8731 Do not use GST_PTR_FORMAT on pointers to types with
8732 sizeof < sizeof(gpointer). Fixes test on 64-bit
8733 * testsuite/elements/property.h:
8734 use correct printf format
8736 2005-05-02 Wim Taymans <wim@fluendo.com>
8738 * docs/design/draft-push-pull.txt:
8739 * docs/design/draft-query.txt:
8740 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8741 (gst_basesrc_start):
8742 Added draft for new query API.
8743 Added draft for better selecting scheduling methods.
8744 Make basesrc ignore length if the subclass does not support
8747 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8750 possible fixes for automake-1.5 - _LIBADD is reserved
8752 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8754 * docs/faq/Makefile.am:
8755 * docs/manual/Makefile.am:
8757 * docs/pwg/Makefile.am:
8759 possible fixes for automake-1.5
8761 2005-04-28 Wim Taymans <wim@fluendo.com>
8763 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8764 (gst_basesink_pad_getcaps), (gst_basesink_init),
8765 (gst_basesink_do_sync):
8766 * gst/gstclock.c: (gst_clock_entry_new):
8767 * gst/gstevent.c: (gst_event_discont_get_value):
8768 * gst/gstpipeline.c: (pipeline_bus_handler),
8769 (gst_pipeline_change_state):
8770 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8771 Better debugging of clocking info.
8772 Allow NULL values when getting discont values.
8774 2005-04-27 Wim Taymans <wim@fluendo.com>
8776 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8777 * check/gst/gstpad.c: (gst_pad_suite):
8778 Increase timeout for checks.
8780 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8782 * check/Makefile.am:
8783 fix the broken rule for cleanup. Apparently this rule is
8784 only needed on FC2, so maybe this warrants further autotool
8787 2005-04-26 Wim Taymans <wim@fluendo.com>
8789 * gst/gsttrashstack.h:
8790 Ooohh. a nasty one! After having a failed pop() from the stack,
8791 it's possible that the stack is empty. In that case, don't
8792 follow the NULL pointer.
8794 2005-04-25 Wim Taymans <wim@fluendo.com>
8796 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8797 (gst_pad_set_checkgetrange_function),
8798 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8799 (gst_pad_check_pull_range), (gst_pad_pull_range),
8800 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8801 (gst_pad_pause_task), (gst_pad_stop_task):
8802 * gst/gstplugin.c: (gst_plugin_load):
8804 Remove gst_library_load as it does more harm than good with
8805 the new g_module flags.
8806 Revert bogus caps template check in pad linking, pad caps
8807 are important when linking not the template, which is more
8808 general than the current caps.
8810 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8812 * gst/autoplug/.cvsignore:
8813 * gst/autoplug/Makefile.am:
8814 * gst/autoplug/gstsearchfuncs.c:
8815 * gst/autoplug/gstsearchfuncs.h:
8816 * gst/autoplug/gstspider.c:
8817 * gst/autoplug/gstspider.h:
8818 * gst/autoplug/gstspideridentity.c:
8819 * gst/autoplug/gstspideridentity.h:
8820 * gst/autoplug/spidertest.c:
8823 2005-04-25 Wim Taymans <wim@fluendo.com>
8825 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8826 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8827 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8828 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8830 Added stubs for unimplemented functions.
8832 2005-04-24 David Schleef <ds@schleef.org>
8834 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8837 2005-04-24 David Schleef <ds@schleef.org>
8839 Convert everything from GstAtomicInt to g_atomic_int_*, and
8844 * gst/gstatomic_impl.h:
8852 * gst/gstdata_private.h:
8859 * gst/gststructure.c:
8860 * gst/gststructure.h:
8861 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8864 2005-04-24 David Schleef <ds@schleef.org>
8866 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8867 make the regressions tests work. Remove some code that is no
8869 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8870 Disable warning for pads without templates.
8872 2005-04-24 David Schleef <ds@schleef.org>
8874 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8875 functions that handle filtered links.
8876 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8878 * gst/gstutils.c: Fix/remove utility functions that handle
8881 * gst/gstvalue.c: Add serialization/deserialization of caps
8882 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8883 requires fixing so that the filter caps notation creates
8884 a capsfilter element and sets the filter_caps property. I
8885 think everyone probably wants to keep the shorthand notation.
8886 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8887 * docs/gst/tmpl/gstpad.sgml:
8889 * gst/elements/gstelements.c: Register capsfilter element.
8890 * gst/Makefile.am: fix spacing
8891 * docs/random/ds/0.9-suggested-changes: random
8893 2005-04-23 David Schleef <ds@schleef.org>
8895 * gst/elements/Makefile.am:
8896 * gst/elements/gstcapsfilter.c: New element that acts like an
8897 identity, but filters caps. Will eventually replace filtered
8898 caps in pad linking.
8899 * gst/gstutils.c: (gst_element_create_all_pads): New function
8900 to create all the ALWAYS pads that are registered with an
8901 element class. This functionality should eventually be
8902 merged in with GstElement initialization.
8904 * testsuite/trigger/README: part of trigger test code that should
8905 have been checked in a long time ago.
8907 2005-04-23 David Schleef <ds@schleef.org>
8909 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8910 needed with new versions of libtool (nobody will confirm this),
8911 and hard to carry around.
8912 * gst/autoplug/Makefile.am:
8913 * gst/base/Makefile.am:
8914 * gst/elements/Makefile.am:
8915 * gst/indexers/Makefile.am:
8916 * gst/schedulers/Makefile.am:
8917 * libs/gst/bytestream/Makefile.am:
8918 * libs/gst/control/Makefile.am:
8919 * libs/gst/dataprotocol/Makefile.am:
8920 * libs/gst/getbits/Makefile.am:
8922 2005-04-21 Wim Taymans <wim@fluendo.com>
8924 * docs/design/draft-push-pull.txt:
8925 * docs/design/part-MT-refcounting.txt:
8926 * docs/design/part-TODO.txt:
8927 * docs/design/part-caps.txt:
8928 * docs/design/part-events.txt:
8929 * docs/design/part-gstbus.txt:
8930 * docs/design/part-gstpipeline.txt:
8931 * docs/design/part-messages.txt:
8932 * docs/design/part-push-pull.txt:
8933 * docs/design/part-query.txt:
8936 2005-04-21 Wim Taymans <wim@fluendo.com>
8938 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8939 (gst_message_new), (gst_message_new_error),
8940 (gst_message_new_warning), (gst_message_new_tag),
8941 (gst_message_new_state_changed), (gst_message_new_application),
8942 (gst_message_get_structure):
8944 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8945 (gst_structure_copy_conditional):
8946 Use parent refcount in GstMessage to ensure GstStructure
8948 Cleaned up headers a bit.
8951 2005-04-20 Wim Taymans <wim@fluendo.com>
8953 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8954 (gst_basesink_pad_getcaps), (gst_basesink_init),
8955 (gst_basesink_chain_unlocked):
8956 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8957 (gst_type_find_helper):
8958 * gst/elements/gsttypefindelement.c:
8959 (gst_type_find_element_have_type), (gst_type_find_element_init),
8960 (stop_typefinding), (gst_type_find_element_handle_event),
8961 (find_suggest), (gst_type_find_element_chain),
8962 (gst_type_find_element_checkgetrange),
8963 (gst_type_find_element_getrange), (do_typefind),
8964 (gst_type_find_element_activate):
8965 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8966 (gst_buffer_default_free), (gst_buffer_default_copy),
8967 (gst_buffer_set_caps):
8968 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8970 * gst/gstmessage.c: (gst_message_new),
8971 (gst_message_new_state_changed):
8972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8973 (gst_pad_set_checkgetrange_function),
8974 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8975 (gst_pad_set_caps), (gst_pad_check_pull_range),
8976 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8978 * gst/gsttypefind.c: (gst_type_find_register):
8979 Make gst_caps_replace() work like other _replace() functions.
8980 Use _caps_replace() where possible.
8981 Make sure _message_new() initialises its field.
8982 Add gst_static_pad_template_get_caps()
8985 2005-04-18 Andy Wingo <wingo@pobox.com>
8987 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8988 on the peer, not the pad. I think that was a typo. Pass an extra
8989 arg to see if random access is possible. Activate the pads as
8990 PULL_RANGE if possible.
8992 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8994 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8995 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8998 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9000 * docs/faq/using.xml:
9001 Add note on gstreamer-properties (#154996).
9003 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9005 * docs/random/bbb/optional-properties:
9006 Some analysis on optional properties.
9008 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9010 * docs/gst/tmpl/gstelementfactory.sgml:
9012 * gst/gstelementfactory.c: (gst_element_factory_init),
9013 (gst_element_factory_cleanup), (gst_element_register),
9014 (__gst_element_factory_add_static_pad_template),
9015 (gst_element_factory_get_static_pad_templates),
9016 (gst_element_factory_can_src_caps),
9017 (gst_element_factory_can_sink_caps):
9018 * gst/registries/Makefile.am:
9019 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9020 (gst_xml_registry_class_init), (gst_xml_registry_init),
9021 (gst_xml_registry_new), (gst_xml_registry_set_property),
9022 (gst_xml_registry_get_property), (get_time), (make_dir),
9023 (gst_xml_registry_get_perms_func),
9024 (plugin_times_older_than_recurse), (plugin_times_older_than),
9025 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9026 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9027 (add_to_char_array), (read_string), (read_uint), (read_enum),
9028 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9029 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9030 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9031 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9032 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9033 (gst_xml_registry_rebuild):
9034 * gst/registries/gstlibxmlregistry.h:
9035 * tools/gst-compprep.c: (main):
9036 * tools/gst-inspect.c: (print_pad_templates_info):
9037 * tools/gst-xmlinspect.c: (print_element_info):
9038 Use libxml2 for registry parsing, use staticpadtemplates in
9039 elementfactories. Makes gst_init() +/- 10x faster.
9041 2005-04-12 Wim Taymans <wim@fluendo.com>
9043 * gst/base/Makefile.am:
9044 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9045 (gst_basesink_pad_getcaps), (gst_basesink_init),
9046 (gst_basesink_event), (gst_basesink_change_state):
9047 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9048 (gst_basesrc_init), (gst_basesrc_query),
9049 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9050 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9051 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9052 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9053 (gst_basesrc_stop), (gst_basesrc_activate),
9054 (gst_basesrc_change_state):
9055 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9056 (helper_find_suggest), (gst_type_find_helper):
9057 * gst/base/gsttypefindhelper.h:
9058 * gst/elements/Makefile.am:
9059 * gst/elements/gstelements.c:
9060 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9061 (gst_fakesink_get_times), (gst_fakesink_event),
9062 (gst_fakesink_preroll), (gst_fakesink_render):
9063 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9064 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9065 (gst_fakesrc_get_property), (gst_fakesrc_create),
9066 (gst_fakesrc_start), (gst_fakesrc_stop):
9067 * gst/elements/gstfakesrc.h:
9068 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9069 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9070 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9071 (gst_filesrc_create_read), (gst_filesrc_create),
9072 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9073 (gst_filesrc_start):
9074 * gst/elements/gsttypefindelement.c:
9075 (gst_type_find_element_have_type), (gst_type_find_element_init),
9076 (start_typefinding), (stop_typefinding), (push_buffer_store),
9077 (gst_type_find_element_handle_event),
9078 (gst_type_find_element_chain),
9079 (gst_type_find_element_checkgetrange),
9080 (gst_type_find_element_getrange), (do_typefind),
9081 (gst_type_find_element_activate),
9082 (gst_type_find_element_change_state):
9083 * gst/elements/gsttypefindelement.h:
9084 * gst/gstpipeline.c: (pipeline_bus_handler):
9085 Added typefind helper.
9086 Small preroll fix in the base sink.
9087 Disable typefind code in basesrc.
9088 Crude port of typefindelement.
9092 2005-04-11 Wim Taymans <wim@fluendo.com>
9094 * check/gst/gstbus.c: (gstbus_suite):
9095 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9097 Fix up the timeout so that the test does not fail.
9099 2005-04-06 Wim Taymans <wim@fluendo.com>
9102 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9103 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9104 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9105 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9106 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9107 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9108 (gst_basesrc_stop), (gst_basesrc_activate),
9109 (gst_basesrc_change_state), (basesrc_find_peek),
9110 (basesrc_find_suggest), (gst_basesrc_type_find):
9111 * gst/base/gstbasesrc.h:
9112 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9113 (gst_filesrc_class_init), (gst_filesrc_init),
9114 (gst_filesrc_finalize), (gst_filesrc_set_location),
9115 (gst_filesrc_set_property), (gst_filesrc_get_property),
9116 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9117 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9118 (gst_filesrc_create_read), (gst_filesrc_create),
9119 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9120 * gst/elements/gstfilesrc.h:
9121 * gst/gstelement.c: (gst_element_get_state_func),
9122 (gst_element_lost_state), (gst_element_pads_activate):
9123 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9124 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9125 (gst_pad_pull_range):
9127 More work on the generic source base class, implement seeking,
9129 Make filesrc extend the base source class.
9130 Added gst_pad_set_checkgetrange_function to GstPad.
9132 2005-04-06 Andy Wingo <wingo@pobox.com>
9134 * pkgconfig/gstreamer-base.pc.in:
9135 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9137 * pkgconfig/Makefile.am:
9138 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9140 2005-04-04 Wim Taymans <wim@fluendo.com>
9142 * gst/base/Makefile.am:
9144 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9145 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9146 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9147 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9148 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9149 (gst_basesrc_base_init), (gst_basesrc_class_init),
9150 (gst_basesrc_init), (gst_basesrc_get_formats),
9151 (gst_basesrc_get_query_types), (gst_basesrc_query),
9152 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9153 (gst_basesrc_set_property), (gst_basesrc_get_property),
9154 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9155 (gst_basesrc_loop), (gst_basesrc_activate),
9156 (gst_basesrc_change_state):
9157 * gst/base/gstbasesrc.h:
9158 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9159 (gst_fakesrc_class_init), (gst_fakesrc_init),
9160 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9161 (gst_fakesrc_get_property), (gst_fakesrc_create):
9162 * gst/elements/gstfakesrc.h:
9163 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9164 (gst_filesrc_open_file), (gst_filesrc_loop),
9165 (gst_filesrc_activate), (filesrc_find_peek),
9166 (gst_filesrc_type_find):
9167 Made base source class, make fakesrc extend it.
9168 Add comments to basesink class.
9169 Some filesrc cleanup.
9171 2005-03-31 David Schleef <ds@schleef.org>
9173 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9174 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9175 expected to link against libgstreamer.
9176 * gst/base/Makefile.am: link against libgstreamer
9177 * gst/elements/Makefile.am: same
9179 2005-03-31 Andy Wingo <wingo@pobox.com>
9181 * tests/instantiate/Makefile.am:
9182 * tests/instantiate/caps.c: Add test to test speed of caps copy
9185 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9186 GMemChunk to be fair.
9188 * gst/gsttrashstack.h: Remove warning about using the fallback
9189 trash stack implementation, it's still faster than malloc.
9191 2005-03-30 Andy Wingo <wingo@pobox.com>
9193 * tests/complexity.c: Add a copyright.
9195 2005-03-31 Wim Taymans <wim@fluendo.com>
9197 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9198 (gst_base_transform_class_init), (gst_base_transform_init),
9199 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9200 (gst_base_transform_get_property),
9201 (gst_base_transform_sink_activate),
9202 (gst_base_transform_src_activate),
9203 (gst_base_transform_change_state):
9204 * gst/base/gstbasetransform.h:
9205 * gst/elements/gstidentity.c: (gst_identity_class_init),
9206 (gst_identity_event), (gst_identity_check_perfect),
9207 (gst_identity_transform), (gst_identity_start),
9208 (gst_identity_stop):
9209 Added start/stop methods to transform base class so subclasses
9210 don't need to deal with state changes even.
9212 2005-03-31 Wim Taymans <wim@fluendo.com>
9214 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9215 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9217 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9218 (gst_pad_pull_range):
9219 Added rate to the discont event to prepare for variable speed
9220 and reverse playback.
9222 2005-03-29 David Schleef <ds@schleef.org>
9225 * testsuite/trigger/Makefile.am:
9226 * testsuite/trigger/trigger.c: A little example program to show
9227 how trigger-based elements can work.
9229 2005-03-29 Wim Taymans <wim@fluendo.com>
9231 * gst/base/Makefile.am:
9233 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9234 (gst_basesink_base_init), (gst_basesink_class_init),
9235 (gst_basesink_pad_getcaps), (gst_basesink_init),
9236 (gst_basesink_activate), (gst_basesink_change_state):
9237 * gst/base/gstbasesink.h:
9238 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9239 (gst_base_transform_base_init), (gst_base_transform_finalize),
9240 (gst_base_transform_class_init), (gst_base_transform_init),
9241 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9242 (gst_base_transform_event), (gst_base_transform_getrange),
9243 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9244 (gst_base_transform_set_property),
9245 (gst_base_transform_get_property),
9246 (gst_base_transform_sink_activate),
9247 (gst_base_transform_src_activate),
9248 (gst_base_transform_change_state):
9249 * gst/base/gstbasetransform.h:
9250 * gst/elements/gstidentity.c: (gst_identity_finalize),
9251 (gst_identity_class_init), (gst_identity_init),
9252 (gst_identity_event), (gst_identity_check_perfect),
9253 (gst_identity_transform), (gst_identity_set_property),
9254 (gst_identity_get_property), (gst_identity_change_state):
9255 * gst/elements/gstidentity.h:
9256 * gst/gstelement.c: (gst_element_get_state_func),
9257 (gst_element_lost_state), (gst_element_pads_activate):
9258 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9259 (gst_pad_check_pull_range), (gst_pad_pull_range):
9261 Simplify pad activation.
9262 Added function to check if pull_range can be performed.
9263 Error out when pulling inactive or flushing pads.
9264 Removed const from refcounted types as it does not make sense.
9265 Simplify pad templates in basesink
9266 Added base class for simple 1-to-1 transforms.
9267 Make identity subclass the base transform.
9269 2005-03-29 Andy Wingo <wingo@pobox.com>
9271 * docs/libs/gstreamer-libs-overrides.txt:
9272 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9273 really don't understand what's going on, but like whatever. I want
9276 * docs/gst/Makefile.am:
9277 * docs/libs/Makefile.am: Dist the overrides files.
9279 * check/Makefile.am (clean-local): Remove .libs directories.
9281 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9282 elements to EXTRA_DIST, so po/ files are happy.
9284 * po/POTFILES.in: Er, remove it here.
9286 * po/POTFILES: Remove gstspider.c.
9288 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9290 * docs/libs/gstreamer-libs-docs.sgml:
9291 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9294 * tests/complexity.c (main): Set the length of the preroll queue
9295 on the sinks to prevent a lockup.
9297 * libs/gst/dataprotocol/Makefile.am:
9298 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9299 the same as the one in check/gst-libs/gdp.c.
9301 * po/, docs/gst/: Commit automatic changes to docs and po files.
9303 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9304 the versioned libgstbase.
9306 * check/Makefile.am: Depend on an unversioned gst-register, seems
9307 to make autoconf happier.
9309 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9311 2005-03-28 Wim Taymans <wim@fluendo.com>
9314 * docs/design/part-gstelement.txt:
9315 * docs/design/part-negotiation.txt:
9316 * docs/design/part-preroll.txt:
9317 * docs/design/part-scheduling.txt:
9318 * docs/design/part-states.txt:
9320 * gst/base/Makefile.am:
9322 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9323 (gst_basesink_base_init), (gst_basesink_class_init),
9324 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9325 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9326 (gst_basesink_set_pad_functions),
9327 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9328 (gst_basesink_set_property), (gst_basesink_get_property),
9329 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9330 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9331 (gst_basesink_preroll_queue_push),
9332 (gst_basesink_preroll_queue_empty),
9333 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9334 (gst_basesink_event), (gst_basesink_get_times),
9335 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9336 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9337 (gst_basesink_loop), (gst_basesink_activate),
9338 (gst_basesink_change_state):
9339 * gst/base/gstbasesink.h:
9340 * gst/elements/Makefile.am:
9341 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9342 (gst_fakesink_class_init), (gst_fakesink_init),
9343 (gst_fakesink_set_property), (gst_fakesink_get_property),
9344 (gst_fakesink_get_times), (gst_fakesink_event),
9345 (gst_fakesink_preroll), (gst_fakesink_render),
9346 (gst_fakesink_change_state):
9347 * gst/elements/gstfakesink.h:
9348 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9349 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9350 * gst/gstelement.c: (gst_element_add_pad),
9351 (gst_element_get_state_func), (gst_element_abort_state),
9352 (gst_element_commit_state), (gst_element_lost_state),
9353 (gst_element_set_state), (gst_element_pads_activate):
9354 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9355 * gst/gstpipeline.c: (gst_pipeline_send_event),
9356 (gst_pipeline_change_state):
9357 Added state change code.
9359 Added sink base class, make fakesink extend the base class.
9360 Small cleanups in GstPipeline.
9362 2005-03-26 David Schleef <ds@schleef.org>
9364 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9365 is broken and should be implemented in a different library.
9366 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9367 * gst/gst.h: remove gstcpu.h
9368 * gst/gstcpu.c: remove
9369 * gst/gstcpu.h: remove
9370 * gst/Makefile.am.future: Remove this file. It's ancient.
9372 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9374 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9375 (gst_bin_send_event):
9376 Add default event/set_manager handlers. The set_manager handler
9377 takes care that the manager is distributed over kids that were
9378 already in the bin before the manager was set. The event handler
9379 is a utility virtual function that sends the event over all sinks,
9380 so that gst_element_send_event (bin, event); has the expected
9382 * gst/gstpad.c: (gst_pad_event_default):
9383 Re-install default event handling for discontinuities, so that
9384 seeking works without requiring hacks in applications or extra
9386 * gst/gstpipeline.c: (gst_pipeline_class_init),
9387 (gst_pipeline_send_event):
9388 Half hack, half utility: set a pipeline to PAUSED for seek events,
9389 since that is the only way we can guarantee a/v sync. Means that
9390 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9391 and it "just works".
9393 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9395 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9396 Lock/unlock mismatch.
9398 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9400 * docs/faq/gst-uninstalled:
9401 add gst-plugins-base
9402 * docs/gst/Makefile.am:
9403 don't error out until docs are fixed
9404 * docs/gst/gstreamer.types:
9407 2005-03-22 Wim Taymans <wim@fluendo.com>
9409 * check/Makefile.am:
9410 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9411 * gst/gststructure.c: (gst_structure_set_valist),
9412 (gst_structure_copy_conditional):
9413 Activated more tests.
9415 Added G_TYPE_POINTER to GstStructure.
9418 2005-03-22 Wim Taymans <wim@fluendo.com>
9420 * docs/design/part-TODO.txt:
9421 * docs/design/part-events.txt:
9422 * docs/design/part-gstbin.txt:
9423 * docs/design/part-gstbus.txt:
9424 * docs/design/part-gstpipeline.txt:
9425 * docs/design/part-messages.txt:
9430 2005-03-21 Wim Taymans <wim@fluendo.com>
9432 * gst/gstbus.c: (gst_bus_post):
9433 Fix copy-and-paste error.
9435 2005-03-21 Wim Taymans <wim@fluendo.com>
9437 * check/Makefile.am:
9439 * gst/elements/Makefile.am:
9440 * gst/elements/gstelements.c:
9441 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9442 (gst_fakesink_event), (gst_fakesink_chain):
9443 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9444 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9445 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9446 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9447 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9448 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9449 (gst_fakesrc_loop), (gst_fakesrc_activate),
9450 (gst_fakesrc_change_state):
9451 * gst/elements/gstfakesrc.h:
9452 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9453 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9454 (gst_filesrc_open_file), (gst_filesrc_loop),
9455 (gst_filesrc_activate), (gst_filesrc_change_state),
9456 (filesrc_find_peek), (filesrc_find_suggest),
9457 (gst_filesrc_type_find):
9458 * gst/elements/gstidentity.c: (gst_identity_finalize),
9459 (gst_identity_class_init), (gst_identity_init),
9460 (gst_identity_proxy_getcaps), (identity_queue_push),
9461 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9462 (gst_identity_getrange), (gst_identity_chain),
9463 (gst_identity_sink_loop), (gst_identity_src_loop),
9464 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9465 (gst_identity_set_property), (gst_identity_get_property),
9466 (gst_identity_change_state):
9467 * gst/elements/gstidentity.h:
9468 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9469 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9470 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9471 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9472 (gst_tee_sink_activate):
9473 * gst/elements/gsttee.h:
9474 * gst/gst.c: (gst_register_core_elements), (init_post):
9476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9477 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9478 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9479 (gst_bin_change_state):
9481 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9482 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9483 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9484 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9485 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9486 (bus_watch_callback), (bus_watch_destroy),
9487 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9488 (poll_timeout), (gst_bus_poll):
9492 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9493 (gst_element_post_message), (gst_element_message_full),
9494 (gst_element_get_state_func), (gst_element_get_state),
9495 (gst_element_abort_state), (gst_element_commit_state),
9496 (gst_element_lost_state), (gst_element_set_state),
9497 (gst_element_pads_activate), (gst_element_change_state),
9498 (gst_element_dispose), (gst_element_set_manager_func),
9499 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9500 (gst_element_set_manager), (gst_element_get_manager),
9501 (gst_element_set_bus), (gst_element_get_bus),
9502 (gst_element_set_scheduler), (gst_element_get_scheduler):
9504 * gst/gstevent.c: (gst_event_new_segment_seek),
9505 (gst_event_new_flush):
9507 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9508 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9509 (gst_message_new_eos), (gst_message_new_error),
9510 (gst_message_new_warning), (gst_message_new_tag),
9511 (gst_message_new_state_changed), (gst_message_new_application),
9512 (gst_message_get_structure), (gst_message_parse_tag),
9513 (gst_message_parse_state_changed), (gst_message_parse_error),
9514 (gst_message_parse_warning):
9516 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9517 (gst_real_pad_set_property), (gst_pad_set_active),
9518 (gst_pad_is_active), (gst_pad_set_blocked_async),
9519 (gst_pad_set_blocked), (gst_pad_is_blocked),
9520 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9521 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9522 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9523 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9524 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9525 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9526 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9527 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9528 (gst_pad_set_caps), (gst_pad_configure_sink),
9529 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9530 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9531 (gst_real_pad_dispose), (gst_real_pad_finalize),
9532 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9533 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9534 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9536 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9537 (pipeline_bus_handler), (gst_pipeline_change_state),
9538 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9539 * gst/gstpipeline.h:
9541 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9542 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9543 (gst_queue_link_src), (gst_queue_bufferalloc),
9544 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9545 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9546 (gst_queue_loop), (gst_queue_handle_src_event),
9547 (gst_queue_handle_src_query), (gst_queue_src_activate),
9548 (gst_queue_change_state):
9550 * gst/gstscheduler.c: (gst_scheduler_init),
9551 (gst_scheduler_dispose), (gst_scheduler_create_task),
9552 (gst_scheduler_factory_create):
9553 * gst/gstscheduler.h:
9554 * gst/gststructure.c: (gst_structure_get_type),
9555 (gst_structure_copy_conditional):
9556 * gst/gststructure.h:
9557 * gst/gsttaginterface.h:
9558 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9559 (gst_task_init), (gst_task_dispose), (gst_task_create),
9560 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9566 * gst/schedulers/Makefile.am:
9567 * gst/schedulers/cothreads_compat.h:
9568 * gst/schedulers/entryscheduler.c:
9569 * gst/schedulers/faircothreads.c:
9570 * gst/schedulers/faircothreads.h:
9571 * gst/schedulers/fairscheduler.c:
9572 * gst/schedulers/gstbasicscheduler.c:
9573 * gst/schedulers/gstoptimalscheduler.c:
9574 * gst/schedulers/gthread-cothreads.h:
9575 * gst/schedulers/threadscheduler.c:
9576 (gst_thread_scheduler_task_get_type),
9577 (gst_thread_scheduler_task_class_init),
9578 (gst_thread_scheduler_task_init),
9579 (gst_thread_scheduler_task_start),
9580 (gst_thread_scheduler_task_stop),
9581 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9582 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9583 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9584 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9586 * libs/gst/Makefile.am:
9587 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9588 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9589 (gst_file_pad_parent_set):
9590 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9591 (gst_dp_event_from_packet):
9592 * tests/complexity.c: (main):
9593 * tests/mass_elements.c: (main):
9594 * testsuite/states/locked.c: (message_received), (main):
9595 * testsuite/states/parent.c: (main):
9596 * tools/gst-inspect.c: (print_element_flag_info),
9597 (print_implementation_info), (print_pad_info):
9598 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9600 * tools/gst-md5sum.c: (event_loop), (main):
9601 * tools/gst-typefind.c: (main):
9602 * tools/gst-xmlinspect.c: (print_element_info):
9604 Added GstBus for mainloop integration.
9605 Added GstMessage for sending notifications on the bus.
9606 Added GstTask as an abstraction for pipeline entry points.
9609 Simplified GstQueue for multithreaded core.
9610 Made _link threadsafe, removed old capsnego.
9611 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9612 Added pad blocking functions.
9613 Reworked scheduling functions in GstPad to prepare for
9614 scheduling updates soon.
9615 Moved events out of data stream.
9616 Simplified GstEvent types.
9617 Added return values to push/pull.
9618 Removed clocking from GstElement.
9619 Added prototypes for state change function for next merge.
9620 Removed iterate from bins and state change management.
9621 Fixed some elements, disabled others for now.
9622 Fixed -inspect and -launch.
9623 Added check for GstBus.
9625 2005-03-10 Wim Taymans <wim@fluendo.com>
9627 * docs/design/part-MT-refcounting.txt:
9628 * docs/design/part-clocks.txt:
9629 * docs/design/part-gstelement.txt:
9630 * docs/design/part-gstobject.txt:
9631 * docs/design/part-standards.txt:
9632 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9633 (gst_bin_remove_func), (gst_bin_remove):
9637 * testsuite/clock/clock1.c: (main):
9638 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9640 * testsuite/dlopen/loadgst.c: (do_test):
9641 * testsuite/refcounting/bin.c: (add_remove_test1),
9642 (add_remove_test2), (main):
9643 * testsuite/refcounting/element.c: (main):
9644 * testsuite/refcounting/element_pad.c: (main):
9645 * testsuite/refcounting/pad.c: (main):
9646 * tools/gst-launch.c: (sigint_handler_sighandler):
9647 * tools/gst-typefind.c: (main):
9649 Added doc about clock.
9650 removed gst_bin_iterate_recurse_up(), marked methods
9652 Fix more testsuites.
9654 2005-03-09 Wim Taymans <wim@fluendo.com>
9656 * gst/gstpad.c: (gst_pad_get_direction),
9657 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9658 (gst_pad_collect_valist):
9659 * testsuite/bins/interface.c: (main):
9660 * testsuite/caps/audioscale.c: (test_caps):
9661 * testsuite/caps/caps.c: (test1), (test2), (test3):
9662 * testsuite/caps/deserialize.c: (main):
9663 * testsuite/caps/enumcaps.c: (main):
9664 * testsuite/caps/filtercaps.c: (main):
9665 * testsuite/caps/intersect2.c: (main):
9666 * testsuite/caps/random.c: (main):
9667 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9668 * testsuite/caps/sets.c: (check_caps):
9669 * testsuite/caps/simplify.c: (check_caps), (main):
9670 * testsuite/caps/subtract.c: (check_caps):
9671 Fix _pad_get_direction wrt ghostpads.
9674 2005-03-09 Wim Taymans <wim@fluendo.com>
9676 * check/Makefile.am:
9677 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9678 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9679 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9680 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9681 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9682 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9683 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9684 (bin_element_is_sink), (gst_bin_iterate_sinks),
9685 (gst_bin_iterate_all_by_interface):
9687 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9688 (gst_element_change_state), (gst_element_dispose),
9689 (gst_element_finalize), (gst_element_set_loop_function):
9691 * gst/gstiterator.c: (find_custom_fold_func):
9692 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9693 (gst_pad_collectv), (gst_pad_collect_valist),
9694 (gst_pad_template_new):
9695 * gst/gstpipeline.c: (gst_pipeline_class_init),
9696 (gst_pipeline_dispose), (gst_pipeline_set_property),
9697 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9698 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9699 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9701 * gst/schedulers/entryscheduler.c:
9702 * gst/schedulers/gstbasicscheduler.c:
9703 (gst_basic_scheduler_cothreaded_chain),
9704 (gst_basic_scheduler_chain_add_element):
9705 * testsuite/bins/interface.c: (main):
9707 Added GstSystemClock test.
9708 Implemented clock distribution code in GstBin.
9709 Implemented iterate sinks method for future use.
9710 Rearranged gstelement.h
9711 Fix GstIterator comparison bug.
9712 Moved some code to GstPipeline, mostly clocking related.
9714 2005-03-09 Wim Taymans <wim@fluendo.com>
9717 * gst/gst_private.h:
9718 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9719 (gst_bin_remove_func), (gst_bin_remove),
9720 (gst_bin_get_by_name_recurse_up):
9721 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9722 (gst_clock_id_compare_func), (gst_clock_id_wait),
9723 (gst_clock_id_wait_async), (gst_clock_init),
9724 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9726 * gst/gstinfo.c: (_gst_debug_init):
9728 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9729 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9731 Bump version number, we're now 0.9.0
9732 Add future debugging category.
9733 Fix NULL _unref() in _get_by_name_recurse_up
9737 2005-03-08 Wim Taymans <wim@fluendo.com>
9739 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9740 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9741 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9742 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9743 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9744 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9745 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9746 * gst/elements/gstidentity.c: (gst_identity_class_init):
9747 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9748 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9749 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9750 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9751 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9753 * gst/gstelement.c: (gst_element_class_init),
9754 (gst_element_base_class_init), (gst_element_init),
9755 (gst_element_get_random_pad), (gst_element_wait_state_change),
9756 (gst_element_change_state), (gst_element_dispose),
9757 (gst_element_finalize), (gst_element_set_loop_function):
9759 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9760 * gst/gstthread.c: (gst_thread_class_init),
9761 (gst_thread_release_children_locks), (gst_thread_change_state):
9762 * gst/schedulers/gstbasicscheduler.c:
9763 (gst_basic_scheduler_loopfunc_wrapper),
9764 (gst_basic_scheduler_chain_wrapper),
9765 (gst_basic_scheduler_src_wrapper),
9766 (gst_basic_scheduler_remove_element):
9767 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9768 Remove threadsafe properties. Fix elements because GObject
9769 complains when installing a property before declaring a
9770 set/get_property handler.
9771 Rearrange gstelement.h file, use STATE macros for state locks.
9772 Free mutexes in the finalize method instead of dispose.
9774 2005-03-08 Wim Taymans <wim@fluendo.com>
9776 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9777 * gst/gstthread.c: (gst_thread_release_children_locks):
9778 Added parentage check.
9779 Fix build og GstThread again.
9781 2005-03-08 Wim Taymans <wim@fluendo.com>
9783 * docs/design/part-MT-refcounting.txt:
9784 * docs/design/part-conventions.txt:
9785 * docs/design/part-gstobject.txt:
9786 * docs/design/part-relations.txt:
9787 * docs/design/part-standards.txt:
9788 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9789 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9790 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9791 (gst_bin_iterate_all_by_interface):
9794 * gst/gstelement.c: (gst_element_class_init),
9795 (gst_element_change_state), (gst_element_set_loop_function):
9797 * gst/gstiterator.c:
9798 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9799 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9800 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9801 (gst_object_set_parent), (gst_object_unparent),
9802 (gst_object_check_uniqueness):
9804 Docs updates, clean up some headers.
9806 2005-03-07 Wim Taymans <wim@fluendo.com>
9809 * check/Makefile.am:
9810 * check/gst-libs/.cvsignore:
9811 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9812 * check/gst/.cvsignore:
9813 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9814 (START_TEST), (gstbus_suite), (main):
9815 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9816 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9817 (gst_data_suite), (main):
9818 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9819 (add_fold_func), (gstiterator_suite), (main):
9820 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9821 (thread_name_object), (thread_name_object_default),
9822 (gst_object_name_compare), (gst_object_suite), (main):
9823 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9824 (gst_pad_suite), (main):
9825 * check/gstcheck.c: (gst_check_log_message_func),
9826 (gst_check_log_critical_func), (gst_check_init):
9828 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9829 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9832 2005-03-07 Wim Taymans <wim@fluendo.com>
9834 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9835 (gst_list_iterator_next), (gst_list_iterator_resync),
9836 (gst_list_iterator_free), (gst_iterator_new_list),
9837 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9838 (gst_iterator_free), (gst_iterator_push), (filter_next),
9839 (filter_resync), (filter_uninit), (filter_free),
9840 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9841 (gst_iterator_foreach), (find_custom_fold_func),
9842 (gst_iterator_find_custom):
9843 * gst/gstiterator.h:
9844 Added missing files.
9846 2005-03-07 Wim Taymans <wim@fluendo.com>
9850 * docs/design/part-MT-refcounting.txt:
9851 * docs/design/part-conventions.txt:
9852 * docs/design/part-gstobject.txt:
9853 * docs/design/part-relations.txt:
9854 * examples/mixer/mixer.c: (main):
9855 * examples/thread/thread.c: (eos), (main):
9857 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9858 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9859 (gst_spider_plug_from_srcpad):
9860 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9861 (gst_spider_identity_change_state),
9862 (gst_spider_identity_sink_loop_type_finding):
9863 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9864 * gst/elements/gstidentity.c: (gst_identity_init):
9865 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9866 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9867 * gst/elements/gsttypefindelement.c: (free_entry):
9870 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9871 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9872 (gst_bin_set_index), (gst_bin_set_element_sched),
9873 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9874 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9875 (gst_bin_iterate_elements), (iterate_child_recurse),
9876 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9877 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9878 (compare_interface), (gst_bin_get_by_interface),
9879 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9881 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9882 (gst_buffer_default_free), (gst_buffer_default_copy),
9883 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9884 (gst_buffer_create_sub):
9886 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9887 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9888 (gst_caps_unref), (gst_static_caps_get),
9889 (gst_caps_remove_and_get_structure), (gst_caps_append),
9890 (gst_caps_append_structure), (gst_caps_remove_structure),
9891 (gst_caps_copy_nth), (gst_caps_set_simple),
9892 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9893 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9894 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9895 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9896 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9897 (gst_caps_structure_figure_out_union),
9898 (gst_caps_switch_structures), (gst_caps_do_simplify),
9899 (gst_caps_replace), (gst_caps_from_string),
9900 (gst_caps_copy_conditional):
9902 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9903 (_gst_clock_id_free), (gst_clock_id_unref),
9904 (gst_clock_id_compare_func), (gst_clock_id_wait),
9905 (gst_clock_id_wait_async), (gst_clock_class_init),
9906 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9907 (gst_clock_get_time), (gst_clock_set_time_adjust),
9908 (gst_clock_set_property), (gst_clock_get_property):
9911 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9912 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9914 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9915 (gst_element_requires_clock), (gst_element_provides_clock),
9916 (gst_element_set_clock), (gst_element_clock_wait),
9917 (gst_element_wait), (gst_element_set_time_delay),
9918 (gst_element_is_indexable), (gst_element_add_pad),
9919 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9920 (pad_compare_name), (gst_element_get_static_pad),
9921 (gst_element_request_pad), (gst_element_get_request_pad),
9922 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9923 (gst_element_class_get_pad_template_list),
9924 (gst_element_class_get_pad_template), (gst_element_error_func),
9925 (gst_element_get_random_pad), (gst_element_get_event_masks),
9926 (gst_element_send_event), (gst_element_seek),
9927 (gst_element_get_query_types), (gst_element_query),
9928 (gst_element_get_formats), (gst_element_convert),
9929 (gst_element_is_locked_state), (gst_element_set_locked_state),
9930 (gst_element_sync_state_with_parent), (gst_element_change_state),
9931 (gst_element_finalize), (gst_element_yield),
9932 (gst_element_interrupt), (gst_element_set_scheduler),
9933 (gst_element_get_scheduler), (gst_element_set_loop_function):
9936 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9937 (gst_format_get_by_nick), (gst_format_get_details),
9938 (gst_format_iterate_definitions):
9940 * gst/gstindex.c: (gst_index_gtype_resolver):
9943 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9944 (gst_mem_chunk_free):
9945 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9946 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9947 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9948 (gst_object_dispatch_properties_changed),
9949 (gst_object_set_name_default), (gst_object_set_name),
9950 (gst_object_get_name), (gst_object_set_name_prefix),
9951 (gst_object_get_name_prefix), (gst_object_set_parent),
9952 (gst_object_get_parent), (gst_object_unparent),
9953 (gst_object_check_uniqueness), (gst_object_save_thyself),
9954 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9955 (gst_object_set_property), (gst_object_get_property),
9956 (gst_object_get_path_string):
9958 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9959 (gst_real_pad_init), (gst_real_pad_get_property),
9960 (gst_pad_custom_new), (gst_pad_get_direction),
9961 (gst_pad_set_active), (gst_pad_is_active),
9962 (gst_pad_set_event_function), (gst_pad_is_linked),
9963 (gst_pad_link_free), (gst_pad_link_intersect),
9964 (gst_pad_link_fixate), (gst_pad_set_caps),
9965 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9966 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9967 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9968 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9969 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9970 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9971 (gst_pad_realize), (gst_pad_get_allowed_caps),
9972 (gst_real_pad_dispose), (gst_real_pad_finalize),
9973 (gst_pad_collectv), (gst_pad_collect_valist),
9974 (gst_pad_template_dispose), (gst_pad_template_new),
9975 (gst_pad_get_internal_links):
9977 * gst/gstpipeline.c: (gst_pipeline_dispose),
9978 (gst_pipeline_change_state):
9979 * gst/gstpipeline.h:
9981 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9982 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9983 * gst/gstpluginfeature.h:
9984 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9985 * gst/gstquery.c: (_gst_query_type_initialize),
9986 (gst_query_type_register), (gst_query_type_get_by_nick),
9987 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9989 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9990 * gst/gstscheduler.c: (gst_scheduler_add_element),
9991 (gst_scheduler_factory_create):
9992 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9993 (gst_structure_free), (gst_structure_set_name),
9994 (gst_structure_id_set_value), (gst_structure_set_value),
9995 (gst_structure_set_valist), (gst_structure_remove_field),
9996 (gst_structure_remove_fields),
9997 (gst_structure_remove_fields_valist),
9998 (gst_structure_remove_all_fields), (gst_structure_foreach),
9999 (gst_structure_map_in_place),
10000 (gst_caps_structure_fixate_field_nearest_int),
10001 (gst_caps_structure_fixate_field_nearest_double):
10002 * gst/gststructure.h:
10003 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10004 (gst_system_clock_init), (gst_system_clock_dispose),
10005 (gst_system_clock_async_thread),
10006 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10007 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10008 * gst/gstsystemclock.h:
10009 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10010 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10011 * gst/gsttaginterface.c:
10012 * gst/gstthread.c: (gst_thread_dispose),
10013 (gst_thread_release_children_locks), (gst_thread_change_state),
10014 (gst_thread_main_loop):
10015 * gst/gsttrashstack.h:
10016 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10018 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10019 (gst_element_request_pad), (gst_element_get_pad_from_template),
10020 (gst_element_request_compatible_pad),
10021 (gst_element_get_compatible_pad_filtered),
10022 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10023 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10024 (gst_element_link_many), (gst_element_link),
10025 (gst_element_link_pads), (gst_element_unlink_pads),
10026 (gst_element_unlink_many), (gst_element_unlink),
10027 (gst_pad_can_link_filtered), (gst_pad_can_link),
10028 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10029 (gst_object_default_error), (gst_bin_add_many),
10030 (gst_bin_remove_many), (gst_element_populate_std_props),
10031 (gst_element_class_install_std_props), (gst_buffer_merge),
10032 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10033 (link_fold_func), (gst_pad_proxy_setcaps):
10035 * gst/gstvalue.c: (gst_value_deserialize_string):
10036 * gst/parse/grammar.y:
10037 * gst/schedulers/gstbasicscheduler.c:
10038 (gst_basic_scheduler_cothreaded_chain),
10039 (gst_basic_scheduler_chain_recursive_add),
10040 (gst_basic_scheduler_pad_link):
10041 * gst/schedulers/gstoptimalscheduler.c:
10042 (get_group_schedule_function),
10043 (gst_opt_scheduler_state_transition),
10044 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10045 * libs/gst/bytestream/bytestream.c:
10046 * libs/gst/dataprotocol/dataprotocol.c:
10047 (gst_dp_header_from_buffer):
10050 * tests/threadstate/threadstate2.c: (eos):
10051 * tools/gst-compprep.c: (main):
10052 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10053 (print_pad_info), (print_children_info):
10054 * tools/gst-launch.c: (idle_func), (main):
10055 * tools/gst-md5sum.c: (idle_func), (main):
10056 * tools/gst-xmlinspect.c: (print_element_info):
10057 First THREADED backport attempt, focusing on adding locks and
10058 making sure the API is threadsafe. Needs more work. More docs
10061 2005-02-24 Andy Wingo <wingo@pobox.com>
10063 * tests/bench-complexity.scm:
10064 * tests/complexity.gnuplot: New files, good for running complexity
10067 * tests/Makefile.am:
10068 * tests/complexity.c: New test, sets up N elements, at each level
10069 teeing into M streams per element. Eeeenteresting.
10071 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10072 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10073 running bench-mass_elements.scm.
10075 * tests/bench-mass_elements.scm: New script, runs mass_elements
10076 for various numbers of identities, outputting the results to a
10077 file. Requires guile 1.6. Just for testing.
10079 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10081 * gst/schedulers/fairscheduler.c:
10082 compile with debug disabled
10084 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10087 hunting season on 0.9 is now OPEN