1 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/gst/gstreamer-docs.sgml:
4 * docs/gst/gstreamer-sections.txt:
5 * docs/gst/tmpl/gstscheduler.sgml:
6 * docs/gst/tmpl/gstschedulerfactory.sgml:
7 Remove some old cruft from docs.
9 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12 Fix inline docs for GstPadLinkReturn.
14 * gst/gststructure.c: (gst_structure_has_name):
16 * docs/gst/gstreamer-sections.txt:
17 New API: gst_structure_has_name().
19 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
22 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23 and _LARGEFILE_SOURCE in config.h as required. Do not
24 export those flags in our .pc files any longer (#142209).
26 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
28 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
29 (gst_file_sink_do_seek), (gst_file_sink_event),
30 (gst_file_sink_get_current_offset), (gst_file_sink_render):
31 Redo seek/tell calls with large file support in mind; add some
32 debugging messages; add log message that tells us when large
33 file support is unavailable or not enabled for some reason.
35 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
36 Add log message that tells us when large file support
37 is unavailable or not enabled for some reason.
39 2005-07-29 Wim Taymans <wim@fluendo.com>
41 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
42 Added test for removing an element with ghostpad from a bin.
43 Fixed test as current implementation does the right thing.
45 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
46 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
47 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
48 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
49 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
50 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
51 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
52 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
53 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
54 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
55 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
56 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
57 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
58 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
59 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
60 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
62 Clean up ghostpads, remove properties for internal stuff.
65 Prepare for switching targets, not all use cases work yet.
67 2005-07-29 Wim Taymans <wim@fluendo.com>
69 * docs/design/part-gstghostpad.txt:
72 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
73 (gst_bin_remove_func):
74 Unlinking pads while holding the bin LOCK is not a good
77 * gst/gstpad.c: (gst_pad_class_init),
78 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
79 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
80 No prob setting template after creating the pad.
82 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
84 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
85 (gst_bus_peek), (gst_bus_source_dispatch),
86 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
87 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
88 gst_bus_poll may be called from other threads. Handle
89 this nicely by not making poll_data disappear off the
90 stack once gst_bus_poll returns.
91 gst_bus_peek now increments the refcount on the returned
94 2005-07-29 Wim Taymans <wim@fluendo.com>
96 * docs/design/part-gstghostpad.txt:
97 Overview of current GhostPad datastructures and use
98 cases for changing the target.
100 2005-07-28 Wim Taymans <wim@fluendo.com>
102 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
103 Added checks for hierarchy consistency whan adding linked
106 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
107 Added check to test element scheduling without bin/pipeline.
109 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
110 First add elements to bin, then link.
112 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
113 (gst_bin_remove_func):
114 Unlink pads from elements added/removed from bin to maintain
115 hierarchy consistency.
117 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
119 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
120 (gst_base_transform_handle_buffer):
121 * gst/base/gstbasetransform.h:
122 Remove broken delay_configure (fixes renegotiation of software
123 scaling pipelines); remove some leftover printf()s.
125 2005-07-28 Wim Taymans <wim@fluendo.com>
127 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
128 Added some more tests for wrong hierarchy
130 * docs/design/part-overview.txt:
133 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
136 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
137 (gst_element_dispose):
140 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
141 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
142 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
143 (gst_pad_set_caps), (gst_pad_send_event):
144 Check for correct hierarchy when linking pads. Moving to
145 strict requirement for ghostpads when linking elements in
149 Clean ups. Added WRONG_HIERARCHY return value.
151 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
153 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
154 Better debug if no transform is possible.
156 2005-07-27 Wim Taymans <wim@fluendo.com>
158 * docs/random/wtay/network-transp:
161 2005-07-27 Wim Taymans <wim@fluendo.com>
163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
164 (gst_dp_event_from_packet):
165 Fix serialization of seek events.
167 2005-07-27 Wim Taymans <wim@fluendo.com>
169 * check/gst-libs/gdp.c: (GST_START_TEST):
170 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
171 Fix compilation and fix event serialization.
173 2005-07-27 Wim Taymans <wim@fluendo.com>
176 * docs/design/part-TODO.txt:
177 * docs/design/part-events.txt:
180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
181 (gst_base_sink_event), (gst_base_sink_do_sync),
182 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
183 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
184 (gst_base_src_do_seek), (gst_base_src_event_handler),
186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
187 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
188 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
189 (gst_base_transform_event), (gst_base_transform_handle_buffer),
190 (gst_base_transform_set_passthrough),
191 (gst_base_transform_is_passthrough):
192 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
193 * gst/elements/gstfilesink.c: (gst_file_sink_event):
199 * gst/gstelement.c: (gst_element_seek):
201 Update gst_element_seek.
203 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
204 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
205 (gst_event_new_flush_start), (gst_event_new_flush_stop),
206 (gst_event_new_eos), (gst_event_new_newsegment),
207 (gst_event_parse_newsegment), (gst_event_new_tag),
208 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
209 (gst_event_parse_qos), (gst_event_new_seek),
210 (gst_event_parse_seek), (gst_event_new_navigation):
212 Make GstEvent use GstStructure. Add parsing code, make sure the
213 API is sufficiently generic.
214 Mark possible directions of events and serialization.
216 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
217 (_gst_message_copy), (gst_message_new_segment_start),
218 (gst_message_new_segment_done), (gst_message_new_custom),
219 (gst_message_parse_segment_start),
220 (gst_message_parse_segment_done):
223 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
224 (gst_pad_set_caps), (gst_pad_send_event):
225 Update for new events.
226 Catch events sent in wrong directions.
228 * gst/gstqueue.c: (gst_queue_link_src),
229 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
230 (gst_queue_handle_src_query):
235 Remove event code from this file.
237 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
238 (gst_dp_event_from_packet):
241 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
243 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
244 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
245 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
246 Make debugging actually useful.
248 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
250 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
251 (gst_pad_fixate_caps):
252 Implement default fixation once again, so that gst_pad_fixate()
253 actually does anything at all. This probably needs to be some
254 sort of a last resort, and use profile-based fixation first, but
255 since that doesn't exist yet, this is the best we have. Fixes
256 visualization in Totem.
258 2005-07-22 Wim Taymans <wim@fluendo.com>
260 * docs/design/part-events.txt:
263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
264 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
265 (gst_base_sink_activate_pull):
268 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
269 (gst_fake_src_create):
270 Fix handoff marshall.
272 * gst/elements/gstidentity.c: (gst_identity_class_init),
273 (gst_identity_transform_ip):
274 We're a real inplace element.
276 * gst/gstbus.c: (gst_bus_post):
279 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
280 * tests/muxing/case1.c: (main):
281 * tests/sched/dynamic-pipeline.c: (main):
282 * tests/sched/interrupt1.c: (main):
283 * tests/sched/interrupt2.c: (main):
284 * tests/sched/interrupt3.c: (main):
285 * tests/sched/runxml.c: (main):
286 * tests/sched/sched-stress.c: (main):
287 * tests/seeking/seeking1.c: (event_received), (main):
288 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
290 * tests/threadstate/threadstate3.c: (main):
291 * tests/threadstate/threadstate4.c: (main):
292 * tests/threadstate/threadstate5.c: (main):
295 2005-07-21 Wim Taymans <wim@fluendo.com>
297 * docs/design/part-seeking.txt:
298 Some small additions.
300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
301 (gst_base_sink_get_times), (gst_base_sink_do_sync),
302 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
303 * gst/base/gstbasesink.h:
304 discont values are gint64, handle the math correctly.
306 * gst/base/gstbasesrc.c: (gst_base_src_loop):
307 Make the basesrc report error if the source pad is not linked.
309 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
310 (gst_queue_loop), (gst_queue_handle_src_query),
311 (gst_queue_src_activate_push):
312 Make queue collect data even if the srcpad is not linked.
313 Start pushing out data as soon as it is linked.
315 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
317 Added gst_flow_get_name() to ease error reporting.
319 2005-07-20 Wim Taymans <wim@fluendo.com>
321 * gst/gstmessage.c: (gst_message_new_segment_start),
322 (gst_message_new_segment_done), (gst_message_parse_segment_start),
323 (gst_message_parse_segment_done):
325 Added a bunch of messages for advanced seeking.
327 * gst/parse/grammar.y:
328 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
329 (gst_dpman_state_changed):
330 Fix some new-pad -> pad-added signals
332 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
334 * docs/manual/appendix-porting.xml:
335 * docs/pwg/appendix-porting.xml:
336 Document new-pad/state-change signal renames and the FixedList
339 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
341 * docs/manual/advanced-autoplugging.xml:
342 * docs/manual/basics-helloworld.xml:
343 * docs/manual/basics-pads.xml:
344 * docs/random/ds/0.9-suggested-changes:
345 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
350 * gst/gststructure.c: (gst_structure_value_get_generic_type),
351 (gst_structure_parse_array), (gst_structure_parse_value):
352 * gst/gstvalue.c: (gst_type_is_fixed),
353 (gst_value_list_prepend_value), (gst_value_list_append_value),
354 (gst_value_list_get_size), (gst_value_list_get_value),
355 (gst_value_transform_array_string), (gst_value_serialize_array),
356 (gst_value_deserialize_array), (gst_value_intersect_array),
357 (gst_value_is_fixed), (_gst_value_initialize):
359 GstElement::new-pad -> pad-added, GstElement::state-change ->
360 state-changed, GstValueFixedList -> GstValueArray, add format and
361 flags as their own arguments in gst_element_seek() (should improve
362 "bindeability"), remove function generators since they don't work
363 under a whole bunch of compilers (they were deprecated already
366 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
368 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
369 (_gst_debug_register_funcptr):
371 Fix illegal cast on some platforms (#309253).
373 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
375 * gst/gstmessage.c: (gst_message_new_custom):
377 Add _new_custom, make _new_application a macro to _new_custom.
379 2005-07-20 Wim Taymans <wim@fluendo.com>
381 * gst/base/gstbasesrc.c: (gst_base_src_init),
382 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
383 * gst/base/gstbasesrc.h:
384 Add a gboolean to decide when to push out a discont.
386 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
387 (gst_queue_loop), (gst_queue_handle_src_query),
388 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
389 (gst_queue_set_property), (gst_queue_get_property):
392 * tests/threadstate/threadstate1.c: (main):
393 Make a thread test compile and run... very silly..
396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
398 * docs/manual/appendix-porting.xml:
399 Mention removal of libgstgconf-0.9.la and existence of gconf
402 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
404 * docs/pwg/advanced-clock.xml:
405 * docs/pwg/appendix-porting.xml:
406 * docs/pwg/intro-preface.xml:
407 * docs/pwg/other-base.xml:
408 * docs/pwg/other-manager.xml:
409 * docs/pwg/other-nton.xml:
410 * docs/pwg/other-ntoone.xml:
411 * docs/pwg/other-oneton.xml:
413 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
414 demuxer), remove n-to-n (was never written), fix some code examples
415 and links and update the porting section to include all this.
417 2005-07-19 Wim Taymans <wim@fluendo.com>
419 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
420 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
421 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
422 (gst_queue_src_activate_push), (gst_queue_change_state),
423 (gst_queue_get_property):
425 Propagate GstFlowReturn more intelligently upstream and output
426 an ERROR/EOS when streaming stopped due to fatal error.
428 2005-07-19 Wim Taymans <wim@fluendo.com>
430 * tools/gst-launch.c: (check_intr), (event_loop), (main):
431 Don't block forever for the state change to complete, the
432 pipeline already did with a sensible timeout.
434 2005-07-19 Wim Taymans <wim@fluendo.com>
436 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
437 Make sure we never call the create function is we
440 2005-07-19 Andy Wingo <wingo@pobox.com>
442 * gst/parse/parse.l: Attempt to solve bug #172815.
444 2005-07-19 Wim Taymans <wim@fluendo.com>
446 * docs/design/part-clocks.txt:
447 * docs/design/part-events.txt:
448 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
450 Only update the seeking values when we are not
453 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
455 * gst/base/gstbasesrc.c: (gst_base_src_loop):
456 Oops, ignore the result of gst_pad_push_event here.
458 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
460 * gst/base/gstbasesrc.c: (gst_base_src_loop),
461 (gst_base_src_activate_push):
462 Send discont event from the loop function, as pads
463 aren't activated yet in the activate_push handler.
465 * gst/gstbin.c: (bin_bus_handler):
466 Don't leak element name.
468 2005-07-18 Andy Wingo <wingo@pobox.com>
470 * configure.ac: Use AS_LIBTOOL_TAGS.
472 2005-07-18 Wim Taymans <wim@fluendo.com>
474 * docs/gst/gstreamer.types:
475 Remove deleted types.
477 2005-07-18 Wim Taymans <wim@fluendo.com>
479 * check/elements/gstfakesrc.c: (GST_START_TEST):
482 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
483 (init_popt_callback):
486 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
487 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
490 * gst/gstconfig.h.in:
491 * gst/gstelement.c: (gst_element_class_init),
492 (gst_element_set_base_time), (gst_element_get_base_time),
493 (iterator_fold_with_resync), (gst_element_change_state),
494 (gst_element_dispose), (gst_element_get_bus):
496 * gst/gstelementfactory.h:
497 * gst/gsterror.c: (_gst_core_errors_init):
500 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
502 * gst/gstinfo.c: (_gst_debug_init):
503 * gst/gstmessage.c: (_gst_message_copy):
505 * gst/gstminiobject.h:
508 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
509 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
512 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
513 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
514 (gst_pipeline_get_last_stream_time):
516 * gst/gstpluginfeature.h:
518 * gst/gstscheduler.c:
519 * gst/gstscheduler.h:
520 * gst/gststructure.h:
521 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
522 (gst_task_finalize), (gst_task_func), (gst_task_create),
523 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
524 (gst_task_stop), (gst_task_pause):
528 * gst/registries/gstlibxmlregistry.c: (load_feature),
529 (gst_xml_registry_load), (gst_xml_registry_save_feature):
530 * gst/registries/gstxmlregistry.c:
531 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
532 * gst/schedulers/threadscheduler.c:
533 * libs/gst/control/dparammanager.h:
534 * tools/gst-inspect.c: (print_element_list),
535 (print_plugin_features), (print_element_features):
536 * tools/gst-xmlinspect.c: (print_element_list),
537 (print_plugin_info), (main):
538 Removed plugable schedulers.
539 Removed Scheduler/Manager from elements.
540 Removed gsttypes.h, rearranged includes.
541 Removed dependency pad<->element, element<>pipeline, and
542 various others, fix includes.
543 implement gst_pad_get_parent() with gst_object_get_parent()
544 Make GstTask sefcontained.
545 Fix _get_state() on GstBin, it did not return ASYNC with a 0
547 Fix endless loop in iterator_fold_with_resync.
550 2005-07-18 Wim Taymans <wim@fluendo.com>
556 2005-07-18 Wim Taymans <wim@fluendo.com>
561 2005-07-18 Wim Taymans <wim@fluendo.com>
567 2005-07-18 Wim Taymans <wim@fluendo.com>
569 * docs/design/part-dynamic.txt:
570 * docs/design/part-events.txt:
571 * docs/design/part-seeking.txt:
572 Some more docs in the works.
574 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
575 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
576 (gst_base_transform_setcaps), (gst_base_transform_get_size),
577 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
578 (gst_base_transform_handle_buffer),
579 (gst_base_transform_sink_activate_push),
580 (gst_base_transform_src_activate_pull),
581 (gst_base_transform_set_passthrough),
582 (gst_base_transform_is_passthrough):
585 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
588 * gst/gstevent.c: (gst_event_finalize):
591 * gst/gstutils.c: (gst_element_unlink),
592 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
593 (gst_pad_proxy_setcaps):
595 Add _get_parent_element() to get a pads parent as an element.
597 2005-07-18 Wim Taymans <wim@fluendo.com>
599 * check/gst/gstbin.c: (GST_START_TEST):
602 2005-07-18 Wim Taymans <wim@fluendo.com>
604 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
605 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
606 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
607 (gst_base_sink_event), (gst_base_sink_do_sync),
608 (gst_base_sink_chain), (gst_base_sink_loop),
609 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
610 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
612 Fix logic for returning ASYNC when not prerolled.
614 2005-07-18 Wim Taymans <wim@fluendo.com>
616 * gst/gstqueue.c: (gst_queue_handle_sink_event):
617 Fix nasty refcount bug.
619 2005-07-16 Philippe Khalaf <burger@speedy.org>
620 * gst/elements/gstfdsrc.c:
621 * gst/elements/gstfdsrc.h:
622 * gst/elements/gstelements.c:
623 * gst/elements/Makefile.am:
626 2005-07-16 Wim Taymans <wim@fluendo.com>
628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
629 (gst_base_sink_do_sync):
632 2005-07-16 Wim Taymans <wim@fluendo.com>
634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
635 (gst_base_sink_event), (gst_base_sink_get_times),
636 (gst_base_sink_do_sync), (gst_base_sink_change_state):
637 * gst/base/gstbasesink.h:
638 Store and use discont values when syncing buffers as described
641 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
642 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
643 (gst_base_src_activate_push):
644 Push discont event when starting.
646 * gst/elements/gstidentity.c: (gst_identity_transform):
649 * gst/gstbin.c: (gst_bin_change_state):
650 Small cleanups in base_time distribution.
652 * gst/gstelement.c: (gst_element_set_base_time),
653 (gst_element_get_base_time), (gst_element_change_state):
655 Added methods for the base_time of the element.
658 * gst/gstpipeline.c: (gst_pipeline_send_event),
659 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
660 (gst_pipeline_get_last_stream_time):
663 Handle seeking as described in design doc, remove stream_time
665 Cleanups clock and stream_time selection code. Added accessors
669 2005-07-16 Andy Wingo <wingo@pobox.com>
671 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
674 2005-07-16 Wim Taymans <wim@fluendo.com>
676 * check/gst/gstbin.c: (GST_START_TEST):
677 Make elements silent as the deep_notify refs the
678 parent, which might make the test fail.
680 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
681 Don't hold the lock for too long.
683 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
685 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
686 Don't unref the caps we passed to gst_caps_make_writable() after
687 passing them. gst_caps_make_writable() will do that for us.
689 2005-07-15 Andy Wingo <wingo@pobox.com>
691 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
694 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
695 own marshalling function for the handoff signal. Properly type the
696 buffer as a buffer. Fixes some warnings. Should do a more general
698 (gst_identity_class_init): Plug into the right marshaller.
700 2005-07-15 Wim Taymans <wim@fluendo.com>
702 * docs/design/part-TODO.txt:
703 * docs/design/part-clocks.txt:
704 * docs/design/part-element-sink.txt:
705 * docs/design/part-events.txt:
706 * docs/design/part-gstpipeline.txt:
707 Updated docs, mostly DISCONT related.
709 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
711 * docs/pwg/building-pads.xml:
712 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
714 2005-07-15 Andy Wingo <wingo@pobox.com>
716 * tools/gst-typefind.c: Update, add copyright block.
718 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
719 Normalize and truncate caps before fixation.
722 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
723 discards all but the first structure from its argument.
725 2005-07-15 Wim Taymans <wim@fluendo.com>
727 * gst/base/gstbasetransform.c: (gst_base_transform_init),
728 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
729 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
730 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
731 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
732 (gst_base_transform_chain), (gst_base_transform_change_state),
733 (gst_base_transform_set_passthrough),
734 (gst_base_transform_is_passthrough):
735 * gst/base/gstbasetransform.h:
736 Make passthrough work using the bufferpools.
737 Changed API a bit, subclasses have to write into a buffer
738 provided by the base class.
739 More debug info in nego functions.
741 * gst/elements/gstidentity.c: (gst_identity_init),
742 (gst_identity_transform):
743 Port to new base class.
745 2005-07-15 Wim Taymans <wim@fluendo.com>
747 * gst/gstmessage.c: (gst_message_new_state_changed):
748 * tools/gst-launch.c: (event_loop), (main):
749 Totally dump messages in -launch with the -m option.
750 Fix message name for State messages,
752 2005-07-14 Wim Taymans <wim@fluendo.com>
754 * gst/base/gstbasesrc.c: (gst_base_src_loop):
755 Post error messages on errors.
757 2005-07-14 Wim Taymans <wim@fluendo.com>
759 * gst/gstcaps.c: (gst_caps_do_simplify):
763 Define error for stream stopped.
765 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
766 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
767 Do proper return values.
769 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
770 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
772 Better return values.
775 Reorganise return values, add macro to check for fatal errors.
777 * gst/gstqueue.c: (gst_queue_chain):
778 Return proper GstFlowReturn values,
780 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
782 * docs/gst/gstreamer-sections.txt:
783 * docs/gst/gstreamer.types:
784 * docs/gst/tmpl/gst.sgml:
785 * docs/gst/tmpl/gstbasesink.sgml:
786 * docs/gst/tmpl/gstbasesrc.sgml:
787 * docs/gst/tmpl/gstbasetransform.sgml:
788 * docs/gst/tmpl/gstbin.sgml:
789 * docs/gst/tmpl/gstbuffer.sgml:
790 * docs/gst/tmpl/gstcaps.sgml:
791 * docs/gst/tmpl/gstclock.sgml:
792 * docs/gst/tmpl/gstcompat.sgml:
793 * docs/gst/tmpl/gstconfig.sgml:
794 * docs/gst/tmpl/gstelement.sgml:
795 * docs/gst/tmpl/gstelementdetails.sgml:
796 * docs/gst/tmpl/gstelementfactory.sgml:
797 * docs/gst/tmpl/gstenumtypes.sgml:
798 * docs/gst/tmpl/gsterror.sgml:
799 * docs/gst/tmpl/gstevent.sgml:
800 * docs/gst/tmpl/gstfakesink.sgml:
801 * docs/gst/tmpl/gstfakesrc.sgml:
802 * docs/gst/tmpl/gstfilesink.sgml:
803 * docs/gst/tmpl/gstfilesrc.sgml:
804 * docs/gst/tmpl/gstfilter.sgml:
805 * docs/gst/tmpl/gstformat.sgml:
806 * docs/gst/tmpl/gstghostpad.sgml:
807 * docs/gst/tmpl/gstimplementsinterface.sgml:
808 * docs/gst/tmpl/gstindex.sgml:
809 * docs/gst/tmpl/gstindexfactory.sgml:
810 * docs/gst/tmpl/gstinfo.sgml:
811 * docs/gst/tmpl/gstiterator.sgml:
812 * docs/gst/tmpl/gstmacros.sgml:
813 * docs/gst/tmpl/gstmemchunk.sgml:
814 * docs/gst/tmpl/gstminiobject.sgml:
815 * docs/gst/tmpl/gstobject.sgml:
816 * docs/gst/tmpl/gstpad.sgml:
817 * docs/gst/tmpl/gstpadtemplate.sgml:
818 * docs/gst/tmpl/gstparse.sgml:
819 * docs/gst/tmpl/gstpipeline.sgml:
820 * docs/gst/tmpl/gstplugin.sgml:
821 * docs/gst/tmpl/gstpluginfeature.sgml:
822 * docs/gst/tmpl/gstquery.sgml:
823 * docs/gst/tmpl/gstqueue.sgml:
824 * docs/gst/tmpl/gstregistry.sgml:
825 * docs/gst/tmpl/gstregistrypool.sgml:
826 * docs/gst/tmpl/gstscheduler.sgml:
827 * docs/gst/tmpl/gstschedulerfactory.sgml:
828 * docs/gst/tmpl/gststructure.sgml:
829 * docs/gst/tmpl/gstsystemclock.sgml:
830 * docs/gst/tmpl/gsttaglist.sgml:
831 * docs/gst/tmpl/gsttagsetter.sgml:
832 * docs/gst/tmpl/gsttrace.sgml:
833 * docs/gst/tmpl/gsttrashstack.sgml:
834 * docs/gst/tmpl/gsttypefind.sgml:
835 * docs/gst/tmpl/gsttypefindfactory.sgml:
836 * docs/gst/tmpl/gsttypes.sgml:
837 * docs/gst/tmpl/gsturihandler.sgml:
838 * docs/gst/tmpl/gsturitype.sgml:
839 * docs/gst/tmpl/gstutils.sgml:
840 * docs/gst/tmpl/gstvalue.sgml:
841 * docs/gst/tmpl/gstversion.sgml:
842 * docs/gst/tmpl/gstxml.sgml:
843 * docs/libs/tmpl/gstcontrol.sgml:
844 * docs/libs/tmpl/gstdataprotocol.sgml:
845 * docs/libs/tmpl/gstdparam.sgml:
846 * docs/libs/tmpl/gstdplinint.sgml:
847 * docs/libs/tmpl/gstdpman.sgml:
848 * docs/libs/tmpl/gstdpsmooth.sgml:
849 * docs/libs/tmpl/gstgetbits.sgml:
850 * docs/libs/tmpl/gstunitconvert.sgml:
851 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
852 (gst_push_src_base_init), (gst_push_src_class_init),
853 (gst_push_src_init), (gst_push_src_create):
854 * gst/base/gstpushsrc.h:
855 * gst/elements/gstelements.c:
856 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
857 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
858 (gst_fake_sink_init), (gst_fake_sink_set_property),
859 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
860 (gst_fake_sink_event), (gst_fake_sink_preroll),
861 (gst_fake_sink_render), (gst_fake_sink_change_state):
862 * gst/elements/gstfakesink.h:
863 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
864 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
865 (gst_fake_src_base_init), (gst_fake_src_class_init),
866 (gst_fake_src_init), (gst_fake_src_event_handler),
867 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
868 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
869 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
870 (gst_fake_src_create_buffer), (gst_fake_src_create),
871 (gst_fake_src_start), (gst_fake_src_stop):
872 * gst/elements/gstfakesrc.h:
873 * gst/elements/gstfilesink.c: (_do_init),
874 (gst_file_sink_base_init), (gst_file_sink_class_init),
875 (gst_file_sink_init), (gst_file_sink_dispose),
876 (gst_file_sink_set_location), (gst_file_sink_set_property),
877 (gst_file_sink_get_property), (gst_file_sink_open_file),
878 (gst_file_sink_close_file), (gst_file_sink_query),
879 (gst_file_sink_event), (gst_file_sink_render),
880 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
881 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
882 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
883 * gst/elements/gstfilesink.h:
884 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
885 (gst_file_src_class_init), (gst_file_src_init),
886 (gst_file_src_finalize), (gst_file_src_set_location),
887 (gst_file_src_set_property), (gst_file_src_get_property),
888 (gst_file_src_map_region), (gst_file_src_map_small_region),
889 (gst_file_src_create_mmap), (gst_file_src_create_read),
890 (gst_file_src_create), (gst_file_src_is_seekable),
891 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
892 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
893 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
894 (gst_file_src_uri_handler_init):
895 * gst/elements/gstfilesrc.h:
896 more autistic cleanliness in functions/names/defines
898 2005-07-13 Andy Wingo <wingo@pobox.com>
900 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
901 source couldn't negotiate.
903 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
907 * gst/gstutils.c (gst_element_link_pads_filtered): New old
908 function. I am channeling Hades. Put your boots on suckers!!!
910 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
912 * testsuite/caps/Makefile.am:
913 * testsuite/caps/value_compare.c:
914 * testsuite/caps/value_intersect.c:
915 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
916 move two testsuite apps over to the check dir
918 2005-07-12 Wim Taymans <wim@fluendo.com>
920 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
921 Added more debug info in the negotiate process.
924 Prepare for segment playback.
926 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
932 * tools/gst-launch.c: (main):
933 NULL pipeline on errors.
935 2005-07-12 Andy Wingo <wingo@pobox.com>
937 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
938 not it comes from a malloc region. Make sure our copy gets freed.
940 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
942 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
943 * check/gst/gstmessage.c: (GST_START_TEST):
944 * check/gst/gststructure.c: (GST_START_TEST),
945 (gst_structure_suite), (main):
947 * gst/gstelement.c: (gst_element_message_full):
948 clean up GError and debug string now that they get copied
949 * gst/gstmessage.c: (gst_message_new_error),
950 (gst_message_new_warning), (gst_message_parse_error),
951 (gst_message_parse_warning):
952 use GST_TYPE_G_ERROR for structure_new, and take copies of
953 arguments, so that we don't mess up refcounting
955 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
958 add per-test valgrind targets
959 * check/gst-libs/gdp.c: (GST_START_TEST),
960 (gst_data_protocol_suite), (main):
963 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
966 instate more valgrindable tests
967 * check/elements/gstfakesrc.c: (chain_func), (event_func),
968 (GST_START_TEST), (fakesrc_suite):
969 * check/gst/gstpad.c: (GST_START_TEST):
970 * check/gst/gststructure.c: (GST_START_TEST):
972 * docs/gst/tmpl/gstminiobject.sgml:
973 * gst/gstpad.c: (gst_pad_finalize):
974 fix the static mutex leak
976 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
979 add two more tests for valgrinding
980 * check/gst/gstvalue.c: (GST_START_TEST):
981 test refcount of deserialized buffer, found a leak
982 * docs/gst/gstreamer-docs.sgml:
983 * docs/gst/gstreamer-sections.txt:
984 * docs/gst/gstreamer.types:
985 * docs/gst/tmpl/gstminiobject.sgml:
986 add miniobject to docs
987 * gst/gstminiobject.c:
989 * gst/gstvalue.c: (gst_value_deserialize_buffer),
991 fix a hard-to-find invalid write for one of the tests
992 fix a leak for deserialized buffers
994 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
996 * docs/pwg/advanced-events.xml:
997 * docs/pwg/advanced-request.xml:
998 * docs/pwg/advanced-scheduling.xml:
999 * docs/pwg/appendix-porting.xml:
1000 * docs/pwg/building-boiler.xml:
1001 * docs/pwg/intro-preface.xml:
1002 * docs/pwg/other-ntoone.xml:
1003 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
1004 of example code and explanation for pad activation, loop() and
1005 getrange() functions and a bit more. Remove old comments pointing
1007 * examples/pwg/Makefile.am:
1008 Add loop/getrange examples.
1010 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
1013 check for valgrind binary + some fixes
1015 valgrind suppressions for the tests
1016 * check/Makefile.am:
1017 add a valgrind: target that valgrinds the unit tests
1018 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
1019 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1020 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1021 * check/gst/gstghostpad.c:
1023 * check/gst/gstdata.c:
1025 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
1026 (thread_unref), (gst_mini_object_suite), (main):
1028 * gst/gst.c: (gst_deinit):
1030 add a method to clean up.
1031 * gst/gstsystemclock.c: (gst_system_clock_dispose),
1032 (gst_system_clock_obtain):
1033 allow for disposing the system clock.
1034 * tools/gst-launch.c: (main):
1037 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
1039 * docs/gst/tmpl/gstbasesrc.sgml:
1040 * docs/gst/tmpl/gstfakesrc.sgml:
1041 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1042 (gst_base_src_init), (gst_base_src_set_property),
1043 (gst_base_src_get_property), (gst_base_src_get_range),
1044 (gst_base_src_start):
1045 * gst/base/gstbasesrc.h:
1046 add num-buffers property
1047 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
1048 (gst_fakesrc_init), (gst_fakesrc_set_property),
1049 (gst_fakesrc_get_property), (gst_fakesrc_create),
1050 (gst_fakesrc_start):
1051 remove num-buffers property
1053 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1055 * docs/gst/gstreamer-sections.txt:
1056 * docs/gst/tmpl/gstbasesink.sgml:
1057 * docs/gst/tmpl/gstbasesrc.sgml:
1058 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
1059 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
1060 (gst_base_sink_finalize), (gst_base_sink_set_clock),
1061 (gst_base_sink_set_property), (gst_base_sink_get_property),
1062 (gst_base_sink_handle_object), (gst_base_sink_event),
1063 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1064 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
1065 (gst_base_sink_loop), (gst_base_sink_deactivate),
1066 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
1067 (gst_base_sink_change_state):
1068 * gst/base/gstbasesink.h:
1069 * gst/base/gstbasesrc.h:
1070 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
1071 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
1072 (gst_filesink_init):
1073 more macro splitting
1075 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1077 * gst/gstelement.c: (gst_element_get_bus):
1079 * tools/gst-launch.c: (check_intr), (event_loop):
1082 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1084 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1087 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1089 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1090 (gst_base_src_finalize):
1091 add finalize method and clean up properly
1092 * gst/gstpipeline.c: (gst_pipeline_dispose):
1095 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1097 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
1099 add more things to check
1100 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
1104 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1106 * check/elements/gstfakesrc.c: (chain_func), (event_func),
1107 (GST_START_TEST), (fakesrc_suite):
1108 * check/gst-libs/gdp.c: (GST_START_TEST):
1109 * check/gst/gst.c: (GST_START_TEST):
1110 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1111 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1112 * check/gst/gstbus.c: (GST_START_TEST):
1113 * check/gst/gstcaps.c: (GST_START_TEST):
1114 * check/gst/gstdata.c: (GST_START_TEST):
1115 * check/gst/gstelement.c: (GST_START_TEST):
1116 * check/gst/gstghostpad.c: (GST_START_TEST):
1117 * check/gst/gstiterator.c: (GST_START_TEST):
1118 * check/gst/gstmessage.c: (GST_START_TEST):
1119 * check/gst/gstobject.c: (GST_START_TEST):
1120 * check/gst/gstpad.c: (GST_START_TEST):
1121 * check/gst/gststructure.c: (GST_START_TEST):
1122 * check/gst/gstsystemclock.c: (GST_START_TEST),
1123 (gst_systemclock_suite):
1124 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1125 * check/gst/gstvalue.c: (GST_START_TEST):
1126 * check/pipelines/cleanup.c: (GST_START_TEST):
1127 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1128 * check/states/sinks.c: (GST_START_TEST):
1129 * check/gstcheck.c: (gst_check_init):
1131 add debugging category
1132 use GST_START_TEST now, so we add a debug line
1134 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1136 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
1137 add test for state change message on a bin
1138 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
1140 * gst/gstbin.c: (gst_bin_init):
1141 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
1142 * gst/gstelement.c: (gst_element_post_message),
1143 (gst_element_set_state):
1144 * gst/gstelementfactory.c: (gst_element_factory_create):
1145 * gst/gstmessage.c: (gst_message_new):
1146 * gst/gstscheduler.c:
1147 various debugging additions and cleanups
1149 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1151 * check/Makefile.am:
1152 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
1154 adding tests for elements
1155 * gst/gstelement.c: (gst_element_dispose):
1157 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1159 * gst/registries/gstlibxmlregistry.c: (load_feature):
1160 plug more leaks. A simple gst_init() now is leakfree, yay.
1162 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1164 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
1165 (gst_xml_registry_load):
1166 plug another memleak
1168 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1171 use GST_SET_ERROR_CFLAGS
1173 change to ERROR_CFLAGS
1175 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1178 make GST_ERROR_CFLAGS overridable and re-enable Werror
1180 add a note about error CFLAGS
1181 * docs/gst/tmpl/gstfakesrc.sgml:
1182 * gst/elements/gstfakesrc.c:
1183 comment out some unused code
1184 * gst/gst.c: (split_and_iterate):
1185 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
1189 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
1191 * common/Makefile.am:
1192 * common/gtk-doc.mak:
1193 * docs/gst/Makefile.am:
1194 factor out gtk-doc.mak
1196 2005-07-07 Wim Taymans <wim@fluendo.com>
1198 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
1199 (gst_thread_scheduler_dispose):
1200 Unlock the STREAM_LOCK completely.
1202 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
1204 * check/Makefile.am:
1205 * check/elements/.cvsignore:
1206 * check/elements/gstfakesrc.c: (chain_func), (event_func),
1207 (START_TEST), (fakesrc_suite), (main):
1208 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
1209 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
1210 (gst_fakesrc_create), (gst_fakesrc_start):
1211 * gst/elements/gstfakesrc.h:
1212 adding a first element test
1214 2005-07-07 Andy Wingo <wingo@pobox.com>
1216 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
1219 2005-07-07 Wim Taymans <wim@fluendo.com>
1225 2005-07-07 Wim Taymans <wim@fluendo.com>
1227 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1228 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
1229 Allow subclasses to implement their own negotiation.
1231 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1233 * docs/design/part-gstbin.txt:
1234 * docs/design/part-gstpipeline.txt:
1235 Update design notes to reflect the movement of
1236 responsibility for bus handling from GstPipeline to
1239 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1242 Remove unnecessary queue2/3/4 examples.
1244 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1246 * examples/Makefile.am:
1247 * examples/helloworld/helloworld.c: (event_loop), (main):
1248 * examples/queue/queue.c: (event_loop), (main):
1249 * examples/queue2/queue2.c: (main):
1250 Update a couple of the examples to work again.
1252 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1253 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
1254 Spelling corrections and extra debug.
1256 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
1257 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
1258 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
1260 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
1261 (gst_pipeline_change_state):
1262 * gst/gstpipeline.h:
1263 Move the bus handler for children to the GstBin, and create a
1264 separate bus for receiving messages from children to the one the
1265 bus sends 'upwards' on.
1267 2005-07-06 Wim Taymans <wim@fluendo.com>
1270 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1271 (gst_base_sink_handle_object), (gst_base_sink_loop),
1272 (gst_base_sink_change_state):
1273 * gst/base/gstbasesink.h:
1274 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1275 (gst_base_src_init), (gst_base_src_setcaps),
1276 (gst_base_src_getcaps), (gst_base_src_loop),
1277 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
1278 (gst_base_src_start), (gst_base_src_change_state):
1279 * gst/base/gstbasesrc.h:
1280 Make basesrc negotiate.
1281 Handle the case where preroll fails in basesink.
1284 2005-07-06 Wim Taymans <wim@fluendo.com>
1286 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
1287 Implement the fixate function.
1288 Clean up acceptcaps.
1290 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1292 * docs/pwg/building-filterfactory.xml:
1294 Remove never-written filter-factory chapter; I'll add the various
1295 base classes to part 4 ("other element types") later on.
1297 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1299 * docs/pwg/advanced-negotiation.xml:
1300 * docs/pwg/building-boiler.xml:
1301 * docs/pwg/building-pads.xml:
1303 * examples/pwg/Makefile.am:
1304 Add a chapter on caps negotiation, simplify the original code
1305 samples a bit w.r.t. caps negotiation, add link to the advanced
1306 section. Add a bunch of examples showing different use cases of
1307 different types of caps negotiation. Upstream renegotiation isn't
1308 fully documented yet since nobody knows how that works.
1310 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
1312 * check/gst/gstpad.c:
1314 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1315 if pad has no parent, return NULL as list of internal links
1317 2005-07-05 Andy Wingo <wingo@pobox.com>
1319 * gst/elements/gstfilesrc.c:
1320 * gst/elements/gstfakesrc.c:
1321 * gst/base/gstpushsrc.c:
1322 * gst/base/gstbasesrc.h:
1323 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
1325 2005-07-05 Stefan Kost <ensonic@users.sf.net>
1328 better report generation target (lcov needs a patch)
1330 2005-07-05 Andy Wingo <wingo@pobox.com>
1332 * gst/elements, testsuite: Null if we got it...
1334 2005-07-05 Wim Taymans <wim@fluendo.com>
1337 * libs/gst/dataprotocol/Makefile.am:
1338 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
1339 * libs/gst/dataprotocol/dataprotocol.h:
1340 * pkgconfig/Makefile.am:
1341 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
1342 * pkgconfig/gstreamer-dataprotocol.pc.in:
1343 Ported dataprotol to 0.9.
1344 Added pkgconfig files.
1346 2005-07-05 Andy Wingo <wingo@pobox.com>
1348 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
1349 Default to returning TRUE for the case when tranform_caps returns
1350 a fixed caps, like for identity or volume.
1352 * check/gst/gstbus.c (pound_bus_with_messages):
1353 * check/gst/gstmessage.c (START_TEST):
1354 * check/pipelines/simple_launch_lines.c (got_handoff): Application
1357 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
1358 logic weaks here: always run transform_caps, trying passthrough
1359 operation only if the original caps intersects with the transform.
1361 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
1362 source and sink caps.
1364 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
1365 Intersect the peer caps with the pad template before going into
1367 (gst_base_transform_transform_caps): More debugging.
1369 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
1372 2005-07-04 Edward Hervey <edward@fluendo.com>
1376 (gst_pad_add_*_probe): now returns the signal id for better wrapping
1379 2005-07-04 Andy Wingo <wingo@pobox.com>
1381 * check/gst/gstpad.c: Only set explicit caps on pads.
1383 2005-07-01 Andy Wingo <wingo@pobox.com>
1385 * tests/network-clock.scm: Commentary update.
1387 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
1388 Didn't really make sense, not implementable with basetransform,
1390 (gst_identity_transform): Unref inbuf via make_writable. Feeble
1391 attempt at implementing the sync property, needs an unlock method.
1393 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
1394 New func, by default returns the same caps (the identity
1396 (gst_base_transform_getcaps): Uses transform_caps to return
1398 (gst_base_transform_setcaps): Complicated logic to get caps on
1399 both pads, even if they are different, and to call set_caps once
1400 for every time both pads get their caps set.
1401 (gst_base_transform_handle_buffer): Give the ref to the transform
1402 function. Allows in-place modification of the buffer.
1404 * gst/base/gstbasetransform.h (transform_caps): New class method.
1405 Given caps on one side, what can I do on the other.
1406 (set_caps): Take two caps, one for each side of the element.
1409 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
1410 caps in place. This is safe because we can check the mutability of
1411 the caps, and a good idea because fixate functions are just called
1412 as a matter of last resort. (Not actually implemented.)
1413 (gst_pad_set_caps): If the caps we're setting is actually the same
1414 as the existing pad caps, just update the pointer without calling
1415 setcaps. Assert that caps is either NULL or fixed, as per the
1418 * gst/gstghostpad.c: Update for fixate changes.
1420 2005-07-02 Andy Wingo <wingo@pobox.com>
1423 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
1424 two refcounts makes it immutable, which is enough. Doc more.
1426 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
1428 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
1429 Put the mini_object into GValue as a mini_object,
1430 not a gpointer, since that's how we declared
1433 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1435 * examples/pwg/Makefile.am:
1438 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1440 * docs/pwg/building-testapp.xml:
1442 * examples/pwg/Makefile.am:
1445 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1448 * examples/Makefile.am:
1449 * examples/pwg/Makefile.am:
1450 * examples/pwg/extract.pl:
1451 Enable building the PWG examples.
1452 * docs/pwg/advanced-interfaces.xml:
1453 Add URI interface stub.
1454 * docs/pwg/advanced-types.xml:
1455 * docs/pwg/other-autoplugger.xml:
1456 * docs/pwg/appendix-porting.xml:
1458 Add porting guide (mostly stubs), remove autoplugging (see ADM).
1459 * docs/pwg/building-boiler.xml:
1460 * docs/pwg/building-chainfn.xml:
1461 * docs/pwg/building-pads.xml:
1462 * docs/pwg/building-props.xml:
1463 * docs/pwg/building-state.xml:
1464 * docs/pwg/building-testapp.xml:
1465 Update the building-*.xml parts for 0.9 changes. All examples
1466 code blocks compile in examples/pwg/*.
1468 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1470 * docs/manual/advanced-autoplugging.xml:
1471 * docs/manual/appendix-checklist.xml:
1472 * docs/manual/appendix-integration.xml:
1473 * docs/manual/highlevel-components.xml:
1474 Fix playbin/decodebin examples, update docs a bit, mention bus
1475 instead of signals in various places, mention kmplayer and
1476 kaffeine since they have a working GStreamer backend in the KDE
1479 2005-06-30 Wim Taymans <wim@fluendo.com>
1482 * docs/design/draft-ghostpads.txt:
1483 * docs/design/draft-push-pull.txt:
1484 * docs/design/draft-query.txt:
1485 * docs/design/part-TODO.txt:
1486 * docs/design/part-query.txt:
1487 Added CHANGES-0.9 doc, updated status of other docs.
1492 2005-06-30 Wim Taymans <wim@fluendo.com>
1494 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1495 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
1496 (gst_base_sink_change_state):
1497 * gst/base/gstbasesink.h:
1498 Some tweaks, only EOS and a buffer complete a preroll.
1500 2005-06-30 Andy Wingo <wingo@pobox.com>
1502 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
1503 activate_push down to the internal pad as well.
1505 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
1507 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1509 * gst/gsttaginterface.c:
1510 Some documentation fixes (#307394 and #307397).
1512 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
1514 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1516 * gst/gstvalue.c: (gst_value_intersect_list):
1517 Fix memleak (#309125).
1519 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1521 * docs/manual/advanced-dataaccess.xml:
1522 Fix fakesrc example to compile; doesn't work, bug somewhere...?
1523 * docs/manual/basics-pads.xml:
1524 Add reference for filtered caps to above chapter.
1526 2005-06-30 Wim Taymans <wim@fluendo.com>
1528 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
1529 (gst_bin_change_state):
1531 Lame attempt at making the state change function a bit
1534 2005-06-30 Wim Taymans <wim@fluendo.com>
1536 * docs/design/part-clocks.txt:
1537 * docs/design/part-element-sink.txt:
1538 * docs/design/part-events.txt:
1539 * docs/design/part-preroll.txt:
1540 * docs/design/part-states.txt:
1541 Some more tweeks and additions to the docs.
1543 2005-06-30 Wim Taymans <wim@fluendo.com>
1545 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
1546 (default_have_data), (gst_pad_class_init), (gst_pad_init),
1547 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
1548 (gst_pad_check_pull_range), (gst_pad_get_range),
1549 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
1551 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
1552 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1553 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1554 (gst_pad_remove_buffer_probe):
1555 Removed atomic operations, use existing LOCK.
1556 Move exception handling out of main code path.
1558 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1560 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
1561 (silly_return_true_function), (gst_pad_class_init),
1562 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
1563 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
1564 (gst_pad_send_event):
1565 Fix accumulator, add default value by using _emitv() instead
1566 of _emit() for signal emission.
1568 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1570 * docs/manual/advanced-dataaccess.xml:
1571 * examples/manual/Makefile.am:
1573 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
1576 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
1578 * gst/elements/gstfilesink.c: (gst_filesink_render):
1579 Simplify code so that we don't have to handle short
1580 writes and return GST_FLOW_ERROR if an error occured.
1582 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1584 * docs/gst/gstreamer-docs.sgml:
1587 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1589 * docs/gst/gstreamer-sections.txt:
1590 * docs/gst/tmpl/gstpad.sgml:
1591 * docs/gst/tmpl/gstprobe.sgml:
1593 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
1594 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
1595 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
1596 (gst_pad_push_event), (gst_pad_send_event):
1598 * gst/gstutils.c: (gst_pad_add_data_probe),
1599 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1600 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1601 (gst_pad_remove_buffer_probe):
1603 Remove old probes, add new g-signal-based probes and some utility
1606 2005-06-29 Edward Hervey <edward@fluendo.com>
1608 * gst/gstelementfactory.c:
1611 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
1612 the definition to the header file.
1614 2005-06-29 Andy Wingo <wingo@pobox.com>
1616 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
1617 plugins from the source directory.
1619 2005-06-29 Wim Taymans <wim@fluendo.com>
1621 * docs/gst/tmpl/gstbuffer.sgml:
1622 * docs/gst/tmpl/gstclock.sgml:
1623 Some fixings for blantently wrong text.
1625 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
1627 * check/Makefile.am:
1628 * gst/gst.c: (add_path_func), (init_pre):
1629 * gst/gstregistry.c: (gst_registry_add_path):
1630 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
1631 only scan the GST_PLUGIN_PATH locations, and not add
1634 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
1636 * docs/gst/gstreamer-sections.txt:
1637 * docs/gst/tmpl/gstbasesrc.sgml:
1644 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1646 * docs/manual/advanced-autoplugging.xml:
1647 Fix autoplugging example.
1649 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1651 * docs/manual/advanced-autoplugging.xml:
1652 * docs/manual/mime-world.fig:
1653 Try to get autoplugging working, fix type detection. Fix text
1654 in hello-world image.
1656 2005-06-29 Wim Taymans <wim@fluendo.com>
1658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1659 (gst_base_sink_change_state):
1663 map SIGNAL and BROADCAST to the right function.
1666 Remove redundant braces.
1668 * gst/gstpad.c: (gst_pad_set_caps):
1669 Don't call setcaps function when reseting caps to NULL.
1671 * gst/gstsystemclock.c: (gst_system_clock_dispose),
1672 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
1673 (gst_system_clock_id_unschedule):
1674 Use BROADCAST as this is what we do.
1676 2005-06-29 Wim Taymans <wim@fluendo.com>
1678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1679 We are actually prerolling before commiting the state
1682 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1684 * docs/manual/advanced-clocks.xml:
1685 * docs/manual/advanced-interfaces.xml:
1686 * docs/manual/advanced-metadata.xml:
1687 * docs/manual/advanced-position.xml:
1688 * docs/manual/advanced-schedulers.xml:
1689 * docs/manual/advanced-threads.xml:
1690 * docs/manual/appendix-porting.xml:
1691 * docs/manual/basics-bins.xml:
1692 * docs/manual/basics-bus.xml:
1693 * docs/manual/basics-elements.xml:
1694 * docs/manual/basics-helloworld.xml:
1695 * docs/manual/basics-pads.xml:
1696 * docs/manual/highlevel-components.xml:
1697 * docs/manual/manual.xml:
1698 * docs/manual/thread.fig:
1699 Update (until threads/scheduling) Application Development Manual;
1700 remove GstThread, add GstBus, add simple porting checklist, add
1701 documentation for tag writing, clocks, make all examples until this
1702 part compile and run.
1703 * examples/manual/Makefile.am:
1704 Update from changes to Application Development Manual; add bus
1705 example, remove thread example.
1707 2005-06-28 Wim Taymans <wim@fluendo.com>
1709 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
1710 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
1711 (gst_bus_source_dispatch):
1712 Add debugging messages.
1713 Make internal methods static.
1714 Handle the case where the bus is flushed in the handler.
1716 * gst/gstelement.c: (gst_element_get_bus):
1717 Fix refcount in _get_bus();
1719 * gst/gstpipeline.c: (gst_pipeline_change_state),
1720 (gst_pipeline_get_clock_func):
1721 Clock refcounting fixes.
1722 Handle the case where preroll timed out more gracefully.
1724 * gst/gstsystemclock.c: (gst_system_clock_dispose):
1725 Clean up the internal thread in dispose. This is needed
1726 for subclasses that actually get disposed.
1728 * gst/schedulers/threadscheduler.c:
1729 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
1730 (gst_thread_scheduler_dispose):
1731 Free thread pool in dispose.
1733 2005-06-28 Andy Wingo <wingo@pobox.com>
1735 * tests/network-clock-utils.scm (debug, print-event): New utils.
1737 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
1738 (*packet-loss*): Unified loss probability.
1739 (network-time): Report out-of-band events.
1741 * tests/plot-data: Add support for out-of-band events. Hack it
1742 into this script instead of passing it down the pipe; should fix
1745 2005-06-28 Wim Taymans <wim@fluendo.com>
1747 * docs/gst/gstreamer.types:
1748 * docs/gst/tmpl/gstbasesrc.sgml:
1749 * docs/gst/tmpl/gstpad.sgml:
1752 2005-06-28 Wim Taymans <wim@fluendo.com>
1754 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
1755 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
1756 (gst_proxy_pad_do_fixatecaps):
1757 Correctly proxy the check_pull_range function.
1759 2005-06-28 Andy Wingo <wingo@pobox.com>
1761 * tests/network-clock.scm: Removed need for slib.
1763 2005-06-28 Wim Taymans <wim@fluendo.com>
1765 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
1766 (gst_basesink_preroll_queue_flush):
1767 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
1768 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
1769 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
1770 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1771 (gst_proxy_pad_set_property):
1774 * gst/gstqueue.c: (gst_queue_init):
1775 The deprecated pad loop function is removed now.
1777 2005-06-28 Andy Wingo <wingo@pobox.com>
1779 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
1780 New parameters, simulate network packet loss.
1782 * tests/network-clock-utils.scm: Initialize the RNG.
1784 2005-06-28 Wim Taymans <wim@fluendo.com>
1786 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
1787 (gst_basesink_event), (gst_basesink_deactivate):
1788 Flushing the preroll queue always needs to unlock the waiters.
1790 2005-06-28 Edward Hervey <edward@fluendo.com>
1792 * gst/gstpipeline.c: (gst_pipeline_send_event):
1793 Wheen a seek was successful on a pipeline, set the stream_time to the
1794 seek offset in order to have a synchronized stream_time.
1796 2005-06-28 Wim Taymans <wim@fluendo.com>
1798 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
1799 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
1800 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
1801 (gst_proxy_pad_do_fixatecaps):
1802 Call wrapper function instead of just calling the function
1803 pointers. This takes care of any locking and whatmore.
1805 2005-06-28 Wim Taymans <wim@fluendo.com>
1807 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
1808 (gst_pad_pull_range):
1810 CONNECTED -> LINKED.
1812 2005-06-28 Andy Wingo <wingo@pobox.com>
1814 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
1815 source-munging commit!!!
1817 * gst/gstobject.c (gst_object_unref, gst_object_ref)
1818 (gst_object_sink): Take gpointer arguments, not GstObject --
1819 avoids casts. Like GLib.
1821 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
1824 2005-06-27 Andy Wingo <wingo@pobox.com>
1826 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
1829 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
1830 returns a sorted copy of the trace list.
1831 (gst_alloc_trace_print_live): New API, only prints traces with
1832 live objects. Sort the list.
1833 (gst_alloc_trace_print_all): Sort the list.
1834 (gst_alloc_trace_print): Align columns.
1836 * gst/elements/gstttypefindelement.c:
1837 * gst/elements/gsttee.c:
1838 * gst/base/gstbasesrc.c:
1839 * gst/base/gstbasesink.c:
1840 * gst/base/gstbasetransform.c:
1841 * gst/gstqueue.c: Adapt for pad activation changes.
1843 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
1845 (gst_pipeline_dispose): Drop ref on sched.
1847 * gst/gstpad.c (gst_pad_init): Set the default activate func.
1848 (gst_pad_activate_default): Push mode by default.
1849 (pre_activate_switch, post_activate_switch): New stubs, things to
1850 do before and after switching activation modes on pads.
1851 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
1852 the pad's activate function to choose which mode to activate.
1853 Shortcut on deactivation and call the right function directly.
1854 (gst_pad_activate_pull): New API, (de)activates a pad in pull
1856 (gst_pad_activate_push): New API, same for push mode.
1857 (gst_pad_set_activate_function)
1858 (gst_pad_set_activatepull_function)
1859 (gst_pad_set_activatepush_function): Setters for new API.
1861 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
1862 Trace all miniobjects.
1863 (gst_mini_object_make_writable): Unref the arg if we copy, like
1864 gst_caps_make_writable.
1866 * gst/gstmessage.c (_gst_message_initialize): No trace init.
1868 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
1869 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
1870 Adapt for new pad API.
1872 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
1875 * gst/gstelement.c (gst_element_iterate_src_pads)
1876 (gst_element_iterate_sink_pads): New API functions.
1878 * gst/gstelement.c (iterator_fold_with_resync): New utility,
1879 should fold into gstiterator.c in some form.
1880 (gst_element_pads_activate): Simplified via use of fold and
1881 delegation of decisions to gstpad->activate.
1883 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
1886 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
1887 class once in init, like gstmessage. Didn't run into this issue
1888 but it seems correct. Don't initialize a trace, gstminiobject does
1891 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
1892 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
1894 (assert_live_count): New util function, uses alloc traces to check
1897 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
1898 To be modified when unlink drops the internal pad.
1900 2005-06-27 Wim Taymans <wim@fluendo.com>
1902 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
1903 (gst_bin_change_state):
1904 Cleanup the get_state() function a little, make sure it
1905 iterates the same set of elements.
1906 Added stub iterate_state_order().
1908 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
1910 * docs/gst/gstreamer-docs.sgml:
1911 * docs/gst/gstreamer-sections.txt:
1912 * docs/gst/gstreamer.types:
1913 * docs/gst/tmpl/gstbasesink.sgml:
1914 * docs/gst/tmpl/gstbasesrc.sgml:
1915 * docs/gst/tmpl/gstbasetransform.sgml:
1916 * docs/gst/tmpl/gstelement.sgml:
1917 * docs/gst/tmpl/gstiterator.sgml:
1918 * gst/base/gstbasesrc.c:
1919 * gst/base/gstbasesrc.h:
1920 * gst/base/gstbasetransform.h:
1922 * gst/gstiterator.h:
1923 adding basetransform and iterator docs
1925 2005-06-27 Andy Wingo <wingo@pobox.com>
1927 * docs/design/part-activation.txt: Notes on how activation should
1928 work -- not quite implemented yet.
1930 2005-06-25 Wim Taymans <wim@fluendo.com>
1932 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
1933 At least get the chain function correct, needs more
1936 2005-06-25 Wim Taymans <wim@fluendo.com>
1938 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
1939 (gst_basesink_handle_object), (gst_basesink_event),
1940 (gst_basesink_do_sync), (gst_basesink_handle_event),
1941 (gst_basesink_change_state):
1943 Right, two problems here: ghostpads don't take locks and
1944 glib _rec_mutex_lock_full() with depth==0 still locks.
1945 Catch illegal locking and g_warn them.
1947 2005-06-25 Wim Taymans <wim@fluendo.com>
1949 * check/states/sinks.c: (START_TEST), (gst_object_suite):
1950 Have to check for completion now...
1952 2005-06-25 Wim Taymans <wim@fluendo.com>
1954 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
1955 (gst_basesink_handle_object), (gst_basesink_event),
1956 (gst_basesink_do_sync), (gst_basesink_handle_event),
1957 (gst_basesink_change_state):
1959 Unlock STREAM_LOCK whatever the recursion was.
1961 2005-06-25 Wim Taymans <wim@fluendo.com>
1963 * gst/base/gstbasesink.c: (gst_basesink_set_property),
1964 (gst_basesink_preroll_queue_empty),
1965 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
1966 (gst_basesink_event), (gst_basesink_do_sync),
1967 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
1968 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
1969 (gst_basesink_change_state):
1970 Reworked the base sink, handle event and buffer serialisation
1971 correctly and removed possible deadlock.
1972 Handle EOS correctly.
1974 2005-06-25 Wim Taymans <wim@fluendo.com>
1976 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
1977 (gst_pipeline_change_state):
1978 * tools/gst-launch.c: (check_intr), (event_loop), (main):
1979 Allow elements to post EOS in the state change function.
1980 Fix up -launch, make it exit the poll loop when the
1981 pipeline actually changed state.
1982 Fix up warning parsing in -launch.
1984 2005-06-25 Wim Taymans <wim@fluendo.com>
1986 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
1987 (gst_tee_sink_activate):
1988 Core takes STREAM_LOCK for us now.
1990 2005-06-25 Wim Taymans <wim@fluendo.com>
1992 * gst/gstelement.c: (gst_element_get_state_func),
1993 (gst_element_set_state):
1995 * gst/gstmessage.c: (gst_message_parse_error),
1996 (gst_message_parse_warning):
1997 Keep track of current target state while performing a state
1998 change so that subclasses can do something interesting.
1999 Fix parsing of warning/error messages when GError is NULL.
2001 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2003 * docs/gst/Makefile.am:
2004 * docs/gst/gstreamer-docs.sgml:
2005 * docs/gst/gstreamer-sections.txt:
2006 * docs/gst/gstreamer.types:
2007 * docs/gst/tmpl/gstbasesink.sgml:
2008 * docs/gst/tmpl/gstbasesrc.sgml:
2009 * docs/gst/tmpl/gstbin.sgml:
2010 * docs/gst/tmpl/gstcompat.sgml:
2011 * docs/gst/tmpl/gstfakesink.sgml:
2012 * docs/gst/tmpl/gstfakesrc.sgml:
2013 * docs/gst/tmpl/gstfilesink.sgml:
2014 * docs/gst/tmpl/gstfilesrc.sgml:
2015 * docs/gst/tmpl/gstindex.sgml:
2016 * docs/manual/appendix-quotes.xml:
2017 * gst/base/gstbasesrc.h:
2018 * gst/elements/gstfakesrc.h:
2020 start pulling in base classes and elements in our docs
2022 2005-06-24 Stefan Kost <ensonic@users.sf.net>
2024 * docs/gst/Makefile.am:
2025 * docs/libs/Makefile.am:
2026 fixed make distcheck with gtk-doc 1.3
2028 2005-06-23 Wim Taymans <wim@fluendo.com>
2030 * gst/gstelement.c: (gst_element_get_state_func),
2031 (gst_element_set_state), (gst_element_change_state):
2032 When the state did not change, also report NO_PREROLL
2035 2005-06-23 Wim Taymans <wim@fluendo.com>
2037 * gst/gstpad.c: (gst_pad_event_default):
2038 * gst/gstqueue.c: (gst_queue_loop):
2039 No unsafe task pausing please.
2041 2005-06-23 Wim Taymans <wim@fluendo.com>
2043 * gst/schedulers/threadscheduler.c:
2044 (gst_thread_scheduler_task_start),
2045 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
2046 Ref the task before pushing it on the threadpool. This
2047 makes sure that we have a ref when the threadfunction is
2050 2005-06-23 Andy Wingo <wingo@pobox.com>
2052 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
2053 offset is greater than the file's size.
2055 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
2056 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
2057 * gst/gstobject.c (gst_object_class_init): Make the class lock
2058 recursive. Wim won't let me drop deep_notify. Decodebin works
2061 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
2062 internal pad, and hacks accordingly. Doesn't do it on the target
2063 pad because we change its caps. Probably catches all cases of
2065 (gst_ghost_pad_set_property): Connect to notify::caps as
2068 * tests/network-clock.scm (plot-simulation): Pipe data to the
2069 elite python skript.
2071 * tests/network-clock-utils.scm (define-parameter): New macro,
2072 defines a parameter that can be set via the command line.
2073 (set-parameter!, parse-parameter-arguments): Command line args
2076 * tests/plot-data: Simple matplotlib-based plotter, takes input on
2079 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
2081 * gst/elements/gsttypefindelement.c:
2082 (gst_type_find_element_handle_event):
2083 Don't restart typefinding on a discont.
2084 * gst/gstelement.c: (gst_element_set_state):
2086 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
2087 Allow changing mode of an active pad.
2089 * gst/registries/gstlibxmlregistry.c: (load_feature):
2090 Don't cast a static pad template to a normal pad template.
2092 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2094 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2095 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2096 remove gst_strtoll completely, since it didn't actually do
2097 anything more than what g_ascii_strtoull already does.
2098 check for range errors when deserializing
2099 do a cast for the unsigned cases; but further fixing needs
2100 a decision on what the interpretation of "(int)" and
2101 deserialization should be for values that fall outside the
2102 type's boundaries (ie, refuse, or interpret as casting)
2104 2005-06-23 Wim Taymans <wim@fluendo.com>
2106 * check/Makefile.am:
2107 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
2108 * docs/design/part-live-source.txt:
2109 * docs/design/part-states.txt:
2110 * gst/base/gstbasesrc.c: (gst_basesrc_init),
2111 (gst_basesrc_set_live), (gst_basesrc_is_live),
2112 (gst_basesrc_get_range), (gst_basesrc_activate),
2113 (gst_basesrc_change_state):
2114 * gst/base/gstbasesrc.h:
2115 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
2116 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
2117 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
2118 * gst/gstelement.c: (gst_element_get_state_func),
2119 (gst_element_set_state):
2122 * tools/gst-launch.c: (event_loop), (main):
2123 Added support for live sources and other elements that
2125 Updated design docs, added live-source design doc.
2126 Implemented live source functionality in basesrc
2127 Fix error condition in _bin_get_state()
2128 Implement live source handling in -launch.
2129 Added check for live sources.
2130 Fixed case in GstBin where elements were changed state
2134 2005-06-23 Andy Wingo <wingo@pobox.com>
2136 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
2139 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
2140 gst_caps_replace takes care of this for us.
2142 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
2143 gst_pad_set_caps on the target, not just its setcaps() function.
2145 * tests/network-clock.scm:
2146 * tests/network-clock-utils.scm: A network clock simulator.
2147 Something of an algorithmic testbed before doing something in C.
2149 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2151 * check/Makefile.am:
2152 * check/gst/capslist.h:
2153 copy over from 0.8, and add two with bitmasks specified with
2155 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
2156 add test to parse everything from capslist.h
2157 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
2159 add test for structure deserialization
2160 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2161 add tests for deserialization of strings to int types
2162 * gst/gststructure.c: (gst_structure_nth_field_name):
2163 * gst/gststructure.h:
2164 add a way to get the name of a field referenced by index
2165 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2166 instead of checking if the resulting long long lies between
2167 min and max, we check if the long long would fit into
2168 a number of bytes for the final type.
2169 This fixes cases where a string represents 2^32 - 1, which
2170 when cast to int would be the (valid) -1, but is bigger than
2173 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2175 * gst/parse/grammar.y:
2176 add a log line for type deserialization
2178 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2180 * check/gst/gstvalue.c: (START_TEST):
2181 * gst/gstvalue.c: (gst_value_deserialize):
2182 return long long, not int, so gint64 deserialization actually
2183 works. Is there any flag that makes the compiler check this ?
2186 2005-06-22 Wim Taymans <wim@fluendo.com>
2189 Added convenience macros for setting buffers in GValue.
2191 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
2193 * check/gst/.cvsignore:
2194 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2195 add a test deserializing int64, and comment part out because
2198 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
2200 * check/Makefile.am:
2201 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
2202 * testsuite/Makefile.am:
2203 * testsuite/caps/Makefile.am:
2204 * testsuite/caps/value_serialize.c:
2205 * testsuite/test_gst_init.c:
2206 move a value_serialize test over
2208 2005-06-20 Wim Taymans <wim@fluendo.com>
2213 * gst/gstvalue.c: (gst_value_compare_buffer),
2214 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
2215 (gst_value_compare_flags), (gst_value_serialize_flags),
2216 (gst_value_deserialize_flags), (_gst_value_initialize):
2217 Fix serialisation of buffers, they are not boxed types anymore
2219 2005-06-20 Wim Taymans <wim@fluendo.com>
2221 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
2222 Testcase to show error in buffer-on-caps serialisation.
2224 2005-06-20 Andy Wingo <wingo@pobox.com>
2226 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
2227 will be adding to later.
2229 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
2230 if its socks fill with rocks.
2231 (gst_system_clock_obtain): Set the name on object construction.
2232 Avoid double-checked locking.
2234 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
2236 * gst/gsturi.c: (gst_element_make_from_uri):
2237 Fix potential endless loop.
2239 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2241 * check/Makefile.am:
2243 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
2245 move over from testsuite dir and clean up
2248 * testsuite/Makefile.am:
2249 * testsuite/tags/.cvsignore:
2250 * testsuite/tags/Makefile.am:
2251 * testsuite/tags/merge.c:
2252 remove testsuite/tags
2254 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2256 * docs/gst/gstreamer-sections.txt:
2257 * docs/gst/tmpl/gstenumtypes.sgml:
2258 * win32/gstenumtypes.c:
2259 clean up documentation build a little
2261 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2264 add macros for checking refcounts on objects and caps
2265 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
2266 add some more unit tests
2267 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2268 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
2269 fix leaked refcounts (I hope :)) so unittest works
2273 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2275 * configure.ac: back to HEAD
2277 === release 0.9.1 ===
2279 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2285 2005-06-17 Andy Wingo <wingo@pobox.com>
2287 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
2288 assert; it's always possible that the pad gets deactivated in
2289 between the checks in gstpad.c and the implementation. Rely on
2290 finish_preroll() to return a FLUSHING or similar instead of on the
2293 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
2294 clock and post an EOS message if we come out of finish_preroll in
2297 2005-06-16 David Schleef <ds@schleef.org>
2299 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2300 (gst_capsfilter_set_property): Allow NULL as possible value
2301 for filter_caps property, indicating GST_CAPS_ANY.
2303 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2305 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
2307 * gst/schedulers/Makefile.am:
2309 * gstreamer.spec.in:
2312 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2314 * gstreamer.spec.in:
2317 2005-06-08 Andy Wingo <wingo@pobox.com>
2319 * gst/gstutils.c: RPAD fixes all around.
2320 (gst_element_link_pads): Refcounting fixes.
2322 * tools/gst-inspect.c:
2323 * tools/gst-xmlinspect.c:
2325 * gst/base/gsttypefindhelper.c:
2326 * gst/base/gstbasesink.c:
2327 * gst/gstqueue.c: RPAD fixes.
2329 * gst/gstghostpad.h:
2330 * gst/gstghostpad.c: New ghost pad implementation as full proxy
2331 pads. The tricky thing is they provide both source and sink
2332 interfaces, since they proxy the internal pad for the external
2333 pad, and vice versa. Implement with lower-level ProxyPad objects,
2334 with the interior proxy pad as a child of the exterior ghost pad.
2335 Should write a doc on this.
2337 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
2338 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
2341 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
2342 pads are real pads. No ghost pads in this file. Not documenting
2343 the myriad s/RPAD/PAD/ and REALIZE fixes.
2344 (gst_pad_class_init): Add properties for "direction" and
2345 "template". Both are construct-only, so they can't change during
2346 the life of the pad. Fixes properly deriving from GstPad.
2347 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
2348 derived objects, just set properties when creating the objects via
2350 (gst_pad_get_parent): Implement as a function, return NULL if the
2351 parent is not an element.
2352 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
2353 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
2355 * gst/gstobject.c (gst_object_class_init): Make name a construct
2356 property. Don't set it in the object init.
2358 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
2359 with UNKNOWN direction.
2360 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
2361 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
2362 (gst_element_remove_pad): Remove ghost-pad special cases.
2363 (gst_element_pads_activate): Remove rpad cruft.
2365 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
2366 catch the pad's-parent-not-an-element case.
2368 * gst/gst.h: Include gstghostpad.h.
2370 * gst/gst.c (init_post): No more real, ghost pads.
2372 * gst/Makefile.am: Add gstghostpad.[ch].
2374 * check/Makefile.am:
2375 * check/gst/gstbin.c:
2376 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
2377 into a bin creates ghost pads, and that the refcounts are right.
2378 Partly moved from gstbin.c.
2380 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2382 * check/gst-libs/.cvsignore:
2383 * check/gst/.cvsignore:
2384 * check/pipelines/.cvsignore:
2386 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
2387 (START_TEST), (cleanup_suite), (main):
2388 add some tests related to cleanup after running pipelines
2390 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2392 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
2393 add a testsuite for GstBuffer
2395 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2397 * gst/gstminiobject.h:
2398 add defines for accessing the refcount
2400 2005-06-03 Stefan Kost <ensonic@users.sf.net>
2402 * Makefile.am: added support for html unit test coverage reports
2404 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
2406 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2407 Free existing caps if the capsfilter changes. Add a FIXME about
2408 setting those caps on the pads.
2410 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
2411 Before adding a ghost pad to a parent bin, check that there isn't
2412 already one for the element on the bin. Prevents infinite recursion
2413 when using decodebin in parse pipelines. Andy says he'll rewrite the
2414 way this works anyway, so ignore the hack.
2416 2005-06-02 Andy Wingo <wingo@pobox.com>
2418 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
2419 file size, pass it on to the type find helper.
2421 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
2422 segment_start and segment_end properly according to the seek
2423 method. Segment_end is still a bit flaky because offset can be
2424 negative for CUR and END cases, but it takes -1 as an "unset"
2427 2005-06-02 Wim Taymans <wim@fluendo.com>
2429 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
2430 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
2431 (gst_basesink_activate):
2432 * gst/base/gstbasesink.h:
2433 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
2434 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
2435 (gst_pad_query), (gst_pad_start_task):
2437 * gst/gstqueue.c: (gst_queue_bufferalloc),
2438 (gst_queue_handle_sink_event), (gst_queue_chain):
2439 Bufferalloc: return GstFlowReturn to more accuratly report
2440 why allocation failed.
2442 2005-06-02 Wim Taymans <wim@fluendo.com>
2444 * gst/gstpipeline.c: (gst_pipeline_send_event):
2445 Take snapshot of state without blocking.
2447 2005-06-02 Wim Taymans <wim@fluendo.com>
2449 * docs/design/part-TODO.txt:
2450 * docs/design/part-caps.txt:
2451 * docs/design/part-clocks.txt:
2452 * docs/design/part-negotiation.txt:
2453 * docs/design/part-preroll.txt:
2456 2005-05-30 Wim Taymans <wim@fluendo.com>
2458 * gst/elements/gstidentity.c: (gst_identity_event),
2459 (gst_identity_transform), (gst_identity_get_property):
2460 Protect last_message property as it is accessed from
2463 2005-05-30 Wim Taymans <wim@fluendo.com>
2465 * gst/gstelement.c: (gst_element_init),
2466 (gst_element_pads_activate), (gst_element_change_state):
2467 Slicker pad activation code.
2469 2005-05-30 Wim Taymans <wim@fluendo.com>
2473 * gst/gstelementfactory.h:
2475 Move elementfactory methods to separate .h file.
2477 2005-05-30 Wim Taymans <wim@fluendo.com>
2479 * docs/design/part-overview.txt:
2480 * gst/gstsystemclock.h:
2481 Small typo fixes, doc updates.
2483 2005-05-30 Wim Taymans <wim@fluendo.com>
2485 * gst/gst.c: (gst_init_get_popt_table), (init_post),
2486 (init_popt_callback):
2487 Remove cpu-opt flag.
2489 2005-05-30 Wim Taymans <wim@fluendo.com>
2491 * gst/gstbuffer.c: (gst_subbuffer_finalize),
2492 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
2494 Avoid typechecking in places where not needed.
2495 Added accessor for malloc_data.
2497 2005-05-30 Wim Taymans <wim@fluendo.com>
2499 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
2500 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
2501 (gst_pad_configure_sink), (gst_pad_configure_src),
2502 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
2503 (gst_pad_start_task):
2504 Propagate errors from _set_caps() in configure_src/sink
2505 functions instead of returning TRUE.
2506 FLUSH events can travel up and downstream
2509 2005-05-30 Wim Taymans <wim@fluendo.com>
2511 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
2512 (gst_basesink_activate):
2513 Handle EOS in preroll.
2515 2005-05-30 Wim Taymans <wim@fluendo.com>
2517 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2518 (gst_queue_loop), (gst_queue_handle_src_event):
2519 Remove old pieces of code
2520 Flushing the queue in an upstream event is a very bad idea.
2522 2005-05-26 Andy Wingo <wingo@pobox.com>
2524 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
2525 gst_value_set_mini_object so as to add a ref on the object (which
2526 will be removed when the value is unset).
2528 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
2529 arg type in ::handoff.
2531 * gst/gstelement.c (gst_element_change_state): Also deactivate
2532 pads in READY->NULL, just in case the element didn't make it to
2533 PAUSED. Wingo tested, Wim approved.
2535 2005-05-26 Wim Taymans <wim@fluendo.com>
2537 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
2538 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
2539 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
2540 A flushing pad cannot be used to alloc_buffer from.
2542 2005-05-26 Wim Taymans <wim@fluendo.com>
2544 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2545 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
2546 (gst_bus_source_dispatch), (gst_bus_source_finalize),
2547 (gst_bus_create_watch), (gst_bus_add_watch_full):
2549 Implement a real GSource and use g_main_context_wakeup() to
2550 signal new messages instead of the socketpair.
2552 2005-05-25 Wim Taymans <wim@fluendo.com>
2554 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
2555 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
2556 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
2557 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
2558 (gst_pad_send_event), (gst_pad_start_task):
2559 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
2560 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2561 (gst_queue_sink_activate), (gst_queue_src_activate),
2562 (gst_queue_change_state):
2564 Fix state changes for non sinks. We now change sinks, then elements
2565 with unconnected srcpads, then the rest.
2566 More efficient queue unlocking in flush and state changes.
2567 Set the pad activate mode even if it does not have an activate
2570 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2572 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
2573 Don't go in pull mode for non-seekable sources.
2574 * gst/elements/gsttypefindelement.h:
2575 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
2576 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
2577 (free_entry), (stop_typefinding),
2578 (gst_type_find_element_handle_event), (find_peek),
2579 (gst_type_find_element_chain), (do_pull_typefind),
2580 (gst_type_find_element_change_state):
2581 Allow typefinding (w/o seeking) in push-mode, simplified version
2583 * gst/gstutils.c: (gst_buffer_join):
2585 gst_buffer_join() from 0.8.
2587 2005-05-25 Wim Taymans <wim@fluendo.com>
2589 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
2590 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
2591 (gst_pad_send_event), (gst_pad_start_task):
2592 Disable attempt at mode switching until it is figured out.
2594 2005-05-25 Wim Taymans <wim@fluendo.com>
2596 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
2597 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
2598 (gst_basesink_finish_preroll), (gst_basesink_chain),
2599 (gst_basesink_loop), (gst_basesink_activate),
2600 (gst_basesink_change_state):
2601 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
2602 (gst_basesrc_get_range), (gst_basesrc_loop),
2603 (gst_basesrc_activate):
2604 * gst/elements/gsttee.c: (gst_tee_sink_activate):
2605 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
2606 (gst_real_pad_init), (gst_real_pad_set_property),
2607 (gst_real_pad_get_property), (gst_pad_set_active),
2608 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
2609 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
2610 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
2611 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
2612 (gst_pad_event_default_dispatch), (gst_pad_event_default),
2613 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
2614 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
2615 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
2616 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
2617 (gst_pad_stop_task):
2619 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2620 (gst_queue_loop), (gst_queue_src_activate):
2621 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
2622 (gst_task_get_state):
2624 * gst/schedulers/threadscheduler.c:
2625 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
2626 Implement gst_pad_pause/start/stop_task(), take STREAM lock
2628 Remove ACTIVE pad flag, use FLUSHING everywhere
2629 Added _pad_chain(), _pad_get_range() to call chain/getrange
2631 Add locks around IS_FLUSHING when reading.
2632 Take STREAM lock in chain(), get_range() functions so plugins
2633 don't need to take it anymore.
2637 2005-05-25 Wim Taymans <wim@fluendo.com>
2639 * tools/gst-launch.c: (event_loop):
2640 Unref message after using its contents instead of
2643 2005-05-24 Wim Taymans <wim@fluendo.com>
2645 * docs/design/draft-ghostpads.txt:
2646 * docs/design/draft-push-pull.txt:
2647 * docs/design/draft-query.txt:
2648 * docs/design/part-overview.txt:
2649 Docs updates, added general overview doc.
2651 2005-05-21 David Schleef <ds@schleef.org>
2653 * docs/gst/tmpl/old/GstBin.sgml:
2654 * docs/gst/tmpl/old/GstBuffer.sgml:
2655 * docs/gst/tmpl/old/GstCaps.sgml:
2656 * docs/gst/tmpl/old/GstClock.sgml:
2657 * docs/gst/tmpl/old/GstCompat.sgml:
2658 * docs/gst/tmpl/old/GstData.sgml:
2659 * docs/gst/tmpl/old/GstElement.sgml:
2660 * docs/gst/tmpl/old/GstEvent.sgml:
2661 * docs/gst/tmpl/old/GstIndex.sgml:
2662 * docs/gst/tmpl/old/GstStructure.sgml:
2663 * docs/gst/tmpl/old/GstTag.sgml:
2664 * docs/gst/tmpl/old/cothreads.sgml:
2665 * docs/gst/tmpl/old/cothreads_compat.sgml:
2666 * docs/gst/tmpl/old/gettext.sgml:
2667 * docs/gst/tmpl/old/gobject2gtk.sgml:
2668 * docs/gst/tmpl/old/grammar.tab.sgml:
2669 * docs/gst/tmpl/old/gst-i18n-app.sgml:
2670 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
2671 * docs/gst/tmpl/old/gst_private.sgml:
2672 * docs/gst/tmpl/old/gstaggregator.sgml:
2673 * docs/gst/tmpl/old/gstarch.sgml:
2674 * docs/gst/tmpl/old/gstatomic_impl.sgml:
2675 * docs/gst/tmpl/old/gstbufferstore.sgml:
2676 * docs/gst/tmpl/old/gstdata_private.sgml:
2677 * docs/gst/tmpl/old/gstdisksink.sgml:
2678 * docs/gst/tmpl/old/gstdisksrc.sgml:
2679 * docs/gst/tmpl/old/gstelementfactory.sgml:
2680 * docs/gst/tmpl/old/gstextratypes.sgml:
2681 * docs/gst/tmpl/old/gstfakesink.sgml:
2682 * docs/gst/tmpl/old/gstfakesrc.sgml:
2683 * docs/gst/tmpl/old/gstfdsink.sgml:
2684 * docs/gst/tmpl/old/gstfdsrc.sgml:
2685 * docs/gst/tmpl/old/gstfilesink.sgml:
2686 * docs/gst/tmpl/old/gstfilesrc.sgml:
2687 * docs/gst/tmpl/old/gsthttpsrc.sgml:
2688 * docs/gst/tmpl/old/gstidentity.sgml:
2689 * docs/gst/tmpl/old/gstindexfactory.sgml:
2690 * docs/gst/tmpl/old/gstmarshal.sgml:
2691 * docs/gst/tmpl/old/gstmd5sink.sgml:
2692 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
2693 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
2694 * docs/gst/tmpl/old/gstpadtemplate.sgml:
2695 * docs/gst/tmpl/old/gstpipefilter.sgml:
2696 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
2697 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
2698 * docs/gst/tmpl/old/gstshaper.sgml:
2699 * docs/gst/tmpl/old/gstspider.sgml:
2700 * docs/gst/tmpl/old/gstspideridentity.sgml:
2701 * docs/gst/tmpl/old/gststatistics.sgml:
2702 * docs/gst/tmpl/old/gsttee.sgml:
2703 * docs/gst/tmpl/old/gsttimecache.sgml:
2704 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
2705 * docs/gst/tmpl/old/gstxmlregistry.sgml:
2706 * docs/gst/tmpl/old/gthread-cothreads.sgml:
2707 * docs/gst/tmpl/old/types.sgml:
2708 I didn't intend to add these or check them in.
2710 2005-05-19 David Schleef <ds@schleef.org>
2712 * configure.ac: Use -no-common everywhere. In a sane world, it
2713 would be the default in libtool, because without it, you can't
2714 build DLLs on Windows.
2715 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
2716 * docs/gst/gstreamer-sections.txt:
2717 * docs/gst/tmpl/gstcpu.sgml:
2718 * docs/gst/tmpl/gstdata.sgml:
2719 * docs/gst/tmpl/gstthread.sgml:
2721 2005-05-19 David Schleef <ds@schleef.org>
2723 * gst/gstminiobject.c: (gst_value_set_mini_object),
2724 (gst_value_take_mini_object), (gst_value_get_mini_object):
2725 * gst/gstminiobject.h: Add GValue set/get functions.
2727 2005-05-19 Wim Taymans <wim@fluendo.com>
2729 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
2730 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
2731 (gst_subbuffer_init), (gst_buffer_is_span_fast):
2733 * gst/gstbus.c: (gst_bus_post):
2734 * gst/gstelement.c: (gst_element_get_random_pad):
2735 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
2736 Make subbufer unref the parent in finalize.
2737 some more debugging info.
2740 2005-05-19 Wim Taymans <wim@fluendo.com>
2742 * gst/base/gstbasesink.c: (gst_basesink_class_init),
2743 (gst_basesink_init), (gst_basesink_finalize),
2744 (gst_basesink_activate), (gst_basesink_change_state):
2745 Don't free preroll queue too early.
2747 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2751 Hi, I'm outdated. Please shoot me.
2753 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2755 * gst/gstpipeline.c: (gst_pipeline_send_event):
2756 Do not access variables after they have been deleted.
2758 2005-05-19 Wim Taymans <wim@fluendo.com>
2760 * tools/gst-inspect.c: (print_plugin_features):
2761 A plugin feature does unfortunatly not use the
2764 2005-05-18 Wim Taymans <wim@fluendo.com>
2766 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
2767 Port _span() functions to new subbuffers.
2769 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2771 * gst/gstbin.c: (gst_bin_add_func):
2772 Fix clock settery in bins when adding kids after the clock has
2775 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2777 * gst/elements/gstidentity.c: (gst_identity_class_init):
2778 Workaround until signals support GstMiniObject.
2780 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2783 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
2785 2005-05-18 Wim Taymans <wim@fluendo.com>
2787 * gst/base/Makefile.am:
2788 * gst/base/gstadapter.c: (gst_adapter_base_init),
2789 (gst_adapter_class_init), (gst_adapter_init),
2790 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
2791 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
2792 (gst_adapter_flush), (gst_adapter_available),
2793 (gst_adapter_available_fast):
2794 * gst/base/gstadapter.h:
2795 Ported and added adapter to the base classes.
2797 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2801 Make sure the class is reffed/unreffed once before threads can be
2802 used. Fixes #304551.
2804 2005-05-17 Wim Taymans <wim@fluendo.com>
2806 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
2807 (gst_basesink_chain_unlocked), (gst_basesink_activate):
2808 * gst/gstminiobject.c: (gst_mini_object_get_type),
2809 (gst_mini_object_free):
2810 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
2811 (gst_pad_push), (gst_pad_push_event):
2812 * gst/gstqueue.c: (gst_queue_change_state):
2813 Don't queue buffers in basesink when we are flushing.
2814 Unref buffer when flushing in basesink.
2815 Flush queue when going to READY
2816 Unref buffer when _push() returns an error.
2817 Don't free MiniObject instance when refcount is incremented
2818 in _finalize() so that we can recover objects.
2820 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
2822 * docs/manual/advanced-schedulers.xml:
2823 * docs/manual/appendix-checklist.xml:
2824 * docs/pwg/advanced-clock.xml:
2825 * docs/pwg/advanced-interfaces.xml:
2826 * docs/pwg/advanced-request.xml:
2827 * docs/pwg/advanced-types.xml:
2828 * docs/pwg/intro-preface.xml:
2829 * examples/plugins/example.c: (gst_example_get_type),
2830 (gst_example_class_init), (gst_example_chain),
2831 (gst_example_set_property), (gst_example_get_property),
2832 (gst_example_change_state), (plugin_init):
2833 * examples/plugins/example.h:
2836 2005-05-17 Wim Taymans <wim@fluendo.com>
2838 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
2839 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
2840 * gst/gstqueue.c: (gst_queue_change_state):
2841 Clear queue when going to READY.
2842 Remove IN_SETCAPS flag too.
2844 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
2846 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
2847 Remove implicit cast from gboolean to GstElementStateReturn;
2848 make sure we still return failure in paused => ready case if
2849 the parent class fails to change state and our own stop
2852 2005-05-17 Wim Taymans <wim@fluendo.com>
2854 * tools/gst-launch.c: (event_loop):
2855 Message was unreffed too soon.
2857 2005-05-16 Andy Wingo <wingo@pobox.com>
2859 * gst/gstbin.c (sink_iterator_filter): Err... um...
2861 * check/gst/gstbin.c (test_ghost_pads): New test for the
2862 ghosting-if-elements-not-in-same-bin behavior.
2864 2005-05-16 David Schleef <ds@schleef.org>
2866 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
2867 accessing refcount directly.
2869 2005-05-15 David Schleef <ds@schleef.org>
2871 * check/Makefile.am: remove GstData checks
2872 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
2873 * gst/Makefile.am: add miniobject, remove data
2874 * gst/gst.h: add miniobject, remove data
2875 * gst/gstdata.c: remove
2876 * gst/gstdata.h: remove
2877 * gst/gstdata_private.h: remove
2878 * gst/gsttypes.h: remove GstEvent and GstMessage
2879 * gst/gstelement.c: (gst_element_post_message): fix for API changes
2880 * gst/gstmarshal.list: change BOXED -> OBJECT
2882 Implement GstMiniObject.
2883 * gst/gstminiobject.c:
2884 * gst/gstminiobject.h:
2886 Modify to be subclasses of GstMiniObject.
2887 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
2888 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
2889 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
2890 (gst_subbuffer_get_type), (gst_subbuffer_init),
2891 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
2894 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
2895 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
2896 (_gst_event_copy), (gst_event_new):
2898 * gst/gstmessage.c: (_gst_message_initialize),
2899 (gst_message_get_type), (gst_message_class_init),
2900 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
2901 (gst_message_new), (gst_message_new_error),
2902 (gst_message_new_warning), (gst_message_new_tag),
2903 (gst_message_new_state_changed), (gst_message_new_application):
2905 * gst/gstprobe.c: (gst_probe_perform),
2906 (gst_probe_dispatcher_dispatch):
2908 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
2909 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
2910 (_gst_query_copy), (gst_query_new):
2912 Update elements for GstData -> GstMiniObject changes
2914 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
2915 (gst_queue_chain), (gst_queue_loop):
2916 * gst/elements/gstbufferstore.c:
2917 (gst_buffer_store_add_buffer_func),
2918 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
2919 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
2920 (gst_fakesink_render):
2921 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
2922 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
2923 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
2924 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
2925 (gst_filesrc_create_read):
2926 * gst/elements/gstidentity.c: (gst_identity_class_init):
2927 * gst/elements/gsttypefindelement.c:
2928 (gst_type_find_element_src_event), (free_entry_buffers),
2929 (gst_type_find_element_handle_event):
2930 * libs/gst/dataprotocol/dataprotocol.c:
2931 (gst_dp_header_from_buffer):
2932 * libs/gst/dataprotocol/dataprotocol.h:
2933 * libs/gst/dataprotocol/dp-private.h:
2935 2005-05-15 David Schleef <ds@schleef.org>
2937 * gst/elements/gstelements.c: Don't include headers that were
2940 2005-05-15 David Schleef <ds@schleef.org>
2942 * gst/elements/Makefile.am: Remove some elements that don't
2943 need to be in the core (or even exist at all).
2944 * gst/elements/gstaggregator.c:
2945 * gst/elements/gstaggregator.h:
2946 * gst/elements/gstmd5sink.c:
2947 * gst/elements/gstmd5sink.h:
2948 * gst/elements/gstmultifilesrc.c:
2949 * gst/elements/gstmultifilesrc.h:
2950 * gst/elements/gstpipefilter.c:
2951 * gst/elements/gstpipefilter.h:
2952 * gst/elements/gstshaper.c:
2953 * gst/elements/gstshaper.h:
2954 * gst/elements/gststatistics.c:
2955 * gst/elements/gststatistics.h:
2956 * po/POTFILES.in: Remove above files.
2958 2005-05-14 Andy Wingo <wingo@pobox.com>
2960 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
2961 so as to get the refs right.
2962 (sink_iterator_filter): New function, wraps bin_element_is_sink,
2963 unreffing objects that don't pass the filter.
2965 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
2966 gst_element_set_bus.
2967 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
2968 normal cases, this will destroy the bus.
2970 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
2973 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
2976 2005-05-13 Andy Wingo <wingo@pobox.com>
2978 * gst/gstutils.c (gst_element_link_pads): Instead of calling
2979 gst_pad_link, call pad_link_maybe_ghosting,
2980 (pad_link_maybe_ghosting): Links pads, making sure that the
2981 elements being linked are in the same bin.
2982 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
2983 Helpers for pad_link_maybe_ghosting.
2985 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
2988 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
2990 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
2992 * docs/design/part-element-source.txt:
2995 2005-05-12 Wim Taymans <wim@fluendo.com>
2997 * gst/base/gstbasesink.c: (gst_basesink_init),
2998 (gst_basesink_activate):
2999 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
3000 (gst_basesrc_is_seekable):
3001 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3002 (bin_element_is_sink), (gst_bin_change_state):
3003 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
3005 Identify sinks by their flag to avoid overly complicated
3007 Do state changes even for elements not reachable from the
3009 BaseSink is a sink now :)
3010 Some more debugging info in the basesrc.
3013 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
3016 Implement _query on a bin, similar to _send_event.
3018 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
3020 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
3021 Discont event offset format should be GST_FORMAT_BYTES,
3022 not GST_FORMAT_TIME.
3024 2005-05-12 Wim Taymans <wim@fluendo.com>
3026 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
3027 Same fix as Ronald's but without the signal.
3029 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3031 * gst/gstutils.c: (gst_element_query_position):
3032 No, an element is not a pad.
3034 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3036 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
3037 (gst_bin_get_state):
3038 If a child is removed from a bin while we remove the child from
3039 the bin and while we're retrieving its state, signal this to the
3040 get_state function so we abort the wait (instead of waiting for
3041 a timeout) and can immediately re-iterate over all other elements.
3043 2005-05-12 Wim Taymans <wim@fluendo.com>
3045 * gst/base/Makefile.am:
3046 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
3047 (gst_basesrc_start):
3048 * gst/base/gstbasesrc.h:
3049 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
3050 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
3051 (gst_pushsrc_init), (gst_pushsrc_create):
3052 * gst/base/gstpushsrc.h:
3053 Added is_seekable to BaseSrc
3054 Added simple PushSrc.
3056 2005-05-11 Wim Taymans <wim@fluendo.com>
3058 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
3059 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3060 (gst_element_link_pads), (gst_element_query_position),
3061 (gst_element_query_convert), (intersect_caps_func),
3062 (gst_pad_query_position), (gst_pad_query_convert):
3063 Fix refcounting in utils function.
3064 No point in trying to activate a pad when it's added, it could
3065 be added from the state change function and then we deadlock, the
3066 element has to decide what to do.
3068 2005-05-10 Andy Wingo <wingo@pobox.com>
3070 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
3071 *all* the arguments.
3073 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
3074 stream lock if it's a FLUSH_DONE; normal flushes don't get the
3075 lock (according to the docs -- if this is wrong change the docs).
3077 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
3078 flush messages in the NULL state.
3080 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
3081 message immediately and return.
3082 (gst_bus_set_flushing): New function. If a bus is flushing, it
3083 flushes out any queued messages and immediately unrefs new
3084 messages. This is so when an element goes to NULL, all of the
3085 unhandled messages coming from it can be freed, and their
3086 references to the element dropped. In other words: message source
3087 ref considered harmful :P
3089 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
3090 we're finished with it.
3092 * gst/gstmessage.c (gst_message_new_state_changed):
3094 2005-05-10 Wim Taymans <wim@fluendo.com>
3096 * gst/gstvalue.c: (gst_value_compare_flags),
3097 (gst_value_serialize_flags), (gst_value_deserialize_flags),
3098 (_gst_value_initialize):
3099 Added flags serialize/deserialize/compare code.
3101 2005-05-09 Andy Wingo <wingo@pobox.com>
3103 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
3104 Intersect the peer's caps with our caps.
3106 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3108 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3109 * gst/elements/gsttypefindelement.c: (find_peek):
3110 Handle negative offsets better. Fixes decodebin.
3112 2005-05-09 Wim Taymans <wim@fluendo.com>
3114 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
3115 (gst_base_transform_event):
3116 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
3117 Implement accept_caps.
3118 Fix silly lock/unlock mismatch in base class.
3120 2005-05-09 Wim Taymans <wim@fluendo.com>
3122 * docs/design/draft-push-pull.txt:
3123 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
3124 * gst/elements/gstfilesink.c: (gst_filesink_init),
3125 (gst_filesink_query):
3126 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
3127 (gst_type_find_handle_src_query), (find_element_get_length):
3128 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
3132 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
3133 (gst_real_pad_get_caps_unlocked),
3134 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
3135 (gst_pad_event_default_dispatch), (gst_pad_event_default),
3136 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
3137 (gst_real_pad_dispose), (gst_real_pad_finalize),
3138 (gst_pad_load_and_link), (gst_pad_save_thyself),
3139 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
3140 (gst_pad_check_pull_range), (gst_pad_pull_range),
3141 (gst_pad_template_get_type), (gst_pad_template_class_init),
3142 (gst_pad_template_init), (gst_pad_template_dispose),
3143 (name_is_valid), (gst_static_pad_template_get),
3144 (gst_pad_template_new), (gst_static_pad_template_get_caps),
3145 (gst_pad_template_get_caps), (gst_pad_set_element_private),
3146 (gst_pad_get_element_private), (gst_pad_start_task),
3147 (gst_pad_pause_task), (gst_pad_stop_task),
3148 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
3149 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3150 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
3151 (gst_ghost_pad_new):
3153 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
3154 (gst_query_new_position), (gst_query_set_position),
3155 (gst_query_parse_position), (gst_query_new_convert),
3156 (gst_query_set_convert), (gst_query_parse_convert):
3158 * gst/gstqueryutils.c:
3159 * gst/gstqueryutils.h:
3160 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
3161 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
3162 (gst_queue_handle_src_query):
3163 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3164 (gst_element_query_position), (gst_element_query_convert),
3165 (intersect_caps_func), (gst_pad_query_position),
3166 (gst_pad_query_convert):
3168 * tools/gst-inspect.c: (print_pad_info):
3169 * tools/gst-xmlinspect.c: (print_element_info):
3170 Remove old query functions. Ported old code.
3171 Added position/convert helper functions to gstutils.
3172 Reordered gstpad.c code, grouping relevant things.
3173 Remove gst_message_new(), always need to speficy a specific
3177 2005-05-09 Andy Wingo <wingo@pobox.com>
3179 * gst/gstiterator.h: Add some includes.
3181 * gst/gstqueryutils.h: Include more headers.
3184 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
3185 some uses of gst_pad_query.
3187 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
3188 NULL out parameters.
3189 (gst_query_new_position): New proc, allocates a new position
3192 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
3193 gstqueryutils.c to the build.
3195 * gst/gststructure.c (gst_structure_set_valist): Implement with
3196 the generic G_VALUE_COLLECT.
3198 2005-05-08 Edward Hervey <bilboed@bilboed.com>
3200 * gst/Makefile.am: (gst_headers):
3201 Added gstqueryutils.h to the list of headers to install, that was
3202 a 'nachty' move wingo :)
3204 2005-05-06 Andy Wingo <wingo@pobox.com>
3207 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
3208 GstData, init a memchunk.
3209 (standard_definitions): Add a few query types, deprecate a few.
3210 (gst_query_get_type): New proc.
3211 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
3213 (gst_query_new_application, gst_query_get_structure): New public
3216 * docs/design/draft-query.txt: Removed LINKS from the query types,
3217 because all the rest can be dispatched to other pads -- seemed
3218 ugly to have a query that couldn't be dispatched. internal_links
3219 is fine as a pad method.
3221 * gst/gstpad.h: Add query2 as a pad method, add the new functions
3222 in gstpad.c, but maintain binary compatibility for the moment.
3223 Will fix before 0.9 is out.
3225 * gst/gstqueryutils.c:
3226 * gst/gstqueryutils.h: New files, implement 3 methods for each
3227 query type: parse_query, parse_response, and set. Probably need an
3230 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
3232 * gst/elements/gstfilesink.c (gst_filesink_query2):
3233 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
3234 query_types, and formats methods.
3236 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
3237 (gst_pad_set_query2_function): New functions.
3238 (gst_real_pad_init): Set query2_default as the default query2
3239 function. Basically just dispatches to internally linked pads.
3243 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
3244 without using the atomic operations. Only one thread can possibly
3245 be accessing the data at this point. Changed so as to avoid
3246 gst_atomic operations.
3248 2005-05-06 Wim Taymans <wim@fluendo.com>
3250 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
3251 Also set caps if we use the fallback buffer alloc.
3253 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
3255 * docs/gst/Makefile.am:
3256 * docs/gst/gstreamer-docs.sgml:
3257 * docs/gst/gstreamer-sections.txt:
3258 * docs/gst/tmpl/gstatomic.sgml:
3259 * docs/gst/tmpl/gstmemchunk.sgml:
3260 * testsuite/elements/struct_i386.h:
3261 * win32/GStreamer.vcproj:
3263 Purge GstAtomic stuff from docs and win32 makefiles as well
3265 2005-05-06 Wim Taymans <wim@fluendo.com>
3267 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
3268 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
3269 * gst/gstpad.c: (gst_pad_peer_get_caps):
3270 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
3271 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
3272 (gst_queue_src_activate), (gst_queue_change_state):
3274 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3275 (intersect_caps_func):
3276 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
3277 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
3278 Some fixes for the peer_get_caps() change.
3280 2005-05-06 Wim Taymans <wim@fluendo.com>
3282 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3283 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
3284 (gst_basesink_activate):
3285 Actually do something with error codes returned from the push
3288 2005-05-06 Wim Taymans <wim@fluendo.com>
3290 * docs/design/part-element-sink.txt:
3291 * docs/design/part-element-source.txt:
3292 * gst/base/gstbasesink.c: (gst_basesink_class_init),
3293 (gst_basesink_event), (gst_basesink_activate):
3294 * gst/base/gstbasesink.h:
3295 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
3296 (gst_basesrc_activate):
3297 * gst/base/gstbasesrc.h:
3298 * gst/gstelement.c: (gst_element_pads_activate):
3299 Some more documentation.
3300 Fixed scheduling decision in _pads_activate().
3302 2005-05-05 Andy Wingo <wingo@pobox.com>
3304 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
3307 2005-05-05 Wim Taymans <wim@fluendo.com>
3309 * gst/base/Makefile.am:
3310 * gst/base/gstbasesink.h:
3311 * gst/base/gstbasesrc.c: (gst_basesrc_init),
3312 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
3313 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
3314 (gst_collectpads_class_init), (gst_collectpads_init),
3315 (gst_collectpads_finalize), (gst_collectpads_new),
3316 (gst_collectpads_set_function), (gst_collectpads_add_pad),
3317 (find_pad), (gst_collectpads_remove_pad),
3318 (gst_collectpads_is_active), (gst_collectpads_collect),
3319 (gst_collectpads_collect_range), (gst_collectpads_start),
3320 (gst_collectpads_stop), (gst_collectpads_peek),
3321 (gst_collectpads_pop), (gst_collectpads_available),
3322 (gst_collectpads_read), (gst_collectpads_flush),
3323 (gst_collectpads_chain):
3324 * gst/base/gstcollectpads.h:
3325 * gst/elements/Makefile.am:
3326 * gst/elements/gstelements.c:
3327 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
3328 (gst_fakesink_get_times), (gst_fakesink_event),
3329 (gst_fakesink_preroll), (gst_fakesink_render):
3330 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
3331 (gst_filesink_init), (gst_filesink_set_location),
3332 (gst_filesink_open_file), (gst_filesink_close_file),
3333 (gst_filesink_pad_query), (gst_filesink_event),
3334 (gst_filesink_render), (gst_filesink_change_state):
3335 * gst/elements/gstfilesink.h:
3336 Added object to help in making collect pad based elements.
3338 Make event function in sink baseclass return gboolean.
3340 2005-05-05 Wim Taymans <wim@fluendo.com>
3342 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
3343 (gst_bin_get_by_name):
3345 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
3346 (gst_clock_finalize):
3347 * gst/gstdata.c: (gst_data_replace):
3349 * gst/gstelement.c: (gst_element_request_pad),
3350 (gst_element_pads_activate):
3351 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3353 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3354 (gst_pad_set_checkgetrange_function),
3355 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
3356 (gst_pad_check_pull_range), (gst_pad_pull_range),
3357 (gst_static_pad_template_get_caps), (gst_pad_start_task),
3358 (gst_pad_pause_task), (gst_pad_stop_task):
3359 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3360 (gst_element_request_pad), (gst_pad_proxy_getcaps):
3361 Fix name lookup in GstBin.
3362 Added _data_replace() function and _buffer_replace()
3363 Use finalize method to clean up clock.
3364 Fix refcounting on request pads.
3365 Fix pad schedule mode error.
3366 Some more object refcounting debug info,
3369 2005-05-04 Andy Wingo <wingo@pobox.com>
3371 * check/Makefile.am:
3372 * docs/gst/tmpl/gstatomic.sgml:
3373 * docs/gst/tmpl/gstplugin.sgml:
3374 * gst/base/gstbasesink.c: (gst_basesink_activate):
3375 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
3376 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
3377 (gst_basesrc_query), (gst_basesrc_set_property),
3378 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
3379 (gst_basesrc_activate):
3380 * gst/base/gstbasesrc.h:
3381 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
3382 (gst_base_transform_src_activate):
3383 * gst/elements/gstelements.c:
3384 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3385 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
3386 * gst/elements/gsttee.c: (gst_tee_sink_activate):
3387 * gst/elements/gsttypefindelement.c: (find_element_get_length),
3388 (gst_type_find_element_checkgetrange),
3389 (gst_type_find_element_activate):
3390 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
3391 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
3392 (gst_caps_load_thyself):
3393 * gst/gstelement.c: (gst_element_pads_activate),
3394 (gst_element_save_thyself), (gst_element_restore_thyself):
3395 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
3396 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
3398 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
3399 (gst_xml_parse_file), (gst_xml_parse_memory),
3400 (gst_xml_get_element), (gst_xml_make_element):
3401 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3402 (_file_index_id_save_xml), (gst_file_index_commit):
3403 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
3404 (read_enum), (load_pad_template), (load_feature), (load_plugin),
3406 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
3407 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
3408 * tools/gst-complete.c: (main):
3409 * tools/gst-compprep.c: (main):
3410 * tools/gst-inspect.c: (print_element_properties_info):
3411 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3412 * tools/gst-xmlinspect.c: (print_element_properties):
3415 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3417 * gst/gstplugin.c: (gst_plugin_check_module),
3418 (gst_plugin_check_file), (gst_plugin_load_file):
3419 apply patch from #172526 to make register work on MacOSX
3421 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3423 * docs/gst/tmpl/gstconfig.sgml:
3424 * gst/gstconfig.h.in:
3425 move documentation for some symbols. Add doc for GST_PTR_FORMAT
3426 * testsuite/debug/printf_extension.c: (main):
3427 Do not use GST_PTR_FORMAT on pointers to types with
3428 sizeof < sizeof(gpointer). Fixes test on 64-bit
3429 * testsuite/elements/property.h:
3430 use correct printf format
3432 2005-05-02 Wim Taymans <wim@fluendo.com>
3434 * docs/design/draft-push-pull.txt:
3435 * docs/design/draft-query.txt:
3436 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
3437 (gst_basesrc_start):
3438 Added draft for new query API.
3439 Added draft for better selecting scheduling methods.
3440 Make basesrc ignore length if the subclass does not support
3443 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3446 possible fixes for automake-1.5 - _LIBADD is reserved
3448 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3450 * docs/faq/Makefile.am:
3451 * docs/manual/Makefile.am:
3453 * docs/pwg/Makefile.am:
3455 possible fixes for automake-1.5
3457 2005-04-28 Wim Taymans <wim@fluendo.com>
3459 * gst/base/gstbasesink.c: (gst_basesink_base_init),
3460 (gst_basesink_pad_getcaps), (gst_basesink_init),
3461 (gst_basesink_do_sync):
3462 * gst/gstclock.c: (gst_clock_entry_new):
3463 * gst/gstevent.c: (gst_event_discont_get_value):
3464 * gst/gstpipeline.c: (pipeline_bus_handler),
3465 (gst_pipeline_change_state):
3466 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3467 Better debugging of clocking info.
3468 Allow NULL values when getting discont values.
3470 2005-04-27 Wim Taymans <wim@fluendo.com>
3472 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
3473 * check/gst/gstpad.c: (gst_pad_suite):
3474 Increase timeout for checks.
3476 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3478 * check/Makefile.am:
3479 fix the broken rule for cleanup. Apparently this rule is
3480 only needed on FC2, so maybe this warrants further autotool
3483 2005-04-26 Wim Taymans <wim@fluendo.com>
3485 * gst/gsttrashstack.h:
3486 Ooohh. a nasty one! After having a failed pop() from the stack,
3487 it's possible that the stack is empty. In that case, don't
3488 follow the NULL pointer.
3490 2005-04-25 Wim Taymans <wim@fluendo.com>
3492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3493 (gst_pad_set_checkgetrange_function),
3494 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
3495 (gst_pad_check_pull_range), (gst_pad_pull_range),
3496 (gst_static_pad_template_get_caps), (gst_pad_start_task),
3497 (gst_pad_pause_task), (gst_pad_stop_task):
3498 * gst/gstplugin.c: (gst_plugin_load):
3500 Remove gst_library_load as it does more harm than good with
3501 the new g_module flags.
3502 Revert bogus caps template check in pad linking, pad caps
3503 are important when linking not the template, which is more
3504 general than the current caps.
3506 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3508 * gst/autoplug/.cvsignore:
3509 * gst/autoplug/Makefile.am:
3510 * gst/autoplug/gstsearchfuncs.c:
3511 * gst/autoplug/gstsearchfuncs.h:
3512 * gst/autoplug/gstspider.c:
3513 * gst/autoplug/gstspider.h:
3514 * gst/autoplug/gstspideridentity.c:
3515 * gst/autoplug/gstspideridentity.h:
3516 * gst/autoplug/spidertest.c:
3519 2005-04-25 Wim Taymans <wim@fluendo.com>
3521 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3522 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
3523 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
3524 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
3526 Added stubs for unimplemented functions.
3528 2005-04-24 David Schleef <ds@schleef.org>
3530 * gst/gstpad.h: Disable some unimplemented functions. Wim,
3533 2005-04-24 David Schleef <ds@schleef.org>
3535 Convert everything from GstAtomicInt to g_atomic_int_*, and
3540 * gst/gstatomic_impl.h:
3548 * gst/gstdata_private.h:
3555 * gst/gststructure.c:
3556 * gst/gststructure.h:
3557 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
3560 2005-04-24 David Schleef <ds@schleef.org>
3562 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
3563 make the regressions tests work. Remove some code that is no
3565 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
3566 Disable warning for pads without templates.
3568 2005-04-24 David Schleef <ds@schleef.org>
3570 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
3571 functions that handle filtered links.
3572 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
3574 * gst/gstutils.c: Fix/remove utility functions that handle
3577 * gst/gstvalue.c: Add serialization/deserialization of caps
3578 * gst/parse/grammar.y: Ignore filtered caps when linking. This
3579 requires fixing so that the filter caps notation creates
3580 a capsfilter element and sets the filter_caps property. I
3581 think everyone probably wants to keep the shorthand notation.
3582 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
3583 * docs/gst/tmpl/gstpad.sgml:
3585 * gst/elements/gstelements.c: Register capsfilter element.
3586 * gst/Makefile.am: fix spacing
3587 * docs/random/ds/0.9-suggested-changes: random
3589 2005-04-23 David Schleef <ds@schleef.org>
3591 * gst/elements/Makefile.am:
3592 * gst/elements/gstcapsfilter.c: New element that acts like an
3593 identity, but filters caps. Will eventually replace filtered
3594 caps in pad linking.
3595 * gst/gstutils.c: (gst_element_create_all_pads): New function
3596 to create all the ALWAYS pads that are registered with an
3597 element class. This functionality should eventually be
3598 merged in with GstElement initialization.
3600 * testsuite/trigger/README: part of trigger test code that should
3601 have been checked in a long time ago.
3603 2005-04-23 David Schleef <ds@schleef.org>
3605 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
3606 needed with new versions of libtool (nobody will confirm this),
3607 and hard to carry around.
3608 * gst/autoplug/Makefile.am:
3609 * gst/base/Makefile.am:
3610 * gst/elements/Makefile.am:
3611 * gst/indexers/Makefile.am:
3612 * gst/schedulers/Makefile.am:
3613 * libs/gst/bytestream/Makefile.am:
3614 * libs/gst/control/Makefile.am:
3615 * libs/gst/dataprotocol/Makefile.am:
3616 * libs/gst/getbits/Makefile.am:
3618 2005-04-21 Wim Taymans <wim@fluendo.com>
3620 * docs/design/draft-push-pull.txt:
3621 * docs/design/part-MT-refcounting.txt:
3622 * docs/design/part-TODO.txt:
3623 * docs/design/part-caps.txt:
3624 * docs/design/part-events.txt:
3625 * docs/design/part-gstbus.txt:
3626 * docs/design/part-gstpipeline.txt:
3627 * docs/design/part-messages.txt:
3628 * docs/design/part-push-pull.txt:
3629 * docs/design/part-query.txt:
3632 2005-04-21 Wim Taymans <wim@fluendo.com>
3634 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
3635 (gst_message_new), (gst_message_new_error),
3636 (gst_message_new_warning), (gst_message_new_tag),
3637 (gst_message_new_state_changed), (gst_message_new_application),
3638 (gst_message_get_structure):
3640 * gst/gststructure.c: (gst_structure_set_parent_refcount),
3641 (gst_structure_copy_conditional):
3642 Use parent refcount in GstMessage to ensure GstStructure
3644 Cleaned up headers a bit.
3647 2005-04-20 Wim Taymans <wim@fluendo.com>
3649 * gst/base/gstbasesink.c: (gst_basesink_base_init),
3650 (gst_basesink_pad_getcaps), (gst_basesink_init),
3651 (gst_basesink_chain_unlocked):
3652 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
3653 (gst_type_find_helper):
3654 * gst/elements/gsttypefindelement.c:
3655 (gst_type_find_element_have_type), (gst_type_find_element_init),
3656 (stop_typefinding), (gst_type_find_element_handle_event),
3657 (find_suggest), (gst_type_find_element_chain),
3658 (gst_type_find_element_checkgetrange),
3659 (gst_type_find_element_getrange), (do_typefind),
3660 (gst_type_find_element_activate):
3661 * gst/gstbuffer.c: (_gst_buffer_sub_free),
3662 (gst_buffer_default_free), (gst_buffer_default_copy),
3663 (gst_buffer_set_caps):
3664 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
3666 * gst/gstmessage.c: (gst_message_new),
3667 (gst_message_new_state_changed):
3668 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3669 (gst_pad_set_checkgetrange_function),
3670 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
3671 (gst_pad_set_caps), (gst_pad_check_pull_range),
3672 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
3674 * gst/gsttypefind.c: (gst_type_find_register):
3675 Make gst_caps_replace() work like other _replace() functions.
3676 Use _caps_replace() where possible.
3677 Make sure _message_new() initialises its field.
3678 Add gst_static_pad_template_get_caps()
3681 2005-04-18 Andy Wingo <wingo@pobox.com>
3683 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
3684 on the peer, not the pad. I think that was a typo. Pass an extra
3685 arg to see if random access is possible. Activate the pads as
3686 PULL_RANGE if possible.
3688 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
3690 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
3691 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
3694 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3696 * docs/faq/using.xml:
3697 Add note on gstreamer-properties (#154996).
3699 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3701 * docs/random/bbb/optional-properties:
3702 Some analysis on optional properties.
3704 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3706 * docs/gst/tmpl/gstelementfactory.sgml:
3708 * gst/gstelementfactory.c: (gst_element_factory_init),
3709 (gst_element_factory_cleanup), (gst_element_register),
3710 (__gst_element_factory_add_static_pad_template),
3711 (gst_element_factory_get_static_pad_templates),
3712 (gst_element_factory_can_src_caps),
3713 (gst_element_factory_can_sink_caps):
3714 * gst/registries/Makefile.am:
3715 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
3716 (gst_xml_registry_class_init), (gst_xml_registry_init),
3717 (gst_xml_registry_new), (gst_xml_registry_set_property),
3718 (gst_xml_registry_get_property), (get_time), (make_dir),
3719 (gst_xml_registry_get_perms_func),
3720 (plugin_times_older_than_recurse), (plugin_times_older_than),
3721 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
3722 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
3723 (add_to_char_array), (read_string), (read_uint), (read_enum),
3724 (load_pad_template), (load_feature), (load_plugin), (load_paths),
3725 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
3726 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
3727 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
3728 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
3729 (gst_xml_registry_rebuild):
3730 * gst/registries/gstlibxmlregistry.h:
3731 * tools/gst-compprep.c: (main):
3732 * tools/gst-inspect.c: (print_pad_templates_info):
3733 * tools/gst-xmlinspect.c: (print_element_info):
3734 Use libxml2 for registry parsing, use staticpadtemplates in
3735 elementfactories. Makes gst_init() +/- 10x faster.
3737 2005-04-12 Wim Taymans <wim@fluendo.com>
3739 * gst/base/Makefile.am:
3740 * gst/base/gstbasesink.c: (gst_basesink_base_init),
3741 (gst_basesink_pad_getcaps), (gst_basesink_init),
3742 (gst_basesink_event), (gst_basesink_change_state):
3743 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
3744 (gst_basesrc_init), (gst_basesrc_query),
3745 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
3746 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
3747 (gst_basesrc_check_get_range), (gst_basesrc_loop),
3748 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
3749 (gst_basesrc_stop), (gst_basesrc_activate),
3750 (gst_basesrc_change_state):
3751 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3752 (helper_find_suggest), (gst_type_find_helper):
3753 * gst/base/gsttypefindhelper.h:
3754 * gst/elements/Makefile.am:
3755 * gst/elements/gstelements.c:
3756 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
3757 (gst_fakesink_get_times), (gst_fakesink_event),
3758 (gst_fakesink_preroll), (gst_fakesink_render):
3759 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3760 (gst_fakesrc_init), (gst_fakesrc_event_handler),
3761 (gst_fakesrc_get_property), (gst_fakesrc_create),
3762 (gst_fakesrc_start), (gst_fakesrc_stop):
3763 * gst/elements/gstfakesrc.h:
3764 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
3765 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
3766 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
3767 (gst_filesrc_create_read), (gst_filesrc_create),
3768 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
3769 (gst_filesrc_start):
3770 * gst/elements/gsttypefindelement.c:
3771 (gst_type_find_element_have_type), (gst_type_find_element_init),
3772 (start_typefinding), (stop_typefinding), (push_buffer_store),
3773 (gst_type_find_element_handle_event),
3774 (gst_type_find_element_chain),
3775 (gst_type_find_element_checkgetrange),
3776 (gst_type_find_element_getrange), (do_typefind),
3777 (gst_type_find_element_activate),
3778 (gst_type_find_element_change_state):
3779 * gst/elements/gsttypefindelement.h:
3780 * gst/gstpipeline.c: (pipeline_bus_handler):
3781 Added typefind helper.
3782 Small preroll fix in the base sink.
3783 Disable typefind code in basesrc.
3784 Crude port of typefindelement.
3788 2005-04-11 Wim Taymans <wim@fluendo.com>
3790 * check/gst/gstbus.c: (gstbus_suite):
3791 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
3793 Fix up the timeout so that the test does not fail.
3795 2005-04-06 Wim Taymans <wim@fluendo.com>
3798 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
3799 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
3800 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
3801 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
3802 (gst_basesrc_check_get_range), (gst_basesrc_loop),
3803 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
3804 (gst_basesrc_stop), (gst_basesrc_activate),
3805 (gst_basesrc_change_state), (basesrc_find_peek),
3806 (basesrc_find_suggest), (gst_basesrc_type_find):
3807 * gst/base/gstbasesrc.h:
3808 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
3809 (gst_filesrc_class_init), (gst_filesrc_init),
3810 (gst_filesrc_finalize), (gst_filesrc_set_location),
3811 (gst_filesrc_set_property), (gst_filesrc_get_property),
3812 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
3813 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
3814 (gst_filesrc_create_read), (gst_filesrc_create),
3815 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
3816 * gst/elements/gstfilesrc.h:
3817 * gst/gstelement.c: (gst_element_get_state_func),
3818 (gst_element_lost_state), (gst_element_pads_activate):
3819 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3820 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
3821 (gst_pad_pull_range):
3823 More work on the generic source base class, implement seeking,
3825 Make filesrc extend the base source class.
3826 Added gst_pad_set_checkgetrange_function to GstPad.
3828 2005-04-06 Andy Wingo <wingo@pobox.com>
3830 * pkgconfig/gstreamer-base.pc.in:
3831 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
3833 * pkgconfig/Makefile.am:
3834 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
3836 2005-04-04 Wim Taymans <wim@fluendo.com>
3838 * gst/base/Makefile.am:
3840 * gst/base/gstbasesink.c: (gst_basesink_base_init),
3841 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
3842 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
3843 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
3844 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
3845 (gst_basesrc_base_init), (gst_basesrc_class_init),
3846 (gst_basesrc_init), (gst_basesrc_get_formats),
3847 (gst_basesrc_get_query_types), (gst_basesrc_query),
3848 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
3849 (gst_basesrc_set_property), (gst_basesrc_get_property),
3850 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
3851 (gst_basesrc_loop), (gst_basesrc_activate),
3852 (gst_basesrc_change_state):
3853 * gst/base/gstbasesrc.h:
3854 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
3855 (gst_fakesrc_class_init), (gst_fakesrc_init),
3856 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
3857 (gst_fakesrc_get_property), (gst_fakesrc_create):
3858 * gst/elements/gstfakesrc.h:
3859 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
3860 (gst_filesrc_open_file), (gst_filesrc_loop),
3861 (gst_filesrc_activate), (filesrc_find_peek),
3862 (gst_filesrc_type_find):
3863 Made base source class, make fakesrc extend it.
3864 Add comments to basesink class.
3865 Some filesrc cleanup.
3867 2005-03-31 David Schleef <ds@schleef.org>
3869 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
3870 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
3871 expected to link against libgstreamer.
3872 * gst/base/Makefile.am: link against libgstreamer
3873 * gst/elements/Makefile.am: same
3875 2005-03-31 Andy Wingo <wingo@pobox.com>
3877 * tests/instantiate/Makefile.am:
3878 * tests/instantiate/caps.c: Add test to test speed of caps copy
3881 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
3882 GMemChunk to be fair.
3884 * gst/gsttrashstack.h: Remove warning about using the fallback
3885 trash stack implementation, it's still faster than malloc.
3887 2005-03-30 Andy Wingo <wingo@pobox.com>
3889 * tests/complexity.c: Add a copyright.
3891 2005-03-31 Wim Taymans <wim@fluendo.com>
3893 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
3894 (gst_base_transform_class_init), (gst_base_transform_init),
3895 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3896 (gst_base_transform_get_property),
3897 (gst_base_transform_sink_activate),
3898 (gst_base_transform_src_activate),
3899 (gst_base_transform_change_state):
3900 * gst/base/gstbasetransform.h:
3901 * gst/elements/gstidentity.c: (gst_identity_class_init),
3902 (gst_identity_event), (gst_identity_check_perfect),
3903 (gst_identity_transform), (gst_identity_start),
3904 (gst_identity_stop):
3905 Added start/stop methods to transform base class so subclasses
3906 don't need to deal with state changes even.
3908 2005-03-31 Wim Taymans <wim@fluendo.com>
3910 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
3911 (gst_event_new_discontinuous), (gst_event_discont_get_value):
3913 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3914 (gst_pad_pull_range):
3915 Added rate to the discont event to prepare for variable speed
3916 and reverse playback.
3918 2005-03-29 David Schleef <ds@schleef.org>
3921 * testsuite/trigger/Makefile.am:
3922 * testsuite/trigger/trigger.c: A little example program to show
3923 how trigger-based elements can work.
3925 2005-03-29 Wim Taymans <wim@fluendo.com>
3927 * gst/base/Makefile.am:
3929 * gst/base/gstbasesink.c: (gst_basesink_get_type),
3930 (gst_basesink_base_init), (gst_basesink_class_init),
3931 (gst_basesink_pad_getcaps), (gst_basesink_init),
3932 (gst_basesink_activate), (gst_basesink_change_state):
3933 * gst/base/gstbasesink.h:
3934 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3935 (gst_base_transform_base_init), (gst_base_transform_finalize),
3936 (gst_base_transform_class_init), (gst_base_transform_init),
3937 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
3938 (gst_base_transform_event), (gst_base_transform_getrange),
3939 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
3940 (gst_base_transform_set_property),
3941 (gst_base_transform_get_property),
3942 (gst_base_transform_sink_activate),
3943 (gst_base_transform_src_activate),
3944 (gst_base_transform_change_state):
3945 * gst/base/gstbasetransform.h:
3946 * gst/elements/gstidentity.c: (gst_identity_finalize),
3947 (gst_identity_class_init), (gst_identity_init),
3948 (gst_identity_event), (gst_identity_check_perfect),
3949 (gst_identity_transform), (gst_identity_set_property),
3950 (gst_identity_get_property), (gst_identity_change_state):
3951 * gst/elements/gstidentity.h:
3952 * gst/gstelement.c: (gst_element_get_state_func),
3953 (gst_element_lost_state), (gst_element_pads_activate):
3954 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3955 (gst_pad_check_pull_range), (gst_pad_pull_range):
3957 Simplify pad activation.
3958 Added function to check if pull_range can be performed.
3959 Error out when pulling inactive or flushing pads.
3960 Removed const from refcounted types as it does not make sense.
3961 Simplify pad templates in basesink
3962 Added base class for simple 1-to-1 transforms.
3963 Make identity subclass the base transform.
3965 2005-03-29 Andy Wingo <wingo@pobox.com>
3967 * docs/libs/gstreamer-libs-overrides.txt:
3968 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
3969 really don't understand what's going on, but like whatever. I want
3972 * docs/gst/Makefile.am:
3973 * docs/libs/Makefile.am: Dist the overrides files.
3975 * check/Makefile.am (clean-local): Remove .libs directories.
3977 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
3978 elements to EXTRA_DIST, so po/ files are happy.
3980 * po/POTFILES.in: Er, remove it here.
3982 * po/POTFILES: Remove gstspider.c.
3984 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
3986 * docs/libs/gstreamer-libs-docs.sgml:
3987 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
3990 * tests/complexity.c (main): Set the length of the preroll queue
3991 on the sinks to prevent a lockup.
3993 * libs/gst/dataprotocol/Makefile.am:
3994 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
3995 the same as the one in check/gst-libs/gdp.c.
3997 * po/, docs/gst/: Commit automatic changes to docs and po files.
3999 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
4000 the versioned libgstbase.
4002 * check/Makefile.am: Depend on an unversioned gst-register, seems
4003 to make autoconf happier.
4005 * gst/base/Makefile.am: Make libgstbase a versioned lib.
4007 2005-03-28 Wim Taymans <wim@fluendo.com>
4010 * docs/design/part-gstelement.txt:
4011 * docs/design/part-negotiation.txt:
4012 * docs/design/part-preroll.txt:
4013 * docs/design/part-scheduling.txt:
4014 * docs/design/part-states.txt:
4016 * gst/base/Makefile.am:
4018 * gst/base/gstbasesink.c: (gst_basesink_get_template),
4019 (gst_basesink_base_init), (gst_basesink_class_init),
4020 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
4021 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
4022 (gst_basesink_set_pad_functions),
4023 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
4024 (gst_basesink_set_property), (gst_basesink_get_property),
4025 (gst_base_sink_get_template), (gst_base_sink_get_caps),
4026 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
4027 (gst_basesink_preroll_queue_push),
4028 (gst_basesink_preroll_queue_empty),
4029 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
4030 (gst_basesink_event), (gst_basesink_get_times),
4031 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
4032 (gst_basesink_chain_unlocked), (gst_basesink_chain),
4033 (gst_basesink_loop), (gst_basesink_activate),
4034 (gst_basesink_change_state):
4035 * gst/base/gstbasesink.h:
4036 * gst/elements/Makefile.am:
4037 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
4038 (gst_fakesink_class_init), (gst_fakesink_init),
4039 (gst_fakesink_set_property), (gst_fakesink_get_property),
4040 (gst_fakesink_get_times), (gst_fakesink_event),
4041 (gst_fakesink_preroll), (gst_fakesink_render),
4042 (gst_fakesink_change_state):
4043 * gst/elements/gstfakesink.h:
4044 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
4045 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
4046 * gst/gstelement.c: (gst_element_add_pad),
4047 (gst_element_get_state_func), (gst_element_abort_state),
4048 (gst_element_commit_state), (gst_element_lost_state),
4049 (gst_element_set_state), (gst_element_pads_activate):
4050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
4051 * gst/gstpipeline.c: (gst_pipeline_send_event),
4052 (gst_pipeline_change_state):
4053 Added state change code.
4055 Added sink base class, make fakesink extend the base class.
4056 Small cleanups in GstPipeline.
4058 2005-03-26 David Schleef <ds@schleef.org>
4060 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
4061 is broken and should be implemented in a different library.
4062 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
4063 * gst/gst.h: remove gstcpu.h
4064 * gst/gstcpu.c: remove
4065 * gst/gstcpu.h: remove
4066 * gst/Makefile.am.future: Remove this file. It's ancient.
4068 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
4071 (gst_bin_send_event):
4072 Add default event/set_manager handlers. The set_manager handler
4073 takes care that the manager is distributed over kids that were
4074 already in the bin before the manager was set. The event handler
4075 is a utility virtual function that sends the event over all sinks,
4076 so that gst_element_send_event (bin, event); has the expected
4078 * gst/gstpad.c: (gst_pad_event_default):
4079 Re-install default event handling for discontinuities, so that
4080 seeking works without requiring hacks in applications or extra
4082 * gst/gstpipeline.c: (gst_pipeline_class_init),
4083 (gst_pipeline_send_event):
4084 Half hack, half utility: set a pipeline to PAUSED for seek events,
4085 since that is the only way we can guarantee a/v sync. Means that
4086 you can do gst_element_seek (pipeline, method, pos); on a pipeline
4087 and it "just works".
4089 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4091 * gst/gstpipeline.c: (gst_pipeline_use_clock):
4092 Lock/unlock mismatch.
4094 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
4096 * docs/faq/gst-uninstalled:
4097 add gst-plugins-base
4098 * docs/gst/Makefile.am:
4099 don't error out until docs are fixed
4100 * docs/gst/gstreamer.types:
4103 2005-03-22 Wim Taymans <wim@fluendo.com>
4105 * check/Makefile.am:
4106 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
4107 * gst/gststructure.c: (gst_structure_set_valist),
4108 (gst_structure_copy_conditional):
4109 Activated more tests.
4111 Added G_TYPE_POINTER to GstStructure.
4114 2005-03-22 Wim Taymans <wim@fluendo.com>
4116 * docs/design/part-TODO.txt:
4117 * docs/design/part-events.txt:
4118 * docs/design/part-gstbin.txt:
4119 * docs/design/part-gstbus.txt:
4120 * docs/design/part-gstpipeline.txt:
4121 * docs/design/part-messages.txt:
4126 2005-03-21 Wim Taymans <wim@fluendo.com>
4128 * gst/gstbus.c: (gst_bus_post):
4129 Fix copy-and-paste error.
4131 2005-03-21 Wim Taymans <wim@fluendo.com>
4133 * check/Makefile.am:
4135 * gst/elements/Makefile.am:
4136 * gst/elements/gstelements.c:
4137 * gst/elements/gstfakesink.c: (gst_fakesink_init),
4138 (gst_fakesink_event), (gst_fakesink_chain):
4139 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4140 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
4141 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
4142 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
4143 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4144 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
4145 (gst_fakesrc_loop), (gst_fakesrc_activate),
4146 (gst_fakesrc_change_state):
4147 * gst/elements/gstfakesrc.h:
4148 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
4149 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
4150 (gst_filesrc_open_file), (gst_filesrc_loop),
4151 (gst_filesrc_activate), (gst_filesrc_change_state),
4152 (filesrc_find_peek), (filesrc_find_suggest),
4153 (gst_filesrc_type_find):
4154 * gst/elements/gstidentity.c: (gst_identity_finalize),
4155 (gst_identity_class_init), (gst_identity_init),
4156 (gst_identity_proxy_getcaps), (identity_queue_push),
4157 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
4158 (gst_identity_getrange), (gst_identity_chain),
4159 (gst_identity_sink_loop), (gst_identity_src_loop),
4160 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
4161 (gst_identity_set_property), (gst_identity_get_property),
4162 (gst_identity_change_state):
4163 * gst/elements/gstidentity.h:
4164 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4165 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
4166 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
4167 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
4168 (gst_tee_sink_activate):
4169 * gst/elements/gsttee.h:
4170 * gst/gst.c: (gst_register_core_elements), (init_post):
4172 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
4173 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
4174 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
4175 (gst_bin_change_state):
4177 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
4178 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
4179 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
4180 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
4181 (gst_bus_set_sync_handler), (gst_bus_create_watch),
4182 (bus_watch_callback), (bus_watch_destroy),
4183 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
4184 (poll_timeout), (gst_bus_poll):
4188 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
4189 (gst_element_post_message), (gst_element_message_full),
4190 (gst_element_get_state_func), (gst_element_get_state),
4191 (gst_element_abort_state), (gst_element_commit_state),
4192 (gst_element_lost_state), (gst_element_set_state),
4193 (gst_element_pads_activate), (gst_element_change_state),
4194 (gst_element_dispose), (gst_element_set_manager_func),
4195 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
4196 (gst_element_set_manager), (gst_element_get_manager),
4197 (gst_element_set_bus), (gst_element_get_bus),
4198 (gst_element_set_scheduler), (gst_element_get_scheduler):
4200 * gst/gstevent.c: (gst_event_new_segment_seek),
4201 (gst_event_new_flush):
4203 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
4204 (_gst_message_free), (gst_message_get_type), (gst_message_new),
4205 (gst_message_new_eos), (gst_message_new_error),
4206 (gst_message_new_warning), (gst_message_new_tag),
4207 (gst_message_new_state_changed), (gst_message_new_application),
4208 (gst_message_get_structure), (gst_message_parse_tag),
4209 (gst_message_parse_state_changed), (gst_message_parse_error),
4210 (gst_message_parse_warning):
4212 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
4213 (gst_real_pad_set_property), (gst_pad_set_active),
4214 (gst_pad_is_active), (gst_pad_set_blocked_async),
4215 (gst_pad_set_blocked), (gst_pad_is_blocked),
4216 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
4217 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
4218 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4219 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
4220 (gst_pad_link_filtered), (gst_pad_relink_filtered),
4221 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
4222 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
4223 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
4224 (gst_pad_set_caps), (gst_pad_configure_sink),
4225 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
4226 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
4227 (gst_real_pad_dispose), (gst_real_pad_finalize),
4228 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
4229 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4230 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
4232 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
4233 (pipeline_bus_handler), (gst_pipeline_change_state),
4234 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
4235 * gst/gstpipeline.h:
4237 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4238 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
4239 (gst_queue_link_src), (gst_queue_bufferalloc),
4240 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4241 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
4242 (gst_queue_loop), (gst_queue_handle_src_event),
4243 (gst_queue_handle_src_query), (gst_queue_src_activate),
4244 (gst_queue_change_state):
4246 * gst/gstscheduler.c: (gst_scheduler_init),
4247 (gst_scheduler_dispose), (gst_scheduler_create_task),
4248 (gst_scheduler_factory_create):
4249 * gst/gstscheduler.h:
4250 * gst/gststructure.c: (gst_structure_get_type),
4251 (gst_structure_copy_conditional):
4252 * gst/gststructure.h:
4253 * gst/gsttaginterface.h:
4254 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4255 (gst_task_init), (gst_task_dispose), (gst_task_create),
4256 (gst_task_get_state), (gst_task_start), (gst_task_stop),
4262 * gst/schedulers/Makefile.am:
4263 * gst/schedulers/cothreads_compat.h:
4264 * gst/schedulers/entryscheduler.c:
4265 * gst/schedulers/faircothreads.c:
4266 * gst/schedulers/faircothreads.h:
4267 * gst/schedulers/fairscheduler.c:
4268 * gst/schedulers/gstbasicscheduler.c:
4269 * gst/schedulers/gstoptimalscheduler.c:
4270 * gst/schedulers/gthread-cothreads.h:
4271 * gst/schedulers/threadscheduler.c:
4272 (gst_thread_scheduler_task_get_type),
4273 (gst_thread_scheduler_task_class_init),
4274 (gst_thread_scheduler_task_init),
4275 (gst_thread_scheduler_task_start),
4276 (gst_thread_scheduler_task_stop),
4277 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
4278 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4279 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
4280 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
4282 * libs/gst/Makefile.am:
4283 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
4284 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
4285 (gst_file_pad_parent_set):
4286 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4287 (gst_dp_event_from_packet):
4288 * tests/complexity.c: (main):
4289 * tests/mass_elements.c: (main):
4290 * testsuite/states/locked.c: (message_received), (main):
4291 * testsuite/states/parent.c: (main):
4292 * tools/gst-inspect.c: (print_element_flag_info),
4293 (print_implementation_info), (print_pad_info):
4294 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
4296 * tools/gst-md5sum.c: (event_loop), (main):
4297 * tools/gst-typefind.c: (main):
4298 * tools/gst-xmlinspect.c: (print_element_info):
4300 Added GstBus for mainloop integration.
4301 Added GstMessage for sending notifications on the bus.
4302 Added GstTask as an abstraction for pipeline entry points.
4305 Simplified GstQueue for multithreaded core.
4306 Made _link threadsafe, removed old capsnego.
4307 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
4308 Added pad blocking functions.
4309 Reworked scheduling functions in GstPad to prepare for
4310 scheduling updates soon.
4311 Moved events out of data stream.
4312 Simplified GstEvent types.
4313 Added return values to push/pull.
4314 Removed clocking from GstElement.
4315 Added prototypes for state change function for next merge.
4316 Removed iterate from bins and state change management.
4317 Fixed some elements, disabled others for now.
4318 Fixed -inspect and -launch.
4319 Added check for GstBus.
4321 2005-03-10 Wim Taymans <wim@fluendo.com>
4323 * docs/design/part-MT-refcounting.txt:
4324 * docs/design/part-clocks.txt:
4325 * docs/design/part-gstelement.txt:
4326 * docs/design/part-gstobject.txt:
4327 * docs/design/part-standards.txt:
4328 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4329 (gst_bin_remove_func), (gst_bin_remove):
4333 * testsuite/clock/clock1.c: (main):
4334 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
4336 * testsuite/dlopen/loadgst.c: (do_test):
4337 * testsuite/refcounting/bin.c: (add_remove_test1),
4338 (add_remove_test2), (main):
4339 * testsuite/refcounting/element.c: (main):
4340 * testsuite/refcounting/element_pad.c: (main):
4341 * testsuite/refcounting/pad.c: (main):
4342 * tools/gst-launch.c: (sigint_handler_sighandler):
4343 * tools/gst-typefind.c: (main):
4345 Added doc about clock.
4346 removed gst_bin_iterate_recurse_up(), marked methods
4348 Fix more testsuites.
4350 2005-03-09 Wim Taymans <wim@fluendo.com>
4352 * gst/gstpad.c: (gst_pad_get_direction),
4353 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
4354 (gst_pad_collect_valist):
4355 * testsuite/bins/interface.c: (main):
4356 * testsuite/caps/audioscale.c: (test_caps):
4357 * testsuite/caps/caps.c: (test1), (test2), (test3):
4358 * testsuite/caps/deserialize.c: (main):
4359 * testsuite/caps/enumcaps.c: (main):
4360 * testsuite/caps/filtercaps.c: (main):
4361 * testsuite/caps/intersect2.c: (main):
4362 * testsuite/caps/random.c: (main):
4363 * testsuite/caps/renegotiate.c: (my_fixate), (main):
4364 * testsuite/caps/sets.c: (check_caps):
4365 * testsuite/caps/simplify.c: (check_caps), (main):
4366 * testsuite/caps/subtract.c: (check_caps):
4367 Fix _pad_get_direction wrt ghostpads.
4370 2005-03-09 Wim Taymans <wim@fluendo.com>
4372 * check/Makefile.am:
4373 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
4374 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
4375 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
4376 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
4377 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
4378 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
4379 (gst_bin_remove), (gst_bin_iterate_recurse_up),
4380 (bin_element_is_sink), (gst_bin_iterate_sinks),
4381 (gst_bin_iterate_all_by_interface):
4383 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
4384 (gst_element_change_state), (gst_element_dispose),
4385 (gst_element_finalize), (gst_element_set_loop_function):
4387 * gst/gstiterator.c: (find_custom_fold_func):
4388 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
4389 (gst_pad_collectv), (gst_pad_collect_valist),
4390 (gst_pad_template_new):
4391 * gst/gstpipeline.c: (gst_pipeline_class_init),
4392 (gst_pipeline_dispose), (gst_pipeline_set_property),
4393 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
4394 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
4395 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
4397 * gst/schedulers/entryscheduler.c:
4398 * gst/schedulers/gstbasicscheduler.c:
4399 (gst_basic_scheduler_cothreaded_chain),
4400 (gst_basic_scheduler_chain_add_element):
4401 * testsuite/bins/interface.c: (main):
4403 Added GstSystemClock test.
4404 Implemented clock distribution code in GstBin.
4405 Implemented iterate sinks method for future use.
4406 Rearranged gstelement.h
4407 Fix GstIterator comparison bug.
4408 Moved some code to GstPipeline, mostly clocking related.
4410 2005-03-09 Wim Taymans <wim@fluendo.com>
4413 * gst/gst_private.h:
4414 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4415 (gst_bin_remove_func), (gst_bin_remove),
4416 (gst_bin_get_by_name_recurse_up):
4417 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
4418 (gst_clock_id_compare_func), (gst_clock_id_wait),
4419 (gst_clock_id_wait_async), (gst_clock_init),
4420 (gst_clock_adjust_unlocked), (gst_clock_get_time):
4422 * gst/gstinfo.c: (_gst_debug_init):
4424 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
4425 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
4427 Bump version number, we're now 0.9.0
4428 Add future debugging category.
4429 Fix NULL _unref() in _get_by_name_recurse_up
4433 2005-03-08 Wim Taymans <wim@fluendo.com>
4435 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
4436 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
4437 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4438 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
4439 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
4440 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
4441 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
4442 * gst/elements/gstidentity.c: (gst_identity_class_init):
4443 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
4444 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
4445 * gst/elements/gstshaper.c: (gst_shaper_class_init):
4446 * gst/elements/gststatistics.c: (gst_statistics_class_init):
4447 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
4449 * gst/gstelement.c: (gst_element_class_init),
4450 (gst_element_base_class_init), (gst_element_init),
4451 (gst_element_get_random_pad), (gst_element_wait_state_change),
4452 (gst_element_change_state), (gst_element_dispose),
4453 (gst_element_finalize), (gst_element_set_loop_function):
4455 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
4456 * gst/gstthread.c: (gst_thread_class_init),
4457 (gst_thread_release_children_locks), (gst_thread_change_state):
4458 * gst/schedulers/gstbasicscheduler.c:
4459 (gst_basic_scheduler_loopfunc_wrapper),
4460 (gst_basic_scheduler_chain_wrapper),
4461 (gst_basic_scheduler_src_wrapper),
4462 (gst_basic_scheduler_remove_element):
4463 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
4464 Remove threadsafe properties. Fix elements because GObject
4465 complains when installing a property before declaring a
4466 set/get_property handler.
4467 Rearrange gstelement.h file, use STATE macros for state locks.
4468 Free mutexes in the finalize method instead of dispose.
4470 2005-03-08 Wim Taymans <wim@fluendo.com>
4472 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
4473 * gst/gstthread.c: (gst_thread_release_children_locks):
4474 Added parentage check.
4475 Fix build og GstThread again.
4477 2005-03-08 Wim Taymans <wim@fluendo.com>
4479 * docs/design/part-MT-refcounting.txt:
4480 * docs/design/part-conventions.txt:
4481 * docs/design/part-gstobject.txt:
4482 * docs/design/part-relations.txt:
4483 * docs/design/part-standards.txt:
4484 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4485 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
4486 (gst_bin_get_by_name), (gst_bin_get_by_interface),
4487 (gst_bin_iterate_all_by_interface):
4490 * gst/gstelement.c: (gst_element_class_init),
4491 (gst_element_change_state), (gst_element_set_loop_function):
4493 * gst/gstiterator.c:
4494 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
4495 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
4496 (gst_object_dispatch_properties_changed), (gst_object_set_name),
4497 (gst_object_set_parent), (gst_object_unparent),
4498 (gst_object_check_uniqueness):
4500 Docs updates, clean up some headers.
4502 2005-03-07 Wim Taymans <wim@fluendo.com>
4505 * check/Makefile.am:
4506 * check/gst-libs/.cvsignore:
4507 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
4508 * check/gst/.cvsignore:
4509 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
4510 (START_TEST), (gstbus_suite), (main):
4511 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
4512 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
4513 (gst_data_suite), (main):
4514 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
4515 (add_fold_func), (gstiterator_suite), (main):
4516 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
4517 (thread_name_object), (thread_name_object_default),
4518 (gst_object_name_compare), (gst_object_suite), (main):
4519 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
4520 (gst_pad_suite), (main):
4521 * check/gstcheck.c: (gst_check_log_message_func),
4522 (gst_check_log_critical_func), (gst_check_init):
4524 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
4525 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
4528 2005-03-07 Wim Taymans <wim@fluendo.com>
4530 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4531 (gst_list_iterator_next), (gst_list_iterator_resync),
4532 (gst_list_iterator_free), (gst_iterator_new_list),
4533 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
4534 (gst_iterator_free), (gst_iterator_push), (filter_next),
4535 (filter_resync), (filter_uninit), (filter_free),
4536 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
4537 (gst_iterator_foreach), (find_custom_fold_func),
4538 (gst_iterator_find_custom):
4539 * gst/gstiterator.h:
4540 Added missing files.
4542 2005-03-07 Wim Taymans <wim@fluendo.com>
4546 * docs/design/part-MT-refcounting.txt:
4547 * docs/design/part-conventions.txt:
4548 * docs/design/part-gstobject.txt:
4549 * docs/design/part-relations.txt:
4550 * examples/mixer/mixer.c: (main):
4551 * examples/thread/thread.c: (eos), (main):
4553 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
4554 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
4555 (gst_spider_plug_from_srcpad):
4556 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
4557 (gst_spider_identity_change_state),
4558 (gst_spider_identity_sink_loop_type_finding):
4559 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
4560 * gst/elements/gstidentity.c: (gst_identity_init):
4561 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
4562 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
4563 * gst/elements/gsttypefindelement.c: (free_entry):
4566 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
4567 (gst_bin_set_clock_func), (gst_bin_auto_clock),
4568 (gst_bin_set_index), (gst_bin_set_element_sched),
4569 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
4570 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
4571 (gst_bin_iterate_elements), (iterate_child_recurse),
4572 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
4573 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
4574 (compare_interface), (gst_bin_get_by_interface),
4575 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
4577 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
4578 (gst_buffer_default_free), (gst_buffer_default_copy),
4579 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
4580 (gst_buffer_create_sub):
4582 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
4583 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
4584 (gst_caps_unref), (gst_static_caps_get),
4585 (gst_caps_remove_and_get_structure), (gst_caps_append),
4586 (gst_caps_append_structure), (gst_caps_remove_structure),
4587 (gst_caps_copy_nth), (gst_caps_set_simple),
4588 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
4589 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
4590 (gst_caps_structure_intersect_field), (gst_caps_intersect),
4591 (gst_caps_structure_subtract_field), (gst_caps_subtract),
4592 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
4593 (gst_caps_structure_figure_out_union),
4594 (gst_caps_switch_structures), (gst_caps_do_simplify),
4595 (gst_caps_replace), (gst_caps_from_string),
4596 (gst_caps_copy_conditional):
4598 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
4599 (_gst_clock_id_free), (gst_clock_id_unref),
4600 (gst_clock_id_compare_func), (gst_clock_id_wait),
4601 (gst_clock_id_wait_async), (gst_clock_class_init),
4602 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
4603 (gst_clock_get_time), (gst_clock_set_time_adjust),
4604 (gst_clock_set_property), (gst_clock_get_property):
4607 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
4608 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
4610 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
4611 (gst_element_requires_clock), (gst_element_provides_clock),
4612 (gst_element_set_clock), (gst_element_clock_wait),
4613 (gst_element_wait), (gst_element_set_time_delay),
4614 (gst_element_is_indexable), (gst_element_add_pad),
4615 (gst_element_add_ghost_pad), (gst_element_remove_pad),
4616 (pad_compare_name), (gst_element_get_static_pad),
4617 (gst_element_request_pad), (gst_element_get_request_pad),
4618 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
4619 (gst_element_class_get_pad_template_list),
4620 (gst_element_class_get_pad_template), (gst_element_error_func),
4621 (gst_element_get_random_pad), (gst_element_get_event_masks),
4622 (gst_element_send_event), (gst_element_seek),
4623 (gst_element_get_query_types), (gst_element_query),
4624 (gst_element_get_formats), (gst_element_convert),
4625 (gst_element_is_locked_state), (gst_element_set_locked_state),
4626 (gst_element_sync_state_with_parent), (gst_element_change_state),
4627 (gst_element_finalize), (gst_element_yield),
4628 (gst_element_interrupt), (gst_element_set_scheduler),
4629 (gst_element_get_scheduler), (gst_element_set_loop_function):
4632 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
4633 (gst_format_get_by_nick), (gst_format_get_details),
4634 (gst_format_iterate_definitions):
4636 * gst/gstindex.c: (gst_index_gtype_resolver):
4639 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
4640 (gst_mem_chunk_free):
4641 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
4642 (gst_object_ref), (gst_object_unref), (gst_object_sink),
4643 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
4644 (gst_object_dispatch_properties_changed),
4645 (gst_object_set_name_default), (gst_object_set_name),
4646 (gst_object_get_name), (gst_object_set_name_prefix),
4647 (gst_object_get_name_prefix), (gst_object_set_parent),
4648 (gst_object_get_parent), (gst_object_unparent),
4649 (gst_object_check_uniqueness), (gst_object_save_thyself),
4650 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
4651 (gst_object_set_property), (gst_object_get_property),
4652 (gst_object_get_path_string):
4654 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
4655 (gst_real_pad_init), (gst_real_pad_get_property),
4656 (gst_pad_custom_new), (gst_pad_get_direction),
4657 (gst_pad_set_active), (gst_pad_is_active),
4658 (gst_pad_set_event_function), (gst_pad_is_linked),
4659 (gst_pad_link_free), (gst_pad_link_intersect),
4660 (gst_pad_link_fixate), (gst_pad_set_caps),
4661 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
4662 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
4663 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
4664 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
4665 (gst_pad_get_caps), (gst_pad_peer_get_caps),
4666 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
4667 (gst_pad_realize), (gst_pad_get_allowed_caps),
4668 (gst_real_pad_dispose), (gst_real_pad_finalize),
4669 (gst_pad_collectv), (gst_pad_collect_valist),
4670 (gst_pad_template_dispose), (gst_pad_template_new),
4671 (gst_pad_get_internal_links):
4673 * gst/gstpipeline.c: (gst_pipeline_dispose),
4674 (gst_pipeline_change_state):
4675 * gst/gstpipeline.h:
4677 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
4678 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
4679 * gst/gstpluginfeature.h:
4680 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
4681 * gst/gstquery.c: (_gst_query_type_initialize),
4682 (gst_query_type_register), (gst_query_type_get_by_nick),
4683 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
4685 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
4686 * gst/gstscheduler.c: (gst_scheduler_add_element),
4687 (gst_scheduler_factory_create):
4688 * gst/gststructure.c: (gst_structure_set_parent_refcount),
4689 (gst_structure_free), (gst_structure_set_name),
4690 (gst_structure_id_set_value), (gst_structure_set_value),
4691 (gst_structure_set_valist), (gst_structure_remove_field),
4692 (gst_structure_remove_fields),
4693 (gst_structure_remove_fields_valist),
4694 (gst_structure_remove_all_fields), (gst_structure_foreach),
4695 (gst_structure_map_in_place),
4696 (gst_caps_structure_fixate_field_nearest_int),
4697 (gst_caps_structure_fixate_field_nearest_double):
4698 * gst/gststructure.h:
4699 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4700 (gst_system_clock_init), (gst_system_clock_dispose),
4701 (gst_system_clock_async_thread),
4702 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
4703 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4704 * gst/gstsystemclock.h:
4705 * gst/gsttag.c: (gst_tag_list_add_value_internal),
4706 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
4707 * gst/gsttaginterface.c:
4708 * gst/gstthread.c: (gst_thread_dispose),
4709 (gst_thread_release_children_locks), (gst_thread_change_state),
4710 (gst_thread_main_loop):
4711 * gst/gsttrashstack.h:
4712 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
4714 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
4715 (gst_element_request_pad), (gst_element_get_pad_from_template),
4716 (gst_element_request_compatible_pad),
4717 (gst_element_get_compatible_pad_filtered),
4718 (gst_element_get_compatible_pad), (gst_element_state_get_name),
4719 (gst_element_link_pads_filtered), (gst_element_link_filtered),
4720 (gst_element_link_many), (gst_element_link),
4721 (gst_element_link_pads), (gst_element_unlink_pads),
4722 (gst_element_unlink_many), (gst_element_unlink),
4723 (gst_pad_can_link_filtered), (gst_pad_can_link),
4724 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
4725 (gst_object_default_error), (gst_bin_add_many),
4726 (gst_bin_remove_many), (gst_element_populate_std_props),
4727 (gst_element_class_install_std_props), (gst_buffer_merge),
4728 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
4729 (link_fold_func), (gst_pad_proxy_setcaps):
4731 * gst/gstvalue.c: (gst_value_deserialize_string):
4732 * gst/parse/grammar.y:
4733 * gst/schedulers/gstbasicscheduler.c:
4734 (gst_basic_scheduler_cothreaded_chain),
4735 (gst_basic_scheduler_chain_recursive_add),
4736 (gst_basic_scheduler_pad_link):
4737 * gst/schedulers/gstoptimalscheduler.c:
4738 (get_group_schedule_function),
4739 (gst_opt_scheduler_state_transition),
4740 (gst_opt_scheduler_add_element), (element_get_reachables_func):
4741 * libs/gst/bytestream/bytestream.c:
4742 * libs/gst/dataprotocol/dataprotocol.c:
4743 (gst_dp_header_from_buffer):
4746 * tests/threadstate/threadstate2.c: (eos):
4747 * tools/gst-compprep.c: (main):
4748 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
4749 (print_pad_info), (print_children_info):
4750 * tools/gst-launch.c: (idle_func), (main):
4751 * tools/gst-md5sum.c: (idle_func), (main):
4752 * tools/gst-xmlinspect.c: (print_element_info):
4753 First THREADED backport attempt, focusing on adding locks and
4754 making sure the API is threadsafe. Needs more work. More docs
4757 2005-02-24 Andy Wingo <wingo@pobox.com>
4759 * tests/bench-complexity.scm:
4760 * tests/complexity.gnuplot: New files, good for running complexity
4763 * tests/Makefile.am:
4764 * tests/complexity.c: New test, sets up N elements, at each level
4765 teeing into M streams per element. Eeeenteresting.
4767 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
4768 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
4769 running bench-mass_elements.scm.
4771 * tests/bench-mass_elements.scm: New script, runs mass_elements
4772 for various numbers of identities, outputting the results to a
4773 file. Requires guile 1.6. Just for testing.
4775 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
4777 * gst/schedulers/fairscheduler.c:
4778 compile with debug disabled
4780 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
4783 hunting season on 0.9 is now OPEN
4785 2005-02-22 Stefan Kost <ensonic@users.sf.net>
4787 * docs/libs/tmpl/gstcontrol.sgml:
4788 * docs/libs/tmpl/gstdparam.sgml:
4789 * docs/libs/tmpl/gstdplinint.sgml:
4790 * docs/libs/tmpl/gstdpman.sgml:
4791 * docs/libs/tmpl/gstdpsmooth.sgml:
4792 * docs/libs/tmpl/gstunitconvert.sgml:
4793 more docs for the state of dparams
4795 2005-02-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
4797 * gst/gstelementfactory.c: (gst_element_factory_create):
4798 * gst/gstobject.c: (gst_object_init),
4799 (gst_object_set_name_default), (gst_object_set_name):
4800 name objects by default, not in gst_element_factory_create. Allows
4801 using elements created with g_object_new. (fixes #167283)
4803 2005-02-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
4805 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_log_default):
4806 make the time that debugging functions print relative to when
4809 2005-02-18 Tim-Philipp Müller <tim at centricular dot net>
4811 * gst/gsttaginterface.c:
4812 Fix inline docs: tag setter vararg functions are NULL-terminated,
4813 GST_TAG_INVALID doesn't exist any more.
4815 2005-02-18 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4817 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
4818 Allocate the 1 byte more memory that was forgotten!!!!!
4819 fixes memory corruption on 64bit platforms
4821 2005-02-15 Stefan Kost <ensonic@users.sf.net>
4823 * docs/pwg/building-pads.xml:
4824 * docs/pwg/intro-basics.xml:
4825 fixed a few typos, relabeled introductionary list of types
4826 * docs/random/ensonic/dparams.txt:
4827 more notes abut dparam changes
4828 * libs/gst/control/dparam.c: (gst_dparam_attach):
4829 * libs/gst/control/dparammanager.c:
4830 * libs/gst/control/dparammanager.h:
4831 - many comments and notes on dparam implementation
4832 - new dparams are were not initialized to the default value
4835 2005-02-14 Thomas Vander Stichele <thomas at apestaart dot org>
4837 submitted by: Peter Astakhov
4841 adding Russian translation
4843 2005-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
4846 * docs/gst/Makefile.am:
4847 * docs/libs/Makefile.am:
4848 make sure popt is added to gtk-doc flags. Fixes #147782.
4850 2005-02-09 Tim-Philipp Müller <tim at centricular dot net>
4852 * docs/faq/using.xml:
4853 Fix typo in FAQ (artssink => artsdsink)
4855 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4857 * tools/gst-launch.1.in:
4860 2005-02-08 Tim-Philipp Müller <tim at centricular dot net>
4862 * docs/faq/using.xml:
4863 Add -v argument to fakesrc/fakesink gst-launch line,
4864 so that the promised output will actually show up.
4866 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4868 * gst/gstthread.c: (gst_thread_change_state):
4869 Implement state-change error handling (#166073).
4871 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4873 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
4874 Release interrupt after handling (#166250).
4876 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
4881 === release 0.8.9 ===
4883 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
4888 releasing 0.8.9, "Like Eating Glass"
4890 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
4892 submitted by: Clytie Siddall
4894 * po/vi.po: Added Vietnamese translation
4896 2005-02-07 Thomas Vander Stichele <thomas at apestaart dot org>
4898 patch by: Tim Philipp-Müller
4902 unref data when probe function returns FALSE. Fixes #166362
4904 2005-02-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4906 * gst/gst.c: (gst_init_get_popt_table):
4909 2005-02-04 Andy Wingo <wingo@pobox.com>
4911 * gst/gstelement.c (gst_element_get_compatible_pad_template): Fix
4912 the debugging on whether the caps are compatible.
4914 2005-02-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4916 * docs/manual/basics-elements.xml:
4919 2005-02-02 Wim Taymans <wim@fluendo.com>
4921 * gst/schedulers/gstoptimalscheduler.c: (remove_decoupled),
4922 (schedule_chain), (get_invalid_call), (chain_invalid_call),
4923 (loop_group_schedule_function), (gst_opt_scheduler_iterate):
4924 Remove some FIXMEs after analysing and commenting why they
4927 2005-02-02 Wim Taymans <wim@fluendo.com>
4929 * gst/schedulers/gstoptimalscheduler.c:
4930 (gst_opt_scheduler_class_init), (gst_opt_scheduler_init),
4931 (gst_opt_scheduler_finalize), (remove_decoupled), (schedule_chain),
4932 (get_invalid_call), (chain_invalid_call),
4933 (get_group_schedule_function), (loop_group_schedule_function),
4934 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
4935 (gst_opt_scheduler_state_transition),
4936 (gst_opt_scheduler_add_element),
4937 (gst_opt_scheduler_remove_element), (gst_opt_scheduler_interrupt),
4938 (gst_opt_scheduler_error), (gst_opt_scheduler_pad_link),
4939 (gst_opt_scheduler_pad_unlink), (gst_opt_scheduler_iterate),
4940 (gst_opt_scheduler_show):
4941 Added lock to protect scheduler data structures.
4943 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4945 * testsuite/threads/threadi.c: (cb_data):
4948 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4950 * testsuite/threads/Makefile.am:
4951 * testsuite/threads/threadi.c: (cb_data), (cb_play), (main):
4952 On Wim's request, split the test in three separately-compiled
4953 tests that each test a very specific bug. Two of them still fail,
4954 will create bugs for those. threadi.c indicates why they fail.
4956 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4958 * gst/schedulers/gstoptimalscheduler.c:
4959 (get_group_schedule_function):
4960 Try to work with the threading mess that queue_link is.
4962 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4964 * gst/gstbin.c: (gst_bin_remove_func):
4965 Explicitely make an element release locks in a group when being
4967 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
4968 If there's no scheduler, always return immediately (similar to
4969 gst_element_interrupt).
4971 2005-01-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4973 * gst/gstbin.c: (gst_bin_child_state_change_func):
4974 Remove a piece of code that could never be reached.
4975 * docs/gst/gstreamer-sections.txt:
4976 * gst/gstpad.c: (gst_pad_push), (gst_pad_pull),
4977 (gst_pad_call_get_function):
4979 * testsuite/pad/Makefile.am:
4980 Fix #150546, enable tests.
4982 2005-01-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4984 * docs/pwg/advanced-types.xml:
4985 Fix description for buffer-frames=0.
4986 * docs/gst/tmpl/gstbin.sgml:
4987 * gst/gstbin.c: (gst_bin_child_state_change_func),
4988 (gst_bin_change_state), (gst_bin_change_state_norecurse):
4990 * testsuite/threads/Makefile.am:
4991 * testsuite/threads/threadi.c: (cb_timeout), (cb_quit), (cb_eos),
4992 (cb_state), (cb_play), (main):
4993 Fix non-recursive state changes to *really* change the state
4994 of the object, and not just call parent_class->state_change.
4995 Fix a lot of lockups caused by this. Fixes #132775. Add test
4996 for the problem. Also enable test to show #142588 (fixed).
4997 * gst/gstthread.c: (gst_thread_change_state),
4998 (gst_thread_child_state_change):
4999 Don't exit the thread if we go to NULL and are inside thread
5000 context. Instead, return control to the main thread context
5001 and exit from there.
5002 * gst/gstelement.c: (gst_element_disable_threadsafe_properties):
5003 Don't unset virtual functions, since those may still be used.
5004 That's not necessarily correct, but suffices for now.
5006 * testsuite/Makefile.am:
5007 * testsuite/pad/Makefile.am:
5008 * testsuite/pad/chainnopull.c: (gst_test_sink_class_init),
5009 (gst_test_sink_base_init), (gst_test_sink_chain),
5010 (gst_test_sink_init), (main):
5011 * testsuite/pad/getnopush.c: (gst_test_src_class_init),
5012 (gst_test_src_base_init), (gst_test_src_get), (gst_test_src_init),
5014 * testsuite/pad/link.c: (gst_test_element_class_init),
5015 (gst_test_element_base_init), (gst_test_src_get),
5016 (gst_test_src_loop), (gst_test_src_init), (gst_test_filter_chain),
5017 (gst_test_filter_loop), (gst_test_filter_init),
5018 (gst_test_sink_chain), (gst_test_sink_loop), (gst_test_sink_init),
5020 Add tests to show #150546. Pass, but should fail (currently
5021 disabled from the testsuite).
5022 * gst/gstscheduler.c: (gst_scheduler_dispose):
5023 Dereference child schedulers on dispose (#94464).
5024 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
5026 * testsuite/threads/thread.c: (main):
5029 2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5031 * gst/gstpad.c: (gst_pad_push):
5032 Oops, revert previous commit, broke testsuite...
5034 2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5036 * gst/gstpad.c: (gst_pad_push):
5037 Add check that the pad on which the push is performed is not a
5038 get-based pad (#150546).
5040 2005-01-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5042 * gst/elements/gsttypefindelement.c:
5043 (gst_type_find_element_handle_event):
5044 Fix buffer pushing if stream EOSes during typefinding.
5046 2005-01-28 Edward Hervey <bilboed@bilboed.com>
5048 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5050 * gst/gstvalue.c: (gst_string_wrap):
5051 Allow NULL-strings as argument (#165365).
5053 2005-01-27 Stephane Wirtel <stephane.wirtel@belgacom.net>
5055 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5057 * gst/schedulers/faircothreads.c:
5058 (gst_fair_scheduler_cothread_queue_show):
5059 Fix build without debug enabled.
5061 2005-01-26 Stefan Kost <ensonic@users.sf.net>
5063 * docs/gst/gstreamer-sections.txt:
5064 * docs/libs/gstreamer-libs-docs.sgml:
5065 * docs/libs/gstreamer-libs-sections.txt:
5066 * docs/libs/tmpl/gstcontrol.sgml:
5067 * docs/libs/tmpl/gstdparam.sgml:
5068 * docs/libs/tmpl/gstdplinint.sgml:
5069 * docs/libs/tmpl/gstdpman.sgml:
5070 * docs/libs/tmpl/gstdpsmooth.sgml:
5071 * docs/libs/tmpl/gstputbits.sgml:
5072 * docs/libs/tmpl/gstunitconvert.sgml:
5073 * libs/gst/control/dparam.c:
5074 * libs/gst/control/dparam.h:
5075 * libs/gst/control/dparammanager.c:
5076 (gst_dpman_add_required_dparam_callback),
5077 (gst_dpman_add_required_dparam_direct),
5078 (gst_dpman_add_required_dparam_array),
5079 (gst_dpman_remove_required_dparam), (gst_dpman_attach_dparam),
5080 (gst_dpman_get_dparam), (gst_dpman_get_dparam_type),
5081 (gst_dpman_get_manager)
5082 restructured DParam docs
5084 2005-01-25 Tim-Philipp Müller <tim at centricular dot net>
5086 * gst-element-check.m4:
5087 Only check for gst-inspect if we haven't already
5088 found it in previous element check runs
5090 2005-01-25 Stefan Kost <ensonic@users.sf.net>
5092 * docs/gst/Makefile.am:
5093 * docs/libs/Makefile.am:
5094 fixed install rules to treat style.css as optional
5096 2005-01-24 Stefan Kost <ensonic@users.sf.net>
5098 * docs/gst/Makefile.am:
5099 * docs/libs/Makefile.am:
5100 install style.css along with docs
5101 * docs/gst/tmpl/gstbin.sgml:
5102 * docs/gst/tmpl/gstclock.sgml:
5103 * docs/gst/tmpl/gstdata.sgml:
5104 * docs/gst/tmpl/gstelement.sgml:
5106 * gst/gstelement.c: (gst_element_class_init):
5108 fixing incomplete docs
5110 2005-01-24 Tim-Philipp Müller <tim at centricular dot net>
5112 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
5113 Don't unref seek event twice when fflush() fails
5115 2005-01-22 David Schleef <ds@schleef.org>
5117 * configure.ac: Add --disable-valgrind. (partial fix for #164890)
5119 2005-01-21 Stefan Kost <ensonic@users.sf.net>
5121 * docs/gst/Makefile.am:
5122 * docs/libs/Makefile.am:
5123 added params for deprecation guards
5126 * gst/gsterror.c: (_gst_resource_errors_init),
5127 (_gst_stream_errors_init):
5129 documented some more enums
5131 2005-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5132 * gst/autoplug/gstspideridentity.c:
5133 Cosmetic fix - spider_find_peek should be static
5134 * gst/parse/parse.l:
5135 Applying fix for #164261
5137 2005-01-18 Stefan Kost <ensonic@users.sf.net>
5139 * docs/gst/gstreamer-sections.txt:
5140 * docs/gst/tmpl/gstplugin.sgml:
5141 * docs/libs/gstreamer-libs-sections.txt:
5142 * docs/libs/tmpl/gstcontrol.sgml:
5146 added docs for the TAG defines
5148 2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5150 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
5151 Only unref entry if there is an entry.
5153 2005-01-17 Wim Taymans <wim@fluendo.com>
5155 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
5156 (remove_from_group), (schedule_group), (normalize_group),
5157 (gst_opt_scheduler_iterate):
5158 Also ref/unref decoupled elements before iterating the
5159 group since they are not added to the list of elements.
5161 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5163 * docs/manual/highlevel-components.xml:
5164 Add subtitle/streamselection as new features to playbin.
5166 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5168 * docs/manual/manual.xml:
5169 Re-enable dataaccess docs (oops).
5171 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5173 * docs/pwg/advanced-types.xml:
5174 * docs/random/mimetypes:
5175 Add documentation on libsndfile types (#163309), by Steve Baker
5176 <steve@stevebaker.org>.
5177 * gst/gstelement.c: (gst_element_release_request_pad):
5178 If an element has no explicit function, just remove the pad.
5180 2005-01-17 Luca Ognibene <luogni@tin.it>
5182 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5184 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
5185 Fix memleak (#163801).
5187 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5189 * gst/elements/gsttee.c: (gst_tee_getcaps), (gst_tee_link):
5190 I think this is actually more correct...
5192 2005-01-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5194 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
5195 Another workaround for memory access while destroyed in callback.
5196 Please, someone with refcount knowledge, have a look at this.
5198 2005-01-15 Thomas Vander Stichele <thomas at apestaart dot org>
5201 * docs/faq/legal.xml:
5202 move the legal Q&A here
5204 2005-01-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5206 * gst/elements/gsttee.c: (gst_tee_getcaps), (gst_tee_link),
5207 (gst_tee_request_new_pad):
5210 2005-01-14 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5212 * docs/random/omega/caps2:
5213 * testsuite/caps/caps_strings:
5214 replace framerate aproximations by their real value
5215 (24000/1001, 30000/1001, 60000/1001)
5216 Partially fixes bug #164049
5218 2005-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * docs/gst/Makefile.am:
5221 don't fail on the stupid GstPoptOption
5223 2005-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5227 allow probes to work on ghost pads by realizing the pad
5230 2005-01-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5232 * docs/gst/gstreamer-sections.txt:
5233 * docs/gst/tmpl/gstpad.sgml:
5234 * gst/gstpad.c: (gst_pad_set_active_recursive):
5236 Add gst_pad_set_active_recursive().
5238 2005-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
5240 * docs/random/release:
5242 * gst/gst_private.h:
5245 move deep_notify logging to a new category
5248 add stuff so bindings can wrap probes
5250 2005-01-09 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5252 * gst/gstplugin.c: (gst_plugin_load):
5253 Fix plugin loading if plugin/lib was already loaded. Fixes
5256 2005-01-09 Sebastien Cote <sc5@hermes.usherb.ca>
5258 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5260 * gst/gstpluginfeature.c: (gst_plugin_feature_ensure_loaded):
5261 Protect plugin loading by a mutex so it's threadsafe. Fixes
5264 2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5266 * gst/gstevent.c: (_gst_event_copy):
5267 Reference source object when copying events, since it'll be
5268 dereferenced on event dereferencing as well.
5270 2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5272 * docs/gst/gstreamer-sections.txt:
5273 * docs/gst/tmpl/gstevent.sgml:
5274 * gst/gstevent.c: (gst_event_new_filler_stamped),
5275 (gst_event_filler_get_duration):
5277 Add two new functions for filler events (which are used to
5278 synchronize streams if one of them is not having any data
5279 for a while) without interrupting the actual data-stream.
5281 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5282 (gst_queue_link_sink), (gst_queue_link_src),
5283 (gst_queue_change_state):
5284 Allow for renegotiation while filled. Required for stream
5285 switching while playing.
5287 2005-01-08 Benjamin Otte <otte@gnome.org>
5289 * gst/gstelement.c: (gst_element_link_many):
5290 fix up g_return_if_fail's
5293 add German translation, that was somehow not included
5295 2005-01-08 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5297 * docs/random/mimetypes:
5298 add 2 more 4CC code for DV (HDTV and SDTV-LongPlay profiles)
5299 do not add them to riff-lib as they are not common
5301 2005-01-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5303 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
5304 Check for existence of probe after performing the probe before
5305 re-accessing it to prevent segfaults caused by removal of the
5306 probe in the callback.
5308 2005-01-05 David Schleef <ds@schleef.org>
5310 * testsuite/registry/Makefile.am:
5311 * testsuite/registry/gst-print-formats.c:
5312 (print_pad_templates_info), (print_element_list),
5313 (print_typefind_list), (list_sort_func), (get_typefind_mime_list),
5314 (g_list_uniqify), (get_pad_templates_info),
5315 (get_element_mime_list), (print_mime_list), (main): A little
5316 program that looks through the registry to find elements of
5317 a given type. Not particularly interesting as a test, except
5318 that there's no other test covering the same area.
5320 2005-01-05 David Schleef <ds@schleef.org>
5322 * tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
5323 (fault_handler_sigaction), (fault_spin),
5324 (sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
5325 in signal.h-type signal handlers by not calling forbidden functions,
5326 including gst_element_set_state().
5328 2005-01-05 David Schleef <ds@schleef.org>
5330 * gst/gstvalue.h: Mark _gst_reserved[] as private
5332 2005-01-05 David Schleef <ds@schleef.org>
5334 * gst/gstvalue.c: Fix doc build problem.
5336 2005-01-05 David Schleef <ds@schleef.org>
5338 * gst/gstvalue.c: Add some documentation
5340 2005-01-05 Stefan Kost <ensonic@users.sf.net>
5343 another shell oneliner for empty return value docs
5346 * libs/gst/control/dparam.c:
5347 more doc fixes (parameters and return values)
5349 2005-01-05 Vincent Torri <torri@iecn.u-nancy.fr>
5351 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5353 * gst/gstregistry.h:
5354 * gst/registries/gstxmlregistry.c:
5355 Fix macro's for Mingw (fixes #162276).
5357 2005-01-04 Stefan Kost <ensonic@users.sf.net>
5360 quick shell oneliner to find undocumented members
5361 * docs/gst/tmpl/gstplugin.sgml:
5362 * docs/gst/tmpl/gstscheduler.sgml:
5363 * docs/gst/tmpl/gstthread.sgml:
5364 more enumtypes cleanup
5366 activated documentation comments, now someone needs to document
5369 2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5371 * docs/manual/manual.xml:
5372 Add dataaccess part (doh!).
5374 2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5376 * docs/manual/advanced-autoplugging.xml:
5377 Fix typo (intiate -> initiate).
5379 2005-01-02 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5381 * docs/random/bbb/streamselection:
5382 Add some notes on how to handle multi-subtitle/-audio streams.
5384 2004-12-30 Stefan Kost <ensonic@users.sf.net>
5386 * docs/gst/gstreamer-docs.sgml:
5387 * docs/gst/gstreamer-sections.txt:
5388 * docs/gst/tmpl/gstenumtypes.sgml:
5389 * docs/gst/tmpl/gsterror.sgml:
5390 * docs/gst/tmpl/gstevent.sgml:
5391 * docs/gst/tmpl/gstpad.sgml:
5392 * docs/gst/tmpl/gstpadtemplate.sgml:
5393 * docs/gst/tmpl/gstthread.sgml:
5394 removed gstenumtypes section from docs and put all the enums into
5397 2004-12-27 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
5400 document gst_library_load a bit more (riff special case + return
5401 value if already loaded)
5402 * testsuite/bytestream/filepadsink.c:
5403 plugin name is 'gstbytestream', not 'bytestream'
5405 2004-12-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5407 * docs/random/bbb/subtitles:
5408 Add some first mind rumblings on proper subtitle support.
5410 2004-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
5414 updated translations
5416 2004-12-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5418 * docs/manual/advanced-dataaccess.xml:
5419 Add section on how to use fakesrc/fakesink/identity in your
5420 application, plus section on how to embed plugins. Also mention
5422 * docs/manual/appendix-checklist.xml:
5423 * docs/manual/appendix-debugging.xml:
5424 * docs/manual/appendix-gnome.xml:
5425 * docs/manual/appendix-integration.xml:
5426 Debug -> checklist, GNOME -> integration, add sections on Linux,
5427 KDE integration and add other things useful for application
5429 * docs/manual/manual.xml:
5430 Remove some fixmes, update some file pointers.
5431 * docs/pwg/appendix-checklist.xml:
5433 * docs/pwg/building-boiler.xml:
5434 Remove ugly header and add commented fixme.
5437 * examples/manual/Makefile.am:
5438 Add example for added docs.
5440 2004-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5445 === release 0.8.8 ===
5447 2004-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5452 Releasing 0.8.8, "I'll Take Care Of You"
5454 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5459 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5461 patch by: Wim Taymans
5464 Fix for #159852 - make iterate emission threadsafe
5466 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5469 notes about new fdo account request
5471 2004-12-20 Stefan Kost <ensonic@users.sf.net>
5473 * docs/gst/gstreamer-docs.sgml:
5474 * docs/gst/tmpl/gstenumtypes.sgml:
5475 * docs/gst/tmpl/gstplugin.sgml:
5476 * docs/libs/gstreamer-libs-docs.sgml:
5477 Added missing short docs. Added ids for navigation.
5479 2004-12-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5481 * docs/manual/advanced-autoplugging.xml:
5482 * docs/manual/advanced-schedulers.xml:
5483 * docs/manual/advanced-threads.xml:
5484 Rewrites. Remove cothreads, go a bit into opt specifically,
5485 document threads and their gotchas, and do some technical stuff
5486 on autoplugging plus add some working examples. Fixes #157395.
5487 * examples/manual/Makefile.am:
5488 Add typefind/autoplugger example (one that actually works).
5489 Remove queue example since it's a duplicate of the thread one.
5491 2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
5493 * gst/gstvalue.c: (gst_value_deserialize_string):
5494 use deprecated g_value_set_string_take_ownership to keep compatible
5497 2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
5499 * gst/gstvalue.c: (gst_value_deserialize_string):
5500 revert last patch, only dom a g_utf8_validate now before accepting
5501 the string - caps parsing strips " from strings so we can't rely on
5503 * testsuite/caps/value_serialize.c: (test_string_deserialization):
5504 disable a test that tested the above and comment it
5506 2004-12-16 Steve Lhomme <steve.lhomme@free.fr>
5508 Patch reviewed by David Schleef <ds@schleef.org>
5510 * win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See
5512 * win32/gstenumtypes.h: same
5514 2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5516 * gst/gstpad.c: (gst_pad_query):
5517 Do query on realized pad, similar to how convert/send_event handle
5518 this. Also makes sense, since this pad belongs to the function to
5519 which this query will be sent. Fixes #158163.
5521 2004-12-16 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
5523 * docs/manual/appendix-programs.xml: fix pipeline to actually work
5525 2004-12-16 Christian Fredrik Kalager Schaller <christian@fluendo.com>
5527 * docs/faq/general.xml: fix pipeline to actually work
5529 2004-12-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
5531 * gst/gstvalue.c: (gst_value_deserialize_string):
5532 check that a simple string that gets deserialized does not contain
5534 * testsuite/caps/value_serialize.c: (test_string_deserialization):
5535 remove a test that tested a wring behaviour
5537 2004-12-16 Matt Kraai <kraai@alumni.cmu.edu>
5539 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5541 * docs/manual/intro-motivation.xml:
5544 2004-12-16 Edward Hervey <bilboed@bilboed.com>
5546 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5548 * docs/gst/tmpl/gstprobe.sgml:
5549 Fix documentation of probe callback - it is supposed to return
5550 FALSE, not TRUE, to remove data from the stream (#159087).
5552 2004-12-16 Daniel Gazard <dany42@free.fr>
5554 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5556 * gst/gstelementfactory.c: (gst_element_factory_create):
5557 Fix compile failure if compiling without libxml2 support (#149936).
5559 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5561 * docs/manual/advanced-autoplugging.xml:
5562 * docs/manual/highlevel-components.xml:
5563 Move spider from autoplugging to components. Autoplugging is for
5564 internals, not for solutions. ;-).
5566 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5568 * docs/random/ds/0.9-suggested-changes:
5569 Make note on device/location/uri property names.
5571 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5573 * docs/manual/advanced-autoplugging.xml:
5574 * docs/manual/advanced-clocks.xml:
5575 * docs/manual/advanced-interfaces.xml:
5576 * docs/manual/advanced-metadata.xml:
5577 * docs/manual/advanced-position.xml:
5578 * docs/manual/advanced-schedulers.xml:
5579 * docs/manual/advanced-threads.xml:
5580 * docs/manual/appendix-gnome.xml:
5581 * docs/manual/appendix-programs.xml:
5582 * docs/manual/appendix-quotes.xml:
5583 * docs/manual/autoplugging.xml:
5584 * docs/manual/basics-bins.xml:
5585 * docs/manual/basics-data.xml:
5586 * docs/manual/basics-elements.xml:
5587 * docs/manual/basics-helloworld.xml:
5588 * docs/manual/basics-init.xml:
5589 * docs/manual/basics-pads.xml:
5590 * docs/manual/basics-plugins.xml:
5591 * docs/manual/bins-api.xml:
5592 * docs/manual/bins.xml:
5593 * docs/manual/buffers-api.xml:
5594 * docs/manual/buffers.xml:
5595 * docs/manual/clocks.xml:
5596 * docs/manual/components.xml:
5597 * docs/manual/cothreads.xml:
5598 * docs/manual/debugging.xml:
5599 * docs/manual/dparams-app.xml:
5600 * docs/manual/dynamic.xml:
5601 * docs/manual/elements-api.xml:
5602 * docs/manual/elements.xml:
5603 * docs/manual/factories.xml:
5604 * docs/manual/gnome.xml:
5605 * docs/manual/goals.xml:
5606 * docs/manual/helloworld.xml:
5607 * docs/manual/helloworld2.xml:
5608 * docs/manual/highlevel-components.xml:
5609 * docs/manual/highlevel-xml.xml:
5610 * docs/manual/init-api.xml:
5611 * docs/manual/intro-basics.xml:
5612 * docs/manual/intro-motivation.xml:
5613 * docs/manual/intro-preface.xml:
5614 * docs/manual/intro.xml:
5615 * docs/manual/links-api.xml:
5616 * docs/manual/links.xml:
5617 * docs/manual/manual.xml:
5618 * docs/manual/motivation.xml:
5619 * docs/manual/pads-api.xml:
5620 * docs/manual/pads.xml:
5621 * docs/manual/plugins-api.xml:
5622 * docs/manual/plugins.xml:
5623 * docs/manual/programs.xml:
5624 * docs/manual/queues.xml:
5625 * docs/manual/quotes.xml:
5626 * docs/manual/schedulers.xml:
5627 * docs/manual/states-api.xml:
5628 * docs/manual/states.xml:
5629 * docs/manual/threads.xml:
5630 * docs/manual/typedetection.xml:
5631 * docs/manual/win32.xml:
5632 * docs/manual/xml.xml:
5633 Try 2. This time, include a short preface as a "general
5634 introduction", also add code blocks around all code samples
5635 so they get compiled. We still need a way to tell readers
5636 the filename of the code sample. In some cases, don't show
5637 all code in the documentation, but do include it in the generated
5638 code. This allows for focussing on specific bits in the docs,
5639 while still having a full test application available.
5640 * examples/manual/Makefile.am:
5641 Fix up examples for new ADM. Add several of the new examples that
5642 were either added or were missing from the build system.
5643 * examples/manual/extract.pl:
5644 Allow nameless blocks.
5646 2004-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5648 * docs/manual/elements-api.xml:
5649 * docs/manual/helloworld.xml:
5650 * examples/manual/extract.pl:
5651 fix last example. Add example of adding code blocks that are not
5652 shown in docbook output.
5654 2004-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5656 * docs/manual/dynamic.xml:
5657 * docs/manual/elements-api.xml:
5658 * docs/manual/gnome.xml:
5659 * docs/manual/helloworld2.xml:
5660 * docs/manual/init-api.xml:
5661 * docs/manual/queues.xml:
5662 * docs/manual/threads.xml:
5663 * docs/manual/xml.xml:
5664 * examples/manual/extract.pl:
5665 Make it possible to extract example code from separate blocks.
5666 Should make Ronald happy.
5668 2004-12-15 Wim Taymans <wim@fluendo.com>
5670 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
5671 (remove_from_group), (group_elements_set_visited),
5672 (normalize_group), (gst_opt_scheduler_iterate):
5673 Fix bug where a flag was not updated on a decoupled entry point
5674 because we were just checking the group element list and decoupled
5675 elements are not in that list..
5677 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5679 * docs/manual/advanced-autoplugging.xml:
5680 * docs/manual/advanced-clocks.xml:
5681 * docs/manual/advanced-dparams.xml:
5682 * docs/manual/advanced-interfaces.xml:
5683 * docs/manual/advanced-metadata.xml:
5684 * docs/manual/advanced-position.xml:
5685 * docs/manual/advanced-schedulers.xml:
5686 * docs/manual/advanced-threads.xml:
5687 * docs/manual/appendix-debugging.xml:
5688 * docs/manual/appendix-gnome.xml:
5689 * docs/manual/appendix-programs.xml:
5690 * docs/manual/appendix-quotes.xml:
5691 * docs/manual/appendix-win32.xml:
5692 * docs/manual/autoplugging.xml:
5693 * docs/manual/basics-bins.xml:
5694 * docs/manual/basics-data.xml:
5695 * docs/manual/basics-elements.xml:
5696 * docs/manual/basics-helloworld.xml:
5697 * docs/manual/basics-init.xml:
5698 * docs/manual/basics-pads.xml:
5699 * docs/manual/basics-plugins.xml:
5700 * docs/manual/bins-api.xml:
5701 * docs/manual/bins.xml:
5702 * docs/manual/buffers-api.xml:
5703 * docs/manual/buffers.xml:
5704 * docs/manual/clocks.xml:
5705 * docs/manual/components.xml:
5706 * docs/manual/cothreads.xml:
5707 * docs/manual/debugging.xml:
5708 * docs/manual/dparams-app.xml:
5709 * docs/manual/dynamic.xml:
5710 * docs/manual/elements-api.xml:
5711 * docs/manual/elements.xml:
5712 * docs/manual/factories.xml:
5713 * docs/manual/gnome.xml:
5714 * docs/manual/goals.xml:
5715 * docs/manual/helloworld.xml:
5716 * docs/manual/helloworld2.xml:
5717 * docs/manual/highlevel-components.xml:
5718 * docs/manual/highlevel-xml.xml:
5719 * docs/manual/init-api.xml:
5720 * docs/manual/intro-motivation.xml:
5721 * docs/manual/intro-preface.xml:
5722 * docs/manual/intro.xml:
5723 * docs/manual/links-api.xml:
5724 * docs/manual/links.xml:
5725 * docs/manual/manual.xml:
5726 * docs/manual/motivation.xml:
5727 * docs/manual/pads-api.xml:
5728 * docs/manual/pads.xml:
5729 * docs/manual/plugins-api.xml:
5730 * docs/manual/plugins.xml:
5731 * docs/manual/programs.xml:
5732 * docs/manual/queues.xml:
5733 * docs/manual/quotes.xml:
5734 * docs/manual/schedulers.xml:
5735 * docs/manual/states-api.xml:
5736 * docs/manual/states.xml:
5737 * docs/manual/threads.xml:
5738 * docs/manual/typedetection.xml:
5739 * docs/manual/win32.xml:
5740 * docs/manual/xml.xml:
5741 First try at rewriting the ADM. Needs lotsamore work, but some
5742 parts might already be somewhat useful.
5743 * docs/pwg/advanced-interfaces.xml:
5744 Remove properties interface, it never actually existed (except for
5747 2004-12-13 David Schleef <ds@schleef.org>
5749 * gst/gstpad.c: (gst_pad_set_explicit_caps): Allow caps to
5750 be NULL (bug #160220).
5752 2004-12-13 David Schleef <ds@schleef.org>
5754 * configure.ac: remove all mmx stuff, because it's not used.
5755 * docs/random/ds/0.9-suggested-changes: additional notes
5756 * include/Makefile.am: we don't use these anymore
5757 * include/mmx.h: remove
5758 * include/sse.h: remove
5760 2004-12-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
5762 * docs/random/mimetypes:
5763 Add FOURCC code for h264 codec (VSSH)
5764 Add alternate FOURCC codes for h263 related codecs
5766 2004-12-10 Stefan Kost <ensonic@users.sf.net>
5768 * docs/manual/programs.xml:
5769 Added more gst-launch examples.
5771 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5773 * gst/gstqueue.c: (gst_queue_handle_src_query):
5774 Check for availability again.
5776 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5778 * gst/gstcaps.c: (gst_caps_compare_structures):
5779 Simple caps go first. This has the nice side-effect of fixing an
5782 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5784 * gst/gstversion.h.in:
5787 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5789 * gst/schedulers/gstoptimalscheduler.c:
5790 (gst_opt_scheduler_schedule_run_queue), (schedule_chain),
5791 (gst_opt_scheduler_get_wrapper):
5792 When we're recursing into a chain run, only run the directly
5793 related group, not all queued ones. This will fix a possible
5794 deadlock in chains with more than two groups.
5796 2004-12-08 Thomas Vander Stichele <thomas at apestaart dot org>
5799 remove patch if autopoint fails
5801 2004-12-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5803 * docs/gst/gstreamer-sections.txt:
5804 Document Thomas' addition, fix build, make Luis the sheriff happy.
5806 2004-12-07 Thomas Vander Stichele <thomas at apestaart dot org>
5810 add accessor for version field
5812 2004-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
5814 submitted by: Luca Ferretti <elle.uca@infinito.it>
5818 New tranlation added: Italian
5820 2004-12-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5822 * gst/gstpad.c: (gst_pad_is_negotiated),
5823 (gst_pad_get_negotiated_caps):
5824 GST_RPAD_* will only operate on a RealPad (it casts the pointer,
5825 it doesn't actually check the contents), so be sure to hand it
5826 a RealPad else we'll crash.
5828 2004-12-03 Wim Taymans <wim@fluendo.com>
5830 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5831 (gst_queue_link), (gst_queue_handle_src_query):
5832 Reverted to 1.110 until this makes the testsuite and various
5835 2004-12-01 Christian Fredrik Kalager Schaller <christian@fluendo.com>
5837 * docs/upload.mak: fix included CVS conflict strings
5839 2004-12-01 William Jon McCann <mccann@jhu.edu>
5841 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5843 * gst/gstelement.c: (gst_element_error_full):
5844 Use g_error_new_literal because error text may have
5845 percentage signs in it. Fixes #160019.
5847 2004-12-01 Benjamin Otte <otte@gnome.org>
5849 * gst/elements/gstbufferstore.c:
5850 (gst_buffer_store_add_buffer_func):
5851 don't try to make subbuffers bigger than they can be. (fixes
5854 2004-11-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5856 * docs/gst/gstreamer-sections.txt:
5857 * docs/gst/tmpl/gstvalue.sgml:
5858 Add new function to docs to fix build.
5860 2004-11-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5862 * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
5863 * gst/gstpad.c: (_gst_pad_default_fixate_value),
5864 (_gst_pad_default_fixate_foreach):
5865 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
5867 Deprecate _type_is_fixed, use _value_is_fixed instead, since
5868 in some cases (arrays), the fixedness depends on the content.
5869 * gst/gstqueue.c: (gst_queue_handle_src_query):
5870 Check for availability before doing something.
5872 2004-11-29 Wim Taymans <wim@fluendo.com>
5874 * testsuite/threads/Makefile.am:
5875 * testsuite/threads/signals.c: (gst_test_get_type),
5876 (gst_test_class_init), (gst_test_init), (gst_test_dispose),
5877 (gst_test_set_property), (gst_test_get_property),
5878 (gst_test_do_signal1), (signal2_handler), (gst_test_do_signal2),
5879 (gst_test_do_prop), (run_thread), (main):
5880 Added a bunch of testcases that show threadsafety bugs in glib.
5882 2004-11-29 Stefan Kost <ensonic@users.sf.net>
5884 * docs/manual/programs.xml:
5885 Added a first batch of gst-launch examples, as provided by Ronald
5886 and others from the devel-mlist
5888 2004-11-28 Benjamin Otte <otte@gnome.org>
5890 * gst/gstelement.c: (gst_element_negotiate_pads):
5892 * gst/gstvalue.c: (gst_string_wrap), (gst_string_unwrap),
5893 (gst_value_serialize_string), (gst_value_deserialize_string):
5894 add unwrapping of previously wrapped strings. Fix bug in wrapping
5896 * testsuite/caps/value_serialize.c: (test1),
5897 (test_string_serialization), (test_string_deserialization), (main):
5898 add tests for string (de)serialization
5900 2004-11-26 Wim Taymans <wim@fluendo.com>
5902 * testsuite/threads/159566.c: (object_deep_notify), (main):
5903 * testsuite/threads/Makefile.am:
5904 Added testsuite to show bug #159566
5906 2004-11-25 Wim Taymans <wim@fluendo.com>
5908 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_change_state),
5909 (gst_thread_child_state_change), (gst_thread_main_loop):
5910 Ref the thread object in the GThread mainloop. Break out of the
5911 thread mainloop if it holds the last ref. This properly exits
5912 the threads when disposing the thread from its own context. It
5913 also avoids possible deadlocks in the dispose function.
5915 2004-11-24 Martin Soto <martinsoto@users.sourceforge.net>
5917 * gst/gstqueue.c (gst_queue_link_sink): Grab the lock only when
5918 it is necessary to wait.
5920 2004-11-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5922 * docs/pwg/building-boiler.xml:
5923 Make description somewhat clearer.
5925 2004-11-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5928 Apparently docs changed location on FDO's server.
5930 2004-11-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5932 * docs/pwg/appendix-checklist.xml:
5933 Add some random notes on things to check when writing an element.
5934 This list can be extended as people see fit.
5936 2004-11-23 Martin Soto <martinsoto@users.sourceforge.net>
5938 * gst/gstqueue.c (gst_queue_init, gst_queue_link_sink)
5939 (gst_queue_link_src): Allow for renegotiating the caps of the sink
5940 pad. The queue will now wait until it is empty and forward the new
5942 * gst/gstbin.c (gst_bin_set_element_sched)
5943 (gst_bin_unset_element_sched): Make sure that all elements and
5944 links are registered and unregistered with the scheduler exactly
5945 once. This elaborates on a fix by Benjamin Otte, but
5946 guarantees that decoupled elements are also registered.
5948 2004-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
5950 * docs/manual/quotes.xml:
5955 add LIBDIR and move init message higher up so it's at the start
5957 2004-11-08 Christian Fredrik Kalager Schaller <christian@fluendo.com>
5959 * gst/schedulers/Makefile.am: fix disted build fair by including .h file
5960 * gstreamer.spec.in: add fair
5962 2004-11-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5964 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
5965 * gst/elements/gstidentity.c: (gst_identity_class_init):
5966 Use G_SIGNAL_TYPE_STATIC_SCOPE, patch by Christophe Fergeau
5967 <teuf@gnome.org> (#157263).
5968 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5969 (gst_type_find_handle_src_query):
5970 Subtract size of internally stored data from position queries.
5972 2004-11-07 Martin Soto <martinsoto@users.sourceforge.net>
5974 * gst/schedulers/fairscheduler.c:
5975 * gst/schedulers/faircothreads.c:
5976 * gst/schedulers/faircothreads.h:
5977 New cothread based scheduler: Fair scheduler.
5978 * gst/schedulers/gthread-cothreads.h:
5979 Add the standard #if around the whole file.
5980 Defining symbol GTHREAD_COTHREADS_NO_DEFINITIONS will now prevent
5981 compilation of the functions defined in this file. This is
5982 necessary to be able to use this file as a normal header.
5983 * gst/schedulers/Makefile.am: Add compiling support for fair
5985 * docs/gst/Makefile.am (IGNORE_HFILES): Exclude internal fair
5986 scheduler cothreads layer from documentation generation.
5988 2004-11-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5990 * gst/autoplug/gstspideridentity.c:
5991 (gst_spider_identity_sink_loop_type_finding):
5992 Don't crash if that function is not implemented.
5994 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5996 * docs/pwg/advanced-types.xml:
5999 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6001 * docs/pwg/intro-preface.xml:
6002 Hm, ok, so the brackets weren't really useful...
6003 * docs/pwg/other-ntoone.xml:
6004 Fix embarassing typo.
6006 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6008 * docs/pwg/intro-preface.xml:
6011 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6013 * docs/pwg/advanced-scheduling.xml:
6014 * docs/pwg/advanced-tagging.xml:
6015 * docs/pwg/advanced-types.xml:
6016 * docs/pwg/building-boiler.xml:
6017 * docs/pwg/building-chainfn.xml:
6018 * docs/pwg/building-signals.xml:
6019 * docs/pwg/building-state.xml:
6020 * docs/pwg/building-testapp.xml:
6021 * docs/pwg/intro-basics.xml:
6022 * docs/pwg/other-manager.xml:
6023 * docs/pwg/other-source.xml:
6025 * docs/pwg/other-manager.xml:
6026 Add some first content. No example code yet.
6027 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
6028 Remove double newlines.
6030 2004-11-04 Wim Taymans <wim@fluendo.com>
6032 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6033 (remove_from_group), (normalize_group), (group_migrate_connected),
6034 (gst_opt_scheduler_iterate):
6035 * testsuite/schedulers/.cvsignore:
6036 * testsuite/schedulers/Makefile.am:
6037 * testsuite/schedulers/queue_link.c: (main):
6038 Added testcase for scheduler segfault.
6039 Fix scheduler segfault when removing a decoupled
6040 entry point as the last element from a group.
6042 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6044 * gst/gstmarshal.list: add missing marshaller, fixes build
6046 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6048 * docs/random/signal: added notes about using BOXED for GstBuffer
6049 signal marshallers, not POINTER
6051 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6053 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6054 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init): more
6055 POINTER=>BOXED changes to marshal GstBuffers
6057 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6059 * gst/elements/gstidentity.c: (gst_identity_class_init): GstBuffer is
6060 a boxed type, marshal the signal with VOID__BOXED, not VOID__POINTER
6062 2004-11-03 Stefan Kost <ensonic@users.sf.net>
6064 * docs/gst/gstreamer-sections.txt:
6065 * docs/gst/tmpl/gstcaps.sgml:
6066 * docs/gst/tmpl/gsterror.sgml:
6067 * docs/gst/tmpl/gstinfo.sgml:
6068 * docs/gst/tmpl/gstmacros.sgml:
6069 * docs/gst/tmpl/gstutils.sgml:
6070 * docs/random/ensonic/interfaces.txt:
6072 added some more docs, removed two obsolete defines
6074 2004-11-02 Kjartan Maraas <as at gnome.org>
6076 reviewed by: Wim Taymans, Ronald Bultje.
6078 * gst/cothreads.c: (cothread_create):
6079 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6080 (gst_bin_child_state_change_func):
6081 * gst/gstbuffer.c: (gst_buffer_span):
6082 * gst/gstelement.c: (gst_element_get_index),
6083 (gst_element_get_event_masks), (gst_element_get_query_types),
6084 (gst_element_get_formats):
6085 * gst/gsterror.c: (_gst_core_errors_init),
6086 (_gst_library_errors_init), (_gst_resource_errors_init),
6087 (_gst_stream_errors_init):
6088 * gst/gstobject.c: (gst_object_default_deep_notify):
6089 * gst/gstpad.c: (gst_pad_get_event_masks),
6090 (gst_pad_get_internal_links_default):
6091 * gst/gstplugin.c: (gst_plugin_register_func),
6092 (gst_plugin_get_module):
6093 * gst/gststructure.c: (gst_structure_get_string),
6094 (gst_structure_get_abbrs), (gst_structure_from_abbr),
6095 (gst_structure_to_abbr):
6096 * gst/gstutils.c: (gst_print_element_args):
6097 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6098 (setup_group_scheduler), (gst_opt_scheduler_iterate):
6099 Aplied part of patch #157127: Cleanup of issues reported by
6101 Also do not try to use cothreads when there is no cothread
6104 2004-11-02 Sebastien Cote <sc5 at hermes.usherb.ca>
6106 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6107 (gst_opt_scheduler_iterate):
6108 Applied patch #154061. Running a pipeline in which an element
6109 calls GST_ELEMENT_ERROR in the chain function, the opt
6110 scheduler doesn't unref the chain so it never gets freed.
6112 2004-11-02 Wim Taymans <wim@fluendo.com>
6114 * gst/gststructure.c: (gst_structure_get_abbrs),
6115 (gst_structure_from_abbr), (gst_structure_to_abbr):
6116 Remove that ugly if-then thing in the code that converts
6117 between strings and types.
6119 2004-11-02 Wim Taymans <wim@fluendo.com>
6121 * gst/gstscheduler.c: (gst_scheduler_add_element),
6122 (gst_scheduler_remove_element), (gst_scheduler_state_transition):
6123 Aplied clock distribution patch, this should fix bug
6126 2004-10-27 Thomas Vander Stichele <thomas at apestaart dot org>
6128 Submitted by: Kjartan Maraas <kmaraas@broadpark.no>
6132 Added Norwegian Bokmaal translation
6134 2004-10-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
6136 * tools/gst-inspect.c: (print_signal_info):
6137 print signal arguments as pointers if they are
6139 2004-10-22 Stefan Kost <ensonic@users.sf.net>
6141 * docs/pwg/building-boiler.xml:
6142 exchanged GTK_ macros with G_TYPE macros (as pointed out by mathrick)
6144 2004-10-19 Wim Taymans <wim at fluendo dot com>
6146 * gst/parse/parse.l:
6147 * testsuite/parse/parse1.c: (main):
6148 Since parse can do 'element name=a:b' make 'a:b.' work as
6150 Added testcase to verify fix.
6152 2004-10-19 Wim Taymans <wim at fluendo dot com>
6154 * tools/gst-inspect.c: (print_pad_info), (print_plugin_features):
6155 Use the realpad when printing the direction.
6156 Add extra \n when printing extensions of typefind factories.
6158 2004-10-13 David Schleef <ds@schleef.org>
6160 * examples/manual/Makefile.am: $< isn't portable in Makefile
6163 2004-10-13 Stefan Kost <ensonic@users.sf.net>
6165 * docs/gst/tmpl/gstobject.sgml:
6166 * docs/gst/tmpl/gstplugin.sgml:
6167 * docs/gst/tmpl/gstpluginfeature.sgml:
6168 * docs/gst/tmpl/gstregistry.sgml:
6169 * docs/gst/tmpl/gstversion.sgml:
6171 more api documentation
6172 * gst/gstplugin.c: (gst_plugin_register_func),
6173 (gst_plugin_check_file), (gst_plugin_load_file):
6174 better error signaling and logging
6176 2004-10-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6178 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_src_query):
6179 Subtract current queue contents from position queries.
6181 2004-10-11 Johan Dahlin <johan@gnome.org>
6183 * gst/gsturi.c (gst_uri_get_location): unescape string
6184 (gst_uri_construct): escape string.
6186 2004-10-11 Benjamin Otte <otte@gnome.org>
6188 * gst/gstpad.c: (gst_pad_renegotiate), (gst_pad_try_set_caps),
6189 (gst_pad_try_set_caps_nonfixed):
6190 allow renegotiation of unconnected pads (as inside spider). Simply
6191 return OK if unconnected - mimic try_set_caps there.
6193 2004-10-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6195 * gst/gstbin.c: (gst_bin_sync_children_state):
6198 2004-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6200 * gst/elements/gstfakesrc.c: (gst_fakesrc_get):
6201 Set element to EOS before sending EOS event
6203 2004-10-08 Wim Taymans <wim at fluendo dot com>
6205 * gst/elements/gsttypefindelement.c:
6206 (gst_type_find_element_handle_event):
6207 Handle EOS events when doing the transition from
6208 typefind to data passing. This should fix the
6209 infinite loops in short files.
6211 2004-10-07 Wim Taymans <wim at fluendo dot com>
6213 * gst/gstthread.c: (gst_thread_change_state),
6214 (gst_thread_child_state_change):
6215 Make sure no iteration happens while performing
6216 the state change as it could mess up the internal
6217 consistency of the thread state.
6219 2004-10-07 Wim Taymans <wim at fluendo dot com>
6221 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_sync),
6222 (gst_thread_change_state), (gst_thread_child_state_change):
6223 Do not try to grab the iterate lock in the state change method
6224 when we are in the same thread as the iterate or else we
6225 could deadlock. Some other cleanups.
6227 2004-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
6232 === release 0.8.7 ===
6234 2004-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
6240 releasing 0.8.7, "A Cruise"
6242 2004-10-06 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
6244 * docs/random/mimetypes:
6245 Add an entry for Sony ATRAC3 audio format with mime-type
6246 used by rmdemux et riff-read
6248 2004-10-06 Wim Taymans <wim at fluendo dot com>
6250 * gst/elements/gsttypefindelement.c: (stop_typefinding):
6251 Push the buffer store instead of clearing it in case that
6252 the stream is not seekable.
6254 2004-10-06 Wim Taymans <wim at fluendo dot com>
6256 * gst/gstthread.c: (gst_thread_init), (gst_thread_change_state),
6257 (gst_thread_main_loop):
6258 Lock the iteration and the state change so that automatic
6259 negotiation and fixation does not happen at the same time
6260 as the in stream negotiation.
6262 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6267 === release 0.8.6 ===
6269 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6275 releasing 0.8.6, "Narc"
6277 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6282 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6284 patch by: Steve Lhomme
6286 * gst/elements/gstfakesrc.c:
6287 * gst/elements/gstidentity.c:
6291 2004-10-01 Wim Taymans <wim at fluendo dot com>
6293 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6294 Fix threadsafety of the crc checking function.
6296 2004-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6298 patch by: Ronald Bultje
6300 * gst/elements/gsttypefindelement.c: (stop_typefinding),
6301 (gst_type_find_element_handle_event),
6302 (gst_type_find_element_chain):
6303 * gst/elements/gsttypefindelement.h:
6305 Filter out discont event from seekable sources when typefind
6306 asks them to seek. Fixes typefind with demuxers for
6307 avi, asf and matroska.
6309 2004-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6311 * docs/gst/gstreamer-sections.txt:
6315 Revert preferred caps: (#147789)
6317 2004-09-19 Steve Lhomme <steve.lhomme@free.fr>
6322 2004-09-10 Thomas Vander Stichele <thomas at apestaart dot org>
6327 2004-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6330 * docs/manual/elements-api.xml:
6331 restructure so that common stuff is shown first
6332 * docs/manual/init-api.xml:
6334 * docs/manual/manual.xml:
6336 * docs/url.entities:
6337 link to API on the website, possibly override later in build
6338 * examples/manual/.cvsignore:
6340 * examples/manual/Makefile.am:
6342 * examples/manual/extract.pl:
6343 error out on failure
6345 2004-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
6347 * docs/gst/tmpl/gstthread.sgml:
6348 * docs/manual/init-api.xml:
6349 * examples/manual/Makefile.am:
6350 convert two code bits to examples
6352 2004-09-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6354 * gst/gstelement.c: (gst_element_change_state):
6355 Well, actually, I was about to remove this insane assert when
6356 I noticed Wim already did that. A warning is nice so we can
6357 fix actual ugs (using --g-fatal-warnings and backtraces), so
6358 I added that instead.
6360 2004-09-06 Wim Taymans <wim@fluendo.com>
6362 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
6363 (gst_element_threadsafe_properties_post_run),
6364 (gst_element_set_state), (gst_element_change_state):
6365 Added extra refcounting around various places.
6367 2004-09-06 Wim Taymans <wim@fluendo.com>
6369 * gst/gstpad.c: (gst_pad_link_call_link_functions):
6372 2004-09-06 Wim Taymans <wim@fluendo.com>
6374 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6375 (remove_from_group):
6376 Some more debug info.
6378 2004-09-03 Wim Taymans <wim@fluendo.com>
6380 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6381 (gst_fakesrc_init), (gst_fakesrc_set_clock),
6382 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6383 (gst_fakesrc_get), (gst_fakesrc_change_state):
6384 * gst/elements/gstfakesrc.h:
6385 * gst/elements/gstidentity.c: (gst_identity_class_init),
6386 (gst_identity_init), (gst_identity_chain),
6387 (gst_identity_set_property), (gst_identity_get_property),
6388 (gst_identity_change_state):
6389 * gst/elements/gstidentity.h:
6390 Added datarate properties to limit the datarate.
6392 2004-08-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
6394 * gst/autoplug/gstspider.c: (plugin_init):
6395 don't set a rank. We don't want to autoplug by inserting spiders.
6397 2004-08-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
6399 * gst/autoplug/gstspider.c: (gst_spider_class_init),
6400 (gst_spider_identity_plug):
6401 add a template for spider's sink
6402 * gst/gst.c: (gst_register_core_elements):
6403 queue's rank should be NULL, we don't want spider to add it.
6405 2004-08-18 David Schleef <ds@schleef.org>
6407 * docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331)
6408 * docs/libs/Makefile.am: same
6409 * docs/gst/tmpl/gstxml.sgml: Remove GstXMLNs
6410 * docs/random/ds/0.9-planning: random additions
6411 * docs/random/ds/0.9-suggested-changes: same
6412 * gst/gstxml.h: remove vestigal GstXMLNs definition
6414 Preferred caps: (#147789)
6415 * docs/gst/gstreamer-sections.txt: Add symbols
6416 * docs/gst/tmpl/gstcaps.sgml: Add symbols
6417 * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
6418 (gst_caps_append), (gst_caps_copy_1), (gst_caps_intersect),
6419 (gst_caps_union), (gst_caps_save_thyself), (gst_caps_load_thyself),
6420 (gst_caps_get_preferred), (gst_caps_set_preferred),
6421 (gst_caps_get_structure_by_id), (gst_caps_prefer_foreach),
6422 (gst_caps_use_preferred): Handle caps preferences
6423 * gst/gstcaps.h: Add caps preferences
6424 * gst/gstpad.c: (gst_pad_link_get_preferred),
6425 (gst_pad_link_fixate), (gst_pad_link_call_link_functions),
6426 (gst_pad_renegotiate), (gst_pad_guess_preferred),
6427 (gst_pad_get_caps), (gst_pad_push): Use caps preferences for
6430 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6432 * gst/autoplug/gstspideridentity.c:
6433 (gst_spider_identity_request_new_pad):
6434 * gst/elements/gstaggregator.c: (gst_aggregator_base_init),
6435 (gst_aggregator_init):
6436 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
6437 (gst_fakesink_init):
6438 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
6440 * gst/elements/gstfdsink.c: (gst_fdsink_base_init),
6442 * gst/elements/gstfdsrc.c: (gst_fdsrc_base_init), (gst_fdsrc_init):
6443 * gst/elements/gstfilesink.c: (gst_filesink_base_init),
6444 (gst_filesink_init):
6445 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6447 * gst/elements/gstidentity.c: (gst_identity_base_init),
6448 (gst_identity_init):
6449 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
6450 (gst_multifilesrc_init):
6451 * gst/elements/gstpipefilter.c: (gst_pipefilter_base_init),
6452 (gst_pipefilter_init):
6453 * gst/elements/gststatistics.c: (gst_statistics_base_init),
6454 (gst_statistics_init):
6455 * gst/elements/gsttee.c: (gst_tee_base_init), (gst_tee_init):
6456 * gst/gstqueue.c: (gst_queue_base_init), (gst_queue_init):
6457 s/gst_pad_new/&_from_template/
6458 register pad templates in the base_init function
6459 add static pad template definitions
6461 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6463 * testsuite/bytestream/gstbstest.c: (gst_bstest_init):
6464 * testsuite/dynparams/dparamstest.c: (gst_dptest_init):
6465 * testsuite/refcounting/pad.c: (main):
6466 * testsuite/refcounting/thread.c: (create_thread_ghostpads):
6467 s/gst_pad_new/&_from_template/
6468 prepare deprecation of gst_pad_new
6470 2004-08-17 Thomas Vander Stichele <thomas at apestaart dot org>
6472 patch by: Luca Ognibene <skaboy81@virgilio.it>
6478 fix memleaks. Fixes #150001
6480 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6482 * docs/random/ds/0.9-suggested-changes:
6483 add notes - mostly about pad templates
6485 2004-08-16 Steve Lhomme <steve.lhomme@free.fr>
6487 * win32/GStreamer.vcproj:
6488 temporary locale files are .gmo not .mo
6490 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6492 * configure.ac: bump nano to cvs
6494 === release 0.8.5 ===
6496 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6499 releasing 0.8.5, "Stuttgart"
6503 * docs/random/release:
6506 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6508 patch by: Wim Taymans (wim@fluendo.com)
6512 * libs/gst/dataprotocol/dataprotocol.c:
6513 copy KEY_UNIT and DELTA_UNIT flags correctly. Fixes #150242
6515 2004-08-13 Thomas Vander Stichele <thomas at apestaart dot org>
6519 add win32 dir to the build. Fixes #149981.
6521 2004-08-13 Thomas Vander Stichele <thomas at apestaart dot org>
6524 bump libtool versioning
6525 * gst/gststructure.c:
6526 mark function as static
6541 trademark protection
6543 2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
6547 set GST_PACKAGE to source, and distinguish between release and other
6548 * tools/gst-inspect.c:
6549 print out plugin an element factory is part of so we see this info
6551 2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
6553 * docs/gst/gstreamer-sections.txt:
6554 * docs/gst/tmpl/gstbuffer.sgml:
6555 * docs/gst/tmpl/gstschedulerfactory.sgml:
6556 reorder docs a little, make GstBuffer's more sensible.
6558 API: added GST_BUFFER_FLAG_DELTA_UNIT
6559 * gst/gstscheduler.c:
6560 comment API addition
6562 2004-08-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
6564 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
6565 work with non-regular files that can be mmapped (like /dev/zero)
6566 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
6567 get rid of typefinds that require a seek when we can't seek instead
6568 of trying them over and over again
6569 * tools/gst-launch.c: (idle_func), (error_cb), (main):
6570 return non-zero failure value when the pipeline was interrupted or
6573 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
6576 * win32/GStreamer.vcproj:
6577 compile and install the locales
6579 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
6582 fix a possible memory leak under Windows
6584 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
6586 * win32/GStreamer.vcproj:
6587 fix a memory leak that occured under Windows
6588 * win32/gstreamer.def:
6589 add gst_scheduler_register
6591 2004-08-11 Benjamin Otte <otte@gnome.org>
6593 * docs/gst/gstreamer-sections.txt:
6594 * gst/gstscheduler.c: (gst_scheduler_register):
6595 * gst/gstscheduler.h:
6597 add gst_scheduler_register shortcut similar to gst_element_register
6598 * gst/schedulers/entryscheduler.c: (plugin_init):
6599 * gst/schedulers/gstbasicscheduler.c: (plugin_init):
6600 * gst/schedulers/gstoptimalscheduler.c: (plugin_init):
6603 2004-08-10 Steve Lhomme <steve.lhomme@free.fr>
6606 fix a memory leak that occured under Windows
6608 2004-08-10 Colin Walters <walters@redhat.com>
6610 * gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):
6611 Don't use O_EXCL to open temporary registry. It will prevent
6612 registry creation if a temporary one already exists, which
6615 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
6617 * docs/gst/gstreamer-sections.txt:
6618 * docs/gst/tmpl/gstvalue.sgml:
6619 remove some valuable stuff from the documentation due to the use of GST_EXPORT
6621 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
6623 * win32/gstbytestream.vcproj:
6624 * win32/gstelements.vcproj:
6625 * win32/gstgetbits.vcproj:
6626 * win32/gst-inspect.vcproj:
6627 * win32/gst-launch.vcproj:
6628 * win32/gstoptimalscheduler.vcproj:
6629 * win32/GStreamer.vcproj:
6630 * win32/gst-register.vcproj:
6631 * win32/gstspider.vcproj:
6632 update the include and lib dirs to fit standard libraries as
6633 described in the Win32 manual
6635 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
6638 * win32/gstversion.h:
6639 enable NLS again, push the version number for the coming 0.8.5 release
6641 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
6644 export gst_type_XXX for windows DLLs
6646 2004-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6648 * docs/faq/gst-uninstalled:
6649 fix PKG_CONFIG_PATH and PYTHONPATH
6650 * gst/schedulers/Makefile.am:
6652 * libs/gst/bytestream/bytestream.c:
6656 adding Albanian translation (Laurent Dhima)
6660 2004-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6664 updated translations
6666 2004-08-04 Benjamin Otte <otte@gnome.org>
6668 * tests/mass_elements.c: (main):
6669 allow specifying src and sink element explicitly, so I can test
6670 videotestsrc instead of fakesrc
6672 2004-08-04 Benjamin Otte <otte@gnome.org>
6674 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
6675 (gst_structure_id_empty_new), (gst_structure_empty_new),
6676 (gst_structure_copy):
6677 add gst_structure_id_empty_new_with_size to allow preallocating
6678 value array sizes. Use this in gst_structure_copy to get rid of
6680 don't do quark=>string=>quark when copying structures
6682 2004-08-03 Steve Lhomme <steve.lhomme@free.fr>
6684 * docs/manual/win32.xml:
6686 update documentation with the clean version of dependencies
6688 2004-08-03 Benjamin Otte <otte@gnome.org>
6690 * gst/schedulers/entryscheduler.c:
6691 (gst_entry_scheduler_remove_element):
6692 fix for GST_DISABLE_DEBUG
6693 * tools/gst-launch.c: (print_tag):
6694 fixes for G_DISABLE_ASSERT
6696 2004-08-03 Benjamin Otte <otte@gnome.org>
6698 * gst/gst.c: (gst_register_core_elements):
6699 fix for G_DISABLE_ASSERT
6700 * gst/gstinfo.c: (__gst_in_valgrind):
6701 add for GST_DISABLE_DEBUG
6703 2004-08-03 Benjamin Otte <otte@gnome.org>
6705 * gst/parse/parse.l:
6706 fix for G_DISABLE_ASSERT
6708 2004-08-03 Wim Taymans <wim@fluendo.com>
6710 * gst/gstbin.c: (gst_bin_get_type),
6711 (gst_bin_child_state_change_func):
6712 * gst/gstthread.c: (gst_thread_change_state):
6713 Backported some debug logging from a reverted patch
6714 Don't try to destroy the thread twice. Added some more
6715 debugging in GstThread. Unlock and signal even if we
6716 are in the thread context.
6718 2004-08-03 Thomas Vander Stichele <thomas at apestaart dot org>
6723 2004-07-30 David Schleef <ds@schleef.org>
6725 * gst/gstatomic_impl.h: Enable atomic code for x86_64
6727 2004-07-29 David Schleef <ds@schleef.org>
6729 * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test):
6730 Use GST_READ_GUINTxx_BE(), since it accesses unaligned memory.
6732 2004-07-29 Thomas Vander Stichele <thomas at apestaart dot org>
6734 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
6735 (gst_bin_add_func), (gst_bin_remove_func),
6736 (gst_bin_child_state_change), (gst_bin_child_state_change_func),
6737 (set_kid_state_func), (gst_bin_change_state), (gst_bin_set_state),
6738 (gst_bin_change_state_norecurse), (gst_bin_dispose),
6739 (gst_bin_sync_children_state):
6741 * gst/gstthread.c: (gst_thread_class_init), (gst_thread_release),
6742 (gst_thread_change_state):
6743 * testsuite/states/Makefile.am:
6744 revert state change patches as agreed so we can rework them
6747 2004-07-29 Benjamin Otte <otte@gnome.org>
6749 * libs/gst/control/Makefile.am:
6750 link to libgstreamer (fixes Debian bug 262019, see
6751 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262019 )
6753 2004-07-29 Wim Taymans <wim@fluendo.com>
6755 * testsuite/caps/fraction-convert.c: (check_from_double_convert),
6756 (check_from_fraction_convert), (transform_test), (main):
6757 Make the test less pedantic about float roundoff errors.
6759 2004-07-29 Benjamin Otte <otte@gnome.org>
6761 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file),
6762 (gst_filesrc_srcpad_event):
6763 make seek events to before start/after end of file not fail, but
6764 seek to start/end instead
6765 * testsuite/caps/fraction-convert.c: (check_from_double_convert):
6768 2004-07-29 Benjamin Otte <otte@gnome.org>
6770 * gst/gstpad.c: (gst_pad_set_explicit_caps):
6771 check that caps are fixed
6772 * gst/gstpad.c: (gst_pad_template_new):
6773 don't try to simplify caps, costs too much time on gst_init
6774 * gst/gstplugin.c: (gst_plugin_add_feature):
6775 G_ERROR if features are added twice
6776 * gst/gsttypefind.c: (gst_type_find_register):
6777 * gst/gstelementfactory.c: (gst_element_register):
6778 don't add features twice
6779 * docs/random/ds/0.9-suggested-changes:
6780 add note about possible gst_init optimization
6782 2004-07-28 David Schleef <ds@schleef.org>
6784 * testsuite/elements/Makefile.am:
6785 * testsuite/elements/struct_i386.h:
6786 * testsuite/elements/struct_size.c: (main): A little test
6787 to keep distcheck from working if someone changes a structure
6790 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
6792 * docs/libs/Makefile.am:
6793 * docs/libs/gstreamer-libs-docs.sgml:
6794 * docs/libs/gstreamer-libs-sections.txt:
6795 * docs/libs/tmpl/gstbytestream.sgml:
6796 * docs/libs/tmpl/gstcontrol.sgml:
6797 * docs/libs/tmpl/gstdataprotocol.sgml:
6798 * docs/libs/tmpl/gstgetbits.sgml:
6799 * libs/gst/bytestream/Makefile.am:
6800 * libs/gst/bytestream/bytestream.c:
6801 * libs/gst/bytestream/bytestream.h:
6802 * libs/gst/control/Makefile.am:
6803 * libs/gst/dataprotocol/Makefile.am:
6804 * libs/gst/getbits/Makefile.am:
6805 * libs/gst/getbits/getbits.h:
6806 various doc and style fixes, adding bytestream to libs docs.
6808 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
6810 * docs/gst/gstreamer-docs.sgml:
6811 * docs/libs/Makefile.am:
6812 * docs/libs/gstreamer-libs-docs.sgml:
6813 * docs/libs/gstreamer-libs-sections.txt:
6814 * libs/gst/control/dparam.c:
6815 more doc fixes. gst-libs docs now build the same way as gst.
6817 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
6820 * testsuite/Makefile.am:
6821 * testsuite/bins/Makefile.am:
6822 * testsuite/caps/Makefile.am:
6823 * testsuite/cleanup/Makefile.am:
6824 * testsuite/clock/Makefile.am:
6825 * testsuite/debug/Makefile.am:
6826 * testsuite/dlopen/Makefile.am:
6827 * testsuite/dynparams/Makefile.am:
6828 * testsuite/elements/.cvsignore:
6829 * testsuite/elements/Makefile.am:
6830 * testsuite/enumcaps/Makefile.am:
6831 * testsuite/enumcaps/enumcaps.c:
6832 * testsuite/ghostpads/Makefile.am:
6833 * testsuite/indexers/Makefile.am:
6834 * testsuite/negotiation/Makefile.am:
6835 * testsuite/parse/Makefile.am:
6836 * testsuite/plugin/Makefile.am:
6837 * testsuite/refcounting/Makefile.am:
6838 * testsuite/schedulers/.cvsignore:
6839 * testsuite/states/Makefile.am:
6840 * testsuite/tags/Makefile.am:
6841 * testsuite/threads/Makefile.am:
6842 fold enumcaps into caps dir
6843 clean up Makefile.am's for testsuite
6845 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
6847 * docs/gst/Makefile.am:
6848 * docs/libs/Makefile.am:
6849 clean up docs build. Fixes needless rebuilding of template files.
6851 2004-07-28 Wim Taymans <wim@fluendo.com>
6853 * gst/gstbin.c: (set_kid_state_func), (gst_bin_set_state):
6854 * gst/gstthread.c: (gst_thread_release), (gst_thread_set_state):
6855 Make sure that a bin state change tries to keep the children
6857 Added debug logging to the thread.
6859 2004-07-27 Steve Lhomme <steve.lhomme@free.fr>
6861 * win32/GStreamer.vcproj:
6862 * win32/gstreamer.def:
6863 more exports for the plugins
6865 2004-07-27 Steve Lhomme <steve.lhomme@free.fr>
6867 * win32/gstgetbits.vcproj:
6868 * win32/gstgetbits.def:
6870 add support for the getbits plugin
6872 2004-07-27 Wim Taymans <wim@fluendo.com>
6874 * gst/gstvalue.c: (gst_value_transform_double_fraction),
6875 (gst_value_transform_fraction_double), (_gst_value_initialize):
6876 * testsuite/caps/Makefile.am:
6877 * testsuite/caps/fraction-convert.c: (check_from_double_convert),
6878 (check_from_fraction_convert), (transform_test), (main):
6879 Added transform functions between double and fraction.
6880 Added testcase to verify transforms
6882 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
6884 * win32/GStreamer.vcproj:
6885 rename GStreamer-0.8.lib to libgstreamer.lib
6887 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
6889 * win32/gstelements.vcproj:
6890 * win32/gstoptimalscheduler.vcproj:
6891 fixes for the Release build
6893 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
6896 update the version number
6898 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
6900 * win32/GStreamer.vcproj:
6901 add gstinterface to the build
6903 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
6905 * win32/gstreamer.def:
6906 add many definitions needed by plugins,
6907 GST_CAT_DEFAULT only available in the Debug build ?
6909 2004-07-26 Thomas Vander Stichele <thomas at apestaart dot org>
6911 * gst/gstelement.c: (gst_element_set_eos_recursive):
6912 various whitespace fixes.
6913 doc fix, fixes #148497
6915 2004-07-25 Benjamin Otte <otte@gnome.org>
6917 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
6918 don't delay links on the sink elements, it causes unnegotiated
6920 * gst/elements/gsttypefindelement.c:
6921 (gst_type_find_element_base_init):
6922 add our padtemplates, we indeed do have some.
6923 * gst/elements/gsttypefindelement.c:
6924 (gst_type_find_element_handle_event),
6925 (gst_type_find_element_chain):
6926 don't push data when typefinding failed.
6927 * gst/gstpad.c: (gst_pad_link_fixate):
6928 check that no fixate function returns empty caps.
6929 * gst/gstpad.c: (gst_pad_push):
6930 check that the link is negotiated before data gets pushed.
6931 * tools/gst-register.c: (main):
6932 don't assert (fixes #148283)
6934 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
6936 * docs/gst/gstreamer-sections.txt:
6937 * docs/gst/tmpl/gstconfig.sgml:
6938 add GST_PLUGIN_EXPORT definition
6940 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
6943 * gst/gstconfig.h.in:
6944 * win32/gstconfig.h:
6945 * win32/gstelements.def:
6946 * win32/gstelements.vcproj:
6947 * win32/gstoptimalscheduler.def:
6948 * win32/gstoptimalscheduler.vcproj:
6949 * win32/gstspider.def:
6950 * win32/gstspider.vcproj:
6951 remove unused .def files and export symbols using GST_PLUGIN_DEFINE
6953 2004-07-25 Thomas Vander Stichele <thomas at apestaart dot org>
6955 * docs/gst/gstreamer-sections.txt:
6956 remove GST_CAT_DEFAULT because the type has changed
6958 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
6960 * win32/gstbytestream.vcproj:
6961 * win32/gstelements.vcproj:
6962 * win32/gst-inspect.vcproj:
6963 * win32/gst-launch.vcproj:
6964 * win32/gstoptimalscheduler.vcproj:
6965 * win32/GStreamer.vcproj:
6966 * win32/gst-register.vcproj:
6967 * win32/gstspider.vcproj:
6969 Copy the files where needed after building, The testsuite will be
6972 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
6976 * docs/manual/win32.xml:
6977 Fixed the plugin and GStreamer location
6979 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
6981 * win32/gstreamer.def:
6982 More exports for the plugins
6984 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
6987 Marc was right, we need to export literally GST_CAT_DEFAULT
6989 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
6992 NLS crashes in gettext, disabled until this is solved
6994 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
6996 * win32/gst-inspect.vcproj:
6997 * win32/gst-launch.vcproj:
6998 Should use NLS when available
7000 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7002 * gst/registries/gstxmlregistry.c:
7003 removing the file doesn't seem to be a good idea on Linux
7005 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7007 * gst/registries/gstxmlregistry.c:
7008 Remove the registry before renaming the tempfile (needed for Windows)
7010 2004-07-23 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7012 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init),
7013 (gst_multifilesrc_init), (gst_multifilesrc_set_property),
7014 (gst_multifilesrc_get_property), (gst_multifilesrc_get):
7015 * gst/elements/gstmultifilesrc.h:
7016 Added newmedia property so it generates newmedia events between each
7017 file when property is set, as well as fixed eos handling
7019 2004-07-22 David Schleef <ds@schleef.org>
7021 * gst/gststructure.c: (gst_structure_id_empty_new),
7022 (gst_structure_empty_new): Set type field correctly.
7023 * gst/gststructure.h: Check type field correctly.
7024 * testsuite/caps/Makefile.am:
7025 * testsuite/caps/structure.c: (test1), (main): Add a very small
7026 test for structures.
7028 2004-07-22 David Schleef <ds@schleef.org>
7030 * docs/random/ds/0.9-suggested-changes: more comments
7031 * tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
7033 2004-07-22 Benjamin Otte <otte@gnome.org>
7035 * gst/gstelementfactory.c: (gst_element_register):
7036 set the factory in the class struct, so gst_element_get_factory
7038 * gst/parse/grammar.y:
7039 set element to playing when it gets unlocked as we can't rely on the
7040 bin state - all elements in the bin state might still be locked in
7043 2004-07-22 Benjamin Otte <otte@gnome.org>
7045 * gst/gstelement.c: (gst_element_set_state_func):
7046 make this a static function
7048 2004-07-22 Wim Taymans <wim@fluendo.com>
7050 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
7051 (gst_opt_scheduler_pad_link):
7052 fix 147894-2 and the group_link problem.
7054 2004-07-22 Wim Taymans <wim@fluendo.com>
7056 * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
7057 (handoff_identity), (main):
7058 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7059 (handoff_identity), (main):
7060 * testsuite/schedulers/Makefile.am:
7061 * testsuite/schedulers/group_link.c: (main):
7062 Show bug in scheduler when linking chain and loop based element
7063 where the chain based element was not yet in a group.
7065 2004-07-21 Benjamin Otte <otte@gnome.org>
7068 * gst/autoplug/.cvsignore:
7069 * gst/elements/.cvsignore:
7070 * gst/indexers/.cvsignore:
7071 * libs/gst/bytestream/.cvsignore:
7072 * libs/gst/control/.cvsignore:
7073 * libs/gst/getbits/.cvsignore:
7074 * testsuite/states/.cvsignore:
7075 * testsuite/threads/.cvsignore:
7076 keep this up to date, since I seem to be the only one who cares
7077 about not missing files on commits (editor's note: no you don't,
7078 but feel free to change them at the time you add stuff instead
7081 2004-07-21 Benjamin Otte <otte@gnome.org>
7083 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
7084 (gst_bin_fix_state), (gst_bin_add_func), (gst_bin_remove_func),
7085 (gst_bin_child_state_change_func), (set_kid_state_func),
7086 (gst_bin_set_state), (gst_bin_change_state_norecurse):
7087 make state changes work correctly and reentrant (so removing
7088 elements from bins during state changes of bins doesn't cause
7089 segfaults or even wrong states)
7090 add debugging category and debugging output to print children states
7091 * gst/gstbin.c: (gst_bin_dispose):
7092 add some assertion checks
7094 * gst/gstbin.c: (gst_bin_sync_children_state):
7095 deprecate this function - it just does gst_bin_set_state (bin,
7097 * testsuite/threads/queue.c: (main):
7098 don't use gst_bin_sync_children_state anymore
7099 * testsuite/states/Makefile.am:
7100 * testsuite/states/bin.c:
7101 test that the state changes of bins work as expected
7102 * gst/gstthread.c: (gst_thread_class_init), (gst_thread_set_state):
7103 some adjustments to change states correctly, too
7104 * gst/gstthread.c: (gst_thread_change_state):
7105 don't enable/disable "threadsafe" properties, they're unused and
7106 cause random segfaults
7107 * testsuite/threads/Makefile.am:
7108 the queue check randomly passes now, ignore it
7110 2004-07-21 Benjamin Otte <otte@gnome.org>
7113 check if data is NULL before outputting debug info. (fixes #145100)
7115 2004-07-21 Benjamin Otte <otte@gnome.org>
7117 * gst/schedulers/entryscheduler.c:
7118 (gst_entry_scheduler_loop_wrapper),
7119 (gst_entry_scheduler_chain_wrapper),
7120 (gst_entry_scheduler_get_wrapper):
7121 reset the state when the cothread starts, so we don't get assertion
7122 failures on restarting of cothreads
7124 2004-07-20 Benjamin Otte <otte@gnome.org>
7126 * gst/gstelement.c: (gst_element_link_pads_filtered):
7127 use correct sinkpad, if only sinkpad is specified, but not srcpad
7129 * gst/gstelement.c: (gst_element_set_state_func),
7130 (gst_element_change_state): ref/unref the element, signal handlers
7131 could get rid of the element otherwise
7133 2004-07-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
7135 * docs/random/ds/0.9-suggested-changes:
7136 Make note about renaming fixed-list to array.
7137 * gst/gstvalue.c: (gst_value_intersect_fixed_list),
7138 (_gst_value_initialize):
7139 Add array intersections.
7140 * testsuite/caps/intersect2.c: (main):
7141 Add test for array intersections.
7143 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7145 * configure.ac: back to cvs
7147 === release 0.8.4 ===
7149 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7152 releasing 0.8.4, "Paella"
7153 bump libtool versioning
7155 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7159 adding Catalan translation (Jordi Mallach)
7161 2004-07-20 Wim Taymans <wim@fluendo.com>
7163 * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
7164 (handoff_identity), (main):
7165 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7166 (handoff_identity), (main):
7167 * testsuite/schedulers/Makefile.am:
7168 Added failing testcase for variant of #147894
7170 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7172 patch by: David Moore
7174 * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
7175 (schedule_group), (gst_opt_scheduler_schedule_run_queue),
7176 (group_migrate_connected):
7177 * testsuite/schedulers/Makefile.am:
7178 fix for #142813 (Deadlock in optimal scheduler)
7180 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7182 patch by: Wim Taymans
7184 * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
7185 (gst_opt_scheduler_schedule_run_queue),
7186 (gst_opt_scheduler_get_wrapper), (get_group),
7187 (group_migrate_connected):
7188 * testsuite/schedulers/Makefile.am:
7189 fix for #147819 (Add some checks in the opt scheduler)
7191 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7193 patch by: Benjamin Otte
7195 * gst/gstelementfactory.c: (__gst_element_details_set):
7196 fix for #147929: running gst-register in non-utf8 locale can cause
7199 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7201 patch by: Wim Taymans
7203 * gst/schedulers/gstoptimalscheduler.c: (group_num_elements),
7204 (group_has_element), (element_get_reachables_func),
7205 (group_migrate_connected):
7206 fix for #147894 (opt scheduler decoupled elements mismanagement)
7207 * testsuite/schedulers/Makefile.am:
7208 testsuite app now passes
7210 2004-07-19 Wim Taymans <wim@fluendo.com>
7212 * testsuite/schedulers/147819.c: (handoff_identity1),
7213 (handoff_identity2), (main):
7214 * testsuite/schedulers/Makefile.am:
7215 Added testcase for bug 147819
7217 2004-07-19 Wim Taymans <wim@fluendo.com>
7219 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7220 (handoff_identity), (main):
7221 * testsuite/schedulers/Makefile.am:
7222 Added testcase for bug 147894
7224 2004-07-16 Wim Taymans <wim@fluendo.com>
7226 * testsuite/schedulers/142183-2.c: (handoff_identity), (main):
7227 * testsuite/schedulers/142183.c: (handoff_identity), (main):
7228 * testsuite/schedulers/Makefile.am:
7229 Added testsuite for bug 142183 in its two incarnations. Refcount
7230 is not increased for scheduled elements and threadsafe properties
7231 mutexes are not properly unlocked.
7233 2004-07-16 Wim Taymans <wim@fluendo.com>
7235 * gst/schedulers/gstoptimalscheduler.c: (gst_opt_scheduler_init),
7236 (create_chain), (destroy_chain), (create_group), (destroy_group),
7237 (add_to_group), (merge_groups), (group_elements), (group_inc_link),
7238 (group_dec_link), (gst_opt_scheduler_pad_link),
7239 (group_inc_links_for_element), (group_migrate_connected):
7240 Call group_inc_link with the proper src->sink ordering --
7241 break this, and we break sort_chain. patch from wingo for bug
7243 Partially revert patch 1.89. When adding a loop based element to
7244 the scheduler, the links to other groups are automatically followed
7245 and incremented. This should not happen because the bin will call
7246 pad_link explicitly for those connection, resulting in them counted
7247 twice. Results in assertion failure on pipeline cleanup.
7249 2004-07-16 Wim Taymans <wim@fluendo.com>
7251 * testsuite/schedulers/143777-2.c: (main):
7252 * testsuite/schedulers/147713.c: (handoff_src), (handoff_sink),
7254 * testsuite/schedulers/Makefile.am:
7255 Added cleanup code to testcase 143777-2.
7256 Added testcase to show bug 147713, does not really show the
7257 deadlock as I can't figure out how to trigger it, but it does
7258 demonstrate bad ordering in the scheduler.
7260 2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
7262 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7263 change strndup to g_strndup. Fixes #147707
7265 2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
7277 updated translations
7279 2004-07-16 Benjamin Otte <otte@gnome.org>
7281 * gst/gstvalue.c: (gst_greatest_common_divisor):
7282 use ints and return ints, fractions only use ints, too, so this
7283 avoids accidently casting multiplications to unsigned
7284 (gst_value_lcopy_fraction): it's ints, not uint32
7285 (gst_value_set_fraction): disallow minint, multiplying and negation
7287 (gst_value_fraction_multiply): fix to make large numbers work and get
7288 rid of the assumption that the multiplication of two ints fits an
7289 int64 - dunno if that's true for all systems
7290 * testsuite/caps/Makefile.am:
7291 * testsuite/caps/fraction-multiply-and-zero.c:
7292 (check_multiplication), (check_equal), (zero_test), (main):
7293 add tests for all the stuff above
7294 * testsuite/caps/value_compare.c: (test1):
7297 * testsuite/caps/.cvsignore:
7298 * testsuite/debug/.cvsignore:
7299 * testsuite/dlopen/.cvsignore:
7300 * testsuite/states/.cvsignore:
7303 2004-07-16 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7305 * docs/manual/bins-api.xml:
7306 * docs/manual/factories.xml:
7307 * docs/manual/helloworld.xml:
7308 * docs/manual/links-api.xml:
7309 fixes for out of date info, incorrect info and grammar
7311 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7313 * docs/manual/pads.xml:
7314 * docs/manual/pads-api.xml: grammar fix
7316 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7318 * docs/manual/pads-api.xml: typo + grammar fix
7320 2004-07-15 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * docs/gst/gstreamer-sections.txt:
7324 * docs/gst/tmpl/gstelement.sgml:
7325 * docs/gst/tmpl/gstpad.sgml:
7326 * docs/gst/tmpl/gsttypes.sgml:
7327 * docs/gst/tmpl/gstvalue.sgml:
7329 * gst/gststructure.c: (gst_structure_set_valist),
7330 (gst_structure_from_abbr), (gst_structure_to_abbr):
7331 * gst/gstvalue.c: (gst_value_compare_double), (gst_type_is_fixed),
7332 (gst_greatest_common_divisor), (gst_value_init_fraction),
7333 (gst_value_copy_fraction), (gst_value_collect_fraction),
7334 (gst_value_lcopy_fraction), (gst_value_set_fraction),
7335 (gst_value_get_fraction_numerator),
7336 (gst_value_get_fraction_denominator),
7337 (gst_value_fraction_multiply), (gst_value_serialize_fraction),
7338 (gst_value_deserialize_fraction),
7339 (gst_value_transform_fraction_string),
7340 (gst_value_transform_string_fraction),
7341 (gst_value_compare_fraction), (_gst_value_initialize):
7343 adding GstFraction GValue type, get/set, and multiply
7344 * testsuite/caps/Makefile.am:
7345 * testsuite/caps/fraction.c: (test), (main):
7346 * testsuite/caps/string-conversions.c: (main):
7347 * testsuite/caps/value_compare.c: (test1), (main):
7348 add regression tests for GstFraction
7350 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7352 * docs/manual/init-api.xml: Grammar fix
7354 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7356 * docs/manual/states.xml: Fix inconsistent information
7358 2004-07-15 Thomas Vander Stichele <thomas at apestaart dot org>
7360 * gst/gstelement.c: (gst_element_set_state):
7361 * gst/gstpad.c: (gst_pad_try_set_caps):
7362 * gst/gststructure.c:
7363 * gst/gstthread.c: (gst_thread_child_state_change):
7364 * gst/gstvalue.c: (gst_value_compare_double):
7366 * testsuite/parse/parse1.c: (main):
7367 debugging additions and style cleanups
7369 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7371 * docs/manual/states.xml: Grammar fix
7373 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7375 * docs/manual/pads.xml: Grammar fix
7377 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7379 * docs/manual/elements.xml: Fixed image reference
7381 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7383 * docs/manual/goals.xml: Grammar fix
7385 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7387 * docs/manual/motivation.xml:
7388 Bonobo is no longer "emerging" and added sentence regarding tcp plugins
7390 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7392 * docs/manual/motivation.xml: Fix spelling
7394 2004-07-15 Benjamin Otte <otte@gnome.org>
7397 Don't GST_ERROR_OBJECT empty strings - Solaris doesn't like NULL
7399 * gst/gstelement.c (gst_element_class_init):
7400 GError's are boxed, not objects
7401 * gst/gstmarshal.list:
7402 update list for the fixed error signal
7404 2004-07-14 Andy Wingo <wingo@pobox.com>
7406 * gst/gsttag.c: Add a tag merge func for pointers. The header was
7407 there all along, but the function wasn't. (guile-gstreamer's build
7408 system uses the address of the function -- I wasn't actually
7409 trying to use this.)
7411 2004-07-14 Andy Wingo <wingo@pobox.com>
7413 * gst/gstpad.c (gst_pad_try_set_caps): Naive link functions (such
7414 as gst_pad_proxy_pad_link) just link to every other pad when they
7415 are called. In the case where the graph has cycles, this will mean
7416 that a call to try_set_caps will recurse. Allow this recursion
7417 and return OK, while we wait for the first try_set_caps to give a
7418 proper return value.
7419 (gst_pad_link_call_link_functions): Since this function is the
7420 only one to set the NEGOTIATING flag on a pad, if the flag is set
7421 it means that the link functions have indirectly recursed. If this
7422 happens, error out to avoid infinite recursion and an eventual
7424 (gst_real_pad_class_init): Remove a crufty GtkObject comment.
7425 (gst_pad_proxy_getcaps): Intersect the result with the template
7426 caps to ensure that the return value is valid.
7428 2004-07-14 Andy Wingo <wingo@pobox.com>
7430 * gst/gstdata.c (gst_data_is_writable): s/>=/>/. If there is only
7431 one refcount, the calling function is the owner of the buffer.
7433 2004-07-14 Wim Taymans <wim@fluendo.com>
7435 * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
7436 (gst_opt_scheduler_pad_link), (group_migrate_connected):
7437 Fix stupid warning when an element is to be migrated but
7438 is already migrated.
7440 2004-07-14 Wim Taymans <wim@fluendo.com>
7442 * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
7443 (gst_opt_scheduler_pad_link), (group_migrate_connected):
7444 Make sure that a single non-loop-based element does not
7445 end up in a group. This fixes the testsuite again.
7447 2004-07-14 Wim Taymans <wim@fluendo.com>
7449 * gst/schedulers/gstoptimalscheduler.c: (create_group),
7450 (add_to_group), (merge_groups), (schedule_group),
7451 (gst_opt_scheduler_get_wrapper), (group_elements),
7452 (group_dec_link), (gst_opt_scheduler_pad_link),
7453 (group_migrate_connected), (gst_opt_scheduler_pad_unlink),
7454 (gst_opt_scheduler_iterate):
7455 move isolated groups to a new chain.
7456 Emit a warning instead of segfaulting in some error cases.
7457 Fix a bug where the link count between groups was not calculated
7458 correctly. Fixes #144510.
7460 2004-07-13 Steve Lhomme <steve.lhomme@free.fr>
7461 * gst/elements/gstfilesrc.c:
7462 Binary files support under Windows now OK
7464 2004-07-13 Benjamin Otte <otte@gnome.org>
7466 compatibility fixes for Solaris 8/gcc 2.95
7468 include libintl libs in LDFLAGS
7469 * gstvalue.c (gst_value_deserialize_buffer):
7470 cast isxdigit stuff to int to silence compiler warning
7472 2004-07-12 Benjamin Otte <otte@gnome.org>
7475 get rid of GST_O_READONLY, GST_FILE_MODE_READ and
7476 GST_FILE_MODE_WRITE, I don't want them in the exported headers. It
7477 just causes support madness
7478 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
7479 make it work without this
7480 * gst/indexers/gstfileindex.c: (_file_index_id_save_entries),
7481 (gst_file_index_commit):
7482 glib IO channels don't want binary mode
7483 * testsuite/bytestream/filepadsink.c: (main):
7484 * testsuite/bytestream/test1.c: (read_param_file):
7485 use "rb" instead of GST_FILE_MODE_READ, it works on POSIX systems
7487 2004-07-12 Benjamin Otte <otte@gnome.org>
7489 * gst/gstelement.c: (gst_element_class_init),
7490 (gst_element_set_state), (gst_element_set_state_func):
7491 virutalize gst_element_set_state, use set_state member in class
7492 struct that was already added in 0.7 for this.
7493 * gst/gstbin.c: (gst_bin_foreach), (set_kid_state_func),
7494 (gst_bin_change_state):
7495 make gst_bin_foreach works similar to other foreach functions, plug
7496 memleaks in it. Make functions using it work with the new approach.
7497 Document gst_bin_foreach, so it can be exported if we want to
7498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_state):
7499 use virtualized set_state to make set_state on bins set the state of
7502 2004-07-12 Benjamin Otte <otte@gnome.org>
7505 require valgrind >= 2.1 (fixes Gentoo bug 53967, see
7506 http://bugs.gentoo.org/show_bug.cgi?id=53967)
7507 * gst/gstpad.c: (gst_pad_alloc_buffer):
7508 allow buffer_alloc functions to return NULL and allocate a normal
7511 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
7512 * gst/elements/gstfilesink.c:
7513 * gst/elements/gstfilesrc.c:
7514 * gst/indexers/gstfileindex.c:
7516 * testsuite/bytestream/filepadsink.c:
7517 * testsuite/bytestream/test1.c:
7518 Handle binary files under Windows
7520 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
7521 * docs/manual/win32.xml:
7523 * win32/gst-register.vcproj:
7524 * win32/gstreamer.def:
7525 Update to another gettext public build
7527 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
7529 Fix an impossible C syntax
7531 Disable i18n under Windows for the moment
7532 * win32/gst-register.vcproj:
7533 Use this configuration
7535 2004-07-12 Jan Schmidt <thaytan@mad.scientis.com>
7536 * docs/manual/quotes.xml:
7537 Keep the quotes file alive
7538 * docs/random/ds/0.9-suggested-changes:
7539 Add the suggestion of including a 'rowstride' as part of video
7542 2004-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7544 * gst/gstelement.c: (gst_element_set_state),
7545 (gst_element_change_state):
7546 d'oh. Set PENDING state correctly before forcing bin to change.
7547 * gst/gststructure.c: (gst_structure_value_get_generic_type),
7548 (gst_structure_parse_fixed_list):
7549 * gst/schedulers/gstoptimalscheduler.c:
7550 (gst_opt_scheduler_state_transition):
7551 * testsuite/states/parent.c: (main):
7552 remove comment now that it's fixed.
7554 2004-07-11 Benjamin Otte <otte@gnome.org>
7557 GST_SECOND shouldn't cause a conversion to unsigned.
7558 * testsuite/clock/.cvsignore:
7559 * testsuite/clock/Makefile.am:
7560 * testsuite/clock/signedness.c: (main):
7561 make sure it never will again
7563 2004-07-11 Andy Wingo <wingo@pobox.com>
7565 * gst/gstbin.c (gst_bin_add_func): If we're adding an element
7566 whose state is higher than the bin state, raise the bin state to
7567 ensure that bin state := highest child state.
7569 2004-07-11 Andy Wingo <wingo@pobox.com>
7571 * gst/gstbin.c (gst_bin_foreach): New static function. Calls a
7572 procedure on the children of a bin. Assumes that the procedure can
7573 change the set of children.
7574 (set_kid_state_func): New static function.
7575 (gst_bin_change_state): Use gst_bin_foreach to call
7576 set_kid_state_func. Fixes a bug: if a child had a state-change
7577 handler that removes it from the bin, there would be a segfault.
7578 Hopefully it should also work in the case where the state-change
7579 handler on one child adds or removes other children. In any case,
7580 fixes should go to gst_bin_foreach.
7582 2004-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7584 * gst/gstelement.c: (gst_element_set_state):
7585 compatibility fix for latest plugins release. Change loop back
7588 2004-07-09 Wim Taymans <wim@fluendo.com>
7590 * gst/gstbin.c: (gst_bin_remove), (gst_bin_dispose):
7591 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_catch),
7592 (gst_thread_main_loop):
7593 Since remove is virtual in GstBin we must not assume the
7594 elements GList to have anothing useful.
7595 Add some more logging to GstThread and be a bit more paranoid
7596 when resetting the scheduler.
7597 Set the state of the bin to NULL before removing the children.
7599 2004-07-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7601 * testsuite/threads/Makefile.am:
7602 * testsuite/threads/threadg.c:
7603 added test to check if problem when removing all elements from a
7604 GstThread before setting GstThread state to NULL
7606 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7608 * docs/gst/tmpl/gstelement.sgml:
7609 * docs/gst/tmpl/gsttypes.sgml:
7610 * gst/gstbin.c: (gst_bin_change_state):
7611 * gst/gstelement.c: (gst_element_set_state),
7612 (gst_element_change_state):
7613 rework so that for bins we try to set the state on all children
7614 as well even if the bin is in the correct state already.
7615 change while to do so at least one iteration is done.
7616 For regular elements, we fall back to the previous behaviour for
7617 now since we first need a new plugins release.
7618 * testsuite/states/parent.c: (main):
7622 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7624 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_finalize),
7625 (gst_queue_chain), (gst_queue_get), (gst_queue_handle_src_event),
7626 (gst_queue_release_locks), (gst_queue_change_state),
7627 (gst_queue_set_property):
7628 add proper lock debugging. Change dispose to finalize, since
7629 we're freeing mutexes and other stuff which should happen only once.
7631 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7633 * docs/gst/tmpl/gstelement.sgml:
7634 * docs/gst/tmpl/gstplugin.sgml:
7635 * docs/gst/tmpl/gsttypes.sgml:
7636 * docs/pwg/building-state.xml:
7637 * gst/elements/gstfakesrc.c: (gst_fakesrc_change_state):
7638 * gst/gstelement.c: (gst_element_change_state):
7639 * gst/gstthread.c: (gst_thread_change_state):
7640 catch wrong state changes in element base class.
7642 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7645 clean up layout a little.
7647 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7650 * testsuite/Makefile.am:
7651 * testsuite/states/Makefile.am:
7652 * testsuite/states/parent.c: (main):
7653 re-enable states testsuite dir. Add test for state changes and
7656 2004-07-09 Wim Taymans <wim@fluendo.com>
7658 * gst/schedulers/gstoptimalscheduler.c:
7659 (gst_opt_scheduler_pad_link), (group_elements_set_visited),
7660 (element_get_reachables_func), (element_get_reachables),
7661 (debug_element), (rechain_group), (group_migrate_connected),
7662 (gst_opt_scheduler_pad_unlink):
7663 Do not try to migrate decoupled elements to a new group since
7664 they are not added to groups.
7666 2004-07-08 Benjamin Otte <otte@gnome.org>
7668 * gst/gstelement.c: (gst_element_error_func):
7669 make reentrant (= allow removing elements in error handler)
7671 2004-07-08 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7673 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7674 (gst_pad_send_event), (gst_pad_call_chain_function):
7675 events sent to elements below PAUSED cannot be handled, so
7678 2004-07-08 Wim Taymans <wim@fluendo.com>
7680 * gst/schedulers/gstoptimalscheduler.c:
7681 (chain_recursively_migrate_group), (create_group),
7682 (schedule_group), (gst_opt_scheduler_pad_link),
7683 (group_elements_set_visited), (element_get_reachables_func),
7684 (element_get_reachables), (group_can_reach_group), (debug_element),
7685 (rechain_group), (group_migrate_connected),
7686 (gst_opt_scheduler_pad_unlink):
7687 * testsuite/schedulers/Makefile.am:
7688 Implemented group splitting and rechaining.
7689 Fixes 143777 and 143777-2 in the testsuite.
7691 2004-07-08 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7693 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
7696 * gst/gstinfo.c: (gst_debug_log_default):
7697 print time nicely. add thread pointer until someone figures out
7698 a completely portable way of getting at thread id's.
7699 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_try),
7700 (_invent_event), (gst_pad_pull), (gst_pad_event_default_dispatch),
7701 (gst_pad_call_chain_function):
7703 * gst/schedulers/gstoptimalscheduler.c:
7704 (get_group_schedule_function), (loop_group_schedule_function),
7705 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
7706 (pad_clear_queued), (gst_opt_scheduler_iterate):
7707 rename BUFPEN and friends to DATAPEN since that's what they are.
7709 2004-07-07 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7711 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
7714 cleanups and debugging
7716 2004-07-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
7719 * gst/gstvalue.c: (gst_value_compare_enum),
7720 (gst_value_serialize_enum), (gst_value_deserialize_enum),
7721 (gst_value_can_compare), (gst_value_compare):
7722 * testsuite/Makefile.am:
7723 * testsuite/enumcaps/Makefile.am:
7724 * testsuite/enumcaps/enumcaps.c:
7725 Fix enum serialization, deserialization, comparison in caps, add
7726 a test to ensure that this continues working in the future.
7728 2004-07-06 David Schleef <ds@schleef.org>
7730 * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
7733 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7737 * gst/registries/gstxmlregistry.c:
7738 (plugin_times_older_than_recurse), (plugin_times_older_than),
7739 (gst_xml_registry_parse_padtemplate):
7740 only rebuild registry when actual plugins have a newer time than
7741 the registry. Fixes #145520
7743 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7745 * docs/manual/manual.xml:
7746 * docs/manual/win32.xml:
7747 add chapter on win32 building. fixes #142422
7749 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7751 patch by: Sebastien Cote <sc5 at hermes.usherb.ca>
7753 * gst/autoplug/gstspider.c: (gst_spider_init),
7754 (gst_spider_dispose):
7755 fix spider memleaks. fixes #137863
7757 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7759 patch by: Joe Marcus Clarke <marcus at freebsd dot org>
7761 * gst/schedulers/gstoptimalscheduler.c:
7762 (gst_opt_scheduler_pad_unlink):
7763 fix SIGBUS error, fixes #145338
7765 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7767 * gst/gstobject.c: (gst_object_replace):
7768 * gst/gstscheduler.c: (gst_scheduler_get_clock):
7769 * gst/gstsystemclock.c: (gst_system_clock_obtain):
7770 clean up clock lifecycle. Fixes #109831
7772 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7776 added Czech translation (Miloslav Trmac)
7778 2004-07-04 David Schleef <ds@schleef.org>
7780 * tools/Makefile.am:
7781 * tools/gst-xmlinspect.1.in: Add man page. (bug #140219)
7783 2004-07-04 David Schleef <ds@schleef.org>
7785 * common/m4/gst-doc.m4: Check for docbook2html 0.6.10 (bug #139909)
7787 2004-07-04 Thomas Vander Stichele <thomas at apestaart dot org>
7789 * gst/gstbin.c: (gst_bin_restore_thyself):
7790 chain to parent restore so the bins get restored correctly
7793 2004-07-03 David Schleef <ds@schleef.org>
7795 * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
7796 Actually do something in these functions, like before the big
7797 caps change. (bug #145137)
7799 2004-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
7801 * gst/gstelement.c: (gst_element_get_compatible_pad_template),
7802 (gst_element_get_compatible_pad_filtered):
7803 * gst/gstthread.c: (gst_thread_main_loop):
7806 2004-07-02 David Schleef <ds@schleef.org>
7808 * gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
7814 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7816 * gst/gstpad.c: (gst_pad_check_schedulers),
7817 (gst_pad_can_link_filtered), (gst_pad_link_filtered),
7818 (gst_pad_link_prepare):
7819 revert until testsuite is fixed
7821 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7823 * testsuite/Makefile.am:
7824 * testsuite/caps/filtercaps.c: (main):
7825 * testsuite/clock/clock1.c: (main):
7826 * testsuite/dynparams/dparamstest.c: (gst_dptest_chain), (main):
7829 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7831 * testsuite/cleanup/cleanup1.c: (create_pipeline):
7832 * testsuite/cleanup/cleanup2.c: (create_pipeline):
7833 * testsuite/cleanup/cleanup4.c: (main):
7836 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7838 * libs/gst/control/control.c:
7839 * libs/gst/control/dparam.c:
7840 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_get_type):
7841 * libs/gst/control/dparammanager.c:
7842 * libs/gst/control/dparammanager.h:
7843 * testsuite/dynparams/Makefile.am:
7844 * testsuite/dynparams/dparamstest.c: (gst_dptest_base_init),
7845 (gst_dptest_change_state), (gst_dptest_chain), (main):
7846 fix testcase for dparams
7847 add debugging category
7849 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
7854 2004-07-02 Benjamin Otte <otte@gnome.org>
7857 * tests/Makefile.am:
7858 * tests/mass_elements.c: (gst_get_current_time), (main):
7859 add simple benchmark to test various speeds of fakesrc ! identity !
7860 identity ! ... ! fakesink.
7861 Usage: mass_elements [num_identities] [num_buffers]
7862 If not specified they default to 1000.
7864 2004-07-02 Benjamin Otte <otte@gnome.org>
7866 * gst/gstpad.c: (gst_pad_check_schedulers),
7867 (gst_pad_can_link_filtered), (gst_pad_link_filtered),
7868 (gst_pad_link_prepare):
7869 check that pads that get linked belong to the same manager. The old
7870 code allowed linking elements before putting them into bins, so it
7871 worked to link them and then put them in different threads, which
7872 lead to weird behaviour.
7873 Since this effectively disallows linking elements before putting
7874 them in a bin, some applications might not work after this and error
7875 out. If these applications are too critical, we might need to revert
7876 that patch. Please test this before the next release...
7878 2004-06-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
7880 * gst/gstpad.c: (gst_pad_get_caps):
7881 throw an error if the getcaps function does not return a subset of
7883 * libs/gst/bytestream/filepad.c: (gst_file_pad_chain):
7884 make disconts without position info an error in debugging
7885 * tests/spidey_bench.c: (handoff), (main):
7886 don't count first try when averaging
7888 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
7890 * gst/gstplugin.c: (gst_plugin_load_file):
7891 figure out problem with dynamic test
7893 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
7895 * docs/gst/Makefile.am:
7898 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
7910 * tools/gst-register.c: (plugin_added_func), (main):
7911 i18n-ize -register, fix plural
7913 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
7915 * gst/elements/gstidentity.c: (gst_identity_class_init),
7916 (gst_identity_init), (gst_identity_chain),
7917 (gst_identity_set_property), (gst_identity_get_property):
7918 * gst/elements/gstidentity.h:
7919 check for perfect stream
7921 2004-06-25 Thomas Vander Stichele <thomas at apestaart dot org>
7923 * gst/elements/gstidentity.c: (gst_identity_chain):
7926 2004-06-25 Thomas Vander Stichele <thomas at apestaart dot org>
7928 * docs/gst/Makefile.am:
7929 * docs/gst/gstreamer-docs.sgml:
7932 2004-06-24 David Schleef <ds@schleef.org>
7934 * autogen.sh: Remove call to env, since the buildbot isn't
7937 2004-06-24 Wim Taymans <wim@fluendo.com>
7939 * gst/elements/Makefile.am:
7940 * gst/elements/gstelements.c:
7941 * gst/elements/gstmultifdsink.c: (gst_multifdsink_base_init),
7942 (gst_multifdsink_class_init), (gst_multifdsink_init),
7943 (gst_multifdsink_add), (gst_multifdsink_remove),
7944 (gst_multifdsink_clear), (gst_multifdsink_chain),
7945 (gst_multifdsink_set_property), (gst_multifdsink_get_property):
7946 * gst/elements/gstmultifdsink.h:
7947 Added an element that writes to multiple filedescriptors at once.
7949 2004-06-24 Benjamin Otte <otte@gnome.org>
7951 * gst/parse/grammar.y:
7952 don't try to link elements before they have been added to bins
7954 2004-06-24 Benjamin Otte <in7y118@public.uni-hamburg.de>
7956 * libs/gst/bytestream/filepad.c: (gst_file_pad_available),
7957 (gst_file_pad_get_length):
7958 * libs/gst/bytestream/filepad.h:
7961 2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7963 * docs/gst/gstreamer-sections.txt:
7964 remove from docs, the define that Benjamin removed from gstelement.h
7966 2004-06-22 Benjamin Otte <otte@gnome.org>
7969 remove define that referenced a nonexisting GstElement struct member
7971 2004-06-20 Benjamin Otte <otte@gnome.org>
7973 * gst/gstdata.c: (gst_data_is_writable):
7974 whoops, return values were wrong, so writable data was marked as
7975 non-writable and vice versa. (fixes #143953, spotted by Francis
7977 Shows how rarely we need to copy data ;)
7979 2004-06-20 Benjamin Otte <otte@gnome.org>
7981 * testsuite/schedulers/.cvsignore:
7982 * testsuite/schedulers/Makefile.am:
7983 * testsuite/schedulers/143777-2.c: (main):
7984 add test for opt breakage in bug #143777
7986 2004-06-20 Benjamin Otte <otte@gnome.org>
7988 * gst/gstpad.c: (gst_pad_call_chain_function):
7989 check for if we were unlinked while inside the chainfunction (fixes
7990 entrygthread having issues with #143777)
7991 * testsuite/schedulers/143777.c: (main):
7992 * testsuite/schedulers/Makefile.am:
7993 add a test for that fix
7995 2004-06-20 Benjamin Otte <otte@gnome.org>
7997 * gst/gstvalue.c: (gst_value_set_int_range):
7998 test that start is smaller then end
7999 * libs/gst/bytestream/Makefile.am:
8000 * libs/gst/bytestream/filepad.c:
8001 * libs/gst/bytestream/filepad.h:
8002 add GstFilePad - a pad that behaves like a FILE*
8003 * testsuite/bytestream/.cvsignore:
8004 * testsuite/bytestream/Makefile.am:
8005 * testsuite/bytestream/filepadsink.c:
8006 test for the GstFilePad
8008 2004-06-18 Thomas Vander Stichele <thomas at apestaart dot org>
8010 * gst/elements/gstidentity.c: (gst_identity_class_init),
8011 (gst_identity_init), (gst_identity_set_clock),
8012 (gst_identity_chain), (gst_identity_set_property),
8013 (gst_identity_get_property):
8014 * gst/elements/gstidentity.h:
8015 * gst/gstclock.c: (gst_clock_id_wait):
8016 add a "sync" property to sync to the clock
8018 2004-06-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
8020 * gst/gstelementfactory.c: (gst_element_factory_create):
8021 make the freakin "elementfactory bla has no type" message more
8022 useful. So we actually can do something when someone shows up
8023 complaining about it.
8025 2004-06-15 Johan Dahlin <johan@gnome.org>
8027 * tools/gst-inspect.c (main): Fallback to plugin if no element is
8028 found. This matches the old behavior better. Thanks to Thomas for
8031 2004-06-14 David Schleef <ds@schleef.org>
8033 * gst/gstcpu.c: (gst_cpuid_i386): Fix problem when using
8034 -fomit-frame-pointer. Appears to generate correct code in
8035 other cases as well.
8037 2004-06-14 Johan Dahlin <johan@gnome.org>
8039 * tools/gst-inspect.c (main): Add two new command line options: -a
8040 to print all elements and -n to print the name on each line. Also
8041 fix some error reporting.
8042 (main): Simplify, remove -n and always print names if -a is specified
8044 2004-06-13 Steve Lhomme <steve.lhomme@free.fr>
8046 * win32/gstconfig.h:
8047 * win32/GSTreamer.vcproj:
8049 * gst/gstconfig.h.in:
8056 * docs/gst/gstreamer-sections.txt:
8057 * docs/gst/tmpl/gstconfig.sgml:
8058 rename GSTREAMER_EXPORT(S) to GST_EXPORT(S)
8060 2004-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8061 * docs/gst/gstreamer-sections.txt:
8062 * docs/gst/tmpl/gstconfig.sgml:
8063 Add the GSTREAMER_EXPORT macro to the docs
8065 2004-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8067 * tools/gst-compprep.c: (handle_xmlerror), (main):
8068 Add a check for the version that introduced SetStructuredError to fix
8071 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8075 prepare to compile the testsuite with MSVC
8077 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8079 * docs/manual/win32.xml:
8080 attempt to transform the Win32 README into an XML doc
8082 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8091 * tools/gst-register.c:
8092 * win32/gstreamer.def:
8093 extern symbols are now exported for the Windows DLL
8095 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8098 fix a problem to enable/disable DEBUG under MSVC
8100 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8103 enable more debug code in DEBUG build
8105 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8108 * gst/gst-i18n-app.h:
8109 enable NLS under Windows
8111 2004-06-12 Jan Schmidt <thaytan@mad.scientist.com>
8112 * tools/gst-compprep.c: (handle_xmlerror), (main):
8113 Make an error that baffled me a bit clearer
8115 2004-06-12 Thomas Vander Stichele <thomas at apestaart dot org>
8118 don't use g_queue_get_length () because it's 2.4, use ->length
8120 2004-06-11 Steve Lhomme <steve.lhomme@free.fr>
8122 reviewed by Benjamin Otte <in7y118@public.uni-hamburg.de>
8124 * tools/gst-inspect.c: (print_signal_info):
8125 don't free random data twice. (fixes #144185)
8127 2004-06-11 Thomas Vander Stichele <thomas at apestaart dot org>
8131 fix removing from the wrong queue on event timeout
8132 fix disposing of the event queue by casting correctly
8133 add mutexes for handling the event queue
8134 someone was sleeping when fixing queue last time around :)
8136 2004-06-10 Johan Dahlin <johan@gnome.org>
8138 * gst/gst.c (gst_init_check_with_popt_table): Do not fail on
8139 errors, like gtk. It makes it more useful in bindings. Fixes #141692.
8141 2004-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8144 * libs/gst/dataprotocol/dataprotocol-test.c: (buffer_test):
8145 * libs/gst/dataprotocol/dataprotocol.c:
8146 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8147 (gst_dp_buffer_from_header):
8148 * libs/gst/dataprotocol/dataprotocol.h:
8149 * libs/gst/dataprotocol/dp-private.h:
8150 rev version to 0.1, add buffer flags and copy them
8152 2004-06-09 Johan Dahlin <johan@gnome.org>
8154 * gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
8155 the flags from the buffer we're copying.
8157 2004-06-09 Wim Taymans <wim@fluendo.com>
8159 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
8160 * gst/elements/gstidentity.c: (gst_identity_init),
8161 (gst_identity_chain):
8162 Print more buffer info in fakesink.
8163 Make identity output similar to fakesink.
8165 2004-06-07 Daniel Gazard <dany42@free.fr>
8167 reviewed by Benjamin Otte <otte@gnome.org>
8170 fix cross compiling not working. (fixes #143741)
8172 2004-06-07 Benjamin Otte <otte@gnome.org>
8174 * gst/gstelement.c: (gst_element_set_time_delay):
8177 put brackets around macro arguments of GST_TIME_ARGS, add note to
8178 move it to correct header in 0.9
8180 2004-06-07 Benjamin Otte <otte@gnome.org>
8182 * gst/indexers/gstfileindex.c: (gst_file_index_get_writer_id),
8183 (gst_file_index_load), (_file_index_id_save_entries),
8184 (gst_file_index_commit), (gst_file_index_add_association),
8185 (gst_file_index_add_entry), (gst_file_index_get_assoc_entry),
8186 (gst_file_index_plugin_init):
8187 make debugging use a default category
8189 2004-06-06 David Moore <dcm@acm.org>
8191 reviewed by Benjamin Otte <otte@gnome.org>
8193 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8194 (gst_fdsrc_change_state):
8195 reset offset counter when going READY => PAUSED. (fixes #142903)
8197 2004-06-06 ed@catmur.co.uk
8199 reviewed by Benjamin Otte <otte@gnome.org>
8201 * gst/registries/gstxmlregistry.c:
8202 (gst_xml_registry_rebuild_recurse):
8203 don't rely on g_dir_open to figure out if a file is a directory, use
8204 explicit G_TEST_IS_DIR. Reiserfs4 allows opening files as
8205 directories. (fixes #142850)
8207 2004-06-06 Benjamin Otte <otte@gnome.org>
8209 * gst/gstqueue.c: (gst_queue_dispose), (gst_queue_change_state):
8210 fix memory leaks (fixes #142795). Initial patch by Sebastien Cote
8211 * libs/gst/bytestream/adapter.c:
8212 * libs/gst/bytestream/adapter.h:
8213 fix copyright in header and typo in debugging category name
8215 2004-06-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8220 === release 0.8.3 ===
8222 2004-06-05 Thomas Vander Stichele <thomas at apestaart dot org>
8225 update libtool versioning
8227 * docs/gst/tmpl/gstelement.sgml:
8228 * docs/gst/tmpl/gsttypes.sgml:
8229 * gst/gstinfo.c: (_gst_debug_init):
8230 put back GST_CAT_DATAFLOW to fix API breakage
8232 2004-06-04 David Schleef <ds@schleef.org>
8234 * autogen.sh: Add a temporary 'env' to test buildbot problems.
8236 2004-06-04 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8241 === release 0.8.2 ===
8243 2004-06-03 Thomas Vander Stichele <thomas at apestaart dot org>
8245 * gst/gst.c: (parse_debug_list), (gst_init_check_with_popt_table):
8246 check GST_DEBUG environment variable which is parsed the same way
8249 2004-05-28 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8251 * gst/elements : gstaggregator.c gstfakesink.c gstfakesrc.c
8252 gstmd5sink.c gstshaper.c gsttee.c
8253 gsttypefindelement.c
8254 * gst/schedulers : gstbasicscheduler.c gstoptimalscheduler.c
8256 - removing trailing commas at end of enums
8257 it is correct C99 code but C90 compilers would complain
8259 ('should' fix #143290, at least partially)
8261 2004-05-27 Wim Taymans <wim@fluendo.com>
8263 * gst/schedulers/gstoptimalscheduler.c: (remove_from_chain),
8264 (chain_group_set_enabled), (create_group), (add_to_group),
8265 (merge_groups), (setup_group_scheduler), (group_elements),
8266 (gst_opt_scheduler_iterate), (gst_opt_scheduler_show):
8267 Don't try to follow the pad connections with other groups
8268 when a loop based element is added to the scheduler because
8269 the bin will inform the scheduler about the pad links a little
8272 2004-05-27 Wim Taymans <wim@fluendo.com>
8274 * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
8275 (remove_from_chain), (chain_group_set_enabled),
8276 (setup_group_scheduler), (group_element_set_enabled),
8277 (gst_opt_scheduler_state_transition), (gst_opt_scheduler_iterate),
8278 (gst_opt_scheduler_show):
8279 Elements without a group can do a state change as well, just wait
8280 with the setup of the scheduling function when it is added to a
8283 2004-05-27 Wim Taymans <wim@fluendo.com>
8285 * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
8286 (remove_from_chain), (chain_group_set_enabled), (add_to_group),
8287 (merge_groups), (setup_group_scheduler),
8288 (group_inc_links_for_element), (gst_opt_scheduler_iterate),
8289 (gst_opt_scheduler_show):
8290 Fixes to maintain internal consistency of the scheduler data
8292 - adding an enabled group to a chain should increment the
8293 number of enabled elements in that chain.
8294 - removing an enabled group from a chain could disable the
8296 - removing a disabled group from a chain could enable the
8298 - add g_assert when internal inconsistency is detected.
8299 - adding an element to a group could increase the number of
8300 links this group has with other groups.
8301 - merging two groups also merges the chains.
8302 - also show group links in the _show method.
8305 2004-05-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
8307 * gst/gstcaps.c: (gst_caps_structure_simplify):
8308 don't print error messages when there is no error
8309 * gst/gstvalue.c: (gst_value_compare_int_range):
8310 compare the second value, too
8311 * testsuite/caps/Makefile.am:
8312 * testsuite/caps/random.c: (assert_on_error), (main):
8313 add tests to make sure the two things above are checked for
8315 2004-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8318 * libs/gst/dataprotocol/Makefile.am:
8319 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps):
8320 * libs/gst/dataprotocol/dataprotocol.h:
8321 wrap header in GST_ENABLE_NEW. make code use it
8323 2004-05-23 Johan Dahlin <johan@gnome.org>
8325 * tools/gst-inspect.c (main): Cleanup most parts of it, don't be
8326 so verbose and print GstElement signal names all the time.
8328 2004-05-22 David Schleef <ds@schleef.org>
8330 * gst/registries/gstxmlregistry.c:
8331 (gst_xml_registry_parse_padtemplate): Fix warning on OS X.
8334 2004-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8337 scrub cflags for glib2 so gcc doesn't complain when glib is in
8340 2004-05-21 Johan Dahlin <johan@gnome.org>
8342 * gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with
8343 __GNUC__, patch from Brian Cameron, fixes bug #142804
8345 2004-05-20 David Schleef <ds@schleef.org>
8347 * gst/gstindex.c: (gst_index_compare_func): Fix overflows in
8348 comparison code. (bug #142819)
8350 2004-05-20 Wim Taymans <wim@fluendo.com>
8352 * gst/gstbuffer.c: (gst_buffer_default_copy):
8354 Added Comment to a flag.
8355 copy relevant flags in _buffer_copy.
8357 2004-05-20 Thomas Vander Stichele <thomas at apestaart dot org>
8359 reviewed by: Wim Taymans <wim at fluendo dot com>
8362 add GST_BUFFER_IN_CAPS buffer flag
8363 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8364 (gst_structure_parse_any_list), (gst_structure_parse_list),
8365 (gst_structure_parse_fixed_list), (gst_structure_parse_value):
8366 * gst/gstvalue.c: (gst_value_serialize_any_list),
8367 (gst_value_transform_any_list_string),
8368 (gst_value_list_prepend_value), (gst_value_list_append_value),
8369 (gst_value_list_get_size), (gst_value_list_get_value),
8370 (gst_value_transform_list_string),
8371 (gst_value_transform_fixed_list_string),
8372 (gst_value_serialize_list), (gst_value_serialize_fixed_list),
8373 (gst_value_deserialize_fixed_list), (gst_type_is_fixed),
8374 (_gst_value_initialize):
8376 add a GST_TYPE_FIXED_LIST which is fixed by definition and uses
8378 * testsuite/caps/string-conversions.c: (main):
8379 add regression tests for < >
8381 2004-05-20 Johan Dahlin <johan@gnome.org>
8383 * docs/gst/Makefile.am (all-local): Re-add
8385 2004-05-20 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8387 * docs/gst/Makefile.am:
8388 * docs/gst/gstreamer-docs.sgml:
8389 * docs/libs/Makefile.am:
8390 * docs/libs/gstreamer-libs-docs.sgml:
8391 fix distcheck issues
8393 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8395 * libs/gst/dataprotocol/Makefile.am:
8398 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8400 * libs/gst/dataprotocol/Makefile.am:
8401 * libs/gst/dataprotocol/dataprotocol.c:
8402 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8403 (gst_dp_packet_from_event), (gst_dp_event_from_packet):
8404 * libs/gst/dataprotocol/dp-private.h:
8405 use GST macros to read/write fixed length ints
8406 add some more asserts
8408 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8410 * docs/libs/gstreamer-libs-docs.sgml:
8411 * docs/libs/gstreamer-libs-sections.txt:
8412 remove idct and putbits
8414 * docs/libs/tmpl/gstdataprotocol.sgml:
8415 * libs/gst/Makefile.am:
8416 * libs/gst/dataprotocol/Makefile.am:
8417 * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test),
8418 (buffer_test), (caps_test), (event_test), (main):
8419 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8420 (gst_dp_dump_byte_array), (gst_dp_init),
8421 (gst_dp_header_payload_length), (gst_dp_header_payload_type),
8422 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8423 (gst_dp_packet_from_event), (gst_dp_buffer_from_header),
8424 (gst_dp_caps_from_packet), (gst_dp_event_from_packet),
8425 (gst_dp_validate_header), (gst_dp_validate_payload),
8426 (gst_dp_validate_packet), (plugin_init):
8427 * libs/gst/dataprotocol/dataprotocol.h:
8428 * libs/gst/dataprotocol/dp-private.h:
8431 2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
8433 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8434 fix int variable deserialization and add a helper so we can actually
8437 2004-05-18 David Schleef <ds@schleef.org>
8439 * testsuite/debug/commandline.c: (main): Call ./commandline, not
8440 argv[0]. Calling yourself is probably not the best way to
8441 construct a test like this, btw.
8443 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8445 * gst/gstbin.c: (gst_bin_iterate_func), (gst_bin_iterate):
8446 don't claim to be more intelligent than a scheduler when the
8447 scheduler claims the pipeline is stopped
8448 * gst/schedulers/entryscheduler.c: (safe_cothread_switch),
8449 (safe_cothread_destroy),
8450 (gst_entry_scheduler_remove_all_cothreads),
8451 (gst_entry_scheduler_reset), (_remove_cothread),
8452 (gst_entry_scheduler_state_transition):
8453 hold off cothread destruction if we're not in main cothread
8455 * testsuite/Makefile.am:
8457 * testsuite/schedulers/.cvsignore:
8458 * testsuite/schedulers/Makefile.am:
8460 * testsuite/schedulers/relink.c: (cb_handoff), (main):
8461 check relinking and adding/removing elements from a running pipeline
8462 * testsuite/schedulers/unlink.c: (cb_handoff), (main):
8463 check unlinking in a running pipeline
8464 * testsuite/schedulers/unref.c: (cb_handoff), (main):
8465 check unreffing a running pipeline
8466 * testsuite/schedulers/useless_iteration.c: (main):
8467 check iterating a pipeline that contains running threads works
8469 2004-05-18 David Schleef <ds@schleef.org>
8471 * docs/gst/Makefile.am: Add all-local target for when HAVE_GTK_DOC
8474 2004-05-18 Wim Taymans <wim@fluendo.com>
8476 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
8477 (setup_group_scheduler), (gst_opt_scheduler_pad_link):
8478 Fixed an error introduced with patch for 1.63. When setting
8479 a get based element as the entry point in a group, make sure
8480 to mark the group as GET based.
8482 2004-05-18 Wim Taymans <wim@fluendo.com>
8484 * gst/schedulers/gstoptimalscheduler.c: (create_group),
8485 (setup_group_scheduler), (loop_group_schedule_function),
8486 (gst_opt_scheduler_pad_link):
8487 Added some more debug info and fixed a bug where the group
8488 type was set to LOOP but it was in fact unknown.
8490 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8492 * gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset):
8493 make resetting scheduler work twice in a row
8495 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8497 * gst/gstvalue.c: (gst_strtoll), (CREATE_SERIALIZATION),
8498 (CREATE_USERIALIZATION), (_gst_value_initialize),
8499 (gst_value_compare_float), (gst_value_serialize_float),
8500 (gst_value_deserialize_float), (gst_value_compare_enum),
8501 (gst_value_serialize_enum), (gst_value_deserialize_enum):
8502 add serialization and comparison functions for long, int64, enum and
8504 * gst/gstvalue.c: (gst_value_serialize), (gst_value_deserialize):
8505 use best serialization function in type hierarchy instead of only a
8506 matching one. This is required for enums to work.
8507 * gst/parse/grammar.y:
8508 use gst_caps_deserialize
8509 * testsuite/parse/Makefile.am:
8511 * testsuite/parse/parse1.c: (main):
8512 remove aggregator check, aggregator is broken, this test works now
8513 but fails because of bug #138012
8514 * testsuite/parse/parse2.c: (main):
8515 s/xvideosink/xvimagesink - this test looks a lot like we should
8518 2004-05-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
8520 * gst/gstelement.c: (gst_element_class_init):
8521 whoops, store the signal id correctly
8522 * gst/schedulers/gstbasicscheduler.c:
8523 (gst_basic_scheduler_chain_wrapper):
8524 detect infinfinfinfinfinf^Cinite loops in chain wrapper when the
8525 chain function isn't linked
8527 2004-05-13 Jan Schmidt <thaytan@mad.scientist.com>
8529 Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
8530 support until we decide where the flags should be used
8531 * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
8532 Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
8533 * gst/gstpad.c: (gst_pad_link_call_link_functions):
8534 Output refused caps in the debug info
8536 2004-05-13 Thomas Vander Stichele <thomas at apestaart dot org>
8538 * gst/elements/gstidentity.c: (gst_identity_chain):
8540 * gst/gstinfo.c: (gst_debug_log_default):
8543 2004-05-13 Benjamin Otte <otte@gnome.org>
8545 * gst/gstpipeline.c: (gst_pipeline_dispose),
8546 (gst_pipeline_change_state):
8547 call gst_scheduler_reset on dispose (fixes #141416)
8549 2004-05-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
8551 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
8552 compute mapsize correctly
8553 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
8554 use correct datatypes when calling a varargs function
8555 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8556 push a DISCONT event as first thing
8557 * gst/gst_private.h:
8558 * gst/gstinfo.c: (_gst_debug_init):
8559 remove GST_DATAFLOW debugging category
8560 * gst/gstbin.c: (gst_bin_iterate):
8561 use GST_SCHEDULING category
8562 * gst/gstpad.c: (gst_pad_get_type), (_invent_event),
8563 (gst_pad_push), (gst_pad_pull), (gst_pad_call_chain_function),
8564 (gst_pad_call_get_function):
8565 add GST_DATAFLOW to easily track flow of buffers or events.
8566 * gst/gstqueue.c: (gst_queue_get_type),
8567 (gst_queue_handle_pending_events), (gst_queue_chain),
8568 (gst_queue_get), (gst_queue_handle_src_event):
8569 use own static debugging category GST_DATAFLOW for dataflow,
8570 use DEBUG category for showing which path events go, use LOG
8571 category for buffers.
8573 2004-05-10 David Schleef <ds@schleef.org>
8575 * docs/gst/gstreamer-sections.txt: Add gst_element_no_more_pads.
8577 2004-05-10 David Schleef <ds@schleef.org>
8579 * docs/gst/Makefile.am: Dear gtk-doc, please print out the unused
8580 symbols, because otherwise we don't know what they are. Thanks,
8582 * gst/registries/gstxmlregistry.c: (make_dir): Remove a spurious ;
8584 2004-05-10 David Schleef <ds@schleef.org>
8587 * win32/Makefile: When using make clean the MS Visual Studio makefiles
8589 * win32/Makefile.inspect:
8590 * win32/Makefile.launch:
8591 * win32/Makefile.register:
8593 2004-05-10 David Schleef <ds@schleef.org>
8595 * gst/gstinfo.h: Add missing inline function.
8596 * gst/gsttrace.c: add include
8597 * gst/parse/grammar.y: remove unused code
8598 * gst/registries/gstxmlregistry.c: (make_dir): make mkdir call
8600 * tools/gst-register.c: wrap unistd.h
8602 More additions/fixes from Steve for the MSVC build.
8603 * win32/GStreamer.vcproj:
8605 * win32/Makefile.inspect:
8606 * win32/Makefile.launch:
8607 * win32/Makefile.register:
8609 * win32/gst-inspect.vcproj:
8610 * win32/gst-launch.vcproj:
8611 * win32/gst-register.vcproj:
8612 * win32/gstbytestream.def:
8613 * win32/gstbytestream.vcproj:
8614 * win32/gstconfig.h:
8615 * win32/gstelements.def:
8616 * win32/gstelements.vcproj:
8617 * win32/gstenumtypes.c:
8618 * win32/gstenumtypes.h:
8619 * win32/gstoptimalscheduler.def:
8620 * win32/gstoptimalscheduler.vcproj:
8621 * win32/gstreamer.def:
8622 * win32/gstspider.def:
8623 * win32/gstspider.vcproj:
8624 * win32/gstversion.h:
8627 2004-05-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
8629 * gst/gstelement.c: (gst_element_class_init),
8630 (gst_element_no_more_pads):
8632 add gst_element_no_more_pads and the "no-more-pads" signal
8634 2004-05-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
8636 * gst/gstregistry.c: (gst_registry_add_plugin):
8637 refuse to add plugins when a plugin with same name is already
8638 registered. Fixes a bunch of "How to remove plugins?" issues.
8639 May lead to other problems though, let's test
8641 2004-05-10 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8643 * testsuite/caps/caps_strings : audio/ac3 => audio/x-ac3
8644 * docs/manual/pads-api.xml : audio/wav => audio/x-wav
8645 * docs/random/uraeus/gstreamer_and_midi.txt : audio/wav => audio/x-wav
8647 2004-05-09 Thomas Vander Stichele <thomas at apestaart dot org>
8649 * tests/Makefile.am: fix am16 issue
8651 2004-05-09 Benjamin Otte <otte@gnome.org>
8653 * libs/gst/bytestream/Makefile.am:
8654 we should indeed add .c files to makefiles or they won't be built
8657 2004-05-08 Benjamin Otte <otte@gnome.org>
8659 * gst/gstpad.c: (gst_pad_proxy_fixate):
8660 really reduce the set of caps
8662 2004-05-08 Benjamin Otte <otte@gnome.org>
8664 * tests/Makefile.am:
8665 * tests/spidey_bench.c: (handoff), (main):
8666 add benchmark to test how long spider needs to create a pipeline
8668 2004-05-08 Benjamin Otte <otte@gnome.org>
8670 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_unnegotiate):
8671 mark links as unengaged when unnegotiating instead of deactivating.
8672 This way pads aren't marked as unengaged when going PLAYING=>PAUSED
8674 2004-05-08 Benjamin Otte <otte@gnome.org>
8676 * docs/manual/helloworld.xml:
8677 s/audiosink/osssink (patch by Patrick Guimond)
8679 2004-05-07 David Schleef <ds@schleef.org>
8681 * configure.ac: Make sure GST_INT_CFLAGS is not clobbered,
8682 since it contains important stuff.
8684 2004-05-07 David Schleef <ds@schleef.org>
8686 * testsuite/caps/caps.c: (test3), (main): A check for appending
8689 2004-05-07 David Schleef <ds@schleef.org>
8691 * common/m4/as-compiler-flag.m4: Properly quote arguments,
8692 which may contain commas. Fixes detection of -Wa,-mregnames
8694 2004-05-06 David Schleef <ds@schleef.org>
8696 Changes to handle compilers that don't have variadic macro
8697 support. In particular, glib headers define some inlines
8698 that need G_LOG_DOMAIN defined. Additional fixes for MSVC
8702 * gst/elements/gstfdsink.c:
8703 * gst/elements/gstfdsrc.c:
8704 * gst/elements/gstfilesink.c:
8705 * gst/elements/gstfilesrc.c:
8706 * gst/gst_private.h:
8708 * gst/gstcaps.c: (gst_caps_append):
8709 * gst/gstcpu.c: (gst_cpuid_i386):
8716 * gst/gstregistry.c:
8717 * gst/gststructure.c:
8718 * gst/gsttaginterface.c:
8719 * gst/gsttrace.c: (gst_trace_new):
8720 * gst/gsttrashstack.c:
8723 * gst/parse/grammar.y:
8724 * gst/parse/parse.l:
8725 * tools/gst-inspect.c: (main):
8726 * tools/gst-launch.c: (main):
8727 * tools/gst-xmlinspect.c: (PUT_STRING):
8729 2004-05-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
8731 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
8732 (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
8733 * gst/elements/gstfilesrc.h:
8734 send NEW_MEDIA events correctly
8735 * gst/elements/gsttypefindelement.c: (start_typefinding),
8736 (gst_type_find_element_handle_event):
8737 restart typefinding when we get a NEW_MEDIA event
8738 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_change_state),
8740 don't die when someone removes elements in callbacks
8741 * gst/gstelement.c: (gst_element_change_state):
8743 * gst/gstpad.c: (gst_pad_pull), (gst_pad_call_chain_function):
8744 we need a NEW_MEDIA event to engage a link
8745 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8746 don't g_print debugging stuff
8747 * testsuite/caps/simplify.c: (check_caps):
8749 2004-05-04 Benjamin Otte <otte@gnome.org>
8751 * gst/parse/grammar.y:
8752 use GST_ERROR instead of g_warning, and always throw a GST_ERROR
8754 2004-05-04 Benjamin Otte <otte@gnome.org>
8756 * testsuite/caps/renegotiate.c: (main):
8757 improve output in error case
8759 2004-05-04 Benjamin Otte <otte@gnome.org>
8761 * gst/parse/grammar.y:
8762 fix assert to not trigger when there's no error argument
8763 * gst/parse/parse.l:
8764 fix definition of caps to allow more than two structures
8765 * testsuite/caps/Makefile.am:
8766 * testsuite/caps/renegotiate.c: (main):
8767 it's sinesrc and works in that case
8769 2004-05-04 Wim Taymans <wim@fluendo.com>
8771 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
8772 (group_dec_link), (gst_opt_scheduler_pad_unlink):
8773 when removing an element from a group, we always need to
8774 decrement the link count that this group had with other
8775 groups through the element.
8776 added an extra assert to catch inconsistencies when decrementing
8779 2004-05-04 Thomas Vander Stichele <thomas at apestaart dot org>
8782 * docs/gst/Makefile.am:
8783 * docs/gst/gstreamer-sections.txt:
8784 * docs/gst/tmpl/gstcompat.sgml:
8785 * examples/appreader/Makefile.am:
8786 * examples/cutter/Makefile.am:
8787 * examples/events/Makefile.am:
8788 * examples/helloworld/Makefile.am:
8789 * examples/helloworld2/Makefile.am:
8790 * examples/launch/Makefile.am:
8791 * examples/manual/Makefile.am:
8792 * examples/mixer/Makefile.am:
8793 * examples/pingpong/Makefile.am:
8794 * examples/plugins/Makefile.am:
8795 * examples/queue/Makefile.am:
8796 * examples/queue2/Makefile.am:
8797 * examples/queue3/Makefile.am:
8798 * examples/queue4/Makefile.am:
8799 * examples/retag/Makefile.am:
8800 * examples/thread/Makefile.am:
8801 * examples/typefind/Makefile.am:
8802 * examples/xml/Makefile.am:
8804 * gst/autoplug/Makefile.am:
8805 * gst/elements/Makefile.am:
8807 * gst/indexers/Makefile.am:
8808 * gst/parse/Makefile.am:
8809 * gst/registries/Makefile.am:
8810 * gst/schedulers/Makefile.am:
8811 * libs/gst/bytestream/Makefile.am:
8812 * libs/gst/control/Makefile.am:
8813 * libs/gst/getbits/Makefile.am:
8823 * tests/Makefile.am:
8824 * tests/bufspeed/Makefile.am:
8825 * tests/instantiate/Makefile.am:
8826 * tests/memchunk/Makefile.am:
8827 * tests/muxing/Makefile.am:
8828 * tests/negotiation/Makefile.am:
8829 * tests/probes/Makefile.am:
8830 * tests/sched/Makefile.am:
8831 * tests/seeking/Makefile.am:
8832 * tests/threadstate/Makefile.am:
8833 * testsuite/caps/Makefile.am:
8834 * testsuite/cleanup/Makefile.am:
8835 * testsuite/dlopen/Makefile.am:
8836 * testsuite/dynparams/Makefile.am:
8837 * testsuite/plugin/Makefile.am:
8838 * testsuite/states/Makefile.am:
8839 * tools/Makefile.am:
8840 reorganize compile/link flags to be consistent
8841 put gst_info in gstcompat.h and actually use GST_DISABLE_DEPRECATED
8843 2004-05-04 David Schleef <ds@schleef.org>
8845 The "once more, with feeling" check-in.
8846 * testsuite/caps/Makefile.am: dist caps_strings
8847 * testsuite/caps/renegotiate.c: (main): This test triggers a
8848 segfault in the core. Marking as failing.
8850 2004-05-03 David Schleef <ds@schleef.org>
8852 * testsuite/caps/deserialize.c: (main): Fix problems noticed
8854 * testsuite/caps/renegotiate.c: (main): Same.
8856 2004-05-03 David Schleef <ds@schleef.org>
8858 * testsuite/caps/renegotiate.c: (my_fixate), (main): Another test.
8860 2004-05-03 David Schleef <ds@schleef.org>
8862 * testsuite/caps/deserialize.c: (main): Use the srcdir environment
8863 variable to find our source file.
8865 2004-05-03 David Schleef <ds@schleef.org>
8867 * configure.ac: Link plugins with libgstreamer and dependent
8869 * testsuite/caps/Makefile.am:
8870 * testsuite/caps/caps_strings:
8871 * testsuite/caps/deserialize.c: (main): Add a little test to slog
8872 through a file of caps strings and test each one
8874 2004-05-04 Benjamin Otte <otte@gnome.org>
8876 * libs/gst/bytestream/Makefile.am:
8877 * libs/gst/bytestream/adapter.c:
8878 * libs/gst/bytestream/adapter.h:
8879 add GstAdapter, similar to bytestream, but doesn't require ugly event
8880 handling or uglier loopbased elements
8882 2004-05-03 David Schleef <ds@schleef.org>
8884 * testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
8885 * testsuite/caps/erathostenes.c:
8886 * testsuite/caps/eratosthenes.c: (eratosthenes), (main):
8888 2004-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8891 remove hardcoded stylesheet path (duh)
8892 * docs/random/release:
8893 * docs/gst/gstreamer-sections.txt:
8896 * gst/gst_private.h:
8902 * gst/gstinterface.c:
8903 * gst/gstmemchunk.c:
8906 * gst/gstregistry.c:
8907 * gst/gstregistrypool.c:
8908 * gst/gststructure.c:
8909 * gst/gsttaginterface.c:
8912 * gst/gsttypefind.c: (gst_type_find_factory_get_type):
8915 deprecate gst_info; remove gstlog.h
8918 2004-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8924 updated translations
8926 2004-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
8928 * gst/gstbin.c: (gst_bin_dispose):
8931 2004-05-03 Johan Dahlin <johan@gnome.org>
8933 * gst/schedulers/gstoptimalscheduler.c
8934 (gst_opt_scheduler_pad_unlink): Check if element is non-NULL and
8935 really is a GstElement. Avoids critical when running gst-launch -v
8936 and a oggdemux/decoding pipeline.
8938 2004-05-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8940 * docs/gst/tmpl/gstpipeline.sgml :
8941 * docs/manual/elements-api.xml :
8942 doc fix by Patrick Guimond (Protector) from devel ML
8945 2004-05-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8947 * docs/gst/Makefile.am :
8948 * docs/libs/Makefile.am :
8949 apply a patch from Arwed v. Merkatz so that gtk-doc
8950 generated docs install (same for .devhelp file)
8951 (fixes part 1 of #138836)
8953 2004-04-30 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8955 * docs/faq/dependencies.xml: typo
8956 * docs/faq/getting.xml :
8957 - fix download URL for new gstreamer site
8958 - hide sf.net download page as latest version aren't there
8960 - fill "get via CVS" paragraph (link to dev page on the site)
8961 * docs/faq/general.xml:
8962 hide status tables as they no more exists
8963 change case on plugins license file to reflect reality
8964 * docs/faq/troubleshooting.xml:
8965 remove the wiki question/answer as there is no more wiki
8967 2004-04-30 Thomas Vander Stichele <thomas at apestaart dot org>
8970 include the headers needed for declarations used in this header
8972 2004-04-30 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8974 * docs/random/uraeus/gstreamer_and_midi.txt :
8975 add .kar (midi + karaoke/lyrics 'track') doc to midi doc.
8978 2004-04-30 Sebastien Cote <sc5@hermes.usherb.ca>
8980 reviewed by Benjamin Otte <otte@gnome.org>
8982 * gst/schedulers/gthread-cothreads.h:
8983 free allocated data for main cothread, too when destroying context
8986 2004-04-29 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8988 * docs/manual/goals.xml : remove duplicated paragraph at end
8989 of doc page (fixes #141448)
8991 2004-04-29 David Schleef <ds@schleef.org>
8993 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
8994 Patch from Sebastien Cote to fix leakage of events. (bug #141414)
8996 2004-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8998 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9003 rename typefind source file
9005 2004-04-28 David Schleef <ds@schleef.org>
9007 Several new files from Steve Lhomme's MSVC patch (bug #141317):
9008 * win32/GStreamer.vcproj:
9011 * win32/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9012 (_trewinddir), (_ttelldir), (_tseekdir):
9014 * win32/gst-inspect.vcproj:
9015 * win32/gst-launch.vcproj:
9016 * win32/gst-register.vcproj:
9017 * win32/gstbytestream.vcproj:
9018 * win32/gstelements.vcproj:
9019 * win32/gstoptimalscheduler.vcproj:
9020 * win32/gstspider.vcproj:
9022 * win32/mman.c: (mmap), (mprotect), (msync), (munmap):
9027 2004-04-29 Benjamin Otte <in7y118@public.uni-hamburg.de>
9029 * gst/gst.c: (init_post):
9031 remove useless _gst_progname stuff
9032 * tools/gst-inspect.c: (print_field), (print_caps):
9035 2004-04-28 David Schleef <ds@schleef.org>
9037 Disable parsing of a lot of files that aren't part of the
9038 exported API. Move corresponding template files to old/,
9039 waiting for removal when they don't contain anything
9041 * docs/gst/Makefile.am:
9042 * docs/gst/gstreamer-sections.txt:
9043 * docs/gst/tmpl/cothreads.sgml:
9044 * docs/gst/tmpl/cothreads_compat.sgml:
9045 * docs/gst/tmpl/gettext.sgml:
9046 * docs/gst/tmpl/gobject2gtk.sgml:
9047 * docs/gst/tmpl/grammar.tab.sgml:
9048 * docs/gst/tmpl/gst-i18n-app.sgml:
9049 * docs/gst/tmpl/gst-i18n-lib.sgml:
9050 * docs/gst/tmpl/gst_private.sgml:
9051 * docs/gst/tmpl/gstaggregator.sgml:
9052 * docs/gst/tmpl/gstarch.sgml:
9053 * docs/gst/tmpl/gstatomic_impl.sgml:
9054 * docs/gst/tmpl/gstbufferstore.sgml:
9055 * docs/gst/tmpl/gstdata_private.sgml:
9056 * docs/gst/tmpl/gstdisksink.sgml:
9057 * docs/gst/tmpl/gstdisksrc.sgml:
9058 * docs/gst/tmpl/gstelementfactory.sgml:
9059 * docs/gst/tmpl/gstextratypes.sgml:
9060 * docs/gst/tmpl/gstfakesink.sgml:
9061 * docs/gst/tmpl/gstfakesrc.sgml:
9062 * docs/gst/tmpl/gstfdsink.sgml:
9063 * docs/gst/tmpl/gstfdsrc.sgml:
9064 * docs/gst/tmpl/gstfilesink.sgml:
9065 * docs/gst/tmpl/gstfilesrc.sgml:
9066 * docs/gst/tmpl/gsthttpsrc.sgml:
9067 * docs/gst/tmpl/gstidentity.sgml:
9068 * docs/gst/tmpl/gstindexfactory.sgml:
9069 * docs/gst/tmpl/gstmarshal.sgml:
9070 * docs/gst/tmpl/gstmd5sink.sgml:
9071 * docs/gst/tmpl/gstmultidisksrc.sgml:
9072 * docs/gst/tmpl/gstmultifilesrc.sgml:
9073 * docs/gst/tmpl/gstpadtemplate.sgml:
9074 * docs/gst/tmpl/gstpipefilter.sgml:
9075 * docs/gst/tmpl/gstschedulerfactory.sgml:
9076 * docs/gst/tmpl/gstsearchfuncs.sgml:
9077 * docs/gst/tmpl/gstshaper.sgml:
9078 * docs/gst/tmpl/gstspider.sgml:
9079 * docs/gst/tmpl/gstspideridentity.sgml:
9080 * docs/gst/tmpl/gststatistics.sgml:
9081 * docs/gst/tmpl/gsttee.sgml:
9082 * docs/gst/tmpl/gsttimecache.sgml:
9083 * docs/gst/tmpl/gsttypefind.sgml:
9084 * docs/gst/tmpl/gsttypefindfactory.sgml:
9085 * docs/gst/tmpl/gstxmlregistry.sgml:
9086 * docs/gst/tmpl/gthread-cothreads.sgml:
9087 * docs/gst/tmpl/old/cothreads.sgml:
9088 * docs/gst/tmpl/old/cothreads_compat.sgml:
9089 * docs/gst/tmpl/old/gettext.sgml:
9090 * docs/gst/tmpl/old/gobject2gtk.sgml:
9091 * docs/gst/tmpl/old/grammar.tab.sgml:
9092 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9093 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9094 * docs/gst/tmpl/old/gst_private.sgml:
9095 * docs/gst/tmpl/old/gstaggregator.sgml:
9096 * docs/gst/tmpl/old/gstarch.sgml:
9097 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9098 * docs/gst/tmpl/old/gstbufferstore.sgml:
9099 * docs/gst/tmpl/old/gstdata_private.sgml:
9100 * docs/gst/tmpl/old/gstdisksink.sgml:
9101 * docs/gst/tmpl/old/gstdisksrc.sgml:
9102 * docs/gst/tmpl/old/gstelementfactory.sgml:
9103 * docs/gst/tmpl/old/gstextratypes.sgml:
9104 * docs/gst/tmpl/old/gstfakesink.sgml:
9105 * docs/gst/tmpl/old/gstfakesrc.sgml:
9106 * docs/gst/tmpl/old/gstfdsink.sgml:
9107 * docs/gst/tmpl/old/gstfdsrc.sgml:
9108 * docs/gst/tmpl/old/gstfilesink.sgml:
9109 * docs/gst/tmpl/old/gstfilesrc.sgml:
9110 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9111 * docs/gst/tmpl/old/gstidentity.sgml:
9112 * docs/gst/tmpl/old/gstindexfactory.sgml:
9113 * docs/gst/tmpl/old/gstmarshal.sgml:
9114 * docs/gst/tmpl/old/gstmd5sink.sgml:
9115 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9116 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9117 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9118 * docs/gst/tmpl/old/gstpipefilter.sgml:
9119 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9120 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9121 * docs/gst/tmpl/old/gstshaper.sgml:
9122 * docs/gst/tmpl/old/gstspider.sgml:
9123 * docs/gst/tmpl/old/gstspideridentity.sgml:
9124 * docs/gst/tmpl/old/gststatistics.sgml:
9125 * docs/gst/tmpl/old/gsttee.sgml:
9126 * docs/gst/tmpl/old/gsttimecache.sgml:
9127 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9128 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9129 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9130 * docs/gst/tmpl/old/types.sgml:
9131 * docs/gst/tmpl/types.sgml:
9133 Rename gsttypefind.[ch] back to gsttypefindelement.[ch], since
9134 gtkdoc-scan doesn't like files with the same name in different
9136 * gst/elements/Makefile.am:
9137 * gst/elements/gstelements.c:
9138 * gst/elements/gsttypefind.c:
9139 * gst/elements/gsttypefind.h:
9140 * gst/elements/gsttypefindelement.c:
9141 * gst/elements/gsttypefindelement.h:
9143 2004-04-28 David Schleef <ds@schleef.org>
9145 A bunch of portability fixes, derived from Steve Lhomme's MSVC
9146 patch (bug #141317):
9147 * gst/gst-i18n-lib.h: Allow disabling gettext.
9148 * gst/gstatomic_impl.h: disable warning when it's dumb.
9149 * gst/gstclock.c: fix include
9150 * gst/gstcompat.h: fix variadic macro
9151 * gst/gstinfo.c: fix include
9152 * gst/gstmacros.h: add defines for inlines on MSVC
9153 * gst/gstplugin.c: fix includes
9154 * gst/gstregistry.c: fix includes
9155 * gst/gstregistry.h: use S_IREAD, etc., if S_IRUSR isn't defined
9156 * gst/gstsystemclock.c: fix include
9157 * gst/gsttrace.c: (gst_trace_new), (gst_trace_text_flush): use
9158 S_IREAD if S_IRUSR isn't defined. fix use of non-portable functions
9159 * gst/registries/gstxmlregistry.c:
9160 (gst_xml_registry_parse_element_factory): fix use of non-portable
9162 * libs/gst/control/dparam.h: Remove trailing comma in enum definition
9163 * libs/gst/control/dparammanager.h: same
9165 2004-04-28 David Schleef <ds@schleef.org>
9167 Move a bunch of unused files to old/ with names that are
9168 not case-insensitive-unique. These files still contain some
9169 useful information that needs to be merged into gstbin.sgml,
9170 etc., so they shouldn't be deleted yet.
9171 * docs/gst/tmpl/GstBin.sgml:
9172 * docs/gst/tmpl/GstBuffer.sgml:
9173 * docs/gst/tmpl/GstCaps.sgml:
9174 * docs/gst/tmpl/GstClock.sgml:
9175 * docs/gst/tmpl/GstCompat.sgml:
9176 * docs/gst/tmpl/GstData.sgml:
9177 * docs/gst/tmpl/GstElement.sgml:
9178 * docs/gst/tmpl/GstEvent.sgml:
9179 * docs/gst/tmpl/GstIndex.sgml:
9180 * docs/gst/tmpl/GstStructure.sgml:
9181 * docs/gst/tmpl/GstTag.sgml:
9182 * docs/gst/tmpl/old/GstBin.sgml:
9183 * docs/gst/tmpl/old/GstBuffer.sgml:
9184 * docs/gst/tmpl/old/GstCaps.sgml:
9185 * docs/gst/tmpl/old/GstClock.sgml:
9186 * docs/gst/tmpl/old/GstCompat.sgml:
9187 * docs/gst/tmpl/old/GstData.sgml:
9188 * docs/gst/tmpl/old/GstElement.sgml:
9189 * docs/gst/tmpl/old/GstEvent.sgml:
9190 * docs/gst/tmpl/old/GstIndex.sgml:
9191 * docs/gst/tmpl/old/GstStructure.sgml:
9192 * docs/gst/tmpl/old/GstTag.sgml:
9194 2004-04-28 David Schleef <ds@schleef.org>
9196 * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
9197 (gst_caps_append), (gst_caps_append_structure),
9198 (gst_caps_get_size), (gst_caps_get_structure), (gst_caps_copy_1),
9199 (gst_caps_set_simple), (gst_caps_set_simple_valist),
9200 (gst_caps_is_any), (gst_caps_is_empty), (gst_caps_is_chained),
9201 (gst_caps_is_fixed), (gst_caps_is_always_compatible),
9202 (gst_caps_intersect), (gst_caps_normalize),
9203 (gst_caps_transform_to_string): Patch from Tim-Philipp Müller
9204 to fix GST_CAPS() and GST_IS_CAPS(). (bug #141304)
9205 * gst/gstcaps.h: use GST_IS_CAPS().
9207 2004-04-26 David Schleef <ds@schleef.org>
9209 * gst/gstcpu.c: (gst_cpuid_i386): Don't clobber ebx in inline
9210 assembly. gcc doesn't handle it correctly. (bug #141083)
9211 * gst/gsttrashstack.h: same
9213 2004-04-25 Benjamin Otte <otte@gnome.org>
9215 * gst/gstelement.c: (gst_element_change_state):
9216 fix assertion to do an int comparison
9218 2004-04-25 Benjamin Otte <otte@gnome.org>
9220 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
9221 better debugging output on error
9223 2004-04-25 Benjamin Otte <otte@gnome.org>
9225 * gst/gstcaps.c: (gst_caps_subtract):
9228 2004-04-23 Benjamin Otte <otte@gnome.org>
9230 * gst/gstvalue.c: (gst_value_compare_buffer),
9231 (_gst_value_initialize):
9232 add comparison function for buffers
9234 2004-04-22 Ronald Bultje <rbultje@ronald.bitfreak.net>
9237 Just found out that this so-called "ima-wav" format is really
9238 just "dvi adpcm" (according to the MS WAV documentation). So
9239 renaming it. We didn't use it yet anyway.
9241 2004-04-23 Benjamin Otte <otte@gnome.org>
9243 * gst/gstcaps.c: (gst_caps_is_always_compatible):
9244 call gst_caps_is_subset
9246 2004-04-23 Benjamin Otte <otte@gnome.org>
9248 * gst/gstcaps.c: (gst_caps_subtract), (gst_caps_is_equal),
9249 (gst_caps_is_subset):
9252 2004-04-23 Benjamin Otte <otte@gnome.org>
9254 * gst/gstcaps.c: (gst_caps_structure_subtract_field),
9255 (gst_caps_structure_subtract), (gst_caps_subtract),
9256 (gst_caps_structure_figure_out_union),
9257 (gst_caps_structure_simplify), (gst_caps_do_simplify):
9258 fix simplifying and subtracting not working correctly with optional
9260 solve assorted problems that make it now simplify ebven more
9261 * docs/gst/tmpl/gstcaps.sgml:
9263 make gst_caps_do_simplify return a bool to indicate if it simplified
9264 * testsuite/caps/simplify.c: (main):
9265 add more checks. The tests is quite a bit useless right now because
9266 the core is heavily simplifying itself.
9267 * testsuite/caps/caps.h:
9268 fix caps to contain all optional properties
9270 2004-04-22 Benjamin Otte <otte@gnome.org>
9272 * docs/gst/tmpl/gstcaps.sgml:
9273 * docs/gst/tmpl/gstfilesrc.sgml:
9274 * docs/gst/tmpl/gststructure.sgml:
9275 * docs/gst/tmpl/gstvalue.sgml:
9276 update for recent API changes
9277 * gst/gstcaps.c: (gst_caps_do_simplify):
9278 fix to stop trying with a freed structure
9279 * gst/gstpad.c: (gst_pad_link_fixate):
9281 * gst/gstpad.c: (gst_pad_template_get_caps_by_name):
9284 deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
9285 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9286 (gst_structure_to_string):
9287 keep the correct type when using lists of ranges
9288 * gst/gstvalue.c: (gst_value_list_prepend_value),
9289 (gst_value_list_append_value):
9290 copy the value before adding to the list (d'oh)
9291 * gst/gstvalue.c: (gst_value_subtract_int_range_int),
9292 (gst_value_subtract_int_range_int_range):
9293 handle overflows correctly
9294 * gst/gstvalue.c: (gst_value_subtract_from_list):
9296 * testsuite/caps/caps.h:
9297 add a caps that caused segfaults
9299 2004-04-22 Benjamin Otte <otte@gnome.org>
9301 * testsuite/refcounting/pad.c: (main):
9304 2004-04-22 Benjamin Otte <otte@gnome.org>
9306 * gst/gstcaps.c: (gst_caps_subtract):
9307 allow subtracting ANY and EMPTY from ANY caps
9309 2004-04-22 Benjamin Otte <otte@gnome.org>
9311 * gst/gstcaps.c: (gst_caps_append), (gst_caps_intersect),
9313 only simplify in functions that create new caps. Simplifying in
9314 gst_caps_append breaks tests.
9316 2004-04-22 Benjamin Otte <otte@gnome.org>
9318 * gst/gstcaps.c: (gst_caps_structure_simplify):
9319 unset GValue after use
9320 * gst/gstcaps.c: (gst_caps_append),
9321 * gst/gstpad.c: (gst_pad_link_fixate), (gst_pad_template_new):
9322 use gst_caps_simplify (reduces registry size by 30%)
9323 * gst/gstpad.c: (gst_pad_template_new):
9324 don't allow NULL caps
9326 2004-04-22 Benjamin Otte <otte@gnome.org>
9328 * docs/gst/gstreamer-sections.txt:
9329 add gst_caps_do_simplify
9331 add documentation for gst_caps_do_simplify
9333 fix typo in gst_value_register_subtract_func declaration for gst-doc
9335 2004-04-22 Benjamin Otte <otte@gnome.org>
9337 * gst/gstcaps.c: (gst_caps_from_string_inplace):
9338 fix bug when converting from empty string.
9339 * gst/gstcaps.c: (gst_caps_new_any), (gst_caps_new_simple),
9340 (gst_caps_new_full_valist), (gst_caps_copy), (gst_caps_copy_1):
9341 use gst_caps_new_empty to allocate a new caps. Only that function
9342 allocates memory for caps now.
9343 * gst/gstcaps.c: (gst_caps_remove_and_get_structure),
9344 (gst_caps_remove_structure):
9345 add ability to remove one structure (but not to header yet)
9346 * gst/gstcaps.c: (gst_caps_compare_structures),
9347 (gst_caps_simplify), (gst_caps_structure_figure_out_union),
9348 (gst_caps_structure_simplify), (gst_caps_do_simplify),
9350 add gst_caps_do_simplify that tries to simplify a caps in place.
9351 Deprecate old gst_caps_simplify function.
9352 * testsuite/caps/caps.h:
9353 add caps.h containing a common set of caps to test against.
9354 * testsuite/caps/sets.c: (check_caps), (main):
9356 * testsuite/caps/.cvsignore:
9357 * testsuite/caps/Makefile.am:
9358 * testsuite/caps/simplify.c: (check_caps), (main):
9359 add test to check correctness and efficency of caps simplification.
9361 2004-04-22 Sebastien Cote <sc5@hermes.usherb.ca>
9363 reviewed by Benjamin Otte <otte@gnome.org>
9365 * gst/gstparse.c: (_gst_parse_escape):
9366 Free the GString used in _gst_parse_escape()
9368 2004-04-21 Benjamin Otte <in7y118@public.uni-hamburg.de>
9370 * gst/gstpad.c: (gst_pad_link_negotiate):
9371 refuse to link if the link is not possible
9373 * testsuite/Makefile.am:
9374 * testsuite/negotiation/.cvsignore:
9375 * testsuite/negotiation/Makefile.am:
9376 * testsuite/negotiation/pad_link.c: (main):
9377 add test that checks the above behaviour
9379 2004-04-21 Thomas Vander Stichele <thomas at apestaart dot org>
9381 * docs/gst/gstreamer-sections.txt:
9384 2004-04-21 Thomas Vander Stichele <thomas at apestaart dot org>
9386 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9387 (gst_filesrc_get_mmap), (gst_filesrc_get_read), (gst_filesrc_get),
9388 (gst_filesrc_open_file), (gst_filesrc_close_file),
9389 (gst_filesrc_srcpad_query), (gst_filesrc_srcpad_event):
9390 * gst/elements/gstfilesrc.h:
9391 add support for non-regular files (#140734)
9393 2004-04-21 Benjamin Otte <otte@gnome.org>
9395 * gst/gstpad.c: (gst_pad_link_fixate):
9396 add sophisticated error checking code to see if fixation functions
9397 did their fixation right
9399 2004-04-21 Benjamin Otte <otte@gnome.org>
9401 * gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
9402 check for ANY caps before appending/unioning
9403 * gst/gstcaps.c: (gst_caps_is_subset),
9404 (gst_caps_is_equal), (gst_caps_structure_subtract_field),
9405 (gst_caps_structure_subtract), (gst_caps_subtract):
9407 add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
9408 the API. deprecate gst_caps_is_equal_fixed
9409 * gst/gstpad.c: (gst_pad_try_set_caps):
9410 * gst/gstqueue.c: (gst_queue_link):
9411 s/gst_caps_is_equal_fixed/gst_caps_is_equal/
9412 * gst/gststructure.c: (gst_structure_get_name_id):
9413 * gst/gststructure.h:
9414 add function gst_structure_get_name_id
9415 * gst/gstvalue.c: (gst_value_subtract_int_int_range),
9416 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
9417 (gst_value_subtract_int_range_int_range),
9418 (gst_value_subtract_double_double_range),
9419 (gst_value_subtract_double_range_double),
9420 (gst_value_subtract_double_range_double_range),
9421 (gst_value_subtract_from_list), (gst_value_subtract_list),
9422 (gst_value_can_intersect), (gst_value_subtract),
9423 (gst_value_can_subtract), (gst_value_register_subtract_func),
9424 (_gst_value_initialize):
9426 add support for subtracting values from each other. Note that
9427 subtracting means subtracting as in set theory. Required for caps
9429 * testsuite/caps/.cvsignore:
9430 * testsuite/caps/Makefile.am:
9431 * testsuite/caps/erathostenes.c: (erathostenes), (main):
9432 * testsuite/caps/sets.c: (check_caps), (main):
9433 * testsuite/caps/subtract.c: (check_caps), (main):
9434 add tests for subtraction and equality code.
9436 2004-04-20 David Schleef <ds@schleef.org>
9438 * gst/autoplug/Makefile.am: Fix some little buglets in last checkin.
9439 * gst/indexers/Makefile.am:
9440 * gst/schedulers/Makefile.am:
9441 * libs/gst/bytestream/Makefile.am:
9442 * libs/gst/control/Makefile.am:
9443 * libs/gst/getbits/Makefile.am:
9445 2004-04-20 David Schleef <ds@schleef.org>
9447 * common/as-libtool.mak: Fine-tune DLL building.
9448 * configure.ac: Link plugins against libgstreamer. Define plugindir
9450 * examples/plugins/Makefile.am: remove plugindir
9451 * gst/autoplug/Makefile.am: DLL building fixes
9452 * gst/elements/Makefile.am: DLL building fixes. Disable pipefilter on
9454 * gst/elements/gstelements.c: Conditionally disable pipefilter.
9455 * gst/indexers/Makefile.am: DLL building fixes
9456 * gst/schedulers/Makefile.am: DLL building fixes.
9457 * libs/gst/bytestream/Makefile.am: DLL building fixes.
9458 * libs/gst/control/Makefile.am: same
9459 * libs/gst/getbits/Makefile.am: same
9460 * testsuite/Makefile.am: New dlopen directory
9461 * testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
9463 * testsuite/dlopen/dlopen_gst.c: (main): same
9464 * testsuite/dlopen/loadgst.c: (do_test): same
9466 2004-04-20 David Schleef <ds@schleef.org>
9468 * gst/parse/grammar.y: Apply patch from Sebastien Cote
9469 <sc5@hermes.usherb.ca> to fix a memleak. (bug #140594)
9471 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9473 * gst/gstelement.c: (gst_element_wait),
9474 (gst_element_set_time_delay), (gst_element_change_state):
9477 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9479 * gst/autoplug/gstspider.c: (gst_spider_link_sometimes),
9480 (gst_spider_identity_plug):
9481 improve debugging messages
9482 * gst/gstbin.c: (gst_bin_remove_func):
9483 make sure the state_change function is only called with simple state
9486 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9488 * gst/elements/gstfakesink.c: (gst_fakesink_state_error_get_type),
9489 (gst_fakesink_set_property), (gst_fakesink_chain):
9490 * gst/elements/gstfakesrc.c: (gst_fakesrc_set_property):
9491 * gst/elements/gstfdsrc.c: (gst_fdsrc_set_property):
9492 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property):
9493 * gst/elements/gstidentity.c: (gst_identity_chain),
9494 (gst_identity_set_property):
9495 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_set_property):
9496 * gst/elements/gstpipefilter.c: (gst_pipefilter_set_property):
9497 add warnings to _set_property for unknown arguments
9498 use GST_TIME_FORMAT/GST_TIME_ARGS for timestamp printing
9500 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9504 add .po file download snippet
9505 fix a bug in the doc makefile
9507 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9512 Added en_GB translation (Gareth Owen)
9514 2004-04-20 Johan Dahlin <johan@gnome.org>
9516 * gst/gstpad.c (_invent_event): Clean up
9518 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9520 * testsuite/caps/filtercaps.c: (main):
9521 fix test to test things correctly (caps are complicated)
9523 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9525 * testsuite/caps/Makefile.am:
9526 * testsuite/caps/filtercaps.c: (main):
9527 add test (that doesn't work right now, but should)
9529 2004-04-19 David Schleef <ds@schleef.org>
9531 * configure.ac: Add test for allowing unaligned access. Add define
9532 to put in gstconfig.h.
9533 * docs/gst/gstreamer-sections.txt: New symbols
9534 * docs/gst/tmpl/gstcompat.sgml: Check in changes made by gtkdoc
9535 * docs/gst/tmpl/gstfilesrc.sgml:
9536 * docs/gst/tmpl/gstparse.sgml:
9537 * docs/gst/tmpl/gsttypes.sgml:
9538 * docs/gst/tmpl/gstutils.sgml:
9539 * docs/gst/tmpl/gstvalue.sgml:
9540 * gst/gstconfig.h.in: Add GST_HAVE_UNALIGNED_ACCESS
9541 * gst/gstutils.h: Add macros for unaligned memory access. Useful
9542 on most !i386/!powerpc architectures. From Daniel Gazard
9543 <daniel.gazard@free.fr>. (bug #140156)
9544 * po/af.po: Check in changes made by gettext.
9551 2004-04-20 Benjamin Otte <otte@gnome.org>
9553 * gst/schedulers/entryscheduler.c:
9554 (gst_entry_scheduler_yield):
9555 refuse to yield when decoupled elements insist on doing that.
9556 At least it's better than crashing
9558 2004-04-19 David Schleef <ds@schleef.org>
9560 * docs/libs/Makefile.am: Change sinclude to include
9561 * docs/gst/Makefile.am: same
9562 * pkgconfig/Makefile.am: Remove GNU-ism from makefile target
9564 2004-04-19 Thomas Vander Stichele <thomas at apestaart dot org>
9568 Added Ukrainian translation (Maxim V. Dziumanenko)
9570 2004-04-19 Johan Dahlin <johan@gnome.org>
9572 * gst/parse/grammar.y (__gst_parse_chain_free): Don't do null
9573 checking here, do it before calling the function.
9574 Clean up, use for loops instead of while loops while iterating
9577 * gst/autoplug/gstspider.c (gst_spider_request_new_pad): Fix typo
9579 (gst_spider_create_and_plug): Improve debug message.
9580 General: Replace while loops which iterates over GLists with for
9581 loops. Which are much cleaner, improves readability, especially
9582 for gst_spider_identity_plug
9584 * gst/gstpad.c (_invent_event): Fix parameters to warning macros,
9587 2004-04-18 Thomas Vander Stichele <thomas at apestaart dot org>
9591 Added Turkish translation (Baris Cicek)
9593 2004-04-18 Ronald Bultje <rbultje@ronald.bitfreak.net>
9595 * docs/faq/troubleshooting.xml:
9596 Mention gst-register in the FAQ (fixes 139045).
9598 2004-04-17 Thomas Vander Stichele <thomas at apestaart dot org>
9600 * docs/gst/gstreamer-sections.txt:
9602 2004-04-17 Benjamin Otte <otte@gnome.org>
9604 * gst/gstelement.c: (gst_element_dispose):
9606 * gst/gstpad.c: (gst_pad_call_chain_function):
9607 don't create loads of events due to bad macro usage
9609 2004-04-16 David Schleef <ds@schleef.org>
9611 * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
9612 * gst/gstpad.c: (_gst_pad_default_fixate_foreach):
9613 * gst/gstvalue.c: (gst_value_serialize_buffer),
9614 (gst_value_deserialize_buffer), (gst_type_is_fixed),
9615 (_gst_value_initialize): Create a new function gst_type_is_fixed()
9616 to indicate types that are fixed wrt caps or not. Switching to
9617 this function fixes (bug #140298).
9620 2004-04-16 David Schleef <ds@schleef.org>
9622 * common/m4/gst-arch.m4: Implmenent a whitelist and blacklist
9623 for GST_UNALIGNED_ACESS, since we essentially know which archs
9626 2004-04-17 Benjamin Otte <otte@gnome.org>
9628 * docs/gst/Makefile.am:
9629 ignore gst/parse directory when building docs (fixes #140205)
9631 2004-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
9633 * testsuite/refcounting/mem.c: (vmsize):
9636 2004-04-16 Johan Dahlin <johan@gnome.org>
9638 * docs/gst/gstreamer-sections.txt: Add gst_pad_call_chain_function
9639 and gst_pad_call_get_function.
9641 2004-04-15 David Schleef <ds@schleef.org>
9643 * common/m4/gst-arch.m4: Add GST_UNALIGNED_ACCESS() macro that
9644 checks if we can access unaligned memory.
9645 * configure.ac: Use it.
9647 2004-04-16 Benjamin Otte <otte@gnome.org>
9649 * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get),
9650 (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
9651 * gst/elements/gstfilesrc.h:
9652 s/seek_happened/need_discont/ and require discont before sending any
9655 2004-04-15 David Schleef <ds@schleef.org>
9657 * gst/gstvalue.c: (gst_value_serialize_buffer),
9658 (gst_value_deserialize_buffer), (_gst_value_initialize):
9659 Register these types as fundamental types. (bug #140015)
9661 2004-04-16 Benjamin Otte <otte@gnome.org>
9663 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_new),
9664 (gst_pad_link_free), (gst_pad_link_try), (_invent_event),
9666 implement enforcing discont events before buffers are passed. This
9667 allows state changes of only some elements and later correctly going
9668 on where they left off (or in short: you can now set audio sinks to
9669 NULL to release the device when the pipeline is paused)
9670 * gst/gstpad.c: (gst_pad_call_chain_function),
9671 (gst_pad_call_get_function):
9673 add gst_pad_call_chain_function and gst_pad_call_get_function for
9674 scheduler interaction. They are required because of the changes
9676 * gst/schedulers/entryscheduler.c: (get_buffer),
9677 (gst_entry_scheduler_chain_wrapper),
9678 (gst_entry_scheduler_get_wrapper),
9679 (gst_entry_scheduler_state_transition),
9680 (gst_entry_scheduler_pad_link):
9681 * gst/schedulers/gstbasicscheduler.c:
9682 (gst_basic_scheduler_chain_wrapper),
9683 (gst_basic_scheduler_src_wrapper),
9684 (gst_basic_scheduler_chainhandler_proxy),
9685 (gst_basic_scheduler_gethandler_proxy),
9686 (gst_basic_scheduler_cothreaded_chain),
9687 (gst_basic_scheduler_chain_elements):
9688 * gst/schedulers/gstoptimalscheduler.c:
9689 (get_group_schedule_function), (pad_clear_queued),
9690 (gst_opt_scheduler_pad_link):
9691 use the new functions instead of calling get/chain-functions
9694 2004-04-15 David Schleef <ds@schleef.org>
9696 * docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
9697 * docs/gst/tmpl/gstinfo.sgml: same
9698 * docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
9700 * gst/gstutils.h: Remove the \ that was confusing gtk-doc.
9701 * examples/queue/queue.c: (main): We iterate pipelines, not
9704 2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
9706 * docs/pwg/advanced-types.xml:
9707 Add MS RLE support. Also document Qt RLE although I have no sample
9708 files for that yet. And document an extra property for ADPCM.
9710 2004-04-15 David Schleef <ds@schleef.org>
9712 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
9713 (_gst_plugin_fault_handler_setup): Disable more stuff on
9716 2004-04-15 David Schleef <ds@schleef.org>
9718 * gst/gstinfo.c: (_gst_debug_init): Change some internal
9719 symbol names to not conflict with new gstinfo.h symbols.
9720 * gst/gstinfo.h: Add inline functions for all those crazy
9721 compilers that don't know how to handle variadic macros (MSVC).
9723 2004-04-15 Thomas Vander Stichele <thomas at apestaart dot org>
9725 * configure.ac: bump nano to 1
9727 === release 0.8.1 ===
9729 2004-04-15 Thomas Vander Stichele <thomas at apestaart dot org>
9734 releasing 0.8.1, "Snow Brigade"
9736 2004-04-14 David Schleef <ds@schleef.org>
9738 * testsuite/Makefile.am: define tests_ignore
9739 * testsuite/Rules: Added new tests_ignore, which get compiled,
9740 but not run (generally because they're inconsistent or have
9741 heisenbugs). Now we can ensure all the .c files compile in
9743 * testsuite/bins/Makefile.am: define tests_ignore
9744 * testsuite/bytestream/Makefile.am:
9745 * testsuite/caps/Makefile.am:
9746 * testsuite/clock/Makefile.am:
9747 * testsuite/debug/Makefile.am:
9748 * testsuite/debug/global.c: (gst_debug_log_one),
9749 (gst_debug_log_two): Fix compilation problem.
9750 * testsuite/dynparams/Makefile.am:
9751 * testsuite/elements/Makefile.am:
9752 * testsuite/ghostpads/Makefile.am:
9753 * testsuite/indexers/Makefile.am:
9754 * testsuite/parse/Makefile.am:
9755 * testsuite/plugin/Makefile.am:
9756 * testsuite/refcounting/Makefile.am:
9757 * testsuite/refcounting/element_pad.c: (main): Don't return leak
9758 results, because it's not calculated correctly.
9759 * testsuite/refcounting/pad.c: (main): same
9760 * testsuite/states/Makefile.am:
9761 * testsuite/tags/Makefile.am:
9762 * testsuite/threads/Makefile.am:
9764 2004-04-14 David Schleef <ds@schleef.org>
9766 * gst/gstcpu.c: (gst_cpuid_i386): Add workaround for gcc-3.2
9767 generating bad code around the cpu detection asm code.
9769 2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
9771 * tools/gst-inspect.c: (print_element_info):
9772 print numeric version of rank as well, since we added some - 1
9773 rank values to elements
9775 2004-04-13 David Schleef <ds@schleef.org>
9777 * configure.ac: Disable various code when compiling for MinGW.
9778 * gst/elements/Makefile.am:
9779 * gst/elements/gstelements.c:
9780 * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
9781 * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get):
9782 * gst/registries/gstxmlregistry.c: (make_dir):
9784 2004-04-13 David Schleef <ds@schleef.org>
9787 * gst/gstcpu.c: (gst_cpuid_i386): Convert asm source into inline
9789 * gst/gstcpuid_i386.s: remove
9791 2004-04-13 David Schleef <ds@schleef.org>
9793 * docs/gst/tmpl/gstaggregator.sgml: Random checkin because gtk-doc
9794 seems to think it needs to be done.
9795 * docs/gst/tmpl/gstfakesink.sgml:
9796 * docs/gst/tmpl/gstfakesrc.sgml:
9797 * docs/gst/tmpl/gstfdsink.sgml:
9798 * docs/gst/tmpl/gstfdsrc.sgml:
9799 * docs/gst/tmpl/gstfilesink.sgml:
9800 * docs/gst/tmpl/gstfilesrc.sgml:
9801 * docs/gst/tmpl/gstidentity.sgml:
9802 * docs/gst/tmpl/gstmd5sink.sgml:
9803 * docs/gst/tmpl/gstmultifilesrc.sgml:
9804 * docs/gst/tmpl/gstpipefilter.sgml:
9805 * docs/gst/tmpl/gstshaper.sgml:
9806 * docs/gst/tmpl/gstspider.sgml:
9807 * docs/gst/tmpl/gstspideridentity.sgml:
9808 * docs/gst/tmpl/gststatistics.sgml:
9809 * docs/gst/tmpl/gsttee.sgml:
9810 * docs/gst/tmpl/gsttypefind.sgml:
9811 * docs/gst/tmpl/gstutils.sgml:
9813 2004-04-13 David Schleef <ds@schleef.org>
9815 * configure.ac: Changes to remove POSIXisms (mmap in this case)
9816 and to build DLLs on Windows.
9818 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
9819 (gst_filesrc_open_file):
9820 * gst/schedulers/Makefile.am:
9822 2004-04-13 David Schleef <ds@schleef.org>
9824 * gst/gstcaps.c: (gst_caps_structure_fixate_field_nearest_int),
9825 (gst_caps_structure_fixate_field_nearest_double): Fix bug in
9828 2004-04-12 David Schleef <ds@schleef.org>
9830 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9831 (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed
9833 * gst/gstbuffer.h: Changed GST_BUFFER_TYPE to gst_buffer_get_type()
9834 * gst/gstcaps.c: (gst_caps_is_fixed_foreach): Buffer is a fixed type
9835 * gst/gstpad.c: (_gst_pad_default_fixate_foreach): same
9836 * gst/gststructure.c: (gst_structure_set_valist),
9837 (gst_structure_from_abbr), (gst_structure_to_abbr): Add vararg
9838 support for buffers.
9839 * gst/gsttag.c: (gst_tag_register): Constify a prototype that was
9840 intended to be const.
9841 * gst/gsttag.h: same
9842 * gst/gstvalue.c: (gst_value_serialize_buffer),
9843 (gst_value_deserialize_buffer), (_gst_value_initialize): Add code
9844 to (de)serialize buffers.
9845 * testsuite/caps/Makefile.am: Add a bit of buffer testing
9846 * testsuite/caps/string-conversions.c: (main):
9847 * testsuite/caps/value_serialize.c: add new test
9849 2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
9851 * docs/pwg/advanced-types.xml:
9852 Document MS video 1 (video/x-msvideocodec) mimetype/format.
9854 2004-04-11 Benjamin Otte <otte@gnome.org>
9856 * gst/schedulers/gstbasicscheduler.c: (plugin_init):
9857 rename categories to basic_*
9858 * gst/schedulers/gstbasicscheduler.c:
9859 (gst_basic_scheduler_chain_wrapper),
9860 (gst_basic_scheduler_chainhandler_proxy),
9861 (gst_basic_scheduler_gethandler_proxy),
9862 (gst_basic_scheduler_eventhandler_proxy):
9863 debugging category fixes - put common stuff in log category
9864 * gst/schedulers/gstbasicscheduler.c:
9865 (gst_basic_scheduler_chain_elements):
9866 dirty fix: call gst_basic_scheduler_cothreaded_chain when already
9867 active and linking two active chains
9869 2004-04-10 Benjamin Otte <otte@gnome.org>
9871 * docs/pwg/intro-preface.xml:
9872 fix dead links and remove reference to Wiki
9874 2004-04-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
9876 * gst/schedulers/gstbasicscheduler.c:
9877 make sure we can switch back to the main function if we're still in
9878 the main function (supposed to fix #139617)
9879 * gst/schedulers/gthread-cothreads.h:
9880 don't throw an error when switching to the same cothread
9882 2004-04-09 Benjamin Otte <otte@gnome.org>
9884 * gst/gstbin.c: (gst_bin_get_type):
9885 * gst/gstclock.c: (gst_clock_get_type):
9886 * gst/gstindex.c: (gst_index_get_type):
9887 * gst/gstobject.c: (gst_object_get_type),
9888 (gst_signal_object_get_type):
9889 * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type),
9890 (gst_pad_template_get_type), (gst_ghost_pad_get_type):
9891 * gst/gstpluginfeature.c: (gst_plugin_feature_get_type):
9892 * gst/gstqueue.c: (gst_queue_get_type):
9893 * gst/gstregistry.c: (gst_registry_get_type):
9894 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9895 * gst/gstthread.c: (gst_thread_get_type):
9896 don't use memchunks for these objects, use malloc instead
9898 2004-04-08 Thomas Vander Stichele <thomas at apestaart dot org>
9900 * docs/gst/.cvsignore:
9901 * docs/gst/Makefile.am:
9902 * docs/gst/gstreamer-sections.txt:
9903 * docs/gst/tmpl/gstaggregator.sgml:
9904 * docs/gst/tmpl/gstbuffer.sgml:
9905 * docs/gst/tmpl/gstclock.sgml:
9906 * docs/gst/tmpl/gstelement.sgml:
9907 * docs/gst/tmpl/gstfakesink.sgml:
9908 * docs/gst/tmpl/gstfakesrc.sgml:
9909 * docs/gst/tmpl/gstfdsink.sgml:
9910 * docs/gst/tmpl/gstfdsrc.sgml:
9911 * docs/gst/tmpl/gstfilesink.sgml:
9912 * docs/gst/tmpl/gstfilesrc.sgml:
9913 * docs/gst/tmpl/gstidentity.sgml:
9914 * docs/gst/tmpl/gstindex.sgml:
9915 * docs/gst/tmpl/gstinfo.sgml:
9916 * docs/gst/tmpl/gstmd5sink.sgml:
9917 * docs/gst/tmpl/gstmultifilesrc.sgml:
9918 * docs/gst/tmpl/gstpad.sgml:
9919 * docs/gst/tmpl/gstpipefilter.sgml:
9920 * docs/gst/tmpl/gstpipeline.sgml:
9921 * docs/gst/tmpl/gstpluginfeature.sgml:
9922 * docs/gst/tmpl/gstqueue.sgml:
9923 * docs/gst/tmpl/gstregistry.sgml:
9924 * docs/gst/tmpl/gstscheduler.sgml:
9925 * docs/gst/tmpl/gstshaper.sgml:
9926 * docs/gst/tmpl/gstspider.sgml:
9927 * docs/gst/tmpl/gstspideridentity.sgml:
9928 * docs/gst/tmpl/gststatistics.sgml:
9929 * docs/gst/tmpl/gstsystemclock.sgml:
9930 * docs/gst/tmpl/gsttee.sgml:
9931 * docs/gst/tmpl/gstthread.sgml:
9932 * docs/gst/tmpl/gsttypefind.sgml:
9933 * docs/gst/tmpl/gstutils.sgml:
9934 further doc build fixes
9936 2004-04-07 Thomas Vander Stichele <thomas at apestaart dot org>
9938 * docs/gst/Makefile.am:
9939 make docs exit on scanning problems
9940 fix nonsrcdir build issues
9941 * docs/gst/gstreamer-sections.txt:
9942 adding stuff from -unused
9945 * gst/schedulers/cothreads_compat.h:
9946 fix cothread warnings
9948 2004-04-07 Thomas Vander Stichele <thomas at apestaart dot org>
9950 * docs/gst/gstreamer-sections.txt:
9951 remove defines deprecated by Benjamin
9953 2004-04-07 Benjamin Otte <otte@gnome.org>
9955 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
9956 when the buffer is complete, don't check if other buffers are needed
9957 * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_event):
9958 check that the offset is >0 so we don't try to read before the
9959 beginning of the file
9960 * gst/gstpad.c: (gst_pad_set_pad_template):
9961 sink the template, so we don't end up with 130k pad templates
9963 2004-04-06 Benjamin Otte <otte@gnome.org>
9965 * gst/autoplug/gstspider.c: (gst_spider_link_add):
9966 don't ref the element, adding already reffed it. And we didn't unref
9967 it later anyway... (huge memleak when you used many spider elements)
9968 * gst/gstelement.c: (gst_element_base_class_finalize):
9969 * gst/gstelementfactory.c: (gst_element_factory_cleanup),
9970 (gst_element_register):
9971 * gst/gsturi.c: (gst_element_make_from_uri):
9972 use gst_object_(un)ref instead of g_object(un)ref
9974 2004-04-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
9977 remove macro that wouldn't work anymore because struct member has
9979 * gst/schedulers/entryscheduler.c: (schedule_forward):
9980 fix segfault for unconnected pads
9982 2004-04-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
9984 reviewed by David Schleef <ds@schleef.org>
9987 *_FORMAT modifiers should require putting a % in front of them for
9988 consistency reasons.
9990 2004-04-05 Colin Walters <walters@redhat.com>
9992 * configure.ac (VALGRIND_CFLAGS, VALGRIND_LIBS): Remove spurious
9995 2004-04-05 Benjamin Otte <otte@gnome.org>
9999 * gst/gst_private.h:
10000 * gst/gstinfo.c: (__gst_in_valgrind), (_gst_debug_init):
10001 add support for detecting if GStreamer runs inside valgrind.
10002 requires valgrind (d'oh) and --enable-debug for correct cdetection.
10003 print a big message in valgrind that GStreamer has detected it's
10004 running inside and might now use different code.
10005 * gst/gstmemchunk.c: (populate), (free_area),
10006 (gst_mem_chunk_destroy), (gst_mem_chunk_alloc),
10007 (gst_mem_chunk_free):
10008 flag memchunks for valgrind, so it can detect leaking of chunks.
10009 This allows detecting leaks of GstBuffer and GstEvent correctly
10012 2004-04-05 David Schleef <ds@schleef.org>
10014 * gst/gsttrace.h: Fix #ifdef nesting (bug #139109) Patch from
10015 jensgr@gmx.net (Jens Granseuer)
10017 2004-04-05 David Schleef <ds@schleef.org>
10019 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10020 (gst_buffer_default_free), (gst_buffer_default_copy),
10021 (gst_buffer_alloc_chunk), (gst_buffer_free_chunk),
10022 (gst_buffer_new), (gst_buffer_create_sub): Allocate GstBuffer
10023 structures in one place.
10025 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10027 * gst/gstinfo.h: adding Ronald's timestamp debugging defines
10028 (GST_TIME_FORMAT, GST_TIME_ARGS)
10030 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10032 * testsuite/elements/Makefile.am:
10033 disable test until it stops breaking make distcheck
10035 2004-04-05 Johan Dahlin <johan@gnome.org>
10037 * po/sv.po: Updated translation
10039 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10041 * gst/gstplugin.c: (gst_plugin_load_file):
10042 fix segfault for when original plugin was loaded statically
10044 2004-04-05 Benjamin Otte <otte@gnome.org>
10046 * testsuite/debug/category.c: (main):
10047 * testsuite/debug/commandline.c: (main):
10048 * testsuite/debug/output.c: (main):
10049 fix tests to work again with debugging enabled
10051 2004-04-05 Benjamin Otte <otte@gnome.org>
10053 * gst/schedulers/gstbasicscheduler.c:
10054 (gst_basic_scheduler_pad_link):
10055 fix to work with recent scheduling changes
10057 2004-04-05 Benjamin Otte <otte@gnome.org>
10059 * gst/schedulers/entryscheduler.c: (some functions, dunno which,
10060 prepareChangeLog doesn't work when cvs indents):
10061 don't throw an error when no element can be scheduled, there's too
10062 many weird reasons why it doesn't work. Return STOPPED instead.
10063 decoupled elemts' schedulability doesn't depend on bufpens.
10065 2004-04-04 Benjamin Otte <otte@gnome.org>
10067 * gst/schedulers/gstbasicscheduler.c:
10068 (gst_basic_scheduler_pad_select):
10069 fix uninitialized variable warnings
10071 2004-04-04 Benjamin Otte <otte@gnome.org>
10073 * gst/gstpad.c: (gst_pad_collect_valist):
10074 fix uninitialized variable warning
10075 * gst/schedulers/entryscheduler.c: (schedule_forward):
10076 fix shadowed variable
10078 2004-04-04 Benjamin Otte <otte@gnome.org>
10080 * gst/gstpad.c: (gst_pad_collect_array), (gst_pad_collectv),
10081 (gst_pad_collect), (gst_pad_collect_valist), (gst_pad_selectv),
10084 * gst/gstscheduler.c: (gst_scheduler_pad_select),
10085 (gst_scheduler_lock_element), (gst_scheduler_unlock_element):
10086 * gst/gstscheduler.h:
10087 implement gst_pad_collect as replacement for gst_pad_select.
10088 deprecate gst_pad_select and gst_scheduler_(un)lock_element
10089 add new flag GST_SCHEDULER_FLAG_NEW_API for API that implements the
10090 new pad_select, lock and unlock calls.
10091 * gst/cothreads.c: (cothread_destroy), (cothread_switch):
10093 * gst/schedulers/cothreads_compat.h:
10094 * gst/schedulers/gthread-cothreads.h:
10095 remove unused cothread_lock and cothread_unlock calls
10096 * gst/schedulers/entryscheduler.c:
10097 (gst_entry_scheduler_class_init), (gst_entry_scheduler_init),
10098 (_can_schedule_loop), (gst_entry_scheduler_get_handler),
10099 (gst_entry_scheduler_pad_select):
10101 * gst/schedulers/gstbasicscheduler.c:
10102 (gst_basic_scheduler_class_init), (gst_basic_scheduler_init),
10103 (gst_basic_scheduler_pad_select):
10104 remove useless lock and unlock calls, update pad_select to new API
10106 * gst/schedulers/gstoptimalscheduler.c:
10107 (gst_opt_scheduler_class_init):
10108 remove useless select, lock and unlock function calls
10109 * gst/elements/gstaggregator.c: (gst_aggregator_loop):
10110 use gst_pad_collect instead of gst_pad_select
10112 2004-04-04 Benjamin Otte <otte@gnome.org>
10114 * gst/schedulers/entryscheduler.c: (_can_schedule_get),
10115 (can_schedule_pad), (can_schedule), (schedule), (schedule_forward),
10116 (schedule_next_element), (print_entry):
10117 add can_schedule_pad to handle element states.
10118 add schedule_forward to select the correct entry to schedule next
10120 2004-04-03 Benjamin Otte <otte@gnome.org>
10122 * gst/schedulers/entryscheduler.c:
10123 remove unused variable, fix error inside Rb, fix compile warning in
10126 2004-04-03 Benjamin Otte <otte@gnome.org>
10128 * gst/schedulers/entryscheduler.c:
10129 completely revamp the inner workings, so it's a lot easier to
10130 understand and extend
10132 2004-04-03 Andy Wingo <wingo@pobox.com>
10134 * gst/schedulers/gstoptimalscheduler.c (GstOptSchedulerGroupLink):
10135 Rename ->group1 and ->group2 to ->src and ->sink, respectively.
10136 This allows better introspection of pipeline topology.
10137 (add_to_chain): Don't do trickery to put loop elements first;
10138 rather, queue a chain sort by marking the chain as dirty.
10139 (remove_from_chain): Mark the chain dirty.
10140 (sort_chain): New function. Sorts the group list so that terminal
10141 sinks are first. This means elements on the sink side will be
10142 preferentially sscheduled before elements on the src side of the
10144 (chain_recursively_migrate_group): Use OTHER_GROUP_LINK.
10145 (schedule_chain): If the chain is marked DIRTY, call sort_chain.
10146 (gst_opt_scheduler_pad_link, gst_opt_scheduler_pad_unlink)
10147 (group_inc_link): Change argument and variable names to match the
10148 new link structure member names (src and sink).
10149 (group_dec_link): Add some description
10151 2004-04-03 Benjamin Otte <otte@gnome.org>
10153 * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
10155 * testsuite/debug/category.c: (main):
10156 * testsuite/debug/commandline.c: (main):
10157 * testsuite/debug/output.c: (main):
10158 * testsuite/debug/printf_extension.c: (main):
10159 fix to successfully build and test with --disable-gst-debug
10160 configure switch (fixes #138705)
10162 2004-04-03 Benjamin Otte <otte@gnome.org>
10164 * docs/pwg/building-boiler.xml:
10165 add cvs login line and s/anonymous/anoncvs/
10167 2004-04-03 Tim-Phillip Müller <t.i.m@zen.co.uk>
10169 reviewed by Benjamin Otte <otte@gnome.org>
10171 * gst/gststructure.c: (gst_structure_free):
10172 memleak fix: free fields array (partial fix for #134839)
10174 2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
10176 * docs/random/ds/0.9-suggested-changes:
10177 Add a note to change handoff use in fakesrc to be usable in
10178 a more generic way (fakesrc should be renamed to appsrc or so).
10179 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10180 Change signal type to scope, so we can fill the buffer in the
10181 handoff handler (that's the whole use of this signal...).
10183 2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
10185 * docs/pwg/other-ntoone.xml:
10186 Document muxers and n-to-1 elements.
10188 2004-04-01 Martin Soto <martinsoto@users.sourceforge.net>
10190 * gst/registries/gstxmlregistry.c
10191 (gst_xml_registry_rebuild_recurse): Fix the algorithm to
10192 determine if a file is a G_MODULE. The old one discards paths
10193 containing "so" somewhere in the middle. My home directory is
10194 called "soto". Go figure...
10196 2004-03-31 David Schleef <ds@schleef.org>
10198 * gst/gstbuffer.c: (gst_buffer_join): Add function gst_buffer_join()
10199 to eventually deprecate gst_buffer_merge(). (bug: #136408)
10202 2004-03-31 David Schleef <ds@schleef.org>
10204 * gst/gstvalue.c: (gst_value_union_int_int_range),
10205 (gst_value_union_int_range_int_range), (gst_value_can_union),
10206 (gst_value_union), (_gst_value_initialize): Add some union
10207 implementations. We didn't have any previously.
10208 * testsuite/caps/Makefile.am:
10209 * testsuite/caps/audioscale.c: (gst_audioscale_expand_value),
10210 (gst_audioscale_getcaps), (test_caps), (main): A little test
10211 that is the same as the caps manipulation in audioscale.
10213 2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
10215 * docs/faq/general.xml:
10216 add entry about "does gst support format X?"
10218 2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
10223 fix GST_BOILERPLATE_FULL to not throw casting errors on C++
10225 2004-03-30 Benjamin Otte <otte@gnome.org>
10227 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
10228 set the offset of the buffer to the requested offset
10229 * gst/elements/gsttypefind.c: (stop_typefinding):
10230 revert patch 1.18 (which I unfortunately don't know the reason for).
10231 This is needed to allow downstream elements to seek. Otherwise
10232 typefind might overwrite a previous seek by downstream elements.
10233 This lead to errors with id3tag and typefind on some mp3s.
10234 * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
10235 (gst_entry_scheduler_iterate):
10236 be more verbose when debugging
10238 2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
10240 * gst/gstcaps.c: (gst_caps_from_string_inplace):
10241 make sure we don't get NULL strings
10243 2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
10246 * gst/gstelement.c:
10247 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10248 * gst/gstindex.c: (gst_index_resolver_get_type),
10249 (gst_index_get_type), (gst_index_factory_get_type):
10253 * gst/gsturi.c: (gst_uri_handler_get_type):
10255 first batch of documentation fixes
10257 2004-03-29 David Schleef <ds@schleef.org>
10259 * docs/gst/Makefile.am: Disable a bunch of headers from being scanned
10260 * docs/gst/gstreamer-docs.sgml: More hacking
10261 * docs/gst/gstreamer-sections.txt:
10262 * docs/gst/tmpl/cothreads_compat.sgml:
10263 * docs/gst/tmpl/gstcaps.sgml:
10264 * docs/gst/tmpl/gstclock.sgml:
10265 * docs/gst/tmpl/gstelement.sgml:
10266 * docs/gst/tmpl/gstevent.sgml:
10267 * docs/gst/tmpl/gstpad.sgml:
10268 * docs/gst/tmpl/gstutils.sgml:
10269 * docs/gst/tmpl/gstxml.sgml:
10270 * docs/gst/tmpl/gthread-cothreads.sgml:
10271 * docs/random/ds/0.9-suggested-changes:
10272 * gst/elements/gstfakesink.h: doc fixes
10273 * gst/elements/gstfakesrc.h: doc fixes
10274 * gst/gstcaps.c: doc fixes
10275 * gst/gstcaps.h: doc fixes
10276 * gst/gstelement.c: doc fixes
10277 * gst/gstelement.h: doc fixes
10278 * gst/gstindex.c: doc fixes
10279 * gst/gstinfo.c: doc fixes
10280 * gst/gstpad.c: doc fixes
10281 * gst/gstpad.h: doc fixes
10282 * gst/gstplugin.c: doc fixes
10283 * gst/gsttypefind.h: doc fixes
10284 * gst/gsturi.c: doc fixes
10285 * gst/gstvalue.c: doc fixes
10287 2004-03-29 Colin Walters <walters@redhat.com>
10289 * gst/registries/gstxmlregistry.c (get_time)
10290 (plugin_times_older_than_recurse):
10291 Use the result of stat to determine whether a path is a file,
10292 so we don't attempt to opendir() files.
10294 2004-03-29 Benjamin Otte <otte@gnome.org>
10296 * gst/gstpad.c: (gst_pad_set_explicit_caps):
10297 print caps in debugging output when setting caps failed
10298 * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
10299 (schedule_next_element), (get_buffer), (run_chainhandler),
10300 (element_may_start), (gst_entry_scheduler_chain_handler),
10301 (gst_entry_scheduler_get_handler),
10302 (gst_entry_scheduler_state_transition),
10303 (gst_entry_scheduler_pad_link):
10304 make this scheduler a testcase for mandatory
10305 discont-before-first-buffer which is needed if we want to allow apps
10306 to release the sound device.
10307 add SCHED_ASSERT macro to print scheduler state before an assertion
10310 2004-03-29 Benjamin Otte <otte@gnome.org>
10313 replace by LGPL (former COPYING.LIB). The core is completely
10318 2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
10322 updated Afrikaans and Swedish
10324 2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
10328 adding Azerbaijani (Mətin Əmirov)
10330 2004-03-28 Martin Soto <martinsoto@users.sourceforge.net>
10332 * gst/gstelement.h:
10333 * gst/gstelement.c (gst_element_set_time_delay): New function for
10334 setting element time taking into account a hardware buffering
10336 (gst_element_set_time): Now just an invocation of
10337 gst_element_set_time_delay.
10339 * gst/gstclock.c (gst_clock_get_event_time_delay): New function
10340 allowing to set event times in the future.
10341 (gst_clock_get_event_time): Now just an invocation of
10342 gst_clock_get_event_time_delay.
10344 2004-03-28 Benjamin Otte <otte@gnome.org>
10346 * gst/gstbin.c: (gst_bin_set_element_sched),
10347 (gst_bin_unset_element_sched):
10348 don't add decoupled elements to schedulers - otherwise it's
10349 impossible to control if a link to a decoupled element was already
10350 removed from a scheduler or not.
10351 * gst/schedulers/cothreads_compat.h:
10352 * gst/schedulers/gthread-cothreads.h:
10353 add COTHREADS_TYPE macro. Make do_cothread_set_func a macro so there
10354 is no "unused" warning.
10355 * gst/schedulers/Makefile.am:
10356 * gst/schedulers/entryscheduler.c:
10357 add new scheduler, based on ideas from talking to David and Martin.
10358 It's supposed to be small and correct. Currently it's also slow (but
10359 it's not noticable)
10360 * examples/retag/retag.c: (main):
10361 * testsuite/bytestream/test1.c: (main):
10362 fix missing NULLs at end of variadic functions
10363 * testsuite/elements/.cvsignore:
10366 2004-03-28 Jan Schmidt <thaytan@mad.scientist.com>
10369 Added GST_EVENT_ANY for GstEvents that pass a GstStructure
10371 2004-03-25 David Schleef <ds@schleef.org>
10373 * docs/gst/gstreamer-sections.txt: More doc hacking.
10374 * docs/gst/tmpl/gstaggregator.sgml:
10375 * docs/gst/tmpl/gstautoplugfactory.sgml:
10376 * docs/gst/tmpl/gstbin.sgml:
10377 * docs/gst/tmpl/gstbuffer.sgml:
10378 * docs/gst/tmpl/gstbufferstore.sgml:
10379 * docs/gst/tmpl/gstfakesink.sgml:
10380 * docs/gst/tmpl/gstfakesrc.sgml:
10381 * docs/gst/tmpl/gstmd5sink.sgml:
10382 * docs/gst/tmpl/gstreamer-unused.sgml:
10383 * docs/gst/tmpl/gstsearchfuncs.sgml:
10384 * docs/gst/tmpl/gstshaper.sgml:
10385 * docs/gst/tmpl/gstspider.sgml:
10386 * docs/gst/tmpl/gsttee.sgml:
10387 * docs/gst/tmpl/gstutils.sgml:
10388 * docs/gst/tmpl/gstvalue.sgml:
10389 * docs/gst/tmpl/gstxml.sgml:
10390 * gst/Makefile.am: Remove gstthreaddummy.c. It never worked,
10391 and we don't support it.
10392 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
10393 (gst_use_threads), (gst_has_threads): same
10394 * gst/gstthreaddummy.c: same
10395 * gst/autoplug/gstspider.c: Make gst_spider_details static.
10396 * gst/autoplug/gstspider.h: same
10397 * gst/elements/gstaggregator.h: Remove bogus function from header
10398 * gst/elements/gstfakesink.h: same
10399 * gst/elements/gstfakesrc.h: same
10400 * gst/elements/gstmd5sink.h: same
10401 * gst/elements/gstshaper.h: same
10402 * gst/elements/gsttee.h: same
10403 * gst/gstbin.c: doc fixes
10404 * gst/gstbin.h: Remove unused definition.
10405 * gst/gstbuffer.c: doc fixes
10406 * gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes
10407 * gst/gstfilter.c: doc fixes
10408 * gst/gsttag.c: doc fixes
10409 * gst/gstvalue.c: doc fixes
10411 2004-03-25 Ronald Bultje <rbultje@ronald.bitfreak.net>
10413 * docs/pwg/advanced-types.xml:
10414 Document typefinding.
10415 * docs/pwg/other-oneton.xml:
10416 Document one-to-n elements, demuxers and parsers.
10418 2004-03-25 Tim-Philipp Müller <t.i.m@zen.co.uk>
10420 reviewed by: David Schleef <ds@schleef.org>
10422 * configure.ac: Check bison version (bug #127838)
10424 2004-03-25 David Schleef <ds@schleef.org>
10426 * docs/gst/gstreamer-docs.sgml: More fine tuning.
10427 * docs/gst/gstreamer-sections.txt:
10428 * docs/gst/tmpl/gstautoplug.sgml:
10429 * docs/gst/tmpl/gststaticautoplug.sgml:
10430 * docs/gst/tmpl/gststaticautoplugrender.sgml:
10431 * docs/gst/tmpl/gstutils.sgml:
10432 * docs/gst/tmpl/gstxml.sgml:
10434 2004-03-24 David Schleef <ds@schleef.org>
10436 * docs/gst/gstreamer-docs.sgml: I got tired of the reference
10437 manual being such complete crap, that I decided to do major
10438 hacking of it. This checkin replaces any fine tuning that
10439 may have been done previously, with the benefit of actually
10440 being complete for much of the API that was changed since
10441 0.6. Further fine tuning will occur shortly. (bug #134721)
10442 * docs/gst/gstreamer-sections.txt:
10443 * docs/gst/tmpl/GstBin.sgml:
10444 * docs/gst/tmpl/GstBuffer.sgml:
10445 * docs/gst/tmpl/GstCaps.sgml:
10446 * docs/gst/tmpl/GstClock.sgml:
10447 * docs/gst/tmpl/GstCompat.sgml:
10448 * docs/gst/tmpl/GstData.sgml:
10449 * docs/gst/tmpl/GstElement.sgml:
10450 * docs/gst/tmpl/GstEvent.sgml:
10451 * docs/gst/tmpl/GstIndex.sgml:
10452 * docs/gst/tmpl/GstStructure.sgml:
10453 * docs/gst/tmpl/GstTag.sgml:
10454 * docs/gst/tmpl/cothreads.sgml:
10455 * docs/gst/tmpl/cothreads_compat.sgml:
10456 * docs/gst/tmpl/gettext.sgml:
10457 * docs/gst/tmpl/grammar.tab.sgml:
10458 * docs/gst/tmpl/gst-i18n-app.sgml:
10459 * docs/gst/tmpl/gst-i18n-lib.sgml:
10460 * docs/gst/tmpl/gst.sgml:
10461 * docs/gst/tmpl/gst_private.sgml:
10462 * docs/gst/tmpl/gstaggregator.sgml:
10463 * docs/gst/tmpl/gstarch.sgml:
10464 * docs/gst/tmpl/gstatomic.sgml:
10465 * docs/gst/tmpl/gstatomic_impl.sgml:
10466 * docs/gst/tmpl/gstbin.sgml:
10467 * docs/gst/tmpl/gstbuffer.sgml:
10468 * docs/gst/tmpl/gstbufferstore.sgml:
10469 * docs/gst/tmpl/gstcaps.sgml:
10470 * docs/gst/tmpl/gstclock.sgml:
10471 * docs/gst/tmpl/gstcompat.sgml:
10472 * docs/gst/tmpl/gstconfig.sgml:
10473 * docs/gst/tmpl/gstcpu.sgml:
10474 * docs/gst/tmpl/gstdata.sgml:
10475 * docs/gst/tmpl/gstdata_private.sgml:
10476 * docs/gst/tmpl/gstelement.sgml:
10477 * docs/gst/tmpl/gstenumtypes.sgml:
10478 * docs/gst/tmpl/gsterror.sgml:
10479 * docs/gst/tmpl/gstevent.sgml:
10480 * docs/gst/tmpl/gstfakesink.sgml:
10481 * docs/gst/tmpl/gstfakesrc.sgml:
10482 * docs/gst/tmpl/gstfilesink.sgml:
10483 * docs/gst/tmpl/gstfilter.sgml:
10484 * docs/gst/tmpl/gstindex.sgml:
10485 * docs/gst/tmpl/gstinfo.sgml:
10486 * docs/gst/tmpl/gstinterface.sgml:
10487 * docs/gst/tmpl/gstlog.sgml:
10488 * docs/gst/tmpl/gstmacros.sgml:
10489 * docs/gst/tmpl/gstmarshal.sgml:
10490 * docs/gst/tmpl/gstmd5sink.sgml:
10491 * docs/gst/tmpl/gstmultifilesrc.sgml:
10492 * docs/gst/tmpl/gstobject.sgml:
10493 * docs/gst/tmpl/gstpad.sgml:
10494 * docs/gst/tmpl/gstparse.sgml:
10495 * docs/gst/tmpl/gstpipeline.sgml:
10496 * docs/gst/tmpl/gstplugin.sgml:
10497 * docs/gst/tmpl/gstpluginfeature.sgml:
10498 * docs/gst/tmpl/gstqueue.sgml:
10499 * docs/gst/tmpl/gstreamer-unused.sgml:
10500 * docs/gst/tmpl/gstregistry.sgml:
10501 * docs/gst/tmpl/gstregistrypool.sgml:
10502 * docs/gst/tmpl/gstscheduler.sgml:
10503 * docs/gst/tmpl/gstsearchfuncs.sgml:
10504 * docs/gst/tmpl/gstshaper.sgml:
10505 * docs/gst/tmpl/gstspider.sgml:
10506 * docs/gst/tmpl/gstspideridentity.sgml:
10507 * docs/gst/tmpl/gststructure.sgml:
10508 * docs/gst/tmpl/gstsystemclock.sgml:
10509 * docs/gst/tmpl/gsttag.sgml:
10510 * docs/gst/tmpl/gsttaginterface.sgml:
10511 * docs/gst/tmpl/gsttee.sgml:
10512 * docs/gst/tmpl/gstthread.sgml:
10513 * docs/gst/tmpl/gsttrace.sgml:
10514 * docs/gst/tmpl/gsttrashstack.sgml:
10515 * docs/gst/tmpl/gsttypefind.sgml:
10516 * docs/gst/tmpl/gsttypes.sgml:
10517 * docs/gst/tmpl/gsturi.sgml:
10518 * docs/gst/tmpl/gsturitype.sgml:
10519 * docs/gst/tmpl/gstutils.sgml:
10520 * docs/gst/tmpl/gstvalue.sgml:
10521 * docs/gst/tmpl/gstversion.sgml:
10522 * docs/gst/tmpl/gstxml.sgml:
10523 * docs/gst/tmpl/gstxmlregistry.sgml:
10524 * docs/gst/tmpl/gthread-cothreads.sgml:
10525 * docs/gst/tmpl/types.sgml:
10527 2004-03-24 Ronald Bultje <rbultje@ronald.bitfreak.net>
10529 * docs/pwg/other-sink.xml:
10530 * docs/pwg/other-source.xml:
10531 Documentation on how to write source and sink elements. Other
10532 stuff in chapter 4 (1-to-n/demuxer, n-to-1/muxer, n-to-n,
10533 manager, autoplugger) are all still pending.
10535 2004-03-25 Benjamin Otte <otte@gnome.org>
10537 * testsuite/elements/Makefile.am:
10538 * testsuite/elements/gst-compprep-check:
10539 add check to make sure gst-compprep works
10540 * testsuite/elements/gst-inspect-check.in:
10541 improve initialization output
10542 * testsuite/Makefile.am:
10543 * testsuite/gst-inspect-check:
10546 2004-03-24 David Schleef <ds@schleef.org>
10548 * testsuite/elements/Makefile.am:
10549 * testsuite/elements/gst-inspect-check.in: Add gst-inspect-check
10552 2004-03-24 Benjamin Otte <otte@gnome.org>
10554 * libs/gst/control/dparam.c: (gst_dparam_attach),
10555 (gst_dparam_detach):
10556 * libs/gst/control/dparammanager.c: (gst_dpman_init):
10557 fix lvalue casts for real
10559 2004-03-24 Benjamin Otte <otte@gnome.org>
10561 * gst/schedulers/gstbasicscheduler.c:
10562 (gst_basic_scheduler_src_wrapper):
10563 * gst/schedulers/gstoptimalscheduler.c:
10564 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
10565 (pad_clear_queued), (gst_opt_scheduler_add_element),
10566 (gst_opt_scheduler_remove_element):
10567 fix GStreamer to not have issues with lvalue casts anymore (fixes
10570 2004-03-24 Benjamin Otte <otte@gnome.org>
10572 * gst/gstelement.c:
10573 add documentation about a gobject quirk where the object hasn't the
10574 correct class pointer set on initialization
10575 * gst/schedulers/gstbasicscheduler.c:
10576 (gst_basic_scheduler_src_wrapper):
10577 make sure to not run into an infinite loop
10579 2004-03-22 Benjamin Otte <otte@gnome.org>
10581 * gst/gstutils.c: (gst_util_dump_mem):
10583 first argument of gst_util_dump_mem should be const
10585 2004-03-22 Johan Dahlin <johan@gnome.org>
10587 * gst/gstvalue.h: Clean up a little bit.
10589 2004-03-21 Tim-Philipp Müller <t.i.m@zen.co.uk>
10591 reviewed by Benjamin Otte <otte@gnome.org>
10593 * gst/autoplug/gstspider.c: (gst_spider_dispose):
10594 * gst/elements/gstaggregator.c: (gst_aggregator_finalize),
10595 (gst_aggregator_class_init), (gst_aggregator_init):
10596 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10597 (gst_filesrc_dispose), (gst_filesrc_set_location):
10598 * gst/elements/gstidentity.c: (gst_identity_finalize),
10599 (gst_identity_class_init), (gst_identity_chain):
10600 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
10601 * gst/elements/gststatistics.c: (gst_statistics_finalize),
10602 (gst_statistics_class_init):
10603 * gst/elements/gsttee.c: (gst_tee_finalize), (gst_tee_class_init),
10604 (gst_tee_get_property):
10605 clean up used memory in this elements correctly on teardown (closes
10608 2004-03-20 Colin Walters <walters@redhat.com>
10610 * gst/registries/gstxmlregistry.c:
10611 (gst_xml_registry_open_func, gst_xml_registry_close_func): Make
10612 registry saving atomic.
10614 2004-03-20 Colin Walters <walters@redhat.com>
10616 * gst/registries/gstxmlregistry.c (gst_xml_registry_get_perms_func):
10618 access() instead of actually creating and deleting files.
10620 2004-03-18 David Schleef <ds@schleef.org>
10622 * configure.ac: Remove HAVE_ATOMIC_H test, since it's unused.
10625 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
10627 * po/sv.po: updated translation (Christian Rose)
10629 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
10631 * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
10632 (gst_filesink_get_query_types), (_do_init),
10633 (gst_filesink_handle_event), (gst_filesink_uri_get_protocols):
10634 return FALSE silently
10635 * po/af.po: updated translation (Petri Jooste)
10637 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
10641 dist common properly
10647 refreshing translations
10649 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
10654 adding Swedish (Christian Rose) and Afrikaans (Petri Jooste)
10656 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
10658 * Makefile.am: use common/release.mak
10660 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
10662 * docs/faq/gst-uninstalled:
10663 adding gst-monkeysaudio to the list of possible plugin dirs
10665 2004-03-16 David Schleef <ds@schleef.org>
10667 * gst/gst.c: (gst_get_popt_options), (gst_init_get_popt_table),
10668 (gst_init_check_with_popt_table): Fix some gettext strings to
10669 make them easier to translate. Required making the strings
10672 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
10674 * configure.ac: bump nano to 1
10676 === release 0.8.0 ===
10678 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
10680 * configure.ac: release 0.8.0, "Executive Slacks"
10682 2004-03-16 Johan Dahlin <johan@gnome.org>
10684 * gst/schedulers/gstoptimalscheduler.c
10685 (gst_opt_scheduler_pad_unlink): Remove double ;,
10686 spotted by Scott Wheeler
10688 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
10690 * configure.ac: bump libtool version
10692 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
10695 * gst/gststructure.h:
10696 add reserved padding
10698 2004-03-15 Benjamin Otte <otte@gnome.org>
10700 * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
10701 set the first parameter for select call correctly.
10704 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
10706 * *.c,*.h: don't mix tabs and spaces
10708 2004-03-15 Johan Dahlin <johan@gnome.org>
10710 * gst/schedulers/gstoptimalscheduler.c
10711 (gst_opt_scheduler_pad_unlink): Fix bug that causes totem to
10712 crash on MPEG playback. My boolean arithmetic is a bit rusty.
10714 * tools/Makefile.am (EXTRA_DIST): Add gst-indent
10716 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
10719 fix gst-register rules
10721 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
10724 use versioned gst-register
10726 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
10728 * docs/libs/gstreamer-libs-sections.txt:
10729 remove </SUBSECTION>
10731 * gst/gstregistry.c: (gst_registry_add_plugin):
10732 * gst/registries/gstxmlregistry.c: (gst_xml_registry_get_type),
10733 (gst_xml_registry_open_func), (gst_xml_registry_close_func):
10734 add debugging and fix some comment blocks
10736 2004-03-15 Johan Dahlin <johan@gnome.org>
10738 * *.h: Revert indent changes.
10740 2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
10742 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load_plugin):
10743 g_error_free the g_error
10744 * tools/gst-feedback-m.m:
10745 check for other versions of gstreamer
10746 * tools/gst-indent:
10749 2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
10751 * tools/gst-register.c: do not spill paths when registries are not
10752 writable, until we fix the "user running gst-register" case.
10754 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
10756 * *.c, *.h: commit of gst-indent run on core
10758 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
10760 * tools/gst-indent:
10761 * tools/Makefile.am:
10762 add our indentation style as a script
10764 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
10768 added Serbian translation
10770 2004-03-13 Benjamin Otte <otte@gnome.org>
10772 * gst/gstelement.c:
10773 add documentation note about gst_element_found_tags_for_pad not
10774 being usable in getfunctions. (see #137042)
10776 2004-03-12 David Schleef <ds@schleef.org>
10778 * gst/gstcaps.h: jdahlin, what are you smoking? We can't just
10779 change API right now! Readd gst_caps_is_simple() macro.
10780 * gst/gstelement.c: (gst_element_base_class_finalize): Fix
10781 uninitialized variable. I'd bet this caused crashes.
10782 * gst/gstinfo.c: (gst_debug_print_object): Fix 64-bit cleanliness.
10784 2004-03-12 Johan Dahlin <johan@gnome.org>
10786 * gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
10787 * gst/gstcaps.h: Clean up
10789 * gst/gst.c (init_post): call gst_caps_get_type() instead of
10790 _gst_caps_initalize()
10792 * gst/gstcaps.c: Style fixes, stay closer to glib and friends
10793 (_gst_caps_initialize): Remove, in favor for gst_caps_get_type()
10795 * gst/gststructure.c (gst_structure_get_type): Ditto
10797 * gst/gststructure.h: Ditto
10799 2004-03-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
10801 * gst/gstqueue.c: (gst_queue_init):
10802 Reset default max. values in queues. Reason is simply to avoid
10803 braindead use. If you want wider values, use the properties. The
10804 default is supposed to always work. Wider values would make this
10805 beast a memory hog by default (250 full-PAL RGB32 video frames?
10806 That's 440 MB! No thank you).
10808 2004-03-10 David Schleef <ds@schleef.org>
10810 * tools/gst-run.c: (main): Fix crash when no relevant tools
10811 were found. (bug #136793)
10813 2004-03-10 Johan Dahlin <johan@gnome.org>
10815 * gst/schedulers/gstoptimalscheduler.c
10816 (gst_opt_scheduler_pad_unlink): Implement unlink for elements with
10817 links to elements within the same group, so we can finally remove
10818 that annoying warning. Refactor the code a little bit
10819 (group_dec_links_for_element): Split out
10821 2004-03-09 David Schleef <ds@schleef.org>
10823 * docs/manual/dparams-app.xml: Fix to handle double dparams.
10826 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
10828 * configure.ac: first bug fix due to major/minor bump
10830 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
10832 * configure.ac: bump nano to 1
10834 === release 0.7.6 ===
10836 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
10841 releasing 0.7.6, "Almost"
10844 * tools/Makefile.am:
10845 * tools/gst-feedback-m.m:
10848 2004-03-09 Johan Dahlin <johan@gnome.org>
10850 Reviewed by: Thomas Vander Stichele
10852 * gst/gstelement.c (gst_element_class_init): register second
10853 parameter as GST_TYPE_G_ERROR instead of G_TYPE_POINTER, so
10854 language bindings can (de)marshall correctly.
10856 * gst/gsterror.h: Add GST_TYPE_G_ERROR and cleanup a little bit
10858 * gst/gsterror.c (gst_g_error_get_type): New function
10860 * gst/gstmarshal.list: Remove VOID:OBJECT,POINTER,STRING, replace
10861 with VOID:OBJECT,OBJECT,STRING
10863 2004-03-10 Jan Schmidt <thaytan@mad.scientist.com>
10865 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
10866 Free a leaked g_timer on early returns.
10868 2004-03-08 Ronald Bultje <rbultje@ronald.bitfreak.net>
10870 * docs/pwg/advanced-types.xml:
10871 Add cinepak description.
10873 2004-03-07 David Schleef <ds@schleef.org>
10875 * docs/random/mimetypes: Added cinepak description
10877 2004-03-07 Andy Wingo <wingo@pobox.com>
10879 * gst/gstbin.c (gst_bin_remove): Debugging fixes.
10881 * gst/schedulers/gstoptimalscheduler.c (destroy_group): Assert
10882 there are no links to other groups when a group is destroyed.
10883 (gst_opt_scheduler_pad_unlink): If the unlink means an element is
10884 removed from a group, make sure the link count to elements linked
10885 to other pads is appropriately decremented. This really fixes
10888 The 1.60->1.61 patch has been reapplied in light of this fix.
10890 * gst/gstelement.c (gst_element_dispose): Really protect against
10891 multiple invocations this time.
10893 2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * docs/gst/gstreamer-sections.txt:
10896 * docs/gst/tmpl/gsttag.sgml:
10897 remove some deprecated functions, document some existing ones
10898 * gst/gsttag.c: (gst_tag_get_flag):
10900 add accessor function
10902 2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10904 * docs/gst/gstreamer-sections.txt:
10905 * docs/gst/tmpl/gsttag.sgml:
10906 * docs/gst/tmpl/gstxml.sgml:
10907 * gst/gsttag.c: (gst_tag_get_flag):
10910 2004-03-06 Christophe Fergeau <teuf@gnome.org>
10912 * gst/autoplug/gstspider.c: (gst_spider_identity_plug): fixed caps
10915 2004-03-05 David Schleef <ds@schleef.org>
10917 * REQUIREMENTS: Add bison and flex.
10918 * configure.ac: Fix comment about bison.
10919 * docs/random/ds/0.9-suggested-changes: yer ma
10920 * tools/gst-inspect.c: (print_element_info): Fix warning.
10922 2004-03-05 Benjamin Otte <otte@gnome.org>
10924 * gst/gstelement.c: (gst_element_error_full):
10925 revert recent recursive state changing commit - messing with other
10926 elements' states is evil and should be done by apps only.
10928 2004-03-05 Benjamin Otte <otte@gnome.org>
10930 * gst/gstelement.c: (gst_element_get_compatible_pad_template):
10931 check for empty intersection instead of NULL caps
10932 (gst_element_get_compatible_pad_filtered):
10933 remove old workaround that is only a bug nowadays
10935 2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
10937 * gst/gstelement.c: (gst_element_error_full):
10938 make elements try to recursively change state to PAUSED on all
10939 parents after an error to suppress ensuing warnings
10940 * gst/parse/grammar.y:
10941 make it check if it was able to sync the state, and throw an error
10942 if not, so stuff like
10943 oggdemux ! vorbisdec ! osssink gets caught
10945 2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * configure.ac: use ${libdir} for PLUGINS_DIR since on 64bit
10948 it contains lib64; use AS_AC_EXPAND to handle it properly
10950 2004-03-05 David Schleef <ds@schleef.org>
10952 * gst/gstcpuid_i386.s: Remove unused code
10953 * libs/gst/getbits/getbits.c: (gst_getbits_init),
10954 (gst_getbits_newbuf): Remove MMX code
10955 * libs/gst/getbits/getbits.h: Remove MMX code
10957 2004-03-04 David I. Lehn <dlehn@users.sourceforge.net>
10959 * debian/.cvsignore:
10960 * debian/README.Debian:
10961 * debian/changelog:
10963 * debian/control.in:
10964 * debian/copyright:
10965 * debian/gstreamer-core-libs-dev.files:
10966 * debian/gstreamer-core-libs.files:
10967 * debian/gstreamer-core.files:
10968 * debian/gstreamer-core.postinst:
10969 * debian/gstreamer-core.postrm:
10970 * debian/gstreamer-doc.files:
10971 * debian/gstreamer-doc.links:
10972 * debian/gstreamer-doc.lintian:
10973 * debian/gstreamer-runtime.files:
10974 * debian/gstreamer-runtime.manpages:
10975 * debian/gstreamer-runtime.postinst:
10976 * debian/gstreamer-runtime.postrm:
10977 * debian/gstreamer-tools.files:
10978 * debian/gstreamer-tools.manpages:
10979 * debian/libgstreamer-dev.files:
10980 * debian/libgstreamer0.4.1.files:
10981 * debian/libgstreamerVERSION.files:
10983 Debian package info not maintained here.
10985 2004-03-04 Thomas Vander Stichele <thomas at apestaart dot org>
10987 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10988 * gst/gstbin.c: (gst_bin_class_init):
10989 * gst/gstelement.c: (gst_element_class_init):
10990 * gst/gstindex.c: (gst_index_class_init):
10991 * gst/gstobject.c: (gst_object_class_init),
10992 (gst_signal_object_class_init):
10993 * gst/gstpad.c: (gst_pad_template_class_init):
10994 * gst/gstregistry.c: (gst_registry_class_init):
10995 * gst/gsturi.c: (gst_uri_handler_base_init):
10996 * gst/gstxml.c: (gst_xml_class_init):
10997 * libs/gst/control/dparam.c: (gst_dparam_class_init):
10998 * libs/gst/control/dparammanager.c: (gst_dpman_class_init):
10999 make all signal names use dashes instead of underscore
11001 2004-03-03 Thomas Vander Stichele <thomas at apestaart dot org>
11003 * configure.ac: AC_SUBST GLIB_ONLY CFLAGS and LIBS
11005 2004-03-03 Benjamin Otte <otte@gnome.org>
11007 * gst/schedulers/gstoptimalscheduler.c:
11008 revert last commit by Andy Wingo. It causes segfaults on unreffing
11009 in Rhythmbox. (see bug #135672)
11011 2004-03-02 Christophe Fergeau <teuf@gnome.org>
11013 * po/fr.po: fix typo
11015 2004-03-02 Christophe Fergeau <teuf@gnome.org>
11017 * tools/gst-inspect.c: (main):
11018 * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
11020 2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
11023 get GLIB_ONLY and POPT flags for the nonversioned binaries
11024 * tools/Makefile.am:
11027 2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
11029 * gst/gst.c: (init_post):
11030 change so that GST_REGISTRY now is where the global registry gets
11031 saved, since that is where plugins now get attached to first, and
11032 spilled over to the user registry. Note that in the case of using
11033 GST_REGISTRY env var, we don't want to affect any real registries
11034 beyond the one given by this var, and thus we don't set a user
11035 registry to spill to. So make sure GST_REGISTRY is writable.
11037 2004-03-01 David Schleef <ds@schleef.org>
11039 * AUTHORS: Added some names. Add yourself if you're missing.
11041 2004-03-01 David Schleef <ds@schleef.org>
11045 2004-03-01 Thomas Vander Stichele <thomas at apestaart dot org>
11049 * docs/gst/tmpl/gstbuffer.sgml:
11050 * docs/gst/tmpl/gstdata.sgml:
11051 * docs/gst/tmpl/gstreamer-unused.sgml:
11052 * docs/gst/tmpl/gstxml.sgml:
11054 * docs/manuals.mak:
11056 * docs/pwg/intro-preface.xml:
11057 * docs/pwg/pwg.xml:
11059 * gst/gst.c: (init_post):
11060 try GST_PLUGIN_PATH paths for the _global_registry first
11061 * gst/gstelement.h:
11062 add the error message as well, otherwise (null) debug info doesn't
11064 * tools/gst-register.c: (main):
11065 spill paths to next registry if this registry is not writable
11068 translation updates
11070 2004-03-01 Johan Dahlin <johan@gnome.org>
11072 * gst/gstbuffer.c (_gst_buffer_initialize):
11073 * gst/gstdata.c (gst_data_get_type):
11074 * gst/gstevent.c (_gst_event_initialize): Use gst_data_copy,
11075 instead of ref, since some applications that uses GBoxed
11076 routines depends on a function that actually returns a copy.
11078 2004-02-27 Benjamin Otte <otte@gnome.org>
11081 remove gst_buffer_free, use gst_data_unref
11082 * gst/gstdata.c: (gst_data_get_type):
11083 use refcounting in GstData GBoxed registration
11085 remove gst_data_free, use gst_data_unref
11087 2004-02-27 Johan Dahlin <johan@gnome.org>
11089 * gst/gstdata.c (gst_data_get_type): New function, register
11090 GstData as a GBoxed type.
11092 * gst/gstdata.h (GST_TYPE_DATA): New macro
11094 2004-02-27 Thomas Vander Stichele <thomas at apestaart dot org>
11097 * gstreamer.spec.in:
11100 clean up non-disting of built files
11101 * testsuite/debug/commandline.c:
11102 test fix for option rename
11104 2004-02-26 David Schleef <ds@schleef.org>
11106 * configure.ac: We don't really need glib-2.3. Also remove
11107 some unneeded checks for library functions.
11108 * gst/Makefile.am: Instead, we need to not dist files created
11109 by glib-genmarshal.
11111 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11114 bump glib required version to 2.3.0 for g_value_takes_boxed
11116 2004-02-25 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
11118 * common/m4/gst-docs.m4
11119 change flavour text from enable to disable as enable is our default
11120 closes bug Bug 135304
11122 === release 0.7.5 ===
11124 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11129 * gstreamer.spec.in:
11133 * docs/random/release:
11136 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11138 * gst/gsttag.c: (_gst_tag_initialize):
11141 remove hyphen from codec tags
11143 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11145 * gst/parse/Makefile.am:
11146 fix dependency so that a make from a clean build works the first
11149 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11151 * docs/random/release:
11152 update release strategy
11154 auto-update po file
11156 update dutch translation
11158 2004-02-25 Thomas Vander Stichele <thomas at apestaart dot org>
11160 * docs/manual/debugging.xml:
11161 fix manual for new debugging system
11163 2004-02-25 Andy Wingo <wingo@pobox.com>
11165 * gst/gstpad.c (gst_pad_link_prepare): Re-add
11166 gst_pad_link_prepare. Please email the list with specific reasons
11169 2004-02-24 Andy Wingo <wingo@pobox.com>
11171 * gst/gstelement.c (gst_element_dispose): Protect against multiple
11174 * gst/schedulers/gstoptimalscheduler.c:
11175 I added a mess of prototypes at the top of the file by way of
11176 documentation. Some of the operations on chains and groups were
11179 (create_group): Added a type argument so if the group is enabled,
11180 the setup_group_scheduler knows what to do.
11181 (group_elements): Added a type argument here, too, to be passed on
11183 (group_element_set_enabled): If an unlinked PLAYING element is
11184 added to a bin, we have to create a new group to hold the element,
11185 and this function will be called before the group is added to the
11186 chain. Thus we have a valid case for group->chain==NULL. Instead
11187 of calling chain_group_set_enabled, just set the flag on the group
11188 (the chain's status will be set when the group is added to it).
11189 (gst_opt_scheduler_state_transition, chain_group_set_enabled):
11190 Setup the group scheduler when the group is enabled, not
11191 specifically when an element goes PAUSED->PLAYING. This means
11192 PLAYING elements can be added, linked, and scheduled into a
11193 PLAYING pipeline, as was intended.
11194 (add_to_group): Don't ref the group twice. I don't know when this
11195 double-ref got in here. Removing it has the potential to cause
11196 segfaults if other parts of the scheduler are buggy. If you find
11197 that the scheduler is segfaulting for you, put in an extra ref
11198 here and see if that hacks over the underlying issue. Of course,
11199 then find out what code is unreffing a group it doesn't own...
11200 (create_group): Make the extra refcount floating, and remove it
11201 after adding the element. This means that...
11202 (unref_group): Destroy when the refcount reaches 0, not 1, like
11203 every other refcounted object in the known universe.
11204 (remove_from_group): When a group becomes empty, set it to be not
11205 active, and remove it from its chain. Don't unref it again,
11206 there's no floating reference any more.
11207 (destroy_group): We have to remove the group from the chain in
11208 remove_from_group (rather than here) to break refcounting cycles
11209 (the chain always has a ref on the group). So assert that
11210 group->chain==NULL.
11211 (ref_group_by_count): Removed, it was commented out anyway.
11212 (merge_chains): Use the remove_from_chain and add_to_chain
11213 primitives to do the reparenting, instead of rolling our own
11215 (add_to_chain): The first non-disabled group in the chain's group
11216 list will be the entry point for the chain. Because buffers can
11217 accumulate in loop elements' peer bufpens, we preferentially
11218 schedule loop groups before get groups to avoid unnecessary
11219 execution of get-based groups when the bufpens are already full.
11220 (gst_opt_scheduler_schedule_run_queue): Debug fixes.
11221 (get_group_schedule_function): Ditto.
11222 (loop_group_schedule_function): Ditto.
11223 (gst_opt_scheduler_loop_wrapper): Ditto.
11224 (gst_opt_scheduler_iterate): Ditto.
11226 I understand the opt scheduler now, yippee!
11228 * gst/gstpad.c: All throughout, added FIXMEs to look at for 0.9.
11229 (gst_pad_get_name, gst_pad_set_chain_function)
11230 (gst_pad_set_get_function, gst_pad_set_event_function)
11231 (gst_pad_set_event_mask_function, gst_pad_get_event_masks)
11232 (gst_pad_get_event_masks_default, gst_pad_set_convert_function)
11233 (gst_pad_set_query_function, gst_pad_get_query_types)
11234 (gst_pad_get_query_types_default)
11235 (gst_pad_set_internal_link_function)
11236 (gst_pad_set_formats_function, gst_pad_set_link_function)
11237 (gst_pad_set_fixate_function, gst_pad_set_getcaps_function)
11238 (gst_pad_set_bufferalloc_function, gst_pad_unlink)
11239 (gst_pad_renegotiate, gst_pad_set_parent, gst_pad_get_parent)
11240 (gst_pad_add_ghost_pad, gst_pad_proxy_getcaps)
11241 (gst_pad_proxy_pad_link, gst_pad_proxy_fixate)
11242 (gst_pad_get_pad_template_caps, gst_pad_check_compatibility)
11243 (gst_pad_get_peer, gst_pad_get_allowed_caps)
11244 (gst_pad_alloc_buffer, gst_pad_push, gst_pad_pull)
11245 (gst_pad_selectv, gst_pad_select, gst_pad_template_get_caps)
11246 (gst_pad_event_default_dispatch, gst_pad_event_default)
11247 (gst_pad_dispatcher, gst_pad_send_event, gst_pad_convert_default)
11248 (gst_pad_convert, gst_pad_query_default, gst_pad_query)
11249 (gst_pad_get_formats_default, gst_pad_get_formats): Better
11250 argument checks, and some doc fixes.
11252 (gst_pad_custom_new_from_template): Um, does anyone
11253 use these functions? Actually make a custom pad instead of a
11255 (gst_pad_try_set_caps): Transpose some checks.
11256 (gst_pad_try_set_caps_nonfixed): Same, and use a macro to check if
11257 the pad is in negotiation.
11258 (gst_pad_try_relink_filtered): Use pad_link_prepare.
11260 * gst/gstelement.c: Remove prototypes also defined in gstclock.h.
11262 * gst/gstelement.h:
11263 * gst/gstclock.h: Un-deprecate the old clocking API, as discussed
11266 2004-02-24 Thomas Vander Stichele <thomas at apestaart dot org>
11268 * gst/gstbin.c: (gst_bin_add):
11269 add error for not being able to add elements
11271 2004-02-22 Julien MOUTTE <julien@moutte.net>
11273 * gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
11274 audio-codec and video-codec.
11276 2004-02-22 Benjamin Otte <otte@gnome.org>
11278 reported by: Padraig O'Briain <padraig.obriain@sun.com>
11281 replace test -e with test -x for mkinstalldirs to be more portable.
11284 2004-02-22 Benjamin Otte <otte@gnome.org>
11287 revert last patch from Andy, it makes gst_pad_can_link_filtered much
11289 * gst/gsttag.c: (_gst_tag_initialize):
11291 add GST_TAG_ALBUM_VOLUME_{COUNT,NUMBER}
11292 * libs/gst/control/dparam.c: (gst_dparam_attach):
11293 * libs/gst/control/dparammanager.c: (gst_dpman_attach_dparam):
11294 check that types for attached dparams match
11296 2004-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11298 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
11299 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
11300 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
11303 2004-02-20 Andy Wingo <wingo@pobox.com>
11308 * gst/registries/gstxmlregistry.c:
11309 * gst/schedulers/gstoptimalscheduler.c: Debugging tweaks.
11311 * gst/gstelement.c (gst_element_set_scheduler): Debugging fixes.
11312 (gst_element_add_pad): DEBUG->INFO, some fixes.
11313 (gst_element_get_compatible_pad_template): Just see if the
11314 templates' caps intersect, not if one is a strict subset of the
11315 other. This conforms more to what gst_pad_link_intersect() does.
11316 (gst_element_class_add_pad_template): Don't memcpy the pad
11317 template, just ref it.
11318 (gst_element_get_compatible_pad_filtered): Clean up debug messages
11320 * gst/gstpad.c (gst_pad_can_link_filtered): Debug a true result.
11321 (gst_pad_link_filtered): Debug changes.
11322 (gst_pad_link_prepare): New function, consolidated from
11323 can_link_filtered and link_filtered.
11325 * gst/parse/grammar.y (gst_parse_perform_link): Made INFO output
11326 look more like that of the functions in gstelement.c
11328 * gst/gstinfo.c (gst_debug_print_object): Put a space before the
11329 object, and return the empty string if object is NULL.
11331 * gst/parse/parse.l: Remove trailing newlines when calling PRINT.
11332 * gst/parse/grammar.y (YYFPRINTF): Log bison debugging info via
11333 LOG, not DEBUG. We still get flex info on debug.
11335 * gst/registries/gstxmlregistry.c (gst_xml_registry_load): Make
11336 debug string more verbose.
11337 (plugin_times_older_than): DEBUG->LOG.
11339 2004-02-20 Julien MOUTTE <julien@moutte.net>
11341 * gst/gsttag.h: Adding video-codec and audio-codec for demuxers which
11342 will emit found_tag for each stream they demux with the codec.
11344 2004-02-20 Benjamin Otte <otte@gnome.org>
11346 * gst/gstevent.c: (_gst_event_copy), (_gst_event_free):
11347 copy navigation event correctly. Check freeing tag lists.
11348 * gst/gstthread.c: (gst_thread_change_state):
11349 don't abort() on state changing mess - it might happen because of
11351 * gst/gstvalue.c: (gst_value_set_caps), (gst_value_get_caps):
11352 use boxed functions
11354 fix GST_VALUE_HOLDS_CAPS
11356 2004-02-19 David Schleef <ds@schleef.org>
11358 * gst/gstinfo.h: Copy G_STRFUNC implementation from glib-2.4
11359 and use it for GST_FUNCTION. (bug #134750)
11361 2004-02-19 Thomas Vander Stichele <thomas at apestaart dot org>
11365 updating translations
11367 2004-02-19 Thomas Vander Stichele <thomas at apestaart dot org>
11369 * tools/gst-run.c: (get_candidates), (main): some fixes from jdahlin
11371 2004-02-18 kost@imn.htwk-leipzig.de
11373 reviewed by: David Schleef <ds@schleef.org>
11375 * docs/libs/gstreamer-libs-sections.txt: Add missing sections
11378 2004-02-18 David Schleef <ds@schleef.org>
11380 * libs/gst/control/dparam.c: (gst_dparam_class_init):
11381 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
11382 (gst_dpsmooth_new): Additional fixes to get double dparams working.
11383 * tools/gst-inspect.c: (print_element_info): Support dumping of
11384 double dparam information.
11386 2004-02-17 David Schleef <ds@schleef.org>
11388 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11389 Use G_TYPE_STRING in signal prototype instead of G_TYPE_POINTER.
11390 * gst/elements/gsttypefind.c: (gst_type_find_element_class_init):
11391 Use GST_TYPE_CAPS in signal prototype.
11392 * gst/gstcaps.c: (_gst_caps_initialize), (gst_caps_copy_conditional):
11393 Convert GST_TYPE_CAPS to boxed.
11394 * gst/gstelement.c: (gst_element_class_init):
11395 Use GST_TYPE_TAG_LIST in signal prototype.
11396 * gst/gstindex.c: (gst_index_class_init):
11398 Add GST_TYPE_INDEX_ENTRY type.
11399 * gst/gstmarshal.list:
11400 Add necessary marshal types.
11401 * gst/gstpad.c: (gst_real_pad_class_init),
11402 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
11403 (gst_pad_recover_caps_error):
11404 Use GST_TYPE_CAPS in signal prototypes. Fix some debugging strings.
11405 * gst/gststructure.c: (_gst_structure_initialize),
11406 (gst_structure_copy), (_gst_structure_copy_conditional):
11407 * gst/gststructure.h:
11408 Convert GST_TYPE_STRUCTURE to boxed.
11409 * gst/gsttag.c: (gst_tag_list_get_type):
11411 Add GST_TYPE_TAG_LIST type.
11413 2004-02-17 Julien MOUTTE <julien@moutte.net>
11415 * gst/gstpad.c: (gst_pad_try_set_caps): Reverting my change according
11416 to what we agreed with david.
11417 * gst/gstpad.h: adding GST_PAD_IS_NEGOTIATING macro.
11419 2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
11421 * po/nl.po: update translation
11423 2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
11425 * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
11426 throw an error if spider is trying to play a mime type there is
11429 add gst/autoplug/gstspider.c for translation
11431 2004-02-17 Julien MOUTTE <julien@moutte.net>
11433 * gst/gstpad.c: (gst_pad_try_set_caps): We are nice people. Return
11434 silently when the pad is negotiating.
11436 2004-02-16 Thomas Vander Stichele <thomas at apestaart dot org>
11438 * docs/faq/Makefile.am:
11439 add script to run gstreamer uninstalled
11440 * docs/faq/faq.xml:
11441 * docs/faq/developing.xml:
11442 * docs/faq/gst-uninstalled:
11443 extract script to run gstreamer uninstalled
11444 * docs/manuals.mak:
11445 add EXTRA_SOURCES variable for Makefile.am's to set to
11446 use additional SOURCE files for the doc build
11448 2004-02-16 Thomas Vander Stichele <thomas at apestaart dot org>
11450 * gst/gstatomic_impl.h: Fedora 2 test package patch for S390
11452 2004-02-15 Julien MOUTTE <julien@moutte.net>
11454 * gst/gstbin.c: (gst_bin_change_state), (gst_bin_iterate): Fix a big
11455 bug that was breaking pipelines like sinesrc ! { queue ! osssink } when
11456 an error was thrown by osssink. Basically a state change failure for
11457 an element in a different scheduling group was considered as
11458 successful, which means that caps nego was going on and weird stuff
11459 happened. Like I wrote in the comment there, if someone wants to
11460 revert that please drop me a mail explaining why because I really see
11461 no point in keeping that broken behaviour there.
11462 * gst/gstqueue.c: (gst_queue_get): Add a safety check as the queue CAN
11463 be empty, we then return NULL which will trigger a nice error when
11464 pulling from the pad.
11466 2004-02-13 David Schleef <ds@schleef.org>
11468 * libs/gst/control/dparam.c: (gst_dparam_class_init),
11469 (gst_dparam_get_property), (gst_dparam_set_property),
11470 (gst_dparam_do_update_default):
11471 * libs/gst/control/dparam.h:
11472 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
11473 (gst_dpsmooth_new), (gst_dpsmooth_set_property),
11474 (gst_dpsmooth_get_property), (gst_dpsmooth_value_changed_double),
11475 (gst_dpsmooth_do_update_double):
11476 * libs/gst/control/dparam_smooth.h:
11477 * libs/gst/control/dparammanager.c:
11478 (gst_dpman_inline_direct_update):
11479 Add support for double dparams.
11481 2004-02-13 David Schleef <ds@schleef.org>
11483 * gst/elements/gstfdsrc.c: (gst_fdsrc_get): Use GST_TIME_TO_TIMEVAL()
11484 * gst/gstclock.h: Avoid using 64-bit % operator (slow!)
11486 2004-02-13 Mattias Wadman <mattias@sudac.org>
11488 reviewed by: David Schleef <ds@schleef.org>
11490 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11491 (gst_fdsrc_init), (gst_fdsrc_set_property),
11492 (gst_fdsrc_get_property), (gst_fdsrc_get):
11493 * gst/elements/gstfdsrc.h: Adds timeout property to fdsrc,
11494 and sends an EOS event if file descriptor reading times out.
11496 2004-02-13 Thomas Vander Stichele <thomas at apestaart dot org>
11499 add calls to AM_CONDITIONAL for subsystems for automake 1.6.x
11501 2004-02-13 Thomas Vander Stichele <thomas at apestaart dot org>
11503 * configure.ac: pass required libxml version as argument
11504 (bug reported by Christophe Fergeau)
11506 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11508 * docs/gst/gstreamer-docs.sgml:
11509 * docs/gst/tmpl/gstxml.sgml:
11510 * docs/libs/gstreamer-libs-docs.sgml:
11513 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11516 * gst/gstregistrypool.c: (gst_registry_pool_plugin_filter),
11517 (gst_registry_pool_feature_filter):
11518 * gst/gstthread.c: (gst_thread_class_init):
11520 add includes exposed by building without libxml
11521 * gst/indexers/Makefile.am:
11522 do not build fileindex when LOADSAVE disabled; we should have
11523 a better libxml check later since fileindex depends on xml, not
11524 LOADSAVE or REGISTRY
11525 * libs/gst/control/Makefile.am:
11527 * tools/Makefile.am:
11528 fix wrong source code for gst-xmlinspect
11530 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11533 fix gcov help output
11534 move calls to and use new GST_CHECK_DISABLE_SUBSYSTEM
11535 * docs/random/release:
11536 some updated releasing notes
11537 * gstreamer.spec.in:
11540 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11542 * docs/faq/faq.xml:
11543 * docs/manual/manual.xml:
11544 * docs/pwg/pwg.xml:
11545 * docs/pwg/titlepage.xml:
11546 put version in documentation
11548 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11550 * tools/Makefile.am: fix man page installation
11552 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11555 don't check for libxml when load/save and registry disabled (#105844)
11556 * gstreamer.spec.in:
11557 sync with fedora candidate spec
11559 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11563 replace multidisksrc with multifilesrc
11565 2004-02-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
11568 update to multidisksrc => multifilesrc file renaming (#134145)
11570 2004-02-11 David Schleef <ds@schleef.org>
11572 * docs/gst/tmpl/gstcaps.sgml: Fix stuff that mentions GstProps
11573 * docs/gst/tmpl/gstpadtemplate.sgml: same
11574 * docs/gst/tmpl/gstreamer-unused.sgml: Remove GstProps
11575 * gst/gstobject.c: (gst_object_set_name_default): Do the memleak
11577 * gst/gstutils.c: Remove disabled code that uses GstProps.
11578 * gst/registries/gstxmlregistry.h: same
11579 * docs/random/ds/0.9-suggested-changes: random notes
11581 2004-02-11 kost@imn.htwk-leipzig.de
11583 reviewed by: David Schleef <ds@schleef.org>
11585 * gst/gstclock.c: (gst_clock_entry_new): fixes structure
11586 initialisation of clock (bug #134128)
11588 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
11591 * gst/elements/Makefile.am:
11592 * gst/elements/gstelements.c:
11593 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
11594 (gst_multifilesrc_class_init), (gst_multifilesrc_init),
11595 (gst_multifilesrc_set_property), (gst_multifilesrc_get_property),
11596 (gst_multifilesrc_get), (gst_multifilesrc_open_file),
11597 (gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
11598 * gst/elements/gstmultifilesrc.h:
11599 rename multidisksrc to multifilesrc (part of #122200)
11601 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
11603 * docs/manuals.mak:
11604 fix automake complaints
11605 * gst-element-check.m4:
11608 2004-02-11 David Schleef <ds@schleef.org>
11610 * docs/gst/Makefile.am: Call gst_init() in built gstreamer-scan.
11611 * gst/gstatomic_impl.h: Disable sparc implementation.
11613 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
11615 * gst-element-check.m4:
11616 fix underquoted macros as reported by automake 1.8.x (#133800)
11618 require gettext 0.11.5 so ulonglong.m4 gets checked out and copied
11619 by autopoint (fixes #132996)
11621 2004-02-10 Andy Wingo <wingo@pobox.com>
11623 * gst/gstpad.c (gst_pad_custom_new): Add a FIXME, this is a hacky
11624 way to do inheritance.
11625 (gst_pad_get_event_masks, gst_pad_get_event_masks_default)
11626 (gst_pad_get_query_types, gst_pad_get_query_types_default):
11628 (gst_pad_set_link_function, gst_pad_set_fixate_function)
11629 (gst_pad_set_getcaps_function): Doc from Dave's negotation random
11631 (gst_pad_unlink, gst_pad_is_linked): Docs.
11632 (gst_pad_renegotiate): A brief description of capsnego.
11633 (gst_pad_try_set_caps): Document.
11634 (gst_pad_try_set_caps_nonfixed): Document.
11635 (gst_pad_can_link_filtered, gst_pad_link_filtered): Doc fixes.
11636 (gst_pad_set_parent): Deprecated (although not out of the API).
11637 (gst_pad_get_parent): Deprecated, although many plugins use this.
11638 (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad): Doc that these
11639 are private and will go away in 0.9.
11640 (gst_pad_perform_negotiate): Doc.
11641 (gst_pad_link_unnegotiate): I think this is meant to be static.
11642 (gst_pad_get_negotiated_caps, gst_pad_get_pad_template_caps)
11643 (gst_pad_template_get_caps_by_name, gst_pad_check_compatibility)
11644 (gst_pad_get_peer): Doc updates.
11645 (gst_pad_caps_change_notify): Doc.
11646 (gst_pad_alloc_buffer, gst_pad_push, gst_static_pad_template_get)
11647 (gst_ghost_pad_new): Doc fixes.
11649 * gst/gstobject.c (gst_object_get_parent, gst_object_unparent)
11650 (gst_object_check_uniqueness):
11652 * gst/gstelement.c (gst_element_add_pad)
11653 (gst_element_add_ghost_pad, gst_element_remove_pad)
11654 (gst_element_remove_ghost_pad, gst_element_get_pad)
11655 (gst_element_get_static_pad, gst_element_get_pad_list)
11656 (gst_element_class_get_pad_template_list)
11657 (gst_element_class_get_pad_template): Work on the docs.
11658 (gst_element_get_pad_template_list): Uses the class method.
11659 (gst_element_get_compatible_pad_template): Docs, and consolidate
11660 some test conditions.
11661 (gst_element_get_pad_from_template): New static function.
11662 (gst_element_request_compatible_pad): Docs, and work with
11663 non-request compatible templates.
11664 (gst_element_get_compatible_pad_filtered): Docs and remove
11666 (gst_element_get_compatible_pad, gst_element_link_pads_filtered)
11667 (gst_element_link_filtered, gst_element_link_many)
11668 (gst_element_link, gst_element_link_pads)
11669 (gst_element_unlink_many): Docs.
11671 2004-02-05 Andy Wingo <wingo@pobox.com>
11673 * gst/gstpad.c (_gst_real_pad_fixate_accumulator):
11676 * gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.
11678 * gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
11679 marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
11680 with the type=GST_TYPE_CAPS. This allows language bindings to know
11681 what kind of data they're dealing with.
11683 * gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
11684 to NULL when g_value_init is called. GstCaps, which rolls its own
11685 type implementation, now does the same instead of allocating empty
11687 (_gst_caps_initialize, _gst_caps_collect_value,
11688 _gst_caps_lcopy_value): Provide collect_value and lcopy_value type
11689 table methods. This allows G_VALUE_COLLECT to work.
11691 2004-02-05 Andy Wingo <wingo@pobox.com>
11694 * testsuite/Makefile.am (SUBDIRS):
11695 * testsuite/ghostpads/Makefile.am:
11696 * testsuite/ghostpads/ghostpads.c: A new test for ghost pads.
11698 * gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
11699 These two routines are the only ones that set
11700 GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
11701 pad template. They should be made static, depending on ABI needs.
11702 (gst_real_pad_dispose): Handle the case of ghost pads without a
11703 parent. Assert after dealing with ghost pads that the ghost pad
11705 (gst_ghost_pad_class_init): New property added, ::real-pad. Can be
11706 set after creation.
11707 (gst_ghost_pad_dispose): Set ::real-pad to NULL.
11708 (gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
11709 functions. set_property will call add_ghost_pad/remove_ghost_pad
11711 (gst_ghost_pad_new): All the work is offloaded to g_object_new.
11713 * gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
11714 (gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
11715 (gst_element_remove_pad): Handle ghost pads as well.
11716 (gst_element_remove_ghost_pad): Deprecated (could be removed,
11717 depending on API-stability needs).
11719 2004-02-05 Andy Wingo <wingo@pobox.com>
11721 * gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
11722 of course they're const
11724 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
11726 * tools/Makefile.am:
11727 * tools/gst-feedback:
11728 * tools/gst-feedback-0.7:
11729 make gst-feedback versioned too for consistency
11731 2004-02-11 David Schleef <ds@schleef.org>
11733 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
11734 (gst_pad_try_set_caps): Fix format strings for GST_PTR_FORMAT.
11736 2004-02-10 Julien MOUTTE <julien@moutte.net>
11738 * gst/gstevent.c: (_gst_event_free): Sometimes a tag event arrives but
11739 the structure does not contain a valid tag list. Adding a safety check
11740 to remove a noisy warning in that case.
11742 2004-02-10 Thomas Vander Stichele <thomas at apestaart dot org>
11744 * gst/gst.c: fix name to be in line with others
11746 2004-02-09 Julien MOUTTE <julien@moutte.net>
11748 * libs/gst/bytestream/bytestream.c: (gst_bytestream_peek): We should
11749 not shout that loud when len is 0. Just return 0 silently.
11751 2004-02-09 Julien MOUTTE <julien@moutte.net>
11753 * gst/gstdata.c: (gst_data_ref): Adding a categorized debug on data_ref
11754 because data_unref has one and I prefer the debug to be symetric.
11755 * gst/gstqueue.c: (gst_queue_locked_flush): Fix a huge memleak. Buffers
11756 were refed when added to the queue and unrefed only once when the queue
11757 was flushed. Now the flush handler unref the buffers two times : first
11758 unref for the ref added when pushing in the queue's tail and second
11759 unref to destroy the flushed buffer.
11761 2004-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
11763 * docs/pwg/building-boiler.xml: fix cvs checkout documentation
11765 2004-02-06 David Schleef <ds@schleef.org>
11767 * docs/random/ds/0.9-suggested-changes: Random ramblings
11768 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap): Cast size_t
11769 to int before printing.
11770 * gst/parse/grammar.y: Fix gcc-2.95 style variadic macros.
11771 * gst/parse/parse.l: same. See bug #129600
11773 2004-02-06 David Schleef <ds@schleef.org>
11775 * gst/gstindex.c: (gst_index_add_format), (gst_index_add_id),
11776 (gst_index_add_entry), (gst_index_add_associationv),
11777 (gst_index_add_association): Add gst_index_add_associationv()
11778 and clean up gst_index_add_association(). #127133
11780 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
11782 * autogen.sh: check out common with right tag if CVS/Tag exists
11784 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
11786 * testsuite/ghostpads/ghostpads.c: (main):
11787 fix testsuite from segfaulting
11789 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
11791 * Makefile.am: add release target
11792 * configure.ac: bump nano to 1
11793 * docs/random/release:
11795 2004-02-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
11798 * gst/gstelement.c: (gst_element_base_class_init),
11799 (gst_element_class_set_details), (gst_element_clear_pad_caps):
11800 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
11801 (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
11802 (gst_real_pad_dispose):
11803 * gst/gststructure.c: (gst_structure_free),
11804 (gst_structure_from_string):
11805 put reverted patch back in
11806 * gst/gstelement.c: (gst_element_remove_pad):
11807 free explicit caps if they're set
11808 * gst/gstpad.c: (_gst_pad_default_fixate_func):
11809 copy the structure when fixating
11811 2004-02-05 David Schleef <ds@schleef.org>
11813 * gst/gstmarshal.list:
11814 * gst/gstpad.c: (gst_real_pad_class_init),
11815 (_gst_real_pad_fixate_accumulator):
11816 Revert POINTER->BOXED change in signal marshaller.
11818 === release 0.7.4 ===
11820 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
11822 * NEWS: GStreamer 0.7.4 "Wooden Eels" released
11823 * configure.ac: changed for release
11825 2004-02-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11827 * gstreamer.spec.in:
11828 bump required version of gtk-doc
11830 2004-02-05 Thomas Vander Stichele <thomas at apestaart dot org>
11833 * gst/gstelement.c: (gst_element_base_class_init),
11834 (gst_element_class_set_details), (gst_element_clear_pad_caps):
11835 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
11836 (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
11837 (gst_real_pad_dispose):
11838 * gst/gststructure.c: (gst_structure_free),
11839 (gst_structure_from_string):
11840 revert patch that breaks applications, reapply after release
11841 to get this fixed properly
11843 2004-02-05 Benjamin Otte <in7y118@public.uni-hamburg.de>
11845 * gst/gsttag.c: (_gst_tag_initialize):
11847 remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER
11849 2004-02-04 David Schleef <ds@schleef.org>
11852 * gst/autoplug/gstspider.c: (gst_spider_request_new_pad),
11853 (gst_spider_plug_from_srcpad):
11854 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
11856 2004-02-04 David Schleef <ds@schleef.org>
11858 * gst/gstelement.c: (gst_element_clear_pad_caps): Make sure we have
11859 a GstRealPad before accessing its structure members.
11861 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
11863 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_speed),
11864 (gst_clock_get_speed):
11866 reset padding, remove unused fields
11868 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
11870 * gst/autoplug/gstspideridentity.c:
11871 (gst_spider_identity_sink_loop_type_finding):
11872 use get_allowed_caps, not get_caps (fixes #132519)
11873 * gst/elements/gsttypefind.c: (stop_typefinding):
11874 use correct order when sending buffers and seeking
11876 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
11879 * gst/gstelement.h:
11882 upgrade libtool CURRENT, reset padding
11884 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
11888 put back AM_PROG_LIBTOOL to make libtoolize stop complaining
11890 2004-02-04 David Schleef <ds@schleef.org>
11892 * docs/random/ds/0.9-suggested-changes: random notes
11893 * gst/elements/gstfakesrc.c: (gst_fakesrc_get_formats),
11894 (gst_fakesrc_get_query_types), (gst_fakesrc_get_event_mask):
11895 Replace GST_PAD_EVENT_MASK_FUNCTION() (et al.) with its
11897 * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
11898 (gst_filesink_get_query_types): same
11899 * gst/elements/gstfilesrc.c: (gst_filesrc_get_event_mask),
11900 (gst_filesrc_get_query_types), (gst_filesrc_get_formats): same
11901 * gst/gstcaps.h: deprecate GST_DEBUG_CAPS(), and fix the macro
11902 to use new GST_PTR_FORMAT.
11903 * gst/gstelement.h: deprecate function factory macros
11904 GST_ELEMENT_QUERY_TYPE_FUNCTION(), GST_ELEMENT_EVENT_MASK_FUNCTION().
11905 These are our last variadic macros that can't be replaced with
11906 inlines. Celebrate! Also fix a typo in an #ifdef that was
11907 attempting to deprecate gst_element_clock_wait().
11908 * gst/gstevent.h: same
11909 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
11910 (gst_pad_try_set_caps): replace GST_DEBUG_CAPS() with GST_DEBUG()
11911 * gst/gstpad.h: deprecate function factory macros similar to above.
11913 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
11916 * tools/Makefile.am:
11917 * tools/gst-run.c: (popt_callback), (hash_print_key),
11918 (find_highest_version), (unmangle_libtool), (get_dir_of_binary),
11919 (get_candidates), (main):
11920 add new source file to generate non-versioned wrapper binaries
11923 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
11925 * gst/gstevent.c: (_gst_event_free):
11926 actually break; inside the switch statement
11927 * gst/parse/grammar.y:
11928 fix memleak where GValues weren't unset
11930 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
11932 * gst/gststructure.c: (gst_structure_from_string):
11934 * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
11935 (new_entry), (gst_type_find_element_chain):
11936 * gst/gstelement.c: (gst_element_base_class_init),
11937 (gst_element_class_set_details):
11938 * gst/gstpad.c: (gst_pad_can_link_filtered):
11939 fix smaller memleaks
11940 * gst/gstpad.c: (gst_real_pad_dispose):
11941 check that explicit caps are gone
11942 * gst/gststructure.c: (gst_structure_free):
11943 actually free the structure
11944 * gst/gstelement.c: (gst_element_clear_pad_caps):
11945 unset explicit caps
11947 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
11949 * tools/Makefile.am:
11950 use AM_CFLAGS since all the CFLAGS are the same
11953 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
11955 * docs/manual/gnome.xml:
11956 expand example a little
11957 * gst/gst.c: (gst_init_with_popt_table),
11958 (gst_init_check_with_popt_table), (init_pre), (init_popt_callback):
11959 make sure popt option displays are done with right textdomain
11960 use GstPoptOption type
11962 create GstPoptOption type
11964 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * gst/gsterror.c: (_gst_stream_errors_init):
11968 adding error type for no codec
11972 update dutch translation
11973 * tools/gst-inspect.c: (print_element_list), (main):
11974 do proper internationalization
11975 * tools/gst-launch.c: (idle_func):
11976 remove commented out function call
11978 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
11981 add some error fixing notes
11982 * docs/gst/gstreamer-sections.txt:
11983 remove double entries
11984 * docs/gst/tmpl/gstbin.sgml:
11985 * docs/gst/tmpl/gstclock.sgml:
11987 * docs/gst/tmpl/gstelement.sgml:
11988 * docs/gst/tmpl/gstindex.sgml:
11989 * docs/gst/tmpl/gstobject.sgml:
11990 * docs/gst/tmpl/gstpadtemplate.sgml:
11991 * docs/gst/tmpl/gstreamer-unused.sgml:
11992 * docs/gst/tmpl/gsttag.sgml:
11993 * docs/gst/tmpl/gstthread.sgml:
11994 * docs/gst/tmpl/gstxml.sgml:
11996 sync header prototypes with c decls
11997 * gst/gsttaginterface.c:
12000 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
12002 * gst/parse/Makefile.am:
12004 get rid of gstmarshal.h dependency. It's not needed.
12006 * gst/elements/gstfakesink.c:
12007 * gst/elements/gstfakesrc.c:
12008 * gst/elements/gstidentity.c:
12010 * gst/gstelement.c:
12016 * libs/gst/control/dparam.c:
12017 * libs/gst/control/dparammanager.c:
12018 include gstmarshal.h.
12021 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
12023 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12024 (gst_filesrc_dispose), (gst_filesrc_free_parent_mmap),
12025 (gst_filesrc_map_region), (gst_filesrc_get_mmap):
12026 * gst/elements/gstfilesrc.h:
12027 don't ref the filesrc when creating mmaped buffers. Don't keep a
12028 list of not-yet-destroyed buffers.
12030 Deprecated BST_BUFFER_FREE_FUNC and GST_BUFFER_COPY_FUNC
12032 2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
12034 * gst/gst.c: (init_pre):
12037 2004-02-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
12039 * docs/pwg/advanced-events.xml:
12040 * docs/pwg/advanced-scheduling.xml:
12041 * docs/pwg/intro-basics.xml:
12042 * docs/pwg/other-manager.xml:
12043 * docs/pwg/other-nton.xml:
12044 * docs/pwg/other-ntoone.xml:
12045 * docs/pwg/other-oneton.xml:
12046 * docs/pwg/pwg.xml:
12047 All sort of documentation... Forgot what. Point is that I want this
12048 in before I leave. The 'other-*' will be the last section and will
12049 explain issues specific to these type of elements.
12051 2004-02-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
12053 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12054 (gst_filesrc_get_read):
12055 set all the values on buffers that we can
12057 2004-02-02 David Schleef <ds@schleef.org>
12059 Change usage of isblah() to g_ascii_isblah() to be more locale
12060 independent. (#133076)
12061 * gst/gsturi.c: (gst_uri_protocol_check_internal):
12063 * gst/parse/parse.l:
12065 2004-02-02 Jon Trowbridge <trow@gnu.org>
12067 reviewed by: David Schleef <ds@schleef.org>
12070 * gst/gstcaps.c: (gst_caps_to_string):
12071 * gst/registries/gstxmlregistry.c:
12072 (gst_xml_registry_add_path_list_func),
12073 (gst_xml_registry_parse_padtemplate):
12075 2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
12077 * gst/gstelement.c: (gst_element_default_error):
12078 suffix error messages with period
12080 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12082 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
12083 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12084 * gst/gsterror.c: (gst_error_get_message):
12088 Update translation files
12090 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12092 * gst/autoplug/gstspideridentity.c:
12093 (gst_spider_identity_sink_loop_type_finding):
12094 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
12095 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
12096 (gst_filesink_close_file), (gst_filesink_handle_event),
12097 (gst_filesink_chain):
12098 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12099 (gst_filesrc_get_read), (gst_filesrc_open_file):
12100 * gst/elements/gstidentity.c: (gst_identity_chain):
12101 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12102 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12103 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12104 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
12105 * gst/gsterror.c: (_gst_core_errors_init),
12106 (_gst_library_errors_init), (_gst_resource_errors_init),
12107 (_gst_stream_errors_init), (gst_error_get_message):
12108 * gst/gstpad.c: (gst_pad_set_explicit_caps),
12109 (gst_pad_recover_caps_error), (gst_pad_pull):
12110 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
12111 * gst/schedulers/gstbasicscheduler.c:
12112 (gst_basic_scheduler_chainhandler_proxy),
12113 (gst_basic_scheduler_gethandler_proxy),
12114 (gst_basic_scheduler_cothreaded_chain):
12115 Suffix error messages with period.
12116 Use (NULL) instead of NULL
12118 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12120 * docs/gst/tmpl/gstelement.sgml:
12121 * docs/gst/tmpl/gstxml.sgml:
12122 * gst/gstelement.c: (gst_element_error_full):
12123 add element path to error
12125 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de>
12127 * docs/random/mimetypes:
12128 update raw int/float info
12129 * gst/gsttag.c: (_gst_tag_initialize):
12131 add GST_TAG_ENCODER
12133 2004-01-30 David Schleef <ds@schleef.org>
12135 * gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is
12138 2004-01-30 Laurent Vivier <Laurent.Vivier@bull.net>
12140 reviewed by Benjamin Otte
12141 parts of the patch submitted in bug #113913
12144 use AC_C_INLINE. Use = instead of == with test
12145 * examples/plugins/example.c:
12146 * gst/autoplug/gstspideridentity.c:
12147 * gst/elements/gstfdsrc.c:
12148 * gst/elements/gstfilesrc.c:
12149 * gst/elements/gstidentity.c:
12150 * gst/elements/gstmultidisksrc.c:
12151 * gst/elements/gststatistics.c:
12152 * gst/gstelement.c:
12155 * gst/gstpipeline.c:
12157 don't end enums with a comma
12158 * gst/gstindex.c: (gst_index_compare_func):
12159 do explicit casting to gint
12160 * gst/gsttrace.c: (gst_trace_text_flush):
12161 #define strsize as a macro
12163 2004-01-30 Thomas Vander Stichele <thomas at apestaart dot org>
12166 * docs/gst/gstreamer-docs.sgml:
12167 * docs/gst/gstreamer-sections.txt:
12168 * docs/gst/tmpl/gstelement.sgml:
12169 * docs/gst/tmpl/gsterror.sgml:
12170 * docs/gst/tmpl/gstinterface.sgml:
12171 * docs/gst/tmpl/gstreamer-unused.sgml:
12172 * docs/gst/tmpl/gststructure.sgml:
12173 * docs/gst/tmpl/gsttag.sgml:
12174 * docs/gst/tmpl/gsttaginterface.sgml:
12175 * docs/gst/tmpl/gstvalue.sgml:
12176 make sure all API ends up in the built docs
12177 * gst/gstinterface.c:
12178 * gst/gststructure.c: (gst_structure_id_set_value),
12179 (gst_structure_set_value), (gst_structure_id_get_value):
12180 * gst/gststructure.h:
12182 sync .h with .c declarations
12184 2004-01-30 Julien Moutte <julien@moutte.net>
12186 * libs/gst/bytestream/bytestream.c: Reverting my event handling patch.
12187 Ronald will fix riffread.
12189 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net>
12191 * docs/pwg/advanced-interfaces.xml:
12192 Added tuner interface docs.
12194 2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
12196 * docs/random/mimetypes:
12197 correct Theora information
12198 * gst/gstelement.h:
12199 make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT
12201 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12203 * gst/gstelement.c: (gst_element_error_full):
12204 * gst/gstelement.h:
12205 GST_ELEMENT_ERROR in enum -> _IN_ERROR
12207 2004-01-29 Julien MOUTTE <julien@moutte.net>
12209 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
12210 (gst_filesrc_uri_handler_init): Fixing seeking by making FLUSH happen
12211 again and even before DISCONT.
12212 * gst/gstpad.c: (gst_pad_event_default): Remove a unused switch case.
12213 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf): Fix
12214 bytestream so that it's not stopping to fill the bytestream if events
12215 different than EOS or DISCONT are received. Instead it process them so
12216 that they go downstream.
12218 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12220 * docs/gst/tmpl/gstelement.sgml:
12221 * docs/gst/tmpl/gstreamer-unused.sgml:
12222 * docs/gst/tmpl/gstxml.sgml:
12223 * gst/autoplug/gstspideridentity.c:
12224 (gst_spider_identity_sink_loop_type_finding):
12225 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
12226 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
12227 (gst_filesink_close_file), (gst_filesink_handle_event),
12228 (gst_filesink_chain):
12229 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12230 (gst_filesrc_get_read), (gst_filesrc_open_file):
12231 * gst/elements/gstidentity.c: (gst_identity_chain):
12232 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12233 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12234 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12235 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
12236 * gst/gstelement.h:
12237 * gst/gstpad.c: (gst_pad_set_explicit_caps),
12238 (gst_pad_recover_caps_error), (gst_pad_pull):
12239 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
12240 * gst/schedulers/gstbasicscheduler.c:
12241 (gst_basic_scheduler_chainhandler_proxy),
12242 (gst_basic_scheduler_gethandler_proxy),
12243 (gst_basic_scheduler_cothreaded_chain):
12244 gst_element_error -> GST_ELEMENT_ERROR
12246 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12248 * docs/Makefile.am:
12249 * docs/gst/tmpl/gstelement.sgml:
12250 * docs/gst/tmpl/gstxml.sgml:
12251 * docs/manuals.mak:
12252 * docs/pwg/advanced-request.xml:
12253 * docs/pwg/advanced-scheduling.xml:
12254 * docs/pwg/advanced-tagging.xml:
12255 fix non-validating docbook using CDATA
12256 make sure make check-local gets run first to check if it validates
12258 2004-01-29 Julien MOUTTE <julien@moutte.net>
12260 * docs/pwg/advanced-events.xml: Adding documentation on advanced event
12261 handling (up and downstream).
12262 * docs/pwg/advanced-interfaces.xml: Make it coherent with the
12265 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12267 * docs/pwg/advanced-tagging.xml:
12268 Add docs about tag writing.
12270 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12272 * docs/pwg/advanced-tagging.xml:
12273 Add a part about tag reading and application signalling... Tag
12274 writing still needs to be documented.
12275 * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
12276 We can set file locations in READY, too.
12278 2004-01-29 Julien MOUTTE <julien@moutte.net>
12280 * docs/random/ds/element-checklist: Adding some notes about src
12283 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12285 * docs/random/mimetypes:
12286 Update docs to point to correct elements for various mimetypes, and
12287 some more errors pointed out by Stéphane LOEUILLET (aka LeRoutier)
12288 <stephane.loeuillet@tiscali.fr>.
12290 2004-01-28 David Schleef <ds@schleef.org>
12292 * docs/pwg/intro-basics.xml: rewrite bufferpool stuff.
12294 2004-01-29 Benjamin Otte <in7y118@public.uni-hamburg.de>
12296 * docs/random/mimetypes:
12297 update docs for audio/x-raw-float. Add "buffer-frames=0 means
12299 * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
12300 make it only work in NULL.
12302 don't posion NULL caps
12303 * gst/gstelement.c: (gst_element_set_time):
12304 add debugging statement
12305 * gst/gstelement.c: (gst_element_emit_found_tag),
12306 (gst_element_found_tag_func), (gst_element_found_tags):
12307 * gst/gstelement.h:
12308 These functions take const taglists
12309 * gst/gstpad.c: (gst_pad_proxy_getcaps):
12311 * gst/gstpad.c: (gst_pad_event_default):
12312 make more effort on handling discont and clocks, g_warn if everything
12314 * gst/gststructure.c: (gst_structure_remove_fields),
12315 (gst_structure_remove_fields_valist):
12316 * gst/gststructure.h:
12317 add gst_structure_remove_fields(_valist)
12321 2004-01-28 David Schleef <ds@schleef.org>
12323 * docs/random/ds/element-checklist: Notes about gst_caps_to_string()
12324 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save_caps):
12325 Fix memory leakage of gst_caps_to_string().
12327 Use GST_PTR_FORMAT instead of gst_caps_to_string():
12328 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_sp):
12329 * gst/autoplug/gstspideridentity.c: (spider_find_suggest),
12330 (gst_spider_identity_sink_loop_type_finding):
12331 * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
12333 * gst/gstpad.c: (gst_pad_try_relink_filtered),
12334 (gst_pad_set_explicit_caps):
12335 * gst/parse/grammar.y:
12337 2004-01-28 David Schleef <ds@schleef.org>
12339 * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
12340 GST_PRINTF_EXTENSION_FORMAT_DEFINE.
12341 * docs/random/ds/0.9-suggested-changes: Notes from Company.
12342 * gst/gstcaps.c: (gst_caps_to_string): Add comment.
12343 * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
12344 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
12345 (gst_debug_log_default), (_gst_info_printf_extension),
12346 (_gst_info_printf_extension_arginfo): Add printf extension.
12347 * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
12348 * gst/gststructure.c: (gst_structure_to_string),
12349 (_gst_structure_parse_value): Use gst_value_deserialize() and
12351 * gst/gstvalue.c: (gst_value_deserialize_fourcc),
12352 (gst_value_deserialize_boolean), (gst_strtoi),
12353 (gst_value_deserialize_int), (gst_value_deserialize_double),
12354 (gst_value_deserialize_string), (gst_value_deserialize): Implement
12355 a bunch of deserialize functions and gst_value_deserialize.
12356 * gst/gstvalue.h: er, _de_serialize, not unserialize
12357 * testsuite/caps/string-conversions.c: (main): We don't currently
12358 handle (float) in caps, so convert these to (double).
12359 * testsuite/debug/Makefile.am: Add new test for the printf extension
12360 * testsuite/debug/printf_extension.c: (main): same
12362 2004-01-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
12364 * docs/random/company/time:
12365 Add some docs about clocking and time
12367 2004-01-28 Julien MOUTTE <julien@moutte.net>
12369 * docs/pwg/advanced-interfaces.xml: Adding XOverlay documentation.
12371 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12373 * docs/pwg/advanced-clock.xml:
12374 * docs/pwg/advanced-dparams.xml:
12375 * docs/pwg/advanced-events.xml:
12376 * docs/pwg/advanced-interfaces.xml:
12377 * docs/pwg/advanced-midi.xml:
12378 * docs/pwg/advanced-request.xml:
12379 * docs/pwg/advanced-scheduling.xml:
12380 * docs/pwg/advanced-tagging.xml:
12381 * docs/pwg/advanced-types.xml:
12382 * docs/pwg/appendix-checklist.xml:
12383 * docs/pwg/building-boiler.xml:
12384 * docs/pwg/building-chainfn.xml:
12385 * docs/pwg/building-filterfactory.xml:
12386 * docs/pwg/building-pads.xml:
12387 * docs/pwg/building-props.xml:
12388 * docs/pwg/building-signals.xml:
12389 * docs/pwg/building-state.xml:
12390 * docs/pwg/building-testapp.xml:
12391 * docs/pwg/intro-basics.xml:
12392 * docs/pwg/intro-preface.xml:
12393 * docs/pwg/other-autoplugger.xml:
12394 * docs/pwg/other-sink.xml:
12395 * docs/pwg/other-source.xml:
12396 * docs/pwg/titlepage.xml:
12399 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12404 * docs/building-the-docs-on-debian:
12405 collect relevant bits of doc info
12407 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12409 * docs/pwg/advanced_tagging.xml:
12410 Half-assed commit so Thomas can re-arrange document IDs here to be
12413 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12415 * docs/manual/autoplugging.xml:
12416 * docs/manual/bins-api.xml:
12417 * docs/manual/bins.xml:
12418 * docs/manual/buffers-api.xml:
12419 * docs/manual/buffers.xml:
12420 * docs/manual/clocks.xml:
12421 * docs/manual/components.xml:
12422 * docs/manual/cothreads.xml:
12423 * docs/manual/debugging.xml:
12424 * docs/manual/dparams-app.xml:
12425 * docs/manual/dynamic.xml:
12426 * docs/manual/elements-api.xml:
12427 * docs/manual/elements.xml:
12428 * docs/manual/factories.xml:
12429 * docs/manual/gnome.xml:
12430 * docs/manual/goals.xml:
12431 * docs/manual/helloworld.xml:
12432 * docs/manual/helloworld2.xml:
12433 * docs/manual/init-api.xml:
12434 * docs/manual/intro.xml:
12435 * docs/manual/links-api.xml:
12436 * docs/manual/links.xml:
12437 * docs/manual/manual.xml:
12438 * docs/manual/motivation.xml:
12439 * docs/manual/pads-api.xml:
12440 * docs/manual/pads.xml:
12441 * docs/manual/plugins-api.xml:
12442 * docs/manual/plugins.xml:
12443 * docs/manual/programs.xml:
12444 * docs/manual/queues.xml:
12445 * docs/manual/quotes.xml:
12446 * docs/manual/schedulers.xml:
12447 * docs/manual/states-api.xml:
12448 * docs/manual/states.xml:
12449 * docs/manual/threads.xml:
12450 * docs/manual/typedetection.xml:
12451 * docs/manual/xml.xml:
12452 use chapter, part, section or misc as id starts for all bits
12454 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12456 * docs/gst/gstreamer-sections.txt:
12457 Fix up TITLE of the sections
12459 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12461 * docs/pwg/advanced_interfaces.xml:
12462 Add documentation on propertyprobing.
12463 * docs/pwg/advanced_events.xml:
12464 * docs/pwg/advanced_tagging.xml:
12465 * docs/pwg/building_boiler.xml:
12466 * docs/pwg/building_filterfactory.xml:
12467 * docs/pwg/pwg.xml:
12468 Move filterfactory and tagging into their own chapter, add a chapter
12469 on events. all these are empty placeholders that will be filled in
12472 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12474 * docs/pwg/advanced_interfaces.xml:
12475 Docs for mixer interface. Also a check for website uploading.
12477 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12480 * docs/Makefile.am:
12481 * docs/faq/Makefile.am:
12482 * docs/gst/Makefile.am:
12483 * docs/gst/tmpl/gstelement.sgml:
12484 * docs/gst/tmpl/gstplugin.sgml:
12485 * docs/gst/tmpl/gstreamer-unused.sgml:
12486 * docs/libs/Makefile.am:
12487 * docs/manual/Makefile.am:
12488 * docs/manuals.mak:
12489 * docs/pwg/Makefile.am:
12491 Separate out upload target and make it similar for
12492 both docbook and gtk-doc docs
12494 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12496 * docs/manuals.mak:
12497 Fix upload target to work with freedesktop
12499 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12501 * docs/pwg/advanced_types.xml:
12502 Add notes on creating your own types.
12503 * docs/pwg/building_boiler.xml:
12504 * docs/pwg/building_pads.xml:
12505 * docs/pwg/building_state.xml:
12506 Add some stuff about how to retrieve values from structures, how
12507 that relates to types and change layout slightly again to be almost
12510 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12512 * docs/pwg/advanced_dparams.xml:
12513 * docs/pwg/advanced_scheduling.xml:
12514 Change index layout slightly.
12516 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12518 * docs/pwg/advanced_clock.xml:
12519 * docs/pwg/advanced_interfaces.xml:
12520 * docs/pwg/advanced_midi.xml:
12521 General placeholders for now.
12522 * docs/pwg/advanced_request.xml:
12523 Explanation about sometimes and request pads.
12524 * docs/pwg/advanced_scheduling.xml:
12525 Concept of bytestream, loopfunctions and schedulers.
12526 * docs/pwg/building_boiler.xml:
12527 Add something about plugin-init.
12529 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12531 * docs/pwg/building_pads.xml:
12534 2004-01-27 Ronald Bultje <rbultje@ronald.bitfreak.net>
12536 * docs/pwg/advanced_interfaces.xml:
12537 * docs/pwg/pwg.xml:
12538 Add as a placeholder for future filling-in.
12539 * docs/pwg/basics_autoplugging.xml:
12540 * docs/pwg/basics_buffers.xml:
12541 * docs/pwg/basics_elements.xml:
12542 * docs/pwg/basics_events.xml:
12543 * docs/pwg/basics_plugins.xml:
12544 * docs/pwg/basics_types.xml:
12545 Remove, because unused (this is all in intro_basics.xml).
12546 * docs/pwg/building_signals.xml:
12547 Short intro to signals + reference to GObject docs - we really
12548 shouldn't go into these sort of things to deply because we don't
12549 use them that extensively anyway.
12550 * docs/pwg/building_state.xml:
12551 Explanation of states. Benjamin, please check.
12552 * docs/pwg/building_testapp.xml:
12553 Put everything in one page - putting only a few lines of content
12554 per page doesn't really make sense.
12556 Time to get into the advanced topics. ;).
12558 2004-01-27 Ronald Bultje <rbultje@ronald.bitfreak.net>
12560 * docs/pwg/advanced_types.xml:
12561 Finish documenting the current state of mimetypes.
12562 * docs/pwg/building_boiler.xml:
12563 * docs/pwg/building_chainfn.xml:
12564 * docs/pwg/building_pads.xml:
12565 * docs/pwg/building_props.xml:
12566 * docs/pwg/building_testapp.xml:
12567 Start documenting the "how to build a simple audio filter" part
12568 of the PWG. Most stuff is ready by now. Stuff remaining: signals,
12569 states and (maybe?) a short introduction to capsnego in the chapter
12570 on pads (building_pads.xml). Capsnego should probably be explained
12571 fully in advanced_capsnego.xml or so.
12573 2004-01-26 David Schleef <ds@schleef.org>
12575 * gst/gstpad.c: (gst_pad_try_set_caps_nonfixed):
12576 * gst/gstpad.h: Add new function to allow element to (somewhat)
12577 specify non-fixed caps on a pad.
12578 * gst/gstqueue.c: (gst_queue_chain): Remove noisy g_object_notify()
12579 that I added a few weeks ago.
12581 2004-01-26 David Schleef <ds@schleef.org>
12583 * gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
12584 making try_set_caps() work with non-fixed caps.
12586 2004-01-26 Ronald Bultje <rbultje@ronald.bitfreak.net>
12588 * docs/pwg/advanced_types.xml:
12589 * docs/pwg/intro_basics.xml:
12590 * docs/pwg/intro_preface.xml:
12591 * docs/pwg/pwg.xml:
12592 * docs/pwg/titlepage.xml:
12593 First try to resurrect the PWG. I'm halfway integrating the mimetypes
12594 in here (docs/random/mimetypes), and will from there on work on both
12595 updating outdated parts and adding missing parts.
12596 That doesn't mean I'll fix it completely, but I'll try at least. ;).
12598 2004-01-26 Thomas Vander Stichele <thomas at apestaart dot org>
12600 * gst/gsterror.h: reinstate GST_LIBRARY_ERROR_ENCODE until
12603 2004-01-26 Benjamin Otte <in7y118@public.uni-hamburg.de>
12605 * gst/gstelement.h:
12606 remove gst_element_factory_get_version. It doesn't exist anymore.
12609 remove gst_plugin_set_name and change gst_plugin_get_longname to
12610 gst_plugin_get_description to match code.
12612 remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
12613 * gst/gstpad.c: (gst_pad_try_set_caps):
12614 make it work with nonfixed caps.
12615 Note that even in the nonfixed case the link function of the pad
12616 that tries to set caps isn't called.
12618 2004-01-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
12620 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
12621 fix bug where buffer was not assembled correctly
12622 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
12624 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
12625 only seek if there's no more buffers that could work without seeking
12627 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net>
12629 * gst/gsttag.c: (_gst_tag_initialize):
12631 Add application tag (for encoding/muxing app).
12633 2004-01-23 Thomas Vander Stichele <thomas at apestaart dot org>
12636 make autopoint force, and libtoolize not copy
12637 * common/m4/as-docbook.m4:
12638 added docbook xml catalog setup check
12639 * common/m4/gst-doc.m4:
12642 2004-01-22 Thomas Vander Stichele <thomas at apestaart dot org>
12644 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12648 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12650 * docs/gst/gstreamer-sections.txt:
12651 * docs/gst/tmpl/gst.sgml:
12652 * docs/gst/tmpl/gstbuffer.sgml:
12653 * docs/gst/tmpl/gstclock.sgml:
12654 * docs/gst/tmpl/gstelement.sgml:
12655 * docs/gst/tmpl/gstreamer-unused.sgml:
12656 * docs/gst/tmpl/gstxml.sgml:
12657 sync latest API changes to docs
12659 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12661 * gst/gstpluginfeature.c:
12663 * tools/gst-inspect.c: (print_element_list):
12664 fix output of typefind
12666 * tools/gst-launch.c:
12669 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12671 * gst/elements/Makefile.am:
12672 * gst/elements/gstelements.c:
12673 * gst/elements/gsttypefindelement.c:
12674 * gst/elements/gsttypefindelement.h:
12678 renamed gsttypefindelement to gsttypefind, conserving CVS history
12680 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12682 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
12684 add some tags used in ogg as well
12685 fix _ in replaygain tags
12687 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12690 fix wrong GST_LIBRARY_ERROR_ENCODE addition
12692 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12694 * gst/gstelement.c: (gst_element_error_full):
12695 * gst/gstelement.h:
12696 change _extended to _full
12698 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12700 reviewed by: <delete if not using a buddy>
12702 * docs/gst/tmpl/gst.sgml:
12703 * docs/gst/tmpl/gstbuffer.sgml:
12704 * docs/gst/tmpl/gstclock.sgml:
12705 * docs/gst/tmpl/gstelement.sgml:
12706 * docs/gst/tmpl/gstreamer-unused.sgml:
12707 * docs/gst/tmpl/gstxml.sgml:
12708 * gst/gstelement.c: (gst_element_error_full):
12709 * gst/gstelement.h:
12711 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12713 * gst/gstelement.h: fix _gst_element_error_printf prototype
12715 2004-01-20 David Schleef <ds@schleef.org>
12717 * gst/gststructure.c: (gst_structure_to_string):
12718 Convert function to use gst_value_serialize().
12719 * gst/gstvalue.c: (gst_value_serialize_list),
12720 (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
12721 (gst_value_serialize_double_range), (gst_value_serialize_boolean),
12722 (gst_value_serialize_int), (gst_value_serialize_double),
12723 (gst_string_wrap), (gst_value_serialize_string),
12724 (gst_value_serialize), (gst_value_deserialize):
12726 Add implementations for serialize.
12728 2004-01-20 Julien MOUTTE <julien@moutte.net>
12730 * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
12731 we want to keep that one in the future or change xvidenc.c to use
12734 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12736 * gst/gstelement.c: (_gst_element_error_printf):
12737 * gst/gstelement.h:
12740 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12742 * docs/random/error:
12743 doc explaining error system
12744 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
12747 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12749 * gst/gst-i18n-app.h:
12750 * gst/gst-i18n-lib.h:
12751 remove inclusion of config.h
12754 add gst/gstelement.c
12756 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12758 * po/nl.po: updated Dutch translation
12760 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12762 * gst/gsterror.c: (_gst_core_errors_init),
12763 (_gst_library_errors_init), (_gst_resource_errors_init),
12764 (_gst_stream_errors_init):
12765 remove ending punctuation dots
12767 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12769 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
12770 * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
12771 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12772 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12773 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12774 use GST_ERROR_SYSTEM
12776 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12778 * gst/gstelement.c: (gst_element_error_printf),
12779 (gst_element_error_extended):
12780 * gst/gstelement.h:
12781 add a helper printf function so we can have NULL values passed.
12783 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
12785 * gst/gstelement.h:
12786 add G_STMT macros to gst_element_error, which isn't strictly
12787 necessary but people tell me to anyway.
12789 2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
12792 * gst/autoplug/gstspideridentity.c:
12793 (gst_spider_identity_sink_loop_type_finding):
12794 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
12795 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
12796 (gst_filesink_close_file), (gst_filesink_handle_event),
12797 (gst_filesink_chain):
12798 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
12799 (gst_filesrc_map_region), (gst_filesrc_get_read),
12800 (gst_filesrc_open_file):
12801 * gst/elements/gstidentity.c: (gst_identity_chain):
12802 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12803 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12804 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12805 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
12807 * gst/gst_private.h:
12808 * gst/gstelement.c: (gst_element_class_init),
12809 (gst_element_default_error), (gst_element_error_func),
12810 (gst_element_error_extended):
12811 * gst/gstelement.h:
12812 * gst/gsterror.c: (_gst_core_errors_init),
12813 (_gst_library_errors_init), (_gst_resource_errors_init),
12814 (_gst_stream_errors_init), (gst_error_get_message):
12816 * gst/gstinfo.c: (_gst_debug_init):
12817 * gst/gstmarshal.list:
12818 * gst/gstpad.c: (gst_pad_set_explicit_caps),
12819 (gst_pad_recover_caps_error), (gst_pad_pull):
12820 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
12821 * gst/schedulers/gstbasicscheduler.c:
12822 (gst_basic_scheduler_chainhandler_proxy),
12823 (gst_basic_scheduler_gethandler_proxy),
12824 (gst_basic_scheduler_cothreaded_chain):
12828 change error signal
12829 add error categories
12831 2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
12833 * gst/gsttag.c: (_gst_tag_initialize):
12837 2004-01-18 Colin Walters <walters@verbum.org>
12839 * examples/retag/retag.c: Call gst_init before processing
12840 program args. Add g_assert to _link_many call.
12842 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
12844 * gst/gstpad.c: (gst_pad_alloc_buffer):
12845 Return a newly allocated buffer when the pad has no peer.
12847 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
12849 * gst/gstclock.c: (gst_clock_get_time):
12850 make it compile with gcc 2.95 again.
12851 Patch by Scott Wheeler
12853 2004-01-15 David Schleef <ds@schleef.org>
12856 Added gst_caps_is_simple() macro.
12857 * testsuite/caps/caps.c: (test1):
12858 * testsuite/caps/intersect2.c: (main):
12859 * testsuite/caps/intersection.c: (main):
12860 Fixes to make 'make check' work again after removing
12861 gst_caps_is_chained().
12863 2004-01-15 Leif Johnson <leif@ambient.2y.net>
12865 * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
12866 and additions to the MIDI document.
12868 2004-01-15 David Schleef <ds@schleef.org>
12870 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
12871 (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
12872 of GST_RPAD_, since we don't know if it's a real or ghost pad.
12874 2004-01-15 David Schleef <ds@schleef.org>
12878 Fix the spelling of "treshold" and make min_threshold actually
12881 2004-01-15 David Schleef <ds@schleef.org>
12884 Add lots of documentation.
12886 Deprecate a few functions.
12888 Removed use of deprecated functions.
12890 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
12892 * gst/gstpad.c: (gst_pad_is_linked):
12894 implement gst_pad_is_linked
12895 * gst/gstelement.h:
12896 reserve space for initiate_state_change
12898 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
12900 * gst/autoplug/gstspideridentity.c:
12901 (gst_spider_identity_sink_loop_type_finding):
12902 break infinite loop by just returning instead of looping
12903 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
12904 set event time difference correctly. Set it to 1 second instead
12905 of 100ms to be more tolerant
12906 * gst/gstelement.c: (gst_element_set_time):
12907 add debugging output
12909 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
12911 * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
12912 query if buffers are inside the pool, ignore events
12914 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
12916 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
12917 (gst_clock_set_speed), (gst_clock_set_active),
12918 (gst_clock_is_active), (gst_clock_reset),
12919 (gst_clock_handle_discont):
12921 deprecate old interface and disable functions that aren't in use
12923 * gst/gstelement.h:
12924 * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
12925 (gst_element_set_time), (gst_element_adjust_time):
12926 add concept of "element time" and functions to get/set this time.
12927 * gst/gstelement.c: (gst_element_change_state):
12928 update element time correctly.
12929 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
12930 This is a debug message, not a g_critical.
12931 * gst/gstpad.c: (gst_pad_event_default):
12932 handle discontinuous events right with element time.
12933 * gst/gstscheduler.c: (gst_scheduler_state_transition):
12934 update to clocking fixes.
12935 set clocks on elements in READY=>PAUSED. The old behaviour caused
12936 a wrong element time on the first element that started playing.
12937 * gst/schedulers/gstbasicscheduler.c:
12938 (gst_basic_scheduler_class_init):
12939 * gst/schedulers/gstoptimalscheduler.c:
12940 (gst_opt_scheduler_class_init):
12941 remove code that just implements the default behaviour.
12942 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
12943 update to use new clocking functions
12944 * testsuite/clock/clock1.c: (gst_clock_debug), (main):
12945 * testsuite/clock/clock2.c: (gst_clock_debug), (main):
12946 update to test new element time.
12947 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
12948 use _get_allowed_caps instead of _get_caps. This catches filtered
12950 * testsuite/debug/commandline.c:
12951 update for new GST_DEBUG syntax.
12952 * testsuite/threads/Makefile.am:
12953 disable a test that only works sometimes.
12955 2004-01-13 Julien MOUTTE <julien@moutte.net>
12957 * po/LINGUAS: Adding fr.
12958 * po/fr.po: Adding french translation.
12960 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12962 * gst/parse/grammar.y:
12965 * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
12966 translate parsing error messages
12968 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12970 * po/POTFILES.in: adding gst-launch
12971 * po/nl.po: updated translation, all 99 strings translated
12972 * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
12973 (found_tag), (sigint_handler_sighandler), (play_handler), (main):
12974 fix strings for translation
12976 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12979 - capitalize beginnings of popt options
12980 - fix strings for translation
12981 - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
12983 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12985 * po/README: add some notes on how to update translations
12987 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12989 * ABOUT-NLS: removed, is autogenerated from autopoint
12990 * autogen.sh: add autopoint stuff
12991 * configure.ac: fix up gettext stuff
12992 * gst/Makefile.am: add i18n headers to noinst_HEADERS
12993 * gst/elements/gsttypefindelement.c: add header include
12994 * gst/gettext.h: add header, copy from system-installed header
12995 * gst/gst-i18n-app.h: to be included by each app having translations
12996 * gst/gst-i18n-lib.h: to be included by each lib having translations
12997 * gst/gst.c: (init_pre): fix up gettext calls
12998 * gst/gst_private.h: remove i18n stuff, moving to separate headers
12999 * po/LINGUAS: the new way to specify translations present
13000 * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
13001 * po/Makevars: the variables filled in for GStreamer
13002 * po/POTFILES.in: added new files with translations
13003 * po/de.po: has new strings
13004 * po/nl.po: readded, has new strings
13006 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13008 * gst/gsttag.c: fix some strings marked for translation
13010 2004-01-13 Iain <iain@prettypeople.org>
13012 * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
13013 group when we add an element to it, cos we unref it when we remove one
13015 2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
13017 * testsuite/debug/commandline.c: (debug_not_reached):
13018 * testsuite/debug/output.c: (check_message):
13021 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
13023 * examples/cutter/.cvsignore:
13024 * examples/helloworld/.cvsignore:
13025 * examples/launch/.cvsignore:
13026 * examples/manual/.cvsignore:
13027 * examples/mixer/.cvsignore:
13028 * examples/pingpong/.cvsignore:
13029 * examples/plugins/.cvsignore:
13030 * examples/queue/.cvsignore:
13031 * examples/queue2/.cvsignore:
13032 * examples/queue3/.cvsignore:
13033 * examples/queue4/.cvsignore:
13034 * examples/retag/.cvsignore:
13035 * examples/thread/.cvsignore:
13036 * examples/typefind/.cvsignore:
13037 * examples/xml/.cvsignore:
13039 * gst/autoplug/.cvsignore:
13040 * gst/elements/.cvsignore:
13041 * gst/indexers/.cvsignore:
13042 * gst/parse/.cvsignore:
13043 * gst/registries/.cvsignore:
13044 * gst/schedulers/.cvsignore:
13045 * libs/gst/bytestream/.cvsignore:
13046 * libs/gst/control/.cvsignore:
13047 * libs/gst/getbits/.cvsignore:
13048 * tests/.cvsignore:
13049 * tests/bufspeed/.cvsignore:
13050 * tests/instantiate/.cvsignore:
13051 * tests/memchunk/.cvsignore:
13052 * tests/muxing/.cvsignore:
13053 * tests/sched/.cvsignore:
13054 * tests/seeking/.cvsignore:
13055 * tests/threadstate/.cvsignore:
13056 * testsuite/.cvsignore:
13057 * testsuite/caps/.cvsignore:
13058 * testsuite/cleanup/.cvsignore:
13059 * testsuite/dynparams/.cvsignore:
13060 * testsuite/plugin/.cvsignore:
13061 * tools/.cvsignore:
13062 update - this is huge, because it includes *.bb, *.bbg and *.da files
13063 which are generated for gcov.
13065 2004-01-11 David Schleef <ds@schleef.org>
13067 * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
13068 a function to parse integers in ways that strto[u]l() does not.
13070 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13072 * tools/gst-inspect.c: (print_caps):
13073 improve output of caps a bit
13075 2004-01-11 David Schleef <ds@schleef.org>
13077 * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
13078 inherit correct flags (READONLY and DONTKEEP).
13080 2004-01-11 David Schleef <ds@schleef.org>
13082 * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
13083 (gst_filesrc_map_region):
13084 * gst/gstbuffer.c: (_gst_buffer_initialize),
13085 (_gst_buffer_sub_free), (gst_buffer_default_copy),
13086 (gst_buffer_new), (gst_buffer_create_sub),
13087 (gst_buffer_is_span_fast), (gst_buffer_span):
13089 Change GstBuffer private structure element names. (all files)
13090 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13093 Implement getcaps/pad_link functions that handle the case where
13094 there are data in the queue.
13096 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13098 * gst/elements/gstbufferstore.c:
13099 initialize debugging structure correctly
13100 * gst/elements/gsttee.c: (gst_tee_set_property):
13101 g_object_notify when property was changed
13102 * gst/elements/gsttypefindelement.c:
13103 (gst_type_find_element_change_state):
13104 clear caps correctly
13106 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13108 * gst/gstqueue.c: (gst_queue_init):
13109 Use better defaults for when a queue should block. This
13110 gets rid of jerky playback for quite a few files.
13111 It takes more memory.
13113 2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
13115 (gst_xml_registry_parse_padtemplate):
13116 make critical message slightly more useful
13118 2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
13120 * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
13121 (gst_debug_message_get), (gst_debug_log_default):
13123 Change gst_debug_log(_valist) to take a const format string.
13124 Change prototype of log function and functions using those to
13125 take a GstDebugMessage instead of a string that requires using
13126 gst_debug_message_get.
13128 2004-01-08 David Schleef <ds@schleef.org>
13132 Add option --enable-gcov to build GStreamer with -fprofile-arcs
13133 and -ftest-coverage, which allows gcov to show information about
13134 testsuite coverage.
13136 2004-01-08 Benjamin Otte <in7y118@public.uni-hamburg.de>
13139 Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
13140 GST_PARENT_CALL_WITH_DEFAULT
13141 * gst/elements/gstaggregator.c:
13142 * gst/elements/gstbufferstore.c:
13143 * gst/elements/gstfakesink.c:
13144 * gst/elements/gstfakesrc.c:
13145 * gst/elements/gstfdsink.c:
13146 * gst/elements/gstfdsrc.c:
13147 * gst/elements/gstfilesink.c:
13148 * gst/elements/gstfilesrc.c:
13149 * gst/elements/gstidentity.c:
13150 * gst/elements/gstmd5sink.c:
13151 * gst/elements/gstmultidisksrc.c:
13152 * gst/elements/gstpipefilter.c:
13153 * gst/elements/gstshaper.c:
13154 * gst/elements/gststatistics.c:
13155 * gst/elements/gsttee.c:
13156 * gst/elements/gsttypefindelement.c:
13159 2004-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
13161 * docs/gst/gstreamer-docs.sgml: remove props
13162 * docs/gst/gstreamer-sections.txt: remove props
13163 * docs/gst/tmpl/gst.sgml:
13164 * docs/gst/tmpl/gstbin.sgml:
13165 * docs/gst/tmpl/gstbuffer.sgml:
13166 * docs/gst/tmpl/gstcaps.sgml:
13167 * docs/gst/tmpl/gstclock.sgml:
13168 * docs/gst/tmpl/gstelement.sgml:
13169 * docs/gst/tmpl/gstindex.sgml:
13170 * docs/gst/tmpl/gstobject.sgml:
13171 * docs/gst/tmpl/gstpad.sgml:
13172 * docs/gst/tmpl/gstpadtemplate.sgml:
13173 * docs/gst/tmpl/gstreamer-unused.sgml:
13174 * docs/gst/tmpl/gstthread.sgml:
13175 * docs/gst/tmpl/gstxml.sgml:
13176 sync with code reorganization
13178 2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
13180 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
13181 Make the 'Could not find compatible pad' message more informative.
13183 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
13185 * gst/elements/gstfilesink.c: (gst_filesink_set_location):
13186 Fix for if we pass NULL as property to location.
13187 * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
13188 (gst_pipefilter_handle_event), (gst_pipefilter_chain):
13189 Fix for instantiate-test (see below).
13190 * gst/gststructure.c: (_gst_structure_parse_value):
13191 Fix compile error on gcc-2.96.
13193 * tests/Makefile.am:
13194 * tests/instantiate/Makefile.am:
13195 * tests/instantiate/create.c: (create_all_elements), (main):
13196 Add a test that instantiates all elements. This makes it easy to
13197 track dead code for old API/design (like setting event functions
13198 on sink pads and so on).
13200 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
13202 * gst/gstcaps.c: (gst_caps_append_structure):
13203 Move the poisoning to allow a NULL structure
13204 * gst/gstevent.c: (_gst_event_free):
13205 When freeing a navigation event, free the structure
13208 2004-01-04 David Schleef <ds@schleef.org>
13210 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
13211 Remove usage of gst_pad_proxy_fixate.
13212 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
13213 (gst_caps_split_one), (gst_caps_replace):
13214 Add poisoning code.
13215 * gst/gstmarshal.list:
13216 Add pointer__pointer for fixate signal
13217 * gst/gstpad.c: (gst_real_pad_class_init),
13218 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
13219 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
13220 (gst_pad_set_explicit_caps), (gst_pad_template_new):
13221 Add poisoning code. Add fixate signal on RealPad. Change
13222 set_explicit_caps() to take const GstCaps, like try_set_caps().
13224 * testsuite/caps/Makefile.am:
13225 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
13227 2004-01-03 David Schleef <ds@schleef.org>
13229 * gst/elements/gsttypefindelement.c:
13230 (gst_type_find_element_have_type), (gst_type_find_element_init):
13231 Use gst_pad_use_explicit_caps for src pad.
13232 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
13235 2004-01-03 David Schleef <ds@schleef.org>
13237 * gst/gstelement.c: (gst_element_link_pads_filtered),
13238 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
13239 that linking was successful.
13240 * gst/gstpad.c: (gst_pad_link_free),
13241 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
13242 (gst_pad_link_try), (gst_pad_link_unnegotiate),
13243 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
13244 GstPadLinkReturn correctly between functions, and don't fail
13245 when DELAYED is used (DELAYED is very important). Better
13246 cleanup on unlinking and unnegotiation. Should fix some spider
13249 2004-01-02 David Schleef <ds@schleef.org>
13251 * gst/gstelement.c: (gst_element_class_init),
13252 (gst_element_base_class_init): ->padtemplates should be cleared
13253 in base_init, since we need to have a fresh list for every
13254 class. (Alternately, we chould copy the list and share the
13255 actual pad templates (not the list), but that would require
13256 changing every plugin to move pad template registration from
13257 base_init to class_init.)
13259 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
13261 * gst/gstelement.c: (gst_element_class_add_pad_template):
13262 Refuse registering a pad template if another pad template
13263 with the same name already exists (#114715).
13265 2004-01-02 David Schleef <ds@schleef.org>
13267 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
13268 (gst_caps_is_equal_fixed): Add new function.
13269 * gst/gstcaps.h: ditto.
13270 * gst/gstpad.c: (gst_real_pad_class_init),
13271 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
13272 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
13273 check new caps against existing caps -- if they're the same, return
13274 OK without renegotiating. caps-nego-failed signal fixed so that
13275 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
13276 to save an extra caps copy. Don't complete negotiation if a pad
13277 link function returns DELAYED.
13279 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
13281 * gst/gstpad.c: (gst_pad_try_relink_filtered):
13282 Fix wrong g_return_if_fail
13284 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
13286 * gst/gstbin.c: (gst_bin_class_init):
13287 Change the marshalling of element_added/element_removed
13288 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
13289 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
13291 2004-01-01 David Schleef <ds@schleef.org>
13293 * gst/gstpad.c: (gst_pad_set_explicit_caps),
13294 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
13295 (gst_pad_use_explicit_caps):
13297 Add new functions. gst_pad_use_explicit_caps() sets up a pad
13298 to use an internal getcaps and link fuction so that negotiation
13299 always results in the explicitly set caps.
13300 gst_pad_set_explicit_caps() sets the explicit caps. These functions
13301 are particularly useful for decoders.
13303 2003-12-31 David Schleef <ds@schleef.org>
13305 * gst/elements/gstidentity.c: (gst_identity_class_init),
13306 (gst_identity_init), (gst_identity_chain),
13307 (gst_identity_set_property), (gst_identity_get_property):
13308 * gst/elements/gstidentity.h:
13309 * gst/gstqueue.c: (gst_queue_init):
13312 2003-12-31 David Schleef <ds@schleef.org>
13314 * gst/gstcaps.c: (gst_caps_intersect),
13315 (_gst_caps_normalize_foreach), (gst_caps_normalize):
13316 Implement gst_caps_normalize().
13317 * testsuite/caps/normalisation.c: (main):
13318 Add an additional test
13320 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
13322 * gst/gstqueue.c: (gst_queue_init):
13323 use gst_pad_proxy_getcaps()
13325 2003-12-31 David Schleef <ds@schleef.org>
13327 * gst/elements/gstshaper.c: (gst_shaper_link):
13328 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
13329 * gst/gstqueue.c: (gst_queue_link):
13332 2003-12-31 David Schleef <ds@schleef.org>
13334 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
13335 * gst/gstpad.h: Add functions that are useful as default pad
13336 link and fixate functions for elements.
13338 2003-12-30 David Schleef <ds@schleef.org>
13340 * gst/gstpad.c: (gst_pad_link_try):
13341 Fix segfault when attempting to return to old caps
13343 2003-12-29 David Schleef <ds@schleef.org>
13345 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
13346 (gst_caps_structure_simplify), (gst_caps_simplify):
13348 Add simplify function
13349 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
13350 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
13352 Copy over srcnotify, sinknotify when calling old pad_link
13353 functions. Add new is_negotiated() function.
13354 * gst/gststructure.c: (gst_structure_copy):
13355 Fix an incredibly stupid bug that should have been noticed
13356 weeks ago. _copy() returned the argument, not the new copy.
13358 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
13360 * gst/gstcaps.c: (gst_caps_append):
13362 * gst/gstcaps.h: (gst_caps_debug):
13363 remove, it doesn't exist anymore.
13364 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
13365 (gst_element_threadsafe_properties_post_run):
13366 make debugging messages not clutter up THREAD debug category
13367 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
13368 (gst_element_change_state):
13369 update to new caps API
13370 * gst/gstinterface.c: (gst_implements_interface_cast):
13371 don't put vital code in g_return_if_fail
13372 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
13373 (gst_pad_link_filtered):
13374 add pst_pad_try_link and use it.
13375 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
13376 implement correctly, deprecate first one.
13377 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
13379 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
13381 (gst_pad_get_negotiated_caps):
13382 add and implement. Make GST_PAD_CAPS call this function.
13383 (gst_pad_get_caps):
13384 remove unneeded check..
13385 (gst_pad_recover_caps_error):
13386 disable, always return FALSE.
13387 (gst_real_pad_dispose):
13388 don't free caps and appfilter anymore, they're unused.
13390 Reflect changes mentioned above.
13391 * gst/gstsystemclock.c: (gst_system_clock_wait):
13392 Make 'clock is way behind' a debugging message.
13393 * gst/gstthread.c: (gst_thread_change_state):
13394 Fix debugging message
13396 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
13399 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
13400 * docs/gst/tmpl/gstreamer-unused.sgml:
13401 removed all traces of cvs conflicts
13403 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13406 * gst/schedulers/cothreads_compat.h:
13407 * libs/Makefile.am:
13408 remove last instances of wingo cothread usage
13410 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13413 * gst/gstversion.h.in:
13414 * gst/parse/grammar.y:
13415 change comment block from /** to /* when not gtk-doc comments
13417 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13419 * gst/gst.c: whitespace and doc style fixes
13421 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13423 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
13425 2003-12-24 Colin Walters <walters@verbum.org>
13427 * gst/elements/gsttypefindelement.c:
13428 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
13429 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
13430 Don't double-free caps.
13432 2003-12-23 David Schleef <ds@schleef.org>
13434 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
13435 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
13436 Many little fixes and additions of debug statements to
13437 get rhythmbox working.
13439 2003-12-23 Colin Walters <walters@verbum.org>
13441 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
13442 Use GST_PAD_LINK_SUCCESSFUL.
13444 2003-12-23 David Schleef <ds@schleef.org>
13446 * gst/elements/gstaggregator.c:
13447 * gst/elements/gsttee.c:
13448 Use gst_pad_proxy_getcaps().
13451 Add gst_pad_proxy_getcaps(), which filter elements can use
13452 as a generic getcaps implementation.
13453 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
13456 2003-12-23 David Schleef <ds@schleef.org>
13459 Rearrange/rewrite much of the pad negotiation code, since it
13460 resembled pasta. This actually changes the way some
13461 negotiation works, since the previous code was inconsistent
13462 depending on how it was invoked. Add (internal) structure
13463 GstPadLink, which is used to hold some information (more in
13464 the future) about the link between two pads. Fixes a number
13465 of bugs, including random lossage of filter caps when the
13466 initial negotiation is delayed. A few functions are still
13469 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
13470 these when testing GstPadLinkReturn values instead of comparing
13473 2003-12-23 David Schleef <ds@schleef.org>
13477 Rearrange lots of code. Change registration of compare function
13478 into registration of compare/serialize/deserialize functions.
13479 Doesn't include implementation of gst_value_[de]serialize(),
13480 but that should be easy.
13482 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
13484 * docs/gst/gstreamer-sections.txt:
13485 * docs/gst/tmpl/gstprops.sgml: removed
13486 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
13487 David removed props and caps code, so let's remove their docs as well.
13488 Removed all no longer existing symbols from gstreamer-sections.txt
13490 2003-12-22 Colin Walters <walters@verbum.org>
13492 * gst/gsttaginterface.c, gst/gsttaginterface.h,
13493 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
13496 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
13498 * gst/elements/gstelements.c:
13499 Set ranks of elements to NONE, so the autoplugger doesn't use them.
13500 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
13501 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
13504 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
13506 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13507 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
13508 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
13509 (gst_spider_identity_sink_loop_type_finding):
13510 * gst/autoplug/gstspideridentity.h:
13511 Fix autoplugging in spider element, so it works with new caps.
13512 This was mainly caused by identifying empty caps incorrectly.
13514 2003-12-22 David Schleef <ds@schleef.org>
13516 * gststructure.c, gstvalue.c, gstvalue.h: Add
13517 gst_value_init_and_copy() and use it, to avoid silly mistakes in
13518 using g_value_copy()
13520 2003-12-21 David Schleef <ds@schleef.org>
13522 * many, many files: Merge CAPS branch. This includes:
13523 - implemention of GstValue and several GstValue types
13524 - implemention of GstStructure
13525 - entire rewrite of GstCaps
13526 - removal of GstProps
13527 - many changes to GstPad to compensate for new caps paradigm
13528 - removal of GstBufferpool
13529 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
13530 gstvalue.h, gst/gstcaps[2]*.[ch]:
13531 - rename gstcaps2.[ch] to gstcaps.[ch]
13533 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
13535 * gst/gstqueue.c: (gst_queue_handle_pending_events),
13536 (gst_queue_chain), (gst_queue_handle_src_event):
13537 implement timeout for sending events. Workaround for if the
13538 pipeline on this queue is not passing any data.
13540 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
13542 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
13543 * moved CVS to freedesktop.org