1 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3 * gst/gstelementfactory.h:
4 * tests/check/elements/fakesink.c:
5 * tests/check/elements/fakesrc.c: (setup_fakesrc):
6 * tests/check/elements/fdsrc.c: (setup_fdsrc):
7 * tests/check/elements/filesink.c: (setup_filesink):
8 * tests/check/elements/filesrc.c: (setup_filesrc):
9 * tests/check/elements/identity.c: (setup_identity):
10 * tests/check/elements/tee.c:
11 * tests/check/generic/sinks.c:
12 * tests/check/generic/states.c: (setup), (teardown):
13 * tests/check/gst/gst.c:
14 * tests/check/gst/gstabi.c:
15 * tests/check/gst/gstbin.c:
16 * tests/check/gst/gstbus.c: (pull_messages):
17 * tests/check/gst/gstcaps.c:
18 * tests/check/gst/gstelement.c:
19 * tests/check/gst/gstevent.c:
20 * tests/check/gst/gstghostpad.c:
21 * tests/check/gst/gstiterator.c:
22 * tests/check/gst/gstmessage.c:
23 * tests/check/gst/gstminiobject.c: (my_foo_init):
24 * tests/check/gst/gstobject.c: (thread_name_object),
26 * tests/check/gst/gstpad.c:
27 * tests/check/gst/gstplugin.c:
28 * tests/check/gst/gstpoll.c:
29 * tests/check/gst/gstquery.c:
30 * tests/check/gst/gstsegment.c:
31 * tests/check/gst/gststructure.c:
32 * tests/check/gst/gstsystemclock.c:
33 * tests/check/gst/gsttask.c:
34 * tests/check/gst/gstutils.c:
35 * tests/check/gst/gstvalue.c:
36 * tests/check/gst/struct_hppa.h:
37 * tests/check/gst/struct_i386.h:
38 * tests/check/gst/struct_ppc32.h:
39 * tests/check/gst/struct_ppc64.h:
40 * tests/check/gst/struct_x86_64.h:
41 * tests/check/libs/adapter.c: (create_and_fill_adapter):
42 * tests/check/libs/basesrc.c:
43 * tests/check/libs/controller.c: (GST_START_TEST):
44 * tests/check/libs/gdp.c:
45 * tests/check/libs/gstnetclientclock.c:
46 * tests/check/libs/gstnettimeprovider.c:
47 * tests/check/libs/libsabi.c:
48 * tests/check/libs/struct_hppa.h:
49 * tests/check/libs/struct_i386.h:
50 * tests/check/libs/struct_ppc32.h:
51 * tests/check/libs/struct_ppc64.h:
52 * tests/check/libs/struct_x86_64.h:
53 * tests/check/pipelines/cleanup.c:
54 * tests/check/pipelines/simple-launch-lines.c:
55 * tests/check/pipelines/stress.c:
56 And correct even more valid sparse warnings.
58 * win32/common/libgstreamer.def:
59 Add gst_poll_fd_init to the list of symbols.
61 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
64 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
65 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
66 (gst_check_log_critical_func), (gst_check_drop_buffers),
67 (gst_check_element_push_buffer_list):
68 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
69 (gst_controller_get_type):
70 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
71 (gst_object_get_controller), (gst_object_get_control_source):
72 * libs/gst/controller/gstinterpolationcontrolsource.c:
73 (gst_interpolation_control_source_new):
74 * libs/gst/controller/gstlfocontrolsource.c:
75 (gst_lfo_control_source_new):
76 * libs/gst/dataprotocol/dataprotocol.c:
77 (gst_dp_event_from_packet_0_2):
78 * plugins/elements/gstfdsrc.c:
79 * plugins/elements/gstmultiqueue.c:
80 * plugins/elements/gsttee.c:
81 * plugins/elements/gsttypefindelement.c:
82 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
83 (gst_file_index_add_association):
84 * plugins/indexers/gstmemindex.c:
85 * tests/benchmarks/gstpollstress.c: (mess_some_more):
86 * tests/check/elements/queue.c: (setup_queue):
87 * tests/check/gst/gstpipeline.c:
88 * tests/check/libs/collectpads.c: (setup), (teardown),
89 (gst_collect_pads_suite):
90 * tests/examples/adapter/adapter_test.c:
91 * tests/examples/metadata/read-metadata.c: (make_pipeline):
92 * tests/examples/xml/createxml.c:
93 * tests/examples/xml/runxml.c:
94 * tools/gst-inspect.c:
96 Correct all relevant warnings found by the sparse semantic code
97 analyzer. This include marking several symbols static, using
98 NULL instead of 0 for pointers, not using variable sized arrays
99 on the stack, moving variable declarations to the beginning of
100 a block and using "foo (void)" instead of "foo ()" for declarations.
102 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
104 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
105 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
106 Don't reset GstPollFDs, this is not necessary at all.
108 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
109 (delayed_restart), (delayed_control):
110 Use GST_POLL_FD_INIT.
112 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
114 * gst/gstpoll.c: (gst_poll_fd_init):
118 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
119 Use some more init macros.
121 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
123 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
124 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
125 Use init macros and functions.
127 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
129 * docs/gst/gstreamer-sections.txt:
130 * gst/gstpoll.c: (gst_poll_fd_init):
132 Add INIT macro and _init method for initializing the GstPollFD.
134 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
136 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
137 (gst_fd_sink_update_fd):
138 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
139 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
140 (delayed_restart), (delayed_control):
141 Initialize some uninitialized variables as spotted by valgrind.
143 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
145 * tests/benchmarks/Makefile.am:
146 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
148 Add poll stress test.
150 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
152 Patch by: Peter Kjellerstedt <pkj at axis dot com>
154 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
155 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
156 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
157 * plugins/elements/gstfdsink.h:
158 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
159 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
160 (gst_fd_src_unlock_stop), (gst_fd_src_create),
161 (gst_fd_src_uri_set_uri):
162 * plugins/elements/gstfdsrc.h:
163 Port to GstPoll. See #505417.
165 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
167 * win32/common/libgstreamer.def:
168 Add new gst_poll_ symbols to win32 defs.
170 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
172 * docs/libs/gstreamer-libs-sections.txt:
173 * libs/gst/net/gstnetclientclock.c:
174 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
175 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
176 (gst_net_client_clock_thread), (gst_net_client_clock_start),
177 (gst_net_client_clock_stop), (gst_net_client_clock_new):
178 * libs/gst/net/gstnetclientclock.h:
179 * libs/gst/net/gstnettimeprovider.c:
180 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
181 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
182 (gst_net_time_provider_start), (gst_net_time_provider_stop),
183 (gst_net_time_provider_new):
184 * libs/gst/net/gstnettimeprovider.h:
185 Use a private stuct to not break ABI.
187 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
189 Patch by: Peter Kjellerstedt <pkj at axis dot com>
191 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
192 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
193 (gst_net_client_clock_thread), (gst_net_client_clock_start),
194 (gst_net_client_clock_stop), (gst_net_client_clock_new):
195 * libs/gst/net/gstnetclientclock.h:
196 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
197 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
198 (gst_net_time_provider_start), (gst_net_time_provider_stop),
199 (gst_net_time_provider_new):
200 * libs/gst/net/gstnettimeprovider.h:
201 Massive code removal and cleanups because of GstPoll.
204 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
207 Add checks for poll, ppoll and pselect.
209 * docs/gst/gstreamer-docs.sgml:
210 * docs/gst/gstreamer-sections.txt:
211 Add docs for GstPoll.
215 * gst/gstpoll.c: (find_index), (selectable_fds),
216 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
217 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
218 (gst_poll_set_mode), (gst_poll_get_mode),
219 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
220 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
221 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
222 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
223 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
224 (gst_poll_fd_can_write), (gst_poll_wait),
225 (gst_poll_set_controllable), (gst_poll_restart),
226 (gst_poll_set_flushing):
228 Add generic poll abstraction. We ideally don't want to have this in core
229 here but in glib intead...
230 This code will be used in various network elements and ultimately for
231 the nanosecond precision monotonic clock (that's why it's here in core).
232 It'll allow us to implement cancelable socket operations for windows too.
234 * tests/check/Makefile.am:
235 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
236 (delayed_stop), (delayed_restart), (delayed_flush),
237 (delayed_control), (gst_poll_suite):
238 Add GstPoll unit test.
240 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
243 Improve documentation of gst_filter_run(). Fixes #518627.
245 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
248 Add a few lines about the new 'check-inspected-versions' target.
250 2008-02-21 Stefan Kost <ensonic@users.sf.net>
252 * tests/check/gst/gstevent.c:
253 Add qos to the event test. Rename tcase/tsuite; is not only about
256 2008-02-21 Stefan Kost <ensonic@users.sf.net>
258 * plugins/elements/gstqueue.c:
259 Ensure that buffer metadata is writeable, before modifying. Spotted by
262 2008-02-20 Stefan Kost <ensonic@users.sf.net>
264 * plugins/elements/gstqueue.c:
265 * plugins/elements/gstqueue.h:
266 When dropping buffers in leaky modes, mark next buffers we sent as
269 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
271 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
272 Also, if mmap() fails that would be a READ error, not OPEN_READ.
274 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
276 * plugins/elements/Makefile.am:
277 * plugins/elements/gstbufferstore.c:
278 * plugins/elements/gstbufferstore.h:
279 * plugins/elements/gsttypefindelement.h:
280 Remove GstBufferStore, no idea why we were still building it.
281 It's not used anywhere and superseded by GstAdapter.
283 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
284 (gst_file_src_create_mmap):
285 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
286 Printf format fixes for 64-bit integers.
288 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
291 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
292 We're not in 0.8 times anymore.
294 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
296 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
297 (gst_check_element_push_buffer_list):
298 * libs/gst/check/gstcheck.h:
299 Make the declaration in the header for
300 gst_check_element_push_buffer_list match the implementation.
302 Fix up spelling, grammar and wording of the documentation in a few
303 places, and add the Since keyword to new API functions.
304 Use g_list_delete_link instead of g_list_remove in
305 gst_check_drop_buffers, since it's immeasurably more efficient.
307 * tests/check/elements/fakesrc.c: (GST_START_TEST):
308 Use new gst_check_drop_buffers function where appropriate.
310 * win32/common/libgstbase.def:
311 * win32/common/libgstreamer.def:
312 Add new symbols gst_collect_pads_take_buffer,
313 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
316 Changelog surgery to add API keyword to new gst_check API.
318 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
320 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
321 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
322 Update pre-generated flex files with flex 2.3.34.
324 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
326 * gst/gstminiobject.c:
327 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
328 friendly to subclasses and not require them to know all internals
329 of their parent class.
331 2008-02-15 Stefan Kost <ensonic@users.sf.net>
333 * docs/libs/gstreamer-libs-sections.txt:
334 * libs/gst/base/gstcollectpads.c:
335 * libs/gst/base/gstcollectpads.h:
336 Add sub-buffer functions to collectpads. Fixes #516187.
337 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
339 2008-02-15 Stefan Kost <ensonic@users.sf.net>
342 Copy selected buffer-flags when creating subbuffers.
345 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
347 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
348 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
349 * gst/gstmessage.c: (gst_message_class_init),
350 (gst_message_finalize):
351 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
352 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
353 (gst_mmap_buffer_finalize):
354 Properly chain up finalize functions to the parent class.
356 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
358 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
360 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
361 (gst_index_set_resolver_full):
363 Add new function with option to dispose of user_data in resolver.
364 Actually call the dispose function when finalizing the object and not
365 just when changing the resolver/filter.
366 API: GstIndex::gst_index_set_resolver_full()
368 * docs/gst/gstreamer-sections.txt:
369 Add new function to docs. Fixes #515469.
371 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
373 * gst/gstindex.c: (gst_index_finalize):
374 Chain up finalize to the parent class. Fixes leaking the GstObject
375 name and other things.
377 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
380 Make DISABLE_DEPRECATED defined *only* during CVS, not during
381 pre-releases or releases.
383 * docs/faq/gst-uninstalled:
386 * docs/random/release:
387 Change one of the steps - we only upload core & base to Gnome FTP
389 2008-02-06 Stefan Kost <ensonic@users.sf.net>
391 * gst/gstconfig.h.in:
392 Add 'id' for example.
396 * plugins/elements/gstfdsink.c:
397 Link to signals. Doc and comment fixes.
399 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
401 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
402 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
403 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
404 unused and unimplemented; finally, it is plugin features, not
405 plugins, that have ranks.
407 2008-02-05 Stefan Kost <ensonic@users.sf.net>
409 * gst/gstpluginfeature.h:
410 Clarify GstRank range docs.
412 2008-02-05 David Schleef <ds@schleef.org>
414 * gst/gst.c: Add a separate gst_deinitialized that prevents
415 gst_init() from being called after gst_deinit(). Fixes #509559
417 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
419 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
420 (gst_bin_class_init):
421 * gst/gstelement.c: (gst_element_base_class_init),
422 (gst_element_class_add_pad_template):
423 * gst/gstpadtemplate.c: (gst_pad_template_init):
424 * gst/gstpipeline.c: (gst_pipeline_get_type),
425 (gst_pipeline_base_init), (gst_pipeline_class_init):
426 * libs/gst/base/gstbasesink.c:
427 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
428 (gst_base_src_base_init), (gst_base_src_class_init):
429 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
430 (gst_capsfilter_class_init):
431 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
432 (gst_fake_sink_class_init):
433 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
434 (gst_fake_src_class_init):
435 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
436 (gst_fd_sink_class_init):
437 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
438 (gst_fd_src_class_init):
439 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
440 (gst_file_sink_class_init):
441 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
442 (gst_file_src_class_init):
443 * plugins/elements/gstidentity.c: (gst_identity_base_init),
444 (gst_identity_class_init):
445 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
446 (gst_multi_queue_class_init):
447 * plugins/elements/gstqueue.c: (gst_queue_base_init),
448 (gst_queue_class_init):
449 * plugins/elements/gsttee.c: (gst_tee_base_init),
450 (gst_tee_class_init):
451 * plugins/elements/gsttypefindelement.c:
452 (gst_type_find_element_base_init),
453 (gst_type_find_element_class_init):
454 * tests/check/gst/gstelement.c: (gst_element_suite):
455 Revert previous changes to the behaviour of GstPadTemplates, etc
456 and the possiblity to call them in class_init as it breaks too
457 many elements. Reopens bug #491501.
459 Should be applied again for 0.11, thus added a few FIXME 0.11 at
462 2008-02-05 Stefan Kost <ensonic@users.sf.net>
464 * tools/gst-launch.c:
465 Dump one graph per pipeline state-change and state change name
466 (if GST_DEBUG_DUMP_DOT_DIR is set).
468 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
471 * tests/check/gst/gstpad.c:
472 Be sure that we have a new copy of the caps and not
473 reffed caps from a template
475 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
477 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
478 * gst/gstpipeline.c: (gst_pipeline_get_type),
479 (gst_pipeline_class_init):
480 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
481 (gst_base_sink_class_init):
482 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
483 (gst_base_src_class_init):
484 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
485 (gst_base_transform_class_init):
486 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
487 (gst_collect_pads_class_init):
488 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
489 * libs/gst/net/gstnettimeprovider.c:
490 (gst_net_time_provider_base_init),
491 (gst_net_time_provider_class_init):
492 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
493 (gst_capsfilter_class_init):
494 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
495 (gst_fake_sink_class_init):
496 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
497 (gst_fake_src_class_init):
498 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
499 (gst_fd_sink_class_init):
500 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
501 (gst_fd_src_class_init):
502 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
503 (gst_file_sink_class_init):
504 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
505 (gst_file_src_class_init):
506 * plugins/elements/gstidentity.c: (gst_identity_base_init),
507 (gst_identity_class_init):
508 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
509 (gst_multi_queue_class_init):
510 * plugins/elements/gstqueue.c: (gst_queue_base_init),
511 (gst_queue_class_init):
512 * plugins/elements/gsttee.c: (gst_tee_base_init),
513 (gst_tee_class_init):
514 * plugins/elements/gsttypefindelement.c:
515 (gst_type_find_element_base_init),
516 (gst_type_find_element_class_init):
517 Don't use base_init where not absolutely necessary. For example it's
518 not necessary anymore for adding pad templates or setting element
521 Leave empty base_init functions in several places as GST_BOILERPLATE
522 still defines and uses them.
524 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
526 * gst/gstelement.c: (gst_element_base_class_init),
527 (gst_element_class_add_pad_template):
528 * gst/gstpadtemplate.c:
529 Make it possible (and recommended) to set element details and add
530 pad templates in the class_init functions by copying the details/pad
531 templates in GstElement's base_init.
533 Also make it possible to replace existing pad templates by adding
534 a new one with the same name. This was done in a hackish fashion
535 in same elements before already.
537 Don't reference pad templates that are added a second time. A
538 new pad template has a refcount of one and is not floating anymore
539 and to be owned by the element's class. Make this more explicit by
540 mentioning it in the docs of gst_element_class_add_pad_template().
542 These changes are backwards compatible. Fixes bug #491501.
544 * tests/check/gst/gstelement.c:
545 Add unit test for setting element details, adding pad templates and
546 replacing them in a subclass.
548 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
550 * tools/gst-inspect.c: (print_interfaces),
551 (print_element_properties_info), (print_pad_info),
552 (print_signal_info), (print_element_info):
553 Fix a few memory leaks.
555 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
557 * docs/libs/gstreamer-libs-sections.txt:
558 * libs/gst/check/gstcheck.c:
559 * libs/gst/check/gstcheck.h:
560 Add more functions for unit testing: gst_check_drop_buffers,
561 gst_check_caps_equal, gst_check_element_push_buffer_list,
562 gst_check_element_push_buffer
563 API: gst_check_drop_buffers
564 API: gst_check_caps_equal
565 API: gst_check_element_push_buffer_list
566 API: gst_check_element_push_buffer
568 2008-02-01 Julien Moutte <julien@fluendo.com>
570 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
571 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
572 (gst_index_finalize), (gst_index_entry_free),
573 (gst_index_add_association): Fix memory leaks.
574 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
575 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
576 (gst_mem_index_free_format), (gst_mem_index_free_id),
577 (gst_mem_index_finalize): Fix memory leaks.
578 * win32/common/config.h: Updated to CVS HEAD.
580 2008-02-01 Stefan Kost <ensonic@users.sf.net>
583 Some more details about how the plugin docs works.
585 * docs/plugins/gstreamer-plugins-sections.txt:
588 2008-02-01 Stefan Kost <ensonic@users.sf.net>
590 * gst/parse/grammar.tab.pre.c:
591 * gst/parse/grammar.tab.pre.h:
592 * gst/parse/grammar.y:
593 * gst/parse/lex._gst_parse_yy.pre.c:
594 Add delayed set-property. This allows to set properties on dynamicaly
595 created objects (pads in videomxer).
597 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
600 Check if caps are not NULL (fix bug #510194)
602 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
604 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
605 (gst_base_sink_get_position_paused):
606 Add fixme regarding EOS in pull mode.
607 Fix position reporting in PAUSED for negative rates.
609 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
611 * gst/gstminiobject.c: (gst_mini_object_replace):
612 When replacing a miniobject, do a quick equality check first so that we
613 can avoid a ref/unref pair.
615 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
617 * docs/design/part-synchronisation.txt:
620 * docs/plugins/Makefile.am:
621 * docs/plugins/gstreamer-plugins-docs.sgml:
622 * docs/plugins/gstreamer-plugins-sections.txt:
623 * plugins/elements/gstmultiqueue.c:
624 Add multiqueue to the docs.
626 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
631 === release 0.10.17 ===
633 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
636 releasing 0.10.17, "Due Negligence"
638 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
641 Revert caps != NULL check temporarily for 0.10.17 release.
643 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
646 Check if caps are not NULL (fix bug #510194)
648 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
651 Fix compilation on systems that have posix timers but no
654 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
657 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
659 * tools/gst-inspect.c:
660 Revert previous commit in preparation for an impromptu 0.10.17 release
662 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
664 * tools/gst-inspect.c: (print_interfaces),
665 (print_element_properties_info), (print_pad_info),
666 (print_signal_info), (print_element_info):
667 Fix a few memory leaks.
669 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
674 === release 0.10.16 ===
676 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
679 releasing 0.10.16, "Special Dispensation"
681 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
684 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
685 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
686 not fail when trying to crosscompile on OpenEmbedded (#511750).
688 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
691 Use $(MAKE) instead of make to fix the build if GNU make is
692 called different. Fixes bug #510747.
694 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
696 * gst/gstplugin.c: (_gst_plugin_initialize):
697 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
698 again, which I broke two commits ago when changing the API
699 of gst_plugin_register_static(): the g_list_foreach() in
700 _gst_plugin_register_static still assumed the old function
701 signature and would therefore fail (re-fixes #510187).
703 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
704 (_gst_plugin_register_static), (gst_plugin_register_static):
705 Revert the (technically correct) change to call g_thread_init() from
706 the pre-main() constructor. This will break programs which call
707 g_thread_init() without an if (!g_thread_supported()) guard in their
708 main function. We could just blame it on GLib or the application, but
709 it's probably best to just avoid this altogether and simply not use
710 any GLib functions here and use plain old malloc() with a simple
711 array to store the plugins to register later when gst_init() is
712 finally called (re-fixes #510187).
714 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
715 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
716 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
717 (GST_START_TEST), (gst_plugin_suite):
718 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
721 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
723 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
724 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
725 This makes gtk-doc complain, but results in slightly better
726 compiler errors. The old _gst_plugin_register_static() is
727 still guarded, so there'll be a compiler warning about that
728 instead. Fixes #510187 too.
730 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
732 * gst/gst.c: (init_post):
733 * gst/gstplugin.c: (_gst_plugin_register_static),
734 (gst_plugin_register_static), (_gst_plugin_initialize):
735 * gst/gstplugin.h: (GstPluginFilter):
736 Change API of gst_plugin_register_static() to not take
737 a GstPluginDesc, but rather just take all the arguments
738 in a GstPluginDesc directly. This is more intuitive and
739 avoids certain mistakes when porting code from
740 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
743 * tests/check/gst/gstplugin.c:
744 Fix up for changed API.
746 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
748 * docs/faq/legal.xml:
749 Update FAQ, Totem actually has an exception these days.
751 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
753 * win32/common/libgstreamer.def:
754 Add new API declarations
756 2008-01-14 Stefan Kost <ensonic@users.sf.net>
758 * gst/gstminiobject.c:
759 Spelling fixes for the API docs.
761 2008-01-14 Stefan Kost <ensonic@users.sf.net>
763 * libs/gst/base/gstbasetransform.c:
764 Fix long property description for QoS.
766 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
769 _gst_trace_on is already provided by gsttrace.h, no need to declare
772 * docs/libs/gstreamer-libs-sections.txt:
773 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
774 and remove strange tcase_add_test which is outputting a warning.
776 * libs/gst/check/gstcheck.c:
777 * libs/gst/check/gstcheck.h:
778 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
779 and define them in gstcheck.c instead of having every .c file whcih
780 includes gstcheck.h be defining its own copy and relying on symbol
781 interposing to marry them all, which doesn't work on Solaris.
783 * tests/check/elements/identity.c: (GST_START_TEST):
784 Don't define 'buffers' locally, it comes from libgstcheck.
786 * tests/check/generic/sinks.c: (send_buffer):
787 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
789 * tests/check/gst/gststructure.c: (GST_START_TEST):
790 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
791 * tests/check/gst/gstutils.c: (GST_START_TEST):
792 * tests/check/gst/gstvalue.c: (GST_START_TEST):
793 Add a bunch of casts to make various constants fit the types
794 they're being assigned to.
796 2008-01-10 Stefan Kost <ensonic@users.sf.net>
798 * gst/gstchildproxy.c:
799 Improve docs and add some ideas for making this more general-purpose.
801 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
803 * gst/gst_private.h: (GST_CAT_TYPES):
804 Add GST_CAT_TYPES, for consistency, and so that the other
805 debug categories don't make fun of it. Spotted by Saur on IRC.
807 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
809 * gst/parse/Makefile.am:
810 Move types.h from EXTRA_DIST to noinst_HEADERS.
812 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
815 Add -Wno-portability to the automake parameters to stop warnings
816 about GNU make extensions being used. We require GNU make in almost
817 every Makefile anyway.
820 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
821 at the same time is required for per target flags.
823 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
826 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
827 __GNUC__ is defined before using it.
829 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
831 * docs/gst/gstreamer-sections.txt:
832 * gst/gst.c: (init_post):
833 * gst/gstplugin.c: (_gst_plugin_register_static),
834 (gst_plugin_register_static), (_gst_plugin_initialize),
835 (gst_plugin_register_func):
836 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
837 API: add gst_plugin_register_static() and deprecate
838 GST_PLUGIN_DEFINE_STATIC, since it's not portable
840 Also, in _gst_plugin_register_static(), make sure to call
841 g_thread_init() before calling GLib functions such as
842 g_list_append() if we're not initialised yet, since that
843 may lead to random crashes with older GSlice/GLib versions.
845 * tests/check/gst/gstplugin.c:
846 Adapt unit test to above changes.
848 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
850 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
851 * gst/gstcaps.c: (gst_caps_to_string):
852 * gst/gststructure.c: (GST_ASCII_IS_STRING),
853 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
854 Yet another gratuitous GString micro-optimisation: add a (private)
855 function that serialises a structure appending to an existing
856 GString, so that when we serialise caps we don't need to alloc+free
857 a throwaway GString for each structure (each of which also entailing
858 multiple reallocs on the way); also use g_string_sized_new() in
859 various places with an approximate string length to avoid reallocs
860 within GString. See #500143.
862 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
864 * gst/gststructure.c: (gst_structure_id_set_value):
865 Always check UTF-8 conformance of structure strings and not only
866 if the debugging system is enabled; reasoning: the behaviour of
867 the actual code shouldn't really change depending on whether the
868 debugging system is enabled or not (#508291).
870 2008-01-09 Stefan Kost <ensonic@users.sf.net>
873 Remove old coverage target in favour of "make lcov".
875 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
877 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
879 The start segment for reverse playback goes from start to last_stop.
881 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
883 Patch by: Peter Kjellerstedt <pkj axis com>
886 Cast the results from the timeval/spec_to_time macros to what the
887 docs say it casts to, a GstClockTime. fixes #508175.
889 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
892 Update some comments.
894 * tools/gst-inspect.c: (print_element_properties_info):
895 Improve printing of flags.
897 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
899 * libs/gst/base/gstbasetransform.c:
900 (gst_base_transform_transform_size):
901 Print element name with g_warning() if there's a problem
904 2008-01-07 David Schleef <ds@schleef.org>
906 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
908 * libs/gst/controller/gstcontroller.h:
909 * libs/gst/controller/gstcontrolsource.h:
910 * libs/gst/controller/gstinterpolationcontrolsource.h:
911 * libs/gst/controller/gstlfocontrolsource.h:
912 * libs/gst/dataprotocol/dataprotocol.h:
913 Fix empty prototypes. Fixes bug #507957.
915 2008-01-07 David Schleef <ds@schleef.org>
917 * docs/faq/dependencies.xml: Fix typo.
919 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
921 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
923 Don't update the last_stop position in do_seek, that's the position we
925 Read backwards when we have a negative rate.
927 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
928 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
930 Add check for reverse reading.
932 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
934 Patch by: Alexis Ballier <aballier at gentoo org>
936 * tests/check/gst/gstabi.c:
937 * tests/check/gst/struct_ppc64.h:
938 * tests/check/libs/libsabi.c:
939 * tests/check/libs/struct_ppc64.h:
940 Decide which header to include based on the userland ABI target
941 and not the kernel/cpu. Fix up structure sizes of ppc64 header
942 for 64-bit userland (#503590). Might need something similar for
945 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
947 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
948 Log the reason why fopen fails in addition to the fact that it failed.
950 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
953 Use "%option never-interactive" to prevent useless calls to isatty()
954 on every input when parsing. Also use "%option noinput" to not define
955 the static input/yyinput functions which we don't use anyway. This
956 removes a compiler warning with gcc 4.3 and saves some bytes in the
959 * gst/parse/lex._gst_parse_yy.pre.c:
960 Regenerated for the above change.
962 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
964 * gst/gstpad.c: (fixate_value):
965 Don't crash when trying to fixate and empty list.
968 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
970 * docs/faq/gst-uninstalled:
971 Clarify the comments to make the usage of this script and what it
972 does easier to understand.
974 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
976 * tools/gst-plot-timeline.py:
977 Add more options to gst-plot-timeline
979 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
981 * docs/design/part-synchronisation.txt:
982 Some more info on how the stream_time in GstBaseSink is done.
984 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
986 * tests/check/generic/sinks.c: (gst_sinks_suite):
987 Put back the tcase_set_timeout(), apparently it's needed after
988 all; fix it up in a way that makes things work with valgrind too.
990 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
992 * gst/gstdebugutils.c:
993 Add warning when failed to open file for writing.
995 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
997 Based on patch by: Laurent Glayal <spglegle yahoo fr>
999 * gst/gstvalue.c: (gst_value_is_fixed):
1000 Optimisation: bail out of the loop as early as possible (#500143).
1002 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1004 * gst/gstcaps.c: (gst_caps_to_string):
1005 * gst/gstinfo.c: (gst_debug_construct_term_color):
1006 * gst/gstparse.c: (gst_parse_launchv):
1007 * gst/gstutils.c: (gst_util_dump_mem):
1008 * gst/gstvalue.c: (gst_value_serialize_any_list),
1009 (gst_value_transform_any_list_string):
1010 Bunch of gratuitous nano-optimisations.
1012 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1014 * tests/check/generic/sinks.c: (async_done_func),
1015 (async_done_eos_func):
1016 Fix leak in unit test (bus sync handler must unref the message
1017 if it returns GST_BUS_DROP). Don't fiddle with the default test
1018 timeout, this is smaller than the current preconfigured value
1019 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1020 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1022 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1024 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1027 Check for stdio_ext.h for the filesink changes.
1029 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1030 (gst_file_sink_class_init), (gst_file_sink_init),
1031 (gst_file_sink_dispose), (gst_file_sink_set_property),
1032 (gst_file_sink_get_property), (gst_file_sink_open_file),
1033 (gst_file_sink_close_file):
1034 * plugins/elements/gstfilesink.h:
1035 Add two properties to control the buffering mode and size.
1036 API: GstFileSink::buffer-mode
1037 API: GstFileSink::buffer-size
1040 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1042 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1043 Add some more docs to explain why a FIXME was wrongly added.
1045 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1048 Fix typo in the gst_object_{ref,unref} documentation.
1050 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1052 * tests/check/libs/controller.c:
1053 * tests/check/libs/typefindhelper.c:
1054 * tests/check/pipelines/parse-launch.c:
1055 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1056 going to be deprecated (see #498924).
1058 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gsttypefind.c: (gst_type_find_register):
1061 Make gst_type_find_register work for static typefind functions,
1062 ie. allow passing plugin == NULL (prerequisite for #498924).
1064 * gst/gstelementfactory.c: (gst_element_register):
1065 Small docs addition.
1067 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1069 * gst/gstpad.c: (gst_pad_dispose):
1070 Really unlink the peer pad instead of setting the peer pointer to NULL
1071 when we dispose the pad.
1072 This correctly calls the unlink functions and makes sure that the peer
1073 does not have a handle to invalid memory. See #504671.
1075 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1076 Add testsuite for above case.
1078 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1080 Patch by: Peter Kjellerstedt <pkj axis com>
1082 * libs/gst/check/gstcheck.h:
1083 Fix detection of the check version we're compiling against (would
1084 otherwise break if check goes v0.10.0); correctly report the
1085 name of the failed test again in case of failure, instead of
1086 just 'tf' (fixes #504499).
1088 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1090 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1091 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1092 (gst_base_src_loop), (gst_base_src_set_flushing),
1093 (gst_base_src_change_state):
1094 Allow sending EOS to the source to make it send out an EOS event from
1095 the streaming thread.
1096 Update docs and deprecate the old NULL/READY shutdown method.
1098 * tests/check/libs/basesrc.c: (GST_START_TEST),
1099 (gst_basesrc_suite):
1100 Add unit test for controlled shutdown.
1102 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1104 * docs/design/part-synchronisation.txt:
1107 * gst/gstsegment.c: (gst_segment_set_seek),
1108 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1109 (gst_segment_to_running_time):
1110 The seek format can be different from the segment format when the start
1111 and stop values are not to be updated, when we only do a rate change for
1114 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1115 (gst_segment_suite):
1116 Add a testcase for the rate-only seeks, checking that the format is
1117 correctly ignored when start and stop are not updated.
1119 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1121 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1123 * win32/vs8/grammar.vcproj:
1124 * win32/vs8/libgstcontroller.vcproj:
1125 * win32/vs8/libgstreamer.vcproj:
1126 Fix compilation with VS8 and include some missing files.
1128 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1131 Small docs addition: mention that the strings returned by
1132 gst_tag_list_get_string*() are in UTF-8 encoding.
1134 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1137 The check-exports stuff moved to common/win32.mak, so include that.
1139 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1141 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1142 (gst_base_src_perform_seek), (gst_base_src_get_range),
1143 (gst_base_src_set_playing), (gst_base_src_change_state):
1144 Make _wait_playing() not check any variables so that we can call this
1145 function from subclasses. Move the checks elsewhere similar to
1146 _wait_preroll() in basesink.
1148 Only signal the LIVE cond when we are going back to PLAYING.
1150 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1152 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1153 Use g_remove() and g_rename(). Check result of g_rename(), and
1154 don't leak the open file descriptor if we error out when writing.
1156 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1157 Must check the return value of close() after writing out the new
1158 registry file. Sometimes write problems such as out-of-diskspace
1159 are only reported when the file is closed and not already during
1160 the write. This may have caused partial/broken registry files in
1161 some rare circumstances. Should fix #503675.
1163 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1165 * docs/gst/.cvsignore:
1166 * docs/libs/.cvsignore:
1167 * docs/plugins/.cvsignore:
1168 Ignore files generated by new common/* modifications
1170 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1172 * win32/common/libgstbase.def:
1173 Yes, you can also have a <TAB> if you want.
1175 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1177 * win32/common/libgstbase.def:
1178 Add new basetransform API to win export file.
1180 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1182 * tests/check/gst/gstbin.c:
1183 Adjust the test to the refcount change two days ago.
1185 2007-12-14 David Schleef <ds@schleef.org>
1187 * docs/faq/getting.xml: Fix typo.
1189 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1191 * docs/libs/gstreamer-libs-sections.txt:
1192 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1193 (gst_base_transform_prepare_output_buffer),
1194 (gst_base_transform_set_gap_aware):
1195 * libs/gst/base/gstbasetransform.h:
1196 API: Add gst_base_transform_set_gap_aware() to control whether
1197 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1198 get buffers with this flag at all. Fixes #503231.
1200 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1202 * libs/gst/base/gstbasesink.c:
1203 * libs/gst/base/gstbasesrc.c:
1204 * libs/gst/base/gstbasetransform.c:
1205 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1206 thread. Correct log message in gstbasesrc.c.
1208 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1210 * gst/gstutils.c: (element_find_unconnected_pad):
1211 Fix possible compiler warning (#503417).
1213 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1215 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1216 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1218 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1220 * tools/gst-inspect.c: (print_element_properties_info):
1221 Add support for GstFraction properties.
1223 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1226 Add check-exports target and run it as part of 'make check'
1227 (see #499140 and #493983).
1229 * gst/gst_private.h:
1230 * gst/gstelementfactory.h:
1231 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1232 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1233 (_priv_gst_in_valgrind):
1234 * gst/gstinfo.h: (GstLogFunction):
1235 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1236 (gst_type_find_register):
1237 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1238 (gst_type_find_factory_get_type):
1239 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1240 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1241 (gst_controller_new_valist), (gst_controller_new_list),
1242 (_gst_controller_dispose), (_gst_controller_class_init):
1243 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1244 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1245 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1246 (gst_object_get_controller), (gst_object_set_controller),
1247 (gst_object_suggest_next_sync), (gst_object_sync_values),
1248 (gst_object_set_control_source), (gst_object_get_control_source),
1249 (gst_object_get_value_arrays), (gst_object_get_value_array),
1250 (gst_object_get_control_rate), (gst_object_set_control_rate):
1251 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1252 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1253 Make some functions that should be static static; rename some
1254 private symbols so that they don't get exported; add some FIXME
1255 comments so we can move accidentally exported functions into
1256 our private section in 0.11.
1258 * win32/common/libgstreamer.def:
1259 Add gst_utils_get_timestamp().
1261 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1265 Add more missing "Since:" tags to docs.
1267 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1270 Add mising "Since:" to docs.
1272 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1275 Include "glib-compat-private.h" to fix the build on system with
1276 glib < 2.10. Fixes #503131.
1278 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1282 Actually its not PURE as it gets the time from elsewhere.
1284 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1286 * docs/gst/gstreamer-sections.txt:
1288 * gst/gstdebugutils.c:
1292 * libs/gst/base/gstbasesink.c:
1293 * tools/gst-launch.c:
1294 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1295 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1296 Thanks Tim for spotting.
1297 API: gst_util_get_timestamp
1299 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1302 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1304 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1306 * gst/gststructure.c: (gst_structure_validate_name),
1307 (gst_structure_new_valist), (gst_structure_parse_value),
1308 (gst_structure_from_string):
1309 Don't crash in _from_string() if the structure name is not valid
1310 (fixes #501560). Allow structure names to start with a number
1311 again (this apparently broke the ubuntu codec installer).
1313 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1315 Add unit test for the crash; update unit tests for new behaviour.
1317 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1320 Clarify gst_element_get_compatible_pad() documentation.
1323 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1325 * tests/check/Makefile.am:
1326 Don't forget to dist {gst,libs}/struct_hppa.h.
1328 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1330 * libs/gst/base/gstbasesink.c:
1331 Use new API to get elapsed time.
1333 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1335 * gst/gstdebugutils.c:
1337 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1339 * tools/gst-launch.c:
1340 Use new API to get elapsed time.
1342 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1344 * docs/gst/gstreamer-sections.txt:
1346 * gst/gstdebugutils.c:
1348 Rename new API + ChangeLog surgery to remove old name from last entry..
1350 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1352 * docs/gst/gstreamer-sections.txt:
1354 * gst/gstdebugutils.c:
1356 Now hide the different clock stuff behind a macro.
1358 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1361 * gst/gstdebugutils.c:
1363 Apply the posix-timer check from #361155. Conditionally use the posix
1364 timer for logging. This gives better timestamp precission, less
1365 overhead and no ntp jitter.
1367 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
1369 * gst/gstminiobject.c: (gst_mini_object_get_type),
1370 (gst_mini_object_class_init), (gst_mini_object_copy_default),
1371 (gst_mini_object_finalize), (gst_mini_object_copy),
1372 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1373 (gst_mini_object_replace), (param_mini_object_validate),
1374 (gst_param_spec_mini_object_get_type):
1375 Some cleanup and checking against invalid function parameters.
1377 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
1379 * docs/gst/gstreamer-sections.txt:
1381 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1382 (gst_systemclock_suite):
1383 Start merging in the easy bits of #361155, the monotonic clock patch.
1384 This one adds a few handy macros with docs and a testsuite.
1386 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
1388 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1389 Be a bit smarter when seeking, like, don't try to do a seek when it's
1390 not needed. This avoids errors when the file is not seekable.
1393 2007-11-26 Stefan Kost <ensonic@users.sf.net>
1395 * docs/gst/gstreamer-docs.sgml:
1396 * docs/gst/gstreamer-sections.txt:
1397 * docs/gst/gstreamer.types.in:
1402 * plugins/elements/gstqueue.c:
1403 Due to popular request remove preset interface again. :-(.
1405 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1407 * tools/gst-inspect.c:
1408 Print 'default value' for enums and flags too.
1410 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1412 * docs/random/ensonic/profiling.txt:
1416 Fix typo and give better log output.
1418 * gst/gstdebugutils.c:
1419 * gst/gstdebugutils.h:
1420 More ideas, make graphs a bit smaller and fix param name in macro.
1422 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1425 Try harder to use the return value from fgets().
1427 2007-11-21 Stefan Kost <ensonic@users.sf.net>
1430 For theses two fgets we handle the error below.
1432 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1434 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1435 Only send upstream events upstream. Fixes #498746.
1437 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1439 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1441 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1442 (gst_identity_init), (gst_identity_transform_ip),
1443 (gst_identity_set_property), (gst_identity_get_property):
1444 * plugins/elements/gstidentity.h:
1445 Add property to disable handoff signal emission. Fixes #498694.
1446 API: GstIdentity::signal-handoffs
1448 2007-11-21 Julien Moutte <julien@fluendo.com>
1450 * docs/faq/gst-uninstalled: Yet another missing library for the
1451 uninstalled script (fft)
1453 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
1455 * docs/faq/developing.xml:
1456 Add a question about how to submit new translations.
1458 * docs/random/release:
1459 Update the contact email address for the Translation Project
1461 * plugins/elements/gstfdsrc.c:
1462 The parent_class for fdsrc is pushsrc, not GstElement.
1464 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1467 Plug a leak and fix saving.
1469 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
1471 * docs/gst/gstreamer-sections.txt:
1472 Add new gst_preset__get_property_names() function to the docs
1475 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1479 Change _get_preset_names API to return a strv with copies. Add
1480 _get_property_names to allow implementations to filter and provide
1481 good default implementation.
1483 2007-11-20 Julien MOUTTE <julien@moutte.net>
1485 * docs/faq/gst-uninstalled: Add another library to the uninstalled
1488 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1491 More cleanups, docs, and TODOs from comments that now slowly come in.
1493 2007-11-19 Julien MOUTTE <julien@moutte.net>
1495 * docs/faq/gst-uninstalled: Add new base libraries in the LD
1498 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1501 Fix bogus warning and make the property type specific code more
1504 2007-11-19 Julien MOUTTE <julien@moutte.net>
1506 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1509 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
1511 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1512 (gst_bin_add_func), (gst_bin_remove_func),
1513 (gst_bin_change_state_func), (gst_bin_continue_func):
1514 Change email, cleanups add some more debug and comments.
1515 Also set bus and clock on new elements when the pipeline was in error.
1517 2007-11-18 Stefan Kost <ensonic@users.sf.net>
1520 * gst/gstdebugutils.c:
1521 Fix build with --disable-gst-debug. Fixes #497859.
1522 Spotted by Sameer Naik.
1524 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1527 Little documentation improvment.
1530 More TODO cleanups. Remove c++ comments.
1532 * libs/gst/controller/gstcontroller.c:
1533 Add TODO and use quark from static string.
1535 * tests/check/gst/gstmessage.c:
1536 * tests/check/gst/gststructure.c:
1537 Use quark from static string.
1539 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1542 Add some comments and TODOs.
1545 Add padding for future changes.
1547 * plugins/elements/gstqueue.c:
1548 Implement the iface.
1550 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1552 * docs/gst/gstreamer-docs.sgml:
1553 * docs/gst/gstreamer-sections.txt:
1554 * docs/gst/gstreamer.types.in:
1559 Add the preset interface (Fixes #396779). Do some doc cleanups along.
1561 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
1567 === release 0.10.15 ===
1569 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
1572 releasing 0.10.15, "October"
1574 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
1576 * win32/vs6/libgstreamer.dsp:
1577 Convert line endings back to DOS.
1579 2007-11-13 Stefan Kost <ensonic@users.sf.net>
1581 * docs/design/draft-tagreading.txt:
1582 * docs/random/ensonic/profiling.txt:
1583 Update fast tagreading draft and performance profiling ideas.
1585 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1587 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1588 Don't hold the object lock when unreffing a buffer because it could
1589 cause a deadlock when the finalize function wants to grab the object
1590 lock too. Fixes #495133.
1592 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1594 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1595 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1596 Also accumulate time correctly when doing reverse playback. Fixes
1598 When converting to running and stream time, use default values for
1599 start/stop/time/accum when comparing different formats. Fixes #494245.
1601 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1602 Do running/stream time in TIME format.
1604 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1605 (gst_segment_suite):
1606 2 new unit tests for segment accumulation.
1608 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
1610 * gst/gst.c: (init_pre):
1611 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1612 (_gst_debug_bin_to_dot_file):
1613 Move getenv() back into gst_init, so everyone can live happily
1614 ever after. Make sure the symbol isn't exported though.
1616 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1618 Patch by: Sebastien Moutte <sebastien moutte net>
1620 * win32/common/gstenumtypes.c:
1621 * win32/common/gstenumtypes.h:
1624 * win32/vs6/libgstreamer.dsp:
1625 Update vs6 project files (#494343).
1627 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1629 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1630 (gst_base_src_perform_seek), (gst_base_src_default_event),
1631 (gst_base_src_set_flushing), (gst_base_src_activate_push),
1632 (gst_base_src_activate_pull):
1633 Unify flushing code, remove some old unlock code that is no longer used.
1634 Take the streaming lock when seeking to avoid races. Fixes #492729.
1635 Added some more comments.
1637 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1639 * gst/gst.c: (_gst_disable_segtrap):
1640 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
1641 we can use gst_segtrap_is_enabled() there now that we have that API.
1642 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1643 to do the getenv here (and export the variable).
1645 * gst/gstdebugutils.c: (debug_dump_element),
1646 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1647 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1649 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1650 (gst_debug_log_default):
1651 Rename _gst_info_start_time to priv_gst_info_start_time so it
1652 doesn't get exported (was never in any header).
1654 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1655 (gst_plugin_loading_mutex):
1656 Make static mutex gst_plugin_loading_mutex really static (was never
1657 in any header), and use gst_segtrap_is_enabled() instead of
1658 _gst_disable_segtrap.
1660 * gst/gsttrace.c: (_gst_trace_default):
1661 Make local _gst_trace_default static (was never in any header).
1663 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1665 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1667 * win32/common/libgstbase.def:
1668 * win32/common/libgstcontroller.def:
1669 * win32/common/libgstdataprotocol.def:
1670 * win32/common/libgstnet.def:
1671 * win32/common/libgstreamer.def:
1672 Add more missing symbols, remove some duplicates, and sort
1673 as the 'sort' command sorts it (partially fixes #493983).
1675 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1677 * gst/gstelement.c: (gst_element_set_state_func):
1678 Only change the state cookie if a different state was set on the
1679 element. See #492729.
1681 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1684 Remove unused and uninitialised type variables that were still
1685 exported for some reason (they were never in any header files
1688 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1690 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1691 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1692 (gst_base_sink_event), (gst_base_sink_get_position_last),
1693 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1694 (gst_base_sink_change_state):
1695 Don't try to report a 0 position when we don't know, return -1 and FALSE
1696 instead. This mostly happens when we are prerolling.
1697 Make sure we can report the right position before we post the ASYNC_DONE
1698 message so that a message handler can query position without races.
1700 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1701 (async_done_handoff), (async_done_func), (send_buffer),
1702 (async_done_eos_func), (gst_sinks_suite):
1703 Add two tests for the above.
1705 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1708 Update with new email address.
1710 * docs/design/part-TODO.txt:
1711 Add some more info about future pad-block and negotiation changes.
1713 * docs/design/part-buffering.txt:
1714 Add some ideas about buffering reporting.
1716 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
1718 * tests/check/gst/gstobject.c:
1719 Disable silly racy test that always fails on this combination of CPU
1722 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
1724 Patch by: Murray Cumming <murrayc@murrayc.com>
1727 Corrected the registration of the parent-set and parent-unset
1728 signals: The parameter is a GstObject, not a GObject (#493134).
1730 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1732 * gst/gst_private.h:
1741 Move declaration of private _gst_foo_initialize() functions into
1742 our private header file where they should have been all along.
1744 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1746 * docs/plugins/gstreamer-plugins-sections.txt:
1747 * gst/gstdebugutils.h:
1749 * plugins/elements/gstqueue.c:
1750 gtk-doc fixes; trailing-comma-in-enum fix.
1752 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1754 * gst/gst.c: (gst_deinit):
1755 Clean up on deinit (not the external ones though, doesn't seem to be
1756 needed for some reason).
1758 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1760 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1761 Remove __declspec(dllimport) for MSVC that was copied over into core
1762 from a plugin, obviously without ever having been tested (note the
1763 single underscore in _declspec in the initial commit), and that doesn't
1764 really make sense. See #492077.
1766 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1768 * gst/gst.c: (init_post):
1769 * gst/gstevent.c: (_gst_event_initialize):
1770 * gst/gstquery.c: (_gst_query_initialize):
1771 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1772 g_type_class_ref() other types as well, see #349410 and #64764.
1774 * gst/gstbuffer.c: (_gst_buffer_initialize):
1775 * gst/gstmessage.c: (_gst_message_initialize):
1776 Simplify existing g_type_class_ref().
1778 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1780 * gst/gstformat.c: (_gst_format_initialize):
1781 g_type_class_ref() our GstFormat type to make sure we avoid the
1782 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1783 bug #64764. Should fix intermittent tee unit test failures (#474823).
1785 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1787 * tests/check/elements/tee.c: (test_num_buffers):
1788 Simplify, simplify, simplify - or not. Rewrite unit test
1789 not to use gst_parse_launch(); allow N sub-streams. Increasing
1790 the number of sub-streams seems to reproduce #474823 more easily.
1792 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1794 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1797 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1798 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1799 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1800 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1801 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1802 so use _pipe() directly (#492077).
1804 * win32/common/dirent.c: (_treaddir):
1805 Add a couple of casts to make it build without warnings with MSVC.
1807 * win32/common/libgstreamer.def:
1808 Add some more symbols that need to be exported.
1810 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1812 * tests/examples/metadata/read-metadata.c: (message_loop):
1813 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1814 arriving in a second or third tag message are added to
1815 the tag list as well.
1817 2007-10-31 Stefan Kost <ensonic@users.sf.net>
1819 * libs/gst/base/gstbasesrc.c:
1820 Its "Since:" and not "@Since:". And remove an superflous cast.
1822 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
1824 * docs/libs/gstreamer-libs-sections.txt:
1825 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1826 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1827 (gst_base_sink_get_property), (gst_base_sink_render_object),
1828 (gst_base_sink_preroll_object),
1829 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1830 (gst_base_sink_change_state):
1831 * libs/gst/base/gstbasesink.h:
1832 Add a new last-buffer property that contains the last buffer used in
1833 basesink for preroll or rendering. useful for making snapshots.
1834 API: gst_base_sink_get_last_buffer()
1835 API: GstBaseSink::last-buffer
1837 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1839 * docs/gst/running.xml:
1841 * gst/gstdebugutils.c:
1842 * gst/gstdebugutils.h:
1843 * tools/gst-launch.c:
1844 Improve bin graph dumping, by using the envvar to specify a path.
1845 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1847 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
1849 * plugins/elements/gsttypefindelement.c:
1850 (gst_type_find_element_handle_event),
1851 (gst_type_find_element_activate):
1852 Post special error message if we can't determine the type of a stream
1855 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1857 * docs/gst/running.xml:
1858 * gst/gstdebugutils.c:
1859 Document new env-var. Add one log-line after dumpng a graph.
1861 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
1864 Ugly hack to put the (recently removed and non-portable, apparently)
1865 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1866 GNU ld, because without that 'make check' fails miserably on my debian
1867 stable box. Someone with more knowledge of linker intricacies and
1868 portability issues than me fix this properly please.
1870 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
1872 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1873 Reset last seen position after flushing so that we don't report the old
1876 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1878 * gst/gstelementfactory.c: (gst_element_register):
1880 Patch from Alessandro Decina adding get_type_full and
1881 get_protocols_full private vfuncs to the URIHandler interface
1882 to allow bindings to support creating URI handlers.
1883 Partially fixes: #339279
1884 API: GstURIHandlerInterface::get_type_full
1885 API: GstURIHandlerInterface::get_protocols_full
1887 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1889 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1890 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1891 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1892 Make it so that pads are considered linked until a buffer is pushed
1893 and discovered otherwise. This avoids problems with decodebin2 hanging
1894 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1897 Make sure we lock the multiqueue when updating the max-size properties.
1899 Fix a crash on Solaris in a debug statement in get_request_pad that
1900 passes a NULL string to GST_DEBUG.
1902 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1903 (run_output_order_test):
1904 Fix the test to allow the first buffer on not-linked pads to come out
1905 of sequence while multiqueue discovers that they are not-linked.
1907 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1910 * libs/gst/check/Makefile.am:
1911 Use a custom export symbol regex for libgstcheck, as it needs
1912 to export symbols that don't match the standard GStreamer gst_*
1913 pattern, and --export-dynamic is not portable (only works on
1916 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1917 (gst_check_setup_sink_pad):
1918 Make sure to pass a message parameter to the fail_* macros.
1920 * tests/check/gst/gstinfo.c: (GST_START_TEST):
1921 Fix some compiler warnings.
1923 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
1925 * tests/check/gst/gststructure.c: (test_to_string):
1926 Disable test that checks that white spaces are not allowed
1927 in structure names or field names, since we need to
1928 support that for now for backwards compatibility reasons.
1930 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1932 * docs/gst/gstreamer-sections.txt:
1935 API: add GST_TAG_ARTIST_SORTNAME
1936 API: add GST_TAG_ALBUM_SORTNAME
1937 API: add GST_TAG_TITLE_SORTNAME
1938 Add tag variants for sorting (#414539).
1940 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1942 * gst/gststructure.c:
1943 Also allow white space for names so we don't break
1944 backwards compatibility.
1946 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
1948 * docs/design/part-TODO.txt:
1949 * docs/design/part-segments.txt:
1950 * docs/design/part-streams.txt:
1953 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1955 * docs/gst/gstreamer-sections.txt:
1956 Fixed documentation from my previous commit (added new API add
1957 gst_value_set_structure(), add gst_value_get_structure() and
1958 GST_VALUE_HOLDS_STRUCTURE).
1960 2007-10-22 Stefan Kost <ensonic@users.sf.net>
1962 * gst/gstdebugutils.c:
1963 Reflow code to fix uninitialized variable warning.
1965 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1967 * gst/gstcaps.c: (gst_caps_to_string),
1968 (gst_caps_from_string_inplace):
1969 * gst/gststructure.c: (gst_structure_get_abbrs),
1970 (gst_structure_to_string), (gst_structure_from_string):
1971 * gst/gstvalue.c: (gst_value_set_structure),
1972 (gst_value_get_structure), (gst_value_serialize_structure),
1973 (gst_value_deserialize_structure), (_gst_value_initialize):
1975 * tests/check/gst/gststructure.c: (GST_START_TEST),
1976 (gst_structure_suite):
1977 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1978 Added GstStructure to gst_value_table and its related functions.
1979 Changed gst_structure_to_string to print ';' in the end.
1980 Changed gst_caps_to_string to not print ';' beteween its
1981 fields (structures) anymore and remove the lastes ';' from latest
1982 structure. Now it is possible to have nested structures.
1983 In addition, backward compatibilty is assured by accepting '\0' as
1984 end delimiter. Fixes: #487969.
1985 API: add gst_value_set_structure()
1986 API: add gst_value_get_structure()
1987 API: add GST_VALUE_HOLDS_STRUCTURE
1989 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
1992 When no GSource callback has been set up, tell developer
1993 to use a function that actually exists.
1995 2007-10-17 Stefan Kost <ensonic@users.sf.net>
1997 * docs/gst/gstreamer-sections.txt:
2001 * gst/gstdebugutils.c:
2002 * gst/gstdebugutils.h:
2005 * tools/gst-launch.c:
2006 Allow dumping pipelines as dot graphs. Fixes #456573.
2008 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2010 * gst/gststructure.c:
2011 Allow '+' as well, it can be part of media or mime types
2012 such as image/svg+xml.
2014 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2016 * docs/gst/gstreamer-sections.txt:
2019 API: add gst_bus_pop_filtered
2020 API: add gst_bus_timed_pop_filtered
2021 Two new functions for waiting for specific message types on the
2022 bus for a specified amount of time without iterating any main
2023 loops or main contexts.
2025 * tests/check/gst/gstbus.c:
2026 Some tests for the new functions.
2028 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2030 * docs/libs/gstreamer-libs-sections.txt:
2031 Make gtk-doc ignore stuff it should ignore.
2033 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2035 * libs/gst/check/gstcheck.c:
2036 * libs/gst/check/gstcheck.h:
2037 Allow runtime selection of unit tests to run via the GST_CHECKS
2038 environment variable (test case function names, comma-separated).
2040 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2042 * gst/gststructure.c:
2043 * tests/check/gst/gststructure.c:
2044 Revert serialisation change and constrain structure-names after
2045 consensus on irc. Update api documentation to reflect the change.
2047 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2049 * gst/gststructure.c:
2050 Improve serialization and fix tests.
2052 * tests/check/gst/gststructure.c:
2053 Add another test that covers why I actually did the previous structure
2056 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2058 * tools/gst-inspect.c: (print_element_info):
2059 Don't crash when inspecting an element.
2061 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2063 * tests/check/gst/gststructure.c:
2064 Add unit test for escaping of structure name when serialising
2065 and deserialising to/from strings.
2067 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2069 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2070 (gst_single_queue_new):
2071 * plugins/elements/gstqueue.c: (gst_queue_init),
2072 (gst_queue_push_one):
2073 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2074 upstream is tricked into thinking it can suggest a format downstream
2075 while downstream does not support that format. The real problem is that
2076 core calls acceptcaps when pushing a buffer with new caps, for which we
2077 do a little workaround by setting the caps on the srcpad ourselves
2078 before pushing the buffer (until this is figured out). Fixes #486758.
2080 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2082 * gst/gststructure.c:
2084 Add some more comments and debug output. Quote structure name to fix
2085 deserialisation of some strings.
2087 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2090 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2091 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2093 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2095 * tools/gst-inspect.c:
2096 Save approx. 400 1 byte allocs when printing. Use API to acces element
2102 * tools/gst-xmlinspect.c:
2103 Use API to acces element details.
2105 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2108 Fix some spelling errors.
2110 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2112 * gst/gstbin.c: (bin_handle_async_done):
2113 Correctly set the next state if all of our async children commited their
2114 state. This makes sure we can actually cancel the state change in
2115 progress. Fixes a regression in Rhythmbox when seeking.
2117 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2120 Don't shadow local variable.
2123 Don't shadow global function name.
2125 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2127 * gst/gstelementfactory.c:
2128 * gst/gstpluginfeature.c:
2129 * gst/gstpluginfeature.h:
2130 * gst/gstregistrybinary.c:
2131 * gst/gstregistryxml.c:
2132 * gst/gsttypefind.c:
2133 Use already-interned string for the private GstPluginFeature
2136 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2138 * docs/libs/gstreamer-libs-sections.txt:
2139 Add new API to docs; fixes the build.
2141 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2143 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2145 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2146 (gst_base_sink_event):
2147 * libs/gst/base/gstbasesink.h:
2148 Add function to wait for EOS, subclasses can use this to correctly wait
2149 for devices to drain before performing the EOS logic. Fixes #485343.
2150 API: gst_base_sink_wait_eos()
2152 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2155 Cast description string constants in GST_PLUGIN_DEFINE macros
2156 to a (gchar*) to make C++ code using these macros compile
2157 without warning with g++-4.2 (see #462737). Even if slightly
2158 ugly, this seems preferable to putting the description strings
2159 into the GLib quark table or making the structure member a
2160 const gchar * and doing casts in core code that allocs and
2161 frees these strings, or requiring a cast in the C++ code.
2163 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2166 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2167 to print the entire class/function signature into the log
2168 file for C++ code. This only affects C++ code, for C code
2169 everything remains the same.
2171 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2173 * gst/gstbin.c: (remove_from_queue):
2174 Work around a problem with pipelines containing (semi)loops until a
2175 proper, more complicated solution is ready. See #475455.
2177 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2181 * gst/gstregistrybinary.c:
2182 * gst/gstregistryxml.c:
2183 Put more strings into the GLib quark table. No need to keep
2184 a hundred-something copies of identical version strings,
2185 license strings, package name strings and package origin
2188 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2190 * docs/manual/advanced-dataaccess.xml:
2191 Don't imply that it's okay to unconditionally change
2192 buffer data or buffer metadata in a pad probe callback,
2193 and a bunch of other comments. Fixes #430031.
2195 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2197 * win32/common/gstenumtypes.c:
2198 * win32/common/gstenumtypes.h:
2199 * win32/common/gstversion.h:
2200 Update generated files.
2202 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2204 * docs/manual/advanced-autoplugging.xml:
2205 Prefix section with broken code with a warning (see #342432).
2207 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2209 * docs/manual/appendix-integration.xml:
2210 * docs/manual/basics-init.xml:
2211 Call g_thread_init() before g_option_context_new() to
2212 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2214 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2216 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2217 (gst_base_sink_queue_object_unlocked),
2218 (gst_base_sink_queue_object), (gst_base_sink_event),
2219 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2220 When we received EOS and are waiting for when to post the EOS message,
2221 our state is prerolled and we should not return ASYNC.
2222 Reorganize some code paths to implement this behavior.
2224 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2226 Add unit test to verify above EOS fix.
2228 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2230 * plugins/elements/gsttypefindelement.c:
2231 (gst_type_find_element_have_type), (gst_type_find_element_init),
2232 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2233 Move detecting the input caps of the sinkpad to the setcaps function.
2234 This allows us to update the output caps when we receive new input caps
2235 instead of always using the first detected caps.
2237 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2239 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2240 (gst_base_sink_get_position):
2241 Don't try to preroll non-async elements after a flush.
2242 Subtract latency form clock times when reporting position.
2244 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2246 * gst/gstpad.c: (gst_pad_pause_task):
2248 Small comment and documentation update.
2250 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2252 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2253 (gst_base_src_set_live), (gst_base_src_is_live),
2254 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2255 (gst_base_src_default_event), (gst_base_src_wait),
2256 (gst_base_src_do_sync), (gst_base_src_get_range),
2257 (gst_base_src_pad_get_range), (gst_base_src_loop),
2258 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2259 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2260 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2261 (gst_base_src_change_state):
2262 Rework the locking of basesrc in a similar fashion to basesink. We
2263 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2264 us to handle live sources and semi live ones much better.
2266 Fix unlocking when seeking, shutting down and pausing in live sources.
2268 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2270 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2271 Fix compilation again.
2273 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2276 Use meaningful categories for the logs to clean the default one.
2278 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2280 * tests/check/pipelines/cleanup.c:
2281 Print message name and not just number.
2283 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2285 * docs/design/draft-tagreading.txt:
2286 Add some more thoughts.
2288 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2290 * tests/check/pipelines/simple-launch-lines.c:
2291 Print message name and not just number.
2293 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2295 * libs/gst/base/gsttypefindhelper.c:
2296 Speedup typefinding. This is work in progress (see #459862).
2298 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2301 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2302 Spotted by Josep Torra Valles <josep@fluendo.com>.
2304 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2307 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2308 field has moved to GstObject.
2310 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2312 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2313 (gst_base_src_get_range), (gst_base_src_change_state):
2314 Call unlock for live sources so that they can't get stuck in _create and
2315 produce a buffer before they are set back to PLAYING.
2317 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2319 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2320 (gst_queue_locked_dequeue):
2321 Comment the segment-related code... in the PROPER function.
2322 See #482147 and my commit from yesterday.
2324 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2326 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2327 Also initialize the counter that calculates the first timestamp on a
2328 buffer correctly for non-live sources.
2330 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2332 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2333 Disable code that's breaking the current-time-level reporting.
2336 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2338 * docs/gst/gstreamer-sections.txt:
2339 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2340 as they shouldn't show up. Fixes the docs build.
2342 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2345 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2346 Define M_PI which is used in files which are including gstinfo.h.
2347 VS6 includes doesn't define it.
2348 * win32/common/libgstbase.def:
2349 * win32/common/libgstcontroller.def:
2350 * win32/common/libgstreamer.def:
2351 Add new exported functions and variables.
2352 * win32/vs6/libgstcontroller.dsp:
2353 * win32/vs6/libgstreamer.dsp:
2354 Update the list of files to build.
2356 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2358 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2360 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2361 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2362 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2363 Improve debugging. Fixes #480858.
2365 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2367 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2369 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2370 First patch of code cleanups, use the macros and right arguments in the
2371 macros to signal and lock the queue. See #480858.
2373 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
2375 * gst/gstbus.c: (poll_func):
2376 Improve debugging when dealing with _poll().
2378 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
2380 * gst/gstregistryxml.c:
2381 Fix memory leak I introduced a few days ago.
2383 2007-09-26 Michael Smith <msmith@fluendo.com>
2385 * gst/gstbuffer.c: (gst_buffer_finalize):
2386 Make it once again possible to free GstBuffers in the default
2388 The poisoning scribbles on parts of the miniobject we need in
2392 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
2394 * docs/gst/gstreamer-sections.txt:
2397 API: add GST_TAG_COMPOSER, fixes #459809.
2399 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
2403 Add the 3-clause BSD license and the MIT/X11 license to the license
2404 list. Fixes #479784.
2406 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
2408 * docs/faq/getting.xml:
2409 Add Q+A about different GStreamer versions (#364056).
2411 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2413 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2414 (gst_base_sink_event), (gst_base_sink_change_state):
2415 Return correct gboolean from query function.
2417 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2419 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2420 (gst_base_sink_event), (gst_base_sink_query),
2421 (gst_base_sink_change_state):
2422 Simplify latency query.
2423 When not synchronizing, we can report latency without querying the peer
2426 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2430 Fix small typos in the docs.
2432 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2434 * docs/design/draft-latency.txt:
2435 * docs/design/draft-push-pull.txt:
2436 * docs/design/draft-tagreading.txt:
2437 * docs/design/part-MT-refcounting.txt:
2438 * docs/design/part-activation.txt:
2439 * docs/design/part-block.txt:
2440 * docs/design/part-element-source.txt:
2441 * docs/design/part-events.txt:
2442 * docs/design/part-gstbin.txt:
2443 * docs/design/part-gstelement.txt:
2444 * docs/design/part-gstobject.txt:
2445 * docs/design/part-gstpipeline.txt:
2446 * docs/design/part-messages.txt:
2447 * docs/design/part-preroll.txt:
2448 * docs/design/part-push-pull.txt:
2449 * docs/design/part-qos.txt:
2450 * docs/design/part-query.txt:
2451 * docs/design/part-scheduling.txt:
2452 * docs/design/part-seeking.txt:
2453 * docs/design/part-segments.txt:
2454 * docs/design/part-states.txt:
2455 Documentation updates and typo fixes.
2457 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
2459 * plugins/elements/gstfakesink.c:
2460 Add some debug text to error message to indicate that
2461 we errored out on request.
2463 * tools/gst-launch.c:
2464 When the state change to PLAYING fails, check for an
2465 error message on the bus and print it.
2467 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2469 translated by: Jorge González González <aloriel@gmail.com>
2473 Added Spanish translation.
2475 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
2477 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2478 Fix printf arguments.
2480 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2482 * tests/check/generic/states.c:
2483 Improved state change unit test.
2485 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2488 Move priv to the right place.
2490 * gst/gstsystemclock.c:
2491 Add FIXME: and improve log.
2493 * tests/check/Makefile.am:
2494 * tests/examples/manual/Makefile.am:
2495 Work with all types of registries.
2497 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
2499 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2500 Don't unref the event after pushing it. Fixes #478401.
2502 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2505 * tests/examples/manual/.cvsignore:
2506 Ignore registries in any format.
2508 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
2510 * gst/glib-compat-private.h:
2511 Add compatibility macro for g_intern_string() for
2512 GLib-2.8 (any reason we can't just bump the
2513 requirement to at least 2.10?)
2515 * gst/gstpadtemplate.h:
2516 * gst/gstelementfactory.c:
2517 * gst/gstregistryxml.c:
2518 * gst/gstregistrybinary.c:
2519 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2520 up the internal code accordingly. This shouldn't be a problem, since
2521 there is no reason external code could ever assume the string in such
2522 a structure is dynamically allocated unless it did that itself; the
2523 use of g_strdup() is private to element factories. The new code also
2524 saves some memory by putting pad template name strings into the GLib
2525 quark table instead of allocating them dynamically.
2526 Declaring this field constant fixes warnings with g++-4.2 when using
2527 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2529 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2531 * gst/gstelementfactory.c:
2532 Release static caps. Fixes #475723.
2534 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
2538 Make some internal API take const gchar * instead of just
2539 gchar * to avoid compiler warnings with g++-4.2.2 when
2540 passing string constants (partially fixes #478092).
2542 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2544 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2545 A latency query fails when one of the sinks fail.
2547 * gst/gstelement.c: (gst_element_set_base_time):
2550 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2552 * gst/gstbin.c: (gst_bin_continue_func):
2553 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2554 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2555 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2557 Fix minor compilation warnings shown with Forte.
2559 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2561 * plugins/elements/gstqueue.c: (apply_buffer),
2562 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2563 Measure queue level based on the diff between head and tail timestamps
2564 even when pushing the first buffer.
2566 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2568 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2569 (gst_base_sink_event), (gst_base_sink_change_state):
2570 Sinks that don't preroll can always be queried for the latency.
2571 Don't post ASYNC start when we are not async.
2573 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2575 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2576 (gst_queue_handle_sink_event), (gst_queue_chain),
2577 (gst_queue_push_one), (gst_queue_handle_src_query),
2578 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2579 * plugins/elements/gstqueue.h:
2580 When downstream returns UNEXPECTED from pushing a buffer, don't try to
2581 push more buffers but allow pushing of EOS and NEWSEGMENT.
2582 Add some more debug info here and there. Fixes #476514.
2584 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2586 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2587 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2588 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2589 (gst_base_sink_set_flushing), (gst_base_sink_query),
2590 (gst_base_sink_change_state):
2591 Latency query is allowed after we are prerolled. Introduce a new flag
2592 for this and stop abusing other variables.
2594 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2596 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2597 Push OOB events downstream when we get them in send_event. This allows
2598 the application to insert events in the pipeline.
2599 Add some more comments.
2601 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2603 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2604 (do_bin_latency), (gst_bin_change_state_func):
2605 * gst/gstpipeline.c: (gst_pipeline_change_state):
2606 Move latency query from GstPipeline to GstBin so that we can also
2607 use it when async-handling is enabled on bins.
2609 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2611 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2612 (gst_base_src_do_sync), (gst_base_src_change_state):
2614 Clean up the timestamping and syncing code for pseudo live sources.
2616 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
2618 Patch by: Steve Fink <sphink gmail com>
2620 * docs/manual/appendix-checklist.xml:
2621 Mention less -R switch in the section about debug output (#474055).
2623 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2625 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2626 Queue can latency to the pipeline up to the configured max size in time.
2627 Report this fact in the latency query.
2629 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2631 Patch by: Sebastien Moutte <sebastien at moutte dot net>
2633 * libs/gst/controller/gstinterpolation.c:
2634 * libs/gst/controller/gstlfocontrolsource.c:
2635 Use gst_guint64_to_gdouble() when converting from a uint64 or
2636 GstClockTime to double to fix the build on win32. Fixes #474371.
2638 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2640 * gst/gstbuffer.c: (gst_buffer_finalize):
2641 Implement poisoning for GstBuffer if --enable-poisoning is specified.
2642 When finalizing a buffer the complete struct is filled with 0xff,
2643 thus making a use of the buffer after the final unref impossible.
2645 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2647 * tests/check/libs/controller.c: (GST_START_TEST):
2648 Use fail_unless_equals_int(a, b) instead of
2649 fail_unless_equals (a == b) to get better output on failures.
2651 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2653 * tests/check/gst/gsturi.c:
2654 Also check for the other file URI variant on win32.
2656 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2658 * gst/gsturi.c: (gst_uri_get_location):
2659 If there's no hostname, we want to return 'c:/foo/bar.txt'
2660 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2662 * tests/check/gst/gsturi.c:
2663 Unit test for the above and a few more things.
2665 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2667 * docs/design/part-live-source.txt:
2668 Add docs on how live sources should timestamp.
2670 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2671 Add some more debug info.
2672 For subclasses that are live and like to sync, add aditional startup
2673 latency to sync time and timestamps so that we timstamp according to the
2676 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2679 Also do a g_type_class_ref() for the subbuffer type in
2682 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2684 * docs/gst/gstreamer-sections.txt:
2685 * gst/gstpad.c: (gst_pad_peer_query):
2687 Add function to perform a query on the peer of a pad.
2688 API: gst_pad_peer_query()
2690 2007-09-11 Stefan Kost <ensonic@users.sf.net>
2692 * tests/check/gst/gstsystemclock.c:
2693 Cleanup the test a little (use gst-logging and not g_message). Improve
2694 test to check if a wait reached the target.
2696 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2698 * docs/libs/gstreamer-libs-sections.txt:
2699 Add new API to docs and fix the build.
2701 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
2703 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2704 (gst_base_src_init), (gst_base_src_set_do_timestamp),
2705 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2706 (gst_base_src_get_property), (gst_base_src_do_sync):
2707 * libs/gst/base/gstbasesrc.h:
2708 Add property to make the basesrc timestamp buffers based on the current
2710 API: GstBaseSrc::do-timestamp
2711 API: gst_base_src_set_do_timestamp()
2712 API: gst_base_src_get_do_timestamp()
2714 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
2716 * docs/random/release:
2717 Really make sure translations are up-to-date before
2718 a release (#465010).
2720 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
2722 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2723 Always destroy the timer, also in error cases.
2725 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2727 * docs/manual/highlevel-xml.xml:
2728 Fix XML example code. Fixes #472714.
2730 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2732 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2733 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2734 (gst_base_sink_query):
2735 Protect eos and have_preroll with the OBJECT lock so we don't need to
2736 take the PREROLL lock when querying the latency. Fixes #473846.
2738 2007-09-05 Stefan Kost <ensonic@users.sf.net>
2741 Give some log-messages a category.
2743 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
2745 * gst/gststructure.c:
2746 (gst_structure_fixate_field_nearest_fraction):
2747 Fix fraction list fixation code. Take the fraction with the smallest
2748 difference with the target instead of the first one in the list.
2750 * tests/check/gst/gststructure.c: (GST_START_TEST),
2751 (gst_structure_suite):
2752 Added test to verify correct fraction list fixation behaviour.
2754 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
2756 * win32/common/libgstreamer.def:
2757 Export gst_bus_add_signal_watch too.
2759 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
2761 * docs/libs/gstreamer-libs-sections.txt:
2762 Add new methods to docs.
2764 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2765 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2766 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2767 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2768 * libs/gst/base/gstbasesink.h:
2769 Add ts-offset property to fine-tune the synchronisation.
2770 API: GstBaseSink::ts-offset property
2771 API: gst_base_sink_set_ts_offset()
2772 API: gst_base_sink_get_ts_offset()
2774 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
2776 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2777 (gst_base_sink_init), (gst_base_sink_set_sync),
2778 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2779 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2780 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2781 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2782 (gst_base_sink_get_property), (gst_base_sink_change_state):
2783 * libs/gst/base/gstbasesink.h:
2784 Add async property to instruct the sink never to inform the parent about
2785 ASYNC state changes, update docs.
2786 Check argument with g_return_* for the public functions.
2787 API: GstBaseSink::async property
2788 API: gst_base_sink_set_async_enabled()
2789 API: gst_base_sink_is_async_enabled()
2791 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
2793 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2796 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2797 (gst_base_src_default_query), (gst_base_src_wait),
2798 (gst_base_src_do_sync), (gst_base_src_change_state):
2799 Rearrange some code so that we can add support for measuring the
2802 2007-08-27 Stefan Kost <ensonic@users.sf.net>
2804 * docs/random/ensonic/dynlink.txt:
2805 More thoughs on this.
2807 * plugins/elements/gstcapsfilter.c:
2808 Add bugzilla ticket number to FIXME comment.
2810 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
2812 * docs/design/part-TODO.txt:
2813 * docs/design/part-block.txt:
2816 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2819 Revert patch which uses $(gst_headers) instead of $^ because it
2822 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2824 * tests/check/gst/gstbin.c: (GST_START_TEST):
2825 Fix leaks in the new unit test.
2827 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
2830 Don't use GST_INFO before the debug system is actually initialised
2831 (shouldn't do any harm, but won't print anything either, so we can
2832 just as well remove it).
2835 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2836 compilers that don't support variadic macros (such as MSVC), should
2837 check for debug_level <= __gst_debug_min as well, since that's the
2838 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2839 inline helper functions. Should improve performance a bit, but also
2840 makes sure uses of GST_INFO et.al are ignored if the debugging
2841 system isn't initialised yet (instead of printing an assertion
2844 2007-08-23 Stefan Kost <ensonic@users.sf.net>
2846 patch by: David Nečas <yeti@physics.muni.cz>
2849 Replace some non portable makefile constructs.
2851 2007-08-21 Stefan Kost <ensonic@users.sf.net>
2853 * common/gtk-doc-plugins.mak:
2854 Grrrrr. Don't remove the types file on make clean.
2856 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
2858 * tools/gst-launch.1.in:
2859 Add colorspace to example pipeline. Fixes #458274.
2861 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
2863 * docs/random/release:
2864 The release manager should run 'make download-po' before making a
2865 release to make sure translations are up-to-date.
2871 Add some new translations.
2873 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
2875 * tools/gst-launch.c: (event_loop), (main):
2876 Don´t try to do any state management when a live pipeline posts
2878 Also make the buffering string translatable.
2880 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2882 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2883 (bin_handle_async_start), (gst_bin_handle_message_func):
2885 When adding elements, insert messages into the bus of the newly added
2886 element and make sure the element is the source of the message. This
2887 allows the parent bin to intercept the message and do the
2888 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2889 messages to the app (which is not allowed).
2892 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2893 Fix testsuite so that is does not work around messages that should not
2894 have been posted in the first place.
2896 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2898 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2899 (update_degree), (gst_bin_sort_iterator_next):
2900 Fix annoying bug in the sorted iterator where a sink that is not really
2901 a sink (when it has downstream links) screwed up the iterator.
2903 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2904 Unit test to verify the fix.
2906 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2909 Add some more docs for the messages.
2911 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2912 (gst_base_sink_query):
2913 Add some more debugging.
2915 * tools/gst-launch.c: (event_loop):
2916 When interrupting, don't try to set pipeline to PAUSED twice.
2918 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2921 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2922 (bin_handle_async_start), (gst_bin_handle_message_func):
2923 Move ASYNC_START message posting to where it belongs, similar to
2925 Don't post ASYNC_START when we are in error.
2926 Post ASYNC_START when we added an async element to a bin.
2928 2007-08-14 Julien MOUTTE <julien@moutte.net>
2930 * gst/gstindex.c: (gst_index_add_association): Fix index entry
2931 generation from vargs. Fixes #466595.
2933 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2935 * gst/gstbin.c: (gst_bin_element_set_state):
2936 Always change the state of a NO_PREROLL element even if it has ASYNC
2937 elements inside (in case of a bin).
2939 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2940 Unit test for this case.
2942 2007-08-13 Stefan Kost <ensonic@users.sf.net>
2944 * libs/gst/check/gstbufferstraw.c:
2945 * libs/gst/check/gstcheck.h:
2946 * libs/gst/controller/gstcontroller.c:
2947 * libs/gst/controller/gstcontrolsource.h:
2948 * libs/gst/controller/gstlfocontrolsource.h:
2949 * plugins/elements/gstcapsfilter.h:
2950 * plugins/elements/gstfdsink.h:
2951 * plugins/elements/gstfdsrc.h:
2952 Add more missing docs.
2954 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2956 * gst/gststructure.c:
2957 Add Since tag to docs.
2959 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2961 * docs/gst/gstreamer-sections.txt:
2962 * gst/gststructure.c: (gst_structure_get_uint):
2963 * gst/gststructure.h:
2964 Add function to get uint from a structure.
2965 API: gst_structure_get_uint()
2967 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2969 * gst/gstcaps.c: (gst_caps_set_simple_valist),
2970 (gst_caps_intersect):
2971 Fix proper check for simple caps.
2973 2007-08-10 Stefan Kost <ensonic@users.sf.net>
2975 * docs/gst/Makefile.am:
2976 * docs/libs/Makefile.am:
2977 Remove cruft and do some cleanups.
2979 * docs/gst/gstreamer-docs.sgml:
2980 * docs/libs/gstreamer-libs-docs.sgml:
2981 Prepare for comming gtkdoc features (rebase against online docs).
2983 2007-08-10 Michael Smith <msmith@fluendo.com>
2985 * docs/gst/gstreamer-sections.txt:
2986 Add gst_registry_add_path to docs.
2988 2007-08-10 Michael Smith <msmith@fluendo.com>
2990 * gst/gstregistry.h:
2991 Add gst_registry_add_path, which was missing from this header.
2993 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
2995 * libs/gst/controller/gstlfocontrolsource.c:
2998 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3000 * libs/gst/base/gstbasesink.c:
3001 Don't send an async_start message during downwards state change if
3002 target state is less than READY
3004 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3006 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3010 Added Hungarian translation.
3012 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3019 Updated translations.
3021 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3023 * libs/gst/controller/Makefile.am:
3024 Dist gstlfocontrolsourceprivate.h
3026 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3028 * docs/libs/gstreamer-libs.types:
3029 Don't register the enum type gst_lfo_waveform_get_type() in the
3030 .types file - only GObject derived types belong.
3032 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3034 Patch by: <arenevier at fdn dot fr>
3037 Remove comma from last element in enum to avoid compile errors when
3038 using -pendantic. Fixes #464366.
3040 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3042 * docs/design/part-TODO.txt:
3043 Add some more TODO items
3045 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3048 * gst/gstcaps.c: (gst_caps_intersect):
3049 Optimize trivial intersection case between identical caps pointers.
3051 * gst/gstelement.c: (gst_element_continue_state),
3052 (gst_element_set_state_func):
3054 Fix spelling and grammar mistakes.
3056 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3060 Update POTFILES. Fixes #461599.
3062 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3065 Fix confusing typo in debug output.
3067 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3069 reviewed by: Stefan Kost <ensonic@users.sf.net>
3071 * libs/gst/controller/Makefile.am:
3072 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3073 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3074 (gst_lfo_control_source_new),
3075 (gst_lfo_control_source_set_waveform),
3076 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3077 (gst_lfo_control_source_finalize),
3078 (gst_lfo_control_source_dispose),
3079 (gst_lfo_control_source_set_property),
3080 (gst_lfo_control_source_get_property),
3081 (gst_lfo_control_source_class_init):
3082 * libs/gst/controller/gstlfocontrolsource.h:
3083 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3084 API: Add GstLFOControlSource, a control source that gives values
3085 for specific timestamps based on several periodic waveforms.
3088 * tests/check/libs/controller.c: (GST_START_TEST),
3089 (gst_controller_suite):
3090 * docs/libs/gstreamer-libs-docs.sgml:
3091 * docs/libs/gstreamer-libs-sections.txt:
3092 * docs/libs/gstreamer-libs.types:
3093 Add documentation and unit tests for GstLFOControlSource.
3095 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3100 === release 0.10.14 ===
3102 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3105 releasing 0.10.14, "Breathing Vacuum"
3107 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3109 * gst/gstelement.c: (gst_element_class_set_details_simple):
3111 Make strings passed to gst_element_class_set_details_simple()
3112 constant, as they should be (#462752).
3114 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3116 * gst/gstbin.c: (gst_bin_change_state_func),
3117 (bin_handle_async_done), (gst_bin_handle_message_func):
3118 Don't forget about the fact that some element went ASYNC even after a
3119 resync. This makes us post the ASYNC_DONE message correctly.
3122 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3124 * gst/gstregistry.c: (gst_registry_add_feature):
3125 When replacing an existing feature in the registry, make sure to
3126 continue holding a reference until we've replaced the name string
3127 within our feature hash table. Make sure to use g_hash_table_replace
3128 instead of g_hash_table_insert to ensure the new name string is used
3129 as a key instead of the old one that we're about to free.
3132 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3134 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3135 (gst_plugin_feature_set_name):
3136 Revert patch from #459466 until after the release and we can work
3137 out exactly what the problem is (if any).
3139 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3141 * docs/gst/gstreamer-sections.txt:
3144 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3146 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3148 * docs/libs/Makefile.am:
3149 Include our build-prefix libs and includes before the generic ones to
3150 avoid linking against the installed libs when we want the build-tree
3153 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3155 Patch by: Steve Fink <sphink gmail com>
3157 * docs/pwg/building-testapp.xml:
3158 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3159 if people try to build or install the example from the plugin
3160 template against a GStreamer from package using the configure
3163 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3165 Patch by: Steve Fink <sphink gmail com>
3167 * tools/gst-inspect.1.in:
3168 Document --print-all and --print-plugin-auto-install-info command
3169 line options in man page.
3171 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3173 * docs/gst/gstreamer-sections.txt:
3174 Add docs for new api function.
3176 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3178 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3179 * gst/gstelementfactory.h:
3180 API: gst_element_factory_has_interface()
3181 Added method to check if an element factory implements a named
3184 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3187 * docs/gst/gstreamer.types.in:
3188 Another conditional doc check.
3191 * gst/gstparamspecs.h:
3192 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3197 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3199 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3200 (gst_registry_binary_load_feature),
3201 (gst_registry_binary_load_plugin),
3202 (gst_registry_binary_read_cache):
3203 Print error just once and with additional info.
3205 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3207 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3208 (helper_find_suggest), (helper_find_get_length),
3209 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3210 (gst_type_find_helper_for_buffer):
3211 Cleanup the typefindhelper code and add private doc comments.
3213 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3215 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3216 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3217 Fix capsfilter for cases where the caps set on capsfilter will provide
3218 additional information.
3221 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3223 * gst/gsttypefindfactory.c:
3224 Fix docs that recommened wrong function to use.
3226 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3228 * tools/gst-inspect.c: (print_plugin_features):
3229 Also give media-type for typefinders in element output.
3231 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3233 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3234 (gst_registry_remove_features_for_plugin_unlocked),
3235 (gst_registry_add_feature), (gst_registry_remove_feature),
3236 (gst_registry_lookup_feature_locked):
3237 * gst/gstregistry.h:
3238 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3241 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3243 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3244 (gst_plugin_feature_set_name):
3245 Avoid double memory usage for pluginfeature names. Fixes #459466.
3247 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3250 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3251 driving the pipeline may need to explicitly check for NOT_LINKED as
3252 well, since IS_FATAL doesn't cover that.
3254 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3256 * docs/pwg/advanced-types.xml:
3257 Fix typo and duplicate entry in video formats list.
3259 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3261 * libs/gst/controller/gstinterpolation.c:
3262 Also round to the nearest int when using cubic interpolation.
3264 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3266 * libs/gst/controller/gstinterpolation.c:
3267 When linearly interpolating integer types, round to the nearest int
3268 by adding 0.5. Don't do it for float/double types.
3269 Fixes the failing controller test on my machine, which is somehow
3270 rounding differently than on the buildbots.
3272 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3274 * tools/gst-plot-timeline.py:
3275 Better log parsing (categories can have -). Adjust text vs. lines, so
3276 that they span the same y-range.
3278 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3280 * docs/random/ensonic/audiobaseclasses.txt:
3281 * docs/random/ensonic/dynlink.txt:
3282 * docs/random/ensonic/profiling.txt:
3285 * docs/random/moving-plugins:
3286 Add note to use g_assert type macros.
3288 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3291 * libs/gst/check/Makefile.am:
3292 Add libm check as we use in for plugins.
3294 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3296 * gst/gstbin.c: (gst_bin_continue_func):
3297 Check that the state_cookie hasn't changed since the continue_func
3298 was scheduled. Avoids problems where the state changes back to
3299 something it shouldn't be because it was changed in the meantime.
3301 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3303 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3304 (gst_registry_binary_save_string),
3305 (gst_registry_binary_save_pad_template),
3306 (gst_registry_binary_save_feature),
3307 (gst_registry_binary_save_plugin),
3308 (gst_registry_binary_load_feature),
3309 (gst_registry_binary_load_plugin),
3310 (gst_registry_binary_read_cache):
3311 Fix memory leak. Be less verbose in the log.
3313 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3315 * tests/check/elements/.cvsignore:
3316 Add file to cvsignore as commanded.
3318 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3320 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3321 (mq_dummypad_event), (run_output_order_test):
3322 Use a GStaticMutex to protect all cases where libcheck
3323 fail_if/fail_unless macros might be called from multiple threads
3324 simultaneously to avoid errors like:
3325 "check_pack.c:107: :-1081725400:Bad message type arg"
3327 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3329 * tests/check/pipelines/stress.c: (GST_START_TEST):
3330 Make sure we set the pipeline back to the NULL state before
3331 dropping our final reference.
3333 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3335 * tests/check/elements/tee.c: (GST_START_TEST):
3336 Make the tee stress-test a little less stressful so it doesn't just
3337 time out on slow-machines, and remove a small race when it's starting
3338 up by adding a get_state() call.
3340 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3343 Avoid reading registry twice on startup. Fixes #457322.
3345 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3347 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3348 * pkgconfig/gstreamer-check.pc.in:
3349 Substitute the CFLAGS for libcheck into our .pc file too so that
3350 dependent modules will pick it up properly if libcheck is installed
3351 into some other prefix.
3353 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3356 Revert the pkg-config check for libcheck, since it pulls in the
3357 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3358 a proper solution, either from the check project, or something else.
3360 2007-07-12 Stefan Kost <ensonic@users.sf.net>
3363 Use pkg-config to locate check.
3365 2007-07-10 Stefan Kost <ensonic@users.sf.net>
3372 Add deprecation guards.
3374 * libs/gst/base/gstcollectpads.h:
3375 Don't document object (this is implicitly private).
3377 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3379 * gst/gststructure.c: (gst_structure_parse_value):
3380 When deserialising foo=bar without a type cast, check if it's a
3381 boolean before falling back to a string type, otherwise things like
3382 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3383 because the filtercaps end up having a signed=(string)true field,
3384 which causes problems later when intersection caps.
3386 * tests/check/gst/gststructure.c: (GST_START_TEST):
3387 Add a unit test for this.
3389 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
3391 Reviewed by: Stefan Kost <ensonic@users.sf.net>
3393 * libs/gst/controller/Makefile.am:
3394 * libs/gst/controller/gstcontroller.c:
3395 (gst_controlled_property_add_interpolation_control_source),
3396 (gst_controlled_property_new), (gst_controlled_property_free),
3397 (gst_controller_find_controlled_property),
3398 (gst_controller_new_valist), (gst_controller_new_list),
3399 (gst_controller_new), (gst_controller_remove_properties_valist),
3400 (gst_controller_remove_properties_list),
3401 (gst_controller_remove_properties),
3402 (gst_controller_set_property_disabled),
3403 (gst_controller_set_disabled), (gst_controller_set_control_source),
3404 (gst_controller_get_control_source), (gst_controller_get),
3405 (gst_controller_sync_values), (gst_controller_get_value_array),
3406 (_gst_controller_dispose), (gst_controller_get_type),
3407 (gst_controlled_property_set_interpolation_mode),
3408 (gst_controller_set), (gst_controller_set_from_list),
3409 (gst_controller_unset), (gst_controller_unset_all),
3410 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3411 * libs/gst/controller/gstcontroller.h:
3412 * libs/gst/controller/gstcontrollerprivate.h:
3413 * libs/gst/controller/gstcontrolsource.c:
3414 (gst_control_source_class_init), (gst_control_source_init),
3415 (gst_control_source_get_value),
3416 (gst_control_source_get_value_array), (gst_control_source_bind):
3417 * libs/gst/controller/gstcontrolsource.h:
3418 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3419 (gst_object_get_control_source):
3420 * libs/gst/controller/gstinterpolation.c:
3421 (gst_interpolation_control_source_find_control_point_node),
3422 (gst_interpolation_control_source_get_first_value),
3423 (_interpolate_none_get), (interpolate_none_get),
3424 (interpolate_none_get_boolean_value_array),
3425 (interpolate_none_get_enum_value_array),
3426 (interpolate_none_get_string_value_array),
3427 (_interpolate_trigger_get), (interpolate_trigger_get),
3428 (interpolate_trigger_get_boolean_value_array),
3429 (interpolate_trigger_get_enum_value_array),
3430 (interpolate_trigger_get_string_value_array):
3431 * libs/gst/controller/gstinterpolationcontrolsource.c:
3432 (gst_control_point_free), (gst_interpolation_control_source_reset),
3433 (gst_interpolation_control_source_new),
3434 (gst_interpolation_control_source_set_interpolation_mode),
3435 (gst_interpolation_control_source_bind),
3436 (gst_control_point_compare), (gst_control_point_find),
3437 (gst_interpolation_control_source_set_internal),
3438 (gst_interpolation_control_source_set),
3439 (gst_interpolation_control_source_set_from_list),
3440 (gst_interpolation_control_source_unset),
3441 (gst_interpolation_control_source_unset_all),
3442 (gst_interpolation_control_source_get_all),
3443 (gst_interpolation_control_source_get_count),
3444 (gst_interpolation_control_source_init),
3445 (gst_interpolation_control_source_finalize),
3446 (gst_interpolation_control_source_dispose),
3447 (gst_interpolation_control_source_class_init):
3448 * libs/gst/controller/gstinterpolationcontrolsource.h:
3449 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3450 API: Refactor GstController into the core controller which can take
3451 a GstControlSource for providing actual values for timestamps.
3452 Implement a interpolation control source and use this for backward
3453 compatibility, deprecate a bunch of functions that are now handled
3454 by GstControlSource or GstInterpolationControlSource.
3455 Make it possible to disable the controller completely or only for
3456 specific properties. Fixes #450711.
3457 * docs/libs/gstreamer-libs-docs.sgml:
3458 * docs/libs/gstreamer-libs-sections.txt:
3459 * docs/libs/gstreamer-libs.types:
3460 Add new functions and classes to the docs.
3461 * tests/check/libs/controller.c: (GST_START_TEST),
3462 (gst_controller_suite):
3463 * tests/examples/controller/audio-example.c: (main):
3464 Port unit test and example to the new API and add some new
3467 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
3469 Patch by: Mark Nauwelaerts <manauw at skynet be>
3471 * plugins/elements/gstmultiqueue.c:
3472 (gst_multi_queue_get_internal_links), (apply_buffer),
3473 (single_queue_overrun_cb), (gst_single_queue_new):
3474 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3475 the pipeline layout can be tracked correctly. Fixes #453732.
3477 2007-07-05 Stefan Kost <ensonic@users.sf.net>
3479 * docs/gst/Makefile.am:
3480 * docs/libs/Makefile.am:
3481 * docs/plugins/Makefile.am:
3482 Simplify --extra-dir as gtkdoc scans recursively.
3484 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3486 * tools/gst-launch.c: (main):
3487 When we got an error, there is no point in waiting for preroll when
3490 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3492 * plugins/elements/gsttee.c: (gst_tee_base_init),
3493 (gst_tee_request_new_pad), (gst_tee_release_pad),
3494 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3495 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3497 Be a lot smarter when deciding what srcpad to use for proxying
3498 the buffer_alloc. Also handle pad added/removed when doing so.
3500 Keep track of what pads we already pushed on in case we have pads
3501 added/removed while pushing. Fixes #374639
3503 * tests/check/Makefile.am:
3504 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3506 Added unit test for pad resync.
3508 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3512 Updated translations.
3514 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3516 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3520 Added new Finnish translation.
3522 2007-06-28 Wim Taymans <wim@fluendo.com>
3524 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3525 (single_queue_overrun_cb):
3526 When figuring out when a queue is filled, use our internal time estimate
3527 based on segments, just like check_full does.
3529 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3531 * gst/gstminiobject.c: (gst_mini_object_get_type):
3532 Remove 3 do-nothing methods.
3534 2007-06-27 Wim Taymans <wim@fluendo.com>
3536 Patch by: Tim Angus <tim at ngus dot net>
3538 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3539 (gst_capsfilter_set_property):
3540 Take a reference instead of a copy when setting "caps".
3541 Fix documentation to clarify this behaviour. Fixes #449414.
3543 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3545 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3546 * gst/gstplugin.c: (gst_plugin_init):
3547 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3548 * gst/gstquery.c: (gst_query_get_type):
3549 * gst/gstregistry.c: (gst_registry_init):
3550 * gst/gsturi.c: (gst_uri_handler_base_init):
3551 Remove empty instance_init() functions to save relocs and lessen the
3552 noise. Remove some of the function prototypes that are doubled by
3555 2007-06-27 Wim Taymans <wim@fluendo.com>
3557 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3559 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3560 Add peer and direction in the XML serialisation of ghostpads.
3563 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3566 Preserve useful information, thanks Tim.
3568 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
3570 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3571 (gst_single_queue_flush), (apply_segment), (apply_buffer),
3572 (gst_single_queue_push_one), (gst_multi_queue_loop),
3573 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3574 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3575 (compute_high_id), (gst_single_queue_new):
3576 * plugins/elements/gstmultiqueue.h:
3577 Take the multiqueue lock when updating the fill level so we don't get
3580 After applying a buffer or event on the src pad segment, make sure to
3581 call gst_data_queue_limits_changed() to get the data queue to unblock
3582 and check the filled state again.
3584 Rework the not-linked pad handling so the logic is that not-linked
3585 pads can push as fast as they like, but only so they never get
3586 ahead of any linked pads.
3588 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3589 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3590 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3592 Add a test to check that not-linked pads always stay behind
3597 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
3599 * docs/random/release:
3600 Some updates to the release procedure.
3602 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3604 * gst/gstelementfactory.c: (__gst_element_details_clear):
3605 Microoptimization that saves stunning 80 bytes.
3607 2007-06-25 Stefan Kost <ensonic@users.sf.net>
3609 * docs/plugins/gstreamer-plugins.args:
3610 * docs/plugins/inspect/plugin-coreelements.xml:
3611 * docs/plugins/inspect/plugin-coreindexers.xml:
3612 Update docs with caps info.
3614 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3617 Updated Italian translation.
3619 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3623 Update Vietnamese translations.
3625 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3627 * libs/gst/base/gstbasesink.c:
3628 Remove unused signal enum.
3630 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3632 * docs/gst/gstreamer-sections.txt:
3634 * gst/gstutils.c: (gst_type_register_static_full):
3635 Beef up and include the docs for gst_type_register_static_full and
3636 gst_element_class_set_details_simple and add the API keyword
3639 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3641 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3642 (update_time_level), (gst_single_queue_push_one),
3643 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3644 (single_queue_overrun_cb), (single_queue_underrun_cb),
3645 (single_queue_check_full):
3646 Fix setting max-* properties after adding queues.
3647 Use IS_FILLED for checking visible items.
3648 Signal overrun if multiple queues overrun.
3649 Add extra debug output.
3650 Patch by: Wim Taymans <wim@fluendo.com>
3652 2007-06-21 Stefan Kost <ensonic@users.sf.net>
3654 * gst/gstelement.c: (gst_element_class_set_details_simple):
3656 * gst/gstutils.c: (gst_type_register_static_full):
3658 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3659 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3660 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3661 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3662 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3663 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3664 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3665 * plugins/elements/gstidentity.c: (gst_identity_base_init):
3666 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3667 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3668 (apply_buffer), (gst_queue_chain):
3669 * plugins/elements/gsttee.c: (gst_tee_base_init):
3670 * plugins/elements/gsttypefindelement.c:
3671 (gst_type_find_element_base_init),
3672 (gst_type_find_element_class_init):
3673 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3674 API: add gst_type_register_static_full
3675 API: add gst_element_class_set_details_simple
3677 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3679 * docs/pwg/advanced-types.xml:
3680 Fix typo in iana.org URI.
3682 2007-06-19 Andy Wingo <wingo@pobox.com>
3684 * tests/check/pipelines/simple-launch-lines.c
3685 (test_state_change_returns): Enable pull-mode tests now that
3686 basesink has been fixed.
3688 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3689 Changed from gst_base_sink_is_prerolled, reversing the sense of
3690 the return value. Returns FALSE also if the sink is in pull mode,
3691 in which case it needs no preroll.
3692 (gst_base_sink_query, gst_base_sink_change_state): Update for
3693 needs_preroll change.
3694 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3695 chaining up, in which we return SUCCESS directly if we activated
3696 in pull mode instead of ASYNC. Involves countering an async_start
3697 message sent before chaining up; not sure if this is correct, in
3698 an ideal world we only send async-start when activating in push
3701 * tests/check/pipelines/simple-launch-lines.c
3702 (test_state_change_returns): New test, partially disabled until
3705 2007-06-19 Wim Taymans <wim@fluendo.com>
3707 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3708 (gst_multi_queue_sink_event):
3711 2007-06-19 Wim Taymans <wim@fluendo.com>
3713 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3714 (gst_bin_change_state_func), (bin_push_state_continue),
3715 (bin_handle_async_start), (bin_handle_async_done),
3716 (gst_bin_handle_message_func):
3717 Move the common code for posting state-change messages into
3719 Broadcast the state signal after we posted the messages.
3720 Mark the bin as busy when it's doing a state-change.
3721 Make sure async-start/done messages don't interfere with the bin's
3722 state when it's busy.
3723 After the state change, let the bin check which elements completed the
3724 state change while it was busy so that it can update its state.
3726 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
3728 * docs/random/release:
3729 Add a note about updating the doap file to the release checklist
3731 2007-06-18 Wim Taymans <wim@fluendo.com>
3733 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3734 (gst_single_queue_push_one), (gst_multi_queue_chain),
3735 (gst_multi_queue_sink_event):
3736 Make sure we don't reference the buffer/event after we have given away
3737 ownership in the queue.
3739 2007-06-18 Wim Taymans <wim@fluendo.com>
3741 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3742 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3743 Update queue state _after_ adding the item in the queue because else we
3744 could end up being full without the element added yet.
3746 2007-06-18 Wim Taymans <wim@fluendo.com>
3748 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3749 (gst_bin_remove_func), (gst_bin_get_state_func),
3750 (gst_bin_element_set_state), (gst_bin_continue_func),
3751 (bin_push_state_continue), (bin_handle_async_start),
3752 (bin_handle_async_done), (gst_bin_handle_message_func):
3754 Immediatly commit the toplevel bin state when receiving an async-done
3755 message. This enables us to avoid spawning a thread to commit the state
3756 in some common cases and it also avoids some races.
3757 Avoid spawning a state thread when adding/removing async elements to a
3758 toplevel bin. Instead we immediatly update the bin state.
3759 Get rid of iterating all the children when getting the state in the bin
3760 because it is now always up-to-date.
3761 Fix bug where locked elements would always return _SUCCESS even it they
3762 returned NO_PREROLL before being locked.
3763 Fix the order of the state_change, async-start/done messages that was
3764 sometimes incorrect.
3765 Mark the state_dirty field as deprecated, we don't need it anymore as we
3766 are always up-to-date.
3768 * gst/gstelement.c: (gst_element_get_state_func),
3769 (gst_element_continue_state):
3770 Small debug inprovements.
3771 Return the previous element state return when nothing is pending instead
3772 of blindly returning SUCCESS.
3774 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3776 Add a whole bunch of new testcases.
3778 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
3782 Update translations.
3784 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
3787 Fix typo in the docs.
3789 2007-06-15 Wim Taymans <wim@fluendo.com>
3791 * docs/libs/gstreamer-libs-sections.txt:
3792 Add docs for new methods.
3794 2007-06-15 Wim Taymans <wim@fluendo.com>
3796 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3797 (gst_multi_queue_item_new):
3798 Don't use GSlice because we don't depend on >= 2.10 yet.
3800 2007-06-15 Wim Taymans <wim@fluendo.com>
3802 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3803 (update_time_level), (apply_segment), (apply_buffer),
3804 (gst_single_queue_push_one), (gst_multi_queue_item_new),
3805 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3806 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3807 (single_queue_underrun_cb), (single_queue_check_full):
3808 Remove debug printf.
3810 2007-06-15 Wim Taymans <wim@fluendo.com>
3812 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3813 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3814 (gst_data_queue_set_flushing), (gst_data_queue_push),
3815 (gst_data_queue_pop), (gst_data_queue_drop_head),
3816 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3817 * libs/gst/base/gstdataqueue.h:
3819 Added methods to get the current levels and to inform the queue that the
3820 'full' limits changed.
3822 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3823 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3824 (gst_single_queue_flush), (update_time_level), (apply_segment),
3825 (apply_buffer), (gst_single_queue_push_one),
3826 (gst_multi_queue_item_steal_object),
3827 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3828 (gst_multi_queue_loop), (gst_multi_queue_chain),
3829 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3830 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3831 (gst_multi_queue_src_query), (single_queue_overrun_cb),
3832 (single_queue_underrun_cb), (single_queue_check_full),
3833 (gst_single_queue_new):
3834 Keep track of time in the queue by measuring the difference between
3835 running_time on input and output. This gives more accurate results and
3836 can compensate for segments correctly.
3837 Make a queue by default only 5 buffers deep. We will now increase the
3838 buffer size depending on the filledness of the other queues.
3839 Factor out commong flush code.
3840 Make sure we don't add additional refcounts to buffers when we can avoid
3842 Propagate GstFlowReturn differently.
3843 Use GSlice for intermediate GstMultiQueueItems.
3845 Resize queues on over and underruns based on filled level of other
3847 When checking if the queue is filled, prefer to measure in time if we
3848 can and fall back to bytes when no time is known.
3850 * plugins/elements/gstqueue.c:
3853 2007-06-15 Wim Taymans <wim@fluendo.com>
3855 * libs/gst/base/gstbasetransform.c:
3856 (gst_base_transform_sink_event):
3857 Work around the brokenness of the event vmethod in basetransform. Prefer
3858 to return TRUE when the subclass returned FALSE (meaning don't forward
3861 * libs/gst/base/gstbasetransform.h:
3864 2007-06-15 Wim Taymans <wim@fluendo.com>
3866 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3867 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3868 (gst_base_src_default_query), (gst_base_src_get_range),
3869 (gst_base_src_start):
3870 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3873 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3875 * docs/pwg/advanced-types.xml:
3876 Added more formats to caps table.
3878 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3880 * tools/gst-launch.c: (main):
3881 Remove crufy code. GOption does not need this workaround.
3883 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3885 * libs/gst/controller/gstcontroller.c:
3886 (gst_controlled_property_set_interpolation_mode):
3887 Fix wrong getter for enums in controller.
3889 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3891 * libs/gst/check/gstcheck.c: (gst_check_init):
3892 Intercept criticals and warnings in the Gst-Phonon log domain, so
3893 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3896 2007-06-14 Edward Hervey <edward@fluendo.com>
3898 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3899 Since this file doesn't include "gst.h" it will not go through the
3900 macros that disable GST_LOG if debugging was disabled.
3902 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3904 * libs/gst/check/Makefile.am:
3905 * libs/gst/check/gstcheck.h:
3906 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3907 * pkgconfig/gstreamer-check.pc.in:
3908 Ugly 'fix' for the controller unit test on the p5 bot: in
3909 fail_unless_equals_float() check whether the values are 'almost
3910 equal' by allowing a small absolute error, which should be good
3911 enough for our use cases (normal numbers and values close to 0).
3912 Proper fixage left to floating point arithmetic aficionados.
3914 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3916 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3917 (gst_base_sink_render_object), (gst_base_sink_get_position):
3918 Add two breaks thats where missing.
3920 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3922 * docs/libs/gstreamer-libs-sections.txt:
3923 * libs/gst/check/gstcheck.h:
3924 API: add fail_unless_equals_float() and assert_equals_float().
3925 Add documentation for some of the macros.
3927 * tests/check/libs/controller.c: (GST_START_TEST):
3928 Use newly-added asserts.
3930 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3932 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3933 Show the caps change in the log to help spotting the case of not
3934 exactly matching caps.
3936 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3938 * docs/pwg/building-boiler.xml:
3939 Fix typos, spotted by Thijs Vermeir (#447190).
3941 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3943 * docs/plugins/tmpl/.cvsignore:
3944 Ignore file to keep the buildbots happy
3946 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3948 * docs/plugins/Makefile.am:
3949 * docs/plugins/gstreamer-plugins-docs.sgml:
3950 * docs/plugins/gstreamer-plugins-sections.txt:
3951 Pull fdsink into the docs too.
3953 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
3955 * libs/gst/controller/gstinterpolation.c:
3956 Actually use the new functions with min/max checks for the trigger and
3957 none interpolation modes for get() and get_value_array() instead of
3960 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
3962 * libs/gst/controller/gstcontroller.c:
3963 (gst_controlled_property_free):
3964 Unset the minimum and maximum GValues when freeing the corresponding
3965 GstControllerProperty struct.
3967 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
3969 * libs/gst/controller/gstcontroller.c:
3970 (gst_controlled_property_new):
3971 * libs/gst/controller/gstcontrollerprivate.h:
3972 * libs/gst/controller/gstinterpolation.c:
3973 (gst_controlled_property_find_control_point_node),
3974 (interpolate_none_get), (interpolate_none_get_enum_value_array),
3975 (interpolate_none_get_string_value_array),
3976 (interpolate_trigger_get),
3977 (interpolate_trigger_get_enum_value_array),
3978 (interpolate_trigger_get_string_value_array):
3979 Protect against values larger or smaller than the minimum or maximum
3980 allowed value for the property when using values that can be compared.
3982 Optimize trigger interpolator a bit by taking the last requested value
3983 into account instead of always looping through the complete list.
3985 Fix coding style a bit, everywhere else we use "return foo" instead
3988 * tests/check/libs/controller.c: (GST_START_TEST),
3989 (gst_controller_suite):
3990 Add unit test for the protection against too large or too small
3993 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
3995 * docs/random/slomo/controller.txt:
3996 Add some thoughts about the future of the controller.
3998 2007-06-08 Wim Taymans <wim@fluendo.com>
4000 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4001 Don't overflow in retimestamping code.
4003 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4005 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4006 Use gst_util_guint64_to_gdouble for conversions.
4007 * win32/common/libgstreamer.def:
4008 Add new exported functions.
4010 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4013 Small docs addition.
4015 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4018 Remove that test line again.
4020 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4023 Test commit mail sending.
4025 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4028 Fix typo and test commit mail sending.
4030 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4032 * tests/examples/controller/audio-example.c:
4033 Improve comment and test commit mail sending.
4035 2007-06-07 Wim Taymans <wim@fluendo.com>
4037 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4038 (gst_bin_remove_func), (gst_bin_element_set_state),
4039 (bin_handle_async_start), (bin_handle_async_done),
4040 (gst_bin_handle_message_func):
4041 Add helper function to find messages.
4042 Generate the async-done messages together with the state change
4044 Small cleanups in handling toplevel bins.
4046 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4048 * libs/gst/base/gstdataqueue.c:
4049 * libs/gst/base/gstdataqueue.h:
4050 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4051 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4052 (gst_multi_queue_sink_event):
4053 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4054 Fix multiqueue leaking buffers and events when downstream or the
4055 queue are flushing. Make refcounting assumptions explicit and
4056 document them (shouldn't break existing code that uses it other than
4057 maybe leak miniobjects, but that already happens anyway). Add unit
4058 test for the most common flushing case. Fixes #423700.
4060 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4062 * libs/gst/controller/gstcontroller.c:
4063 Clarify docs: The get_all, get_value_array(s) functions
4064 don't modify the GObject properties.
4066 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4068 * libs/gst/controller/gstcontroller.c:
4069 (gst_controlled_property_set_interpolation_mode),
4070 (gst_controlled_property_prepend_default),
4071 (gst_controlled_property_new), (gst_controller_set_unlocked),
4072 (gst_controller_set), (gst_controller_set_from_list),
4073 (gst_controller_unset), (gst_controller_unset_all):
4074 * libs/gst/controller/gstcontrollerprivate.h:
4075 * libs/gst/controller/gstinterpolation.c:
4076 Factor out the 'set' logic into gst_controller_set_unlocked for the
4077 gst_controller_set and gst_controller_set_from_list functions.
4079 To make life of the interpolators easier always add a control point
4080 at timestamp zero with the default value.
4082 In the linear interpolator make things more obvious by better variable
4085 Implement cubic interpolation mode (by using a natural cubic spline)
4086 and map the quadratic interpolation mode to this too (as quadratic
4087 doesn't make much sense, see discussion on the list).
4089 * tests/check/libs/controller.c: (GST_START_TEST),
4090 (gst_controller_suite):
4091 Add unit test for the cubic interpolation mode and check everywhere
4092 if the interpolation mode could be set as expected.
4094 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4096 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4097 Don't use GLib-2.10 functions, we still depend on
4098 GLib-how-old-is-it-again-2.8.
4100 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4102 * docs/gst/gstreamer-sections.txt:
4106 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4107 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4108 (_gst_param_fraction_values_cmp),
4109 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4110 * gst/gstparamspecs.h:
4112 * tests/check/Makefile.am:
4113 * tests/check/gst/.cvsignore:
4114 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4115 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4116 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4117 (GST_START_TEST), (gst_param_spec_suite):
4118 API: add GstParamSpecFraction, so elements can have fraction
4119 properties without lots of painful string parsing (#444648).
4121 2007-06-05 Wim Taymans <wim@fluendo.com>
4123 * gst/gstobject.c: (gst_object_class_init):
4124 Fix signal signature.
4127 Add small clarification in the api docs.
4129 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4130 States are protected with object lock.
4132 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4135 I should probably be listed as an author by now.
4137 * docs/random/release:
4138 Update the release doc
4140 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4143 Make docs for gst_value_compare() mention return enums that
4146 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4151 === release 0.10.13 ===
4153 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4156 releasing 0.10.13, "With or without you"
4158 2007-05-25 Wim Taymans <wim@fluendo.com>
4160 * gst/gstbin.c: (bin_handle_async_done):
4161 Make sure that the child bin stops after completing the async state
4162 change so that the parent can continue the state change to PLAYING.
4165 2007-05-25 Wim Taymans <wim@fluendo.com>
4167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4168 (unref_data), (gst_collect_pads_remove_pad),
4169 (gst_collect_pads_check_pads):
4170 Use additional refcounting to avoid crashes when dynamically adding and
4171 removing pads. Fixes #420206.
4173 2007-05-24 Wim Taymans <wim@fluendo.com>
4175 * tools/gst-launch.c: (event_loop):
4176 When buffering goes from a two digit to a single digit number, make sure
4177 to remove the old second digit by writing a blank over it.
4179 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4181 * libs/gst/base/gstdataqueue.c:
4182 Eliminate tabs and trailing comma in enum list; fix some typos.
4184 2007-05-24 Wim Taymans <wim@fluendo.com>
4186 * tests/check/gst/gstbin.c: (GST_START_TEST):
4187 Allow refcount of 3 and 4 because some state thread might still be busy
4190 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4192 * plugins/elements/Makefile.am:
4193 * plugins/elements/gstmultiqueue.h:
4194 * plugins/elements/gstqueue.h:
4195 These are not installed headers, no need for padding.
4197 2007-05-24 Wim Taymans <wim@fluendo.com>
4199 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4200 (gst_bin_continue_func):
4201 Enable latency for next release.
4202 Restore STATE_LOCK around recalc_state that was left out during the
4203 rewrite and could result in racy behaviour when _get_state and
4204 recalc_state are run concurrently. See #440463.
4206 2007-05-23 Wim Taymans <wim@fluendo.com>
4208 * tests/check/gst/gstsystemclock.c: (store_callback),
4210 Improve test_async_order to also work when both timers are already
4211 expired when we get scheduled to check it.
4213 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4215 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4216 (gst_bin_set_property), (gst_bin_get_property),
4217 (gst_bin_remove_func), (gst_bin_handle_message_func):
4219 'private' is a c++ keyword, let's not use that in header files,
4220 otherwise c++ compilers will throw a tantrum.
4222 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4224 * plugins/elements/gstelements.c:
4225 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4226 (gst_file_sink_get_current_offset):
4227 * plugins/indexers/gstindexers.c: (plugin_init):
4228 Use #ifdef for HAVE_XYZ for consistency.
4230 * tests/check/Makefile.am:
4231 * tests/check/elements/.cvsignore:
4232 * tests/check/elements/filesink.c: (setup_filesink),
4233 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4234 Add some unit tests for filesink.
4236 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4238 Patch by: Mark Nauwelaerts <manauw at skynet be>
4240 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4241 (gst_file_sink_query), (gst_file_sink_do_seek),
4242 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4243 * plugins/elements/gstfilesink.h:
4244 Fix position reporting; rename data_written member to current_pos to
4245 reflect its real meaning (fixes #412648).
4247 2007-05-22 Edward Hervey <edward@fluendo.com>
4249 * docs/gst/gstreamer-sections.txt:
4250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4251 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4252 (gst_bin_remove_func), (gst_bin_handle_message_func):
4254 Add a property for bins that handle the state change of their childs.
4257 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4259 * libs/gst/controller/gstinterpolation.c:
4260 Use an array of the correct type when using _get_value_array with
4261 linear interpolation.
4263 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4265 * gst/gstelement.c (gst_element_requires_clock,
4266 gst_element_provides_clock, gst_element_request_pad,
4267 gst_element_class_set_details, gst_element_class_set_details_simple,
4268 gst_element_default_send_event, gst_element_abort_state,
4269 gst_element_continue_state, gst_element_set_state,
4270 gst_element_set_state_func, iterator_activate_fold_with_resync):
4271 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4272 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4273 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4274 gst_pad_get_range, gst_pad_pull_range):
4275 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4276 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4277 GstPadActivateModeFunction, GstPadChainFunction,
4278 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4279 GstPadFixateCapsFunction, GstPadTemplate):
4280 * gst/gstpipeline.c (gst_pipeline_change_state,
4281 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4282 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4283 gst_pipeline_get_delay):
4284 Whitespace and docs fixes.
4286 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4288 * libs/gst/controller/gstinterpolation.c:
4289 (interpolate_trigger_get_enum_value_array),
4290 (interpolate_trigger_get_string_value_array):
4291 Add support for retrieving value arrays when using the trigger
4294 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4296 * libs/gst/controller/gstcontroller.c:
4297 (gst_controller_get_value_array):
4298 * libs/gst/controller/gstcontroller.h:
4299 Clarify the docs of gst_controller_get_value_array(): The array where
4300 the values should be written to must be allocated as there seems to be
4301 no way to get the size of a random GType. This doesn't change any
4302 behaviour. Also fix some typos all over the place and remove an unused,
4303 commented function that is not necessary as g_object_set() could be
4305 * tests/check/libs/controller.c: (GST_START_TEST),
4306 (gst_controller_suite):
4307 Add unit test for gst_controller_get_value_array().
4309 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4311 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4313 Disable part of the gst_buffer_try_new_and_alloc test, because
4314 it can happily succeed on 64-bit systems where there's more address
4317 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4319 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4320 Add unit test for the improved caps checking from bug #421543.
4322 2007-05-21 Wim Taymans <wim@fluendo.com>
4324 * docs/design/part-synchronisation.txt:
4327 * gst/gstbin.c: (gst_bin_query):
4328 * plugins/elements/gstqueue.c: (apply_segment):
4334 2007-05-21 Wim Taymans <wim@fluendo.com>
4336 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4337 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4338 (gst_pad_configure_src):
4339 Added simple version of improved caps checking. It was previously
4340 assumed that a setcaps function would check the validity of the caps but
4341 people prefer us to check caps against the template automatically.
4344 2007-05-21 Wim Taymans <wim@fluendo.com>
4346 * libs/gst/base/gstbasetransform.h:
4347 Fix macro for locking/unlocking the transform lock.
4349 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
4351 * docs/plugins/tmpl/.cvsignore:
4354 2007-05-18 Edward Hervey <edward@fluendo.com>
4356 * plugins/elements/gstqueue.c: (gst_queue_loop):
4357 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4358 for the subtle art of warning a potentially blocking thread that it
4359 should check the source pad return value, and relay the information
4362 2007-05-18 Edward Hervey <edward@fluendo.com>
4364 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4365 Release the queue lock !
4367 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4369 * docs/libs/gstreamer-libs-sections.txt:
4370 Add the two new controller functions to the appropiate places.
4372 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4374 reviewed by: Stefan Kost <ensonic@users.sf.net>
4376 * libs/gst/controller/gstcontroller.c:
4377 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4378 (_gst_controller_get_property), (_gst_controller_set_property),
4379 (_gst_controller_init), (_gst_controller_class_init):
4380 * libs/gst/controller/gstcontroller.h:
4381 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4382 (gst_object_get_control_rate), (gst_object_set_control_rate):
4383 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4384 Add API that provides sync suggestion timestamps for elements that
4385 call gst_object_sync_values() from which those elements can subdivide
4386 their processing loop to get the best results for the controlled
4387 properties. For now it just suggests last_sync + control_rate as
4388 new timestamp but this will be improved in the future.
4390 While doing that change the control-rate property to a GstClockTime
4391 from guint and change it's meaning from samples to nanoseconds as
4392 the GstController doesn't know anything about sampling rate. Strictly
4393 speaking this breaks ABI but as the control-rate property didn't do
4394 anything in the past and as such couldn't be used this should be no
4397 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4399 reviewed by: Stefan Kost <ensonic@users.sf.net>
4401 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4402 (gst_controller_unset_all):
4403 * libs/gst/controller/gstcontrollerprivate.h:
4404 * libs/gst/controller/gstinterpolation.c:
4405 (gst_controlled_property_find_control_point_node):
4406 Save last synced value from the list to continue searching from there
4407 in future syncs. This speeds everything up a bit.
4409 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4411 reviewed by: Stefan Kost <ensonic@users.sf.net>
4413 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4414 (gst_control_point_find), (gst_controlled_property_new),
4415 (gst_control_point_free), (gst_controlled_property_free),
4416 (gst_controller_set), (gst_controller_set_from_list),
4417 (gst_controller_unset), (gst_controller_unset_all),
4418 (gst_controller_sync_values):
4419 * libs/gst/controller/gstcontroller.h:
4420 * libs/gst/controller/gstcontrollerprivate.h:
4421 * libs/gst/controller/gstinterpolation.c:
4422 (gst_controlled_property_find_control_point_node),
4423 (interpolate_none_get), (interpolate_trigger_get):
4424 Add a new private GstControlPoint struct which "inherits" from
4425 GstTimedValue to allow different interpolators to store internal
4426 values next to each control point. From the outside everything is
4427 still a GstControlPoint so we don't loose binary compatibility.
4428 Also fixup all the GValue handling to not leak GValues or list nodes.
4429 * tests/check/libs/controller.c: (GST_START_TEST):
4430 Free the list nodes and GValues in the controller_misc test.
4432 2007-05-17 Edward Hervey <edward@fluendo.com>
4437 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
4439 * gst/gstplugin.c: (gst_plugin_load_file):
4440 If we fail to load a plugin because of unresolved symbols or missing
4441 libraries and spew a warning to stderr, we may just as well mention
4442 which plugin it was that failed to load.
4444 2007-05-13 David Schleef <ds@schleef.org>
4446 * docs/Makefile.am: the gtk-doc makefile snippet correctly
4447 handles the case when ENABLE_GTK_DOC is false, and installs
4448 the prebuilt documentation. So gtk-doc subdirs are
4449 unconditionally enabled. Fixes: #349099.
4451 2007-05-13 David Schleef <ds@schleef.org>
4453 * gst/gstutils.h: Reword some documentation.
4455 2007-05-12 David Schleef <ds@schleef.org>
4457 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4458 do anything with the passed "module" parameter, so remove it.
4459 Allows removal of additional vestigal code.
4461 2007-05-12 David Schleef <ds@schleef.org>
4464 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4465 Switch to using g_stat() because it's more portable.
4467 2007-05-12 David Schleef <ds@schleef.org>
4470 Add GST_DISABLE_OPTION_PARSING, in order to disable option
4471 parsing for embedded systems.
4472 * gst/gstelementfactory.c:
4473 Allow gst_element_register() to be called with plugin==NULL.
4474 Did nobody notice that static elements were broken?
4476 2007-05-12 Wim Taymans <wim@fluendo.com>
4478 * tools/gst-launch.c: (event_loop):
4479 Give more interesting info when buffering starts and stops.
4480 Fix case where buffering starts but we fail to update the buffering flag
4481 because the target state is not PLAYING.
4483 2007-05-12 Wim Taymans <wim@fluendo.com>
4485 * plugins/elements/gstqueue.c: (gst_queue_init),
4486 (gst_queue_finalize), (update_time_level), (apply_segment),
4487 (apply_buffer), (gst_queue_locked_flush),
4488 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4489 (gst_queue_handle_sink_event), (gst_queue_chain),
4490 (gst_queue_push_one), (gst_queue_loop):
4491 * plugins/elements/gstqueue.h:
4492 Refactor an cleanup queue a bit.
4493 Do better time level calculations that also work when the srcpad is not
4495 Remove some unneeded debug lines.
4497 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4498 Added testcase for time level measurement.
4499 Try to make some stuff more racefree.
4501 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4503 * gst/gsturi.c: (gst_element_make_from_uri):
4504 Don't leak plugin feature.
4506 * tests/check/Makefile.am:
4507 * tests/check/gst/.cvsignore:
4508 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4509 Add brain-dead unit test.
4511 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4513 Patch by: Jeroen Wouters <woutersj at gmail com>
4515 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4516 Treat protocol strings in a case-insensitive way (#437563).
4518 2007-05-11 Michael Smith <msmith@fluendo.com>
4520 * gst/gstplugin.c: (gst_plugin_load_file):
4521 * gst/gstregistry.c: (gst_registry_scan_path_level):
4522 Don't print a g_warning for any failure to load a shared object.
4523 Instead, push this down into gstplugin.c, and warn _only_ if we
4524 failed to open the module (i.e. failure to link).
4525 Avoids warnings on normal, working, non-plugin .so files.
4527 2007-05-11 Stefan Kost <ensonic@users.sf.net>
4529 * gst/gstplugin.c (gst_plugin_load_file):
4530 * gst/gstregistry.c (GST_CAT_DEFAULT,
4531 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4532 Print a g_warning if there was an error when loading a plugins during
4533 registry scan. The shuld help beginners starting with gst-plugin
4536 2007-05-10 Wim Taymans <wim@fluendo.com>
4538 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4539 (update_time_level), (gst_queue_locked_flush),
4540 (gst_queue_handle_sink_event), (gst_queue_chain),
4541 (gst_queue_push_one), (gst_queue_loop):
4542 * plugins/elements/gstqueue.h:
4543 Be smarter when calculating the current amount of data in the queue by
4544 measuring the difference between start and end timestamps (in running
4545 time) inside the queue. Fixes #432876.
4546 API: GstQueue::pushing to notify elements that we are pushing data again
4547 since the running signal is rather broken for this purpose.
4549 2007-05-10 Stefan Kost <ensonic@users.sf.net>
4551 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4552 gst_queue_base_init, gst_queue_init):
4555 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
4557 * win32/common/libgstreamer.def:
4558 Add new exported functions.
4559 * win32/vs6/grammar.dsp:
4560 Use grammar pre-generated files.
4562 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4564 Based on patch by: Peter Kjellerstedt <pkj at axis com>
4567 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4569 * gst/gstutils.c: (gst_parse_bin_from_description):
4571 Maintain API and ABI when --disable-parse is used. Now that
4572 we have an appropriate error code, we can just return NULL and the
4573 appropriate error when gst_parse_launch() is used despite it having
4574 been disabled (#342564).
4576 * tests/check/Makefile.am:
4577 * tests/check/pipelines/.cvsignore:
4578 * tests/check/pipelines/parse-disabled.c:
4579 Make sure these functions exist and return NULL plus a GError when
4580 --disable-parse is used.
4582 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4584 * tests/benchmarks/complexity.c: (main):
4585 * tests/benchmarks/mass-elements.c: (main):
4586 Set a good example and don't leak messages.
4588 2007-05-06 Stefan Kost <ensonic@users.sf.net>
4590 * docs/gst/Makefile.am:
4591 * docs/libs/Makefile.am:
4592 Correct fixxrefs options.
4594 * docs/plugins/Makefile.am:
4595 * docs/plugins/gstreamer-plugins-docs.sgml:
4596 * docs/plugins/gstreamer-plugins-sections.txt:
4597 * plugins/elements/Makefile.am:
4598 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4599 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4600 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4601 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4602 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4603 _GstCapsFilterClass, trans_class):
4604 * plugins/elements/gstelements.c (name, rank, type, _elements):
4605 * plugins/elements/gstidentity.c
4606 (gst_identity_check_imperfect_timestamp,
4607 gst_identity_check_imperfect_offset):
4608 Document capsfilter and add doc-blurb to identity.
4610 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
4612 * libs/gst/controller/gstcontroller.c:
4613 (gst_controlled_property_set_interpolation_mode):
4614 * libs/gst/controller/gstinterpolation.c:
4615 Don't crash if someone tries to set an interpolation mode that
4616 is invalid or that isn't supported yet. Fixes #422295.
4618 * tests/check/libs/controller.c: (GST_START_TEST),
4619 (gst_controller_suite):
4620 Add a test case for the above.
4622 2007-05-03 Edward Hervey <edward@fluendo.com>
4624 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4625 Properly set the last_stop position on GstSegment. This will only happen
4626 if there is a buffer to push out.
4628 2007-05-03 Wim Taymans <wim@fluendo.com>
4630 * libs/gst/base/gstbasetransform.c:
4631 (gst_base_transform_buffer_alloc):
4632 always_in_place does not mean that the sink and source caps are the
4633 same! Make sure we don't blindly proxy the buffer_alloc in this case.
4635 2007-05-03 Wim Taymans <wim@fluendo.com>
4637 * docs/libs/gstreamer-libs-sections.txt:
4638 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4639 (gst_base_src_default_query), (gst_base_src_get_range):
4640 * libs/gst/base/gstbasesrc.h:
4641 API: gst_base_src_query_latency(). Added method so that subclasses can
4642 easily get the latency values of the base source class.
4644 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
4646 * tools/gst-inspect.c (print_implementation_info):
4649 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
4651 * tools/Makefile.am:
4652 * tools/gst-launch.1.in:
4653 Don't create a customised man page based on the host architecture,
4654 describe the default registry path generically. That way the man
4655 page is the same for all architectures and packagers have one
4656 multilib issue less to deal with. Fixes #434926.
4658 2007-05-02 Wim Taymans <wim@fluendo.com>
4661 Fix documentation as spotted by rg on IRC.
4663 2007-04-29 Stefan Kost <ensonic@users.sf.net>
4666 Improve docs for gst_element_{link,unlink}.
4668 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
4670 * docs/design/part-events.txt:
4671 * docs/design/part-overview.txt:
4675 * libs/gst/base/gstbasesink.c:
4676 Typo fixes; minor docs addition.
4678 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4680 * docs/gst/gstreamer-sections.txt:
4681 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4682 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4684 API: Add gst_uri_protocol_is_supported(), which checks if a sink
4685 or src that supports a given URI protocol exists.
4687 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4689 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4690 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4691 Set the location to NULL if "file://" is set as URI. Otherwise
4692 some random previous URI would still be set if "file://" is
4693 set on an already used filesink/filesrc.
4695 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4697 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4698 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4699 Special case the "file://" URI as as this is used by some
4700 applications to test with gst_element_make_from_uri if there's
4701 an element that supports the URI protocol.
4702 Also move the g_path_is_absolute() check for the location part
4703 of the URI to also check this for "file://localhost/bla" URIs.
4705 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
4707 * docs/gst/gstreamer-sections.txt:
4708 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4710 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4712 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4714 2007-04-26 Stefan Kost <ensonic@users.sf.net>
4716 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4717 (gst_registry_binary_load_pad_template),
4718 (gst_registry_binary_load_plugin),
4719 (gst_registry_binary_read_cache):
4720 * gst/gstregistrybinary.h:
4721 Implement no-mmap alternative for registry reading. Do code cleanups.
4722 Add more comments about avoiding strdups for all text data. Comments
4725 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4727 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4728 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4729 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4730 Comment structs and reformat to fix the build (that stuff should go
4731 into a priv. header).
4733 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4735 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4736 (gst_registry_binary_load_feature):
4737 * gst/gstregistrybinary.h:
4738 Refactor so that we can implement multiple features. Add support for
4739 TypeFindFactory features.
4741 2007-04-24 Stefan Kost <ensonic@users.sf.net>
4743 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4746 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4748 2007-04-23 Stefan Kost <ensonic@users.sf.net>
4750 * gst/gstbin.c: (gst_bin_element_set_state),
4751 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4752 (bin_handle_async_done), (gst_bin_handle_message_func):
4753 Fix build with --gst-disable-gst-debug
4755 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
4757 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4758 Make sure streaming has finished before calling the ::stop() vfunc,
4759 since that vfunc might clear state which is being used in the
4760 streaming thread. This fixes a race that caused crashes in
4761 audioresample when shutting down a pipeline (#420106).
4763 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4765 * docs/gst/gstreamer-sections.txt:
4766 That was one byte missing.
4768 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4771 * docs/gst/gstreamer-sections.txt:
4773 * gst/gstconfig.h.in:
4774 * gst/gstobject.c: (gst_object_class_init),
4775 (gst_signal_object_class_init):
4777 2nd attempt to have a xml-less build as a joined effort of #413123
4780 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4782 * docs/design/draft-tagreading.txt:
4783 Added open issues/thoughts to draft.
4785 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4787 * gst/parse/grammar.tab.pre.c:
4788 * gst/parse/grammar.tab.pre.h:
4789 * gst/parse/lex._gst_parse_yy.pre.c:
4790 Update the prebuild parser sources.
4792 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4794 * gst/parse/Makefile.am:
4795 And now fix the building of the flex sources. Now everything should
4798 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4800 * gst/parse/Makefile.am:
4801 Now hopefully fix the build failures by setting proper rule
4802 dependencies and moving instead of copying.
4804 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4806 * tests/benchmarks/complexity.gnuplot:
4807 * tests/benchmarks/complexity.scm:
4808 * tests/benchmarks/mass-elements.gnuplot:
4809 * tests/benchmarks/mass-elements.scm:
4810 Total licensification.
4812 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4814 * gst/parse/Makefile.am:
4815 Fix the build by correcting the rule that gave wrong files to flex.
4817 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4819 * tests/benchmarks/complexity.c:
4820 * tests/benchmarks/mass-elements.c:
4821 Change licence to LGPL as granted by Benjamin and Andy.
4823 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4825 * gst/parse/Makefile.am:
4826 Add correct grammar.tab.h dependency if compiling without new enough
4827 flex. Fixes #431150.
4829 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4831 * gst/parse/Makefile.am:
4832 Fix typo and use outdated sources if the flex/bison sources are newer
4833 than the pregenerated ones but flex is too old. Print a warning in
4834 that case. This should fix the build on the build bot.
4836 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4838 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4839 * gst/parse/Makefile.am:
4840 * gst/parse/grammar.y:
4841 * gst/parse/parse.l:
4842 Make the parser reentrant and recursively callable. This requires flex
4843 >= 2.5.31, for older versions pregenerated sources are used as we
4844 can't bump the build dependency. Finally fixes #349180.
4846 * gst/gstparse.c: (gst_parse_launch):
4847 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4850 * docs/gst/Makefile.am:
4851 * docs/gst/Makefile.am:
4852 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4853 (__gst_parse_strfree), (__gst_parse_link_new),
4854 (__gst_parse_link_free), (__gst_parse_chain_new),
4855 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4856 (gst_parse_element_set), (gst_parse_free_link),
4857 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4858 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4859 (_gst_parse_launch):
4860 * gst/parse/grammar.tab.pre.h:
4861 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4862 (yy_get_previous_state), (yy_try_NUL_trans), (input),
4863 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4864 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4865 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4866 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4867 (_gst_parse_yypop_buffer_state),
4868 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4869 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4870 (yy_fatal_error), (_gst_parse_yyget_extra),
4871 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4872 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4873 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4874 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4875 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4876 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4877 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4878 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4879 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4880 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4881 (_gst_parse_yyfree):
4882 If the installed flex version is too old use pre-generated parser
4883 sources. These pre-generated parser sources are always updated when
4884 the actual flex/bison sources change but require everybody who wants
4885 to change something in the parser to have flex >= 2.5.31 installed.
4887 2007-04-18 Stefan Kost <ensonic@users.sf.net>
4889 * common/m4/gst-gettext.m4:
4890 * gst/gst-i18n-lib.h:
4891 Make --disable-nls to work
4893 2007-04-17 Wim Taymans <wim@fluendo.com>
4895 * gst/gstconfig.h.in:
4896 Revert previous change that broke the build.
4898 2007-04-17 Stefan Kost <ensonic@users.sf.net>
4902 * gst/gstconfig.h.in:
4903 Drop libxml2 dependency when building with
4904 --enable-binary-registry --disable-loadsave
4906 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
4908 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4909 (gst_registry_binary_read_cache):
4910 * gst/gstregistrybinary.h:
4911 Remove unnecessary <sys/mman.h> include which broke the win32 build
4912 with MingW; move includes from header file to .c file, even if the
4913 header file isn't installed; use g_strerror() where UTF-8 strings
4914 are expected, such as in GST_DEBUG messages.
4916 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4918 * docs/libs/gstreamer-libs-sections.txt:
4919 Remove bogus addition for API I didn't end up keeping.
4921 * libs/gst/base/gstbasesrc.h:
4922 Mention Since: 0.10.13 in the documentation.
4924 Add the API keyword to the previous ChangeLog entry.
4926 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4928 * docs/libs/gstreamer-libs-sections.txt:
4929 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4930 (gst_base_src_default_prepare_seek_segment),
4931 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4932 * libs/gst/base/gstbasesrc.h:
4933 Allow basesrc derived classes to execute seeks in other formats
4934 by providing a prepare_seek_segment vmethod. Sub-classes can choose
4935 to prepare the GstSegment in any format that their perform_seek method
4936 will be able to understand. The default implementation provides the
4937 old behaviour of attempting to convert the seek offsets to the
4938 configured native format.
4940 API: basesrc::prepare_seek_segment vmethod.
4942 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4944 * gst/gstelement.c: (gst_element_get_state_func):
4945 Don't output the same debug statement twice.
4947 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4948 (gst_adapter_peek), (gst_adapter_take_buffer):
4949 Optimise the case where we have buffers at the head of the queue that
4950 can be joined quickly (because they're contiguous sub-buffers) by
4951 merging them together rather than copying data out into new memory.
4953 * gst/parse/grammar.y:
4954 * tests/check/pipelines/parse-launch.c:
4955 Fix a leak in an error path for parse_launch, and add a check
4956 for it to the testsuite.
4958 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4960 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4961 Don't deadlock when releasing a pad - gst_pad_set_active may try
4962 and take the multiqueue lock too.
4964 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
4966 * gst/gsterror.c: (_gst_core_errors_init):
4968 API: add GST_CORE_ERROR_DISABLED (#392804).
4970 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4972 * docs/faq/gst-uninstalled:
4973 don't get empty paths on the PATH variables
4974 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4975 Don't format for the uncommon terminal width of 84 characters.
4977 2007-04-06 Wim Taymans <wim@fluendo.com>
4979 * gst/gstpipeline.c: (reset_stream_time),
4980 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4981 Only try to select a different pipeline clock when we went back to
4982 PAUSED and not when we merely got flushed.
4984 2007-04-05 Michael Smith <msmith@fluendo.com>
4986 * tools/gst-launch.1.in:
4987 fractions are better supported in gstreamer than ractions, so
4988 suggest using those.
4990 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
4992 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4996 Added Danish translation.
4998 2007-04-05 Wim Taymans <wim@fluendo.com>
5000 * libs/gst/base/gstbasesink.c:
5001 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5002 Fix leak caused when refusing newsegment after EOS.
5004 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5005 (gst_fake_sink_init), (gst_fake_sink_set_property),
5006 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5007 (gst_fake_sink_render), (gst_fake_sink_change_state):
5008 * plugins/elements/gstfakesink.h:
5009 Add num-buffers property to make the element generate EOS after a
5010 configurable amount of buffers.
5011 API: fakesink::num-buffers property.
5013 * tests/check/elements/fakesink.c: (GST_START_TEST),
5015 Fix GstBus leak in test.
5016 Test for fakesink num-buffers.
5018 2007-04-05 Wim Taymans <wim@fluendo.com>
5020 * libs/gst/base/gstbasesink.c:
5021 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5022 (gst_base_sink_change_state):
5023 Don't accept anything after an EOS, return UNEXPECTED instead.
5025 * tests/check/elements/fakesink.c: (GST_START_TEST),
5027 Unit test for new EOS behaviour.
5029 2007-04-05 Wim Taymans <wim@fluendo.com>
5031 * gst/gstelement.c: (gst_element_get_request_pad):
5032 Make padtemplates also work when they don't contain %s or %d.
5034 2007-04-05 Wim Taymans <wim@fluendo.com>
5036 * docs/gst/gstreamer-sections.txt:
5037 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5038 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5040 Improve _adjust_unlocked() so that it overflows less.
5041 Add gst_clock_unadjust_unlocked to convert from external time to
5042 internal time based on calibration.
5043 Add some more debug.
5044 API: GstClock::gst_clock_unadjust_unlocked()
5046 2007-04-03 Wim Taymans <wim@fluendo.com>
5048 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5050 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5051 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5052 when releasing sink pad. Fixes #425400.
5054 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5056 * docs/random/ensonic/dynlink.txt:
5057 More work on proposal for new core api.
5059 * docs/libs/gstreamer-libs-sections.txt:
5060 * libs/gst/base/gstbasetransform.h:
5061 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5063 * libs/gst/controller/gstcontroller.c:
5064 (on_object_controlled_property_changed),
5065 (gst_controller_sync_values),
5066 (gst_controller_set_interpolation_mode):
5067 * libs/gst/controller/gstcontroller.h:
5068 Less verbose logging add docs for unimplemented parts and correctly
5069 return when using unavailable parts.
5071 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5073 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5074 Move all the debug to the CLOCK category, and associate it with
5077 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5079 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5080 Make take_buffer a bit quicker by removing redundant checks
5081 caused by calling gst_adapter_take.
5083 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5085 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5088 * tests/check/Makefile.am:
5089 * tests/check/elements/.cvsignore:
5090 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5091 (GST_START_TEST), (multiqueue_suite):
5092 Add some dead simple unit tests for the 'multiqueue' element
5093 (some bits don't work yet and are disabled for now).
5095 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5097 * gst/gstelement.c: (gst_element_get_request_pad),
5098 (gst_element_class_get_request_pad_template):
5099 Make gst_element_get_request_pad() create request pads only for
5100 request pad templates and not for, say, sometimes pad templates.
5102 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5104 * docs/design/draft-klass.txt:
5105 Add example that needs more thinking.
5107 * docs/design/draft-missing-plugins.txt:
5108 More thoughts about wrapper plugins.
5110 * docs/random/ensonic/embedded.txt:
5111 * docs/random/ensonic/profiling.txt:
5114 2007-03-25 Wim Taymans <wim@fluendo.com>
5116 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5117 (gst_base_src_loop):
5118 Only push the segment events in the PLAYING state for live sources.
5120 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5122 * gst/gstpipeline.c: (gst_pipeline_change_state):
5123 Modify the clock distribution path in PAUSED->PLAYING so that we
5124 never attempt to choose a new clock unless we're actually leaving
5125 the PAUSED state for the first time. This prevents choosing a
5126 different clock when the state_change gets called for a 2nd time due
5127 to some element doing an async state change.
5129 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5131 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5132 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5133 (gst_pad_chain_unchecked), (gst_pad_push):
5134 Revert last commit. This needs some more thoughts.
5136 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5138 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5139 (gst_pad_chain_unchecked), (gst_pad_push):
5140 Check in set_caps if the caps are compatible with the pad and remove
5141 two functions that are redundant now. Fixes #421543.
5143 2007-03-22 Wim Taymans <wim@fluendo.com>
5145 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5146 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5147 Unref some more to make valgrind happy.
5149 2007-03-22 Wim Taymans <wim@fluendo.com>
5151 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5152 (gst_system_clock_id_wait_jitter),
5153 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5154 Fix anoying regression that survived a few releases. When adding an
5155 async entry while blocking on a sync entry, the sync entry will unblock
5156 but still be busy, so it should continue to wait instead of returning
5158 Add some comments here and there.
5160 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5161 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5162 Add testcase for this.
5164 2007-03-22 Wim Taymans <wim@fluendo.com>
5166 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5167 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5168 WRONG_STATE and can silently pause the task. All other cases should
5171 2007-03-22 Wim Taymans <wim@fluendo.com>
5173 Patch by: Ville Syrjala <syrjala at sci dot fi>
5175 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5176 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5179 2007-03-21 Michael Smith <msmith@fluendo.com>
5181 * docs/pwg/advanced-types.xml:
5182 Fix some errors in the typefinding docs pointed out on irc.
5184 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5186 * libs/gst/base/gstbasesrc.c:
5187 Clarify FIXME comment in the face of having added unlock_stop()
5189 2007-03-21 Wim Taymans <wim@fluendo.com>
5191 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5192 Prepare for release where we warn against possible app breakage in the
5193 case of live pipelines along with an env var to enable/disable live
5194 preroll mode (GST_COMPAT=[no-]live-preroll).
5196 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5198 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5199 So we should use correct constants for checking for None offset.
5201 2007-03-20 Wim Taymans <wim@fluendo.com>
5203 * docs/design/part-block.txt:
5204 Mention the fact that the newly switched element should be set to at
5207 2007-03-20 Wim Taymans <wim@fluendo.com>
5210 Fix compilation with registry disabled as spotted by Saur.
5212 2007-03-20 Wim Taymans <wim@fluendo.com>
5214 Patch by: Olivier Crete <tester at tester dot ca>
5216 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5217 Look at the pending state too when syncing the element state to the
5218 parent. Fixes #420133.
5220 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5222 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5223 (gst_base_sink_change_state):
5224 * libs/gst/base/gstbasesink.h:
5225 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5226 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5227 (gst_base_src_deactivate):
5228 * libs/gst/base/gstbasesrc.h:
5229 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5230 for sub-classes to correctly clear any state they set trying to
5231 unlock, such as clearing out unlock commands from a command fd.
5232 API: basesrc::unlock_stop
5233 API: basesink::unlock_stop
5235 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5236 (gst_fd_sink_render), (gst_fd_sink_unlock),
5237 (gst_fd_sink_unlock_stop):
5238 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5239 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5240 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5242 Implement unlock_stop in fdsrc and fdsink.
5243 Implement seeking in fdsrc when a seekable fd is passed, as in
5244 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5246 2007-03-19 Wim Taymans <wim@fluendo.com>
5248 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5250 * gst/gstelement.c: (gst_element_class_init):
5251 Fix pad-added and pad-removed signal signatures so that the pad type is
5252 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5254 2007-03-19 Wim Taymans <wim@fluendo.com>
5256 * docs/gst/gstreamer-sections.txt:
5257 Add new element field and method.
5259 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5260 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5261 (gst_bin_recalc_state), (gst_bin_get_state_func),
5262 (gst_bin_element_set_state), (gst_bin_change_state_func),
5263 (gst_bin_continue_func), (bin_bus_handler),
5264 (bin_push_state_continue), (bin_handle_async_start),
5265 (bin_handle_async_done), (gst_bin_handle_message_func):
5266 Make async state changes a bit smarter by using new ASYNC_START and
5267 ASYNC_DONE messages. This reduces the number of times we run the state
5268 recalculation thread.
5269 Don't change state of element with a pending ASYNC_START message.
5270 Deprecate STATE_DIRTY messages.
5272 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5273 (gst_element_get_state_func), (gst_element_continue_state),
5274 (gst_element_lost_state), (gst_element_set_state_func),
5275 (gst_element_change_state):
5277 Keep the state that was last set by the app in a new element field.
5278 Don't allow state changes when handling an element event.
5279 Post ASYNC_START and ASYNC_DONE messages.
5280 Change lost_state so that we go to PAUSED and wait for the parent to set
5281 us to PLAYING again (so latency calculation can be performed)
5282 Export gst_element_change_state() method so that subclasses can use it.
5283 API: gst_element_change_state()
5284 API: GST_STATE_TARGET
5286 * gst/gstpipeline.c: (gst_pipeline_class_init),
5287 (reset_stream_time), (gst_pipeline_change_state),
5288 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5289 Using the new ASYNC_START message we can reset the base_time when
5290 needed. This can then be used to implement base_time redistribution in
5291 flushing seeks so that we can remove the explicit seek handling.
5292 Perform latency query and configuration when going to PLAYING.
5294 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5295 (gst_base_sink_query), (gst_base_sink_change_state):
5296 Post new ASYNC_START/ASYNC_DONE messages.
5298 * tests/check/generic/sinks.c: (GST_START_TEST):
5299 Fix test because the bin will not set the async element to PLAYING right
5302 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5303 Make the message check a little stronger.
5304 Handle ASYNC messages.
5306 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5307 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5308 Expect ASYNC_DONE messages.
5310 2007-03-19 Wim Taymans <wim@fluendo.com>
5312 * docs/gst/gstreamer-sections.txt:
5313 * gst/gstmessage.c: (gst_message_new_async_start),
5314 (gst_message_new_async_done), (gst_message_parse_info),
5315 (gst_message_parse_async_start):
5317 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5320 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5322 * tools/gst-inspect.c:
5323 (print_plugin_automatic_install_info_codecs):
5324 Now that we don't check for the 'Codec' keyword any longer in the
5325 klass, we shouldn't spew a warning if the klass isn't a decoder or
5326 encoder (since it might be a Source/Network, for example).
5328 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5330 * tools/gst-inspect.c:
5331 (print_plugin_automatic_install_info_codecs):
5332 Don't require decoder/demuxer/depayloader elements or
5333 encoder/muxer/paylader elements to have 'Codec' as part of their
5334 factory class string when introspecting a plugin's capabilities.
5335 draft-klass.txt mentions that it might be removed in future, and
5336 flump3dec doesn't have it as part of its class string, so chances
5337 are others might also not have it.
5339 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
5361 Update translations from translation project
5363 2007-03-14 Stefan Kost <ensonic@users.sf.net>
5365 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5366 (gst_child_proxy_set_property):
5367 Invert precondition check to be alike the ones in the mimiced gobject
5370 2007-03-13 Stefan Kost <ensonic@users.sf.net>
5372 * docs/design/draft-tagreading.txt:
5373 * docs/random/ensonic/audiobaseclasses.txt:
5374 Do some Architect work.
5376 * gst/gstobject.c: (gst_object_set_name):
5380 Add docs that point from gst_pad_get_range to gst_pad_pull_range
5382 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
5384 * gst/gstsystemclock.c: (gst_system_clock_init),
5385 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5386 Defer starting the async system clock thread until the first async
5387 wait is scheduled. Fixes #414986.
5389 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
5391 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5392 (gst_single_queue_free):
5393 Fix small leak (free GstSingleQueue structure too, not only contents).
5395 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
5397 * gst/gstbin.c:(gst_bin_add):
5398 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5399 * win32/common/libgstbase.def:
5400 * win32/common/libgstreamer.def:
5401 Add new exported functions.
5403 2007-03-09 Wim Taymans <wim@fluendo.com>
5405 * docs/plugins/gstreamer-plugins-sections.txt:
5408 2007-03-09 Wim Taymans <wim@fluendo.com>
5410 * docs/gst/gstreamer-sections.txt:
5411 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5413 Add metadata copy functions. Fixes #393099.
5414 API: gst_buffer_copy_metadata()
5416 * gst/gstutils.c: (gst_buffer_stamp):
5417 * libs/gst/base/gstbasetransform.c:
5418 (gst_base_transform_prepare_output_buffer):
5419 Use new metadata copy functions.
5421 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
5423 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5424 (gst_identity_init), (gst_identity_check_perfect),
5425 (gst_identity_check_imperfect_timestamp),
5426 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5427 (gst_identity_set_property), (gst_identity_get_property):
5428 * plugins/elements/gstidentity.h:
5429 Separate out check-imperfect-timestamp and check-imperfect-offset.
5430 Put back check-perfect as it was to keep compatibility.
5432 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
5434 * gst/gstelement.c: (gst_element_dispose):
5435 There's no need to warn if VOID_PENDING is not NONE here, as
5436 long as the state is NULL it's ok, and that's checked immediately
5439 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5441 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5442 Fix check for perfect stream to ignore buffers with -1
5443 offsets/offset ends when checking data contiguity.
5445 2007-03-08 Wim Taymans <wim@fluendo.com>
5447 * tools/gst-launch.c: (event_loop):
5448 Print INFO messages.
5450 2007-03-08 Wim Taymans <wim@fluendo.com>
5452 * libs/gst/base/gstbasetransform.c:
5453 (gst_base_transform_sink_eventfunc),
5454 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5455 (gst_base_transform_activate):
5456 * libs/gst/base/gstbasetransform.h:
5457 Add support for dropping buffers with custom GstFlowReturn.
5458 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5459 buffers or dropped buffers.
5461 * docs/libs/gstreamer-libs-sections.txt:
5462 docs for new custom return code.
5464 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5465 Use drop support in base class to implement drop-probability.
5467 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
5469 * gst/gst.c: (load_plugin_func):
5470 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5471 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5472 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5473 Remove newlines at end of debug log strings.
5475 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5477 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5478 Only post bus message at max, once per buffer received.
5480 2007-03-07 Wim Taymans <wim@fluendo.com>
5482 * docs/design/Makefile.am:
5483 * docs/design/part-synchronisation.txt:
5484 Add doc about synchronisation
5486 * docs/design/draft-latency.txt:
5487 * docs/design/part-TODO.txt:
5488 * docs/design/part-clocks.txt:
5489 * docs/design/part-events.txt:
5490 * docs/design/part-gstbus.txt:
5491 * docs/design/part-gstpipeline.txt:
5492 * docs/design/part-live-source.txt:
5493 * docs/design/part-messages.txt:
5494 * docs/design/part-overview.txt:
5495 * docs/design/part-streams.txt:
5496 * docs/design/part-trickmodes.txt:
5497 Documentation updates.
5499 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5502 Update the doap file.
5504 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5506 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5507 Rename non-perfect to imperfect for Mike and for the sanctity of the
5509 Also make sure bus message gets emitted for data-incontiguities.
5511 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5513 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5514 (gst_identity_start):
5515 * plugins/elements/gstidentity.h:
5516 Emit bus message if check-perfect is true and we encounter a
5517 non-perfect stream between 2 consecutive buffers.
5520 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5525 === release 0.10.12 ===
5527 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5530 releasing 0.10.12, "Inevitable Demise"
5532 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
5535 Version 0.10.11.2 (0.10.12 pre-release)
5536 Bump libtool versioning.
5538 2007-03-01 Stefan Kost <ensonic@users.sf.net>
5540 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5541 Log flow-names and not numbers.
5543 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5546 Convert to new AG_GST style.
5548 2007-02-28 Wim Taymans <wim@fluendo.com>
5550 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5551 Don't unref query twice.
5553 2007-02-28 Wim Taymans <wim@fluendo.com>
5555 * gst/gstvalue.c: (gst_value_transform_object_string),
5556 (_gst_value_initialize):
5557 Implement GstObject -> string transform so we print object names
5558 when serializing GValues containing GstObjects.
5560 2007-02-28 Wim Taymans <wim@fluendo.com>
5562 * docs/gst/gstreamer-sections.txt:
5563 Add new stuff to docs.
5565 2007-02-28 Wim Taymans <wim@fluendo.com>
5567 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5568 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5569 (gst_base_sink_change_state):
5570 Improve latency query code.
5571 Don't leak latency events.
5573 * tests/check/gst/gstbin.c: (GST_START_TEST):
5576 2007-02-28 Wim Taymans <wim@fluendo.com>
5578 * gst/gstelement.c: (gst_element_message_full),
5579 (gst_element_get_state_func):
5581 Improve docs a little. Added Since: for new macro.
5583 * gst/gstobject.c: (gst_object_sink):
5584 * gst/gstpipeline.c: (gst_pipeline_change_state),
5585 (gst_pipeline_set_new_stream_time):
5586 * gst/gstpipeline.h:
5587 Improve debugging and docs.
5589 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5592 2007-02-28 Wim Taymans <wim@fluendo.com>
5594 * gst/gstelement.c: (gst_element_message_full),
5595 (gst_element_set_locked_state), (gst_element_get_state_func),
5596 (gst_element_change_state):
5597 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5598 Documentation updates.
5599 Small code cleanups.
5601 * gst/gstmessage.c: (gst_message_new_info),
5602 (gst_message_parse_info):
5604 API: gst_message_new_info()
5605 API: gst_message_parse_info()
5606 Add INFO message create and parse code.
5608 2007-02-28 Wim Taymans <wim@fluendo.com>
5610 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5611 (bin_query_latency_done):
5612 Also report the live parameter of a latency query.
5614 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5616 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5617 Copy the current generic/states example from -base and adapt so
5618 we can use the exact same code everywhere.
5619 Check a STATES_IGNORE_ELEMENTS env var which can be used
5620 to ignore certain element factories for this test, which is
5621 what is being done in -base
5622 * tests/check/Makefile.am:
5623 Mention this environment variable.
5625 2007-02-27 Wim Taymans <wim@fluendo.com>
5627 * docs/gst/gstreamer-sections.txt:
5628 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5629 (gst_bus_timed_pop), (gst_bus_pop):
5631 API: gst_bus_timed_pop()
5632 Implement gst_bus_timed_pop() to do a blocking timed wait for a
5633 message to arrive on the bus.
5635 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5637 Two unit tests for new _timed_pop() function.
5639 2007-02-23 Wim Taymans <wim@fluendo.com>
5641 * gst/gstpipeline.c: (gst_pipeline_change_state),
5642 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5643 Don't ref a NULL clock in _provide_clock_func().
5644 Don't allow an INVALID delay.
5645 Don't try to calculate base_time with an invalid start_time.
5646 Also distribute and notify a NULL clock when it was selected.
5648 * tools/gst-launch.c: (event_loop):
5649 Don't crash when a NULL clock was selected in the pipeline.
5651 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
5653 * docs/design/Makefile.am:
5654 * docs/design/draft-missing-plugins.txt:
5655 * docs/random/draft-missing-plugins.txt:
5656 Some small updates: update plugin system identifier prefix
5657 ('gstreamer.net' to 'gstreamer'), mention our new install
5658 API in libgstbaseutils rather than libgimme-codec, add
5659 reference to the online docs.
5661 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5663 * win32/common/config.h:
5664 Pretty sure Bill never made a powerpc version. Powerpc hackers,
5665 use moap cl ci to only check in what is mentioned in the ChangeLog.
5667 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5669 * docs/gst/gstreamer-sections.txt:
5671 Fix up documentation to link to the correct GstGError section.
5672 Add GST_ELEMENT_INFO macro since someone else added a Info message.
5674 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5676 * tools/gst-launch.c: (event_loop):
5677 Make sure that we actually show the important message part of a
5679 No need to check if the gerror is not NULL to free; first of all
5680 g_free accepts NULL; and second the default error handler would
5681 segfault if gerror was NULL.
5683 2007-02-21 Wim Taymans <wim@fluendo.com>
5685 * docs/gst/gstreamer-sections.txt:
5686 Removed docs as well.
5688 2007-02-21 Wim Taymans <wim@fluendo.com>
5690 * gst/gstmessage.c: (gst_message_parse_duration):
5692 Remove new messages for release.
5694 2007-02-20 Wim Taymans <wim@fluendo.com>
5696 * docs/design/part-gstghostpad.txt:
5697 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5698 (gst_ghost_pad_new_full):
5699 Make the ghostpad a parent of the internal pad again for better backward
5700 compatibility. Don't write code that relies on this however.
5702 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5703 (gst_pad_link_check_hierarchy):
5704 Require that parents should be GstElements in the hierarchy check.
5706 2007-02-20 Wim Taymans <wim@fluendo.com>
5708 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5709 (gst_bin_change_state_func), (bin_query_min_max_init),
5710 (bin_query_latency_fold), (bin_query_latency_done),
5713 Implement latency query.
5715 2007-02-20 Wim Taymans <wim@fluendo.com>
5717 * docs/design/part-gstghostpad.txt:
5718 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5719 (gst_ghost_pad_internal_do_activate_push),
5720 (gst_ghost_pad_internal_do_activate_pull),
5721 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5722 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5723 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5724 Do not set the internal pad as a parent anymore so we can avoid
5725 hierarchy linking errors when the ghostpad has no parent yet. This also
5726 fixes failed activation because of unlinked internal pads, which in
5727 turn fixes the impossible case where you have to activate a pad before
5728 you can add it to a running element.
5731 * gst/gstpad.c: (pre_activate), (post_activate),
5732 (gst_pad_set_active), (gst_pad_activate_pull),
5733 (gst_pad_activate_push), (gst_pad_check_pull_range):
5734 Add some more debug info.
5735 Mark activation mode in pre_activate so that we don't try to activate in
5736 endless loops. Fixes #385084.
5738 2007-02-19 Wim Taymans <wim@fluendo.com>
5740 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5741 (gst_base_transform_check_get_range):
5742 Implement a checkgetrange function instead of relying on the default
5743 core behaviour that assumes we can operate in pull mode if we have a
5744 getrange function. First step at fixing #385084.
5746 2007-02-15 Stefan Kost <ensonic@users.sf.net>
5748 * gst/gstchildproxy.h:
5749 * libs/gst/base/gstbasesink.h:
5750 * libs/gst/base/gstbasesrc.h:
5751 * libs/gst/base/gstbasetransform.h:
5752 More docs coverage and some ChangeLog surgery (add missing names)
5754 2007-02-15 Wim Taymans <wim@fluendo.com>
5756 * docs/design/part-TODO.txt:
5757 * docs/design/part-activation.txt:
5758 * docs/design/part-block.txt:
5759 * docs/design/part-buffering.txt:
5760 * docs/design/part-clocks.txt:
5761 * docs/design/part-element-source.txt:
5762 * docs/design/part-events.txt:
5763 * docs/design/part-gstbin.txt:
5764 * docs/design/part-gstbus.txt:
5765 * docs/design/part-gstpipeline.txt:
5766 * docs/design/part-live-source.txt:
5767 * docs/design/part-messages.txt:
5768 * docs/design/part-overview.txt:
5769 * docs/design/part-qos.txt:
5770 * docs/design/part-query.txt:
5771 * docs/design/part-states.txt:
5772 * docs/design/part-trickmodes.txt:
5773 Some doc updates. Start renaming from stream_time to running_time where
5774 it was used wrongly.
5776 2007-02-15 Wim Taymans <wim@fluendo.com>
5778 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5779 Answer LATENCY query.
5781 2007-02-15 Wim Taymans <wim@fluendo.com>
5783 * tests/check/gst/gstevent.c: (event_probe), (test_event),
5787 2007-02-15 Wim Taymans <wim@fluendo.com>
5789 * gst/gstpad.c: (gst_pad_get_internal_links_default),
5790 (gst_pad_dispatcher):
5791 Improve debugging of default pad dispatcher and query functions.
5793 2007-02-15 Wim Taymans <wim@fluendo.com>
5795 * docs/gst/gstreamer-sections.txt:
5796 Remove old unused method.
5798 2007-02-13 Wim Taymans <wim@fluendo.com>
5800 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5803 2007-02-13 Wim Taymans <wim@fluendo.com>
5805 * docs/design/part-seeking.txt:
5808 * gst/gstsegment.c: (gst_segment_set_seek):
5809 Revert old bogus change that should make seeking work again.
5811 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5813 * docs/random/ensonic/dynlink.txt:
5814 * docs/random/ensonic/interfaces.txt:
5815 * docs/random/ensonic/receipies.txt:
5816 Possible dynamic reconnection api, plus some type fixes the other two
5819 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
5821 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5822 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5823 Also check for an absolute path following file:// in the filesrc
5824 element. Remove redundant check and call g_path_is_absolute() on the
5827 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5829 * docs/design/draft-klass.txt:
5830 Add existing category analysis.
5833 Fix doc example, framerate is a fraction.
5835 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5838 * docs/gst/Makefile.am:
5839 * docs/gst/gstreamer-sections.txt:
5840 * docs/libs/Makefile.am:
5841 Erm, forgot a bunch of --extra-dir.
5843 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5846 * docs/gst/Makefile.am:
5847 * docs/libs/Makefile.am:
5848 * docs/plugins/Makefile.am:
5849 Add crossreferences to glib/gobject docs.
5851 2007-02-12 Wim Taymans <wim@fluendo.com>
5853 * docs/design/draft-latency.txt:
5856 * docs/libs/gstreamer-libs-sections.txt:
5857 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5858 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5859 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5860 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5861 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5862 (gst_base_sink_get_position), (gst_base_sink_query),
5863 (gst_base_sink_change_state):
5864 * libs/gst/base/gstbasesink.h:
5865 API: gst_base_sink_query_latency() to let subclasses query the upstream
5867 API: gst_base_sink_get_latency() to let subclasses query the configured
5868 latency in the sink.
5869 Implement query and set latency.
5871 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5872 don't continue preroll when we are flushing. Fixes #405284.
5874 * tests/check/pipelines/stress.c: (change_state_timeout),
5875 (quit_timeout), (GST_START_TEST), (stress_suite):
5878 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
5880 Patch by: René Stadler <mail at renestadler de>
5882 * docs/gst/gstreamer-sections.txt:
5883 * gst/gsttaglist.c: (_gst_tag_initialize):
5885 API: add GST_TAG_REFERENCE_LEVEL (#403597).
5887 2007-02-11 Stefan Kost <ensonic@users.sf.net>
5889 * docs/libs/Makefile.am:
5890 Fix path to core docs.
5892 * gst/gstbin.c: (gst_bin_get_by_interface),
5893 (gst_bin_iterate_all_by_interface):
5894 Refix docs by also renaming 'interface' to 'iface' in implementation.
5896 * docs/gst/gstreamer-sections.txt:
5898 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5899 * gst/gstchildproxy.h:
5900 * gst/gstelementfactory.c:
5901 * gst/gstpadtemplate.h:
5902 * libs/gst/controller/gstcontroller.c:
5903 (gst_controlled_property_new):
5906 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
5908 * gst/gstbin.h:(gst_bin_get_by_interface),
5909 (gst_bin_iterate_all_by_interface):
5910 Replace interface parameter name by iface as interface is
5911 a reserved keyword in Visual Studio for C++ projects so it removes
5912 a build error for application developpers using VS.
5913 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5914 Fix a bug on Windows in uri format check. Now the prefix checked
5915 is file:// and next we check if the path after file:// is absolute.
5916 * win32/common/libgstbase.def:
5917 * win32/common/libgstdataprotocol.def:
5918 * win32/common/libgstgstreamer.def:
5919 Add new exported functions.
5921 2007-02-09 Andy Wingo <wingo@pobox.com>
5923 * tests/check/pipelines/simple-launch-lines.c
5924 (simple_launch_lines_suite, test_tee): Disable tee test until I
5925 have time to fix it :-(
5927 * tests/check/Makefile.am (noinst_HEADERS):
5928 * tests/check/libs/libsabi.c:
5929 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5930 * tests/check/gst/gstabi.c:
5931 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5933 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5934 tests for push and pull tee behavior.
5936 * plugins/elements/gsttee.h:
5937 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5938 mark as deprecated as well as unimplemented. It was a crack idea.
5939 Add support for tee operating in pull mode, off by default.
5941 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5942 normal-case logs down to LOG, raise errors to WARNING.
5943 (gst_registry_xml_read_cache): Don't log before calling a function
5946 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5947 exit (registry finalize).
5948 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5949 DEBUG log when we emit signals that people don't even have the
5950 chance to connect to.
5951 (gst_registry_scan_path_level): Less logging in the normal case.
5953 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5955 Patch by: Michal Benes <michal dot benes at itonis dot tv>
5957 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5958 Correctly generate EOS for non-seekable files. We don't have a total
5959 length for them and would get an unexpected end of file if we only
5960 special-cased for regular files. (Fixes: #404569)
5962 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5964 * tests/check/elements/filesrc.c: (GST_START_TEST),
5966 Add unit test for the GstURIHandler interface in filesrc. This also
5967 tests the newly added file://localhost/foo/bar support.
5969 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
5971 * gst/gstelementfactory.h:
5972 The klass string is not a hierarchy. Add reference to the design doc
5973 for more information and common types.
5975 2007-02-02 Wim Taymans <wim@fluendo.com>
5977 * gst/gstquery.c: (gst_query_new_latency):
5978 Remove old structure field.
5980 2007-02-02 Stefan Kost <ensonic@users.sf.net>
5982 * tools/gst-launch.1.in:
5983 Give example for network streaming (#351998)
5985 2007-02-02 Wim Taymans <wim@fluendo.com>
5987 * docs/gst/gstreamer-sections.txt:
5988 Add docs for new methods.
5990 * gst/gstevent.c: (gst_event_new_latency),
5991 (gst_event_parse_latency):
5993 Add new LATENCY event to configure latency in a pipeline.
5994 API: gst_event_new_latency
5995 API: gst_event_parse_latency
5997 * gst/gstmessage.c: (gst_message_new_buffering),
5998 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5999 (gst_message_new_latency), (gst_message_parse_buffering),
6000 (gst_message_parse_lost_preroll):
6002 Added messages used in draft-latency.
6003 API: gst_message_new_lost_preroll
6004 API: gst_message_parse_lost_preroll
6005 API: gst_message_new_prerolled
6006 API: gst_message_new_latency
6008 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6009 (gst_query_parse_latency):
6011 Implemented new latency query as in design doc.
6012 API: gst_query_new_latency
6013 API: gst_query_set_latency
6014 API: gst_query_parse_latency
6016 2007-02-02 Wim Taymans <wim@fluendo.com>
6018 * docs/design/draft-latency.txt:
6019 Slight redesign to allow for dynamic latency adjustments.
6021 * docs/design/part-negotiation.txt:
6024 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6026 reviewed by: Wim Taymans <wim@fluendo.com>
6028 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6029 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6030 Allow file://localhost/foo/bar URLs and correctly fail for every other
6031 hostname that one sets. This was gnomevfssrc is linked for those if
6032 installed as it can handle it (#403172)
6034 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6036 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6039 (unref_data), (gst_collect_pads_add_pad_full):
6040 * libs/gst/base/gstcollectpads.h:
6041 Don't put the previously added destroy notify in the GstCollectData
6042 struct as all it's padding is already used and we don't want to break
6043 ABI. Instead put in the pad's GObject data for now. This should be
6044 cleaned up for 0.11 (#402393).
6046 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6048 reviewed by: Wim Taymans <wim@fluendo.com>
6050 * docs/libs/gstreamer-libs-sections.txt:
6051 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6052 (unref_data), (gst_collect_pads_add_pad),
6053 (gst_collect_pads_add_pad_full):
6054 * libs/gst/base/gstcollectpads.h:
6055 API: Add function to specify a destroy notification for custom
6056 GstCollectData when adding new pads in GstCollectPads (#402393).
6058 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6061 Update Swedish translation (#378255).
6063 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6065 * docs/design/draft-klass.txt:
6066 Fix the previous change, this is a list of categories and not a hierarchy.
6068 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6070 * docs/design/draft-klass.txt:
6071 Add info about how to get a list of used classes.
6073 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6075 * plugins/elements/gsttypefindelement.c:
6076 (gst_type_find_element_chain_do_typefinding),
6077 (gst_type_find_element_change_state):
6078 Don't leak found caps in chain function (no idea why that never
6079 showed up as a leak anywhere).
6081 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6084 Fix and expand GstPluginDesc API docs.
6086 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6089 * gst/gstelementfactory.c:
6090 * gst/gstpadtemplate.h:
6093 * libs/gst/controller/gstcontroller.c:
6094 (gst_controlled_property_new):
6095 * tests/examples/controller/audio-example.c:
6098 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6101 comment about refining the xml deps
6104 comments about moving away from jade for docs
6107 recommit the ifdefs to use the binary registry
6109 * gst/gstbin.c: (gst_bin_change_state_func):
6110 this break is obsolete
6112 * gst/gstelementfactory.h:
6113 better GST_ELEMENT_DETAILS docs, add comment about translation
6118 * gst/gstobject.c: (gst_signal_object_get_type):
6119 add G_UNLIKELY as usual
6121 * gst/gstpad.c: (gst_pad_event_default):
6122 add fall trhu comment
6124 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6125 (gst_registry_binary_initialize_magic),
6126 (gst_registry_binary_save_string),
6127 (gst_registry_binary_save_pad_template),
6128 (gst_registry_binary_save_feature),
6129 (gst_registry_binary_save_plugin),
6130 (gst_registry_binary_write_cache),
6131 (gst_registry_binary_check_magic),
6132 (gst_registry_binary_load_pad_template),
6133 (gst_registry_binary_load_feature),
6134 (gst_registry_binary_load_plugin),
6135 (gst_registry_binary_read_cache):
6136 comment typo and formatting
6138 * gst/gstutils.c: (gst_element_state_get_name),
6139 (gst_element_state_change_return_get_name):
6140 remove obsolete breaks
6142 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6143 add FIXME 0.11 and remove cpp comment
6145 2007-01-29 Edward Hervey <edward@fluendo.com>
6147 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6148 Fix print statement in an even more portable way.
6150 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6152 * docs/gst/gstreamer-sections.txt:
6154 API: add GST_ROUND_DOWN_* macros (#401781).
6156 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6158 * docs/gst/gstreamer.types.in:
6159 * gst/gstregistry.c: (gst_registry_class_init):
6160 Document registry signals and make gtk-doc pick them up (#401381).
6162 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6164 * docs/pwg/building-testapp.xml:
6165 Add some audioconverts and audioresample to the pipeline, and some
6166 more comments and error handling.
6168 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6170 * docs/manual/manual.xml:
6174 2007-01-26 Wim Taymans <wim@fluendo.com>
6176 * gst/gstcaps.c: (gst_static_caps_get):
6177 Init caps flags too.
6179 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6181 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6183 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6184 If not using mmap'ed files try to seek to the end instead of the
6185 start to determine whether we can seek at all. This fixes the case
6186 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6187 seeks for everything afterwards fail. Fixes #400656
6189 2007-01-25 Wim Taymans <wim@fluendo.com>
6191 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6192 Add some refcount debugging.
6193 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6194 in multiple streaming threads.
6196 2007-01-25 Wim Taymans <wim@fluendo.com>
6198 Patch by: David Schleef <ds at schleef dot org>
6200 * docs/libs/gstreamer-libs-sections.txt:
6201 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6202 * libs/gst/base/gstadapter.h:
6203 API: gst_adapter_copy() that can reduce the amount of memcpy when
6204 getting data from the adapter. Fixes #388201.
6206 2007-01-25 Edward Hervey <edward@fluendo.com>
6208 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6209 In print statements, "%x" is for guint. Fixes build on macosx.
6211 2007-01-24 Edward Hervey <edward@fluendo.com>
6213 * plugins/elements/gstmultiqueue.c:
6214 (gst_multi_queue_loop):
6216 (single_queue_overrun_cb), (single_queue_underrun_cb),
6217 (single_queue_check_full), (gst_single_queue_new):
6218 Implement single queue growth system.
6219 This uses the extra-size properties, and will grow single queues by
6220 that much if one goes full whereas there are others empty. This is
6221 called extra-mode in the code.
6222 When a single queue's levels go back below the initial max-size
6223 limits, it is no longer in extra-mode. This is to ensure we don't
6224 consume too much memory.
6227 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/gst.c: (gst_init_get_option_group):
6230 Make warning about late g_thread_init() calls a bit more explicit,
6231 so that it's more obvious to application developers what they need
6232 to do if a user files a bug against their application.
6234 2007-01-22 Edward Hervey <edward@fluendo.com>
6236 * plugins/elements/gstmultiqueue.c:
6237 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6238 Remove previous hack of unsetting the flushing flag for the source pad
6239 instead of activating it. Instead, fix the source pad activate function
6240 so that it no longer depends on having a parent set or not.
6242 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6244 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6246 * docs/manual/basics-bus.xml:
6247 Fix example code, gst_element_unref() doesn't exist any longer.
6249 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6251 Patch by: Mark Nauwelaerts <manauw at skynet be>
6254 Fix two docs typoes (#399094).
6256 2007-01-19 Edward Hervey <edward@fluendo.com>
6258 * docs/faq/gst-uninstalled:
6259 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6260 depending on libgstbaseutils can work in uninstalled environment.
6262 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6265 * gst/gsttagsetter.c:
6266 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6267 statement for new tag.
6269 2007-01-17 Edward Hervey <edward@fluendo.com>
6271 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6272 When dynamically creating single queues, activate sinkpad before adding
6274 We should be doing the same thing for the source pad, but we can't
6275 since it would call a method which needs the parent to be set in order
6276 to work propertly. Instead of activating the source pad, we just unset
6277 the flushing flag, which is the minimal requirement for adding a pad
6278 to an element in a state greater than READY.
6280 2007-01-17 Edward Hervey <edward@fluendo.com>
6282 * docs/faq/gst-uninstalled:
6283 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6286 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6288 * tests/check/gst/gstabi.c:
6289 * tests/check/gst/struct_hppa.h:
6290 * tests/check/libs/libsabi.c:
6291 * tests/check/libs/struct_hppa.h:
6292 Add ABI structs for HPPA (see #393796).
6294 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6296 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6297 Actually write ABI structs to the file specified in the GST_ABI
6298 environment variable, as the message we print claims we would.
6300 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6302 * tests/check/gst/gsttask.c:
6305 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6307 * gst/gsttaglist.c: (_gst_tag_initialize):
6308 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6309 previous two entries.
6311 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6313 * docs/gst/gstreamer-sections.txt:
6314 * gst/gsttaglist.c: (_gst_tag_initialize):
6316 Add tag support for beat-per-minute.
6318 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6320 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6321 (gst_registry_binary_initialize_magic),
6322 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6323 (gst_registry_binary_save_pad_template),
6324 (gst_registry_binary_save_feature),
6325 (gst_registry_binary_save_plugin),
6326 (gst_registry_binary_write_cache),
6327 (gst_registry_binary_check_magic),
6328 (gst_registry_binary_load_pad_template),
6329 (gst_registry_binary_load_feature),
6330 (gst_registry_binary_load_plugin),
6331 (gst_registry_binary_read_cache):
6332 * gst/gstregistrybinary.h:
6333 Use glib types, cleanup comments, impement interfaces and uri-types.
6335 2007-01-13 Andy Wingo <wingo@pobox.com>
6337 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6338 getrange() to return buffers with other caps, while we fix
6339 demuxers and typefind, or otherwise change part-negotiation.txt.
6341 2007-01-12 Andy Wingo <wingo@pobox.com>
6343 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6344 Factor start/stop into this private function instead of partially
6345 in activate functions and partially in the change_state function.
6346 Fixes setup before the element has changed from READY->PAUSED, as
6347 is the case in pull-mode pipelines.
6348 (gst_base_transform_sink_activate_push)
6349 (gst_base_transform_src_activate_pull): Refactor to use
6350 gst_base_transform_activate().
6351 (gst_base_transform_change_state): Removed, not needed any more.
6353 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6354 Truncate before fixating.
6356 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6357 Don't set_caps() if the result of fixating is ANY, as it's not
6358 supported, and not necessary in the case of a link with no
6359 template caps on either side. Fixes tests/check/libs/basesrc in
6360 some pull-mode tests.
6362 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6363 (gst_base_transform_init, gst_base_transform_sink_activate_push)
6364 (gst_base_transform_src_activate_pull):
6365 Track the activation mode.
6366 (gst_base_transform_setcaps): In pull mode, when activating the
6367 src pad, after activating the sink pad, activate the sink pad's
6368 peer, as discussed in part-negotiation.txt.
6370 * libs/gst/base/gstbasesrc.h:
6371 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6372 vmethod, as in basesink.
6374 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6376 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6377 mode, first proxy the setcaps to the peer pad.
6378 (gst_base_sink_pad_fixate): Add a fixate function that calls the
6380 (gst_base_sink_default_activate_pull): Rename from
6381 gst_base_sink_activate_pull.
6382 (gst_base_sink_negotiate_pull): New function, performs negotiation
6383 in pull mode before calling ::activate_pull().
6384 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6385 vmethod instead of the default implementation. I have no idea how
6386 this worked before. Negotiate before calling activate_pull.
6388 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6389 sink pads in pull mode. In addition to being correct, fixes
6390 filesrc ! decodebin ! identity ! fakesink.
6391 (gst_pad_get_range, gst_pad_pull_range): Don't call
6392 gst_pad_set_caps() if the caps changes; instead error out with
6393 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6395 2007-01-12 Andy Wingo <wingo@pobox.com>
6397 * docs/design/part-negotiation.txt: Update with more policy.
6399 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6401 * libs/gst/check/gstbufferstraw.h:
6402 * libs/gst/check/gstcheck.h:
6403 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6406 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6408 * tests/check/Makefile.am:
6409 * tests/check/gst/.cvsignore:
6410 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6411 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6412 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6413 (GST_START_TEST), (gst_tag_setter_suite):
6414 Add minimal unit test for beforementioned GstTagSetter bug.
6416 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6418 Patch by: René Stadler <mail at renestadler dot de>
6420 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6421 gst_tag_list_merge() returns a new list, so it's not the best idea
6422 to ingore its return value. Effectively meant that tags could only
6423 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6424 Also add function guard to require a non-NULL taglist as input (has
6425 always been so due to gst_tag_list_copy(), just making it explicit).
6427 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6429 * docs/random/draft-missing-plugins.txt:
6430 Some additions: mention new API that is supposed to be used at the
6431 various stages; short blob about new gst-inspect introspection
6432 option; mention potential future problem with plugins that have
6433 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6435 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6437 * tools/gst-inspect.c:
6438 (print_plugin_automatic_install_info_codecs),
6439 (print_plugin_automatic_install_info_protocols),
6440 (print_plugin_automatic_install_info), (main):
6441 Add --print-plugin-auto-install-info option to gst-inspect, so we can
6442 introspect plugin files and get machine-parsable output that corresponds
6443 to the last bit of the missing-plugin installer string (small gotcha:
6444 doesn't take into account ranks).
6446 2007-01-11 Stefan Kost <ensonic@users.sf.net>
6449 * docs/gst/gstreamer-sections.txt:
6451 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6452 (gst_registry_lookup_locked):
6453 * gst/gstregistry.h:
6454 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6455 (gst_registry_binary_initialize_magic),
6456 (gst_registry_binary_save_string),
6457 (gst_registry_binary_save_pad_template),
6458 (gst_registry_binary_save_feature),
6459 (gst_registry_binary_save_plugin),
6460 (gst_registry_binary_write_cache),
6461 (gst_registry_binary_check_magic),
6462 (gst_registry_binary_load_pad_template),
6463 (gst_registry_binary_load_feature),
6464 (gst_registry_binary_load_plugin),
6465 (gst_registry_binary_read_cache):
6466 * gst/gstregistrybinary.h:
6467 * gst/gstregistryxml.c: (load_feature),
6468 (gst_registry_xml_read_cache):
6469 commit binary registry (disabled by default, see #359653)
6471 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6473 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6474 Fix 'make check' too.
6476 2007-01-10 Andy Wingo <wingo@pobox.com>
6478 * docs/design/part-negotiation.txt: Fix a typo, add a couple
6481 * docs/design/part-negotiation.txt: Update with, um, one way that
6482 pull-mode negotiation might work?
6485 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6486 that the pad must be a src pad; makes sense to call it the other
6487 way in pull mode, and the logic is symmetric anyway.
6489 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
6491 * plugins/elements/gstfilesink.c:
6492 Include <stdio.h> for fseeko().
6494 2007-01-10 Wim Taymans <wim@fluendo.com>
6498 Reserve LATENCY event.
6500 2007-01-09 Wim Taymans <wim@fluendo.com>
6502 * docs/design/draft-latency.txt:
6505 2007-01-09 Wim Taymans <wim@fluendo.com>
6507 * docs/design/draft-latency.txt:
6511 * gst/gststructure.c:
6515 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
6517 * tests/check/.cvsignore:
6518 Ignore test-registry.xml as well.
6520 2007-01-09 Wim Taymans <wim@fluendo.com>
6522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6523 unref data at the end when we are done with the pad.
6525 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6527 * docs/gst/gstreamer-sections.txt:
6528 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6529 (init_post), (gst_deinit), (gst_update_registry):
6531 API: add gst_update_registry() (#391296).
6533 * tests/check/Makefile.am:
6534 * tests/check/gst/gstregistry.c:
6535 * tests/check/gst/.cvsignore:
6536 Simple unit test for the above.
6538 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6540 * gst/gstregistry.c: (gst_registry_scan_path_level):
6541 Plugin extension on HP-UX is .sl, add that to the list of approved
6542 plugin extensions (see #393796).
6544 * tests/check/gst/gstpad.c: (GST_START_TEST):
6545 ulong => gulong. Fixes compilation with HP-UX compiler.
6547 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6548 Fix compilation if valgrind headers are not available.
6550 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
6552 * win32/common/libgstreamer.def:
6553 Add new exported function.
6554 * win32/vs6/libgstbase.dsp:
6555 Add gstdataqueue.c to the build.
6556 * win32/vs6/libgstcoreelements.dsp:
6557 Add gstmultiqueue.c to the build.
6559 2007-01-06 Andy Wingo <wingo@pobox.com>
6561 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6562 activate_pull(), providing for a way to specialize the process of
6563 spawning a thread to pull on the sink pad. There is a default
6566 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6567 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6568 (gst_base_sink_init): Renamed pad activation functions (inserting
6569 "_pad" in their names). Refactor to use the new activate_pull
6570 vmethod, as appropriate.
6571 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6572 default activate_pull function to start a task pulling from the
6573 sink pad, as before.
6575 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6576 on the pads if necessary, as in push()/chain(). Update docs.
6577 Shouldn't affect existing pull() usage as it is currently only
6578 being used on buffers without caps.
6580 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6582 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6584 Call g_thread_init() first thing in gst_init() / gst_check_init().
6585 When initialisation is done via gst_init_get_option_group() and
6586 GOption parsing, issue a warning if the GLib thread system has not
6587 been initialised yet by the time gst_init_get_option_group() is
6588 called, as it's quite likely other GLib functions such as
6589 g_option_context_new() have been called already then, and
6590 g_thread_init() must be called before any other GLib function. The
6591 application in question must be fixed in that case, since memory
6592 corruption might happen otherwise.
6593 We issue the warning because even if the GLib folks decide to work
6594 around the problem on their end in future, this is still an issue
6595 with all GLib versions >= 2.10.0, so we should warn until we depend
6596 on a GLib version we know to be safe.
6597 Update documentation as well.
6600 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6602 * tools/gst-inspect.c: (main):
6603 * tools/gst-launch.c: (main):
6604 * tools/gst-typefind.c: (main):
6605 * tools/gst-xmlinspect.c: (main):
6606 Call g_thread_init() really really early, before any other GLib
6607 function (see #342564 and recent discussion on gtk-devel-list).
6609 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6611 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
6613 * gst/gst_private.h:
6614 * gst/gstconfig.h.in:
6616 On win32, all the __declspec stuff for symbol exporting is
6617 apparently only needed with MSVC, but doesn't work with MingW.
6618 Fixes compilation with MingW and #391909.
6620 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6622 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6623 Change some GST_ERROR_OBJECT that aren't really errors to
6624 GST_WARNING_OBJECT in order to reduce terminal spam.
6626 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6628 * tests/check/Makefile.am:
6629 disable test again, as there seem to be still race problems
6631 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6633 * tests/check/Makefile.am:
6634 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6635 (GST_START_TEST), (queue_suite):
6636 enable queue test again, add tests for the leaky behaviour
6638 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
6641 * tests/examples/Makefile.am:
6642 Compile adapter test/example only if the required headers are
6643 available (fixes #391915).
6645 2007-01-01 David Schleef <ds@schleef.org>
6648 Restore the previous signal handler for SIGSEGV instead of
6649 setting to default, since we may have stolen it away from
6650 someone. (i.e., Mono)
6652 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6654 * docs/random/draft-missing-plugins.txt:
6655 Some small additions and clarifications.
6657 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6659 * gst/gstregistryxml.c: (gst_registry_save_escaped):
6660 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6661 since that can lead to random memory corruptions and crashes
6662 (may or may not be related to #383244, #386711, and #386711).
6664 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6666 * tests/check/.cvsignore:
6667 * tests/check/Makefile.am:
6668 sync .cvsignome and CLEANFILES
6670 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6672 * tests/check/Makefile.am:
6675 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6677 * docs/design/part-states.txt:
6678 two tiny additional comments
6680 * gst/gststructure.c:
6683 * tests/check/Makefile.am:
6684 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6686 disable test for now, unless it gets fixed
6688 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6690 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6692 fix race in underrun test
6694 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6696 * tests/check/elements/.cvsignore:
6699 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6701 try to narrow test failure
6703 2006-12-21 David Schleef <ds@schleef.org>
6705 * plugins/elements/gstfakesrc.c:
6706 Use g_random_int_range(), since it produces better random
6707 numbers in a range than almost-correct floating point code.
6709 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6711 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6712 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6713 (gst_check_teardown_sink_pad):
6714 do not automatically (de)activate pads
6716 * tests/check/Makefile.am:
6717 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6718 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6719 add new, yet simple tests for queue
6721 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6722 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6723 * tests/check/elements/filesrc.c: (cleanup_filesrc),
6725 * tests/check/elements/identity.c: (cleanup_identity):
6726 consistent pad (de)activation
6728 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
6730 Patch by: Sebastian Dröge <slomo ubuntu com>
6732 * libs/gst/base/gstcollectpads.c:
6733 Fix two doc typos (#387866).
6735 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6737 * docs/manual/advanced-dparams.xml:
6738 Fix typo (g_object_control_properties() doesn't exist).
6740 2006-12-19 Edward Hervey <edward@fluendo.com>
6742 * gst/gstsegment.c: (gst_segment_set_seek):
6743 Fine tune the cases where the segment start/stop values are really
6745 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6746 Add tests for the return values of gst_segment_set_seek().
6748 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6753 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6755 Fix incorrect documentation and flesh it out a bit more.
6756 Set default values for the max properties on the GParamSpec as well,
6757 so it shows up correctly in gst-inspect.
6759 2006-12-18 Stefan Kost <ensonic@users.sf.net>
6761 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6762 Correct docs of queue, add more detail and crosslink it more.
6764 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6766 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6767 Print additional debug info when the stream isn't perfectly
6768 timestamped; don't try to use invalid durations.
6770 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6772 * docs/design/Makefile.am:
6773 Dist new design docs.
6775 2006-12-16 Wim Taymans <wim@fluendo.com>
6777 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6779 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6780 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6781 (gst_collect_pads_stop), (gst_collect_pads_event),
6782 (gst_collect_pads_chain):
6783 * libs/gst/base/gstcollectpads.h:
6784 Add refcounting to the collectpads data so we can track when it's safe
6785 to free the data. Fixes #383382.
6787 2006-12-15 Wim Taymans <wim@fluendo.com>
6789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6790 (gst_collect_pads_remove_pad):
6791 Automatically activate/deactivate pads when they are added to a
6792 started/stoped collectpads.
6794 2006-12-15 Wim Taymans <wim@fluendo.com>
6796 * gst/gstelement.c: (gst_element_add_pad):
6797 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6798 * gst/gstpad.c: (gst_pad_init):
6799 Set pads to FLUSHING when they are created. Check, warn and fix when a
6800 demuxer adds an inactive pad to itself when running. Fixes #339326.
6802 2006-12-15 Wim Taymans <wim@fluendo.com>
6804 * gst/gstelement.c: (gst_element_class_init),
6805 (gst_element_default_send_event), (gst_element_send_event),
6806 (gst_element_default_query), (gst_element_query):
6807 Expose default element send_event and query handling as vmethods that
6808 subclasses can chain up to.
6810 2006-12-15 Wim Taymans <wim@fluendo.com>
6812 * gst/gstelement.c: (gst_element_set_state_func):
6813 Small documentation fixes.
6815 2006-12-15 Wim Taymans <wim@fluendo.com>
6817 * docs/design/draft-latency.txt:
6818 Checked in draft for handling latency in pipelines.
6820 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
6824 * gstreamer.spec.in:
6827 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
6829 * gst/gst.c: (init_pre), (init_post):
6830 init_pre() and init_post() might be called via our GOptionGroup or
6831 from gst_init(), and we should skip both of them if we've already
6832 been initialised, otherwise we will init some things twice or add
6833 two default log functions.
6835 2006-12-13 Edward Hervey <edward@fluendo.com>
6837 * docs/manual/basics-bus.xml:
6838 No, gst_main_loop does not exist. Its g_main_loop.
6839 Discovered by somebody who abused the copy-paste technique of coding :)
6841 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
6843 * gst/gstghostpad.c:
6844 Log ghostpad debug stuff to the GST_PADS category as well rather
6845 than just to the default category.
6847 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
6850 * gst/gst.c: (init_pre):
6851 Add some basic system details such as OS and architecture
6852 to the debug output if possible, courtesy of uname().
6854 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
6856 * docs/gst/running.xml:
6857 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6858 environment variables.
6860 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6862 * tests/check/gst/gstbin.c: (GST_START_TEST):
6863 It is acceptable to have a refcount of 2 or 3 at this point in the
6864 test, because the pipeline might be just posting its state_change
6865 message. The next line then waits for that message to appear using
6866 bus_poll, so that should be fine too.
6868 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6870 * gst/gst.c: (ensure_current_registry_forking):
6871 Ignore EINTR when reading from the child registry pipe.
6872 Explicitly ignore the return value from close, since it makes no
6875 * gst/gstminiobject.c: (gst_mini_object_ref),
6876 (gst_mini_object_unref):
6877 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6879 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6880 When removing cached plugins, remove their features too, so they're
6881 not visible after they've disappeared.
6883 * gst/gstutils.c: (prepare_link_maybe_ghosting):
6884 In the unlikely case that we are linking pads with no parents, don't
6885 crash trying to get the non-existent parent bin.
6887 * gst/parse/grammar.y:
6888 Output debug in the PIPELINE category
6890 2005-03-08 Wim Taymans <wim@fluendo.com>
6892 Patch by: René Stadler <mail at renestadler dot de>
6894 * gst/gstclock.c: (gst_clock_new_periodic_id):
6895 Reject invalid clock times for interval of periodic ids.
6898 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6900 * gst/gstelementfactory.c: (gst_element_factory_create):
6901 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6902 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6903 * tools/gst-inspect.c: (print_element_info):
6904 Fix refcounting of gst_plugin_feature_load to match the docs.
6907 2006-12-07 Wim Taymans <wim@fluendo.com>
6909 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6910 (gst_base_sink_get_position):
6911 Improve debugging of events.
6913 2006-12-07 Wim Taymans <wim@fluendo.com>
6915 Patch by: René Stadler <mail at renestadler dot de>
6917 * gst/gstclock.c: (gst_clock_id_wait):
6918 Make period ids add the interval to the origial requested time instead
6919 of the possibly updated time which can be wrong when there are multiple
6920 waiters for the same id. Fixes #382592.
6922 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6923 (gst_system_clock_id_wait_jitter_unlocked),
6924 (gst_system_clock_id_wait_jitter):
6925 Fix restart in the async notify thread when an async entry is added to
6926 the front of the list. Fixes #381492.
6928 * tests/check/gst/gstsystemclock.c: (store_callback),
6929 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6930 Added test for multiple async waits.
6931 Added test for async wait order.
6933 2006-12-07 Wim Taymans <wim@fluendo.com>
6935 * gst/gstbin.c: (gst_bin_query):
6936 Add some more docs about the POSITION query.
6938 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6941 Bump version nano - back to CVS.
6943 === release 0.10.11 ===
6945 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
6948 releasing 0.10.11, "Love never runs on time"
6950 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
6952 * win32/common/libgstbase.def:
6953 * win32/common/libgstreamer.def:
6954 * win32/vs8/libgstbase.vcproj:
6955 * win32/vs8/libgstcoreelements.vcproj:
6956 * win32/vs8/libgstreamer.vcproj:
6957 Fix compilation on win32 under VS8
6958 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6959 Partially fixes #381175
6961 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6963 * gst/gstvalue.c: (gst_value_compare_fraction):
6964 If someone is foolish enough to compare 2 fractions with denominator =
6965 0, return UNORDERED rather than aborting.
6967 2006-11-28 Edward Hervey <edward@fluendo.com>
6969 * libs/gst/base/Makefile.am:
6970 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6971 (gst_data_queue_base_init), (gst_data_queue_class_init),
6972 (gst_data_queue_init), (gst_data_queue_new),
6973 (gst_data_queue_cleanup), (gst_data_queue_finalize),
6974 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6975 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6976 (gst_data_queue_is_empty), (gst_data_queue_is_full),
6977 (gst_data_queue_set_flushing), (gst_data_queue_push),
6978 (gst_data_queue_pop), (gst_data_queue_drop_head),
6979 (gst_data_queue_set_property), (gst_data_queue_get_property):
6980 * libs/gst/base/gstdataqueue.h:
6981 New GstDataQueue object for threadsafe queueing. Most useful for
6982 elements that need some queueing functionnality.
6983 * docs/libs/gstreamer-libs-docs.sgml:
6984 * docs/libs/gstreamer-libs-sections.txt:
6985 Insert documentation for GstDataQueue
6986 * plugins/elements/Makefile.am:
6987 * plugins/elements/gstelements.c:
6988 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6989 (gst_multi_queue_class_init), (gst_multi_queue_init),
6990 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6991 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6992 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6993 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6994 (gst_multi_queue_loop), (gst_multi_queue_chain),
6995 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6996 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6997 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6998 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6999 (wake_up_next_non_linked), (compute_next_non_linked),
7000 (single_queue_overrun_cb), (single_queue_underrun_cb),
7001 (single_queue_check_full), (gst_single_queue_new):
7002 * plugins/elements/gstmultiqueue.h:
7003 New multiqueue element, using GstDataQueue. Used for queuing multiple
7005 Closes #344639 and #347785
7007 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7009 * docs/pwg/advanced-types.xml:
7010 add more missing type details
7012 * tools/gst-run.c: (main):
7013 remove unused variable
7015 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7017 * docs/libs/Makefile.am:
7018 * docs/libs/gstreamer-libs.types:
7019 add types of base classes to enable gobject specific stuff in the docs
7021 * docs/random/ensonic/embedded.txt:
7022 more ideas about isolating platform specific things
7024 2006-11-20 Wim Taymans <wim@fluendo.com>
7026 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7028 * libs/gst/check/gstcheck.h:
7029 Fix compilation and running against 0.9.4. Fixes #377332.
7031 2006-11-20 Wim Taymans <wim@fluendo.com>
7033 * gst/gstsegment.c: (gst_segment_set_seek),
7034 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7035 (gst_segment_to_running_time):
7036 Fix boundary checking in to_running_time() and to_stream_time().
7039 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7040 stream and running time can now be calculated for the complete
7043 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7045 * gst/gstpad.c: (gst_pad_push_event):
7046 Can't access event structure after giving away ownership of
7049 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7051 * docs/random/ensonic/embedded.txt:
7052 * docs/random/ensonic/profiling.txt:
7053 * docs/random/ensonic/receipies.txt:
7056 2006-11-13 Wim Taymans <wim@fluendo.com>
7058 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7061 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7063 2006-11-13 Wim Taymans <wim@fluendo.com>
7065 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7067 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7068 Store new length in segment duration so we don't keep on calling the
7069 potentially expensize get_size() call. Fixes #370865.
7071 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7073 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7075 * win32/common/libgstreamer.def:
7076 Add two missing symbols (#366492).
7078 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7080 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7081 (gst_adapter_take_buffer):
7082 Fix format string to use all its arguments.
7083 Remove useless >= check on a guint
7085 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7087 * tests/examples/adapter/.cvsignore:
7088 Ignore build file as commanded by the build-bot
7090 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7092 * tests/examples/adapter/Makefile.am:
7093 * tests/examples/adapter/adapter_test.c: (run_test_take),
7094 (run_test_take_buffer), (run_tests), (main):
7096 Add new files from the previous commit
7098 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7102 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7103 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7104 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7105 * libs/gst/base/gstadapter.h:
7106 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7107 (GST_START_TEST), (gst_adapter_suite):
7108 * tests/examples/Makefile.am:
7109 Do some optimisation work in GstAdapter to avoid copies in more cases.
7110 It could still do slightly better by merging buffers when
7111 gst_buffer_is_span_fast is true, but is already faster.
7113 Also, avoid traversing a single-linked list to append each incoming
7114 buffer inside the adapter.
7116 Add simple test app that times the adapter behaviour in different
7117 situations, and extend the unit test to check that bytes enter and
7118 exit the adapter in their original order.
7120 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7122 * docs/random/draft-missing-plugins.txt:
7123 Update: use element message instead of adding a new message
7124 type to the core; don't provide GStreamer API to initiate the
7125 plugin download, just provide API to compose the strings needed
7126 and let an external libgimmestuff handle the rest.
7128 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7130 * tools/gst-inspect.c: (print_element_properties_info):
7131 Print a string instead of 'unknown type' for GValueArray properties
7133 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7135 * docs/random/draft-missing-plugins.txt:
7138 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7140 * tests/examples/typefind/typefind.c: (type_found), (main):
7141 Make typefind element example work again (#371894); add a
7144 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7146 * docs/random/draft-missing-plugins.txt:
7147 Commit initial draft about how to deal with missing plugins,
7148 needs work (API too).
7150 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7152 * docs/pwg/advanced-types.xml:
7153 documents the new caps elements (see #363118)
7155 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7157 * gst/gstplugin.c: (gst_plugin_load_file):
7158 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7159 (gst_file_src_map_region), (gst_file_src_start):
7160 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7161 (gst_file_index_commit):
7162 Use g_strerror() instead of strerror() - we want UTF-8.
7164 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7166 Patch by: Peter Kjellerstedt <pkj at axis com>
7168 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7169 Another printf fix (#371493).
7171 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7173 * tests/check/gst/gsttag.c:
7174 relicence (okay with author=company)
7176 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7178 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7179 (gst_pad_push_event):
7180 Enhance debug and improve docs
7185 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7187 * docs/random/ensonic/distributed.txt:
7188 * docs/random/ensonic/profiling.txt:
7191 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7193 * docs/gst/gstreamer-sections.txt:
7194 add new API and fix the build
7196 * gst/gstbin.c: (gst_bin_recalc_state):
7197 * gst/gstelement.c: (gst_element_message_full),
7198 (gst_element_get_state_func), (gst_element_set_state_func):
7199 use new API and improve logging
7201 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7203 API: add function to get StateChangereturn names to improve logs
7205 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7207 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7208 I'm considering shooting the next person to put strerror stuff
7209 in the translateable part of the message.
7211 2006-11-03 Wim Taymans <wim@fluendo.com>
7213 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7214 Get the type and printf conversion specifiers right.
7216 2006-11-03 Wim Taymans <wim@fluendo.com>
7218 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7220 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7221 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7222 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7223 Some small cleanups. Improve debugging.
7225 Signal all waiting threads with a broadcast instead of just one.
7228 2006-11-03 Wim Taymans <wim@fluendo.com>
7230 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7231 (gst_fd_src_create):
7233 Only update fd when it's different from the old.
7235 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7237 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7238 Printf fixes for PPC/OSX, take two (#369366).
7240 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7242 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7244 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7245 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7246 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7247 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7248 don't cast to long long for portability reasons, but use
7249 GLib's types instead.
7251 2006-10-30 Michael Smith <msmith@fluendo.com>
7253 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7254 Get the arguments to lseek() the right way around.
7257 2006-10-30 Wim Taymans <wim@fluendo.com>
7259 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7262 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7264 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7266 Patch by: Kjartan Maraas <kmaraas at gnome org>
7268 * docs/design/part-MT-refcounting.txt:
7269 * docs/random/wtay/capsnego2-docs:
7272 Typo fixes (#366212).
7274 2006-10-28 Wim Taymans <wim@fluendo.com>
7276 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7279 * win32/common/libgstbase.def:
7280 * win32/common/libgstreamer.def:
7281 * win32/vs8/libgstbase.vcproj:
7282 * win32/vs8/libgstcontroller.vcproj:
7283 Add needed entries in .def files.
7285 Rearrange def files in vs8 solutions. Fixes #366286.
7287 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7289 * win32/common/gstconfig.h:
7290 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7291 hand-made win32 gstconfig.h. Fixes #366321.
7293 2006-10-27 Wim Taymans <wim@fluendo.com>
7295 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7296 (gst_ghost_pad_new_full):
7297 Make acceptcaps return TRUE when we don't have a target, just like
7300 2006-10-27 Wim Taymans <wim@fluendo.com>
7302 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7303 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7305 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7307 * gst/gststructure.c: (gst_structure_id_set_value):
7308 If someone tries to set a non-UTF8 string field on a structure,
7309 don't just print a warning, but also ignore the request and do
7310 not change/add that field to the structure.
7312 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7315 2006-10-25 David Schleef <ds@schleef.org>
7318 g_hash_table_insert() needs a cast to a non-const pointer duh.
7320 2006-10-25 David Schleef <ds@schleef.org>
7324 Change name parameter of _gst_debug_register_funcptr to const
7325 to reflect the constness of its use in the function as well
7326 as to quiet a gcc warning.
7328 2006-10-25 Edward Hervey <edward@fluendo.com>
7330 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7331 Don't push the buffer if it's empty.
7334 2006-10-24 Wim Taymans <wim@fluendo.com>
7339 * libs/gst/base/gstbasetransform.c:
7340 (gst_base_transform_sink_eventfunc):
7341 Debug segment values *after* updating them as this is more
7344 2006-10-23 Wim Taymans <wim@fluendo.com>
7346 * docs/design/part-events.txt:
7349 * docs/design/part-block.txt:
7350 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7351 (gst_pad_push_event):
7352 Revert BLOCKING patch, it tries to be smart without really having a
7353 clear idea what or how. So, now we discard all FLUSHING events again on
7354 a blocking pad. Should fix gnonlin again.
7356 2006-10-23 Wim Taymans <wim@fluendo.com>
7358 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7360 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7361 (gst_base_src_start), (gst_base_src_activate_push):
7362 Make sure size is always initialized. Fixes #364388.
7364 2006-10-20 Stefan Kost <ensonic@users.sf.net>
7366 * docs/random/ensonic/distributed.txt:
7367 add some ideas about doing distributed processing
7369 * docs/random/ensonic/profiling.txt:
7370 get_rusage look promising
7372 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7374 * docs/manual/basics-helloworld.xml:
7375 Add a cast in example to fix compile warning
7377 2006-10-18 Wim Taymans <wim@fluendo.com>
7379 * gst/gstsegment.c: (gst_segment_set_last_stop),
7380 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7381 Relax arg checking again, -1 is allowed.
7383 2006-10-18 Wim Taymans <wim@fluendo.com>
7385 * gst/gstsegment.c: (gst_segment_set_last_stop),
7386 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7387 _set_last_stop() must be with a value != -1
7388 A _TYPE_SET to -1 means seek to 0.
7389 Calc last_stop correctly for negative rates.
7390 Make sure we work with positive durations when updating a segment.
7392 2006-10-18 Wim Taymans <wim@fluendo.com>
7394 * docs/design/part-live-source.txt:
7398 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
7401 Add an explicit cast to GstBuffer** to keep old code that added an
7402 explicit cast to GstMiniObject** for gst_mini_object_replace()
7403 compiling without warning.
7405 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7407 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7408 check for validity of dates
7410 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7412 * docs/gst/gstreamer-sections.txt:
7413 Forgot this one, makes gtk-doc shut up.
7415 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7417 Patch by: Peter Kjellerstedt <pkj at axis com>
7420 Don't define xmlNodePtr to gpointer if the core was built with
7421 --disable-loadsave and --disable-registry, this will break
7422 applications that want to use libxml2 but are buildling against a
7423 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7424 instead so we don't have to mess with the libxml2 namespace
7427 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7430 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7431 type-punned pointer warnings.
7433 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
7436 Add casts to the correct return type to state <=> state transition
7439 2006-10-16 Stefan Kost <ensonic@users.sf.net>
7441 * docs/design/part-live-source.txt:
7442 describe howto handle latency
7444 * docs/random/ensonic/profiling.txt:
7447 * tools/gst-plot-timeline.py:
7448 fix log parsing for solaris, remove unused function
7450 2006-10-16 Wim Taymans <wim@fluendo.com>
7452 * docs/design/part-trickmodes.txt:
7454 Update some docs regarding reverse playback.
7456 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
7458 Patch by: Marcus Granado <mrc dot gran at gmail com>
7460 * win32/vs8/grammar.vcproj:
7461 Error out with a warning if glib-genmarshal.exe is not in path,
7462 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7464 2006-10-13 Wim Taymans <wim@fluendo.com>
7466 * gst/gstsegment.c: (gst_segment_set_seek):
7467 When seeking to stop -1, set last_stop (current position) to the
7468 duration of the segment.
7470 2006-10-13 Wim Taymans <wim@fluendo.com>
7473 Clarify _NO_PREROLL a bit more.
7478 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7479 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7480 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7481 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7482 due to wrong locking order. Fixes #361769.
7483 Remove some redundant/misplaced checks in pad_block.
7485 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7486 For negative rates, count backwards from the duration.
7488 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
7490 * gst/gsterror.c: (_gst_library_errors_init):
7491 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7492 up with something better).
7494 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7496 * win32/vs6/libgstreamer.dsp:
7497 * win32/vs7/libgstreamer.vcproj:
7498 * win32/vs8/libgstreamer.vcproj:
7499 Don't reference glib-compat.c which is currently not used and not
7500 disted; add gstquark.c which was recently added. Fixes #361730.
7502 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7504 * win32/common/libgstbase.def:
7505 * win32/common/libgstcontroller.def:
7506 * win32/common/libgstreamer.def:
7507 Add gst_caps_merge() and a bunch of other recently-added functions.
7510 2006-10-11 Wim Taymans <wim@fluendo.com>
7512 * docs/plugins/gstreamer-plugins.args:
7513 * docs/plugins/inspect/plugin-coreelements.xml:
7514 * docs/plugins/inspect/plugin-coreindexers.xml:
7515 Update element args.
7517 * gst/gstsystemclock.c:
7518 Small comment update.
7520 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7521 (gst_tee_request_new_pad), (gst_tee_release_pad),
7522 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7523 (gst_tee_sink_activate_pull):
7524 * plugins/elements/gsttee.h:
7526 Add default property defines.
7527 Implement release pad function.
7528 Give properties better blubs etc.
7529 Activate pads before adding them to a running tee.
7530 Do simple buffer_alloc on the first requested pad.
7531 Post error when activation fails.
7533 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7535 * gst/gst.c: (ensure_current_registry_forking):
7536 Check return value of write() to make compiler happy.
7538 2006-10-11 Wim Taymans <wim@fluendo.com>
7540 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7542 * plugins/elements/gstqueue.c: (gst_queue_chain):
7543 Recheck queue filledness after signalling the overrun when we're about
7544 to leak downstream because we released the lock when emitting the signal
7545 and the queue could be empty again. Fixes #352345.
7547 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7549 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7550 Fix refcounting here too, just like we did for _new_valist() a few
7551 days ago (#357180) (thanks to René Stadler). Also remove all those
7552 'Since: 0.9' from the gtk-doc blobs.
7554 * tests/check/libs/controller.c: (controller_refcount_new_list),
7555 (gst_controller_suite):
7556 Unit test for the above.
7558 2006-10-10 Wim Taymans <wim@fluendo.com>
7560 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7562 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7563 (gst_pad_save_thyself):
7565 Write pad direction in XML output. Fixes #345496.
7567 2006-10-10 Wim Taymans <wim@fluendo.com>
7569 Patch by: René Stadler <mail at renestadler dot de>
7571 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7572 (gst_controller_new_list), (_gst_controller_dispose),
7573 (_gst_controller_finalize), (_gst_controller_class_init):
7574 Take ref to controlled object so that it cannot disappear.
7577 2006-10-10 Wim Taymans <wim@fluendo.com>
7579 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7580 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7581 (gst_check_teardown_sink_pad):
7582 Activate/deactivate pads in setup/teardown respectively.
7584 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7586 Patch by: Josep Torra Valles <josep@fluendo.com>
7589 Cast values when making gstenumtypes.h. This pacifies Forte
7590 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7593 2006-10-09 Wim Taymans <wim@fluendo.com>
7595 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7596 Rename some more @cur to @start to fix docs.
7598 * gst/gstsegment.c: (gst_segment_set_seek):
7600 time and start must always stay in sync as defined in design doc.
7602 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7603 Rename param to fix docs.
7605 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7606 Check that start and time are in sync.
7608 * tests/check/pipelines/parse-launch.c:
7609 (gst_parse_test_element_change_state):
7610 Activate pad before adding to the element.
7612 2006-10-09 Wim Taymans <wim@fluendo.com>
7614 * docs/design/part-qos.txt:
7619 Update seek event docs regarding negative rates.
7620 Rename @cur to @start.
7622 * gst/gstsegment.c: (gst_segment_set_seek):
7624 Update set_seek docs regarding negative rates.
7625 Correctly update last_stop to @stop when dealing with negative
7627 Rename @cur to @start.
7629 * tests/check/gst/gstpad.c: (GST_START_TEST):
7630 Activate pads before trying to use them.
7632 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7633 (gst_segment_suite):
7634 Add simple check for segments and negative rates.
7636 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
7638 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7640 * docs/gst/gstreamer-sections.txt:
7641 API: add gst_tag_list_is_empty() (#360467).
7643 * tests/check/gst/gsttag.c: (GST_START_TEST):
7646 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7649 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7650 a value that doesn't fit on enumeration.
7652 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7654 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7655 Remove local debugging system and use Gstreamer's instead.
7657 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7659 Patch by: Josep Torra Valles <josep@fluendo.com>
7661 * common/m4/gst-error.m4:
7662 Disable warning of statement not reached on Forte.
7664 Fix warning on Forte (value doesn't fit on enumeration).
7665 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7666 Fix warning on Forte (value doesn't fit on enumeration).
7667 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7668 DEBUG macro says it takes minimum of 2 args and so Forte
7669 complains about the use with just 1 arg.
7670 * plugins/elements/gstfdsink.c:
7671 * plugins/elements/gstfdsrc.c:
7672 * plugins/elements/gstfilesink.c:
7673 * plugins/elements/gstfilesrc.c:
7674 Use correct return type for the uri handler implementations.
7676 All these fix warnings in Forte. Fixes bug #360860.
7678 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
7681 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7682 format string, so don't use G_GNUC_PRINTF for those versions.
7684 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7686 * gst/gsttaglist.c: (gst_is_tag_list):
7688 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7690 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7691 Small test for the above.
7693 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7696 Less tabs, more spaces.
7698 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
7701 Those two function declarations do actually belong there, revert
7702 commit from yesterday that turned them intro macros.
7704 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7706 Patch by: Josep Torra Valles <josep@fluendo.com>
7708 * gst/gst.c: (gst_init_get_option_group):
7709 Fix empty declaration and type mismatch.
7710 * gst/gstbin.c: (gst_bin_change_state_func):
7712 * gst/gstelement.c: (gst_element_continue_state),
7713 (gst_element_set_state_func), (gst_element_change_state),
7714 (gst_element_change_state_func):
7715 Fix type mismatches.
7716 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7717 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7718 Cast as appropriate.
7719 * gst/gstobject.c: (gst_class_signal_connect):
7720 Cast as appropriate. The function pointer parameter really
7721 has the wrong type but would break API if we change it.
7723 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7724 order of including string.h.
7725 * gst/gstutils.c: (gst_element_state_get_name):
7726 Remove unreachable line.
7727 * gst/gstxml.c: (gst_xml_parse_doc):
7729 All these caught by Forte.
7731 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7733 Patch by: Josep Torra Valles <josep@fluendo.com>
7735 * common/m4/gst-error.m4:
7737 We need to disable warnings on Forte for empty declarations
7738 due to gst-indent adding ;s to lines that just use macros
7739 where the macro actually doesn't need a ; at end to end
7742 2006-10-06 Wim Taymans <wim@fluendo.com>
7744 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7745 (gst_file_sink_close_file), (gst_file_sink_event),
7746 (gst_file_sink_render):
7747 Add some FIXME for the NEWSEGMENT handling.
7749 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7751 * gst/parse/grammar.y:
7752 Remove static function gst_parse_element_lock as all it does
7753 is return. Looks like cruft from 0.8.
7755 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7757 Patch by: Josep Torra Valles <josep@fluendo.com>
7759 * common/m4/gst-error.m4:
7761 * libs/gst/net/Makefile.am:
7762 Fix a compilation issue with Forte on Solaris. inet_aton is in
7765 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7767 * gst/gstpad.c: (pre_activate):
7768 * gst/gstregistry.c: (gst_registry_scan_path_level):
7769 * gst/gstregistryxml.c: (load_plugin):
7770 * libs/gst/controller/gstcontroller.c:
7771 (gst_controlled_property_set_interpolation_mode):
7772 * libs/gst/dataprotocol/dataprotocol.c:
7773 (gst_dp_packet_from_event_1_0):
7774 * libs/gst/net/gstnetclientclock.c:
7775 (gst_net_client_clock_observe_times):
7776 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7779 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7782 * docs/gst/gstreamer-sections.txt:
7783 * gst/gstconfig.h.in:
7786 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7787 whether we can use G_GNUC_PRINTF in other header files and at
7788 least check the printf format/arguments of debug messages and
7789 GST_ELEMENT_ERROR messages when the printf extension is not
7791 Replace more tabs with spaces in gstinfo.h and remove two spurious
7792 function declarations in GST_DISABLE_DEBUG part with macros.
7794 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
7796 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7797 More docs for the sync-message signal (mention that it is not
7798 emitted by default); log message structures of messages posted on
7801 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
7803 * gst/gst.c: (ensure_current_registry_forking):
7804 Use a pipe pair to receive status results from the forked child, and
7805 ignore the result from waitpid. Fixes #355499
7807 2006-10-02 Wim Taymans <wim@fluendo.com>
7809 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7810 (gst_ghost_pad_suite):
7813 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7816 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7818 2006-10-02 Edward Hervey <edward@fluendo.com>
7820 * docs/design/part-block.txt:
7821 Further explain the use of flushing on blocked pads.
7822 * docs/gst/gstreamer-sections.txt:
7823 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7824 (gst_pad_push_event):
7826 Added new GstPadFlag : GST_PAD_BLOCKING.
7827 Adds the notion of pads really blocking, which enables to properly
7828 handle FLUSH_START/FLUSH_STOP events on blocked pads.
7830 API: gst_pad_is_blocking()
7831 API: GST_PAD_IS_BLOCKING() macro
7832 API: GST_PAD_BLOCKING GstPadFlag
7834 2006-10-02 Wim Taymans <wim@fluendo.com>
7836 Patch by: mrcgran <mrc.gran at gmail dot com>
7838 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7839 Filter the proxied caps against the padtemplate if we have one.
7841 * gst/gstquery.c: (gst_query_new_segment):
7842 Add include for gstinfo.h so that compilation with
7843 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7845 2006-10-02 Wim Taymans <wim@fluendo.com>
7847 Patch by: Alessandro Decina <alessandro at nnva org>
7849 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7850 (gst_file_sink_set_location), (gst_file_sink_open_file),
7851 (gst_file_sink_close_file), (gst_file_sink_event),
7852 (gst_file_sink_render):
7853 Set file to NULL when closing filesink so that we can set a new filename
7854 in READY. Fixes #358613.
7856 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7858 Patch by: Alessandro Decina <alessandro at nnva org>
7860 * gst/gstevent.c: (_gst_event_copy):
7861 Fix gst_mini_object_make_writable() and gst_event_copy() for events
7862 with event structures by setting the parent refcount address of the
7863 copied structure to the address of the refcount member of the newly
7864 copied event rather than the address of the refcount member of the
7865 original event. Fixes #358737.
7867 * tests/check/gst/gstevent.c: (GST_START_TEST):
7868 Unit test for the above.
7870 2006-09-29 Stefan Kost <ensonic@users.sf.net>
7872 * docs/design/Makefile.am:
7873 Dist some more files.
7875 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7877 * tests/check/libs/controller.c: (GST_START_TEST),
7878 (gst_controller_suite):
7879 Add test for the previous fix; add some more tests
7880 for correct refcounting behaviour; fix a few leaks
7881 in test cases; call gst_controller_init() at start
7884 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7886 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7887 (gst_controller_set_from_list):
7888 Don't g_return_val_if_fail() on timed values with invalid timestamps
7889 inside a critical section without unlocking the mutex. Spotted by
7890 René Stadler. (#357617)
7891 Also, fix up refcounting properly: when returning an existing
7892 controller, we should increase the reference only once and not
7893 once per property and when trying to control a property again
7894 we should also increase the refcount.
7896 2006-09-29 Wim Taymans <wim@fluendo.com>
7898 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7899 * libs/gst/net/gstnettimeprovider.c:
7900 (gst_net_time_provider_thread):
7901 Stop reading commands when EOF as well.
7903 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7904 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7905 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7906 Unify description of the dump property.
7908 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7910 * tests/examples/manual/.cvsignore:
7911 OK, so it's actually cvsignore that needs changing. Stop laughing.
7913 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7915 * tests/examples/manual/Makefile.am:
7916 Gah, declare vars *before* using them
7918 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7920 * gst/gst.c: (init_pre), (scan_and_update_registry),
7921 (ensure_current_registry_nonforking),
7922 (ensure_current_registry_forking), (ensure_current_registry),
7923 (init_post), (gst_debug_help), (gst_deinit):
7924 * gst/gst_private.h:
7925 * gst/gstregistry.c: (gst_registry_finalize),
7926 (gst_registry_remove_features_for_plugin_unlocked),
7927 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7928 (gst_registry_scan_path),
7929 (_priv_gst_registry_remove_cache_plugins),
7930 (_priv_gst_registry_cleanup):
7931 * gst/gstregistry.h:
7932 Re-commit the registry changes, along with an extra fix:
7933 When a cached plugin is encountered at a different file path,
7934 update the stored path in the registry cache so that the parent
7935 process knows where it actually is now when it re-reads the registry
7936 cache. Fixes the thing that broke distcheck with the previous commit.
7938 * tests/check/Makefile.am:
7939 Clean up files named 'core' too when running make clean.
7941 * tests/examples/manual/Makefile.am:
7942 Set up a registry path for running these tests, and clean it properly
7945 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7948 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7949 want gmodule-no-export-2.0.pc instead so that we don't drag in
7950 --export-dynamic on every project that links to GStreamer.
7952 Also, make our export regex only match the start of symbols, rather
7953 than any symbol that contains '_gst' somewhere.
7955 * libs/gst/check/Makefile.am:
7956 The libgstcheck we build does however need export-dynamic, as it
7957 produces some symbols that don't match our _gst... style regex.
7960 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7962 * gst/gst.c: (init_pre), (scan_and_update_registry),
7963 (ensure_current_registry_nonforking),
7964 (ensure_current_registry_forking), (ensure_current_registry),
7965 (init_post), (gst_debug_help), (gst_deinit):
7966 * gst/gst_private.h:
7967 * gst/gstregistry.c: (gst_registry_finalize),
7968 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7969 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7970 (_gst_registry_cleanup):
7971 * gst/gstregistry.h:
7972 Revert previous change until I figure out why it breaks distcheck.
7974 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7976 * gst/gst.c: (init_pre), (scan_and_update_registry),
7977 (ensure_current_registry_nonforking),
7978 (ensure_current_registry_forking), (ensure_current_registry),
7979 (init_post), (gst_debug_help), (gst_deinit):
7981 Make init_pre and init_post take the full complement of GOptionFunc
7982 args so they can return useful GErrors. Make the registry updating
7985 Call _priv_gst_registry_remove_cache_plugins after scanning files to
7986 ensure that the registry we're about to write out doesn't contain
7987 stale information about old-deleted plugin files.
7989 Make _priv_gst_registry_remove_cache_plugins return a boolean so
7990 that deletion of plugin files is considered a registry change.
7992 * gst/gst_private.h:
7993 * gst/gstregistry.c: (gst_registry_finalize),
7994 (gst_registry_remove_features_for_plugin_unlocked),
7995 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7996 (gst_registry_scan_path),
7997 (_priv_gst_registry_remove_cache_plugins),
7998 (_priv_gst_registry_cleanup):
7999 * gst/gstregistry.h:
8000 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8001 by adding _priv prefix, so that they won't appear in the global
8002 symbol table. They still do atm though because of #318031. Move the
8003 prototypes to gst_private.h
8005 When removing a plugin, remove all features for that plugin too.
8008 2006-09-27 Wim Taymans <wim@fluendo.com>
8010 * docs/random/moving-plugins:
8011 Make it clear that the "compiled-in descriptions" really mean
8012 the element details.
8014 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8015 (gst_base_sink_wait_preroll):
8018 * docs/libs/gstreamer-libs-sections.txt:
8019 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8020 (gst_base_src_get_range), (gst_base_src_activate_push):
8021 * libs/gst/base/gstbasesrc.h:
8022 Added function to block while waiting for PLAYING, this function
8023 is used by live sources that block on the clock.
8024 API: gst_base_src_wait_playing()
8026 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8028 Patch by: Peter Kjellerstedt <pkj at axis com>
8031 gst-element-check.m4 is generated and should therefore be
8032 copied from the build dir rather than the source dir (#357593).
8033 'make distcheck' hasn't noticed this because we were disting
8034 the file as well, so stop doing that.
8036 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8038 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8039 Add some tests for gst_caps_intersect().
8041 * tools/gst-launch.c: (event_loop):
8042 Print all buffering percentages we get, even the 100% one.
8044 2006-09-26 Wim Taymans <wim@fluendo.com>
8046 * tools/gst-inspect.c: (print_element_properties_info),
8047 (print_signal_info):
8048 Fix printing of flags to match the look of enums.
8050 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8052 * gst/gstelementfactory.c:
8053 Fix typo in docs blurb.
8055 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8057 * gst/gsturi.c: (search_by_entry):
8058 Don't assert/crash here if a uri handler doesn't return any
8059 supported protocols. The list of protocols could be generated
8060 dynamically at runtime or at plugin registration, and an error
8061 in the underlying library shouldn't be fatal (#353301).
8063 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8066 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8067 (spotted by Peter Kjellerstedt).
8069 2006-09-23 Wim Taymans <wim@fluendo.com>
8071 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8073 * libs/gst/base/gstbasesrc.c:
8074 (gst_base_src_default_check_get_range), (gst_base_src_start),
8075 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8076 (gst_base_src_change_state):
8077 Match _start/_stop calls in the activate functions. Remove redundant
8078 _stop call from the state change function. Fixes #356910.
8079 Turn failure DEBUG into ERROR.
8081 2006-09-22 Wim Taymans <wim@fluendo.com>
8083 * docs/design/part-buffering.txt:
8084 * gst/gstmessage.c: (gst_message_new_buffering),
8085 (gst_message_parse_buffering):
8086 Update docs about buffering.
8088 * docs/design/part-trickmodes.txt:
8091 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8094 (gst_controller_new_list):
8095 Ref instances when returning them again (fixes #357180)
8097 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8099 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8100 Don't forget to release proxy lock when there's an error.
8102 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8105 Add extra initialisers for Caps things, to fix some plugin warnings
8108 2006-09-18 Wim Taymans <wim@fluendo.com>
8110 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8111 Also set template on the internal pad so that a getcaps from the
8112 target pad returns the template caps.
8114 2006-09-18 Wim Taymans <wim@fluendo.com>
8116 * gst/gstelement.c: (gst_element_post_message),
8117 (gst_element_dispose):
8118 Use _DEBUG_OBJECT some more.
8120 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8123 * tools/gst-launch.c: (main):
8124 If the toplevel element is not a GstPipeline, it must be put in a
8125 pipeline so that a bus and clock is selected.
8127 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8129 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8130 JITTER, RATE, and LATENCY query should be handled by the
8131 default case and not by the CONVERT query code.
8133 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8135 * gst/gstformat.c: (gst_format_register):
8136 Fix locking order (must take lock before using n_values).
8138 * gst/gstvalue.c: (gst_value_serialize_enum),
8139 (gst_value_deserialize_enum_iter_cmp),
8140 (gst_value_deserialize_enum):
8141 Fix serialisation/deserialisation of custom registered GstFormats.
8143 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8144 Unit test for custom format serialisation/deserialisation.
8146 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8148 * docs/pwg/building-boiler.xml:
8149 * plugins/elements/gstcapsfilter.c:
8150 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8153 2006-09-16 Edward Hervey <edward@fluendo.com>
8155 * libs/gst/base/gstbasetransform.c:
8156 (gst_base_transform_buffer_alloc):
8157 Check if requested caps are the same as the sinks caps IF
8158 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8160 This fixes the renegotiation issues stated in #352827.
8162 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8165 * docs/manual/advanced-autoplugging.xml:
8166 * tests/examples/Makefile.am:
8167 * tests/examples/manual/.cvsignore:
8168 * tests/examples/manual/Makefile.am:
8169 * tests/examples/manual/extract.pl:
8170 Extract the manual examples again like we used to do.
8173 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8175 * win32/common/config.h:
8178 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8181 Documents how to receive errors.
8183 2006-09-15 Wim Taymans <wim@fluendo.com>
8185 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8186 (event_loop), (main):
8187 Added some comments here and there.
8188 Post an application message when an interrupt is caught instead of doing
8189 an uncontrolled state change.
8190 Clean up the event loop.
8191 Handle buffering messages, pause/resume the pipeline.
8192 Make shutdown because of an interrupt more reliable.
8194 2006-09-15 Wim Taymans <wim@fluendo.com>
8196 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8197 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8198 (gst_base_sink_preroll_object):
8199 Make sure that our internal state is correct when we commit our state
8200 asynchronously. This solves a race where a state change to PLAYING
8201 could cause the sink to remain blocked in preroll in some situations.
8203 2006-09-15 Wim Taymans <wim@fluendo.com>
8205 * tools/gst-inspect.c: (print_element_properties_info),
8206 (print_signal_info):
8207 List flags as hex so it's easier to deal with.
8209 2006-09-15 Wim Taymans <wim@fluendo.com>
8211 * docs/libs/gstreamer-libs-sections.txt:
8212 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8213 (gst_base_sink_do_sync):
8214 * libs/gst/base/gstbasesink.h:
8215 Expose logic to wait for preroll so that subclasses such as audiosink
8216 can also use this method.
8217 API: gst_base_sink_wait_preroll()
8219 2006-09-15 Wim Taymans <wim@fluendo.com>
8221 * gst/gstobject.c: (gst_object_set_parent):
8222 * gst/gstpipeline.c: (do_pipeline_seek):
8223 Small cleanups in docs and code.
8225 * gst/gstsegment.c: (gst_segment_clip):
8226 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8227 if stop == start and start is in the segment, no clipping should be
8228 done. Also add a test for this.
8230 2006-09-15 Wim Taymans <wim@fluendo.com>
8232 * docs/design/part-buffering.txt:
8233 * docs/gst/gstreamer-sections.txt:
8234 * gst/gstmessage.c: (gst_message_new_buffering),
8235 (gst_message_parse_buffering):
8237 Added methods to create and parse BUFFERING messages.
8238 Added preliminary docs about buffering.
8239 API: gst_message_new_buffering
8240 API: gst_message_parse_buffering
8242 2006-09-06 Wim Taymans <wim@fluendo.com>
8245 Update documentation.
8247 * gst/gstelement.c: (gst_element_class_init),
8248 (gst_element_release_request_pad), (gst_element_set_clock),
8249 (gst_element_get_index), (gst_element_add_pad),
8250 (gst_element_remove_pad), (gst_element_get_random_pad),
8251 (gst_element_send_event), (gst_element_get_query_types),
8252 (gst_element_query), (gst_element_post_message),
8253 (gst_element_message_full), (gst_element_continue_state),
8254 (gst_element_lost_state), (gst_element_save_thyself),
8255 (gst_element_restore_thyself):
8256 Documentation updates.
8257 Rename last bit of the new-pad -> pad-added signal rename.
8258 Fix the case where an element query would only work if the source
8260 Avoid some useless type checking in message handling.
8265 Documentation updates.
8267 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8269 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8270 add an INFO line for when we actually update the fd
8272 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8277 === release 0.10.10 ===
8279 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8282 releasing 0.10.10, "Pais"
8284 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8286 * docs/manual/advanced-position.xml:
8287 Fix typo in sample code.
8289 2006-09-05 Wim Taymans <wim@fluendo.com>
8291 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8292 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8293 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8294 * libs/gst/net/gstnetclientclock.h:
8295 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8296 * libs/gst/net/gstnettimepacket.h:
8297 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8298 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8299 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8300 * libs/gst/net/gstnettimeprovider.h:
8301 Make stuff compile on windows. Fixes #345295.
8303 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8305 * gst/gst.c: (ensure_current_registry_forking):
8306 Print better details when child was terminated by signal.
8308 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8310 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8311 Print a warning rather than g_assert() if a plugin feature
8312 is a URI handler but returns no protocols (#353976).
8314 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8316 * docs/random/moving-plugins:
8319 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8321 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8322 Fix locking order, handle NULL function values properly.
8327 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8328 Initialise variable before using it and fix debug statement to
8329 print the address of the function rather than the address of the
8330 variable on the stack holding the address of the function.
8332 2006-09-01 Wim Taymans <wim@fluendo.com>
8334 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8335 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8336 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8337 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8338 (gst_ghost_pad_parent_unset),
8339 (gst_ghost_pad_internal_do_activate_push),
8340 (gst_ghost_pad_internal_do_activate_pull),
8341 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8342 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8343 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8344 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8345 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8346 (gst_ghost_pad_new_no_target_from_template),
8347 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8349 Avoid needless typechecking in macros.
8350 Since the internal pad is always present and never changes, there is
8351 no need to locking or ref when retrieving it.
8352 Improve debugging a bit.
8353 Handle link errors when setting the target. Fixes #341029.
8355 2006-09-01 Wim Taymans <wim@fluendo.com>
8357 * docs/libs/gstreamer-libs-sections.txt:
8358 * docs/plugins/gstreamer-plugins-sections.txt:
8361 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8362 (gst_collect_pads_event):
8363 * libs/gst/base/gstcollectpads.h:
8364 Documentation updates.
8365 Free queued buffer when removing a pad.
8367 2006-08-31 Michael Smith <msmith@fluendo.com>
8369 * gst/gstutils.c: (gst_element_link_pads),
8370 (gst_element_link_pads_filtered):
8371 Ensure that we set a capsfilter to NULL if we failed to link it
8372 when doing filtered linking, to avoid criticals.
8374 No need to check for unreffing srcpad, which is explicly NULLed
8375 above (a trivial code cleanup).
8377 2006-08-31 Wim Taymans <wim@fluendo.com>
8379 * docs/design/part-gstghostpad.txt:
8380 Update ascii art in documentation.
8382 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8383 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8384 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8385 (gst_ghost_pad_internal_do_activate_push),
8386 (gst_ghost_pad_internal_do_activate_pull),
8387 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8388 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8389 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8390 (gst_ghost_pad_set_target):
8391 Small cleanups and leak fixes.
8392 Remove some checks now that the internal pad is never NULL.
8393 Fix the case where linking pads without a target would create nasty
8394 criticals. Fixes #341029.
8395 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8396 value of _set_target().
8398 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8399 (gst_ghost_pad_suite):
8400 Some more tests for creating and linking untargeted ghostpads.
8402 2006-08-31 Edward Hervey <edward@fluendo.com>
8404 * docs/gst/gstreamer-sections.txt:
8405 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8406 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8407 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8408 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8409 (gst_ghost_pad_new_from_template),
8410 (gst_ghost_pad_new_no_target_from_template):
8411 * gst/gstghostpad.h:
8412 Refactored *_new() functions.
8413 Templates are now used as a g_object_new() parameter.
8414 Use template in _do_getcaps() if we don't have a target.
8415 Small documentation cleanups.
8416 Added two new constructors:
8417 gst_ghost_pad_new_from_template()
8418 gst_ghost_pad_new_no_target_from_template()
8419 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8420 (gst_ghost_pad_suite):
8421 Added tests for new ghostpad instanciation functions.
8423 API additions: gst_ghost_pad_new_from_template,
8424 gst_ghost_pad_new_no_target_from_template
8426 2006-08-30 Stefan Kost <ensonic@users.sf.net>
8428 * docs/random/ensonic/profiling.txt:
8429 Ideas about qos profiling.
8431 2006-08-29 Wim Taymans <wim@fluendo.com>
8433 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8437 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
8440 Improve and detypofy docs.
8442 * tests/check/Makefile.am:
8443 * tests/check/gst/.cvsignore:
8444 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8445 Add a basic test suite for GstXML.
8447 2006-08-29 Wim Taymans <wim@fluendo.com>
8449 * gst/gstelement.c: (activate_pads), (clear_caps),
8450 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8451 Clear the pad caps when the element shut down all of the pads and
8452 is not streaming data that could modify the caps.
8455 2006-08-28 Michael Smith <msmith@fluendo.com>
8457 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8458 Revert previous change; I misunderstood single-segment mode.
8460 2006-08-28 Michael Smith <msmith@fluendo.com>
8462 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8463 Unset DISCONT on buffers when using single-segment mode.
8465 2006-08-28 Wim Taymans <wim@fluendo.com>
8467 * gst/gstcaps.c: (gst_caps_merge_structure):
8469 Fix docs and indentation again.
8471 * tests/check/gst/gstquery.c: (GST_START_TEST):
8472 Fix leak in tests and add some more tests.
8474 2006-08-28 Edward Hervey <edward@fluendo.com>
8476 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8477 Inform GstSegment of the last stop position in order for the current
8478 segment to have a proper duration if it doesn't have a specific stop
8479 position from which a duration could be calculated.
8480 This bug was noticeable when a non-flushing, non-update new segment was
8481 followed by another segment (all buffers from the new segment were being
8484 2006-08-28 Wim Taymans <wim@fluendo.com>
8486 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8487 Small comment update.
8489 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8490 (gst_identity_transform_ip):
8491 Drop-probability is broken, mention this in the code with a
8492 FIXME and also in the property description.
8493 Make silent also be silent about the drop messages.
8495 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
8497 * docs/manual/appendix-win32.xml:
8498 Remove mention of popt, we don't depend on that any
8499 longer (#353136). Add some comments pointing out that
8500 this section is slightly outdated.
8502 2006-08-28 Wim Taymans <wim@fluendo.com>
8504 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8506 * gst/gstquery.c: (gst_query_new_segment):
8507 * tests/check/gst/gstquery.c: (GST_START_TEST):
8508 Initialize variables when creating a new segment query.
8511 2006-08-28 Wim Taymans <wim@fluendo.com>
8513 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8515 * gst/gstelement.c: (gst_element_get_bus):
8516 * tests/check/gst/gstelement.c: (GST_START_TEST):
8517 Check for NULL before _reffing the bus. Fixes #353122.
8519 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
8521 * docs/manual/basics-bus.xml:
8522 Docs update: fix wrong callback return value explanation; add
8523 some lines about the implicit relationship between main loop
8524 and main context; remove duplicate main loop variable declaration.
8526 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
8528 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8529 Don't leak caps in unit test; add a few more simple
8532 2006-08-24 Stefan Kost <ensonic@users.sf.net>
8534 * docs/gst/gstreamer-sections.txt:
8535 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8536 (gst_caps_structure_is_subset), (gst_caps_merge),
8537 (gst_caps_merge_structure):
8539 * libs/gst/base/gstbasetransform.c:
8540 (gst_base_transform_transform_caps):
8541 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8542 implement caps merging (fixes #352580)
8544 2006-08-23 Stefan Kost <ensonic@users.sf.net>
8546 * tools/Makefile.am:
8547 * tools/gst-plot-timeline.py:
8548 add debug-log plotting developer tool (#340674)
8550 2006-08-23 Wim Taymans <wim@fluendo.com>
8552 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8553 (gst_pad_stop_task):
8554 Improve debugging for task functions.
8556 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8557 (gst_task_start), (gst_task_pause), (gst_task_join):
8558 Make sure that the task function started and finished after a
8560 Don't try to push the task function on the threadpool multiple
8562 Improve the g_warning message with some useful suggestions
8563 about how to fix the problem.
8565 2006-08-23 Wim Taymans <wim@fluendo.com>
8567 * gst/gstutils.c: (gst_pad_proxy_getcaps):
8568 Handle RESYNC correctly in _proxy_getcaps.
8570 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
8572 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8573 (gst_xml_parse_memory), (gst_xml_get_element):
8574 Chain up to parent class in dispose function and also
8575 unref the elements in the toplevel_elements GList.
8576 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8577 Always return a reference in gst_xml_get_element() rather
8578 than only sometimes.
8580 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8581 Don't leak GstXml object.
8583 2006-08-21 Stefan Kost <ensonic@users.sf.net>
8585 * docs/gst/gstreamer-sections.txt:
8586 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8589 * libs/gst/base/gstbasetransform.c:
8590 (gst_base_transform_transform_caps):
8591 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8594 2006-08-21 Edward Hervey <edward@fluendo.com>
8596 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8597 Implement GObject::dispose virtual method in GstXML so we can free the
8600 2006-08-21 Wim Taymans <wim@fluendo.com>
8602 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8603 (gst_buffer_create_sub):
8604 Copy duration/offset_end/caps when creating a subbuffer of the
8606 Make the subbuffer read-only when we make the metadata writable for
8609 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8610 Added check for metadata copy when creating subbuffers.
8612 2006-08-21 Edward Hervey <edward@fluendo.com>
8614 * libs/gst/base/gstbasetransform.c:
8615 (gst_base_transform_buffer_alloc):
8616 Only call downstream buffer_alloc if transform element is passthrough
8617 or always_in_place. Closes #350449.
8619 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8622 ChangeLog surgery to add comments to previous changes
8624 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8629 * gst/gstpad.c: (gst_pad_set_active):
8630 Be more verbose in the log
8632 * libs/gst/base/gstbasetransform.c:
8633 (gst_base_transform_transform_caps):
8634 Simplify caps to get rid of duplicates, fixes #345444
8636 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8640 Use these optimizations only internally.
8642 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8644 * gst/gstvalue.c: (gst_value_compare_list),
8645 (gst_value_compare_fraction_range),
8646 (gst_value_intersect_fraction_fraction_range),
8647 (gst_value_intersect_fraction_range_fraction_range),
8648 (gst_value_subtract_fraction_fraction_range),
8649 (gst_value_subtract_fraction_range_fraction_range),
8650 (gst_value_get_compare_func), (gst_value_compare),
8651 (gst_value_compare_with_func):
8653 Saves the expensive lookup of the compare function in many cases
8656 2006-08-18 Edward Hervey <edward@fluendo.com>
8658 * tests/check/gst/gstinfo.c: (gst_info_suite):
8659 Disable test that require gstdebug if it wasn't built in core.
8661 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8663 * docs/random/ensonic/logging.txt:
8666 * gst/gstinfo.c: (gst_debug_log_default):
8667 reorder fields, save some columns, add optional color codes for log
8670 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8672 * docs/random/ensonic/logging.txt:
8673 add ideas about making the logs a bit more useful
8675 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8677 * docs/pwg/advanced-events.xml:
8678 * docs/pwg/titlepage.xml:
8679 Update for 0.10 API (#340627). Add myself
8682 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8684 * docs/libs/gstreamer-libs-docs.sgml:
8685 * docs/libs/gstreamer-libs-sections.txt:
8686 * libs/gst/check/gstbufferstraw.c:
8687 Make gstcheck stuff show up in docs (still needs to
8688 be documented properly though).
8690 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
8692 * docs/gst/gstreamer-sections.txt:
8694 * gst/gst.c: (init_post):
8695 * gst/gst_private.h:
8696 * gst/gstquark.c: (_priv_gst_quarks_initialize):
8698 * gst/gstquery.c: (gst_query_new_position),
8699 (gst_query_set_position), (gst_query_parse_position),
8700 (gst_query_new_duration), (gst_query_set_duration),
8701 (gst_query_parse_duration), (gst_query_new_convert),
8702 (gst_query_set_convert), (gst_query_parse_convert),
8703 (gst_query_new_segment), (gst_query_set_segment),
8704 (gst_query_parse_segment), (gst_query_new_seeking),
8705 (gst_query_set_seeking), (gst_query_parse_seeking):
8706 Add internal helpers for pre-registering quarks from static strings
8707 and using the quark values directly instead of looking them up when
8708 creating and parsing queries. Can be used for event construction too.
8711 2006-08-16 Wim Taymans <wim@fluendo.com>
8716 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8718 * gst/gstutils.c: (gst_util_set_value_from_string):
8719 Fix memleak (#351502).
8721 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8722 Add unit test for most of gst_util_set_value_from_string()
8723 (not that one would want to encourage use of this function).
8725 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8727 * libs/gst/check/gstcheck.h:
8728 Use const gchar * variables in fail_unless_equals_string
8729 macro to avoid compiler warnings (and don't use tabs for
8732 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8734 * tools/gst-launch.c: (print_tag):
8735 More space on the left for the tag names, to cater
8736 for the 'extended comment' tag (not touching the
8737 string for the first line since it's translated).
8739 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8741 * libs/gst/check/gstcheck.h:
8742 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8743 print something when they fail.
8745 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8747 * docs/gst/gstreamer-sections.txt:
8748 * gst/gsttaglist.c: (_gst_tag_initialize):
8750 API: add GST_TAG_EXTENDED_COMMENT (#350935).
8751 Also change merge function for GST_TAG_COMMENT to
8754 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8756 * gst/gstinfo.c: (gst_debug_print_object):
8757 Make GST_PTR_FORMAT print messages as well.
8759 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8760 (GST_START_TEST), (gst_info_suite):
8763 2006-08-14 Edward Hervey <edward@fluendo.com>
8765 * gst/gstelementfactory.c: (gst_element_register):
8766 If the GstElementClass doesn't have a GstElementDetails with all fields
8767 filled up correctly (longname, description AND author), then error out
8768 nicely instead of crashing.
8770 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8772 * gst/gststructure.c:
8773 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8776 Expand on the difference between arrays and lists as we use them.
8778 2006-08-14 Wim Taymans <wim@fluendo.com>
8780 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8781 If the parent state change function failed, don't assume we can safely
8782 stop the source, this will be done when the pads are deactivated.
8784 2006-08-14 Wim Taymans <wim@fluendo.com>
8787 * gst/gsttask.c: (gst_task_join):
8790 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8791 (gst_pad_stop_task):
8792 When pad (de)activation failed for some reason, restore the old
8793 activation mode and set the pad to flushing instead of assuming the
8795 If the _task_join() failed, reinstall the task on the pad so that it can
8796 be stopped later and return an error.
8798 2006-08-11 Andy Wingo <wingo@pobox.com>
8801 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8802 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8803 is only for users of API that don't want to see deprecated
8804 functions in the headers; people that want to compile out
8805 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8806 CFLAGS. Fixes the build of multifdsink, or will soon..
8808 2006-08-11 Wim Taymans <wim@fluendo.com>
8810 * docs/gst/gstreamer-sections.txt:
8811 Add GstClockClass vmethod docs.
8814 Mark #endif with comment for associated #if
8816 * gst/gstclock.c: (gst_clock_id_wait):
8818 Add vmethod wait_jitter to avoid an unneeded _get_time() for
8819 most clock implementations.
8821 Flesh out docs about resolution methods.
8822 API: GstClockClass::wait_jitter
8824 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8825 (gst_system_clock_async_thread),
8826 (gst_system_clock_id_wait_jitter_unlocked),
8827 (gst_system_clock_id_wait_jitter):
8828 Use base class wait_jitter variant for improved performance
8829 due to less clock polling.
8831 2006-08-11 Edward Hervey <edward@fluendo.com>
8833 * gst/gst.c: (gst_init_check), (init_post):
8834 Set gst as being initialized before scanning/updating the registry,
8835 since there might be my python plugin loader that calls gst_init() and
8836 we don't want to loop back in.
8839 2006-08-11 Wim Taymans <wim@fluendo.com>
8841 * docs/design/part-qos.txt:
8842 Bring docs in line with the code. Mostly the sign of the jitter was
8843 wrong in the docs. Fixes #349943.
8846 Fix the docs for the jitter.
8848 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8849 (gst_event_parse_tag), (gst_event_new_buffer_size),
8850 (gst_event_parse_buffer_size), (gst_event_parse_qos),
8851 (gst_event_new_seek), (gst_event_parse_seek),
8852 (gst_event_new_navigation):
8853 Make sure the GstStructure has no parent when creating custom
8855 Add some more argument checking so that we avoid 0.0 rates.
8856 Flesh out the docs for the QoS event some more.
8858 2006-08-11 Wim Taymans <wim@fluendo.com>
8860 * docs/gst/gstreamer-sections.txt:
8861 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8862 (ensure_current_registry_forking), (ensure_current_registry),
8863 (parse_one_option), (parse_goption_arg), (gst_deinit),
8864 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8867 Added API and command line option to disable registry forking in
8868 addition to the environment variable.
8869 Constify some static arrays.
8870 Added some more debug.
8872 API: gst_registry_fork_is_enabled()
8873 API: gst_registry_fork_set_enabled()
8874 API: --gst-disable-registry-fork command line option
8877 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
8879 * gst/gst.c: (gst_init):
8880 Fix typo in error message.
8882 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8884 * libs/gst/controller/gstcontroller.h:
8885 fix ABI size-correction
8887 * tests/check/libs/gdp.c: (gst_dp_suite):
8888 make tests that use deprecated API conditional
8890 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8892 * docs/libs/gstreamer-libs-sections.txt:
8893 * libs/gst/controller/gstcontroller.c:
8894 (_gst_controller_get_property), (_gst_controller_set_property),
8895 (_gst_controller_init), (_gst_controller_class_init):
8896 * libs/gst/controller/gstcontroller.h:
8897 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8898 (gst_object_set_control_rate):
8899 API: add gst_object_{s,g}et_control_rate(), add private data section,
8902 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8903 * libs/gst/dataprotocol/dataprotocol.h:
8904 add deprecation guards to make gtk-doc happy and allow disabling cruft
8906 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
8908 * tests/check/Makefile.am:
8909 * tests/check/gst/.cvsignore:
8910 Let's enable the new unit test as well.
8912 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
8915 * docs/gst/gstreamer-sections.txt:
8916 * gst/gstconfig.h.in:
8917 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8918 (_gst_info_printf_extension_ptr),
8919 (_gst_info_printf_extension_segment):
8920 API: add GST_SEGMENT_FORMAT, which is a printf extension we
8921 register that lets us easily dump GstSegments into debug
8924 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8925 (info_segment_format_printf_extension), (gst_info_suite):
8926 Add simple unit test that logs a bunch of different segments (not
8927 valgrinded at the moment because of leaks in
8928 gst_debug_add_log_function).
8930 2006-08-09 Edward Hervey <edward@fluendo.com>
8932 * libs/gst/base/gstbasetransform.c:
8933 (gst_base_transform_buffer_alloc):
8934 Even if we can't figure out the proper format to request downstream,
8935 call buffer_alloc() downstream with the input parameters without setting
8936 the caps on the srcpad. This will force negotiation in the chain
8940 2006-08-08 Edward Hervey <edward@fluendo.com>
8942 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8943 Unlinking from a pad without a target is now a perfectly valid case
8944 which should NOT raise an assertion.
8945 This case would happen if a linked ghostpad its target set to NULL after
8946 it was previously linked.
8948 2006-08-08 Edward Hervey <edward@fluendo.com>
8950 * tests/check/libs/gdp.c:
8951 Also comment out the test (see below).
8953 2006-08-08 Edward Hervey <edward@fluendo.com>
8955 * tests/check/libs/gdp.c: (gst_dp_suite):
8956 Use the architecture information from config.h and not gcc macros
8957 in order to properly disable a test that fails on PPC64.
8959 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
8961 * gst/gstelement.c: (gst_element_remove_pad):
8962 Don't crash printing the warning if the pad has no parent.
8964 2006-08-02 Wim Taymans <wim@fluendo.com>
8966 * libs/gst/dataprotocol/dataprotocol.c:
8967 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8968 (gst_dp_crc), (gst_dp_header_payload_length),
8969 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8970 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8971 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8972 (gst_dp_event_from_packet), (gst_dp_validate_header),
8973 (gst_dp_validate_payload):
8974 Make debug category static
8975 Constify the crc table.
8976 Do some more arg checking in public functions.
8977 Fix some docs and do some small cleanups.
8979 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8980 Add some more checks to see if GDP deals with bogus input.
8982 2006-07-31 Wim Taymans <wim@fluendo.com>
8984 * gst/gstvalue.c: (gst_value_compare_list):
8985 Fix GstValueList comparison code. Fixes #347293.
8987 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8988 Check to test GstValueList comparison.
8990 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
8992 * gst/gstelementfactory.c: (gst_element_factory_create):
8993 Remove unnecessary ref/unref pair
8995 * gst/parse/grammar.y:
8996 Make sure to free the parse buffer on all code paths.
8997 Move a g_free up to the error handler where it's easier to see.
8999 * tests/check/gst/gstevent.c: (test_event):
9000 Extending timeout for downstream travelling events to 10 seconds to
9001 hopefully avoid intermittent failure on the buildbots.
9003 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9004 Don't manually set the state of the src element - it will happen as a
9005 natural consequence of the pipeline changing state, and that way it
9006 will do it in the right order too.
9008 2006-07-31 Wim Taymans <wim@fluendo.com>
9010 * libs/gst/base/gstbasetransform.c:
9011 (gst_base_transform_buffer_alloc):
9012 Use OBJECT_LOCK and refcounting to get the pad caps in the
9013 buffer_alloc function because the caps could change while we are
9014 busy with them. Fixes #349105
9016 2006-07-31 Wim Taymans <wim@fluendo.com>
9018 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9019 Protect _PAD_CAPS with OBJECT_LOCK.
9021 2006-07-31 Wim Taymans <wim@fluendo.com>
9023 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9024 (gst_pad_get_property), (gst_pad_activate_pull),
9025 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9026 (gst_pad_set_activate_function),
9027 (gst_pad_set_activatepull_function),
9028 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9029 (gst_pad_set_getrange_function),
9030 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9031 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9032 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9033 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9034 (gst_pad_set_acceptcaps_function),
9035 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9036 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9037 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9038 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9039 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9040 (gst_pad_configure_sink), (gst_pad_configure_src),
9041 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9042 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9043 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9044 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9045 (gst_pad_send_event):
9046 Use _DEBUG_OBJECT when it makes sense.
9047 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9048 Small cleanups and code reflows.
9049 Avoid caps refcounting in _accept_caps.
9050 Refactor alloc_buffer so that the code performed on the peer is in a
9051 separate function. Also if the pad does not implement a buffer alloc
9052 function, we should still check if the pad is flushing before falling
9053 back to the default allocator.
9055 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9057 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9058 Make all uses of identity and fakesink have silent=true to avoid
9059 serialising every passing data structure, which is breaking tests
9060 on FC4 for some unknown reason.
9062 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9064 * gst/parse/Makefile.am:
9065 * gst/parse/grammar.y:
9066 * gst/parse/parse.l:
9067 Reverted previous patch as it required to bump the flex dependency to
9068 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9070 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9072 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9074 * gst/parse/Makefile.am:
9075 * gst/parse/grammar.y:
9076 * gst/parse/parse.l:
9077 push & pop the state of the lexer for reentrant use case
9080 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9082 * libs/gst/base/gstbasesrc.h:
9083 Note in the docs that the ::newsegment vfunc is not actually used by
9086 2006-07-28 Wim Taymans <wim@fluendo.com>
9088 * libs/gst/base/gstcollectpads.c:
9089 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9090 (gst_collect_pads_clear), (gst_collect_pads_flush),
9091 (gst_collect_pads_event), (gst_collect_pads_chain):
9092 When flushing a pad, also clear the queued buffer so that we don't
9093 accidentally use it when we shouldn't.
9094 Fix leaks by inreffing incomming buffer.
9095 Flush out queued buffers in case of errors.
9098 2006-07-28 Wim Taymans <wim@fluendo.com>
9100 * docs/random/phonon-gst:
9101 Random notes about a Phonon backend.
9103 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9105 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9107 * tests/check/libs/gdp.c: (gst_dp_suite):
9108 Take a whack at fixing the ppc compile using a different define to
9109 disable the broken test.
9111 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9112 Remove excess g_print()
9114 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9116 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9117 Oops, meant to uncomment this line too to dampen the noise a bit.
9119 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9121 * gst/parse/grammar.y:
9122 * gst/parse/parse.l:
9123 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9124 (GST_START_TEST), (parse_suite):
9125 Fix some of the leaks exposed by extending the parse-launch testsuite,
9126 and move the 3 I can't figure out into a separate test that won't run
9127 the pipelines unless the appropriate line is uncommented.
9129 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9131 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9132 Requesting 0 bytes before the end of the file should result in
9133 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9136 2006-07-27 Wim Taymans <wim@fluendo.com>
9138 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9139 Fix useless assert, a uint is always positive.
9141 * gst/gststructure.c: (gst_structure_nth_field_name),
9142 (gst_structure_foreach), (gst_structure_map_in_place):
9143 Check input arguments for public functions to avoid obvious crashes.
9145 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9146 * plugins/elements/gstfakesink.h:
9147 Do less useless typechecking.
9149 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9151 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9152 Do not use mmap() by default since there are a number of error
9153 conditions that we would like to handle in a non-fatal way that
9154 will result in a SIGBUS if we use mmap(). Examples: external
9155 devices (USB harddrive, portable music player) being unplugged
9156 while in use; file on mounted CD/DVD that can't be read because
9157 the medium is partly damaged. Fixes #348455 and #348475.
9159 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9162 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9165 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9167 * gst/gstregistry.c:
9168 Move big documentation comment into class section header, so that it
9169 appears in the API docs.
9171 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9173 * docs/gst/gstreamer-sections.txt:
9174 Oops. Commit the docs additions too for new API.
9175 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9177 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9179 * gst/gststructure.c: (gst_structure_id_set),
9180 (gst_structure_id_set_valist):
9181 * gst/gststructure.h:
9182 Add API for setting values into structures without performing
9183 a quark lookup, if the appropriate quark is already known.
9185 API: gst_structure_id_set
9186 API: gst_structure_id_set_valist
9188 * gst/parse/grammar.y:
9189 * gst/parse/parse.l:
9190 Remove some dead code shown by the coverage information.
9191 Don't throw a critical g_warning when encountering a syntax error,
9192 just warn and let the normal error path handle it.
9194 * plugins/elements/gstelements.c:
9195 Bump the rank of filesink up to PRIMARY so that it is preferred over
9196 gnomevfssink for file:// sink uri's
9198 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9199 (GST_START_TEST), (run_delayed_test),
9200 (gst_parse_test_element_base_init),
9201 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9202 (gst_parse_test_element_change_state),
9203 (gst_register_parse_element), (parse_suite):
9204 Beef up the tests for parse syntax to check that more error cases
9205 fail as they are supposed to. Increases the test coverage a bit.
9207 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9209 * docs/manual/basics-elements.xml:
9210 Fix gst_element_link() example.
9213 Mention in API docs that one should usually gst_bin_add()
9214 elements to a bin or pipeline before doing the linking.
9216 2006-07-26 Wim Taymans <wim@fluendo.com>
9218 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9219 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9220 Avoid function call for known types by keeping the buffer and
9221 subbuffer GType global.
9223 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9224 Random silly optimisations in read() path.
9226 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9228 * tools/gst-launch.c: (main):
9229 If the top-level of the parse is a normal bin, it doesn't do the
9230 right logic to run as a top-level element, so place it inside a
9233 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9235 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9236 Remove superfluous g_object_notify() calls, GObject does
9237 that for us automatically.
9239 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9242 on Win32, use dllspec to export the debug category symbols
9244 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9246 * gst/gsttaglist.c: (_gst_tag_initialize):
9247 Allow more than one GST_TAG_IMAGE per taglist.
9249 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9251 * gst/gstminiobject.c:
9253 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9254 (gst_fd_src_create):
9255 log recurring events at LOG level
9256 add more debug for when the fd gets set
9258 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9260 * gst/gstparse.c: (gst_parse_launch):
9261 Also remove reentrance checks if flex is MT safe (#348179)
9262 Fix my empty ChangeLog entry below
9264 2006-07-21 Andy Wingo <wingo@pobox.com>
9266 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9268 * libs/gst/check/Makefile.am
9269 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9270 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9271 * libs/gst/check/gstbufferstraw.h:
9272 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9273 functions, thus proving I am still a GStreamer haxor. OK I wrote
9274 them a long time ago, but anyways.
9276 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9279 * gst/gstparse.c: (gst_parse_launch):
9280 Check for flex version and omit mutex if we have a MT save flex
9283 2006-07-21 Wim Taymans <wim@fluendo.com>
9285 * gst/gstparse.c: (gst_parse_launch):
9286 Protect recursive calls to _parse with a recursive mutex
9289 2006-07-21 Wim Taymans <wim@fluendo.com>
9291 * tests/check/gst/gstpad.c: (GST_START_TEST):
9294 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9296 * gst/gstparse.c: (gst_parse_launch):
9297 Do not hang on recursive usage of gst_parse_launch()
9299 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9302 Add some more docs, comments and FIXME 0.11s here and there
9303 and also fix some typos.
9305 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9308 Convert tabs to spaces for better readability.
9310 2006-07-20 Edward Hervey <edward@fluendo.com>
9312 * tests/check/libs/gdp.c: (gst_dp_suite):
9313 the test_buffer test fails at line 140 on ppc64 at the following
9315 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9316 GST_BUFFER_FLAG_IN_CAPS),
9317 "GST_BUFFER_IN_CAPS flag should have been copied !");
9318 See bug #348114 for more details.
9320 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9322 * docs/pwg/advanced-scheduling.xml:
9324 Fix typos (#348000).
9326 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9328 * docs/pwg/intro-basics.xml:
9329 Fix wrong links (#347927).
9331 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9333 * gst/gstregistry.h:
9334 * gst/gstregistryxml.c: (load_feature),
9335 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9336 * win32/common/config.h:
9337 make --disable-index work (#342564)
9339 2006-07-18 Wim Taymans <wim@fluendo.com>
9341 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9345 The attached patch adds two missing defines to gsttrace.h when tracing
9346 is disabled. It also corrects one existing define.
9349 2006-07-17 Wim Taymans <wim@fluendo.com>
9351 * docs/gst/gstreamer-sections.txt:
9352 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9354 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9355 Add two functions to check and change the SIGSEGV behaviour
9356 when loading plugins.
9357 Don't mess with the SIGSEGV handler when we were told not to.
9359 API: gst_segtrap_is_enabled
9360 API: gst_segtrap_set_enabled
9362 2006-07-14 Wim Taymans <wim@fluendo.com>
9364 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9365 * tests/check/elements/filesrc.c: (GST_START_TEST):
9366 Revert fix for regression in #347408 after release.
9368 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
9370 Patch by: Antoine Tremblay <hexa00 at gmail com>
9372 * gst/gstutils.c: (gst_element_unlink):
9373 Free iterator when done (#347311).
9375 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9376 And add a test case for this.
9378 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
9381 Bump nano back to CVS
9383 === release 0.10.9 ===
9385 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
9388 releasing 0.10.9, "On the road again"
9390 2006-07-13 Wim Taymans <wim@fluendo.com>
9392 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9393 * tests/check/elements/filesrc.c: (GST_START_TEST):
9394 Revert pull-0 fix for release. Disable check. Fixes #347408.
9396 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9398 * libs/gst/dataprotocol/dataprotocol.c:
9399 (gst_dp_event_from_packet_1_0):
9400 Fixes #347337: failure to deserialize event packets with
9401 empty payload (only event type)
9403 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9406 do not install a .c file in the header directory
9408 2006-07-13 Edward Hervey <edward@fluendo.com>
9410 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9411 GhostPad no longer implicitely use the padtemplates of the targets.
9414 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
9416 * gst/gstvalue.c: (gst_value_compare_list),
9417 (gst_value_compare_array), (_gst_value_initialize):
9418 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9419 Make GstValueArray comparison be order dependent as designed.
9420 Add checks for value lists and value array comparisons.
9423 2006-07-11 Edward Hervey <edward@fluendo.com>
9425 * gst/gstbin.c: (activate_pads),
9426 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9427 (gst_bin_change_state_func):
9428 (de)activate src pads before calling state_change on the childs.
9429 This is to avoid the case where a src ghostpad is blocked (holding the
9430 stream lock), which would block the deactivation of the ghostpad's
9432 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9433 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9434 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9435 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9436 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9437 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9438 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9439 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9440 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9441 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9442 (gst_ghost_pad_class_init),
9443 (gst_ghost_pad_internal_do_activate_push),
9444 (gst_ghost_pad_internal_do_activate_pull),
9445 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9446 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9447 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9448 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9449 GhostPads now create their internal GstProxyPad at creation (and not
9450 when they're linked, as it was being done previously).
9451 The internal and target pads are linked straight away.
9452 The data will also travel through the other pad in order to make
9453 pad blocking and probes non-hackish (the probe/block now really happens
9454 on the GhostPad and not on the target).
9455 * gst/gstpad.c: (gst_pad_set_blocked_async),
9456 (gst_pad_link_prepare), (gst_pad_push_event):
9457 Remove previous ghostpad cruft.
9458 * gst/gstutils.c: (gst_pad_add_data_probe),
9459 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9460 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9461 (gst_pad_remove_buffer_probe):
9462 Remove previous ghost pad cruft.
9463 Added more detailed debug statements.
9464 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9465 Fix the testsuite for refcounting changes.
9466 The comments about who has references were correct, but the refcount
9467 being checked wasn't the same (!?!).
9471 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9473 * docs/gst/gstreamer-sections.txt:
9474 * gst/gstconfig.h.in:
9475 More docs for configuration options, add docs to gtk-doc.
9477 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9480 * gst/gstconfig.h.in:
9481 * win32/common/config.h:
9482 Fix build when disabling tracing (fixes #344016). Also start to document
9483 the defines that disable the sub-systems.
9485 2006-07-10 Edward Hervey <edward@fluendo.com>
9487 * gst/gst.c: (ensure_current_registry_forking):
9488 let's make valgrind happy...
9490 2006-07-09 Wim Taymans <wim@fluendo.com>
9492 * gst/gstelement.c: (activate_pads),
9493 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9494 Better pad activation code: Reset the collect value too on resync.
9497 2006-07-09 Wim Taymans <wim@fluendo.com>
9499 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9500 (gst_pad_activate_push):
9501 Use some more macros where it makes sense.
9502 Allow pad mode switching instead of asserting. When a pad
9503 is activated in one mode and we activate it in another,
9504 deactivate it first before activating it in a different mode.
9507 2006-07-08 Andy Wingo <wingo@pobox.com>
9509 * tools/gst-launch.c (main): Handle err == NULL.
9511 * gst/gst.c (init_post, ensure_current_registry)
9512 (ensure_current_registry_forking)
9513 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9514 factoring out the registry scanning into separate functions. Don't
9515 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9516 Better environment var name/interface suggestions accepted.
9518 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9520 * gst/gstobject.c: (gst_object_set_name_default),
9521 (gst_object_set_name):
9522 Random micro-optimisation: don't use a hash table
9523 with strings as keys and the usual strdup/strcmp
9524 involved, but rather just use the GQuark of the
9525 type name as key, since it needs to be looked up
9526 anyway to get the type name string.
9528 * tests/check/gst/gstobject.c: (GST_START_TEST):
9531 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9533 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9534 (gst_bin_iterate_all_by_interface):
9535 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9536 GTypes are gulongs and thus the top 4 bytes might be cut
9537 off on some platforms when doing GPOINTER_TO_INT, leading
9538 to invalid GTypes and bad things happening (see RH bug #179654).
9539 Also add a check to make sure the type passed in is really
9542 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9547 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9551 * gst-element-check.m4:
9552 * gst-element-check.m4.in:
9553 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9554 instead of the unversioned gst-inspect (#324176, #168659).
9556 2006-07-06 Wim Taymans <wim@fluendo.com>
9559 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9562 2006-07-06 Wim Taymans <wim@fluendo.com>
9564 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9565 (gst_base_src_wait), (gst_base_src_update_length),
9566 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9567 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9568 (gst_base_src_loop), (gst_base_src_start),
9569 (gst_base_src_activate_pull):
9571 blocksize == 0 now means the default blocksize when working in push
9573 Remove some pointless asserts in _wait function.
9574 Fix offset/length calculations and EOS handling. We can now pull 0
9575 bytes as well, which is allowed.
9576 use _check_get_range() to decide if we can operate in _pull based
9578 Fix refcounting leak when check_get_range function was not
9580 API GstBaseSrc::blocksize range can be 0 too now (default)
9582 * tests/check/elements/filesrc.c: (GST_START_TEST),
9584 Added check to test _get_range() behaviour.
9586 2006-07-06 Wim Taymans <wim@fluendo.com>
9588 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9589 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9590 (gst_pad_pull_range):
9592 Lots of comments and docs added to the pad functions.
9593 Flesh out the expected behaviour of the get_range() functions.
9595 2006-07-06 Wim Taymans <wim@fluendo.com>
9600 * gst/gstiterator.h:
9604 Remove comma at end of enumerator list.
9606 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
9608 * win32/common/libgstbase.def:
9609 * win32/common/libgstdataprotocol.def:
9610 * win32/common/libsgtreamer.def:
9611 Add new exported functions.
9613 2006-07-05 Wim Taymans <wim@fluendo.com>
9615 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9616 Add some more docs here and there.
9618 2006-07-05 Wim Taymans <wim@fluendo.com>
9620 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9621 (gst_base_sink_loop), (gst_base_sink_get_position):
9622 When operating in pull mode update the offset so that we
9625 2006-07-05 Wim Taymans <wim@fluendo.com>
9627 * gst/gstregistryxml.c: (read_string):
9628 Avoid strdup. (will happen in libxml, but hey!)
9633 2006-07-05 Wim Taymans <wim@fluendo.com>
9635 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9636 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9638 No point in checking if the size of the subbuffer > 0, the
9639 code handles it correclty as demonstrated by unit test.
9640 Also add a unit test for the zero sized _new_and_alloc and
9641 _copy. Fixes #346663.
9643 2006-07-05 Wim Taymans <wim@fluendo.com>
9645 * libs/gst/base/gstbasetransform.c:
9646 (gst_base_transform_prepare_output_buffer),
9647 (gst_base_transform_buffer_alloc),
9648 (gst_base_transform_handle_buffer):
9649 Make sure the buffer we pass to transform_ip has a refcount of
9650 1 and thus is writable. Fixes #343196
9652 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
9654 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9655 (gst_file_src_init), (gst_file_src_set_property),
9656 (gst_file_src_get_property), (gst_file_src_map_region):
9657 * plugins/elements/gstfilesrc.h:
9658 Add "sequential" property, off by default, to use madvise and hint
9659 to the kernel that sequential access is desired.
9660 Touch all retrieved pages by default to ensure they are pulled
9661 into memory. (Closes #345720)
9663 2006-07-03 Wim Taymans <wim@fluendo.com>
9665 * docs/design/part-block.txt:
9666 * docs/design/part-dynamic.txt:
9669 2006-07-03 Wim Taymans <wim@fluendo.com>
9671 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9672 (gst_caps_unref), (gst_static_caps_get),
9673 (gst_caps_append_structure):
9674 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9675 Use GSlice when the glib we build against is >= 2.10
9677 2006-07-03 Wim Taymans <wim@fluendo.com>
9679 * gst/gstelement.c: (gst_element_pads_activate):
9680 Small cleanup in pad activation code.
9682 2006-07-03 Wim Taymans <wim@fluendo.com>
9684 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9686 * gst/gst-i18n-app.h:
9687 * gst/gst-i18n-lib.h:
9688 * tools/gst-inspect.c: (print_signal_info):
9689 The attached patch will make the inclusion of gettext.h unconditional in
9690 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9691 libintl.h in tools/gst-inspect.c.
9692 This allows use of --disable-nls again and fixes #344642.
9694 2006-07-03 Edward Hervey <edward@fluendo.com>
9696 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9697 Implement pad blocking on events according to part-block.txt.
9698 More comments on behaviour.
9699 * tests/check/gst/gstevent.c: (test_event):
9700 Send event to peer pad of blocked pad (else it will block).
9702 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9704 * libs/gst/check/gstcheck.c: (gst_check_message_error),
9705 (gst_check_run_suite):
9706 if we get the wrong message, give us the types as string
9707 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9709 * tests/check/elements/filesrc.c: (GST_START_TEST):
9710 add a test for trying to open a non-existing file
9712 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9714 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9715 add a test for adding self
9717 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9719 * libs/gst/check/gstcheck.h:
9720 add some assert_ as alias for fail_unless_*
9721 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9722 increase test coverage
9724 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9727 include lcov.mak for lcov coverage generation
9728 * tools/Makefile.am:
9731 2006-07-02 Edward Hervey <edward@fluendo.com>
9733 * tests/check/elements/.cvsignore:
9736 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9739 don't set CFLAGS and friends for gcov, done from GST_GCOV now
9740 * tests/check/Makefile.am:
9743 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9745 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9746 remove gst_caps_simplify; it was not declared and not used
9747 and deprecated in 0.8
9749 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9751 * docs/faq/gst-uninstalled:
9752 don't put empty paths on PYTHONPATH
9753 * docs/gst/gstreamer-sections.txt:
9754 remove some symbols that are not there
9756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9758 * gst/gstcaps.c: (gst_caps_compare_structures):
9760 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9761 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9764 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9766 * libs/gst/dataprotocol/Makefile.am:
9767 build dataprotocol test by linking to the lib, instead of
9768 compiling the source, so we get coverage
9769 * tests/check/Makefile.am:
9770 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9771 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9772 add a test for filesrc
9774 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9776 * tests/check/gst/gststructure.c: (GST_START_TEST),
9777 (gst_structure_suite):
9778 Push coverage from 59.04% to 70.00%
9780 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9782 * tests/check/Makefile.am:
9783 gst-inspect every element; this makes sure that we also get
9784 coverage on element's get/set functions
9786 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9789 set CFLAGS and friends to -O0 if gcov is being used
9792 * libs/gst/base/Makefile.am:
9793 * libs/gst/check/Makefile.am:
9794 * libs/gst/controller/Makefile.am:
9795 * libs/gst/dataprotocol/Makefile.am:
9796 * libs/gst/net/Makefile.am:
9797 * plugins/elements/Makefile.am:
9798 * plugins/indexers/Makefile.am:
9799 add makefile rules to generate gcov data and clean up
9800 * tests/check/Makefile.am:
9801 add a coverage target that generates an html overview
9804 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9806 * tests/check/elements/fakesink.c:
9807 * tests/check/elements/fakesrc.c:
9808 * tests/check/elements/fdsrc.c:
9809 * tests/check/elements/identity.c:
9810 * tests/check/generic/sinks.c: (gst_sinks_suite):
9811 * tests/check/generic/states.c:
9812 * tests/check/gst/gst.c:
9813 * tests/check/gst/gstabi.c:
9814 * tests/check/gst/gstbin.c:
9815 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9816 * tests/check/gst/gstbus.c: (gst_bus_suite):
9817 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9818 * tests/check/gst/gstelement.c:
9819 * tests/check/gst/gstevent.c: (gst_event_suite):
9820 * tests/check/gst/gstghostpad.c:
9821 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9822 * tests/check/gst/gstmessage.c: (gst_message_suite):
9823 * tests/check/gst/gstminiobject.c:
9824 * tests/check/gst/gstobject.c:
9825 * tests/check/gst/gstpad.c:
9826 * tests/check/gst/gstpipeline.c:
9827 * tests/check/gst/gstplugin.c:
9828 * tests/check/gst/gstquery.c: (gst_query_suite):
9829 * tests/check/gst/gstsegment.c: (gst_segment_suite):
9830 * tests/check/gst/gststructure.c:
9831 * tests/check/gst/gstsystemclock.c:
9832 * tests/check/gst/gsttag.c:
9833 * tests/check/gst/gsttask.c: (gst_task_suite):
9834 * tests/check/gst/gstutils.c:
9835 * tests/check/gst/gstvalue.c:
9836 * tests/check/libs/adapter.c:
9837 * tests/check/libs/basesrc.c:
9838 * tests/check/libs/collectpads.c:
9839 * tests/check/libs/controller.c:
9840 * tests/check/libs/gdp.c: (gst_dp_suite):
9841 * tests/check/libs/gstnetclientclock.c:
9842 * tests/check/libs/gstnettimeprovider.c:
9843 * tests/check/libs/libsabi.c: (libsabi_suite):
9844 * tests/check/libs/typefindhelper.c:
9845 * tests/check/pipelines/cleanup.c:
9846 * tests/check/pipelines/parse-launch.c:
9847 * tests/check/pipelines/simple-launch-lines.c:
9848 * tests/check/pipelines/stress.c: (stress_suite):
9851 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9853 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9854 * libs/gst/check/gstcheck.h:
9855 create a macro and function so that the simple unit test
9856 case can be just one macro to create main()
9858 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
9860 * gst/gstbin.c: (gst_bin_restore_thyself):
9861 * gst/gstxml.c: (gst_xml_make_element):
9862 Fix deserialisation from XML. Set parent manually
9863 instead of using gst_bin_add(), since gst_bin_add()
9864 will unlink all pads of the element being added.
9867 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
9869 Patch by: Peter Kjellerstedt <pkj at axis com>
9871 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9872 Fix missing g_strdup() and double free when using the
9873 --gst-plugin-load command line option (#346097).
9875 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9878 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9880 * libs/gst/net/gstnetclientclock.c:
9881 * libs/gst/net/gstnettimeprovider.c:
9882 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9884 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9886 * docs/manual/advanced-dataaccess.xml:
9887 Fix buffer probe example compilation in
9890 2006-06-22 Edward Hervey <edward@fluendo.com>
9892 * gst/gstelement.c: (gst_element_pads_activate):
9893 We need to deactivate src pads first and then sink pads.
9894 The reason is the src pads might be blocking while holding the streaming
9895 lock, so we need to deactivate them first so that deactivating the sink
9896 pads doesn't block (since it will require the streaming lock).
9898 2006-06-22 Wim Taymans <wim@fluendo.com>
9900 * libs/gst/base/gstbasetransform.c:
9901 (gst_base_transform_buffer_alloc):
9902 Forgot to remove two unneeded unrefs.
9903 Simplify a check _is_equal allready checks the obvious case.
9905 2006-06-22 Wim Taymans <wim@fluendo.com>
9907 * docs/design/part-block.txt:
9908 Some docs about what pad_block should do.
9910 2006-06-22 Wim Taymans <wim@fluendo.com>
9912 * gst/gstcaps.c: (gst_caps_replace):
9913 Fix crasher when passed NULL. Doc clarification.
9914 Optimize for the trivial case.
9916 * gst/gstpipeline.c: (gst_pipeline_change_state):
9919 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9920 Small documentation cleanup.
9922 * libs/gst/base/gstbasetransform.c:
9923 (gst_base_transform_buffer_alloc):
9924 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9925 is what we need and it avoids a whole lot of redundant
9926 refcount operations.
9928 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
9930 Patch by: Philip Jägenstedt <philip at lysator liu se>
9932 * docs/manual/advanced-dataaccess.xml:
9933 Fix 'Embedding static elements' section to use
9934 GST_PLUGIN_DEFINE_STATIC (#345607).
9936 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9938 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9939 Attempt to 'fix' spuriously failing test case: it seems like the
9940 timeout of half a second is simply too small when the system is under
9941 load otherwise, and the timeout doesn't really seem to serve any
9942 particular purpose here. Give the pipeline a few seconds to preroll
9943 first, and then give it another half a second to go from PAUSED to
9944 PLAYING and marshal the message into the main thread.
9946 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9948 * tools/gst-feedback-m.m:
9949 Don't only use unversioned tools, try versioned tools as well
9952 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9954 * gst/gstbus.c: (gst_bus_class_init):
9955 Fix some typos, make docs more explicit.
9957 2006-06-20 Wim Taymans <wim@fluendo.com>
9959 * tests/check/gst/gstghostpad.c: (block_callback),
9960 (GST_START_TEST), (gst_ghost_pad_suite):
9961 Added some more ghostpad tests, mainly blocking
9964 2006-06-16 Wim Taymans <wim@fluendo.com>
9966 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9967 (gst_file_sink_close_file), (gst_file_sink_do_seek),
9968 (gst_file_sink_event), (gst_file_sink_render):
9969 * plugins/elements/gstfilesink.h:
9970 Check if we can seek in the file instead of assuming
9971 we always can. Post an error when we are asked to seek in a
9972 non-seekable file (like a fifo). Fixes #343312.
9975 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9977 * tools/gst-launch.1.in:
9978 Un-garble (fourcc) bit in filtered caps section.
9980 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9982 * docs/manual/advanced-autoplugging.xml:
9983 * docs/manual/basics-helloworld.xml:
9984 * docs/manual/highlevel-components.xml:
9985 Don't leak bus reference in sample code.
9987 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
9990 Add default for new --enable-plugin-docs switch.
9993 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9997 Use new ENABLE_PLUGIN_DOCS conditional.
9999 2006-06-14 Wim Taymans <wim@fluendo.com>
10001 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10002 Make it clear with a FIXME and a real define what the #if 0
10003 previously disabled.
10005 2006-06-14 Wim Taymans <wim@fluendo.com>
10007 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10008 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10009 * libs/gst/base/gstbasetransform.c:
10010 (gst_base_transform_sink_eventfunc):
10011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10012 Don't randomly and silently reset a segment when the format
10013 changes as this is a bug somewhere upstream. Fixes #330379.
10015 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10017 Patch by: Wouter Paesen <wouter at kangaroot net>
10019 * libs/gst/controller/gstcontroller.c:
10020 (gst_controlled_property_new):
10021 Fix controlling of float properties (#344849).
10023 * tests/check/libs/controller.c:
10024 (gst_test_mono_source_get_property),
10025 (gst_test_mono_source_set_property),
10026 (gst_test_mono_source_class_init), (GST_START_TEST):
10027 While we're at it, add some float stuff to unit test.
10029 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10032 * docs/images/gdp-header.svg:
10034 * docs/libs/Makefile.am:
10035 * docs/libs/gdp-header.png:
10036 * libs/gst/dataprotocol/dataprotocol.c:
10037 add it to the API docs
10038 * docs/manual/intro-motivation.xml:
10041 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10043 * gst/gst.c: (scan_and_update_registry), (init_post):
10044 If the fork()'ed child process can't write the updated registry cache
10045 file to disk for some reason, make it exit with a failure exit code,
10046 so that the parent can then re-scan the plugins itself and update the
10047 registry structures in memory and work with that (rather than failing
10048 when creating elements because seemingly no plugins are available).
10049 Refactor registry scanning code into separate function for this and
10050 also separate fork() and non-fork() code paths. Fixes #344748.
10052 2006-06-13 Wim Taymans <wim@fluendo.com>
10054 * docs/manual/advanced-dataaccess.xml:
10055 Fix wrong PluginDesc. Fixes #344755.
10057 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10059 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10060 Fix silly bug that prevented us from creating
10061 ~/.gstreamer-0.10 and writing the registry in one
10062 go (the first call to g_mkstemp() would overwrite the
10063 placeholder in the template string, so the second call
10064 to g_mkstemp() after creating the missing directory
10065 would then error out with 'invalid argument').
10067 2006-06-13 Edward Hervey <edward@fluendo.com>
10069 * gst/gst.c: (init_post):
10072 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10074 * gst/glib-compat-private.h:
10075 * gst/glib-compat.c:
10076 * gst/glib-compat.h:
10077 * gst/gstvalue.c: (gst_value_serialize_flags):
10078 remove GLib 2.6 compatibility code
10080 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10082 * gst/parse/Makefile.am:
10083 Fix build with 'make -j N' even more (#340016).
10085 2006-06-12 Wim Taymans <wim@fluendo.com>
10087 * docs/gst/gstreamer-sections.txt:
10090 2006-06-12 Wim Taymans <wim@fluendo.com>
10092 * gst/gstsegment.c: (gst_segment_set_duration),
10093 (gst_segment_set_last_stop), (gst_segment_set_seek),
10094 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10095 (gst_segment_to_running_time), (gst_segment_clip):
10096 Use G_UNLIKELY to help the compiler a bit.
10098 2006-06-12 Wim Taymans <wim@fluendo.com>
10100 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10102 * gst/gstevent.c: (gst_event_get_type):
10103 * gst/gstmessage.c:
10104 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10106 constify quark registration strings. Fixes #344115
10107 Avoid unneeded type checking is _pad_push() by internally
10108 calling gst_pad_chain_unchecked().
10110 2006-06-12 Wim Taymans <wim@fluendo.com>
10112 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10113 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10114 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10115 (gst_buffer_is_span_fast), (gst_buffer_span):
10116 Init _type for consistency.
10117 Use _FLAGS macro to avoid type check.
10118 Avoid unneeded type checks in subbufer code.
10120 2006-06-12 Wim Taymans <wim@fluendo.com>
10122 * gst/gst.c: (gst_debug_help):
10123 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10124 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10125 (gst_plugin_feature_list_free):
10126 * gst/gstregistry.c: (gst_registry_add_plugin),
10127 (gst_registry_add_feature), (gst_registry_plugin_filter),
10128 (gst_registry_feature_filter), (gst_registry_find_plugin),
10129 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10130 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10131 * gst/gstregistryxml.c: (load_feature),
10132 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10133 * gst/gstminiobject.c: (gst_mini_object_unref),
10134 (gst_mini_object_replace), (gst_value_mini_object_free),
10135 (gst_value_mini_object_copy):
10136 Use _CAST macros to avoid unneeded type checking.
10137 Added some more G_UNLIKELY.
10139 2006-06-12 Wim Taymans <wim@fluendo.com>
10142 Avoid unneeded type checking.
10143 API: GST_BUFFER_IS_DISCONT
10145 * gst/gstminiobject.h:
10146 Avoid type check in flag accessor.
10148 * gst/gstelementfactory.h:
10150 * gst/gstpluginfeature.h:
10152 API: GST_ELEMENT_FACTORY_CAST
10153 API: GST_PLUGIN_CAST
10154 API: GST_PLUGIN_FEATURE_CAST
10156 2006-06-12 Wim Taymans <wim@fluendo.com>
10158 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10159 (gst_object_unref):
10160 Add G_UNLIKELY in type registration.
10161 Avoid type check in _ref/_unref since that is also
10164 2006-06-12 Wim Taymans <wim@fluendo.com>
10166 * gst/gsterror.c: (gst_g_error_get_type):
10167 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10168 (gst_static_pad_template_get_type):
10169 * gst/gsttaglist.c: (gst_tag_list_get_type):
10170 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10171 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10172 * gst/gsturi.c: (gst_uri_handler_get_type):
10173 * gst/gstvalue.c: (gst_date_get_type):
10174 * gst/gstxml.c: (gst_xml_get_type):
10175 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10176 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10177 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10178 Add G_UNLIKELY in type registration.
10180 2006-06-12 Wim Taymans <wim@fluendo.com>
10182 * tools/gst-inspect.c: (print_signal_info):
10183 Properly print enum values.
10185 2006-06-12 Wim Taymans <wim@fluendo.com>
10187 * gst/gstinfo.c: (gst_debug_set_active),
10188 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10190 Add some G_[UN]LIKELY.
10191 Maintain __gst_debug_min to avoid formatting the arguments of
10192 debug messages that will be dropped anyway to avoid a lot of
10193 overhead from the debugging system.
10195 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10198 * po/POTFILES.skip:
10199 add missing files containing translatable strings, tell intltool about
10202 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10204 * tests/check/libs/.cvsignore:
10205 add test-binary to ignore list
10207 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10209 * docs/libs/gstreamer-libs-docs.sgml:
10210 reorder (put dp into a chapter) and indent
10212 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10217 === release 0.10.8 ===
10219 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10222 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10224 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10226 * gst/gst.c: (init_post):
10227 move pid declaration to declaration block
10229 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * gst/gst.c: (init_post):
10232 use _exit() instead of exit() in our forked child; this ensures
10233 that none of the registered exit handlers from whatever is using
10234 GStreamer get executed. This fixes gnome-mixer-applet failing
10235 to load, because ORBit would shut down.
10236 Spotted by: Edward Hervey <edward@fluendo.com>
10237 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10240 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10245 === release 0.10.7 ===
10247 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10250 releasing 0.10.7, "Soepeke, ik zie ou"
10252 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10275 * win32/common/config.h:
10276 0.10.6.2 prerelease
10278 2006-06-07 Wim Taymans <wim@fluendo.com>
10280 * gst/gstindex.c: (gst_index_gtype_resolver):
10281 * tools/gst-xmlinspect.c: (print_plugin_info):
10282 Fix leak spotted by coverity checker. Fixes #343827
10283 Fix another other leak found by paolo borelli.
10285 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10287 * libs/gst/dataprotocol/dataprotocol.c:
10288 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10289 (gst_dp_version_get_type), (gst_dp_init),
10290 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10291 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10292 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10293 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10294 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10295 (gst_dp_packetizer_free):
10296 * libs/gst/dataprotocol/dataprotocol.h:
10297 API: add a GstDPPacketizer object, and create/free functions
10298 API: add GstDPVersion enum
10299 Add 1.0 event function that uses the string serialization
10300 Serialize more useful buffer flags
10303 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * tests/check/Makefile.am:
10306 * tests/check/gst/gstabi.c:
10307 * tests/check/gst/struct_ppc64.h:
10308 * tests/check/libs/libsabi.c:
10309 * tests/check/libs/struct_ppc64.h:
10310 add ppc64 structure sizes
10312 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10314 * tests/check/Makefile.am:
10315 * tests/check/gst/gstabi.c:
10316 * tests/check/gst/struct_x86_64.h:
10317 * tests/check/libs/libsabi.c:
10318 * tests/check/libs/struct_x86_64.h:
10319 generate and add structure size lists for x86_64
10321 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10323 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10324 * libs/gst/check/gstcheck.h:
10325 factor out the method from tests that checks size of structures,
10326 and add code to generate the header containing these sizes
10327 * tests/check/gst/gstabi.c: (GST_START_TEST):
10328 * tests/check/gst/struct_i386.h:
10329 * tests/check/libs/libsabi.c: (GST_START_TEST):
10330 * tests/check/libs/struct_i386.h:
10333 2006-06-06 Michael Smith <msmith@fluendo.com>
10335 * gst/gstsegment.h:
10336 Don't use c++-style comments, fixes #343929
10338 2006-06-05 Edward Hervey <edward@fluendo.com>
10341 plugin_paths is not used if we build without registry support.
10343 * gst/gstsegment.c: (gst_segment_copy):
10344 _copy() was always returning NULL...
10346 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10348 * libs/gst/dataprotocol/dataprotocol.c:
10349 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10350 (gst_dp_packet_from_event):
10351 factor out CRC code
10353 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10355 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10356 make sure we unset caps
10358 2006-06-02 Michael Smith <msmith@fluendo.com>
10360 * libs/gst/check/gstcheck.c: (gst_check_init),
10361 (gst_check_chain_func):
10362 * libs/gst/check/gstcheck.h:
10363 Add a cond/mutex to the check support lib, signal this whenever we
10364 add to the buffers list. This will allow tests to not busy-wait on
10367 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10369 * libs/gst/dataprotocol/dataprotocol.c:
10370 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10371 (gst_dp_packet_from_event):
10372 factor out some common header init code
10374 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10376 * docs/libs/gstreamer-libs-sections.txt:
10377 * docs/libs/tmpl/gstdataprotocol.sgml:
10378 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10379 * libs/gst/dataprotocol/dataprotocol.h:
10380 API: make gst_dp_crc() public
10382 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10384 * plugins/indexers/gstindexers.c: (plugin_init):
10385 conditionally register fileindexer (fixes #343598)
10387 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10389 * gst/gsttagsetter.h:
10390 Can't cast ifaces to a class
10392 * libs/gst/net/gstnetclientclock.h:
10393 * libs/gst/net/gstnettimeprovider.h:
10394 * plugins/elements/gstfakesink.h:
10395 * plugins/elements/gstfakesrc.h:
10396 * plugins/elements/gstfdsink.h:
10397 * plugins/elements/gstfdsrc.h:
10398 * plugins/elements/gstfilesink.h:
10399 * plugins/elements/gstfilesrc.h:
10400 * plugins/elements/gstidentity.h:
10401 * plugins/elements/gstqueue.h:
10402 * plugins/elements/gsttee.h:
10403 * plugins/indexers/gstfileindex.c:
10404 * plugins/indexers/gstmemindex.c:
10405 * tests/old/examples/plugins/example.h:
10406 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10408 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
10410 * libs/gst/dataprotocol/dataprotocol.c:
10411 (gst_dp_header_from_buffer):
10412 make sure we zero the whole ABI-compatible area
10414 2006-06-01 Wim Taymans <wim@fluendo.com>
10416 Patch by: Alessandro Decina <alessandro at nnva dot org>
10418 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10419 Make sure the EOS flag is cleared from pads after a flush
10420 or stop. Fixes #343538.
10422 * tests/check/libs/collectpads.c: (GST_START_TEST),
10423 (gst_collect_pads_suite):
10424 Added test for collectpads reusage after EOS.
10426 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
10429 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10430 * win32/common/libgstbase.def:
10431 export gst_collect_pads_set_flushing
10432 * win32/common/libgstreamer.def:
10433 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10434 gst_value_fraction_multiply
10435 * win32/vs6/gst_inspect.dsp:
10436 add a link to intl.lib
10438 2006-05-30 Wim Taymans <wim@fluendo.com>
10440 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10441 (gst_collect_pads_chain):
10442 Handle the case where a pad is removed from the collection
10443 that could cause the other pads to become collectable.
10445 2006-05-30 Wim Taymans <wim@fluendo.com>
10447 * gst/gstelement.c:
10448 Clarify the use of _release_request_pad() and
10449 _get_request_pad() a bit better.
10451 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10452 (gst_adapter_take_buffer):
10453 Fix some doc and comment typos.
10455 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10457 * docs/gst/gstreamer-sections.txt:
10458 * docs/libs/gstreamer-libs-sections.txt:
10459 add declared symbols
10461 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
10463 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10464 Add debug that can be enabled using a #define at the top of the file,
10465 for dumping stats about how late/early we were when waking up from
10466 waiting on the clock.
10468 2006-05-30 Wim Taymans <wim@fluendo.com>
10470 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10471 When rebuilding the pad list, don't leak the previous list.
10473 2006-05-30 Wim Taymans <wim@fluendo.com>
10475 Patch by: Lutz Mueller <lutz at topfrose dot de>
10477 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10478 (gst_base_src_get_query_types), (gst_base_src_update_length):
10479 Publish supported query types.
10480 Update last_stop field in get_range mode so the position
10481 query works. Fixes #342321.
10483 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
10485 * docs/gst/gstreamer-sections.txt:
10486 * gst/gsttaglist.c: (_gst_tag_initialize):
10487 * gst/gsttaglist.h:
10488 API: add GST_TAG_PREVIEW_IMAGE (#343341).
10490 2006-05-30 Wim Taymans <wim@fluendo.com>
10492 Patch by: Alessandro Decina <alessandro at nnva dot org>
10494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10495 Unlock mutex when removing an unknown pad.
10498 * tests/check/Makefile.am:
10499 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10500 (push_event), (setup), (teardown), (GST_START_TEST),
10501 (gst_collect_pads_suite), (main):
10502 Added collecpads check, disabled for now as check crashes for
10505 2006-05-29 Wim Taymans <wim@fluendo.com>
10507 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10508 Don't leak pads lists.
10510 2006-05-29 Wim Taymans <wim@fluendo.com>
10512 * docs/libs/gstreamer-libs-sections.txt:
10513 * libs/gst/base/gstcollectpads.c:
10514 (gst_collect_pads_set_flushing_unlocked),
10515 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10516 (gst_collect_pads_stop):
10517 * libs/gst/base/gstcollectpads.h:
10518 API: gst_collect_pads_set_flushing()
10519 Added api to set the pads to flushing, useful for seeking
10520 code in elements using collectpads.
10521 Clear segment when receiving a flush.
10523 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
10525 * gst/gst.c: (add_path_func), (init_post):
10526 Don't scan registry paths passed via --gst-plugin-path immediately
10527 (will crash, because absolutely nothing is set up and no types are
10528 registered etc.); do this later in init_post(). Fixes #343057.
10530 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
10532 * gst/gst.c: (init_post):
10533 if we have fork, fork while reading/rebuilding the registry
10534 so the parent doesn't take the hit of having all plugins loaded
10535 in memory. Fixes #342777.
10537 Check if we have fork()
10538 * win32/common/config.h.in:
10541 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10543 * plugins/elements/gstelements.c:
10544 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10545 (gst_file_src_init), (gst_file_src_set_property),
10546 (gst_file_src_get_property), (gst_file_src_start):
10547 * plugins/elements/gstfilesrc.h:
10548 API: GstFileSrc::use-mmap
10550 Add a use-mmap property to enable easier testing of all code paths.
10551 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10552 in the absence of gnomevfssrc. (Closes #340501)
10554 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10556 * tools/gst-inspect.c:
10557 Add missing include, removes warning of ngettext not being defined on
10560 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10562 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10563 Handle NULL input and output pointers silently as a failed conversion,
10564 rather than g_warnings.
10566 2006-05-25 Wim Taymans <wim@fluendo.com>
10568 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10569 Initialize variable before using. Fixes #342820.
10571 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
10573 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10574 Fix off-by-one bug that would only allow peeks of N-1 bytes
10575 from the start even if the buffer to typefind on contains
10576 in fact N bytes of data (makes vorbis typefinding from a
10577 vorbis identification header buffer work).
10579 * tests/check/Makefile.am:
10580 * tests/check/libs/.cvsignore:
10581 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10582 (gst_typefindhelper_suite), (main), (foobar_typefind),
10584 Add very basic unit test for gst_type_find_helper_for_buffer()
10585 that checks for the problem fixed above.
10587 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
10589 * tools/gst-inspect.c: (print_interfaces),
10590 (print_element_properties_info), (print_element_list), (main):
10591 add more translatable strings
10593 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
10595 Patch by: Julien Moutte <julien at moutte net>
10597 * docs/gst/gstreamer-sections.txt:
10598 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10600 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10601 (gst_fake_sink_preroll):
10602 * plugins/elements/gstfakesink.h:
10603 API: Add new GstFakeSink::preroll-handoff signal (#337100).
10605 2006-05-23 Wim Taymans <wim@fluendo.com>
10607 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10609 Added _CUSTOM error and success GstFlowReturn that can be
10610 used be elements internally.
10611 Added macro to check for SUCCESS flowreturns.
10612 API: GST_FLOW_CUSTOM_SUCCESS
10613 API: GST_FLOW_CUSTOM_ERROR
10614 API: GST_FLOW_IS_SUCCESS
10616 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10617 Added check for GstFlowReturn sanity.
10619 2006-05-23 Wim Taymans <wim@fluendo.com>
10621 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10623 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10624 (gst_collect_pads_event):
10625 clear/reset segment info in FLUSH_STOP.
10628 2006-05-22 Stefan Kost <ensonic@users.sf.net>
10630 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10631 (gst_collect_pads_check_collected):
10632 Flush queued buffer on _stop(), fixes playing again (#342454)
10634 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
10636 * tests/check/gst/gststructure.c: (GST_START_TEST),
10637 (gst_structure_suite):
10638 add a test for a complete structure
10640 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10642 * docs/faq/developing.xml:
10643 * docs/faq/faq.xml:
10644 * docs/faq/troubleshooting.xml:
10645 * docs/faq/using.xml:
10646 Some minor FAQ updates that won't change the fact that
10647 our FAQ is badly structured, full of information hardly
10648 anyone new to GStreamer needs to know and lacking lots
10649 of information people constantly ask for.
10651 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
10653 * gst/gstpad.c: (gst_pad_set_caps):
10654 Short-circuit gst_pad_set_caps if setting the existing
10655 caps pointer again, and avoid printing debug and
10656 reffing/unreffing the caps.
10658 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10659 There's actually no need to set the caps before pushing -
10660 the acceptcaps method will handle it anyway.
10662 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10664 * docs/gst/gstreamer-sections.txt:
10665 * win32/common/libgstreamer.def:
10666 * gst/gstutils.c: (gst_element_seek_simple):
10668 API: add gst_element_seek_simple() (#342238).
10670 2006-05-18 Edward Hervey <edward@fluendo.com>
10672 * gst/gsttypefind.c: (gst_type_find_get_type):
10673 * gst/gsttypefind.h:
10674 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10675 registered for GstTypeFind pointers. This allows wrapping the structure
10676 in bindings (i.e. gst-python).
10678 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10680 * gst/gsttagsetter.c:
10681 Docs additions and fixes (see #339918).
10683 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10685 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10686 The caps intersection algorithm can produce multiple copies of the
10687 caps. Until that is fixed, we need to simplify the result to be
10688 sure whether the allowed caps are fixed or not.
10690 * plugins/elements/gstqueue.c: (gst_queue_init),
10691 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10692 (gst_queue_push_one):
10693 Proxied buffer alloc should not set the caps on the source pad.
10694 When pushing buffers, we always accept the caps change that triggers.
10695 This prevents negotiation errors caused by caps changing mid-stream
10696 and then being refused on our source pad (because upstream is now
10697 refusing those caps).
10699 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10701 * tests/examples/helloworld/helloworld.c: (main):
10702 Must plug audioconvert and audioresample between decoder
10705 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
10707 * gst/gstregistryxml.c: (read_string), (load_pad_template),
10708 (load_feature), (load_plugin):
10709 Allow empty strings for some of the plugin fields so we don't
10710 drop valid plugin entries that were written out correctly
10713 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
10715 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10716 Use g_remove and g_rename instead of remove and rename that don't
10717 handle utf8 characters. rename was failing for users who had specific
10718 characters in their name then the registry was built at each
10720 * win32/vs6/gst_inspect.dsp:
10721 * win32/vs6/gst_launch.dsp:
10722 * win32/vs6/libgstbase.dsp:
10723 * win32/vs6/libgstcoreelements.dsp:
10724 * win32/vs6/libgstreamer.dsp:
10725 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
10726 build of libgstreamer and clean unused libraries in projects link
10729 2006-05-17 Edward Hervey <edward@fluendo.com>
10731 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10732 The queue is not responsible for pushing an EOS when receiving a fatal
10733 flow error. It's up to the real element driving the pipeline to do that.
10735 2006-05-16 Edward Hervey <edward@fluendo.com>
10737 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10738 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10739 buffer returned a fatal error. It should just send an EOS and stop
10741 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10742 when pushing buffers on the queue and will be able to handle the event.
10744 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
10746 * docs/manual/basics-bins.xml:
10747 * docs/manual/basics-init.xml:
10748 Fix typos and minor errors in sample code (#341856).
10750 2006-05-16 Wim Taymans <wim@fluendo.com>
10752 * docs/design/part-qos.txt:
10753 Fix indexes in formulas to make more sense.
10755 2006-05-15 Wim Taymans <wim@fluendo.com>
10757 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10758 Don't report POSITION based on clock time if sync is
10759 disabled in a sink.
10761 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
10764 Add cast to make compiler happy - refcount variable was a gint
10765 in GstObject but is a guint in GObject and g_atomic_int_get()
10768 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * gst/parse/Makefile.am:
10771 chain commands using &&, which also makes parallel make work
10773 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
10775 * docs/gst/gstreamer-sections.txt:
10778 * gst/gstmessage.h:
10781 === release 0.10.6 ===
10783 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
10786 releasing 0.10.6, "Take the cannoli"
10788 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
10790 * tools/gst-launch.c: (print_tag):
10791 Fix use of uninitialized variable in the hypothetical
10792 case that some broken plugin creates a GST_TAG_IMAGE
10793 tag containing a NULL buffer (#341667).
10795 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
10797 * tools/gst-launch.c: (print_tag):
10798 Print something more intelligible for image tags when
10799 using the -t switch (#341556).
10801 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
10806 define GST_MAJORMINOR so we have it available in win32/common/config.h
10807 Possibly remove it from our Makefile.am files later
10808 * win32/common/config.h:
10809 * win32/common/config.h.in:
10810 added GST_MAJORMINOR
10811 * win32/common/gstenumtypes.c: (register_gst_resource_error):
10812 * win32/common/gstversion.h:
10815 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
10818 Update win32 files listing.
10819 * win32/common/gstversion.h:
10820 Add GST_MAJORMINOR definition.
10821 * win32/common/libgstreamer.def:
10822 Add new exported functions.
10824 2006-05-12 Michael Smith <msmith@fluendo.com>
10826 * gst/gstplugin.c: (gst_plugin_load_file):
10827 If an so file has no plugin entry point, unload the module.
10829 2006-05-11 Wim Taymans <wim@fluendo.com>
10831 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10832 (gst_queue_set_property):
10833 Don't forget to signal the _chain or _loop function
10834 when the queue size or thresholds change since that might
10835 cause them to make progres again.
10837 2006-05-11 Stefan Kost <ensonic@users.sf.net>
10839 * gst/gstclock.c: (gst_clock_class_init):
10840 * gst/gstindex.c: (gst_index_class_init):
10841 * gst/gstobject.c: (gst_object_class_init):
10842 * gst/gstpad.c: (gst_pad_class_init):
10843 * gst/gstpipeline.c: (gst_pipeline_class_init):
10844 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10845 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10846 * libs/gst/base/gstbasetransform.c:
10847 (gst_base_transform_class_init):
10848 * libs/gst/net/gstnetclientclock.c:
10849 (gst_net_client_clock_class_init):
10850 * libs/gst/net/gstnettimeprovider.c:
10851 (gst_net_time_provider_class_init):
10852 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10853 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10854 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10855 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10856 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10857 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10858 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10859 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10860 * plugins/elements/gsttee.c: (gst_tee_class_init):
10861 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10862 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10863 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10865 2006-05-11 Wim Taymans <wim@fluendo.com>
10867 * gst/gstbuffer.c: (_gst_buffer_initialize):
10868 Register subbufer along with the buffer type so that
10869 it does not accidentally gets registered from N
10870 different streaming threads in a non threadsafe way.
10872 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10876 * gst/gstmessage.h:
10877 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10878 gst_event_ref() and gst_message_ref() functions again
10879 (ugly hack, please do fix if there's a better way besides
10880 overrides.txt, which doesn't seem to work).
10882 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10884 * libs/gst/check/gstcheck.h:
10885 add an assert for setting state to avoid lots of repetitive code
10888 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * gst/gstvalue.c: (gst_value_serialize_flags):
10891 fix a leak if no flags are set
10892 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10895 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10897 * docs/manual/basics-pads.xml:
10898 Expand a bit on caps and filtered links and update
10899 examples that were still using the no longer existing
10900 gst_pad_link_filtered() (#338206).
10902 2006-05-10 Wim Taymans <wim@fluendo.com>
10904 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10905 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10906 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10907 (gst_collect_pads_stop):
10908 * libs/gst/base/gstcollectpads.h:
10909 No need to call _stop in _finalize.
10910 Iterate the main pad list in _finalize.
10911 Added some more debug.
10912 Free lists and data in the right order.
10913 Also free data whem doing _remove_pad when stopped for
10914 backward compatibility protect ::started with PAD_LOCK as
10917 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10919 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10920 (gst_structure_parse_value):
10922 rename a method so that it actually says what it does better
10924 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10926 * gst/gstevent.c: (_gst_event_initialize):
10927 * gst/gstformat.c: (_gst_format_initialize):
10928 make sure some essential types used by events are registered
10929 as part of gst_init()
10930 * gst/gstvalue.c: (gst_value_serialize_flags):
10931 if no flags are set, serialize them to a value that represents NONE
10932 so that deserializing them works
10933 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10934 add tests for serialization and deserialization of flags
10936 2006-05-10 Wim Taymans <wim@fluendo.com>
10938 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10939 (gst_collect_pads_collect_range), (gst_collect_pads_available),
10940 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10941 (gst_collect_pads_event), (gst_collect_pads_chain):
10944 Catch and return errors from the collect function
10945 Refuse data on eos pads.
10947 2006-05-10 Edward Hervey <edward@fluendo.com>
10949 * gst/gstinterface.h:
10950 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10951 GInterface type checking.
10952 They were previously using non-defined macros.
10954 2006-05-09 Wim Taymans <wim@fluendo.com>
10956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10957 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10958 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10959 (gst_collect_pads_start), (gst_collect_pads_stop),
10960 (gst_collect_pads_peek), (gst_collect_pads_pop),
10961 (gst_collect_pads_available), (gst_collect_pads_read),
10962 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10963 (gst_collect_pads_is_collected), (gst_collect_pads_event),
10964 (gst_collect_pads_chain):
10965 * libs/gst/base/gstcollectpads.h:
10966 Clean up the mess that is collectpads, add comments and
10967 FIXMEs where needed.
10968 Maintain a separate pad list so we can add pads while
10969 collecting the other ones. For this we need a new separate
10971 Fix memory leak in finalize.
10972 Refactor some weird code to set/unset pad flushing flags, mark
10974 Don't crash in _available, _read, _flush when we're EOS.
10976 * tests/check/libs/.cvsignore:
10977 Ignore adapter check binary.
10979 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10981 * gst/gstindex.c: (gst_index_resolver_get_type):
10982 * plugins/elements/gstfakesink.c:
10983 (gst_fake_sink_state_error_get_type):
10984 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10985 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10986 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10987 Const-ify GEnumValue arrays.
10989 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10991 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10992 Add test case for flags + gst_buffer_make_metadata_writable().
10994 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10996 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10997 gst_buffer_make_metadata_writable() should maintain the
10998 buffer flags (those that make sense at least) (see #340859).
11000 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11002 * tools/gst-inspect.c:
11003 * tools/gst-launch.c:
11004 * tools/gst-typefind.c:
11005 * tools/gst-xmlinspect.c:
11007 Fix up includes: need to include stdlib.h in tools.h for exit().
11009 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11011 * gst/gsttaglist.c: (_gst_tag_initialize):
11012 * gst/gsttaglist.h:
11013 API: add GST_TAG_IMAGE tag (#340721).
11015 2006-05-08 Wim Taymans <wim@fluendo.com>
11018 Added some docs for the segment query.
11020 2006-05-08 Wim Taymans <wim@fluendo.com>
11022 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11023 (gst_base_src_loop), (gst_base_src_change_state):
11024 Always push non-flushing serialized events in the streaming
11027 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11029 * gst/gsterror.c: (_gst_stream_errors_init):
11030 Add a missing error string.
11032 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11034 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11035 Add applied_rate to the debug
11037 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11038 Copy applied_rate into the outgoing NEWSEGMENT event
11040 2006-05-08 Wim Taymans <wim@fluendo.com>
11042 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11044 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11045 (gst_base_sink_change_state):
11046 call ::unlock before taking the PREROLL_LOCK so we can safely
11047 handle elements that lock in ::render.
11050 2006-05-08 Edward Hervey <edward@fluendo.com>
11052 * autogen.sh: (CONFIGURE_DEF_OPT):
11053 Darwin's libtoolize is in fact called glibtoolize.
11054 Adding glibtoolize to the list of accepted names for libtoolize.
11056 2006-05-08 Wim Taymans <wim@fluendo.com>
11058 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11059 Unify error handling, don't post an error message
11060 when a push() returns EOS but perform our normal EOS
11061 handling code. Fixes #340772.
11063 2006-05-08 Wim Taymans <wim@fluendo.com>
11065 * docs/design/part-overview.txt:
11066 Make upsteam/downstream concepts more clear.
11067 Give an example of serialized/non-serialized events.
11069 * docs/design/part-events.txt:
11070 * docs/design/part-streams.txt:
11071 Mention applied_rate.
11073 * docs/design/part-trickmodes.txt:
11074 Mention applied rate, flesh out some more use cases.
11076 * gst/gstevent.c: (gst_event_new_new_segment),
11077 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11078 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11079 (gst_event_parse_tag), (gst_event_new_buffer_size),
11080 (gst_event_parse_buffer_size), (gst_event_new_qos),
11081 (gst_event_parse_qos), (gst_event_parse_seek),
11082 (gst_event_new_navigation):
11084 Add applied_rate field to NEWSEGMENT event.
11085 API: gst_event_new_new_segment_full()
11086 API: gst_event_parse_new_segment_full()
11088 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11089 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11090 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11091 * gst/gstsegment.h:
11092 Add applied_rate to GstSegment structure.
11093 Make calculation of stream_time and running_time more correct
11094 wrt rate/applied_rate.
11095 Add some more docs.
11096 API: GstSegment::applied_rate field
11097 API: gst_segment_set_newsegment_full();
11099 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11100 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11101 * libs/gst/base/gstbasetransform.c:
11102 (gst_base_transform_sink_eventfunc),
11103 (gst_base_transform_handle_buffer):
11104 Parse and use applied_rate in the GstSegment field.
11106 * tests/check/gst/gstevent.c: (GST_START_TEST):
11107 Add check for applied_rate field.
11109 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11110 (gstsegments_suite):
11111 Add more checks for various GstSegment operations.
11113 2006-05-08 Wim Taymans <wim@fluendo.com>
11115 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11116 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11117 (gst_base_sink_get_position), (gst_base_sink_change_state):
11118 Store the sync time of the buffer end position separatly in a
11119 new variable eos_rtime so we can properly sync the EOS event.
11121 Fix the docs for gst_base_sink_set_qos_enabled().
11122 Don't set segment start to invalid value when we receive a
11123 non TIME newsegment.
11124 get closer to handling position reporting for negative rates
11127 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11130 Docs about how to print caps for debug purposes.
11132 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11133 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11135 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11137 * gst/gstelement.c:
11138 use full enum names and preprend a '%' in docs strings to make recent
11139 gtk-doc turn that into a link
11141 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11143 * docs/manual/basics-bins.xml:
11144 * docs/manual/basics-bus.xml:
11145 * docs/manual/basics-pads.xml:
11146 Some typo fixes, some additions, some clarifications.
11148 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11150 * tools/gst-inspect.c: (main):
11151 * tools/gst-launch.c: (main):
11152 * tools/gst-run.c: (main):
11153 * tools/gst-typefind.c: (main):
11154 * tools/gst-xmlinspect.c: (main):
11155 Use the string passed to g_option_context_new() for
11156 what it's intended for - the program name is already
11159 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11161 * tools/Makefile.am:
11162 * tools/gst-inspect.c: (main):
11163 * tools/gst-launch.c: (main):
11164 * tools/gst-xmlinspect.c: (main):
11166 Add back --version command line option (#340460).
11168 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11169 Add --version option and use GOption for argument parsing; refactor a
11170 bit; accept directories as arguments and recurse into them; lastly,
11171 print a decent error message when things go wrong.
11173 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11175 * docs/manual/basics-bins.xml:
11176 Don't mention GstThread (#340611)
11177 * docs/manual/basics-elements.xml:
11178 Update link to GObject tutorial (#340607)
11180 2006-05-05 Wim Taymans <wim@fluendo.com>
11183 * gst/gstminiobject.c:
11184 Add note about refcounting and miniobject/buffer writeability
11185 to docs. Fixes #340604
11187 * gst/gstelementfactory.h:
11188 Added some explanation about @klass.
11190 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11192 * docs/manual/intro-motivation.xml:
11193 * docs/manual/manual.xml:
11194 Avoid CORBA & Bonobo references (#340598)
11196 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11198 * docs/manual/basics-bus.xml:
11199 * docs/manual/basics-pads.xml:
11200 Fix up some inaccuracies and omissions (#340609)
11202 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11204 * gst/gstghostpad.c:
11205 Small typo in docs (#340625)
11207 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11209 * gst/parse/Makefile.am:
11210 Make 'make -j' proof (see #340698).
11212 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11215 Require GLib-2.8 here as well.
11217 2006-05-05 Wim Taymans <wim@fluendo.com>
11219 * gst/glib-compat.c:
11220 * gst/gst.c: (init_pre):
11221 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11222 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11223 (gst_object_dispatch_properties_changed):
11225 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11226 * gst/gststructure.c: (gst_structure_set_valist):
11227 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11228 Remove pre glib2.8 compatibility, fixes #340508
11230 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11232 * gst/gsttaglist.h:
11233 Mention type of tags in doc blurbs.
11235 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11237 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11238 (gst_pad_configure_src), (gst_pad_push):
11239 Restore acceptcaps checking behaviour now that good plugins have
11242 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11244 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11251 * gst/gstmessage.c:
11255 * gst/parse/Makefile.am:
11256 * libs/gst/base/gstadapter.c:
11257 * libs/gst/base/gstbasesrc.c:
11258 * libs/gst/base/gstpushsrc.c:
11259 * libs/gst/base/gsttypefindhelper.c:
11260 * plugins/elements/gstfakesrc.c:
11261 * plugins/elements/gstidentity.c:
11262 Make sure gstprivate.h and/or config.h are
11263 always included first, otherwise some of our
11264 defines (like _FILE_OFFSET_BITS) might be
11265 redefined in the system headers. Fixes build
11266 on opensolaris (#340016).
11268 2006-05-04 Wim Taymans <wim@fluendo.com>
11270 * docs/libs/gstreamer-libs-sections.txt:
11271 API: addition: gst_adapter_take_buffer()
11273 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11274 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11275 (gst_adapter_available_fast):
11276 * libs/gst/base/gstadapter.h:
11277 Prepare for optimizing the hell out of this hugely inefficient
11279 Added gst_adapter_take_buffer() so we can at least start thinking
11280 about subbuffering and merging.
11281 Added some comments.
11283 * tests/check/Makefile.am:
11284 * tests/check/libs/adapter.c: (GST_START_TEST),
11285 (gst_adapter_suite), (main):
11286 Added GstAdapter check.
11288 2006-05-04 Wim Taymans <wim@fluendo.com>
11290 * docs/design/part-overview.txt:
11291 Fix some typos, add blurb about buffer flags.
11293 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11295 * docs/libs/gstreamer-libs-sections.txt:
11296 make sure GstBaseTransformClass shows up in the docs
11297 * libs/gst/base/gstbasetransform.c:
11298 * libs/gst/base/gstbasetransform.h:
11299 move docs so gtk-doc picks it up now
11301 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11303 * docs/libs/gstreamer-libs-sections.txt:
11304 add missing symbols to docs
11306 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11308 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11309 back out the newsegment handling change, see #340060 for ongoing
11312 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11314 * tools/gst-run.c: (get_candidates), (main):
11315 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11316 work); fix typo in error message. Fixes #340079.
11318 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11320 * common/Makefile.am:
11321 * docs/Makefile.am:
11322 * docs/faq/Makefile.am:
11323 * docs/gst/Makefile.am:
11324 * docs/libs/Makefile.am:
11325 * docs/manual/Makefile.am:
11326 * docs/plugins/Makefile.am:
11327 * docs/pwg/Makefile.am:
11328 * docs/slides/Makefile.am:
11330 * common/upload.mak:
11331 move upload.mak to common
11333 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11335 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11336 add more asserts on refcounts
11337 do more cleanup at end of tests
11338 fix test leaks showing in FC5
11340 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11342 * plugins/elements/gsttypefindelement.c:
11343 (gst_type_find_element_handle_event):
11344 reverted wrong change and reflowed code to avoid others falling into
11347 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11350 fix changelog entry about last collectpads change,
11351 add notes about proper fix
11353 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11356 * gst/gstregistry.c: (gst_registry_scan_path_level),
11357 (gst_registry_scan_path):
11358 * gst/gstregistry.h:
11359 only write out registry if it has changed, fixes #338339
11361 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11364 * gst/gstpipeline.c:
11365 * plugins/elements/gstcapsfilter.c:
11366 * plugins/elements/gstfakesink.c:
11367 * plugins/elements/gstfakesrc.c:
11368 * plugins/elements/gstfdsink.c:
11369 * plugins/elements/gstfdsrc.c:
11370 * plugins/elements/gstfilesink.c:
11371 * plugins/elements/gstfilesrc.c:
11372 * plugins/elements/gstidentity.c:
11373 * plugins/elements/gstqueue.c:
11374 * plugins/elements/gsttee.c:
11375 * plugins/elements/gsttypefindelement.c:
11376 (gst_type_find_element_handle_event):
11377 make GstElementDetails const
11379 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11381 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11382 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11383 (gst_collect_pads_is_collected), (gst_collect_pads_event):
11384 more detailed debug and formatting cleanup,
11385 forward newsegments to src-pad (so that e.g. adder not eats them)
11387 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11389 * gst/gstutils.c: (gst_element_link_pads):
11390 cleanup double code
11392 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11394 * libs/gst/controller/gstcontroller.c:
11395 (gst_controller_sync_values):
11397 * tests/check/libs/controller.c: (GST_START_TEST),
11398 (gst_controller_suite):
11399 a new test for live value handling
11401 2006-04-28 Wim Taymans <wim@fluendo.com>
11403 * gst/gstutils.c: (push_and_ref):
11404 Added some more docs.
11405 Fix refcount issue whith gst_element_found_tags() helper
11406 function. Fixes #338335
11408 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11409 Added testsuite for gst_element_found_tags().
11411 2006-04-28 Michael Smith <msmith@fluendo.com>
11413 * gst/gstvalue.c: (gst_value_serialize_flags):
11414 Avoid NULL dereference when trying to serialize flags containing
11417 2006-04-28 Michael Smith <msmith@fluendo.com>
11419 * plugins/elements/gsttypefindelement.c:
11420 (gst_type_find_element_handle_event):
11421 If we get EOS before any data is accumulated, don't use
11422 uninitialised local variables.
11424 2006-04-28 Michael Smith <msmith@fluendo.com>
11426 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11427 (gst_dp_event_from_packet):
11428 Fixes in reading/writing events over GDP (not currently used?) -
11429 dereferencing NULL events for unknown/invalid event types, memory
11430 leak, and change g_warning to GST_WARNING.
11432 2006-04-28 Wim Taymans <wim@fluendo.com>
11434 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11435 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11436 (gst_base_sink_get_position), (gst_base_sink_change_state):
11437 When frame dropping is enabled, we should not ignore frames
11438 without a duration.
11439 Update some documentation.
11441 2006-04-28 Wim Taymans <wim@fluendo.com>
11443 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11444 (gst_base_src_send_event), (gst_base_src_change_state):
11445 Documentation updates.
11447 2006-04-28 Wim Taymans <wim@fluendo.com>
11449 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11450 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11451 handle EAGAIN, EINTR and short writes correctly. Also clean
11452 up some error cases, avoid a deadlock on bad file descriptors and
11453 use GST_DEBUG_OBJECT.
11456 2006-04-28 Wim Taymans <wim@fluendo.com>
11458 * gst/gstvalue.c: (gst_value_serialize_buffer),
11459 (gst_value_deserialize_buffer):
11460 Don't try to serialize a GValue with a NULL buffer.
11463 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11464 Added check for serialisation of NULL buffers.
11466 2006-04-28 Wim Taymans <wim@fluendo.com>
11468 * gst/gstminiobject.c: (gst_value_take_mini_object):
11469 Taking a NULL miniobject is valid, fix the case where
11470 we try to unref the NULL miniobject.
11472 2006-04-28 Wim Taymans <wim@fluendo.com>
11474 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11476 * gst/gstbin.c: (gst_bin_handle_message_func):
11478 Don't leak bin refcount when a state recalc is
11479 in progress and we delay another one #339808.
11481 2006-04-28 Wim Taymans <wim@fluendo.com>
11483 * docs/design/part-TODO.txt:
11484 Mention QoS as an ongoing work item.
11486 * docs/design/part-buffering.txt:
11487 New doc about buffering that needs to be fleshed out
11490 * docs/design/part-qos.txt:
11491 More QoS policy for decoders/demuxers/transforms
11493 * docs/design/part-trickmodes.txt:
11496 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11501 === release 0.10.5 ===
11503 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11506 releasing 0.10.5, "Fogo"
11508 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
11510 patch by: Wim Taymans
11512 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11513 (gst_pad_configure_src), (gst_pad_push):
11514 * gst/gstpipeline.c: (gst_pipeline_init):
11515 Fix internal data flow errors. Fixes #338711.
11517 2006-04-12 Wim Taymans <wim@fluendo.com>
11519 * tests/check/gst/gstelement.c: (GST_START_TEST):
11520 Don't leak the factory.
11522 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
11525 * win32/common/config.h:
11528 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
11530 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11531 (gst_controller_unset_all):
11532 Free allocated GstTimedValues when freeing list nodes.
11533 Should fix leaks 'make check-valgrind' complains about.
11535 * win32/common/libgstcontroller.def:
11536 Add gst_controller_unset_all.
11538 2006-04-11 Stefan Kost <ensonic@users.sf.net>
11540 * docs/libs/gstreamer-libs-sections.txt:
11541 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11542 (gst_controller_unset_all):
11543 * libs/gst/controller/gstcontroller.h:
11544 API: Added new method gst_controller_unset_all()
11545 fixed gst_controller_unset()
11546 * tests/check/libs/controller.c: (GST_START_TEST),
11547 (gst_controller_suite):
11548 Added two testcases for new and fixed method
11550 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
11552 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11553 MSG_DONTWAIT is not defined on Cygwin, so work
11554 around that (fixes #317048).
11556 2006-04-11 Wim Taymans <wim@fluendo.com>
11558 * gst/gstelementfactory.c: (gst_element_register),
11559 (gst_element_factory_create), (gst_element_factory_make):
11562 Updated docs (Fixes #131079)
11564 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11567 * tests/check/gst/gstelement.c: (GST_START_TEST),
11568 (gst_element_suite):
11569 Added testcase for elementfactory class field.
11571 2006-04-10 Wim Taymans <wim@fluendo.com>
11573 * gst/gstsegment.c:
11574 Added some more docs.
11576 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11577 (gst_base_sink_reset_qos):
11578 Calculate more accurate rate values.
11580 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
11582 * gst/gst_private.h:
11583 add a new #ifdef to use __declspec(dllimport) only for
11584 other modules and not for gstreamer core
11585 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11586 use gst_guint64_to_gdouble for conversion
11587 * win32/common/libgstreamer.def:
11588 add new exported functions
11589 * win32/vs6/gst_inspect.dsp:
11590 * win32/vs6/gst_launch.dsp:
11591 * win32/vs6/libgstbase.dsp:
11592 * win32/vs6/libgstcontroller.dsp:
11593 * win32/vs6/libgstcoreelements.dsp:
11594 * win32/vs6/libgstdataprotocol.dsp:
11595 * win32/vs6/libgstnet.dsp:
11596 update project files
11598 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11600 * gst/gstbuffer.c: (gst_subbuffer_class_init):
11601 * gst/gstclock.c: (gst_clock_class_init):
11602 * gst/gstelement.c: (gst_element_class_init):
11603 * gst/gstindex.c: (gst_index_class_init):
11604 * gst/gstindexfactory.c: (gst_index_factory_class_init):
11605 * gst/gstobject.c: (gst_object_class_init),
11606 (gst_signal_object_class_init):
11607 * gst/gstpad.c: (gst_pad_class_init):
11608 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11609 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11610 * gst/gstregistry.c: (gst_registry_class_init):
11611 * gst/gstsystemclock.c: (gst_system_clock_class_init):
11612 * gst/gsttask.c: (gst_task_class_init):
11613 * gst/gstxml.c: (gst_xml_class_init):
11614 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11615 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11616 (gst_base_src_loop):
11617 * libs/gst/controller/gstcontroller.c:/
11618 (_gst_controller_class_init):
11619 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11620 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11621 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11622 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11623 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11624 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11626 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
11628 * gst/gstpad.c: (gst_pad_link):
11629 Must set peer pads before calling the link function, otherwise
11630 a task started from a link function might get a flow-not-linked
11631 result when trying to push because the other thread where the
11632 linking happens hasn't had a chance to set the peers yet. This
11633 might happen for example when a queue gets linked to a downstream
11634 element, as queue starts a streaming task when its source pad
11635 gets linked. Happens in real life when playing back flac/musepack
11636 files in playbin (#332390).
11638 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11642 * libs/gst/base/gstadapter.h:
11643 * libs/gst/base/gstbasesink.h:
11644 * libs/gst/base/gstbasesrc.h:
11645 * libs/gst/base/gstbasetransform.h:
11646 * libs/gst/base/gstcollectpads.h:
11647 * libs/gst/base/gstpushsrc.h:
11648 Fix broken GObject macros
11650 2006-04-07 Wim Taymans <wim@fluendo.com>
11652 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11653 Initialize start and stop times, thanks valgrind.
11655 2006-04-07 Wim Taymans <wim@fluendo.com>
11657 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11658 Be a bit nicer to badly behaving upstream elements that expect
11659 us to deal with non TIME segments and timestamps (such as fakesrc
11662 2006-04-07 Wim Taymans <wim@fluendo.com>
11665 Small documentation clarification about the signal watch.
11667 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11668 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11669 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11670 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11671 (gst_base_sink_get_position_last),
11672 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11673 Convert and store timestamps in stream time and running time, the
11674 raw timestamps are not useful, also document this better.
11675 Use different window sizes for good and bad QoS observations so
11676 we react to badness a little quicker.
11677 Keep track of the amount of rendered and dropped buffers.
11678 Send QoS timestamps in running time.
11680 * libs/gst/base/gstbasetransform.c:
11681 (gst_base_transform_sink_eventfunc),
11682 (gst_base_transform_handle_buffer):
11683 Compare QoS timestamps against running time.
11685 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11688 Typo fixes in docs.
11690 2006-04-06 Michael Smith <msmith@fluendo.com>
11692 * gst/gstpad.c: (gst_pad_set_property):
11693 Use g_value_get_object() instead of g_value_dup_gst_object(),
11694 to avoid double-reffing the pad template (which we then sink,
11695 so this worked previously if (and only if) the pad template
11698 * gst/gstpadtemplate.c: (gst_pad_template_init),
11699 (gst_pad_template_pad_created):
11700 Never return floating references to pad templates, create
11701 them as initially-sunken.
11703 Document an extra function (and make this stop sinking our
11704 pad template, since that is now guaranteed to do nothing,
11705 since we created it sunken).
11707 * gst/gstghostpad.c:
11710 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11712 * gst/gstinfo.c: (__gst_in_valgrind):
11715 * plugins/elements/gsttypefindelement.c:
11716 (gst_type_find_element_chain):
11717 Don't leak buffer caps.
11719 2006-04-06 Michael Smith <msmith@fluendo.com>
11721 * gst/parse/grammar.y:
11722 Fix a leak in parse-launch for any source-or-sink named element
11725 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11726 Unref the pipeline if it exists after we've failed parsing.
11728 2006-04-05 Michael Smith <msmith@fluendo.com>
11730 * gst/gstpipeline.c: (gst_pipeline_init):
11731 When we create a pipeline bus, initially create it in flushing mode.
11732 Fixes leaks in at least one test, and makes a new pipeline work the
11733 same as one that has gone to READY and then back to NULL.
11735 * gst/gstelement.c:
11738 2006-04-05 Michael Smith <msmith@fluendo.com>
11740 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11741 Unref a pad we reffed.
11742 * tests/check/gst/gstutils.c: (GST_START_TEST):
11745 2006-04-05 Michael Smith <msmith@fluendo.com>
11747 * gst/gstquery.c: (gst_query_set_formats),
11748 (gst_query_set_formatsv):
11749 Fix leaking GValues in queries, as shown by valgrind/testsuite.
11751 2006-04-05 Michael Smith <msmith@fluendo.com>
11753 * tests/check/generic/sinks.c: (GST_START_TEST):
11754 Fix a variety of memleaks in sinks check, which are only sometimes
11755 shown by running the tests under valgrind (weird?).
11757 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
11759 * docs/version.entities.in:
11760 Fix the substituted entity name after thomas' changes on the
11763 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11765 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11768 2006-04-05 Andy Wingo <wingo@pobox.com>
11770 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11772 * libs/gst/base/gstbasetransform.c
11773 (gst_base_transform_sink_eventfunc): When resetting our segment on
11774 FLUSH_STOP, also update the flag saying we haven't seen a
11777 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11779 Patch by: Paolo Borelli <pborelli at katamail dot com>
11781 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11782 (gst_plugin_check_license):
11783 minor clean-ups: G_DEFINE_TYPE already takes care of the
11784 parent_class stuff, no need to do it twice. Mark array of
11785 license strings as constant. (#337103)
11787 2006-04-04 Michael Smith <msmith@fluendo.com>
11789 * tools/gst-inspect.c: (print_element_list):
11790 Free the right plugin list; fixes a memory leak.
11792 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11794 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11796 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11797 Don't error out on empty buffers (#336945).
11799 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
11801 * docs/libs/gstreamer-libs-sections.txt:
11802 * gst/gsttaglist.c:
11803 * libs/gst/base/gstbasesink.c:
11804 * libs/gst/base/gstbasesink.h:
11805 * libs/gst/base/gstbasesrc.c:
11806 * libs/gst/base/gstbasesrc.h:
11807 Documentation updates. Make BaseSink and BaseSrc docs contain the
11808 class structure so that people can actually see the prototypes for
11809 virtual functions they're supposed to be overriding.
11811 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11813 * plugins/elements/gsttypefindelement.c:
11814 (gst_type_find_element_chain):
11815 More debug info; when skipping typefinding, send cached
11816 events in all cases.
11818 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
11821 use new AS_VERSION and AS_NANO macros
11822 * gst/gst-i18n-lib.h:
11825 * gst/gstversion.h.in:
11826 * win32/common/config.h:
11827 * win32/common/config.h.in:
11830 2006-03-31 Michael Smith <msmith@fluendo.com>
11832 * plugins/elements/gsttypefindelement.c:
11833 (gst_type_find_element_chain):
11834 Do not typefind content if the buffers already have caps.
11835 Neccesary for icydemux (#333657), and the right thing to do anyway.
11837 2006-03-30 Wim Taymans <wim@fluendo.com>
11839 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11840 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11841 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11842 (gst_base_sink_record_qos_observation),
11843 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11844 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11845 (gst_base_sink_change_state):
11846 More QoS measurements as described in the design doc.
11847 Get rid of ringbuffer with observations, running average is
11848 more simple and equally good.
11849 Calculates valid proportion now.
11850 Added beginning of flood measurement.
11852 2006-03-29 Wim Taymans <wim@fluendo.com>
11854 * docs/design/part-qos.txt:
11856 Small documentation updates and additions.
11858 2006-03-29 Wim Taymans <wim@fluendo.com>
11860 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11861 (gst_base_src_send_event), (gst_base_src_loop),
11862 (gst_base_src_change_state):
11863 Perform the EOS logic when we reach the segment stop position.
11864 Fix compilation on gcc4.1
11866 2006-03-29 Wim Taymans <wim@fluendo.com>
11868 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11870 * plugins/elements/gstqueue.c: (gst_queue_init),
11871 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11872 (gst_queue_set_property):
11873 * plugins/elements/gstqueue.h:
11874 In queue, when EOS is received, if minimum threshold > max_size -
11875 current_level, there is chance that queue blocks forever in conditional
11876 item del wait. This is because the queue is not emptied completely due
11877 to minimum threshold. Here is another approach. Instead of setting
11878 cur_levels to max in EOS, just zero all minimum threshold levels. This
11879 should make sure that queue gives out all data. When going to READY
11880 (stop) state, just reset the original minimum threshold levels.
11883 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
11885 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11886 (gst_type_find_element_handle_event),
11887 (gst_type_find_element_send_cached_events),
11888 (gst_type_find_element_change_state):
11889 * plugins/elements/gsttypefindelement.h:
11890 When typefinding is done in push mode, we should cache
11891 events we receive during typefinding instead of just
11892 dropping them (e.g. newsegment, custom events from
11893 dvdreadsrc etc.) and then send them out once we've
11894 determined the type of the stream (and decodebin
11895 has had a chance to plug in a decoder/demuxer).
11897 2006-03-27 Wim Taymans <wim@fluendo.com>
11899 * docs/design/part-qos.txt:
11902 2006-03-27 Wim Taymans <wim@fluendo.com>
11904 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11906 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11907 (gst_base_src_send_event), (gst_base_src_change_state):
11908 Handle element seek correctly when we are streaming.
11911 2006-03-24 Michael Smith <msmith@fluendo.com>
11913 * docs/faq/gst-uninstalled:
11914 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11915 allow you to correctly run intalled applications built against old
11916 core, using plugins that require updated core (e.g. running
11917 installed totem against a full uninstalled gstreamer stack)
11919 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11921 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11924 2006-03-24 Wim Taymans <wim@fluendo.com>
11926 * docs/gst/gstreamer-sections.txt:
11927 Rearrange the order of the methods so that related methods
11928 are grouped together in sections.
11930 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11932 * gst/gstelement.c:
11933 Little clarification in the docs
11935 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11939 * plugins/elements/gstidentity.c:
11940 * plugins/elements/gstqueue.c:
11941 * plugins/elements/gsttee.c:
11942 * plugins/elements/gsttypefindelement.c:
11943 GST_ELEMENT_DETAILS formatting
11945 2006-03-24 Wim Taymans <wim@fluendo.com>
11947 * libs/gst/base/gstbasesink.h:
11948 Only add fields, not insert or we break ABI.
11950 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11952 * win32/common/libgstbase.def:
11953 * win32/common/libgstreamer.def:
11954 Update, add recently added functions.
11956 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11958 * docs/gst/gstreamer-sections.txt:
11959 * gst/gstutils.c: (gst_pad_query_peer_position),
11960 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11962 API: add some new utility functions:
11963 - gst_pad_query_peer_position()
11964 - gst_pad_query_peer_duration()
11965 - gst_pad_query_peer_convert()
11967 2006-03-23 Wim Taymans <wim@fluendo.com>
11969 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11970 (gst_base_sink_init), (gst_base_sink_finalize),
11971 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11972 (gst_base_sink_set_property), (gst_base_sink_get_property),
11973 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11974 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11975 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11976 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11977 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11978 (gst_base_sink_preroll_object), (gst_base_sink_event),
11979 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11980 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11981 (gst_base_sink_query), (gst_base_sink_change_state):
11982 Decouple max-lateness and the fact that QoS messages are generated
11983 with a new property (qos).
11984 added API: GstBaseSink::async_play()
11985 Add vmethod so subclasses can be notified of ASYNC playing
11987 Collect timestamp start and stop to report better current
11988 position in EOS/PLAYING/PAUSED/READY/NULL.
11989 Refactor QoS/frame dropping and other measurements.
11990 API: GstBaseSrc::qos
11993 * libs/gst/base/gstbasesink.h:
11994 Added Private struct.
11995 API: gst_base_sink_set_qos_enabled()
11996 API: gst_base_sink_is_qos_enabled()
11998 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12000 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12001 If compiling against GLib-2.8 or newer, try to read the
12002 registry file using GMappedFile first before falling back
12003 to fopen() + fread() (#332151).
12005 2006-03-22 Wim Taymans <wim@fluendo.com>
12007 * gst/gstinfo.c: (gst_debug_set_active),
12008 (gst_debug_category_set_threshold):
12009 Disable debugging unless explicitly activated.
12012 2006-03-22 Wim Taymans <wim@fluendo.com>
12014 * gst/gstelement.c: (gst_element_set_locked_state),
12015 (gst_element_dispose):
12016 Cleanup the error case.
12018 * gst/gstobject.c: (gst_object_dispose):
12019 print a critical when some object was disposed with
12020 a parent, also revive the object since it might
12023 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12025 * tools/gst-launch.1.in:
12028 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12031 * tests/check/Makefile.am:
12032 disable some tests when we don't have a registry
12033 * tests/check/gst/gstutils.c: (gst_utils_suite):
12034 don't build the part that needs parsing
12036 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12039 * tests/examples/Makefile.am:
12040 fix --disable-parse build
12042 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12044 * tools/gst-feedback.1.in:
12045 Fix typo: s/feeback/feedback/ (#133494).
12047 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12049 * tools/Makefile.am:
12050 * tools/gst-launch.1.in:
12051 Add FILES section and correct entry about GST_REGISTRY_PATH
12052 environment variable (#133495; #133494).
12054 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12056 * tools/Makefile.am:
12057 * tools/gst-md5sum.1.in:
12058 * tools/gst-md5sum.c:
12059 Remove gst-md5sum and man page (the md5sink element
12060 required was removed ages ago)
12062 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12064 * gst/gststructure.c: (gst_structure_id_set_value):
12065 Make sure that string fields in structures/taglists
12066 contain valid UTF-8 - we don't want to pass rubbish to
12067 applications because of a buggy plugin (cp. #334167).
12069 2006-03-21 Edward Hervey <edward@fluendo.com>
12071 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12072 (gst_bin_handle_message_func):
12073 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12074 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12075 (gst_element_set_bus_func):
12076 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12077 * gst/gstminiobject.c: (gst_value_set_mini_object),
12078 (gst_value_take_mini_object):
12079 * gst/gstpad.c: (gst_pad_set_pad_template):
12080 * gst/gstpipeline.c: (gst_pipeline_dispose),
12081 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12082 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12083 (gst_collect_pads_chain):
12084 * libs/gst/net/gstnettimeprovider.c:
12085 (gst_net_time_provider_set_property):
12086 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12087 It's in fact all issues with gst_*object_replace().
12089 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12091 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12093 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12094 * pkgconfig/gstreamer-check.pc.in:
12095 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12097 2006-03-21 Edward Hervey <edward@fluendo.com>
12101 * gst/gstmessage.h:
12102 gst_[buffer|event|message]_ref() macros are replaced by a static
12103 inline functions because gcc-4.1 will about if the return value
12105 * tests/check/gst/gstevent.c: (event_probe):
12106 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12108 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12111 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12112 the type' case. (Closes: #335195 for now). In the future, when we
12113 depend on GLib 2.10, we could also intern the type name using
12114 g_intern_static_string()
12116 2006-03-20 Wim Taymans <wim@fluendo.com>
12118 * gst/gstbin.c: (gst_bin_handle_message_func),
12119 (bin_query_max_init), (bin_query_position_fold),
12120 (bin_query_position_done), (gst_bin_query):
12121 Position query should also take max of all streams.
12123 2006-03-20 Wim Taymans <wim@fluendo.com>
12125 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12126 (gst_fake_src_finalize):
12127 Fix leaks in fakesrc.
12129 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12130 Fix leaks in the testcase.
12132 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12134 * gst/gst_private.h:
12135 add win32 specific import decoration(__declspec(dllimport))
12136 for all extern GstDebugCategory * variables
12137 * win32/common/libgstbase.def:
12138 * win32/common/libgstcontroller.def:
12139 * win32/common/libgstreamer.def:
12140 Add some exports, remove empty lines
12141 * win32/common/libgstdataprotocol.def:
12142 * win32/common/libgstdataprotocol.dsp:
12143 * win32/common/libgstnet.def:
12144 * win32/common/libgstnet.dsp:
12145 new project files and exportation files added
12147 2006-03-19 Wim Taymans <wim@fluendo.com>
12149 * tests/check/libs/basesrc.c: (eos_event_counter):
12150 Use proper return value for probe.
12152 2006-03-17 Wim Taymans <wim@fluendo.com>
12154 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12156 Don't leak buffers, caps and pads on negotiation errors.
12158 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12160 * docs/faq/cvs.xml:
12161 * docs/faq/dependencies.xml:
12162 * docs/faq/developing.xml:
12163 * docs/faq/faq.xml:
12164 * docs/faq/general.xml:
12165 * docs/faq/getting.xml:
12166 * docs/faq/legal.xml:
12167 * docs/faq/troubleshooting.xml:
12168 * docs/faq/using.xml:
12169 Faq review and update.
12171 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12173 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12175 Don't pound the cpu to pieces by checking get_caps when accept_caps
12176 is called with the same caps as the pad already has.
12177 Use GST_DEBUG_OBJECT when outputting caps change information.
12179 2006-03-15 Wim Taymans <wim@fluendo.com>
12181 * gst/gstclock.c: (gst_clock_class_init):
12184 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12189 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12190 (gst_pad_accept_caps), (gst_pad_configure_sink),
12191 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12192 Make the default acceptcaps behaviour be to check the requested
12193 caps against the gst_pad_get_caps output.
12195 Ensure that gst_pad_accept_caps is used to check caps when a pad
12196 doesn't have a setcaps function, so that pads automatically refuse
12197 caps that they don't allow in their pad template. (Fixes #332986)
12199 When a buffer with attached caps is pushed, ensure that the source
12200 pad receives those caps even if the element didn't call
12201 gst_pad_set_caps first.
12203 2006-03-15 Wim Taymans <wim@fluendo.com>
12205 * libs/gst/base/gstadapter.c:
12208 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12210 * win32/common/libgstbase.def:
12211 * win32/common/libgstcontroller.def:
12212 * win32/common/libgstreamer.def:
12213 Add a whole bunch of missing functions (#334434).
12215 2006-03-14 Wim Taymans <wim@fluendo.com>
12217 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12218 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12219 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12220 Better debug info when we receive a segment event.
12221 Reorganize a bit so we can pass the get_times() results around.
12222 Use the segment format when calculating the running time.
12223 Don't do QoS is sync is disabled or we have no clock or the
12224 element does not want us to sync to the clock.
12225 Don't drop buffers if QoS is disabled for now.
12227 2006-03-14 Wim Taymans <wim@fluendo.com>
12229 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12230 Marked the stats property as unimplemented so people don't get
12232 Add debug message when regression goes wrong.
12233 Added some more docs.
12235 2006-03-14 Wim Taymans <wim@fluendo.com>
12237 * gst/gstsegment.c: (gst_segment_to_stream_time):
12238 Return correct return type in case of errors.
12240 2006-03-14 Wim Taymans <wim@fluendo.com>
12242 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12243 Don't segfault on invalid formats.
12245 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12247 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12248 Can't use gst_segment_to_running_time() when the segment
12249 is not in GST_TIME_FORMAT (like with filesink, for example).
12250 Stops flac encoding pipelines from spewing critical warnings
12253 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12255 * gst/gstpipeline.c: (gst_pipeline_class_init):
12256 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12258 * plugins/elements/gsttypefindelement.c:
12259 (gst_type_find_element_handle_event):
12260 Don't try to typefind empty streams.
12262 2006-03-14 Wim Taymans <wim@fluendo.com>
12264 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12265 (gst_base_sink_do_qos):
12266 Separate QoS calculation.
12267 Only drop buffers when lateness is bigger than the
12268 duration of the buffer.
12270 2006-03-13 Wim Taymans <wim@fluendo.com>
12272 * gst/gstpipeline.c: (gst_pipeline_set_property),
12273 (gst_pipeline_get_property), (do_pipeline_seek),
12274 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12275 (gst_pipeline_get_delay):
12276 Don't deadlock when reading properties.
12278 2006-03-13 Wim Taymans <wim@fluendo.com>
12280 * libs/gst/base/gstbasetransform.c:
12281 (gst_base_transform_class_init), (gst_base_transform_init),
12282 (gst_base_transform_sink_event),
12283 (gst_base_transform_sink_eventfunc),
12284 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12285 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12286 (gst_base_transform_set_property),
12287 (gst_base_transform_get_property),
12288 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12289 (gst_base_transform_set_qos_enabled),
12290 (gst_base_transform_is_qos_enabled):
12291 * libs/gst/base/gstbasetransform.h:
12292 Make basetransform virtual method for src events too.
12293 Handle QOS in basetransform.
12294 API: gst_base_transform_update_qos()
12295 API: gst_base_transform_set_qos_enabled()
12296 API: gst_base_transform_is_qos_enabled()
12298 2006-03-13 Wim Taymans <wim@fluendo.com>
12300 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12301 (gst_base_sink_do_sync):
12303 Use QOS debug category.
12305 2006-03-13 Wim Taymans <wim@fluendo.com>
12307 * plugins/elements/gstqueue.c:
12308 Very small doc update.
12310 2006-03-13 Wim Taymans <wim@fluendo.com>
12312 * gst/gst_private.h:
12313 * gst/gstinfo.c: (_gst_debug_init):
12314 Added QOS debug category
12316 2006-03-13 Wim Taymans <wim@fluendo.com>
12318 * docs/gst/gstreamer-sections.txt:
12319 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12321 * gst/gstbus.c: (gst_bus_class_init):
12324 * gst/gstelement.c: (gst_element_set_locked_state):
12325 * gst/gstsegment.c:
12326 Documentation updates.
12328 * gst/gstpipeline.c: (gst_pipeline_get_type),
12329 (gst_pipeline_class_init), (gst_pipeline_init),
12330 (gst_pipeline_dispose), (gst_pipeline_set_property),
12331 (gst_pipeline_get_property), (do_pipeline_seek),
12332 (gst_pipeline_send_event), (gst_pipeline_change_state),
12333 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12334 (gst_pipeline_get_delay):
12335 * gst/gstpipeline.h:
12336 Added methods for setting the delay.
12337 API: gst_pipeline_set_delay()
12338 API: gst_pipeline_get_delay()
12339 Add pipeline debug category
12342 Don't reset stream time when seek failed.
12344 2006-03-13 Wim Taymans <wim@fluendo.com>
12346 * docs/design/draft-klass.txt:
12347 * docs/design/part-clocks.txt:
12348 * docs/design/part-events.txt:
12349 * docs/design/part-gstbin.txt:
12350 * docs/design/part-gstpipeline.txt:
12351 * docs/design/part-messages.txt:
12352 * docs/design/part-negotiation.txt:
12353 * docs/design/part-overview.txt:
12354 * docs/design/part-preroll.txt:
12355 * docs/design/part-seeking.txt:
12356 * docs/design/part-states.txt:
12357 * docs/design/part-streams.txt:
12358 Documentation updates.
12360 2006-03-12 Julien MOUTTE <julien@moutte.net>
12362 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12363 us to leak strings...
12365 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
12367 * libs/gst/net/gstnettimeprovider.c:
12369 * win32/common/config.h:
12372 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
12374 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12377 Don't check for libgnomeui (leftover from old examples
12378 that aren't built or disted any longer) (#334303).
12380 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
12382 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12383 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12384 Emit RESOURCE_NO_SPACE_LEFT error here as well when
12385 there's no space left on the device.
12387 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
12390 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12391 to cast the input to GstClockTime before comparing with
12392 another GstClockTime value.
12394 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12399 === release 0.10.4 ===
12401 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12404 releasing 0.10.4, "Light"
12406 2006-03-10 Michael Smith <msmith@fluendo.com>
12408 * libs/gst/dataprotocol/dataprotocol.c:
12409 Fix docs for dataprocotol to not get the return types completely
12410 wrong for a few functions.
12412 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12414 * docs/gst/gstreamer-sections.txt:
12415 * gst/gstpipeline.c: (gst_pipeline_class_init),
12416 (gst_pipeline_init), (gst_pipeline_set_property),
12417 (gst_pipeline_get_property), (gst_pipeline_change_state),
12418 (gst_pipeline_set_auto_flush_bus),
12419 (gst_pipeline_get_auto_flush_bus):
12420 * gst/gstpipeline.h:
12421 Add new API: gst_pipeline_set_auto_flush_bus() and
12422 gst_pipeline_get_auto_flush_bus() to disable automatic
12423 flushing of the pipeline's GstBus when going from READY
12424 to NULL state (#332045).
12426 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12428 * docs/gst/gstreamer-sections.txt:
12429 * gst/gsturi.c: (gst_uri_has_protocol):
12431 Add new API: gst_uri_has_protocol() (#333779).
12433 2006-03-09 Wim Taymans <wim@fluendo.com>
12435 * gst/gstclock.c: (gst_clock_entry_new),
12436 (gst_clock_id_compare_func), (gst_clock_id_wait),
12437 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12438 (gst_clock_init), (gst_clock_get_internal_time),
12439 (gst_clock_set_master), (do_linear_regression),
12440 (gst_clock_add_observation), (gst_clock_set_property):
12444 Fix a possible segfault when the window-size is made smaller.
12445 Calculate jitter before performing the clock wait. Ideally
12446 the clock implementation should calculate jitter but we need
12447 API breakage for that.
12449 * gst/gstsystemclock.c: (gst_system_clock_init):
12452 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12453 Remove leftover else
12455 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12456 (gst_systemclock_suite):
12457 Added check to test GST_CLOCK_DIFF.
12459 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12461 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12462 (gst_type_find_helper_get_range):
12463 If we are provided with the size, we should implement
12464 GstTypeFind::get_length, so that typefind functions who
12465 want to can actually peek at the middle of a file.
12467 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
12469 * docs/manual/advanced-dataaccess.xml:
12470 Add some very very basic error checking.
12472 * docs/pwg/appendix-checklist.xml:
12473 Some updates to the list of things to check when writing an element.
12475 2006-03-08 Wim Taymans <wim@fluendo.com>
12477 * docs/design/part-element-transform.txt:
12478 Added some docs about the design of tranform elements.
12480 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12481 (gst_base_src_loop), (gst_base_src_change_state):
12482 Mark buffers with the DISCONT flag.
12484 2006-03-08 Michael Smith <msmith@fluendo.com>
12486 * gst/gstregistry.h:
12487 * gst/gstregistryxml.c: (gst_registry_save),
12488 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12489 (gst_registry_xml_save_pad_template),
12490 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12491 (gst_registry_xml_write_cache):
12492 Rewrite registry-saving to avoid race conditions and check for
12495 2006-03-08 Wim Taymans <wim@fluendo.com>
12497 * libs/gst/base/gstbasetransform.c:
12498 (gst_base_transform_transform_caps),
12499 (gst_base_transform_transform_size),
12500 (gst_base_transform_prepare_output_buffer),
12501 (gst_base_transform_get_unit_size),
12502 (gst_base_transform_buffer_alloc),
12503 (gst_base_transform_handle_buffer),
12504 (gst_base_transform_change_state):
12505 Cleanups, separate normal flow from errors, add sensible
12507 Don't try to renegotiate when allocating an output buffer.
12508 Also copy DISCONT buffer flag when copying a buffer.
12509 Reset the transform after we finish streaming, not during.
12511 2006-03-08 Wim Taymans <wim@fluendo.com>
12513 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12514 Use last buffer timestamp in qos message.
12516 2006-03-07 Wim Taymans <wim@fluendo.com>
12518 Patch by: Christophe Fergeau
12520 * docs/pwg/advanced-tagging.xml:
12521 * docs/pwg/building-pads.xml:
12524 2006-03-07 Wim Taymans <wim@fluendo.com>
12526 * docs/libs/gstreamer-libs-sections.txt:
12527 Added basesink new methods.
12531 Docs updates. Flesh out the QoS docs.
12533 * libs/gst/base/gstadapter.c:
12534 Small doc clarification about ownership and flushing.
12536 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12537 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12538 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12539 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12540 * libs/gst/base/gstbasesink.h:
12542 Added new methods to allow subclass to control max-lateness
12544 Generate very basic QoS events based on last sync observation.
12545 Updated docs, fix typo, added some QoS blurb.
12547 * libs/gst/base/gstbasesrc.c:
12548 Remove obsolete _get_state() calls from docs.
12550 2006-03-07 Wim Taymans <wim@fluendo.com>
12552 * docs/libs/gstreamer-libs-sections.txt:
12553 * libs/gst/base/gstbasetransform.h:
12554 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12555 Fix docs for GstBaseSrc.
12557 2006-03-07 Wim Taymans <wim@fluendo.com>
12559 * docs/gst/gstreamer-sections.txt:
12562 * libs/gst/base/gstbasetransform.h:
12563 Small documentation fixes.
12565 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12568 Document thread-unsafety of gst_value_register_foo_func()
12569 when used at the same time as gst_value_foo() (#322628).
12571 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12573 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12574 (gst_push_src_check_get_range):
12575 Push sources don't support pull mode by default.
12577 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12579 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12580 (gst_base_src_init), (gst_base_src_pad_check_get_range),
12581 (gst_base_src_default_check_get_range):
12582 * libs/gst/base/gstbasesrc.h:
12583 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12584 provide default implementation, and rename
12585 gst_base_src_check_get_range() to
12586 gst_base_src_pad_check_get_range() for clarity.
12588 2006-03-06 Wim Taymans <wim@fluendo.com>
12590 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12591 Make property overridable.
12593 2006-03-06 Wim Taymans <wim@fluendo.com>
12595 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12596 (gst_base_sink_init), (gst_base_sink_set_property),
12597 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12598 * libs/gst/base/gstbasesink.h:
12599 API addition: Make max-lateness a property.
12601 2006-03-06 Wim Taymans <wim@fluendo.com>
12603 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12604 (gst_base_sink_do_sync), (gst_base_sink_render_object):
12605 Don't ever draw a frame that is >10ms late.
12607 2006-03-06 Michael Smith <msmith@fluendo.com>
12609 * gst/gstmessage.c: (_gst_message_copy):
12610 When copying a message, set the parent_refcount of the enclosed
12611 structure to point at the copy, not the original message.
12613 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12615 Patch by: Christophe Fergeau
12618 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12619 usable in c++ code (#333417)
12621 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
12624 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12626 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
12628 * libs/gst/base/gstbasetransform.c:
12629 (gst_base_transform_transform_caps):
12630 Make sure caps are writable before passing them to
12633 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12636 Fix some minor docs errors.
12638 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12640 Patch by: Ross Burton <ross at burtonini dot com>
12642 * gst/gsterror.c: (_gst_resource_errors_init):
12644 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12646 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12649 Add a check and output a g_warning when GStreamer is built
12650 against GLib 2.6 but running against 2.8 or higher, and vice
12651 versa. (Closes: #323542)
12653 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12655 * gst/parse/parse.l:
12656 Commit patch for parse_launch syntax from #331255. Removes
12657 support for quoted strings and mimetypes when writing filtered
12658 caps. See the bug report for more details - I'm pretty sure this
12659 obscure feature is not in use by _anyone_ anywhere.
12661 With this simple change, the size of the gstreamer.so here
12662 drops from 2193KB to 1565KB.
12664 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12666 * plugins/elements/gsttypefindelement.h:
12667 * plugins/elements/gsttypefindelement.c:
12668 (gst_type_find_element_src_event), (start_typefinding),
12669 (stop_typefinding), (gst_type_find_element_handle_event),
12670 (gst_type_find_element_chain),
12671 (gst_type_find_element_chain_do_typefinding):
12672 Use gst_type_find_helper_for_buffer() for chain-based
12675 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12677 * plugins/elements/gsttypefindelement.c:
12678 (gst_type_find_element_class_init),
12679 (gst_type_find_element_set_property),
12680 (gst_type_find_element_get_property):
12681 Deprecate "maximum" property (not only was it only taken into
12682 account for typefinding in push-mode anyway, it also was never
12683 actually possible to set it in the first place because the
12684 property was registered with the numeric property ID for the
12685 "minimum" property). Register "maximum" property correctly,
12686 for the sake of future copy'n'pasters. Remove some cruft
12687 from property get/set functions.
12689 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12691 * plugins/elements/gsttypefindelement.c:
12692 (gst_type_find_element_activate):
12693 Use gst_type_find_helper_get_range() here, so we
12694 can honour the "minimum" property and also emit
12695 the signal with the correct probability of the found caps.
12697 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
12699 * docs/libs/gstreamer-libs-sections.txt:
12700 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12701 (helper_find_suggest), (gst_type_find_helper_get_range),
12702 (gst_type_find_helper):
12703 * libs/gst/base/gsttypefindhelper.h:
12704 New API: gst_type_find_helper_get_range() (#333042).
12706 2006-03-02 Michael Smith <msmith@fluendo.com>
12708 * gst/gstregistryxml.c: (load_feature):
12709 Asserting on a failure to read part of the registry is Not Cool.
12710 Just log a warning and return NULL (which is already handled)
12712 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
12714 * win32/common/libgstbase.def:
12715 added export of gst_type_find_helper_for_buffer
12716 * win32/common/libgstbase.def:
12717 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12718 gst_ghost_pad_get_target
12720 2006-02-28 Wim Taymans <wim@fluendo.com>
12722 * docs/design/draft-klass.txt:
12724 Added Connector to mark elements that are only used to
12725 allow pipeline connections.
12726 Moved Debug to extra feature since most of them are
12727 functionally something else.
12729 2006-02-28 Wim Taymans <wim@fluendo.com>
12731 * docs/design/draft-klass.txt:
12732 Some updates and clarifications.
12734 2006-02-28 Wim Taymans <wim@fluendo.com>
12736 * docs/design/draft-klass.txt:
12737 Proposal for klass field values.
12739 * docs/design/part-streams.txt:
12740 Start of a doc describing stream anatomy.
12742 2006-02-28 Wim Taymans <wim@fluendo.com>
12744 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12745 Help the compiler a bit with type registration.
12746 Use existing forward cod path instead of duplicating it when
12747 handling a message.
12749 * gst/gstbus.c: (gst_bus_get_type):
12750 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12751 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12752 * gst/gstclock.c: (gst_clock_get_type):
12753 * gst/gstelement.c: (gst_element_get_type),
12754 * gst/gstelementfactory.c: (gst_element_factory_get_type):
12755 * gst/gstindexfactory.c: (gst_index_factory_get_type):
12756 * gst/gstminiobject.c: (gst_mini_object_get_type):
12757 * gst/gstpad.c: (gst_pad_get_type):
12758 * gst/gstsegment.c: (gst_segment_get_type):
12759 * gst/gststructure.c: (gst_structure_get_type):
12760 * gst/gstsystemclock.c: (gst_system_clock_get_type):
12761 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12763 Help compiler with type registration.
12765 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12768 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12770 * plugins/elements/gsttypefindelement.c:
12771 (gst_type_find_element_handle_event):
12772 When we get an EOS event and have not found a type yet
12773 (most likely because we had not yet accumulated
12774 TYPE_FIND_MIN_SIZE of data yet), try to determine the
12775 type given the data we have so far. Fixes typefinding
12776 for very short streams again, most notably quicktime
12777 redirections as used on Apple's trailer site (#331701).
12779 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12781 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12782 (gst_type_find_helper):
12783 Try typefinding factories with the highest rank first.
12785 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12787 * docs/libs/gstreamer-libs-docs.sgml:
12788 * docs/libs/gstreamer-libs-sections.txt:
12789 * libs/gst/base/gsttypefindhelper.c:
12790 Add section for typefind helper and add documentation
12791 for the old and the new function.
12793 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12795 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12796 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12797 (gst_type_find_helper_for_buffer):
12798 * libs/gst/base/gsttypefindhelper.h:
12799 New API: gst_type_find_helper_for_buffer() (#332723).
12801 2006-02-27 Michael Smith <msmith@fluendo.com>
12803 Patch by: Loïc Minier
12806 * docs/Makefile.am:
12807 * docs/slides/Makefile.am:
12808 prevent CVS directories getting disted.
12810 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12812 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12813 Use the REFCOUNTING category for caps refcounting.
12815 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12817 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12818 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12820 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12822 * plugins/elements/gsttypefindelement.c:
12823 (gst_type_find_element_activate):
12824 Use gst_pad_check_pull_range() before _activate_pull()
12825 to avoid unnecessary open/close (see #331690).
12827 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12830 Docs enhancement: make it crystal clear what the
12831 gst_pad_add_*_probe() callbacks should look like.
12833 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12835 * libs/gst/base/gstbasesrc.c:
12836 Document how applications can stop recording from
12837 live sources (see #330996).
12839 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12841 * tests/check/Makefile.am:
12842 * tests/check/libs/basesrc.c: (eos_event_counter),
12843 (basesrc_eos_events_pull), (basesrc_eos_events_push),
12844 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12845 (gst_basesrc_suite), (main):
12846 ... and add some tests for the base source EOS stuff.
12848 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12850 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12851 Test case originally showed the problem fixed below,
12852 but was then amended. Add checks back at the place
12853 where they used to be.
12855 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12857 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12858 (gst_base_src_init), (gst_base_src_loop),
12859 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12860 (gst_base_src_change_state):
12861 * libs/gst/base/gstbasesrc.h:
12862 Don't unconditionally send EOS when going from PAUSED to
12863 READY state, esp. make sure we don't send two EOS events
12864 in some cases (e.g. one when reaching EOS and one when
12865 going from PAUSED to READY). Also, we don't want to send
12866 EOS events when operating in pull mode. However, we do
12867 want to send an EOS event when shutting down a live
12868 source explicitly, for example (fixes #330996).
12870 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12872 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12873 Update src->read_position after a seek when not using mmap.
12874 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12876 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
12882 Make things work with --disable-parse as they do with
12883 --disable-load-save - the symbols involved disappear, but the
12884 header is still installed and GST_DISABLE_PARSE is included via
12887 2006-02-20 Julien MOUTTE <julien@moutte.net>
12889 * libs/gst/base/gstbasetransform.c:
12890 (gst_base_transform_change_state): Fix a stupid bug. I was
12891 sure I compiled that.
12893 2006-02-20 Julien MOUTTE <julien@moutte.net>
12895 * gst/gstpad.c: (gst_pad_set_blocked_async):
12896 * gst/gstutils.c: (gst_pad_add_data_probe),
12897 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12898 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12899 (gst_pad_remove_buffer_probe): Make those function act on the
12900 ghostpad target when it's a ghostpad. (Closes #331727)
12902 2006-02-20 Julien MOUTTE <julien@moutte.net>
12904 * libs/gst/base/gstbasetransform.c:
12905 (gst_base_transform_change_state): Make basetransform reusable.
12908 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
12910 * docs/random/release:
12911 Move the current documentation of how to do a release to the top
12914 * gst/gstbin.c: (gst_bin_class_init),
12915 (gst_bin_handle_message_func):
12916 Allow multiple state-recalculation threads. (Closes #328873)
12918 2006-02-19 Julien MOUTTE <julien@moutte.net>
12920 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12921 * gst/gstpad.c: (gst_pad_set_event_function),
12922 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12923 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12924 2 strings. You can't use the STR_NULL macro on that.
12926 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
12928 * gst/gstpad.c: (gst_pad_set_event_function),
12929 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12930 (gst_pad_set_getcaps_function)
12931 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12932 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12933 So now, we can use --gst-debug-level=5 on Windows
12934 * win32/common/libgstcontroller.def:
12935 Added export of gst_controller_init
12936 * win32/vs6/libgstcontroller.dsp:
12937 Fixed Release post build configuration
12939 2006-02-17 Wim Taymans <wim@fluendo.com>
12941 * tests/check/gst/gstquery.c: (GST_START_TEST):
12942 Added another check.
12944 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
12946 * plugins/elements/gsttypefindelement.c: (find_peek):
12947 We can do peeks at non-zero offsets, as long as they
12948 fall within the buffer we have.
12950 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
12952 * tests/check/Makefile.am:
12953 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12954 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12955 (parse_suite), (main):
12956 Add testsuite for parse launch syntax
12958 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
12960 * plugins/elements/gsttypefindelement.c:
12961 (gst_type_find_element_chain):
12962 When typefinding is unsuccessful in the chain function, don't
12963 error out immediately. Only error out with NO_CAPS_FOUND if
12964 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12965 otherwise simply wait for more data so we can try typefinding
12966 again with more data later. Also, don't attempt to typefind
12967 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12968 this should improve typefinding from network sources where the
12969 size of the first buffer can be somewhat random.
12971 2006-02-14 Wim Taymans <wim@fluendo.com>
12973 * docs/gst/gstreamer-sections.txt:
12974 * gst/gstpadtemplate.c:
12975 * gst/gstpadtemplate.h:
12976 Fix padtemplate docs, fixes #328805.
12978 2006-02-14 Wim Taymans <wim@fluendo.com>
12980 * tools/gst-launch.c: (main):
12981 NO_PREROLL is not an ERROR so don't send confusing messages
12984 2006-02-14 Wim Taymans <wim@fluendo.com>
12986 Patch by: Torsten Schoenfeld
12988 * gst/gstregistry.c: (gst_registry_get_default),
12989 (_gst_registry_cleanup):
12990 Protect default registry with lock and ref/sink it.
12993 2006-02-14 Wim Taymans <wim@fluendo.com>
12996 * gst/gstquery.c: (gst_query_list_add_format),
12997 (gst_query_set_formatsv), (gst_query_parse_formats_length),
12998 (gst_query_parse_formats_nth):
12999 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13002 2006-02-14 Wim Taymans <wim@fluendo.com>
13004 * docs/gst/gstreamer-sections.txt:
13005 Reworked query docs.
13007 * gst/gstquery.c: (gst_query_new_formats),
13008 (gst_query_list_add_format), (gst_query_set_formats),
13009 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13010 (gst_query_parse_formats_nth):
13012 Flesh out formats query, added some new methods.
13013 Fix part of #324398.
13015 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13016 Added query creation tests.
13018 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13020 * gst/gstpad.c: (fixate_value):
13021 Add a default fixation for fraction lists.
13023 2006-02-13 Wim Taymans <wim@fluendo.com>
13025 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13026 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13029 Detect and warn for obvious deadlocks. fixes #320340
13030 Fix error case where lock was not released.
13032 * tests/check/Makefile.am:
13033 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13034 (task_func), (gst_element_suite), (main):
13037 2006-02-13 Wim Taymans <wim@fluendo.com>
13039 * docs/gst/gstreamer-sections.txt:
13041 Add new functions to docs.
13043 2006-02-13 Wim Taymans <wim@fluendo.com>
13045 * docs/design/part-TODO.txt:
13046 Updated TODO list, basesrc supports seeking to non-bytes
13049 * docs/design/part-element-sink.txt:
13052 * gst/gstbin.c: (bin_replace_message),
13053 (gst_bin_handle_message_func):
13054 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13055 * gst/gstevent.c: (gst_event_finalize):
13056 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13057 (gst_pad_send_event):
13058 Use shiny new _TYPE_NAME macros.
13060 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13061 Move debug statement up.
13063 * gst/gstelement.c: (gst_element_set_locked_state):
13064 Add some debugging.
13066 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13068 * docs/gst/gstreamer-sections.txt:
13069 * gst/gstmessage.h:
13071 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13072 macros (#330906). Also, document the already existing
13073 GST_QUERY_TYPE macro.
13075 2006-02-13 Wim Taymans <wim@fluendo.com>
13077 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13078 (event_probe), (GST_START_TEST):
13079 Only events up to the pipeline EOS are counted, there are
13080 some more when going to NULL currently which we don't care
13083 2006-02-13 Wim Taymans <wim@fluendo.com>
13085 * gst/gstpad.c: (gst_pad_send_event):
13086 Correctly check flushing and emit probes. fixes #330125
13088 2006-02-10 Andy Wingo <wingo@pobox.com>
13090 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13092 (gst_bus_init): Cache the location of the private data in the
13093 instance structure.
13094 (gst_bus_enable_sync_message_emission)
13095 (gst_bus_disable_sync_message_emission): Implement new public
13097 (gst_bus_post): Emit the sync-message signal if the user asked for
13100 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13101 location of the bus-private structure.
13102 (gst_bus_enable_sync_message_emission)
13103 (gst_bus_disable_sync_message_emission): API addition
13105 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13107 Patch by: Vincent Torri
13109 * docs/pwg/building-boiler.xml:
13110 PWG patch from #326800
13112 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13115 * docs/Makefile.am:
13116 * docs/design/Makefile.am:
13119 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13124 === release 0.10.3 ===
13126 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13129 releasing 0.10.3, "Like a virgin"
13131 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13134 2nd prerelease of 0.10.3
13135 Bump libtool versioning.
13137 2006-02-07 Andy Wingo <wingo@pobox.com>
13139 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13140 update last_stop if we're in TIME format and the timestamp is
13143 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13144 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13145 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13146 If we get a new newsegment with a different format, adapt
13149 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13150 of 0. Not a problem, really.
13152 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13155 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13160 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13163 project files updated to the default vs7 configuration
13164 * win32/common/libgstbase.def:
13165 * win32/common/libgstreamer.def:
13167 removed empty lines,
13168 sorted all exported symbols alphabetically
13169 * win32/common/dirent.c:
13170 * win32/common/dirent.h:
13171 * win32/common/gchar.h:
13172 use windows line end.
13174 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13176 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13177 Send EOS event when stopping.
13179 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13182 Tell folks what to do if the plugin-foobar.xml file
13183 hasn't been generated for a newly-added plugin.
13185 2006-02-05 Julien MOUTTE <julien@moutte.net>
13187 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13188 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13189 (gst_collect_pads_start), (gst_collect_pads_stop),
13190 (gst_collect_pads_event): Collectpads now holds a reference
13191 to the GstPad that was added. Indeed we don't want to look
13192 at pads that might just go away with no warning...
13194 2006-02-05 Julien MOUTTE <julien@moutte.net>
13196 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13197 (gst_collect_pads_start), (gst_collect_pads_stop),
13198 (gst_collect_pads_event), (gst_collect_pads_chain):
13199 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13200 Mark Nauwelaerts's patch on bug #328491.
13202 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13204 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13206 Add some simple tests for gst_parse_bin_from_description() and
13207 gst_bin_find_unconnected_pad() (#329069).
13209 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13211 * tools/gst-launch.c: (event_loop), (main):
13212 Catch errors during preroll (#320084).
13214 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13216 * plugins/elements/gsttypefindelement.c:
13217 (gst_type_find_element_activate):
13218 Post TYPE_NOT_FOUND error message when typefinding
13219 is unsuccessful in the activate function as well.
13221 2006-02-02 Wim Taymans <wim@fluendo.com>
13223 * docs/design/part-element-sink.txt:
13226 2006-02-02 Wim Taymans <wim@fluendo.com>
13228 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13229 (gst_base_sink_render_object),
13230 (gst_base_sink_queue_object_unlocked):
13231 Only keep track of prerollable items when we are
13233 Before rendering after preroll, always check if we
13235 Added some more debugging.
13237 2006-02-02 Wim Taymans <wim@fluendo.com>
13239 * gst/gstelement.c: (gst_element_continue_state),
13240 (gst_element_set_state_func), (gst_element_change_state):
13241 Fixed #326576, been running this for quite some time with
13242 no regressions at all.
13244 2006-02-02 Wim Taymans <wim@fluendo.com>
13247 Added more suppressions
13249 2006-02-02 Wim Taymans <wim@fluendo.com>
13251 * docs/design/part-element-sink.txt:
13254 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13255 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13256 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13257 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13258 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13259 (gst_base_sink_preroll_object),
13260 (gst_base_sink_queue_object_unlocked),
13261 (gst_base_sink_queue_object), (gst_base_sink_event),
13262 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13263 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13264 (gst_base_sink_get_position), (gst_base_sink_change_state):
13265 * libs/gst/base/gstbasesink.h:
13266 Totally refactored matching the design doc.
13267 Use two segments, one to clip incomming buffers and another to
13269 Handle queueing correctly, bypass the queue when playing.
13270 Make EOS cancelable.
13271 Handle errors correctly when operating in pull based mode.
13273 * tests/check/elements/fakesink.c: (GST_START_TEST),
13275 Added new check for sinks.
13277 2006-02-02 Wim Taymans <wim@fluendo.com>
13279 * gst/gstsegment.c: (gst_segment_clip):
13280 No reason to refuse to clip when start == -1
13282 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13285 * docs/manual/intro-basics.xml:
13286 * docs/manual/intro-preface.xml:
13287 * docs/manual/manual.xml:
13288 * docs/pwg/advanced-dparams.xml:
13289 * docs/pwg/intro-basics.xml:
13290 * docs/pwg/intro-preface.xml:
13291 * docs/pwg/pwg.xml:
13292 describe dparams (controller) for plugins
13293 unify docs a little more
13295 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13297 * docs/gst/gstreamer-sections.txt:
13298 * gst/gstutils.c: (element_find_unconnected_pad),
13299 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13301 Add new API: gst_parse_bin_from_description() and
13302 gst_bin_find_unconnected_pad() (#329069).
13304 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13306 * docs/manual/README:
13307 uncover a nasty detail of the docs build
13309 2006-01-31 Wim Taymans <wim@fluendo.com>
13311 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13312 Don't cache duration messages if we're not going to use or
13315 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13317 * docs/manual/advanced-dparams.xml:
13318 * docs/pwg/advanced-dparams.xml:
13322 * libs/gst/controller/lib.c: (gst_controller_init):
13325 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13327 * gst/gstelement.c: (gst_element_message_full):
13328 also show file/line/func if no additional debug was given
13330 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13332 * win32/vs7/grammar.vcproj:
13333 activate copy of autogenerated files for Release mode
13335 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13337 * win32/common/libgstreamer.def:
13338 export gst_value_compare
13340 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13342 * plugins/elements/Makefile.am:
13343 * plugins/elements/gstelements.c:
13344 * plugins/elements/gstfdsink.c: (_do_init),
13345 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13346 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13347 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13348 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13349 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13350 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13351 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13352 * plugins/elements/gstfdsink.h:
13353 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13355 2006-01-30 Stefan Kost <ensonic@users.sf.net>
13357 * docs/manual/advanced-dparams.xml:
13358 describe controller
13359 * docs/manual/advanced-position.xml:
13360 * docs/manual/basics-init.xml:
13361 * docs/manual/manual.xml:
13362 * docs/manual/titlepage.xml:
13363 * docs/pwg/pwg.xml:
13364 * docs/pwg/titlepage.xml:
13365 cleanup xml (more to come)
13366 * libs/gst/controller/gstcontroller.c:
13369 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13371 * win32/vs6/grammar.dsp:
13372 add autogen of gstmarshal.c,h for Release mode
13374 2006-01-30 Wim Taymans <wim@fluendo.com>
13376 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13377 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13378 (gst_base_sink_handle_object), (gst_base_sink_event),
13379 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13380 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13381 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13382 (gst_base_sink_deactivate), (gst_base_sink_activate),
13383 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13384 (gst_base_sink_query), (gst_base_sink_change_state):
13385 Basesink cleanups, remove some old code.
13386 Handle the case where a subclass can preroll in the render
13387 method (mostly audiosinks).
13388 Handle more events.
13389 Remove some locks around variables that are now protected
13390 with the PREROLL_LOCK (clock_id, flushing, ..).
13391 Optimize position query some more, do correct locking.
13392 Remove old code to push queue in state change, this is not
13393 needed anymore since preroll blocks on all prerollable items
13395 Almost implemented as described in design doc.
13397 2006-01-30 Wim Taymans <wim@fluendo.com>
13399 * tests/check/gst/gstbin.c: (GST_START_TEST):
13400 Wait for refcount to settle down before checking.
13402 2006-01-30 Wim Taymans <wim@fluendo.com>
13404 * docs/design/part-element-sink.txt:
13405 Pseudo code overview of desired sink behaviour regarding
13408 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13409 * win32/vs6/grammar.dsp:
13410 fix some bugs in Release mode for autogenerated files
13412 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13413 * win32/common/libgstbase.def:
13414 * win32/common/libgstreamer.def:
13415 export some new symbols: gst_base_src_set_format,
13416 gst_iterator_next, gst_structure_set_valist
13418 2006-01-29 Julien MOUTTE <julien@moutte.net>
13420 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13421 Set pad functions unconditionally. Fixes #329105.
13423 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13425 add vs8 project files created by Sergey Scobich
13427 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
13429 * gst/gstutils.c: (gst_element_unlink_pads):
13430 Don't leak pad references.
13432 * tests/check/elements/fakesink.c: (GST_START_TEST):
13433 * tests/check/generic/sinks.c: (GST_START_TEST):
13434 * tests/check/generic/states.c: (GST_START_TEST):
13435 * tests/check/gst/gstbin.c: (GST_START_TEST):
13436 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13437 * tests/check/gst/gstelement.c: (GST_START_TEST):
13438 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13439 * tests/check/gst/gstiterator.c: (GST_START_TEST):
13440 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13441 Fix a bunch of leaks. Make generic/sinks.c
13442 use a bit less cpu by slowing the buffer rate
13443 between fakesrc and fakesink.
13445 2006-01-27 Stefan Kost <ensonic@users.sf.net>
13447 * gst/gstelement.c: (gst_element_send_event):
13450 * gst/gstiterator.c:
13451 * gst/gstiterator.h:
13452 * gst/gstpad.c: (gst_pad_send_event):
13453 * gst/gststructure.c:
13457 * libs/gst/base/gstadapter.c:
13458 doc fixes, to link to function, just write gst_cool_function(), don't
13461 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13463 * plugins/elements/gsttee.c: (gst_tee_do_push),
13464 (gst_tee_handle_buffer):
13465 Always prefer an actual return value from a src
13466 pad in place of NOT_LINKED. This means we return
13467 WRONG_STATE when all src pads are WRONG_STATE
13468 instead of NOT_LINKED.
13470 Lock when replacing the last message to prevent
13471 racing with the get_property method.
13475 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13477 * tests/check/Makefile.am:
13478 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13480 Add a very simple check that should have caught the memleak I fixed
13481 last night (if not for the slice allocator hiding it)
13483 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13485 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13486 (gst_bin_remove_func), (gst_bin_handle_message_func),
13487 (bin_query_duration_fold), (bin_query_generic_fold):
13488 Clean up references to the clock provider when disposed or when
13489 handling a clock-lost message from it.
13491 Unref sinks when performing a query via gst_iterator_fold, as the
13492 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13494 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13495 (gst_clock_set_master):
13496 Drop our reference to the master clock, if any, when we are disposed.
13498 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13499 Chain up in dispose.
13501 2006-01-26 Wim Taymans <wim@fluendo.com>
13503 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13504 Add some debugging.
13506 2006-01-26 Julien MOUTTE <julien@moutte.net>
13508 * plugins/elements/gsttee.c: (gst_tee_do_push),
13509 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13510 handles pad being NOT_LINKED or in WRONG_STATE.
13512 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13517 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13520 remove obsolete entry
13522 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13524 * docs/gst/gstreamer-sections.txt:
13525 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13526 (gst_bin_iterate_sources), (gst_bin_send_event):
13528 * gst/gstelement.c: (gst_element_send_event):
13530 * gst/gstpad.c: (gst_pad_send_event):
13531 added code for downstream events, reviewed docs in gstevent.c
13533 2006-01-25 Julien MOUTTE <julien@moutte.net>
13535 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13536 We only query position using the clock in the playing state.
13537 Query peer in the other cases.
13538 * win32/common/config.h: Updates.
13540 2006-01-24 Wim Taymans <wim@fluendo.com>
13542 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13543 A clock entry that is scheduled for the exact time of the
13544 clock is still in time.
13546 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13547 (gst_base_sink_do_sync):
13548 Add some more debug info.
13550 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13553 Add new vs7 project files and solution.
13555 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13558 all files removed as they were out-dated.
13560 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13562 * docs/random/release:
13564 * gst/gstbin.c: (gst_bin_init):
13565 * gst/gstbus.c: (gst_bus_new):
13567 * gst/gstpipeline.c: (gst_pipeline_init):
13568 use gst_bus_new(), improve logging, fix docs
13569 * win32/common/config.h:
13570 update for cvs build
13572 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13575 up required version of automake to 1.7
13577 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
13579 * win32/common/libgstreamer.def:
13580 export gst_buffer_is_metadata_writable
13582 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
13584 * docs/gst/gstreamer-sections.txt:
13586 Add gst_event_replace() (#327001)
13588 2006-01-20 Wim Taymans <wim@fluendo.com>
13590 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13591 Make it actually compile too..
13593 2006-01-20 Wim Taymans <wim@fluendo.com>
13596 Clarify behaviour of _is_equal() when passing NULL parameters.
13598 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13599 (gst_pad_set_caps):
13600 Cleanups. Don't unref NULL caps.
13601 When setting the same caps, protect caps of the pad with
13603 Use full functionality of _is_equal() when comparing caps.
13605 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13607 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13608 Don't loop infinitely if there are no buffers to present. Partially
13609 fixes #327197, but collectpads is just broken for reusing elements
13610 to do multiple encodes atm.
13612 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13614 * tools/gst-inspect.c: (print_element_features):
13615 * tools/gst-xmlinspect.c: (main):
13616 URL_HANDLER is not a plugin feature we can search for in
13619 2006-01-19 Edward Hervey <edward@fluendo.com>
13621 * gst/gstelement.c: (gst_element_pads_activate):
13622 When activating, do src pads first, then sink pads.
13623 When de-activating, do sink pads first, then src pads.
13625 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13627 * docs/gst/gstreamer-sections.txt:
13628 Add gst_index_add_associationv to the docs
13630 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13635 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13636 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13637 Do some refactoring. Doesn't actually change functionality,
13638 but makes landing the DRAIN event easier later.
13640 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
13642 * docs/pwg/advanced-scheduling.xml:
13643 Update from 0.9.x to 0.10 API and make example a bit
13646 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13648 * docs/gst/gstreamer-sections.txt:
13649 Add gst_buffer_(is|make)_metadata_writable methods.
13651 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13653 * docs/design/part-sparsestreams.txt:
13654 Update sparse streams doc, hopefully for greater clarity
13656 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
13658 * docs/design/part-events.txt:
13659 Remove mention of FILLER events.
13662 * docs/design/part-sparsestreams.txt:
13663 Write some things about using NEWSEGMENT to keep sparse streams
13666 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13668 * gst/gstbin.c: (gst_bin_dispose):
13669 Guard gst_object_unref call against a NULL object (dispose
13670 can theoretically be called multiple times).
13672 2006-01-18 Wim Taymans <wim@fluendo.com>
13674 * gst/gstbin.c: (gst_bin_element_set_state):
13675 * gst/gstclock.c: (gst_clock_id_wait):
13676 Added some more debug info.
13678 * libs/gst/base/gstadapter.c:
13681 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13682 (gst_base_sink_do_sync), (gst_base_sink_chain):
13683 Added some comments.
13685 2006-01-18 Wim Taymans <wim@fluendo.com>
13687 * tests/check/Makefile.am:
13688 * tests/check/elements/fakesink.c: (chain_async_buffer),
13689 (chain_async), (chain_async_return), (GST_START_TEST),
13690 (fakesink_suite), (main):
13691 Added fakesink test that checks prerolling and clipping
13694 * tests/check/gst/gstutils.c: (GST_START_TEST):
13695 Make check run faster so that buildbots don't timeout.
13697 2006-01-18 Wim Taymans <wim@fluendo.com>
13699 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13700 (gst_base_sink_do_sync):
13702 When the sink finishes blocking on the preroll buffer, it can
13703 immediatly render it instead of rendering when the next buffer
13706 2006-01-18 Wim Taymans <wim@fluendo.com>
13708 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13709 (gst_base_sink_get_property), (gst_base_sink_do_sync),
13710 (gst_base_sink_chain):
13712 GST_ELEMENT_CLOCK and sync are protected with LOCK.
13713 Don't store _last_stop if the buffer is dropped.
13715 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13717 * plugins/elements/gsttypefindelement.c:
13718 (gst_type_find_element_class_init):
13719 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13720 object method handler that sets the caps on the pad and we want
13721 that to happen before we emit the signal (fixes e.g. feeding a
13722 plain text file to decodebin).
13724 2006-01-18 Christian Schaller <Christian@fluendo.com>
13726 * gst/gstplugin.c: Add MPL and Proprietary as license options
13728 2006-01-18 Andy Wingo <wingo@pobox.com>
13730 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13731 symbol was exported before, it appears this was just an oversight.
13733 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13735 * gst/gstindex.c (gst_index_add_associationv): Changed int in
13736 prototype to gint. OK since this prototype was not in the header.
13738 2006-01-17 Andy Wingo <wingo@pobox.com>
13740 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13741 registry while we remove plugins.
13743 * tools/gst-inspect.c (print_element_info): Don't unref the
13744 factory arg, that should be the responsibility of whatever code
13745 received the ref. Fixes a double-free when called from
13746 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13747 (main): Unref the factory if we have one.
13748 (print_element_list): No change -- relies on the
13749 plugin_feature_list_free to free the list of features.
13751 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
13753 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13754 (gst_buffer_make_metadata_writable):
13756 * libs/gst/base/gstbasetransform.c:
13757 (gst_base_transform_prepare_output_buf):
13758 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13759 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13760 Replace gst_buffer_(make|is)_metadata_writable patch now
13761 that the release is out.
13763 2006-01-17 Andy Wingo <wingo@pobox.com>
13765 * gst/gstregistry.c: Reflow design comment. Update so as to speak
13766 in the present tense without reference to versions.
13768 * gst/gstregistry.c (gst_registry_add_plugin)
13769 (gst_registry_remove_plugin, gst_registry_remove_feature)
13770 (gst_registry_find_feature, gst_registry_get_feature_list)
13771 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13772 (gst_registry_lookup, gst_registry_scan_path)
13773 (_gst_registry_remove_cache_plugins)
13774 (gst_registry_get_feature_list_by_plugin): Add argument
13777 === release 0.10.2 ===
13779 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
13782 releasing 0.10.2, "If man is five"
13784 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13788 * libs/gst/base/gstbasetransform.c:
13789 (gst_base_transform_prepare_output_buf):
13790 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13791 * tests/check/gst/gstbuffer.c: (gst_test_suite):
13792 Back out patch until after the release.
13794 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13796 * gst/gstminiobject.c:
13797 Spelling fix in docs.
13798 * ChangeLog - remove conflict indicator
13800 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13802 Reviewed By: Andy Wingo
13804 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13805 (gst_buffer_make_metadata_writable):
13807 Add gst_buffer_(is|make)_metadata_writable as analogues of
13808 gst_buffer_(is|make)_writable.
13810 * libs/gst/base/gstbasetransform.c:
13811 (gst_base_transform_prepare_output_buf):
13812 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13813 Use name gst_buffer_(is|make)_metadata_writable functions.
13815 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13816 Test gst_buffer_(is|make)_metadata_writable
13820 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
13822 * docs/manual/Makefile.am:
13823 don't do parallel make
13826 * win32/common/config.h.in:
13827 add generations for HOST_CPU and GST_MAJORMINOR
13828 * win32/common/config.h:
13829 commit generated result
13831 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
13833 * docs/manual/appendix-integration.xml:
13834 Update GNOME integration section to use gst_init_get_option_group()
13835 instead of the old popt stuff (#322911). Also, GNOME applications
13836 should now use gconf*sink and gconf*src instead of the old gconf
13839 2006-01-13 Stefan Kost <ensonic@users.sf.net>
13842 * docs/gst/gstreamer-docs.sgml:
13843 * docs/gst/gstreamer-sections.txt:
13844 * docs/libs/gstreamer-libs-sections.txt:
13845 add new API entries to the docs
13846 * libs/gst/controller/Makefile.am:
13847 * libs/gst/controller/gstcontroller.c:
13848 * libs/gst/controller/gstcontroller.h:
13849 * libs/gst/controller/gstcontrollerprivate.h:
13850 * libs/gst/controller/gsthelper.c:
13851 * libs/gst/controller/gstinterpolation.c:
13852 move private structs to private header
13854 gstreamer-0.7 -> gstreamer-0.10
13855 * tests/check/libs/struct_i386.h:
13856 remove private structs
13858 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13860 * plugins/indexers/Makefile.am:
13861 Fixes as part of #317048
13863 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13865 * plugins/indexers/Makefile.am:
13866 fix #316086 - compilation when mmap is missing
13868 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
13870 * libs/gst/base/gstbasesink.c:
13871 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
13872 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13873 * win32/common/config.h:
13874 added some defines GST_MAJORMINOR and HOST_CPU
13875 * win32/common/libgstbase.def:
13876 * win32/common/libgstreamer.def:
13877 added some exported functions.
13879 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13881 * libs/gst/controller/gstcontroller.c:
13882 (gst_controlled_property_set_interpolation_mode),
13883 (gst_controlled_property_new):
13884 * libs/gst/controller/gstcontroller.h:
13885 * libs/gst/controller/gstinterpolation.c:
13886 (interpolate_none_get_string_value_array):
13887 make G_TYPE_STRING controlable
13889 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13892 * tools/gst-feedback.1.in:
13893 * tools/gst-inspect.1.in:
13894 * tools/gst-launch.1.in:
13895 * tools/gst-md5sum.1.in:
13896 * tools/gst-typefind.1.in:
13897 * tools/gst-xmlinspect.1.in:
13898 * tools/gst-xmllaunch.1.in:
13899 cleanup man-pages, remove reference to gst-register, document env-vars
13901 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
13903 * gst/gstbuffer.c: (gst_buffer_span):
13904 gst_buffer_span should copy the timestamp of the first buffer
13905 if they were both originally overlapping subbuffers of the
13906 same parent, using the same logic as the 'slow copy' case.
13908 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
13910 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13911 Need to awaken ALL the pads when we pop a buffer, otherwise
13912 collectpads only works when there is 2 input streams.
13914 2006-01-11 Stefan Kost <ensonic@users.sf.net>
13916 * docs/random/ensonic/media-device-daemon.txt:
13919 fix doc example, add clarification
13920 * tools/gst-launch.1.in:
13921 add initial info about GST_PLUGIN_PATH, needs more work
13923 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
13925 * docs/manual/basics-bins.xml:
13926 * docs/manual/basics-elements.xml:
13927 * docs/manual/intro-basics.xml:
13928 Some more minor docs additions and updates.
13930 2006-01-11 Wim Taymans <wim@fluendo.com>
13932 * docs/manual/basics-bins.xml:
13933 * docs/manual/basics-elements.xml:
13934 Some small fixes as pointed out by Ser-ver on IRC.
13936 2006-01-10 Edward Hervey <edward@fluendo.com>
13938 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13939 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13940 the single-segment mode.
13942 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
13944 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13946 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13947 (gst_base_src_perform_seek), (gst_base_src_send_event),
13948 (gst_base_src_set_property), (gst_base_src_get_property),
13949 (gst_base_src_loop), (gst_base_src_start),
13950 (gst_base_src_activate_push):
13951 * libs/gst/base/gstbasesrc.h:
13952 Name (private) union; makes Sun's Forte compiler happy (#324900).
13954 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
13957 gst-register is gone.
13959 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
13961 * gst/gstvalue.c: (_gst_value_initialize):
13962 make the G_TYPE_DATE instantiation work if debug is disabled
13964 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
13966 * gst/gstmessage.c: (gst_message_parse_tag),
13967 (gst_message_parse_error), (gst_message_parse_warning):
13968 Don't crash when return location for error/warning debug
13969 string is NULL; add fact that return locations can be
13970 NULL to docs where appropriate.
13972 2006-01-05 Wim Taymans <wim@fluendo.com>
13974 * gst/gstplugin.c: (gst_plugin_load_file):
13975 Replace strdup by g_strdup.
13977 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13979 * docs/pwg/advanced-types.xml:
13982 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13984 submitted by: Abel Cheung
13988 Added Chinese (traditional) translation
13990 2006-01-04 Wim Taymans <wim@fluendo.com>
13992 * docs/manual/basics-pads.xml:
13993 * docs/plugins/Makefile.am:
13994 * docs/plugins/gstreamer-plugins-docs.sgml:
13995 * docs/plugins/gstreamer-plugins-sections.txt:
13996 * docs/pwg/advanced-clock.xml:
13997 * docs/pwg/advanced-scheduling.xml:
13998 * docs/pwg/advanced-types.xml:
13999 * plugins/elements/gstfdsink.c:
14000 * plugins/elements/gstfdsrc.c:
14001 * plugins/elements/gstfdsrc.h:
14002 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14003 * plugins/elements/gstidentity.h:
14004 * plugins/elements/gstqueue.h:
14005 * plugins/elements/gsttee.c:
14006 * plugins/elements/gsttee.h:
14007 * plugins/elements/gsttypefindelement.c:
14008 (gst_type_find_element_class_init):
14009 * plugins/elements/gsttypefindelement.h:
14010 Small updates to various docs.
14011 Added core plugins to docs.
14013 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14016 add a suppression for liboil's uninitialized variable
14018 2006-01-02 James Livingston <jrl at ids dot org dot au>
14020 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14023 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14024 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14025 compiler switch is being used (#325429).
14027 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14029 * gst/gstbin.c: (gst_bin_query):
14030 Disable duration query caching in bins until it gets
14031 fixed (see #324807).
14033 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14035 * tools/gst-inspect.c: (print_element_properties_info):
14036 Handle properties of POINTER and BOXED type.
14038 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14040 * gst/gst.c: (init_post):
14041 Init tags stuff and some other things before loading
14042 any static plugins (there may be other static plugins
14043 than just the GStreamer ones, and they may want to
14044 register their own tags or formats or whatever, and
14045 preferably without segfaulting).
14047 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14048 Print at least a warning in the debug logs if we drop a
14049 query just because we don't know how to adjust the value
14050 in the particular format.
14052 2005-12-24 David Schleef <ds@schleef.org>
14054 * tools/gstreamer-completion:
14055 Replacement for gst-complete written in sh and sed. Only
14056 completes names of features, but that's 90% of what I want
14057 it for. Properties are not available in registry.xml. (Maybe
14060 === release 0.10.1 ===
14062 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14065 releasing 0.10.1, "Nollaig chridheil"
14067 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14069 * docs/faq/cvs.xml:
14070 Add missing quote, should be make ERROR_CFLAGS="".
14072 2005-12-20 Wim Taymans <wim@fluendo.com>
14074 * docs/design/part-trickmodes.txt:
14075 More documentation on trickmodes.
14077 2005-12-20 Edward Hervey <edward@fluendo.com>
14079 * gst/gstcaps.c: (gst_static_caps_get_type):
14081 API addition: GST_TYPE_STATIC_CAPS
14082 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14083 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14084 * gst/gstpadtemplate.h:
14085 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14086 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14089 2005-12-18 Wim Taymans <wim@fluendo.com>
14091 * libs/gst/base/gstadapter.c:
14092 * libs/gst/base/gstadapter.h:
14093 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14094 (gst_base_sink_get_position):
14095 * libs/gst/base/gstbasesink.h:
14096 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14097 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14098 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14099 (gst_base_src_send_event), (gst_base_src_update_length),
14100 (gst_base_src_get_range), (gst_base_src_loop),
14101 (gst_base_src_start):
14102 * libs/gst/base/gstbasesrc.h:
14103 * libs/gst/base/gstbasetransform.h:
14104 * libs/gst/base/gstcollectpads.h:
14105 * libs/gst/base/gstpushsrc.c:
14106 * libs/gst/base/gstpushsrc.h:
14107 * libs/gst/dataprotocol/dataprotocol.c:
14108 * libs/gst/dataprotocol/dataprotocol.h:
14109 * libs/gst/net/gstnetclientclock.h:
14110 * libs/gst/net/gstnettimeprovider.h:
14111 Documentation updates.
14113 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14115 * docs/manual/basics-helloworld.xml:
14116 Remove superfluous closing bracket in helloworld example.
14118 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14120 * tools/gst-launch.1.in:
14121 Update gst-launch man page; add a section with useful
14122 environment variables. Fixes #323882.
14124 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14127 * gst/gst_private.h:
14128 change some char* into char[]
14130 2005-12-16 Wim Taymans <wim@fluendo.com>
14132 * gst/gstregistryxml.c: (load_feature):
14134 Don't use g_object_unref on GstObjects so that we avoid
14135 leaks on unsafe glibs.
14137 2005-12-16 Wim Taymans <wim@fluendo.com>
14139 * gst/gstbin.c: (gst_bin_recalc_state):
14142 2005-12-16 Wim Taymans <wim@fluendo.com>
14144 * common/check.mak:
14145 Added make forever target for check.
14147 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14149 * gst/gst.c: (init_post):
14150 make the registry cache file HOST_CPU-dependent
14152 2005-12-16 Andy Wingo <wingo@pobox.com>
14154 * plugins/elements/gstbufferstore.c
14155 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14158 * tests/check/gst/gstobject.c
14159 (test_fake_object_name_threaded_unique): Pay attention to
14160 g_list_sort return value.
14162 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14164 * tools/gst-feedback-m.m:
14165 Update for 0.9/0.10 (fixes #323870).
14167 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14169 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14170 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14172 * tests/check/gst/gstminiobject.c: (my_foo_init),
14173 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14174 (test_value_collection), (gst_mini_object_suite):
14175 Add test to ensure refcounts end up as expected when passing
14176 GstMiniObjects through g_object_get() and g_object_set().
14178 2005-12-14 Julien MOUTTE <julien@moutte.net>
14180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14181 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14182 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14183 of collectpads. This version removes a lot of races without
14184 touching API/ABI. Yay !
14186 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14188 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14189 Don't allow activation of a srcpad in pull_range if it has no
14191 Change some debug statements to be a little clearer
14193 * plugins/elements/gsttypefindelement.c:
14194 (gst_type_find_handle_src_query):
14195 Check that we have a peer before executing queries thereupon.
14197 * tests/examples/metadata/read-metadata.c: (message_loop):
14198 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14199 immediately return us any available message with 0 timeout.
14201 2005-12-12 Michael Smith <msmith@fluendo.com>
14203 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14204 Don't unref factories after calling them.
14205 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14206 * plugins/elements/gsttypefindelement.c:
14207 (gst_type_find_element_chain):
14208 Free lists of factories after using them. Fixing typefinding memory
14211 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14213 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14214 (gst_plugin_feature_load):
14215 more meaningful debug output
14217 * tests/Makefile.am:
14218 * tests/old/examples/Makefile.am:
14219 make make distcheck happy again
14221 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14223 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14224 Catch the special case where we are operating chain-based,
14225 but the downstream peer pad has no chain function. Emit a
14226 custom error message in this case instead of letting the
14227 core generate one implying that this is some sort of core
14228 bug. It's not, it just means that whatever got plugged
14229 into the pipeline downstream when we announced the type
14230 can only operate pull-based, while our source can only
14231 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14232 Error string has not been marked for translation yet, as
14233 it probably needs some more work first.
14235 (gst_type_find_element_get_best_possibility):
14236 Add helper function to find the best of all available
14237 found possibilities that qualify given the min. threshold.
14239 (gst_type_find_element_handle_event):
14240 Fix the case where we get an EOS while still in TYPEFIND
14241 mode (we want to chose the best of all possible types,
14242 not just the first type that happens to be in our unsorted
14243 list of possible types).
14245 (gst_type_find_element_chain):
14246 Make sure we return GST_FLOW_ERROR when we errored out
14247 in stop_typefinding(); also, don't just find the best of
14248 all found type entries and then use the last examined
14249 type entry, but actually use the best entry.
14251 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14253 * tests/examples/typefind/typefind.c: (type_found):
14254 * tests/examples/xml/runxml.c: (xml_loaded):
14255 More gcc4 fixes and a mem leak fix.
14257 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14259 * tests/examples/xml/createxml.c: (object_saved):
14262 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14264 * tests/Makefile.am:
14265 enable the examples even more
14267 2005-12-12 Andy Wingo <wingo@pobox.com>
14269 * libs/gst/net/gstnettimeprovider.c
14270 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14271 (gst_net_time_provider_set_property)
14272 (gst_net_time_provider_get_property):
14273 API addition: Export "active" as a GObject property.
14274 (gst_net_time_provider_thread): Only respond to time queries if
14275 the time provider is active.
14277 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14278 NetTimeProvider, preserving binary compat.
14280 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14282 * tests/examples/controller/audio-example.c: (main):
14283 * tests/examples/launch/Makefile.am:
14284 convert comments again
14286 2005-12-12 Wim Taymans <wim@fluendo.com>
14288 * libs/gst/base/gstpushsrc.c:
14291 2005-12-12 Wim Taymans <wim@fluendo.com>
14293 * docs/libs/gstreamer-libs-sections.txt:
14294 Added new symbol to docs.
14296 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14297 (gst_base_src_init), (gst_base_src_set_format),
14298 (gst_base_src_default_query), (gst_base_src_query),
14299 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14300 (gst_base_src_perform_seek), (gst_base_src_send_event),
14301 (gst_base_src_default_event), (gst_base_src_event_handler),
14302 (gst_base_src_set_property), (gst_base_src_get_property),
14303 (gst_base_src_wait), (gst_base_src_do_sync),
14304 (gst_base_src_update_length), (gst_base_src_get_range),
14305 (gst_base_src_check_get_range), (gst_base_src_loop),
14306 (gst_base_src_default_negotiate), (gst_base_src_start),
14307 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14308 (gst_base_src_change_state):
14309 * libs/gst/base/gstbasesrc.h:
14310 Implement seeking to other formats than _BYTES.
14311 Implement more seeking methods correctly.
14313 Added query vmethod.
14314 Added do_seek vmethod to make life easier for subclasses
14316 API addition: gst_base_src_set_format()
14318 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14320 * tests/examples/Makefile.am:
14323 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14326 * docs/random/ensonic/media-device-daemon.txt:
14327 * tests/examples/controller/.cvsignore:
14328 * tests/examples/controller/Makefile.am:
14329 * tests/examples/controller/audio-example.c: (main):
14330 * tests/examples/helloworld/.cvsignore:
14331 * tests/examples/helloworld/Makefile.am:
14332 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14333 * tests/examples/launch/.cvsignore:
14334 * tests/examples/launch/Makefile.am:
14335 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14336 * tests/examples/metadata/.cvsignore:
14337 * tests/examples/metadata/Makefile.am:
14338 * tests/examples/metadata/read-metadata.c: (message_loop),
14339 (make_pipeline), (print_tag), (main):
14340 * tests/examples/queue/.cvsignore:
14341 * tests/examples/queue/Makefile.am:
14342 * tests/examples/queue/queue.c: (event_loop), (main):
14343 * tests/examples/typefind/.cvsignore:
14344 * tests/examples/typefind/Makefile.am:
14345 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14347 * tests/examples/xml/.cvsignore:
14348 * tests/examples/xml/Makefile.am:
14349 * tests/examples/xml/createxml.c: (object_saved), (main):
14350 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14351 * tests/old/examples/Makefile.am:
14352 * tests/old/examples/TODO:
14353 * tests/old/examples/controller/.cvsignore:
14354 * tests/old/examples/controller/Makefile.am:
14355 * tests/old/examples/controller/audio-example.c:
14356 * tests/old/examples/helloworld/.cvsignore:
14357 * tests/old/examples/helloworld/Makefile.am:
14358 * tests/old/examples/helloworld/helloworld.c:
14359 * tests/old/examples/launch/.cvsignore:
14360 * tests/old/examples/launch/Makefile.am:
14361 * tests/old/examples/launch/mp3parselaunch.c:
14362 * tests/old/examples/launch/mp3play:
14363 * tests/old/examples/manual/Makefile.am:
14364 * tests/old/examples/metadata/Makefile.am:
14365 * tests/old/examples/metadata/read-metadata.c:
14366 * tests/old/examples/queue/.cvsignore:
14367 * tests/old/examples/queue/Makefile.am:
14368 * tests/old/examples/queue/queue.c:
14369 * tests/old/examples/typefind/.cvsignore:
14370 * tests/old/examples/typefind/Makefile.am:
14371 * tests/old/examples/typefind/typefind.c:
14372 * tests/old/examples/xml/.cvsignore:
14373 * tests/old/examples/xml/Makefile.am:
14374 * tests/old/examples/xml/createxml.c:
14375 * tests/old/examples/xml/runxml.c:
14376 applied some simple fixing to some examples
14377 re-enabled the working examples
14379 2005-12-12 Wim Taymans <wim@fluendo.com>
14381 * gst/gstsegment.c: (gst_segment_init),
14382 (gst_segment_set_last_stop), (gst_segment_set_seek),
14383 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14384 (gst_segment_to_running_time):
14385 Added more documentation.
14386 Make sure the last_pos value is updated properly.
14387 Make sure to_stream_time and to_running_time don't
14388 operate on wrong values.
14390 * tests/check/gst/gstsegment.c: (GST_START_TEST):
14393 2005-12-12 Michael Smith <msmith@fluendo.com>
14395 * plugins/elements/gsttypefindelement.c: (free_entry),
14396 (gst_type_find_element_chain):
14397 Now that we're not leaking factories, make sure we keep references
14398 to them while we need them.
14400 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * tests/check/gst/struct_i386.h:
14403 ifdef out the XML structs
14405 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14407 * gst/gstvalue.c: (gst_value_transform_double_fraction):
14408 floor is not needed, F is always positive; this obviates the
14409 need for adding -lm when building without libxml
14411 2005-12-12 Wim Taymans <wim@fluendo.com>
14413 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14414 Take current playback rate into account when reporting
14417 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14419 * docs/manual/mime-world.fig:
14420 Let's try this again, this time with a file that is
14421 actually in XFig format.
14423 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14425 * docs/manual/mime-world.fig:
14426 Add audioconvert element to diagram so that it
14427 matches the text and the code (fixes #319526).
14429 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14431 * docs/pwg/building-chainfn.xml:
14432 * docs/pwg/building-pads.xml:
14433 * docs/pwg/building-state.xml:
14434 * docs/pwg/other-source.xml:
14435 Update state change stuff for 0.10 (fixes #322969).
14437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14439 * docs/manual/advanced-dataaccess.xml:
14440 * docs/manual/appendix-checklist.xml:
14441 * docs/manual/appendix-programs.xml:
14442 * docs/manual/basics-pads.xml:
14443 * docs/manual/highlevel-components.xml:
14444 * docs/manual/manual.xml:
14445 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14446 add converters in front of pipelines; remove curly
14447 brackets for threads stuff, they no longer exist; use
14448 GST_TYPE_FRACTION for framerates; update some pieces of
14449 code to 0.10, but there's plenty more to do.
14451 * docs/manual/appendix-porting.xml:
14452 Expand on asynchroneous state changes; s/0.9/0.10/;
14453 mention disappearance of gst_init_get_popt_table()
14456 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14458 * docs/faq/using.xml:
14459 Spider no longer exists, and neither does gst-launch-ext.
14460 Update examples to use decodebin and playbin and put
14461 converters in front of sinks (fixes #323726).
14463 2005-12-09 Michael Smith <msmith@fluendo.com>
14465 * plugins/elements/gsttypefindelement.c: (find_peek),
14466 (gst_type_find_element_chain):
14467 Fix leaking element factories in typefinding.
14468 Fix problem where we forgot about a probable type on non-seekable
14469 files, and thus later mis-typefound it.
14471 2005-12-09 Michael Smith <msmith@fluendo.com>
14473 * common/m4/gst-makecontext.m4:
14474 * common/m4/gst-mcsc.m4:
14476 * win32/common/config.h:
14477 * win32/common/config.h.in:
14478 Remove makecontext stuff; not used in 0.10 and causes problems on
14479 HPUX according to bug #322441
14481 2005-12-07 Wim Taymans <wim@fluendo.com>
14483 * tests/check/Makefile.am:
14484 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14486 * tests/check/libs/struct_i386.h:
14487 Added ABI check for libs
14489 2005-12-07 Wim Taymans <wim@fluendo.com>
14491 * tests/check/Makefile.am:
14492 And add the struct_i386.h to dist.
14494 2005-12-07 Wim Taymans <wim@fluendo.com>
14496 * tests/check/Makefile.am:
14497 * tests/check/gst/.cvsignore:
14498 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14500 * tests/check/gst/struct_i386.h:
14501 Added check for ABI compatibility.
14503 2005-12-07 Wim Taymans <wim@fluendo.com>
14505 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14506 (gst_fake_src_get_times), (gst_fake_src_create):
14507 Fix broken sync option, fixes #323259
14509 2005-12-07 Wim Taymans <wim@fluendo.com>
14514 * gst/gstcaps.c: (gst_caps_is_equal):
14515 Don't assert on NULL <--> X. Fixes #323260
14517 * gst/gstminiobject.c: (gst_mini_object_replace):
14518 If we're doing atomic operations, we might just as well use
14519 the proper way to get an atomic pointer.
14521 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14522 Clean up debugging.
14524 2005-12-07 Michael Smith <msmith@fluendo.com>
14526 * gst/parse/grammar.y:
14527 Remove handling of { } for threads.
14529 2005-12-06 David Schleef <ds@schleef.org>
14531 * libs/gst/base/gstbasetransform.c: speling fix.
14533 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
14535 * docs/libs/tmpl/gstdataprotocol.sgml:
14536 * docs/random/omega/testing/gstobject.c:
14539 * gst/gstelement.c:
14540 * gst/gstelementfactory.c:
14543 * gst/gstghostpad.c:
14545 * gst/gstpadtemplate.c:
14546 * gst/gstregistryxml.c:
14547 * gst/gsttaglist.c:
14548 * gst/gsttagsetter.c:
14549 * gst/gsttypefind.c:
14551 * libs/gst/base/gstbasesrc.c:
14552 * libs/gst/net/gstnetclientclock.c:
14553 * libs/gst/net/gstnettimeprovider.c:
14554 * plugins/elements/gstfakesrc.c:
14555 * plugins/elements/gstfdsrc.c:
14556 * plugins/elements/gstfilesrc.c:
14557 * plugins/elements/gstidentity.c:
14558 * plugins/elements/gstqueue.c:
14559 * plugins/elements/gsttypefindelement.c:
14560 * plugins/indexers/gstfileindex.c:
14561 * plugins/indexers/gstmemindex.c:
14562 * tests/check/gst/gsttag.c:
14563 * tests/old/examples/cutter/cutter.c:
14564 * tests/old/examples/mixer/mixer.c:
14565 * tests/old/examples/xml/runxml.c: (main):
14566 * tests/old/testsuite/caps/normalisation.c:
14567 * tests/old/testsuite/debug/global.c:
14568 * tests/old/testsuite/parse/parse1.c:
14569 * tools/gst-xmlinspect.c:
14570 * win32/common/dirent.c:
14573 === release 0.10.0 ===
14575 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14578 releasing 0.10.0, "Maroilles"
14580 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14582 submitted by: Funda Wang <fundawang@linux.net.cn>
14586 added Chinese (Traditional) translation
14588 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14590 * docs/gst/gstreamer-sections.txt:
14591 * docs/libs/tmpl/gstdataprotocol.sgml:
14592 * docs/random/thomasvs/TODO:
14597 2005-12-05 Andy Wingo <wingo@pobox.com>
14599 patch by: Wim Taymans <wim@fluendo.com>
14601 * libs/gst/base/gstbasetransform.c
14602 (gst_base_transform_prepare_output_buf)
14603 (gst_base_transform_buffer_alloc):
14604 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14605 alloc_buffer_and_set_caps.
14607 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14608 set_caps on the source pad.
14609 (gst_pad_alloc_buffer_and_set_caps): New function, does what
14610 alloc_buffer used to do. Fixes #322874.
14612 * docs/gst/gstreamer-sections.txt:
14613 * docs/design/part-negotiation.txt:
14614 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14617 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14619 patch by: Sebastien Moutte
14622 * win32/common/config.h.in:
14623 * win32/vs6/libgstcontroller.dsp:
14626 2005-12-05 Wim Taymans <wim@fluendo.com>
14628 * gst/gstcaps.c: (gst_caps_is_equal):
14629 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14630 (gst_fake_src_create):
14631 Back out previous code changes, leave doc updates, file bugs
14634 2005-12-05 Wim Taymans <wim@fluendo.com>
14636 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14637 (gst_fake_src_get_times), (gst_fake_src_create):
14638 * plugins/elements/gstfakesrc.h:
14639 Fix broken sync code.
14641 2005-12-05 Wim Taymans <wim@fluendo.com>
14643 * gst/gstcaps.c: (gst_caps_is_equal):
14644 Comparing NULL against !NULL yields different caps, not a
14647 2005-12-05 Wim Taymans <wim@fluendo.com>
14649 * gst/gstpipeline.c:
14650 Fix small typo in docs.
14652 2005-12-05 Andy Wingo <wingo@pobox.com>
14654 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
14656 * gst/gst.c (init_post): remove hard-coded 0.9 location for
14657 registries/plugins with a MAJORMINOR one.
14658 (plugin_desc): Rename library from gstcoreleements to
14659 staticelements. Fixes #323222.
14661 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
14663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14664 Change debug category to 'collectpads' from 'collect_pads'
14667 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14669 patch by: Sebastien Moutte
14671 * libs/gst/controller/gstinterpolation.c:
14672 use convert function for uint64/double
14673 * win32/vs6/libgstcontroller.dsp:
14676 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14678 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14679 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14681 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14682 add tests that seem to show that the guint64/gdouble conversions
14685 2005-12-02 Wim Taymans <wim@fluendo.com>
14687 * gst/gstregistry.c: (gst_registry_add_path):
14688 * gst/gstregistry.h:
14689 * gst/gstregistryxml.c:
14692 2005-12-02 Wim Taymans <wim@fluendo.com>
14694 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14695 (gst_util_uint64_scale_int):
14698 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14699 Add debug log line.
14701 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14704 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14707 * win32/common/config.h:
14708 * win32/vs6/gstreamer.dsw:
14709 * win32/vs6/libgstcoreelements.dsp:
14710 * win32/vs6/libgstelements.dsp:
14711 renamed core elements plugin
14713 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14715 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14717 do piece-wise major/minor comparison so 0.9 < 0.10
14718 also allow .exe extensions for tools
14720 2005-12-02 Michael Smith <msmith@fluendo.com>
14723 Escape a % to make gtkdoc happier; bug 322958.
14725 === release 0.9.7 ===
14727 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14730 releasing 0.9.7, "My Dog Has No Nose"
14732 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14734 * common/gst-xmlinspect.py:
14736 * docs/libs/tmpl/gstdataprotocol.sgml:
14737 * docs/random/release:
14756 * win32/common/config.h:
14757 * win32/common/config.h.in:
14758 * win32/vs6/gst_inspect.dsp:
14759 * win32/vs6/gst_launch.dsp:
14760 * win32/vs6/libgstbase.dsp:
14761 * win32/vs6/libgstelements.dsp:
14762 * win32/vs6/libgstreamer.dsp:
14763 * win32/vs7/GStreamer.vcproj:
14764 * win32/vs7/gst-inspect.vcproj:
14765 * win32/vs7/gst-launch.vcproj:
14766 * win32/vs7/libgstbase.vcproj:
14767 bump GST_MAJORMINOR to 0.10
14768 reset libtool version
14770 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14774 Added Bulgarian translation by (Alexander Shopov)
14776 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14778 * tests/check/gst/gstplugin.c:
14781 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14783 * common/gst-xmlinspect.py:
14784 * common/gtk-doc-plugins.mak:
14786 * docs/Makefile.am:
14787 * docs/gst/Makefile.am:
14788 * docs/gst/gstreamer-docs.sgml:
14789 * docs/gst/gstreamer-sections.txt:
14790 * docs/gst/gstreamer.types:
14791 * docs/gst/gstreamer.types.in:
14792 * docs/plugins/Makefile.am:
14793 * docs/plugins/gstreamer-plugins-docs.sgml:
14794 * docs/plugins/gstreamer-plugins-sections.txt:
14795 * docs/plugins/gstreamer-plugins.types:
14796 * docs/plugins/inspect.stamp:
14797 * docs/plugins/inspect/plugin-coreelements.xml:
14798 * docs/plugins/inspect/plugin-coreindexers.xml:
14799 * docs/plugins/scanobj-build.stamp:
14800 * gstreamer.spec.in:
14801 * plugins/elements/Makefile.am:
14802 * plugins/elements/gstelements.c:
14803 * plugins/elements/gstfakesink.c:
14804 * plugins/elements/gstfakesrc.c:
14805 * plugins/elements/gstfilesink.c:
14806 * plugins/elements/gstfilesrc.c:
14807 * plugins/elements/gstqueue.c:
14808 * plugins/indexers/Makefile.am:
14809 * plugins/indexers/gstindexers.c:
14810 document core plugins in a separate document just like all the
14812 rename these plugins to something starting with core
14814 2005-12-01 Andy Wingo <wingo@pobox.com>
14816 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14817 padding here before, but it missed the commit.
14819 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14821 * libs/gst/controller/gstinterpolation.c:
14822 whitespace prices have crashed, we should feel free to use some now
14823 use gst_guint64_to_gdouble
14825 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14827 * libs/gst/controller/gstcontroller.c:
14828 * libs/gst/controller/gsthelper.c:
14829 * libs/gst/controller/gstinterpolation.c:
14830 * libs/gst/controller/lib.c:
14831 wrap config.h include
14833 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14835 * docs/gst/gstreamer-sections.txt:
14838 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14840 * plugins/elements/gstelements.c:
14841 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14842 (gst_fd_sink__class_init), (gst_fd_sink__init),
14843 (gst_fd_sink__chain), (gst_fd_sink__set_property),
14844 (gst_fd_sink__get_property):
14845 * plugins/elements/gstfdsink.h:
14846 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14847 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14848 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14849 (gst_fd_src_unlock), (gst_fd_src_set_property),
14850 (gst_fd_src_get_property), (gst_fd_src_create),
14851 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14852 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14853 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14854 (gst_fd_src_uri_handler_init):
14855 * plugins/elements/gstfdsrc.h:
14856 * plugins/elements/gstqueue.c: (gst_queue_get_type):
14859 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14861 * docs/gst/Makefile.am:
14862 * docs/gst/gstreamer.types.in:
14866 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14872 * gst/gstregistry.h:
14873 * tests/benchmarks/complexity.c:
14874 * tests/benchmarks/mass-elements.c:
14875 * tests/check/Makefile.am:
14876 * tools/Makefile.am:
14877 * tools/gst-inspect.c:
14878 * tools/gst-xmlinspect.c:
14879 various fixes to make
14880 --disable-nls --disable-registry --disable-loadsave
14881 --disable-parse --disable-gst-debug
14882 work and get the core .so down to 360444 bytes after stripping
14884 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14889 * docs/random/thomasvs/TODO:
14890 * tests/Makefile.am:
14894 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * win32/GStreamer.vcproj:
14899 * win32/Makefile.inspect:
14900 * win32/Makefile.launch:
14901 * win32/Makefile.register:
14902 * win32/README.txt:
14903 * win32/gst-inspect.vcproj:
14904 * win32/gst-launch.vcproj:
14905 * win32/gst-register.vcproj:
14906 * win32/gstelements.vcproj:
14907 * win32/gstgetbits.def:
14908 * win32/gstgetbits.vcproj:
14909 * win32/gstreamer-dbg.def:
14910 * win32/gstreamer.def:
14911 * win32/libgstbase.def:
14912 * win32/libgstbase.vcproj:
14913 * win32/link_oldruntime.c:
14917 * win32/msvc71.sln:
14918 move even more stuff, win32/ is nice and clean now
14920 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14922 * libs/gst/control/.cvsignore:
14927 * win32/gstbytestream.def:
14928 * win32/gstbytestream.vcproj:
14929 * win32/gstconfig.h:
14930 * win32/gstenumtypes.c:
14931 * win32/gstenumtypes.h:
14932 * win32/gstoptimalscheduler.vcproj:
14933 * win32/gstversion.h:
14935 * win32/testsuite/bins.vcproj:
14936 * win32/testsuite/bytestream.vcproj:
14937 * win32/testsuite/caps.vcproj:
14938 * win32/testsuite/cleanup.vcproj:
14939 * win32/testsuite/clock.vcproj:
14940 * win32/testsuite/debug.vcproj:
14941 * win32/testsuite/dlopen.vcproj:
14942 * win32/testsuite/dynparams.vcproj:
14943 * win32/testsuite/elements.vcproj:
14944 * win32/testsuite/ghostpads.vcproj:
14945 * win32/testsuite/indexers.vcproj:
14946 * win32/testsuite/negotiation.vcproj:
14947 * win32/testsuite/parse.vcproj:
14948 * win32/testsuite/plugin.vcproj:
14949 * win32/testsuite/refcounting.vcproj:
14950 * win32/testsuite/schedulers.vcproj:
14951 * win32/testsuite/states.vcproj:
14952 * win32/testsuite/tags.vcproj:
14953 * win32/testsuite/threads.vcproj:
14954 remove old win32 stuff that isn't maintained and should be
14957 2005-11-30 Andy Wingo <wingo@pobox.com>
14959 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14960 loading the gst.interfaces python module bork.
14962 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14963 available since GLib 2.2. Fixes #318031.
14965 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14968 * check/.cvsignore:
14969 * check/Makefile.am:
14970 * check/elements/.cvsignore:
14971 * check/elements/fakesrc.c:
14972 * check/elements/fdsrc.c:
14973 * check/elements/identity.c:
14974 * check/generic/.cvsignore:
14975 * check/generic/states.c:
14976 * check/gst-libs/.cvsignore:
14977 * check/gst-libs/controller.c:
14978 * check/gst-libs/gdp.c:
14979 * check/gst/.cvsignore:
14980 * check/gst/capslist.h:
14982 * check/gst/gstbin.c:
14983 * check/gst/gstbuffer.c:
14984 * check/gst/gstbus.c:
14985 * check/gst/gstcaps.c:
14986 * check/gst/gstelement.c:
14987 * check/gst/gstevent.c:
14988 * check/gst/gstghostpad.c:
14989 * check/gst/gstiterator.c:
14990 * check/gst/gstmessage.c:
14991 * check/gst/gstminiobject.c:
14992 * check/gst/gstobject.c:
14993 * check/gst/gstpad.c:
14994 * check/gst/gstpipeline.c:
14995 * check/gst/gstplugin.c:
14996 * check/gst/gstsegment.c:
14997 * check/gst/gststructure.c:
14998 * check/gst/gstsystemclock.c:
14999 * check/gst/gsttag.c:
15000 * check/gst/gstutils.c:
15001 * check/gst/gstvalue.c:
15002 * check/net/.cvsignore:
15003 * check/net/gstnetclientclock.c:
15004 * check/net/gstnettimeprovider.c:
15005 * check/pipelines/.cvsignore:
15006 * check/pipelines/cleanup.c:
15007 * check/pipelines/simple_launch_lines.c:
15008 * check/pipelines/stress.c:
15009 * check/states/.cvsignore:
15010 * check/states/sinks.c:
15012 * examples/Makefile.am:
15013 * examples/appreader/.cvsignore:
15014 * examples/appreader/Makefile.am:
15015 * examples/appreader/appreader.c:
15016 * examples/controller/.cvsignore:
15017 * examples/controller/Makefile.am:
15018 * examples/controller/audio-example.c:
15019 * examples/cutter/.cvsignore:
15020 * examples/cutter/Makefile.am:
15021 * examples/cutter/cutter.c:
15022 * examples/cutter/cutter.h:
15023 * examples/events/Makefile.am:
15024 * examples/events/seek.c:
15025 * examples/helloworld/.cvsignore:
15026 * examples/helloworld/Makefile.am:
15027 * examples/helloworld/helloworld.c:
15028 * examples/helloworld2/.cvsignore:
15029 * examples/helloworld2/Makefile.am:
15030 * examples/helloworld2/helloworld2.c:
15031 * examples/launch/.cvsignore:
15032 * examples/launch/Makefile.am:
15033 * examples/launch/mp3parselaunch.c:
15034 * examples/launch/mp3play:
15035 * examples/manual/.cvsignore:
15036 * examples/manual/Makefile.am:
15037 * examples/manual/extract.pl:
15038 * examples/metadata/Makefile.am:
15039 * examples/metadata/read-metadata.c:
15040 * examples/mixer/.cvsignore:
15041 * examples/mixer/Makefile.am:
15042 * examples/mixer/mixer.c:
15043 * examples/mixer/mixer.h:
15044 * examples/pingpong/.cvsignore:
15045 * examples/pingpong/Makefile.am:
15046 * examples/pingpong/pingpong.c:
15047 * examples/plugins/.cvsignore:
15048 * examples/plugins/Makefile.am:
15049 * examples/plugins/example.c:
15050 * examples/plugins/example.h:
15051 * examples/pwg/.cvsignore:
15052 * examples/pwg/Makefile.am:
15053 * examples/pwg/extract.pl:
15054 * examples/queue/.cvsignore:
15055 * examples/queue/Makefile.am:
15056 * examples/queue/queue.c:
15057 * examples/queue2/.cvsignore:
15058 * examples/queue2/Makefile.am:
15059 * examples/queue2/queue2.c:
15060 * examples/queue3/.cvsignore:
15061 * examples/queue3/Makefile.am:
15062 * examples/queue3/queue3.c:
15063 * examples/queue4/.cvsignore:
15064 * examples/queue4/Makefile.am:
15065 * examples/queue4/queue4.c:
15066 * examples/retag/.cvsignore:
15067 * examples/retag/Makefile.am:
15068 * examples/retag/retag.c:
15069 * examples/retag/transcode.c:
15070 * examples/thread/.cvsignore:
15071 * examples/thread/Makefile.am:
15072 * examples/thread/thread.c:
15073 * examples/typefind/.cvsignore:
15074 * examples/typefind/Makefile.am:
15075 * examples/typefind/typefind.c:
15076 * examples/xml/.cvsignore:
15077 * examples/xml/Makefile.am:
15078 * examples/xml/createxml.c:
15079 * examples/xml/runxml.c:
15080 * tests/Makefile.am:
15081 * tests/check/Makefile.am:
15082 * testsuite/.cvsignore:
15083 * testsuite/Makefile.am:
15085 * testsuite/caps/.cvsignore:
15086 * testsuite/caps/Makefile.am:
15087 * testsuite/caps/app_fixate.c:
15088 * testsuite/caps/audioscale.c:
15089 * testsuite/caps/caps.c:
15090 * testsuite/caps/caps.h:
15091 * testsuite/caps/caps_strings:
15092 * testsuite/caps/compatibility.c:
15093 * testsuite/caps/deserialize.c:
15094 * testsuite/caps/enumcaps.c:
15095 * testsuite/caps/eratosthenes.c:
15096 * testsuite/caps/filtercaps.c:
15097 * testsuite/caps/fixed.c:
15098 * testsuite/caps/fraction-convert.c:
15099 * testsuite/caps/fraction-multiply-and-zero.c:
15100 * testsuite/caps/intersect2.c:
15101 * testsuite/caps/intersection.c:
15102 * testsuite/caps/normalisation.c:
15103 * testsuite/caps/random.c:
15104 * testsuite/caps/renegotiate.c:
15105 * testsuite/caps/sets.c:
15106 * testsuite/caps/simplify.c:
15107 * testsuite/caps/string-conversions.c:
15108 * testsuite/caps/structure.c:
15109 * testsuite/caps/subtract.c:
15110 * testsuite/caps/union.c:
15111 * testsuite/debug/.cvsignore:
15112 * testsuite/debug/Makefile.am:
15113 * testsuite/debug/category.c:
15114 * testsuite/debug/commandline.c:
15115 * testsuite/debug/global.c:
15116 * testsuite/debug/output.c:
15117 * testsuite/debug/printf_extension.c:
15118 * testsuite/dlopen/.cvsignore:
15119 * testsuite/dlopen/Makefile.am:
15120 * testsuite/dlopen/dlopen_gst.c:
15121 * testsuite/dlopen/loadgst.c:
15122 * testsuite/elements/.cvsignore:
15123 * testsuite/elements/Makefile.am:
15124 * testsuite/elements/gst-inspect-check.in:
15125 * testsuite/elements/struct_i386.h:
15126 * testsuite/elements/struct_size.c:
15127 * testsuite/indexers/.cvsignore:
15128 * testsuite/indexers/Makefile.am:
15129 * testsuite/indexers/cache1.c:
15130 * testsuite/indexers/indexdump.c:
15131 * testsuite/parse/.cvsignore:
15132 * testsuite/parse/Makefile.am:
15133 * testsuite/parse/parse1.c:
15134 * testsuite/parse/parse2.c:
15135 * testsuite/plugin/.cvsignore:
15136 * testsuite/plugin/Makefile.am:
15137 * testsuite/plugin/README:
15138 * testsuite/plugin/dynamic.c:
15139 * testsuite/plugin/linked.c:
15140 * testsuite/plugin/loading.c:
15141 * testsuite/plugin/registry.c:
15142 * testsuite/plugin/static.c:
15143 * testsuite/plugin/static2.c:
15144 * testsuite/plugin/testplugin.c:
15145 * testsuite/plugin/testplugin2.c:
15146 * testsuite/plugin/testplugin2_s.c:
15147 * testsuite/plugin/testplugin_s.c:
15148 * testsuite/refcounting/.cvsignore:
15149 * testsuite/refcounting/Makefile.am:
15150 * testsuite/refcounting/bin.c:
15151 * testsuite/refcounting/element.c:
15152 * testsuite/refcounting/element_pad.c:
15153 * testsuite/refcounting/mainloop.c:
15154 * testsuite/refcounting/mem.c:
15155 * testsuite/refcounting/mem.h:
15156 * testsuite/refcounting/object.c:
15157 * testsuite/refcounting/pad.c:
15158 * testsuite/refcounting/sched.c:
15159 * testsuite/refcounting/thread.c:
15160 * testsuite/states/.cvsignore:
15161 * testsuite/states/Makefile.am:
15162 * testsuite/states/bin.c:
15163 * testsuite/states/locked.c:
15164 * testsuite/states/parent.c:
15165 * testsuite/threads/.cvsignore:
15166 * testsuite/threads/159566.c:
15167 * testsuite/threads/159852.c:
15168 * testsuite/threads/Makefile.am:
15169 * testsuite/threads/queue.c:
15170 * testsuite/threads/signals.c:
15171 * testsuite/threads/staticrec.c:
15172 * testsuite/threads/thread.c:
15173 * testsuite/threads/threadb.c:
15174 * testsuite/threads/threadc.c:
15175 * testsuite/threads/threadd.c:
15176 * testsuite/threads/threade.c:
15177 * testsuite/threads/threadf.c:
15178 * testsuite/threads/threadg.c:
15179 * testsuite/threads/threadh.c:
15180 * testsuite/threads/threadi.c:
15181 move all of these under tests
15183 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15186 * tests/Makefile.am:
15189 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15191 * docs/gst/gstreamer-sections.txt:
15192 * tests/sched/.cvsignore:
15193 * tests/sched/Makefile.am:
15194 * tests/sched/cases/(fs-fs).xml:
15195 * tests/sched/cases/(fs-i-fs).xml:
15196 * tests/sched/cases/(fs-i-i-fs).xml:
15197 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15198 * tests/sched/dynamic-pipeline.c:
15199 * tests/sched/interrupt1.c:
15200 * tests/sched/interrupt2.c:
15201 * tests/sched/interrupt3.c:
15202 * tests/sched/runtestcases:
15203 * tests/sched/runxml.c:
15204 * tests/sched/sched-stress.c:
15205 * tests/sched/sort.c:
15206 * tests/sched/testcases:
15207 * tests/sched/testcases1.tc:
15208 * tests/seeking/.cvsignore:
15209 * tests/seeking/Makefile.am:
15210 * tests/seeking/seeking1.c:
15211 * tests/threadstate/.cvsignore:
15212 * tests/threadstate/Makefile.am:
15213 * tests/threadstate/test1.c:
15214 * tests/threadstate/test2.c:
15215 * tests/threadstate/threadstate1.c:
15216 * tests/threadstate/threadstate2.c:
15217 * tests/threadstate/threadstate3.c:
15218 * tests/threadstate/threadstate4.c:
15219 * tests/threadstate/threadstate5.c:
15220 remove obsolete tests
15222 * tests/bench-complexity.scm:
15223 * tests/bench-mass_elements.scm:
15224 * tests/complexity.c:
15225 * tests/complexity.gnuplot:
15226 * tests/instantiate/.cvsignore:
15227 * tests/instantiate/Makefile.am:
15228 * tests/instantiate/caps.c:
15229 * tests/mass_elements.c:
15230 * tests/network-clock-utils.scm:
15231 * tests/network-clock.scm:
15233 First pass at cleaning up tests/ dir before moving the rest
15234 Combined with CVS surgery
15236 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15239 queue has moved, update
15241 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15243 * docs/gst/gstreamer-sections.txt:
15244 remove double entries from the docs
15245 * gst/gst_private.h:
15246 * gst/gstinfo.c: (_gst_debug_init):
15247 remove the THREAD debug category
15251 * docs/gst/gstreamer.types:
15252 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15253 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15254 completely move queue and fix up debugging categories
15256 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15258 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15259 make initialization portable, using LL is not
15261 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15263 * win32/common/gstconfig.h:
15266 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15268 * win32/common/libgstreamer.def:
15269 rename symbols; sort base section
15271 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15273 * gst/gstclock.c: (do_linear_regression):
15274 remove crack non-portable handrolled DEBUG macro
15276 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15278 * docs/random/release:
15280 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15281 (gst_object_flags_get_type), (register_gst_bin_flags),
15282 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15283 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15284 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15285 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15286 (gst_caps_flags_get_type), (register_gst_clock_return),
15287 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15288 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15289 (gst_clock_flags_get_type), (register_gst_state),
15290 (gst_state_get_type), (register_gst_state_change_return),
15291 (gst_state_change_return_get_type), (register_gst_state_change),
15292 (gst_state_change_get_type), (register_gst_element_flags),
15293 (gst_element_flags_get_type), (register_gst_core_error),
15294 (gst_core_error_get_type), (register_gst_library_error),
15295 (gst_library_error_get_type), (register_gst_resource_error),
15296 (gst_resource_error_get_type), (register_gst_stream_error),
15297 (gst_stream_error_get_type), (register_gst_event_type_flags),
15298 (gst_event_type_flags_get_type), (register_gst_event_type),
15299 (gst_event_type_get_type), (register_gst_seek_type),
15300 (gst_seek_type_get_type), (register_gst_seek_flags),
15301 (gst_seek_flags_get_type), (register_gst_format),
15302 (gst_format_get_type), (register_gst_index_certainty),
15303 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15304 (gst_index_entry_type_get_type),
15305 (register_gst_index_lookup_method),
15306 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15307 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15308 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15309 (gst_index_flags_get_type), (register_gst_debug_level),
15310 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15311 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15312 (gst_iterator_result_get_type), (register_gst_iterator_item),
15313 (gst_iterator_item_get_type), (register_gst_message_type),
15314 (gst_message_type_get_type), (register_gst_mini_object_flags),
15315 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15316 (gst_pad_link_return_get_type), (register_gst_flow_return),
15317 (gst_flow_return_get_type), (register_gst_activate_mode),
15318 (gst_activate_mode_get_type), (register_gst_pad_direction),
15319 (gst_pad_direction_get_type), (register_gst_pad_flags),
15320 (gst_pad_flags_get_type), (register_gst_pad_presence),
15321 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15322 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15323 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15324 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15325 (gst_plugin_flags_get_type), (register_gst_rank),
15326 (gst_rank_get_type), (register_gst_query_type),
15327 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15328 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15329 (gst_tag_flag_get_type), (register_gst_task_state),
15330 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15331 (gst_alloc_trace_flags_get_type),
15332 (register_gst_type_find_probability),
15333 (gst_type_find_probability_get_type), (register_gst_uri_type),
15334 (gst_uri_type_get_type), (register_gst_parse_error),
15335 (gst_parse_error_get_type):
15336 * win32/common/gstenumtypes.h:
15337 * win32/common/gstversion.h:
15338 update visual studio generated files
15340 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15342 * win32/vs6/libgstbase.dsp:
15343 * win32/vs6/libgstelements.dsp:
15344 update project files for new locations
15346 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15351 reinstate and update
15356 * docs/random/LICENSE:
15359 2005-11-30 Edward Hervey <edward@fluendo.com>
15361 * gst/gsttypefind.c: (gst_type_find_register):
15362 * gst/gsttypefind.h:
15363 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15364 (gst_type_find_factory_dispose):
15365 * gst/gsttypefindfactory.h:
15366 Fix memory leak in GstTypeFindFactory.
15368 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15371 * plugins/elements/Makefile.am:
15372 * plugins/elements/gstelements.c:
15373 * plugins/elements/gstqueue.c:
15374 move queue from core to the elements plugin
15376 2005-11-29 Andy Wingo <wingo@pobox.com>
15378 * libs/gst/base/gstbasetransform.h:
15379 * libs/gst/base/gstbasesrc.h:
15380 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15382 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15383 of pointers by which to pad very extensible base classes (like the
15384 ones in libs/gst/base).
15386 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15388 * docs/gst/gstreamer-docs.sgml:
15389 * docs/gst/gstreamer-sections.txt:
15390 * docs/libs/gstreamer-libs-docs.sgml:
15391 * docs/libs/gstreamer-libs-sections.txt:
15392 moving documentation from core to lib
15394 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15396 * check/Makefile.am:
15398 * docs/gst/Makefile.am:
15400 * gst/base/.cvsignore:
15401 * gst/base/Makefile.am:
15403 * gst/base/gstadapter.c:
15404 * gst/base/gstadapter.h:
15405 * gst/base/gstbasesink.c:
15406 * gst/base/gstbasesink.h:
15407 * gst/base/gstbasesrc.c:
15408 * gst/base/gstbasesrc.h:
15409 * gst/base/gstbasetransform.c:
15410 * gst/base/gstbasetransform.h:
15411 * gst/base/gstcollectpads.c:
15412 * gst/base/gstcollectpads.h:
15413 * gst/base/gstpushsrc.c:
15414 * gst/base/gstpushsrc.h:
15415 * gst/base/gsttypefindhelper.c:
15416 * gst/base/gsttypefindhelper.h:
15417 * gst/check/Makefile.am:
15418 * gst/check/gstcheck.c:
15419 * gst/check/gstcheck.h:
15420 * gst/net/Makefile.am:
15421 * gst/net/gstnet.h:
15422 * gst/net/gstnetclientclock.c:
15423 * gst/net/gstnetclientclock.h:
15424 * gst/net/gstnettimepacket.c:
15425 * gst/net/gstnettimepacket.h:
15426 * gst/net/gstnettimeprovider.c:
15427 * gst/net/gstnettimeprovider.h:
15428 * libs/gst/Makefile.am:
15429 * libs/gst/base/Makefile.am:
15430 * libs/gst/base/gstbasetransform.c:
15431 * libs/gst/check/Makefile.am:
15432 * plugins/elements/Makefile.am:
15434 CVS surgery + support to move base, check, and net out of gst
15437 2005-11-29 Andy Wingo <wingo@pobox.com>
15439 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15441 * gst/gststructure.h (struct _GstStructure): Only one pointer of
15444 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15446 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15448 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15450 * gst/gstobject.h: (struct _GstObject): Only one pointer of
15451 padding; reduces object size by about 30%. We don't expect
15452 anything else to go into gstobject.
15454 * gst/gstminiobject.h (struct _GstMiniObject)
15455 (struct _GstMiniObjectClass): Only one pointer of padding; the
15456 payload is only a pointer and two ints anyway. For the class there
15457 are only two methods as well.
15459 * gst/gstelement.h (struct _GstElementClass): Removed
15460 the state_changed signal callback, it is not used.
15462 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15464 * docs/gst/gstreamer.types:
15465 fix includes, though they are a little dinky
15467 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15469 * check/Makefile.am:
15470 look in the right place for elements, a lot more chance of
15473 remove indexers and elements subdirs
15474 * plugins/Makefile.am:
15475 make indexers conditional
15477 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15481 * plugins/elements/Makefile.am:
15482 * plugins/elements/gstcapsfilter.c:
15483 * plugins/elements/gstfilesink.c:
15484 * plugins/elements/gstfilesrc.c:
15485 * plugins/elements/gstidentity.c:
15486 * plugins/indexers/Makefile.am:
15487 do CVS surgery and related build fixery to move elements
15488 and indexers in a new gstreamer/plugins directory, out of the
15491 2005-11-29 Andy Wingo <wingo@pobox.com>
15493 * check/Makefile.am:
15494 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15495 * pkgconfig/gstreamer-net.pc.in:
15496 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15499 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15501 * tools/Makefile.am:
15502 * tools/gst-complete.1.in:
15503 * tools/gst-complete.c:
15504 * tools/gst-compprep.1.in:
15505 * tools/gst-compprep.c:
15506 removing -compprep and -complete
15508 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15510 * gst/gstevent.c: (gst_event_new_new_segment),
15511 (gst_event_parse_new_segment):
15513 fix #320529 - clean up new_segment API and structure.
15514 Let's hope everyone was using the methods, and not the structure.
15516 2005-11-29 Edward Hervey <edward@fluendo.com>
15518 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15519 (gst_base_sink_event), (gst_base_sink_do_sync),
15520 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15521 Properly handle non GST_FORMAT_TIME segment
15522 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15523 Properly handle non GST_FORMAT_TIME segment
15524 * gst/gstsegment.c:
15525 This function is valid if the accumulator is 0 and the format
15526 is different from the requested format.
15528 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15530 * docs/gst/gstreamer-sections.txt:
15531 Add gst_query_new_seeking and gst_query_parse_seeking to the
15534 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15536 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15537 Treat a pad alloc with new caps the same as if we were not
15538 negotiated, in order to allow a changing upstream output
15539 to produce a new format of data.
15541 2005-11-29 Edward Hervey <edward@fluendo.com>
15543 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15544 (gst_base_transform_event), (gst_base_transform_eventfunc):
15545 The event virtual method is now properly implemented, with a default
15547 Sub classes should call the parent_class event method. They should
15548 return FALSE if they had a problem handling the given event, or don't
15549 want GstBaseTransform to send that even downstream
15550 * gst/elements/gstidentity.c: (gst_identity_class_init),
15551 (gst_identity_init), (gst_identity_event),
15552 (gst_identity_transform_ip), (gst_identity_set_property),
15553 (gst_identity_get_property):
15554 * gst/elements/gstidentity.h:
15555 Added the single-segment boolean property.
15556 If set to TRUE, it will output a single segment of data, starting from
15557 0, will eat up all incoming newsegment, and modify the timestamp of the
15558 buffers accordingly
15560 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
15562 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15563 Don't ref NULL target pad (#322751). Improve docs.
15565 2005-11-29 Michael Smith <msmith@fluendo.com>
15567 * gst/gstregistryxml.c: (load_plugin):
15568 Don't crash if we failed to load a feature from a plugin.
15570 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15572 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15574 use more check API and less GLib API
15576 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15579 don't run checks if we don't have check
15580 * common/check.mak:
15581 remove the registry when running make torture
15582 * docs/gst/gstreamer-sections.txt:
15583 remove second multiply
15584 * gst/gstqueue.c: (gst_queue_loop):
15585 fix a compile warning when disabling debug
15587 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15590 Hey! Let's print the pad name if the pointer != NULL instead
15591 of when it == NULL :-)
15593 2005-11-28 Wim Taymans <wim@fluendo.com>
15595 * check/gst/gstutils.c: (GST_START_TEST):
15596 Updated check, add some scaling accuracy checking code.
15598 * gst/gstutils.c: (gst_util_div128_64),
15599 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15600 (gst_util_uint64_scale_int):
15601 Fix 6 times faster division code. Optimize for common
15602 1/1 and less common X/1 cases.
15604 2005-11-28 Wim Taymans <wim@fluendo.com>
15606 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15609 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15610 (do_linear_regression), (gst_clock_add_observation):
15612 Release lock when the clock cannot be slaved.
15613 Catch the case where the regression returned an invalid denominator.
15615 * gst/gstutils.c: (gst_util_div128_64_iterate),
15616 (gst_util_div128_64), (gst_util_uint64_scale_int64),
15617 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15618 Add protentially more performant non-iterative 128/64 divide function
15619 that unfortunatly does not work yet.
15620 Shortcut the trivial 0/X = 0 case.
15621 Remove the warnings on overflow.
15623 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15625 * gst/gstplugin.c: (gst_plugin_register_func):
15626 everything causing a plugin not to load should be at least a WARNING
15628 2005-11-28 Stefan Kost <ensonic@users.sf.net>
15630 * docs/random/ensonic/dparams.txt:
15631 some TODOs for the next dev cycle
15632 * libs/gst/controller/gstcontroller.c:
15633 (gst_controlled_property_set_interpolation_mode),
15634 (gst_controlled_property_new):
15635 * libs/gst/controller/gstcontroller.h:
15636 use base type to assign acccessor functions
15638 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15640 * check/Makefile.am:
15641 Oops, that should have been top_srcdir
15643 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15645 * check/Makefile.am:
15646 * check/elements/fdsrc.c: (GST_START_TEST):
15647 Use a cmdline define to specify the location of a file to use for
15648 testing, to avoid breaking distcheck.
15650 2005-11-28 Andy Wingo <wingo@pobox.com>
15652 * gst/gstpad.c (fixate_value): Use array functions for arrays.
15654 2005-11-28 Edward Hervey <edward@fluendo.com>
15656 * tools/gst-launch.c: (main):
15657 Clarify the output strings, makes it easier to translate.
15660 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15663 don't try and build net if we don't even have <sys/socket.h>
15665 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15667 * check/Makefile.am:
15668 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15669 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15670 Add tests for fdsrc seekability
15672 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15673 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15674 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15675 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15676 * gst/elements/gstfdsrc.h:
15677 fdsrc should not be a 'live' source.
15678 Implement seeking on seekable fd's.
15680 * gst/gstquery.c: (gst_query_new_seeking),
15681 (gst_query_parse_seeking):
15683 Implement SEEKING query functions:
15684 *_new_seeking and *_parse_seeking
15686 2005-11-27 Stefan Kost <ensonic@users.sf.net>
15688 * gst/gstelement.c: (gst_element_dispose):
15691 * gst/gstiterator.c:
15692 * gst/gststructure.c:
15695 * libs/gst/controller/gstcontroller.c:
15696 (gst_controlled_property_set_interpolation_mode):
15697 * libs/gst/controller/gstcontroller.h:
15698 * libs/gst/controller/gstinterpolation.c:
15699 (interpolate_none_get_enum_value_array):
15700 support controlling enums
15702 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15705 Improve documentation for gst_value_union().
15708 Change return value for union, intersect and subtract functions
15709 from gint to gboolean.
15711 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15713 * gst/gstvalue.c: (gst_value_serialize_any_list),
15714 (gst_value_transform_any_list_string),
15715 (gst_value_deserialize_list), (gst_value_deserialize_array),
15716 (gst_value_set_int_range), (gst_value_deserialize_int_range),
15717 (gst_value_set_double_range), (gst_value_deserialize_double_range),
15718 (gst_value_set_fraction_range_full),
15719 (gst_value_deserialize_fraction_range),
15720 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15721 (gst_value_deserialize_boolean),
15722 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15723 (gst_value_serialize_float), (gst_value_deserialize_float),
15724 (gst_string_wrap), (gst_value_deserialize_string),
15725 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15726 (gst_value_union_int_range_int_range),
15727 (gst_value_intersect_int_range_int_range),
15728 (gst_value_intersect_double_range_double_range),
15729 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15730 (gst_value_subtract_int_range_int_range),
15731 (gst_value_subtract_double_double_range),
15732 (gst_value_subtract_double_range_double_range),
15733 (gst_value_deserialize_fraction):
15735 Use gint, gdouble and gchar in our API instead of int, double and
15736 char (and make usage in gstvalue.c more consistent).
15738 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15740 * check/Makefile.am:
15741 * libs/gst/controller/Makefile.am:
15742 * libs/gst/dataprotocol/Makefile.am:
15743 fix up Makefile.am and remove GST_ENABLE_NEW
15745 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15749 * gst/base/Makefile.am:
15750 * gst/check/Makefile.am:
15751 * gst/elements/Makefile.am:
15752 * gst/net/Makefile.am:
15753 update LDFLAGS use some more
15755 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15757 * common/m4/gst-doc.m4:
15760 2005-11-26 Edward Hervey <edward@fluendo.com>
15762 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15763 This shouldn't issue a g_warning since it returns NULL if it
15764 couldn't find the plugin, and all functions using this behave
15765 properly on a NULL return. Switching to a GST_WARNING.
15767 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
15769 * gst/gstbin.c: (gst_bin_handle_message_func):
15770 Don't leak clock messages.
15772 2005-11-25 Wim Taymans <wim@fluendo.com>
15774 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15775 (gst_util_uint64_scale_int):
15776 Optimisations, remove unneeded vars.
15778 2005-11-25 Wim Taymans <wim@fluendo.com>
15780 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15781 Added more checks for the high precision uint64 cases.
15783 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15784 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15785 Implement high precision (guint64 * guint64) / guint64.
15787 2005-11-24 Wim Taymans <wim@fluendo.com>
15789 * gst/base/gstbasesrc.c: (gst_base_src_query):
15790 Fix wrong percentage query.
15792 * gst/gstutils.c: (gst_util_uint64_scale),
15793 (gst_util_uint64_scale_int):
15794 Add some more common cases that can be handled
15795 efficiently to _scale.
15797 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15799 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15800 (gst_mini_object_suite):
15801 don't use check calls from threads; check probably isn't
15802 threadsafe and using a lock to make it threadsafe would
15803 defeat the purpose of this check
15804 * gst/check/gstcheck.c:
15805 * gst/check/gstcheck.h:
15806 use GST_DEBUG some more
15808 2005-11-24 Wim Taymans <wim@fluendo.com>
15810 * gst/gstutils.c: (gst_util_uint64_scale),
15811 (gst_util_uint64_scale_int):
15812 Chain trivial case to _scale_int.
15814 2005-11-24 Wim Taymans <wim@fluendo.com>
15816 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15817 Added test for scaling.
15822 * gst/gstutils.c: (gst_util_uint64_scale_int):
15823 Implemented high precision scaling code.
15825 2005-11-24 Stefan Kost <ensonic@users.sf.net>
15828 do not crash on pad==NULL
15830 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15832 Patch by: Stefan Kost
15834 * common/gtk-doc.mak:
15835 * docs/gst/Makefile.am:
15836 * docs/libs/Makefile.am:
15837 Fix distcheck issues for the libraries docs build
15840 2005-11-24 Michael Smith <msmith@fluendo.com>
15842 * docs/manual/basics-helloworld.xml:
15843 Fix bug #315027: memory leak in example code in docs.
15845 2005-11-24 Michael Smith <msmith@fluendo.com>
15847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15848 Unlock the PREROLL_LOCK in a failure case.
15850 2005-11-24 Wim Taymans <wim@fluendo.com>
15852 * docs/gst/gstreamer-sections.txt:
15853 * gst/base/gstadapter.h:
15854 * gst/base/gstbasesink.h:
15855 * gst/base/gstbasesrc.h:
15856 * gst/base/gstbasetransform.h:
15857 * gst/base/gstpushsrc.h:
15858 * gst/elements/gstfakesink.h:
15859 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15860 * gst/elements/gstfakesrc.h:
15861 * gst/elements/gstfilesink.h:
15862 * gst/elements/gstfilesrc.h:
15865 * gst/gstbuffer.c: (_gst_buffer_copy):
15868 * gst/gstchildproxy.c:
15870 * gst/gstelement.c:
15871 * gst/gstelementfactory.c:
15872 * gst/gstelementfactory.h:
15874 * gst/gstghostpad.h:
15876 * gst/gstinterface.h:
15877 * gst/gstminiobject.c:
15878 * gst/gstminiobject.h:
15881 * gst/gstpadtemplate.h:
15882 * gst/gstpipeline.h:
15883 * gst/gstpluginfeature.h:
15886 * gst/gsttaglist.c:
15887 * gst/gsttaglist.h:
15888 * gst/gsttagsetter.c:
15889 * gst/gsttagsetter.h:
15892 * gst/gsttypefind.h:
15895 * gst/net/gstnetclientclock.c:
15896 * gst/net/gstnetclientclock.h:
15897 * gst/net/gstnettimepacket.c:
15898 * gst/net/gstnettimeprovider.c:
15899 * gst/net/gstnettimeprovider.h:
15902 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15904 * configure.ac: back to HEAD
15906 === release 0.9.6 ===
15908 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15911 releasing 0.9.6, "Always On Time"
15913 2005-11-23 Wim Taymans <wim@fluendo.com>
15915 * docs/gst/gstreamer-sections.txt:
15916 * gst/glib-compat.c:
15917 * gst/gsttagsetter.c:
15919 * gst/net/gstnetclientclock.c:
15920 * gst/net/gstnettimepacket.h:
15923 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15925 * docs/faq/using.xml:
15926 * docs/libs/tmpl/gstcontrol.sgml:
15927 * docs/manual/advanced-dparams.xml:
15928 * docs/manual/appendix-checklist.xml:
15929 * docs/manual/basics-elements.xml:
15930 * docs/pwg/other-source.xml:
15931 * docs/random/moving-plugins:
15933 * tools/gst-launch.1.in:
15934 remove mentions of sinesrc
15936 2005-11-23 Michael Smith <msmith@fluendo.com>
15938 * docs/gst/gstreamer-sections.txt:
15939 Update for new API and API changes.
15941 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15943 Documentation typo fix.
15944 * gst/net/gstnettimepacket.c:
15945 Documentation fixes for arguments.
15947 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
15949 * gst/gststructure.c: (gst_structure_get_fraction),
15950 (gst_structure_parse_value),
15951 (gst_structure_fixate_field_nearest_fraction):
15952 * gst/gststructure.h:
15953 * gst/gstutils.c: (gst_util_uint64_scale_int):
15955 * scripts/update-funcnames:
15957 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15958 Make gst_structure_fixate_field_nearest_fraction take a numerator
15959 and denominator argument instead of a GValue
15960 add gst_structure_get_fraction helper function.
15962 2005-11-23 Wim Taymans <wim@fluendo.com>
15964 * docs/design/part-TODO.txt:
15967 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15968 * gst/net/gstnetclientclock.h:
15969 Use parent fields for timeout and window_size.
15971 2005-11-23 Andy Wingo <wingo@pobox.com>
15973 * check/net/gstnetclientclock.c (test_functioning): Adjust to
15974 rate_num/rate_denom change.
15976 * gst/net/gstnetclientclock.c
15977 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15978 OBJECT_LOCK. Don't call add_observation with the lock.
15980 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15982 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15984 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15985 deal with rate as a fraction whose numerator and denominator are
15986 GstClockTime values.
15987 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15988 master; the other fields are protected by the SLAVE_LOCK.
15989 (do_linear_regression): Note that this must be called with the
15991 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15992 OBJECT_LOCK. Call set_calibration instead of touching the
15993 variables directly.
15994 (gst_clock_set_property, gst_clock_get_property): Protect
15995 master/slave parameters with the SLAVE_LOCK.
15997 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15998 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15999 note that all of the instance variables that add_observation and
16000 the set_master functions use are protected by that lock and not
16002 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16004 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16005 the caller to take the object lock.
16007 2005-11-23 Wim Taymans <wim@fluendo.com>
16009 * gst/gsterror.c: (_gst_core_errors_init):
16011 Add error for clock stuff.
16013 * gst/gstpipeline.c: (gst_pipeline_change_state),
16014 (gst_pipeline_set_clock):
16015 Post clock error when clock cannot be used in a pipeline.
16017 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16019 * docs/gst/gstreamer-sections.txt:
16020 make two symbols from gstinfo private for the docs
16021 * gst/base/gstcollectpads.h:
16023 fix doc typos, update docs
16025 2005-11-22 Wim Taymans <wim@fluendo.com>
16027 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16028 (gst_base_sink_wait), (gst_base_sink_do_sync),
16029 (gst_base_sink_handle_event):
16030 * gst/base/gstbasesink.h:
16031 No need to store the clock, the parent element class already
16034 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16035 Updates for clock_set returning a gboolean
16037 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16038 (gst_clock_id_wait_async), (gst_clock_class_init),
16039 (gst_clock_init), (gst_clock_finalize),
16040 (gst_clock_get_internal_time), (gst_clock_get_time),
16041 (gst_clock_slave_callback), (gst_clock_set_master),
16042 (gst_clock_get_master), (do_linear_regression),
16043 (gst_clock_add_observation), (gst_clock_set_property),
16044 (gst_clock_get_property):
16046 Implement master/slave. When setting a clock as a slave, a
16047 periodic timeout is scheduled to sample master and slave times.
16048 Then the slave clock is recalibrated to match offset and rate
16049 of the master clock.
16050 Update logging a bit.
16051 Add flag so that a clock can state that is cannot be slaved to
16054 * gst/gstelement.c: (gst_element_set_clock):
16055 * gst/gstelement.h:
16056 The set clock returns a gboolean for when an element cannot
16057 deal with the selected clock in the pipeline.
16059 * gst/gstpipeline.c: (gst_pipeline_change_state),
16060 (gst_pipeline_set_clock):
16061 * gst/gstpipeline.h:
16062 Handle the case where the selected clock cannot be set on
16065 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16066 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16067 (gst_net_client_clock_set_property),
16068 (gst_net_client_clock_get_property),
16069 (gst_net_client_clock_observe_times):
16070 * gst/net/gstnetclientclock.h:
16071 Use regression code in GstClock parent, remove duplicated
16074 2005-11-22 Michael Smith <msmith@fluendo.com>
16076 * gst/gstutils.c: (gst_util_clock_time_scale):
16078 * docs/gst/gstreamer-sections.txt:
16079 Rename method to have extra underscore.
16081 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * gst/elements/Makefile.am:
16084 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16085 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16086 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16087 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16088 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16089 * gst/elements/gstfakesrc.h:
16090 * gst/gstqueue.c: (queue_leaky_get_type):
16091 correctly fix GEnumValues so that nick is the short lowercase
16093 * tools/gst-inspect.c: (print_element_properties_info):
16094 also show the nick, since it's useful to use from parse_launch
16098 2005-11-22 Michael Smith <msmith@fluendo.com>
16100 * gst/gstutils.c: (gst_util_clocktime_scale):
16102 * docs/gst/gstreamer-sections.txt:
16103 Add util method for scaling a clocktime by a fraction. Useful
16104 implementation is left as an exercise for the reader.
16106 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16108 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16109 If needed, allocate storage in the destination value during
16112 2005-11-22 Edward Hervey <edward@fluendo.com>
16114 * docs/gst/gstreamer-sections.txt:
16117 * gst/gsturitype.c:
16118 * gst/gsturitype.h:
16119 * gst/gstutils.c: (gst_util_set_object_arg):
16120 * tools/gst-compprep.c: (main):
16121 * tools/gst-inspect.c: (print_element_properties_info):
16122 Removed GstURI, closes bug #321061
16124 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16126 * check/gst/gststructure.c: (GST_START_TEST):
16127 * gst/gststructure.c: (gst_structure_parse_value):
16128 Oops, broke automatic string type parsing.
16129 Add a test to catch it in future.
16131 2005-11-22 Andy Wingo <wingo@pobox.com>
16133 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16134 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16135 Actually rename the function implementations. Grr.
16137 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16139 * check/gst/capslist.h:
16141 * check/gst/gststructure.c: (GST_START_TEST),
16142 (gst_structure_suite):
16143 Test automatic value type detection in gst_structure_from_string.
16144 * gst/gststructure.c: (gst_structure_parse_value):
16145 Add fraction as a type we try and guess automatically in
16146 caps/structure strings.
16148 2005-11-22 Andy Wingo <wingo@pobox.com>
16150 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16152 * gst/gsttagsetter.h:
16153 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16154 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16155 (gst_tag_setter_add_tag_valist)
16156 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16157 _add_values, _add_valist, and _add_valist_values. Since this is an
16158 interface the function suffixes should be more explicit so
16159 language binding don't end up with element.add_valist ->
16160 gst_tag_setter_add_valist, for example. Fixes #322069.
16162 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16164 * check/gst/gstcaps.c: (GST_START_TEST):
16165 Extend caps string tests to check that a caps to string
16166 conversion is reversible and produces the same caps.
16168 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16169 Output "fraction" as the generic type fraction range, so caps
16170 serialisation and deserialisation works.
16171 * check/gst/capslist.h:
16172 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16173 Support 'MIN' and 'MAX' for deserialising fractions.
16175 2005-11-22 Andy Wingo <wingo@pobox.com>
16177 * gst/gstevent.h (gst_event_new_new_segment)
16178 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16179 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16180 Renamed from *_newsegment, *_buffersize, *_notarget.
16182 * scripts/update-funcnames: New script, performs the changes
16185 2005-11-22 Wim Taymans <wim@fluendo.com>
16187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16188 Make sure the GstFlowReturn is returned.
16190 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16191 (gst_bus_add_signal_watch):
16193 add gst_bus_add_signal_watch_full.
16195 * gst/gstplugin.c: (gst_plugin_load_file):
16196 Small style cleanup.
16198 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16200 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16201 Block the fakesrc srcpad when we send an event, to avoid
16202 contention on the stream_lock causing random test failures.
16204 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16206 * check/gst/gstvalue.c: (GST_START_TEST):
16207 * gst/gstvalue.c: (gst_value_fraction_subtract):
16210 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16213 include "gstchildproxy.h"
16214 * gst/gstchildproxy.h:
16215 * libs/gst/controller/gstcontroller.h:
16216 use G_GNUC_NULL_TERMINATED
16218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16220 * check/gst/capslist.h:
16221 * check/gst/gstcaps.c: (GST_START_TEST):
16222 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16223 * gst/gststructure.c: (gst_structure_parse_range),
16224 (gst_structure_fixate_field_nearest_fraction):
16225 * gst/gststructure.h:
16226 * gst/gstvalue.c: (gst_value_init_fraction_range),
16227 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16228 (gst_value_collect_fraction_range),
16229 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16230 (gst_value_set_fraction_range_full),
16231 (gst_value_get_fraction_range_min),
16232 (gst_value_get_fraction_range_max),
16233 (gst_value_serialize_fraction_range),
16234 (gst_value_transform_fraction_range_string),
16235 (gst_value_compare_fraction_range),
16236 (gst_value_deserialize_fraction_range),
16237 (gst_value_intersect_fraction_fraction_range),
16238 (gst_value_intersect_fraction_range_fraction_range),
16239 (gst_value_subtract_fraction_fraction_range),
16240 (gst_value_subtract_fraction_range_fraction),
16241 (gst_value_subtract_fraction_range_fraction_range),
16242 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16243 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16244 (gst_value_transform_string_fraction), (_gst_value_initialize):
16246 Implement fraction ranges and extend GstFraction to support
16247 arithmetic subtraction, as well as deserialization from integer
16248 strings such as "100"
16249 Add a testsuite as for int and double range set operations
16251 2005-11-21 Andy Wingo <wingo@pobox.com>
16253 * gst/gsttaglist.h:
16255 * gst/gststructure.h: Add glib-compat.h.
16257 2005-11-21 Wim Taymans <wim@fluendo.com>
16259 * gst/gstbin.c: (gst_bin_change_state_func):
16262 2005-11-21 Wim Taymans <wim@fluendo.com>
16264 * gst/gstsegment.h:
16265 And add a nice define too.
16267 2005-11-21 Wim Taymans <wim@fluendo.com>
16269 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16270 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16271 (gst_segment_set_duration), (gst_segment_set_last_stop),
16272 (gst_segment_set_seek), (gst_segment_set_newsegment),
16273 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16274 (gst_segment_clip):
16275 * gst/gstsegment.h:
16276 Make binding friendly.
16278 2005-11-21 Andy Wingo <wingo@pobox.com>
16280 * gst/gsttagsetter.h:
16281 * gst/gsttaglist.h:
16282 * gst/gststructure.h:
16284 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16287 * gst/gsterror.c (_gst_core_errors_init):
16288 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16291 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16292 (noinst_HEADERS): noinst the -private.
16294 2005-11-21 Michael Smith <msmith@fluendo.com>
16297 * gst/gstregistry.h:
16298 Remove unimplemented declarations for which we can see no sensible
16301 2005-11-21 Andy Wingo <wingo@pobox.com>
16303 * gst/gst.h: Include glib-compat.h.
16305 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16307 * gst/glib-compat.c: Include the public and the private header.
16309 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16313 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16315 * check/gst/gstevent.c (create_custom_events): Check that
16316 FLUSH_STOP is serialized.
16318 * check/elements/identity.c (event_func):
16319 * check/elements/fakesrc.c (event_func): No stream lock, the core
16322 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16323 stream lock taking, yay.
16325 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16326 ensure that core takes the stream lock.
16328 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16331 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16332 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16333 it already. For the flush start we do take it though so we get the
16334 right preroll state change messages.
16336 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16337 the stream lock here, the core does it for us.
16339 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16340 GST_STREAM_GET_LOCK.
16341 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16342 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16343 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16344 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16345 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16346 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16348 * gst/gstpad.c: Update for stream lock name change.
16350 * gst/base/gstbasesink.c: Update for preroll lock name change.
16352 2005-11-21 Wim Taymans <wim@fluendo.com>
16354 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16355 (gst_clock_get_master):
16357 * gst/gstsystemclock.c: (gst_system_clock_init):
16358 Convert Clock flags to object flags.
16359 Added methods to manage master/slave clocks.
16361 2005-11-21 Wim Taymans <wim@fluendo.com>
16363 * check/gst/gstsegment.c: (GST_START_TEST):
16364 * docs/design/part-TODO.txt:
16365 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16366 (gst_base_sink_event), (gst_base_sink_do_sync),
16367 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16368 (gst_base_sink_query), (gst_base_sink_change_state):
16369 * gst/base/gstbasesink.h:
16370 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16371 (gst_base_src_default_newsegment),
16372 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16373 (gst_base_src_get_range), (gst_base_src_loop),
16374 (gst_base_src_change_state):
16375 * gst/base/gstbasesrc.h:
16376 * gst/base/gstbasetransform.c:
16377 (gst_base_transform_prepare_output_buf),
16378 (gst_base_transform_event), (gst_base_transform_change_state):
16379 * gst/base/gstbasetransform.h:
16380 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16381 (gst_collect_pads_event):
16382 * gst/base/gstcollectpads.h:
16383 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16384 (gst_fake_src_create):
16385 * gst/elements/gstfakesrc.h:
16386 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16387 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16388 (gst_segment_set_last_stop), (gst_segment_set_seek),
16389 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16390 (gst_segment_to_running_time), (gst_segment_clip):
16391 * gst/gstsegment.h:
16392 More segment updates, replace code in plugins with segment
16395 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16397 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16398 Don't ignore sscanf results
16400 2005-11-21 Andy Wingo <wingo@pobox.com>
16402 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16405 * *.c: Ran scripts/update-macros. Oh yes.
16407 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16408 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16411 * scripts/update-macros: New script. Run it on your files to
16412 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16415 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16417 * docs/gst/Makefile.am:
16418 * docs/gst/gstreamer-docs.sgml:
16419 * docs/gst/gstreamer-sections.txt:
16420 * docs/gst/gstreamer.types:
16422 more docs fixes, add new api to the docs
16424 2005-11-21 Andy Wingo <wingo@pobox.com>
16426 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16427 state_broadcast call.
16429 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16431 2005-11-21 Julien MOUTTE <julien@moutte.net>
16433 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16434 function calls for arrays.
16436 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16438 * docs/random/ensonic/media-device-daemon.txt:
16439 wild idea, can this be done?
16440 * docs/gst/gstreamer-sections.txt:
16445 * gst/gstpluginfeature.c:
16449 doc fixes and additions
16451 2005-11-21 Andy Wingo <wingo@pobox.com>
16453 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
16454 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
16455 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
16456 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16457 private to the basesrc implementation.
16459 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16460 behalf of event function if necessary. It should no longer be
16461 necessary to take the stream lock in pad's event functions. Fixes
16464 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16465 * docs/gst/gstreamer-sections.txt:
16466 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16467 (gst_structure_fixate_field_nearest_double),
16468 (gst_structure_fixate_field_boolean):
16469 * gst/gststructure.h:
16470 * win32/common/libgstreamer.def:
16471 * win32/gstreamer.def:
16473 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16476 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16478 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16479 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16480 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16481 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16482 (gst_fdsrc_uri_handler_init):
16483 * gst/elements/gstfdsrc.h:
16484 Port fd:// URI handler from 0.8 to fdsrc
16486 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16488 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16489 (gst_value_serialize_fourcc):
16491 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16492 consistent with our other format defines (#320324).
16494 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16496 * gst/gstvalue.c: (gst_value_is_fixed):
16497 Revert previous commit. Value lists are by definition
16498 not fixed, as they are a list of possible values.
16500 2005-11-21 Andy Wingo <wingo@pobox.com>
16502 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16503 during the stable series if we need it. Fixes #319178.
16505 * gst/gstevent.c (gst_event_new_filler): Removed.
16507 * check/gst/gstevent.c: Update comment about filler events.
16509 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16511 * gst/gstvalue.c: (gst_value_is_fixed):
16512 Should handle both value arrays and value lists.
16514 2005-11-21 Andy Wingo <wingo@pobox.com>
16516 patch by: Alessandro Dessina <alessandro nnva org>
16518 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16519 functions to access arrays. Fixes #321962.
16521 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16523 * docs/gst/gstreamer.types:
16524 gst_collectpads_get_type => gst_collect_pads_get_type.
16526 * gst/base/gstbasetransform.c:
16527 Remove unused SIGNAL_HANDOFF enum.
16529 2005-11-21 Andy Wingo <wingo@pobox.com>
16531 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16532 the event type (upstream, downstream, serialized). Renamed
16533 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16534 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16535 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16537 * gst/gstevent.c: Update for new CUSTOM event names.
16539 * check/gst/gstevent.c: Update check for new CUSTOM event names.
16542 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16545 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16547 * docs/gst/gstreamer-sections.txt:
16548 * win32/common/libgstbase.def:
16549 * win32/libgstbase.def:
16550 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16551 (gst_collect_pads_class_init), (gst_collect_pads_init),
16552 (gst_collect_pads_finalize), (gst_collect_pads_new),
16553 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16554 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16555 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16556 (gst_collect_pads_start), (gst_collect_pads_stop),
16557 (gst_collect_pads_peek), (gst_collect_pads_pop),
16558 (gst_collect_pads_available), (gst_collect_pads_read),
16559 (gst_collect_pads_flush), (gst_collect_pads_event),
16560 (gst_collect_pads_chain):
16561 * gst/base/gstcollectpads.h:
16562 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16563 unimplemented functions as unimplemented. Add padding to
16564 GstCollectData. (#320766, #320423)
16566 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16568 * gst/gstmessage.c:
16569 Improve docs for DURATION message (usage of duration parameter)
16572 2005-11-20 Wim Taymans <wim@fluendo.com>
16574 * check/Makefile.am:
16575 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16579 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16580 (gst_segment_set_seek), (gst_segment_set_newsegment),
16581 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16582 (gst_segment_clip):
16583 * gst/gstsegment.h:
16584 Added segment helper structure and methods. Not fully implemented
16586 Added segment check.
16588 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
16590 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16591 Add a deserialisation test for fractions
16592 * examples/metadata/read-metadata.c: (message_loop),
16593 (make_pipeline), (main):
16594 Fix up metadata reading sample.
16595 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16597 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16598 Don't try and fixate empty caps
16599 * gst/gst_private.h:
16600 Wrap in G_BEGIN_DECLS/G_END_DECLS
16601 * gst/gstvalue.c: (gst_value_collect_fraction),
16602 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16603 (gst_value_transform_string_fraction),
16604 (gst_value_compare_fraction):
16605 Add some extra guards to ensure that we don't end up
16606 with an invalid denominator of 0 in a gstfraction and
16607 that fractions always get reduced.
16609 2005-11-20 Wim Taymans <wim@fluendo.com>
16611 * docs/gst/gstreamer-sections.txt:
16613 * gst/gstelement.c:
16622 2005-11-20 Wim Taymans <wim@fluendo.com>
16624 * docs/design/part-TODO.txt:
16626 Make a proper enum of the flag.
16628 2005-11-19 Wim Taymans <wim@fluendo.com>
16630 * docs/design/part-TODO.txt:
16631 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16632 (gst_format_to_quark), (gst_format_register):
16634 * gst/gstquery.c: (_gst_query_initialize),
16635 (gst_query_type_get_name), (gst_query_type_to_quark),
16636 (gst_query_type_register):
16638 Add type to quark and type to string conversions.
16640 2005-11-19 Andy Wingo <wingo@pobox.com>
16642 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16645 2005-11-19 Wim Taymans <wim@fluendo.com>
16647 * docs/design/part-TODO.txt:
16648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16649 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16650 (gst_bin_handle_message_func):
16652 Make message handling overridable.
16654 2005-11-19 Andy Wingo <wingo@pobox.com>
16656 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16659 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16661 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16662 is a GstClockTime. Fixes #321710.
16664 * gst/gstclock.h (GstClock): Remove offset property. Add
16665 internal_calibration and external_calibration. Fix padding. Pad
16666 also by GstClockTime so we don't run into problems.
16668 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16669 (gst_clock_get_rate_offset): Remove.
16670 (gst_clock_set_time_adjust): Remove. Fixes #321712.
16673 * gst/gstutils.c (g_static_rec_cond_wait)
16674 (g_static_rec_cond_timed_wait): Removed, no longer needed.
16676 * gst/gstbin.c: Remove terrible continue_state prototype.
16678 * gst/gstelement.h (gst_element_continue_state): Make public.
16680 * gst/gstelement.h:
16681 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16682 by continue_state. Fixes #319389.
16684 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16685 Really fixes #168438. However I don't see anywhere where the
16686 filter function is called... stupid GStreamer...
16688 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16689 don't have a dispose function, so it won't get called when the
16690 object is unreffed, but oh well!
16692 * gst/gstindex.c (gst_index_set_filter_full): New API function,
16693 allows a destroy function to be set so user_data can be freed.
16695 (gst_index_set_filter): Call gst_index_set_filter_full.
16697 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16699 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16700 string should produce an error, given the lack of a way to
16701 represent NULL strings. Fixes #165650.
16704 * gst/gstvalue.c (gst_value_array_append_value)
16705 (gst_value_array_prepend_value, gst_value_array_get_size)
16706 (gst_value_array_get_value): New API, copied from
16707 gst_value_list_*, only operates on arrays.
16708 (gst_value_list_append_value, gst_value_list_prepend_value)
16709 (gst_value_list_concat, gst_value_list_get_size)
16710 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16712 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16713 init_list, because it works on both.
16714 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16715 (gst_value_copy_list_or_array): Renamed from copy_list.
16716 (gst_value_free_list_or_array): Renamed from free_list.
16717 (gst_value_collect_list_or_array): Renamed from collect_list.
16718 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16719 (gst_value_list_or_array_peek_pointer): Renamed from
16721 (_gst_value_array_value_table, _gst_value_list_value_table):
16722 Update value table functions.
16723 (gst_value_compare_list_or_array): Renamed from compare_list.
16725 * gsttaglist.h: Whoops, foreach function returns void. Also fix
16728 * gst/gsttaglist.c:
16729 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16730 GstTagList*. Fixes #143472.
16732 * gst/gststructure.h: Clarify what the foreach/map functions can
16733 or can't do to their arguments.
16735 2005-11-18 Wim Taymans <wim@fluendo.com>
16737 * gst/gstclock.c: (gst_clock_set_calibration),
16738 (gst_clock_get_calibration):
16740 Calibration can be set with internal time equal to current
16743 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
16749 2005-11-18 Andy Wingo <wingo@pobox.com>
16752 * pkgconfig/gstreamer-net.pc.in:
16753 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16754 * pkgconfig/Makefile.am: Add net pkgconfig files.
16756 2005-11-18 Stefan Kost <ensonic@users.sf.net>
16759 * gst/gstghostpad.c:
16765 2005-11-18 Andy Wingo <wingo@pobox.com>
16767 * gst/net/gstnetclientclock.c: Turn off debugging.
16769 * check/net/gstnetclientclock.c (test_functioning): Assert that the
16770 times connverge somewhat. Can't make a real test.
16772 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16773 integer arithmetic. Return the minimum of the domain, which can be
16774 set as "internal" for gst_clock_set_calibration.
16775 (gst_net_client_clock_observe_times): Call _set_calibration.
16776 (gst_net_client_clock_new): Call _set_calibration instead of
16779 * check/net/gstnetclientclock.c (test_functioning): Use the right
16783 * gst/gstclock.c (gst_clock_get_calibration)
16784 (gst_clock_set_calibration): New functions, obsolete the ones I
16785 added yesterday. Doh. Precision issues mean we have to extrapolate
16786 from a point in the more recent past than 1970.
16787 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16789 (gst_clock_adjust_unlocked): Use the right calibration data.
16791 2005-11-18 Edward Hervey <edward@fluendo.com>
16793 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16794 Also reset the ->current_* values in READY->PAUSED
16796 2005-11-18 Andy Wingo <wingo@pobox.com>
16798 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16799 Whoops, check the right fd. Also add some debugging.
16800 (gst_net_client_clock_observe_times): Adjust for int64 offset.
16801 (do_linear_regression): Add a crapload of debugging. Subtract off
16802 the minimum values from the input series to discard unneeded bits.
16803 Use only int arithmetic. There is still double arithmetic when
16804 calculating the intercept that needs fixing. Return boolean to
16805 indicate success; FALSE would mean the domain or range is too
16806 great. Still needs fixes.
16808 2005-11-18 Wim Taymans <wim@fluendo.com>
16810 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16811 For the current position in stream time, we need to subtract
16814 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16815 Release lock before calling the callback function of async
16818 2005-11-18 Andy Wingo <wingo@pobox.com>
16820 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16821 Port goes all the way to MAXUINT16.
16823 * gst/net/gstnettimeprovider.c: Make the port range the same as
16824 for the kernel: 0 assigns, otherwise ports are less than
16827 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16830 * check/net/gstnetclientclock.c (test_functioning): Add the start
16833 2005-11-18 Wim Taymans <wim@fluendo.com>
16835 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16836 (gst_bin_remove_func), (bin_bus_handler):
16838 Removing a clock provider from a bin, triggers a clock lost message
16839 so that a new clock will be selected.
16840 Adding a clock to a bin triggers a clock provider message.
16841 Make sure we reselect a clock when we received a clock lost message.
16842 Keep a reference to the element that provided the clock.
16844 2005-11-18 Andy Wingo <wingo@pobox.com>
16846 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16847 the clock initially so it produces values around the base time.
16848 (gst_net_client_clock_class_init): Typo fix.
16849 (gst_net_client_clock_thread): Add note on when the socket gets
16852 2005-11-17 Wim Taymans <wim@fluendo.com>
16854 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16855 Free remote and local time arrays.
16857 2005-11-17 Wim Taymans <wim@fluendo.com>
16859 * gst/net/gstnetclientclock.c: (do_linear_regression),
16860 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16861 Fix compilation, uninitialized vars and a forgotten continue.
16863 2005-11-17 Andy Wingo <wingo@pobox.com>
16865 * check/Makefile.am (check_PROGRAMS):
16866 * check/net/gstnetclientclock.c: Add a most minimal test for the
16867 net client clock. More to come later.
16869 * gst/net/gstnet.h:
16870 * gst/net/Makefile.am: Add netclientclock.
16872 * gst/net/gstnetclientclock.h:
16873 * gst/net/gstnetclientclock.c: New files, implement an untested
16874 GstClock that takes its time from a network time provider.
16875 Implements the algorithm in network-clock.scm.
16877 * tests/network-clock.scm (*window-size*): Rename from
16879 * tests/network-clock.scm (network-time):
16880 * tests/network-clock-utils.scm (q-push): Update callers.
16882 2005-11-17 Wim Taymans <wim@fluendo.com>
16884 * gst/gstbin.c: (gst_bin_provide_clock_func),
16885 (gst_bin_sort_iterator_new):
16886 And unref the child too..
16888 2005-11-17 Wim Taymans <wim@fluendo.com>
16890 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16891 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16892 Refactor the sort iterator so it can be used while holding the
16894 Make clock selection select a clock closest to the source.
16896 2005-11-17 Michael Smith <msmith@fluendo.com>
16898 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16899 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16901 Anonymous structs are a gcc (and some other compilers) extension, so
16902 don't use them. Since this is only for ABI-compatibility, and our
16903 API/ABI freeze is over in a few days, this whole thing will only
16904 last a few days, so don't bother trying to think up a meaningful
16905 name for the struct.
16907 2005-11-17 Andy Wingo <wingo@pobox.com>
16909 * gst/gstclock.h (GstClock): Add rate and offset properties,
16910 preserving ABI stability. Add rate/offset accessors. Will file bug
16911 for the freeze break.
16913 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16914 and offset, trying to keep precision and avoiding
16915 underflow/overflow.
16916 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16917 functions. Make gst_clock_set_time_adjust obsolete.
16918 (gst_clock_set_time_adjust): Note that this function is obsolete.
16919 Will file bug soon.
16921 * gst/base/gstbasetransform.h: Make the ABI-stability hack
16922 greppable by using GST_PADDING-1+1.
16924 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
16926 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16928 * gst/gstmessage.c: (gst_message_parse_clock_lost):
16929 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16931 * gst/gstpadtemplate.h:
16932 * gst/gstpluginfeature.h:
16933 Don't use c++ style comments in headers (#321638).
16935 2005-11-16 Andy Wingo <wingo@pobox.com>
16937 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16940 * check/net/gstnettimeprovider.c: Check to see that the time
16941 provider actually provides times. Works, yo!
16943 2005-11-16 Wim Taymans <wim@fluendo.com>
16945 * check/Makefile.am:
16948 * check/elements/fakesrc.c: (GST_START_TEST):
16949 Set element to NULL before disposing it.
16951 2005-11-16 Andy Wingo <wingo@pobox.com>
16953 * gst/net/Makefile.am:
16954 * gst/net/gstnet.h:
16955 * gst/net/gstnettimeprovider.c:
16956 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16957 provider, include it from gstnet.h, and add it to the build.
16959 * gst/net/gstnettimepacket.h:
16960 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16961 sending and receiving.
16963 2005-11-16 Wim Taymans <wim@fluendo.com>
16965 * check/Makefile.am:
16966 Enable valgrind check.
16968 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16969 (gst_fake_src_alloc_buffer):
16972 2005-11-16 Wim Taymans <wim@fluendo.com>
16974 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16975 Call parent finalize too.
16977 2005-11-16 Wim Taymans <wim@fluendo.com>
16979 * check/Makefile.am:
16980 Enable valgrind check that should work fine now.
16982 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16983 * gst/gstqueue.c: (gst_queue_init):
16984 Fix memleaks in pad allocation.
16986 2005-11-16 Andy Wingo <wingo@pobox.com>
16988 * gst/net/Makefile.am:
16989 * gst/net/gstnet.h: New part of core to hold network elements and
16990 objects. Put in core because it exposes API that applications want
16991 to use. The library is named libgstnet-tempname right now because
16992 of the existing libgstnet in gst-plugins-base. Solution is
16993 probably to rename the one in plugins-base; will file a bug for
16996 * gst/net/gstnettimeprovider.c:
16997 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16998 get_time call over the network.
17001 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17003 * check/Makefile.am:
17004 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17005 get additions shortly.
17007 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17009 * gst/gstpad.c: (gst_pad_new_from_static_template):
17011 add gst_pad_new_from_static_template functions
17012 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17013 (gst_check_setup_sink_pad):
17014 * gst/elements/gsttee.c: (gst_tee_init):
17017 2005-11-16 Wim Taymans <wim@fluendo.com>
17019 * gst/gstpad.c: (gst_pad_pause_task):
17020 Removed warning, it's not really an error either.
17022 2005-11-16 Wim Taymans <wim@fluendo.com>
17024 * gst/base/gstbasetransform.c:
17025 (gst_base_transform_prepare_output_buf),
17026 (gst_base_transform_event):
17027 Check if the caps are NULL, this can happen if the element
17028 is shutting down and the pad caps are set to NULL.
17030 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17032 * gst/elements/gsttee.c: (gst_tee_init):
17033 fix pad template leak in tee
17035 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17037 * gst/glib-compat.c: (g_value_dup_gst_object):
17038 * gst/glib-compat.h:
17039 * gst/gstpad.c: (gst_pad_set_property):
17040 use gst_object_ref when setting the pad template; this will
17041 trigger the pad template leaks on GLib 2.6 and the slaves
17043 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17045 * gst/glib-compat.c: (gst_flags_get_first_value):
17046 * gst/glib-compat.h:
17047 * gst/gstregistryxml.c:
17048 remove functions copied from GLib 2.6
17050 2005-11-16 Michael Smith <msmith@fluendo.com>
17053 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17054 do, but only breaks with newer valgrind versions. We're not a
17055 valgrind tool, we have no link-time dependencies on libcoregrind.
17057 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17059 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17061 * gst/gstmessage.h:
17064 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17066 * gst/base/gstbasesrc.c: (gst_base_src_init):
17067 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17068 * gst/gstqueue.c: (gst_queue_init):
17069 * gst/gstregistryxml.c: (load_feature):
17070 Revert all these unrefs, they don't even pass make check !
17072 2005-11-15 Johan Dahlin <johan@gnome.org>
17074 * gst/base/gstbasesrc.c: (gst_base_src_init):
17075 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17076 * gst/gstqueue.c: (gst_queue_init):
17077 Free pad templates, fixes a couple of leaks.
17079 2005-11-15 Daniel Fischer <dan at f3c dot com>
17081 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17083 * gst/gstpad.c: (gst_pad_get_property):
17084 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17085 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17088 2005-11-15 Wim Taymans <wim@fluendo.com>
17093 2005-11-15 Andy Wingo <wingo@pobox.com>
17095 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17097 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17098 using GST_CLOCK_TIME_NONE to disable base time management.
17099 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17100 time if it was NONE before.
17101 (gst_pipeline_change_state): Only munge the base time if
17102 stream_time != GST_CLOCK_TIME_NONE.
17104 * check/gst/gstpipeline.c (test_base_time): Punt around the
17105 problem of the probe not being called, because that's not the
17106 issue I'm looking at. Add a check that setting stream_time to NONE
17107 disables base time management.
17109 2005-11-15 Wim Taymans <wim@fluendo.com>
17111 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17112 segment_stop == -1 at startup.
17114 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17115 (gst_base_transform_change_state):
17116 Init segment values at start.
17118 2005-11-15 Wim Taymans <wim@fluendo.com>
17120 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17121 0 segment values are 0 in any format.
17123 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17124 * gst/base/gstbasetransform.h:
17125 Parse newsegment correctly in basetransform
17127 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17128 Sync to clock using updated segment values.
17130 2005-11-15 Andy Wingo <wingo@pobox.com>
17132 * check/gst/gstpipeline.c (test_base_time): Add check that the
17133 base time and stream time are reset correctly.
17135 2005-11-15 Wim Taymans <wim@fluendo.com>
17137 * docs/design/part-TODO.txt:
17138 Some more TODO items.
17140 2005-11-15 Andy Wingo <wingo@pobox.com>
17142 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17143 error if the user selected "no clock" as the clocking method.
17145 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17146 timestamps with live capture.
17148 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17149 is 0 but we are a live source, timestamp the buffers using the
17152 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17154 * docs/gst/gstreamer-sections.txt:
17156 * gst/gstghostpad.c:
17161 2005-11-14 Wim Taymans <wim@fluendo.com>
17164 add suppressions from Wim's Debian machine
17166 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17169 add suppressions from Andy's AMD64 Ubuntu machine
17171 2005-11-14 Andy Wingo <wingo@pobox.com>
17173 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17174 STATE_LOCK not necessary. Fixes #311489.
17176 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17179 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17180 this function is not implemented.
17182 2005-11-14 Julien MOUTTE <julien@moutte.net>
17184 * gst/base/gstbasetransform.c:
17185 (gst_base_transform_prepare_output_buf):
17186 Ref the source pad caps while we need them.
17189 2005-11-11 Wim Taymans <wim@fluendo.com>
17191 * docs/gst/gstreamer-sections.txt:
17192 Added some docs for GstCollectData.
17194 * gst/base/gstadapter.c:
17195 Some small code example fix.
17197 * gst/base/gstcollectpads.c:
17198 * gst/base/gstcollectpads.h:
17199 Document some more.
17201 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17203 * configure.ac: back to HEAD
17205 === release 0.9.5 ===
17207 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17210 releasing 0.9.5, "Bike Lunch Day"
17212 2005-11-11 Wim Taymans <wim@fluendo.com>
17214 * gst/gstbuffer.c: (_gst_buffer_copy):
17217 * gst/gstcaps.c: (gst_caps_is_equal):
17219 Make _is_equal fast in the trivial cases.
17221 * gst/gstminiobject.c:
17222 * gst/gstminiobject.h:
17223 More docs. Spifify .h file.
17228 2005-11-11 Wim Taymans <wim@fluendo.com>
17230 * gst/base/gstbasetransform.c:
17231 (gst_base_transform_prepare_output_buf),
17232 (gst_base_transform_handle_buffer):
17234 If we're processing a buffer and need to allocate an output
17235 buffer, we cannot accept a format change. If we did get a
17236 format change, we have to alloc a buffer ourselves of the
17239 2005-11-11 Wim Taymans <wim@fluendo.com>
17241 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17242 While checking the flag for reentrancy in the gstcaps function
17243 is nice to detect recursive invocations, it also makes it
17244 impossible to call getcaps from multiple threads, which must be
17245 possible. So, checking for recursive calls has to go.
17247 2005-11-11 Michael Smith <msmith@fluendo.com>
17249 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17250 Don't sync on buffers that fall partially outside our current
17251 segment. Prevents an assertion failure/abort playing some files.
17253 2005-11-10 Andy Wingo <wingo@pobox.com>
17255 * check/gst/gstbin.c (test_message_state_changed_children): Style
17258 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17259 gst_bus_poll with the signal watch. Ensures that poll and a signal
17260 watch see the same messages.
17262 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17263 a poll and a watch at the same time get the same messages.
17265 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17267 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17268 * gst/gstcaps.c: (gst_caps_intersect):
17269 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17270 and it's not needed.
17272 2005-11-10 Wim Taymans <wim@fluendo.com>
17274 * docs/design/part-TODO.txt:
17277 2005-11-10 Wim Taymans <wim@fluendo.com>
17279 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17280 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17281 (gst_base_src_do_sync), (gst_base_src_get_range):
17282 Implement clock sync in base class.
17284 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17286 patch by: Tim-Philipp Müller <tim at centricular dot net>
17288 * gst/gststructure.c: (gst_structure_parse_field),
17289 (gst_structure_from_string):
17290 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17291 so that gst_parse_launch() can deal with spaces in filtered link
17292 caps (fixes #164479)
17293 * check/gst/capslist.h:
17294 * check/gst/gststructure.c: (GST_START_TEST):
17295 add unit tests for this change
17297 2005-11-10 Wim Taymans <wim@fluendo.com>
17299 * docs/gst/gstreamer-sections.txt:
17300 * gst/gstelement.c:
17301 * gst/gstelement.h:
17302 Fix docs, move some STATE macros to private.
17304 2005-11-10 Wim Taymans <wim@fluendo.com>
17306 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17307 Added check for bug #317341
17311 Some more spiffifying.
17313 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17314 Call peer linkfunction if we are a source pad. Totally fixes
17318 Update docs, source pads should call the peer linkfunction
17319 so they can atomically perform the pad link.
17321 2005-11-09 Wim Taymans <wim@fluendo.com>
17325 Uber-spiffy-spiffify some more.
17327 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17329 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17330 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17331 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17332 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17333 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17334 * gst/gstpad.c: (gst_pad_init):
17335 Use GST_DEBUG_FUNCPTR() more extensively.
17337 2005-11-09 Wim Taymans <wim@fluendo.com>
17339 * gst/gstobject.c: (gst_object_class_init):
17341 Documentation fixes.
17343 2005-11-09 Edward Hervey <edward@fluendo.com>
17345 * gst/gsttypefindfactory.c:
17348 2005-11-09 Edward Hervey <edward@fluendo.com>
17350 * gst/base/gsttypefindhelper.c:
17351 * gst/gsttypefind.c:
17352 * gst/gsttypefind.h:
17355 2005-11-09 Wim Taymans <wim@fluendo.com>
17357 * gst/gstiterator.c:
17364 2005-11-09 Wim Taymans <wim@fluendo.com>
17370 2005-11-09 Wim Taymans <wim@fluendo.com>
17372 * docs/gst/gstreamer-sections.txt:
17373 Moved the message async delivery private lock and cond
17374 to the private section.
17376 * gst/gstmessage.c:
17377 * gst/gstmessage.h:
17380 2005-11-09 Edward Hervey <edward@fluendo.com>
17382 * docs/gst/gstreamer-sections.txt:
17385 Document GstURIHandler
17387 2005-11-09 Wim Taymans <wim@fluendo.com>
17389 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17390 (gst_iterator_find_custom):
17391 * gst/gstiterator.h:
17394 2005-11-09 Wim Taymans <wim@fluendo.com>
17397 Document another field.
17399 * gst/gststructure.c:
17400 * gst/gststructure.h:
17403 2005-11-09 Wim Taymans <wim@fluendo.com>
17406 Documented structs.
17408 2005-11-09 Wim Taymans <wim@fluendo.com>
17410 * docs/gst/gstreamer-sections.txt:
17411 Added some new macros.
17418 2005-11-09 Wim Taymans <wim@fluendo.com>
17420 * docs/design/part-TODO.txt:
17421 Some more items for the TODO
17427 2005-11-09 Andy Wingo <wingo@pobox.com>
17429 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17430 to work on something else now tho...
17432 * gst/base/gstadapter.c: More adapter docs.
17434 * gst/elements/gstfilesink.c (gst_file_sink_start)
17435 (gst_file_sink_stop): New functions, replace the state change
17437 (gst_file_sink_class_init): Hook up the start and stop functions.
17438 (gst_file_sink_base_init): Don't set the state change handler any
17439 more. It was a bit ugly too, being set from here...
17440 (gst_file_sink_get_property, gst_file_sink_set_property):
17442 (gst_file_sink_set_location): More robust check that doesn't call
17443 GST_STATE. Ugggggg.
17445 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
17447 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17448 Hold STREAM_LOCK while pushing newsegment or tag events as well.
17450 2005-11-08 Wim Taymans <wim@fluendo.com>
17452 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17453 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17454 (gst_base_sink_chain), (gst_base_sink_change_state):
17455 * gst/base/gstbasesink.h:
17456 * gst/base/gstbasesrc.h:
17457 * gst/gstelement.h:
17459 Avoid excessive typechecking in macros.
17461 * gst/gstminiobject.c: (gst_mini_object_get_type),
17462 (gst_mini_object_init), (gst_mini_object_new),
17463 (gst_mini_object_free):
17464 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17465 (gst_object_finalize):
17466 Remove cruft code, optimize alloc_trace.
17468 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
17470 * docs/faq/gst-uninstalled:
17471 fix up PS1 for systems that try to reset it
17473 2005-11-07 Wim Taymans <wim@fluendo.com>
17475 * gst/base/gstbasesrc.c: (gst_base_src_init),
17476 (gst_base_src_get_range):
17477 Set the segment_end to -1 initially. Fixed typefind.
17479 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
17481 * gst/base/gstadapter.c:
17482 Debug category should be 'adapter', not 'GstAdapter'.
17484 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17485 (gst_collectpads_class_init), (gst_collectpads_init),
17486 (gst_collectpads_peek), (gst_collectpads_pop),
17487 (gst_collectpads_event), (gst_collectpads_chain):
17488 Add debug category and some debugging output. Use boilerplate
17489 macros. Remove some extraneous words from docs.
17491 2005-11-05 Andy Wingo <wingo@pobox.com>
17493 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17496 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17498 * docs/gst/gstreamer-sections.txt:
17501 * gst/gstminiobject.h:
17506 2005-11-04 Wim Taymans <wim@fluendo.com>
17508 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17509 Small update to stop at the configured segment_end
17512 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17514 * gst/gstregistry.c:
17515 * gst/gstregistry.h:
17518 2005-11-04 Edward Hervey <edward@fluendo.com>
17520 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17521 Check if we are doing a segment seek and have arrived at the
17522 end of that segment.
17524 2005-11-04 Wim Taymans <wim@fluendo.com>
17526 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17527 Don't leak a mutex unlock in case of an error.
17532 2005-11-04 Wim Taymans <wim@fluendo.com>
17534 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17536 Get the context to wake up only once.
17538 2005-11-03 Wim Taymans <wim@fluendo.com>
17540 * check/states/sinks.c: (GST_START_TEST):
17541 Uncomment fixed check.
17543 * docs/design/part-TODO.txt:
17546 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17547 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17548 (gst_base_sink_get_position):
17549 If we are going to PLAYING, post the right pending state
17550 when we post the intermediate paused message.
17552 * gst/gstelement.c: (gst_element_continue_state),
17553 (gst_element_set_state_func), (gst_element_change_state):
17554 Don't post state changes that were between the same state
17555 and were not ASYNC.
17557 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17559 * docs/gst/gstreamer-sections.txt:
17562 * gst/gstminiobject.h:
17565 more docs and doc style fixes
17567 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17569 * docs/gst/gstreamer-sections.txt:
17570 * gst/gstelement.c:
17571 * gst/gstminiobject.c:
17574 2005-11-03 Andy Wingo <wingo@pobox.com>
17576 * check/states/sinks.c (test_livesrc_sink): Add checks that the
17577 state-changed messages actually have the right order and the right
17580 2005-11-03 Wim Taymans <wim@fluendo.com>
17582 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17583 Added some more checks. Specifically the case where NO_PREROLL
17584 elements are in the pipeline.
17586 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17587 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17588 (gst_base_sink_get_position):
17589 Post READY->PAUSED state change messages too.
17590 Fix bug where VOID was posted as pending state...
17592 * gst/gstbin.c: (gst_bin_recalc_state):
17593 use _element_continue_state() to continue the state change.
17595 * gst/gstelement.c: (gst_element_continue_state),
17596 (gst_element_commit_state), (gst_element_set_state_func),
17597 (gst_element_change_state), (gst_element_change_state_func):
17598 Lots of state change cleanups, assign the STATE_RETURN in
17599 a new continue_state() function that also propagates the
17600 last return value from a state change to the app.
17601 Update some debug statements with proper category.
17603 2005-11-03 Wim Taymans <wim@fluendo.com>
17605 * docs/design/part-events.txt:
17606 * docs/design/part-gstpipeline.txt:
17607 * docs/design/part-messages.txt:
17608 * docs/design/part-overview.txt:
17609 * docs/design/part-seeking.txt:
17610 * docs/design/part-states.txt:
17611 * docs/design/part-trickmodes.txt:
17612 * docs/manual/advanced-position.xml:
17613 Small docs updates.
17616 People think !! is ugly, this looks better.
17618 * gst/gstpad.c: (gst_pad_set_blocked_async):
17619 Remove !! since it's fixed elsewhere now.
17621 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17623 * gst/gstminiobject.h:
17625 Add !! to _FLAG_IS_SET macros to make the result boolean.
17627 2005-11-03 Edward Hervey <edward@fluendo.com>
17629 * gst/gstpad.c: (gst_pad_set_blocked_async):
17630 comparing a flag and a gboolean rarely returns coherent results...
17631 Added two characters (!!) to make that work correctly.
17633 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17635 * gst/gstbus.c: (gst_bus_class_init):
17638 * gst/gstqueue.c: (gst_queue_loop):
17639 Don't assume a miniobject that isn't a buffer is an
17640 event (it could be that there is a refcounting
17641 problem somewhere and the pointer is stale and
17642 refers to an already destroyed miniobject).
17644 2005-11-03 Julien MOUTTE <julien@moutte.net>
17646 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17648 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17650 * docs/manual/advanced-position.xml:
17651 Update seek example and explanations to current 0.9 API.
17653 * gst/elements/gsttypefindelement.c:
17654 (gst_type_find_element_activate):
17655 Remove FIXME comment now that the found caps
17658 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17660 * gst/gstregistryxml.c: (load_feature):
17661 Add another GST_STR_NULL instance
17663 2005-11-02 Edward Hervey <edward@fluendo.com>
17665 * gst/gstpad.c: (handle_pad_block):
17666 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17668 2005-11-02 Wim Taymans <wim@fluendo.com>
17673 * gst/gstelement.c: (gst_element_commit_state):
17674 Remove unused value.
17676 * gst/gstiterator.c:
17677 Mention that the returned element is reffed in the docs.
17679 2005-11-02 Wim Taymans <wim@fluendo.com>
17681 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17682 (gst_pad_push), (gst_pad_push_event):
17683 Unlock blocked pads when they are flushed.
17685 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17688 * docs/gst/gstreamer-sections.txt:
17691 * gst/gstregistry.c: (gst_registry_scan_path_level):
17692 fix for a nasty little missed situation where an installed plug-in
17693 which was in the cache did not get overridden by an uninstalled one
17694 which was earlier in the plugin path because the newly created plugin
17695 for the uninstalled one (not in the registry) didn't get its
17696 ->registered set to TRUE
17698 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17700 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17701 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17702 (gst_collectpads_is_active), (gst_collectpads_collect),
17703 (gst_collectpads_collect_range), (gst_collectpads_start),
17704 (gst_collectpads_stop), (gst_collectpads_peek),
17705 (gst_collectpads_pop), (gst_collectpads_available),
17706 (gst_collectpads_read), (gst_collectpads_flush):
17707 Guard public API with assertions.
17710 Fix docs for gst_pad_set_link_function().
17712 2005-11-02 Johan Dahlin <johan@gnome.org>
17714 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
17715 Unref found_caps after we used it.
17717 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17719 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17720 Don't try to ref NULL.
17722 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17724 * win32/common/config.h.in:
17725 provide a GST_FUNCTION that just gives a string for now
17727 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17729 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17730 (gst_object_flags_get_type), (register_gst_bin_flags),
17731 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17732 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17733 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17734 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17735 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17736 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17737 (gst_clock_flags_get_type), (register_gst_state),
17738 (gst_state_get_type), (register_gst_state_change_return),
17739 (gst_state_change_return_get_type), (register_gst_state_change),
17740 (gst_state_change_get_type), (register_gst_element_flags),
17741 (gst_element_flags_get_type), (register_gst_core_error),
17742 (gst_core_error_get_type), (register_gst_library_error),
17743 (gst_library_error_get_type), (register_gst_resource_error),
17744 (gst_resource_error_get_type), (register_gst_stream_error),
17745 (gst_stream_error_get_type), (register_gst_event_type),
17746 (gst_event_type_get_type), (register_gst_seek_type),
17747 (gst_seek_type_get_type), (register_gst_seek_flags),
17748 (gst_seek_flags_get_type), (register_gst_format),
17749 (gst_format_get_type), (register_gst_index_certainty),
17750 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17751 (gst_index_entry_type_get_type),
17752 (register_gst_index_lookup_method),
17753 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17754 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17755 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17756 (gst_index_flags_get_type), (register_gst_debug_level),
17757 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17758 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17759 (gst_iterator_result_get_type), (register_gst_iterator_item),
17760 (gst_iterator_item_get_type), (register_gst_message_type),
17761 (gst_message_type_get_type), (register_gst_mini_object_flags),
17762 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17763 (gst_pad_link_return_get_type), (register_gst_flow_return),
17764 (gst_flow_return_get_type), (register_gst_activate_mode),
17765 (gst_activate_mode_get_type), (register_gst_pad_direction),
17766 (gst_pad_direction_get_type), (register_gst_pad_flags),
17767 (gst_pad_flags_get_type), (register_gst_pad_presence),
17768 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17769 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17770 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17771 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17772 (gst_plugin_flags_get_type), (register_gst_rank),
17773 (gst_rank_get_type), (register_gst_query_type),
17774 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17775 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17776 (gst_tag_flag_get_type), (register_gst_task_state),
17777 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17778 (gst_alloc_trace_flags_get_type),
17779 (register_gst_type_find_probability),
17780 (gst_type_find_probability_get_type), (register_gst_uri_type),
17781 (gst_uri_type_get_type), (register_gst_parse_error),
17782 (gst_parse_error_get_type):
17783 * win32/common/gstversion.h:
17784 update win32 copies
17786 2005-11-01 Luca Ognibene <luogni@tin.it>
17789 fix docs. popt is dead, long live GOption.
17791 2005-10-31 Wim Taymans <wim@fluendo.com>
17796 2005-10-31 Andy Wingo <wingo@pobox.com>
17800 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17802 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17803 need to serialize property notifications on GLib 2.8. GLib 2.6 has
17804 the possibility of deadlocks here if code calling notify() or
17805 set() has a lock that can be taken in another notify handler (ABBA
17806 with class lock and e.g. python GIL state lock).
17808 2005-10-28 Julien MOUTTE <julien@moutte.net>
17810 * gst/gstbus.c: Doc updates.
17812 2005-10-28 Wim Taymans <wim@fluendo.com>
17814 * docs/design/part-TODO.txt:
17815 * gst/gstiterator.c:
17816 * gst/gstsystemclock.c:
17817 * gst/gstsystemclock.h:
17820 2005-10-28 Edward Hervey <edward@fluendo.com>
17822 * docs/gst/gstreamer-docs.sgml:
17823 * docs/gst/gstreamer-sections.txt:
17824 the GstURIType documentation page is private, it only defines GstURIType
17825 which should be defined in the GstURIHandler page
17827 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
17829 * gst/gstbin.c: (gst_bin_class_init):
17832 Documentation updates.
17834 2005-10-28 Wim Taymans <wim@fluendo.com>
17836 * docs/gst/gstreamer-sections.txt:
17839 Documented the clocks.
17841 2005-10-28 Stefan Kost <ensonic@users.sf.net>
17843 * docs/gst/gstreamer-sections.txt:
17844 move some macros to private sections
17845 * gst/gstminiobject.c:
17846 * gst/gstminiobject.h:
17847 add descriptions provided by ds and some more
17849 mark macro as to be removed
17851 2005-10-28 Wim Taymans <wim@fluendo.com>
17853 * docs/design/part-TODO.txt:
17854 Add an item to TODO.
17856 * gst/gstiterator.c: (gst_iterator_fold),
17857 (gst_iterator_find_custom):
17858 * gst/gstiterator.h:
17861 2005-10-28 Wim Taymans <wim@fluendo.com>
17863 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17864 (gst_base_transform_init):
17867 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17868 An EOS event marks the queue as completely filled.
17870 2005-10-27 Wim Taymans <wim@fluendo.com>
17872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17873 (gst_base_sink_do_sync), (gst_base_sink_get_position):
17874 Some more debugging.
17876 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17877 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17878 (gst_base_transform_event), (gst_base_transform_getrange),
17879 (gst_base_transform_chain):
17880 * gst/base/gstbasetransform.h:
17882 Protect transform and concurrent buffer alloc with a new lock.
17883 Try not to break ABI/API.
17885 2005-10-27 Wim Taymans <wim@fluendo.com>
17887 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17888 (gst_base_src_init), (gst_base_src_query),
17889 (gst_base_src_default_newsegment),
17890 (gst_base_src_configure_segment), (gst_base_src_do_seek),
17891 (gst_base_src_send_event), (gst_base_src_event_handler),
17892 (gst_base_src_pad_get_range), (gst_base_src_loop),
17893 (gst_base_src_unlock), (gst_base_src_default_negotiate),
17894 (gst_base_src_start), (gst_base_src_deactivate),
17895 (gst_base_src_activate_push), (gst_base_src_change_state):
17896 Move some stuff around and cleanup things.
17898 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
17900 * gst/base/gstbasesrc.c: (gst_base_src_query):
17901 Add missing break statements.
17903 2005-10-27 Wim Taymans <wim@fluendo.com>
17905 * check/gst/gstbin.c: (GST_START_TEST):
17906 An extra refcount is taken in basesrc.
17908 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17909 (gst_base_src_get_range), (gst_base_src_pad_get_range),
17910 (gst_base_src_loop):
17911 Small cleanups, check for flushing after being unlocked from the
17912 LIVE_LOCK. take refcounts correctly (not yet everywhere).
17913 Don't send out EOS when going to READY.
17915 2005-10-27 Wim Taymans <wim@fluendo.com>
17917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17918 (gst_base_sink_get_position):
17921 * gst/gstbin.c: (message_check), (bin_replace_message),
17922 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17923 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17924 (bin_query_duration_init), (bin_query_duration_fold),
17925 (bin_query_duration_done), (bin_query_generic_fold),
17927 * tools/gst-launch.c: (main):
17930 2005-10-26 Stefan Kost <ensonic@users.sf.net>
17932 * examples/controller/audio-example.c: (main):
17933 * examples/queue/queue.c: (event_loop):
17934 * gst/base/gstbasetransform.h:
17935 * gst/gstelement.c: (gst_element_send_event):
17937 * gst/gstpad.c: (gst_pad_send_event):
17940 changing log priority in error situations
17942 2005-10-25 Wim Taymans <wim@fluendo.com>
17944 * gst/gstbin.c: (message_check), (bin_replace_message),
17945 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17946 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17947 (bin_query_duration_init), (bin_query_duration_fold),
17948 (bin_query_duration_done), (bin_query_generic_fold),
17950 Some doc and debug updates.
17951 Cache previously requested query DURATION for speed. invalidate
17952 cached duration if element posts a DURATION message.
17954 2005-10-25 Wim Taymans <wim@fluendo.com>
17956 * docs/design/part-TODO.txt:
17959 * gst/gstbin.c: (message_check), (bin_replace_message),
17960 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17961 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17962 (bin_query_duration_init), (bin_query_duration_fold),
17963 (bin_query_duration_done), (bin_query_generic_fold),
17965 Handle SEGMENT_START/DONE messages correctly.
17966 More evolved query algorithm that handles duration queries
17969 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17970 (gst_element_get_state_func), (gst_element_abort_state),
17971 (gst_element_commit_state), (gst_element_lost_state):
17972 Some more debugging.
17974 * gst/gstmessage.h:
17977 2005-10-25 Wim Taymans <wim@fluendo.com>
17979 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17980 Don't use invalid stream_time.
17982 * gst/gstevent.c: (gst_event_new_newsegment):
17983 stream_time in newsegment cannot be undefined.
17985 2005-10-24 Wim Taymans <wim@fluendo.com>
17990 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17992 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17994 2005-10-24 Stefan Kost <ensonic@users.sf.net>
17996 * docs/libs/tmpl/gstdparam.sgml:
17997 * docs/libs/tmpl/gstdplinint.sgml:
17998 * docs/libs/tmpl/gstdpman.sgml:
17999 * docs/libs/tmpl/gstdpsmooth.sgml:
18000 * docs/libs/tmpl/gstunitconvert.sgml:
18003 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18008 === release 0.9.4 ===
18010 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18013 releasing 0.9.4, "Tyrannosaurus Rex"
18015 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18017 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18018 (gst_file_sink_get_current_offset):
18019 Use fseeko() and ftello() if available. When falling back on
18020 lseek() to get the current offset, fflush() first to make sure
18021 everything is up-to-date and we get the right offset.
18023 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18026 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18027 * gst/gsterror.c: (_gst_stream_errors_init):
18029 * gst/gstqueue.c: (gst_queue_loop):
18031 remove prematurely added error category and clean up the instances
18033 2005-10-21 Wim Taymans <wim@fluendo.com>
18035 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18036 (gst_base_sink_get_position), (gst_base_sink_query),
18037 (gst_base_sink_change_state):
18038 Simply set the right flag when going to playing, that's all
18039 we need to do instead of calling a function inside the object
18040 lock (that could take the lock as well and deadlock)
18042 2005-10-21 Wim Taymans <wim@fluendo.com>
18044 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18045 (gst_base_src_loop):
18046 Don't warn, the peer element knows what to do best when
18047 the seek failed, it might try something else.
18049 2005-10-21 Wim Taymans <wim@fluendo.com>
18051 * gst/base/gstbasesrc.c: (gst_base_src_init),
18052 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18055 2005-10-21 Wim Taymans <wim@fluendo.com>
18057 * docs/design/part-segments.txt:
18060 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18061 Correctly set caps, even on the subbufer.
18063 2005-10-21 Wim Taymans <wim@fluendo.com>
18065 * docs/gst/gstreamer-docs.sgml:
18066 * docs/gst/gstreamer-sections.txt:
18067 * gst/gstelement.h:
18070 * gst/gstmessage.h:
18073 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18077 And 2% more doc coverage.
18079 2005-10-21 Andy Wingo <wingo@pobox.com>
18081 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18082 position reporting.
18084 2005-10-20 Wim Taymans <wim@fluendo.com>
18086 * gst/gsterror.c: (gst_error_get_message):
18089 * gst/gststructure.c:
18094 2005-10-20 Wim Taymans <wim@fluendo.com>
18099 Another 1% more coverage.
18101 2005-10-20 Wim Taymans <wim@fluendo.com>
18103 * docs/gst/gstreamer-sections.txt:
18104 * gst/gstelement.c: (gst_element_get_state_func),
18105 (gst_element_abort_state), (gst_element_commit_state),
18106 (gst_element_lost_state):
18108 * gst/gstquery.c: (gst_query_set_position),
18109 (gst_query_parse_position), (gst_query_set_duration),
18110 (gst_query_parse_duration), (gst_query_new_convert):
18112 Yay! 1% more docs coverage.
18114 2005-10-20 Wim Taymans <wim@fluendo.com>
18117 * gst/gstquery.c: (gst_query_set_position),
18118 (gst_query_parse_position), (gst_query_set_duration),
18119 (gst_query_parse_duration), (gst_query_new_convert):
18121 * gst/gstutils.c: (gst_element_query_convert):
18123 Docs and consistency fixes.
18125 2005-10-20 Wim Taymans <wim@fluendo.com>
18131 2005-10-20 Wim Taymans <wim@fluendo.com>
18133 * gst/gstbin.c: (message_check), (bin_replace_message),
18134 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18135 (update_degree), (gst_bin_sort_iterator_next),
18136 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18137 Reworked the message handling a bit, cache the messages instead of
18138 only the senders. alows us to do more in the future.
18140 2005-10-20 Wim Taymans <wim@fluendo.com>
18142 * docs/design/part-TODO.txt:
18145 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18146 (gst_base_sink_query):
18147 Don't use clock time to report position when in EOS.
18149 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18151 * tools/gst-inspect.c: (print_interfaces),
18152 (print_element_properties_info), (print_element_info):
18153 Fix interface output with gst-inspect -a; don't print
18154 newlines after double/float properties.
18156 2005-10-20 Wim Taymans <wim@fluendo.com>
18158 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18159 (gst_base_sink_query):
18160 Speed up current position calculation.
18162 * gst/base/gstbasesrc.c: (gst_base_src_query),
18163 (gst_base_src_default_newsegment):
18164 Correctly set stream position in newsegment.
18166 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18167 (update_degree), (gst_bin_sort_iterator_next),
18168 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18169 * gst/gstmessage.c: (gst_message_new_custom):
18170 Clean up debugging info
18172 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18173 (gst_queue_loop), (gst_queue_handle_src_query):
18176 2005-10-19 Wim Taymans <wim@fluendo.com>
18178 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18179 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18180 Fix query handling again.
18182 2005-10-19 Wim Taymans <wim@fluendo.com>
18184 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18185 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18186 * gst/base/gstbasesrc.c: (gst_base_src_query):
18187 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18188 * gst/elements/gsttypefindelement.c:
18189 (gst_type_find_handle_src_query), (find_element_get_length),
18190 (gst_type_find_element_activate):
18193 * gst/gstquery.c: (gst_query_new_position),
18194 (gst_query_set_position), (gst_query_parse_position),
18195 (gst_query_new_duration), (gst_query_set_duration),
18196 (gst_query_parse_duration), (gst_query_set_segment),
18197 (gst_query_parse_segment):
18199 Bundling query position/duration is not a good idea since duration
18200 does not change much and we don't want to recalculate it for every
18201 position query, so they are separated again..
18202 Base value in segment query is not needed.
18204 * gst/gstqueue.c: (gst_queue_handle_src_query):
18205 * gst/gstutils.c: (gst_element_query_position),
18206 (gst_element_query_duration), (gst_pad_query_position),
18207 (gst_pad_query_duration):
18209 Updates for query API change.
18210 Added some docs here and there.
18212 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18214 * check/gst/gstbin.c: (GST_START_TEST):
18215 * check/gst/gstghostpad.c: (GST_START_TEST):
18216 * check/pipelines/cleanup.c: (GST_START_TEST):
18217 wait on thread to die so we can check refcount correctly
18219 2005-10-18 Wim Taymans <wim@fluendo.com>
18221 * check/pipelines/stress.c: (GST_START_TEST):
18222 Make check a little more time consuming.
18224 2005-10-18 Wim Taymans <wim@fluendo.com>
18226 * check/Makefile.am:
18227 * check/pipelines/stress.c: (GST_START_TEST),
18228 (simple_launch_lines_suite), (main):
18229 Small state change torture test.
18231 * docs/design/part-states.txt:
18232 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18233 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18234 (gst_base_sink_change_state):
18235 Never take state lock from streaming thread, clean up ugly
18236 hacks. Unfortunatly core does not yet support nice ways to
18237 async commit state.
18239 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18241 Start state recalc if a STATE_DIRTY message is posted, but only
18242 on the toplevel bin.
18244 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18245 (gst_element_get_state_func), (gst_element_abort_state),
18246 (gst_element_commit_state), (gst_element_lost_state),
18247 (gst_element_set_state_func), (gst_element_change_state):
18248 * gst/gstelement.h:
18249 State variables are now protected with the LOCK, the state
18250 lock is only used to serialize _set_state().
18252 2005-10-18 Wim Taymans <wim@fluendo.com>
18254 * check/gst/gstbin.c: (GST_START_TEST):
18255 * check/gst/gstmessage.c: (GST_START_TEST):
18256 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18257 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18259 * gst/gstelement.c: (gst_element_abort_state),
18260 (gst_element_commit_state), (gst_element_lost_state):
18261 * gst/gstmessage.c: (gst_message_new_state_changed),
18262 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18263 (gst_message_new_segment_done), (gst_message_new_duration),
18264 (gst_message_parse_state_changed),
18265 (gst_message_parse_segment_start),
18266 (gst_message_parse_segment_done), (gst_message_parse_duration):
18267 * gst/gstmessage.h:
18268 * tools/gst-launch.c: (event_loop):
18269 Seriously, this is better than a previous commit as we only need
18270 to notify the fact that an element changed state in a streaming
18271 thread, marking the state of the parents dirty, hence the
18272 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18275 2005-10-18 Wim Taymans <wim@fluendo.com>
18277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18278 (gst_bin_recalc_func):
18279 * gst/gstelement.c: (gst_element_set_clock),
18280 (gst_element_abort_state), (gst_element_lost_state):
18281 Cleanups, prepare for state change fixes.
18283 2005-10-18 Wim Taymans <wim@fluendo.com>
18286 * gst/gstelement.c: (gst_element_class_init),
18287 (gst_element_set_state), (gst_element_set_state_func):
18288 * gst/gstelement.h:
18289 Pending ABI changes.
18290 GThreadPool in GstBinClass to monitor async state changes.
18291 state_cookie in GstElement to detect concurrent gst/set state.
18292 set_state is now virtual too in case a very complicated element
18293 has to be constructed.
18295 2005-10-18 Wim Taymans <wim@fluendo.com>
18297 * check/gst/gstbin.c: (GST_START_TEST):
18298 * check/gst/gstmessage.c: (GST_START_TEST):
18299 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18300 * gst/gstbin.c: (bin_bus_handler):
18301 * gst/gstelement.c: (gst_element_commit_state),
18302 (gst_element_lost_state):
18303 * gst/gstmessage.c: (gst_message_new_state_changed),
18304 (gst_message_new_segment_start), (gst_message_new_segment_done),
18305 (gst_message_new_duration), (gst_message_parse_state_changed),
18306 (gst_message_parse_segment_start),
18307 (gst_message_parse_segment_done), (gst_message_parse_duration):
18308 * gst/gstmessage.h:
18309 * tools/gst-launch.c: (event_loop):
18310 Make messages future proof.
18311 state-change gets a flag if it was a message comming from the
18313 segment-start/stop can also be specified in other formats.
18314 A message to notify an app that a pipeline changed playback
18316 Also fix a GstMessage leak in -launch
18318 2005-10-18 Andy Wingo <wingo@pobox.com>
18320 * gst/gstelement.c (gst_element_dispose): More helpful message.
18322 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18324 reviewed by: <delete if not using a buddy>
18326 * common/gtk-doc.mak:
18328 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18330 * gst/gstregistry.c: (gst_registry_scan_path_level):
18331 unref a plug-in we get that was already initialized
18333 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18335 * docs/gst/gstreamer-sections.txt:
18336 * docs/libs/gstreamer-libs-sections.txt:
18337 * gst/gstelement.h:
18338 add new api entries
18339 hide internal macro
18341 2005-10-17 Andy Wingo <wingo@pobox.com>
18343 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18346 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18348 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18350 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18351 (gst_element_get_state_func): Better debug message.
18352 (gst_element_commit_state): s/INFO/DEBUG/.
18353 (gst_element_lost_state, gst_element_change_state):
18355 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18356 (gst_message_new_custom): s/INFO/LOG/.
18358 2005-10-17 Michael Smith <msmith@fluendo.com>
18360 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18361 Check if end time is valid using end time, not start time.
18363 2005-10-17 Stefan Kost <ensonic@users.sf.net>
18365 * check/gst-libs/controller.c: (GST_START_TEST),
18366 (gst_controller_suite):
18367 * libs/gst/controller/gstcontroller.c:
18368 (gst_controlled_property_set_interpolation_mode):
18369 * libs/gst/controller/gstcontroller.h:
18370 * libs/gst/controller/gstinterpolation.c:
18371 * testsuite/controller/.cvsignore:
18372 * testsuite/controller/Makefile.am:
18373 * testsuite/controller/interpolator.c:
18374 merge controller testsuites
18376 remove mem-chunk from docs
18378 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18380 * gst/gstmemchunk.c:
18381 * gst/gstmemchunk.h:
18382 * gst/gsttrashstack.c:
18383 * gst/gsttrashstack.h:
18384 out. get out. you're fired. to the Attic !
18386 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18388 * gst/gstcaps.c: (gst_caps_intersect):
18389 fix signedness issues in a (hopefully) correct way
18390 * gst/gstelement.c: (gst_element_pads_activate):
18392 * gst/gstobject.c: (gst_object_set_parent):
18395 2005-10-17 Julien MOUTTE <julien@moutte.net>
18397 * gst/gstvalue.h: Fix prototypes.
18399 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18401 * docs/gst/gstreamer-sections.txt:
18402 * gst/gst.c: (gst_version_string):
18404 * gst/gstversion.h.in:
18405 * win32/common/libgstreamer.def:
18406 add gst_version_string ()
18408 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18412 * gst/gst.c: (init_post):
18413 * win32/common/config.h.in:
18415 * gst/gstcaps.c: (gst_caps_intersect):
18416 use gint64, the range could be bigger than a guint
18418 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18421 document potential problem in 2038
18423 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18425 * gst/gstcaps.c: (gst_caps_intersect):
18426 Fix guint j diving under 0
18428 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18431 * win32/common/config.h:
18432 * win32/common/config.h.in:
18433 check for process.h, declares getpid() on Windows
18435 include process.h if we have it
18436 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18437 * gst/gstmemchunk.h:
18438 fix signedness issues
18439 * win32/common/libgstreamer.def:
18442 2005-10-16 Julien MOUTTE <julien@moutte.net>
18444 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18445 fix. Because of unsigned ints, caps intersection was going nuts and
18446 trying to access structures with G_MAXUINT index. That fixes
18447 videotestsrc ! ffmpegcolorspace ! fakesink
18448 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18451 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18454 use the gettext macro
18455 * gst/elements/gstelements.c:
18457 * gst/indexers/gstindexers.c:
18458 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18459 * win32/common/config.h:
18461 * win32/common/config.h.in:
18462 add the template to generate config.h
18463 * win32/common/gstenumtypes.c:
18464 * win32/common/gstversion.h:
18467 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18469 * gst/gst.c: (gst_version):
18470 * gst/gstversion.h.in:
18473 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18476 Oops, add missing closing bracket.
18478 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18481 use common m4's for argument checking
18483 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18485 * docs/gst/gstreamer-sections.txt:
18487 Add GST_EVENT_TYPE_NAME() macro.
18489 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18492 * gst/gstpluginfeature.c:
18494 privatize more symbols
18496 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18499 add srcdir, builddir includes to GST_ALL_CFLAGS, since
18500 everything that uses GStreamer API should have the includes
18502 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18504 * docs/gst/gstreamer-sections.txt:
18505 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18507 give each value a _get_type, removes the DATA exports
18509 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18513 remove _gst_registry_auto_load, not used anymore
18514 * gst/gstbin.c: (gst_bin_get_type):
18516 * gst/gstelement.c: (gst_element_get_type):
18517 * gst/gstelement.h:
18518 * gst/gstobject.c: (gst_object_get_type):
18520 * gst/gstpad.c: (gst_pad_get_type):
18522 make _get_type functions similar, fixes data export from library
18524 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18527 correctly make conditionals
18528 * gst/elements/Makefile.am:
18529 * gst/elements/gstelements.c:
18530 fix typo causing fdsrc not to build
18532 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18534 * testsuite/Makefile.am:
18535 * testsuite/bytestream/.cvsignore:
18536 * testsuite/bytestream/Makefile.am:
18537 * testsuite/bytestream/filepadsink.c:
18538 * testsuite/bytestream/gstbstest.c:
18539 * testsuite/bytestream/test1.c:
18540 * testsuite/bytestream/testfile1:
18541 * testsuite/caps/normalisation.c:
18542 * testsuite/caps/random.c: (main):
18543 * testsuite/cleanup/.cvsignore:
18544 * testsuite/cleanup/Makefile.am:
18545 * testsuite/cleanup/cleanup1.c:
18546 * testsuite/cleanup/cleanup2.c:
18547 * testsuite/cleanup/cleanup3.c:
18548 * testsuite/cleanup/cleanup4.c:
18549 * testsuite/cleanup/cleanup5.c:
18550 * testsuite/controller/interpolator.c:
18551 * testsuite/debug/printf_extension.c: (main):
18552 * testsuite/elements/tee.c:
18553 * testsuite/negotiation/.cvsignore:
18554 * testsuite/negotiation/Makefile.am:
18555 * testsuite/negotiation/pad_link.c:
18556 * testsuite/pad/Makefile.am:
18557 * testsuite/pad/chainnopull.c:
18558 * testsuite/pad/getnopush.c:
18559 * testsuite/pad/link.c:
18560 * testsuite/refcounting/sched.c: (create_pipeline):
18561 * testsuite/registry/Makefile.am:
18562 * testsuite/registry/gst-print-formats.c:
18563 * testsuite/schedulers/.cvsignore:
18564 * testsuite/schedulers/142183-2.c:
18565 * testsuite/schedulers/142183.c:
18566 * testsuite/schedulers/143777-2.c:
18567 * testsuite/schedulers/143777.c:
18568 * testsuite/schedulers/147713.c:
18569 * testsuite/schedulers/147819.c:
18570 * testsuite/schedulers/147894-2.c:
18571 * testsuite/schedulers/147894.c:
18572 * testsuite/schedulers/Makefile.am:
18573 * testsuite/schedulers/group_link.c:
18574 * testsuite/schedulers/queue_link.c:
18575 * testsuite/schedulers/relink.c:
18576 * testsuite/schedulers/unlink.c:
18577 * testsuite/schedulers/unref.c:
18578 * testsuite/schedulers/useless_iteration.c:
18579 * testsuite/states/bin.c:
18580 clean out/remove some stuff from the testsuite directories
18582 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18585 check for some headers
18586 * gst/elements/Makefile.am:
18587 * gst/elements/gstelements.c:
18588 don't compile fdsrc without sys/socket.h
18589 * gst/indexers/Makefile.am:
18590 * gst/indexers/gstindexers.c: (plugin_init):
18591 don't compile fileindex without mmap
18593 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18600 * check/Makefile.am:
18601 * docs/gst/Makefile.am:
18602 * examples/helloworld/Makefile.am:
18604 * gst/base/Makefile.am:
18605 * gst/check/Makefile.am:
18606 * gst/elements/Makefile.am:
18607 * gst/indexers/Makefile.am:
18608 * gst/parse/Makefile.am:
18609 * libs/gst/controller/Makefile.am:
18610 * libs/gst/dataprotocol/Makefile.am:
18611 * examples/helloworld/helloworld.c: (event_loop):
18612 compile fixes, though it's not being compiled currently
18614 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18616 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18617 Add some simple tests for the new taglist date API.
18619 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18621 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18622 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18623 Beautify 'last-message' output: print 'none' for buffer timestamps
18624 and durations if none is set; improve alignment with next messages.
18626 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18628 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18629 * gst/gstpluginfeature.h:
18630 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18631 * gst/gstregistry.h:
18632 * docs/gst/gstreamer-sections.txt:
18633 Add new API to check plugin feature version requirements.
18635 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18636 Some basic tests for the above.
18638 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18640 * gst/gststructure.c: (gst_structure_to_string):
18641 guard against NULL printf - happens when for example
18642 a message structure with GstClock gets serialized
18644 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18646 * gst/base/gstcollectpads.c: (gst_collectpads_event):
18647 Fix presumable copy'n'pasto.
18649 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18651 * gst/elements/gstfakesrc.h:
18652 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18653 * gst/elements/gsttypefindelement.c:
18654 fix some signedness
18655 * gst/elements/gstfilesink.c: (gst_file_sink_render):
18656 I wonder if this could actually write +2GB files before
18658 2005-10-13 Andy Wingo <wingo@pobox.com>
18660 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18661 Fix Timmeke Waymans bug.
18662 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18663 string of the proper length to gst_caps_from_string. There's a
18664 potential for, before this fix, that this could cause someone
18665 connecting over the network to cause a segfault if the payload is
18666 not NUL-terminated.
18668 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18670 * docs/design/draft-push-pull.txt:
18671 * docs/design/part-overview.txt:
18672 * docs/random/TODO-pre-0.9:
18673 * docs/random/old/ChangeLog.gstreamer:
18674 * gst/base/gstpushsrc.c:
18678 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18680 * gst/glib-compat.c: (gst_flags_get_first_value):
18681 * gst/glib-compat.h:
18682 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18683 (gst_value_compare_double), (gst_value_serialize_flags):
18684 GLib 2.6 g_flags_get_first_value has a bug that triggers an
18687 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18690 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18692 * tools/gst-launch.c: (event_loop):
18693 print out clock nicely
18695 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18697 * docs/gst/gstreamer-sections.txt:
18698 * gst/gsttaglist.h:
18699 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18700 (gst_tag_list_get_date_index):
18701 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18702 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18704 2005-10-13 Julien MOUTTE <julien@moutte.net>
18706 * gst/base/gstcollectpads.c: (gst_collectpads_event),
18707 (gst_collectpads_chain):
18708 * gst/base/gstcollectpads.h: Handle newsegment and store informations
18711 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18713 * docs/gst/gstreamer-sections.txt:
18716 * tools/gst-inspect.c: (main):
18717 * tools/gst-launch.c: (main):
18718 * tools/gst-run.c: (main):
18719 * tools/gst-xmlinspect.c: (main):
18720 fix GOption context leaks
18723 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18727 * win32/common/config.h:
18729 * win32/vs6/grammar.dsp:
18730 * win32/vs6/libgstelements.dsp:
18731 * win32/vs6/libgstreamer.dsp:
18734 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18737 * gst/base/gstbasesrc.c: (gst_base_src_query):
18738 fix more guint64<->gdouble conversions
18740 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18743 add win32-update target
18744 * win32/common/gstconfig.h:
18745 * win32/common/gstenumtypes.c:
18746 * win32/common/gstenumtypes.h:
18747 * win32/common/gstversion.h:
18748 add files that visual studio can't generate
18750 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18753 add a win32-update target
18756 2005-10-12 Wim Taymans <wim@fluendo.com>
18758 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18759 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18760 * gst/gstelement.c: (gst_element_commit_state),
18761 (gst_element_set_state):
18762 Protect flags with proper lock.
18763 unref provided cached clock in dispose.
18765 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18768 * gst/gstminiobject.h:
18770 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18771 removed unused flags from miniobject
18774 2005-10-12 Wim Taymans <wim@fluendo.com>
18776 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18777 (gst_file_sink_event), (gst_file_sink_render):
18778 Flush before seeking.
18780 2005-10-12 Andy Wingo <wingo@pobox.com>
18782 * gst/gst.c (gst_init_check): Ignore unknown options, as has
18783 always been the case.
18785 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18787 * check/gst/gstbin.c: (GST_START_TEST):
18788 * docs/gst/gstreamer-sections.txt:
18789 * gst/base/gstbasesink.c: (gst_base_sink_init):
18790 * gst/base/gstbasesrc.c: (gst_base_src_init),
18791 (gst_base_src_get_range), (gst_base_src_check_get_range),
18792 (gst_base_src_start), (gst_base_src_stop):
18793 * gst/base/gstbasesrc.h:
18794 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18795 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18796 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18800 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18802 * gst/gstelement.c: (gst_element_is_locked_state),
18803 (gst_element_set_locked_state), (gst_element_commit_state),
18804 (gst_element_set_state):
18805 * gst/gstelement.h:
18806 * gst/gstindex.c: (gst_index_init):
18808 * gst/gstminiobject.h:
18809 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18810 (gst_object_set_parent):
18812 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18813 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18815 * gst/gstpadtemplate.h:
18816 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18817 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18818 * gst/gstpipeline.h:
18819 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18820 (gst_file_index_commit):
18821 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18822 * testsuite/pad/link.c: (gst_test_src_init),
18823 (gst_test_filter_init), (gst_test_sink_init):
18824 * testsuite/states/locked.c: (main):
18825 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18826 moved bitshift from macro to enum definition
18828 2005-10-12 Wim Taymans <wim@fluendo.com>
18830 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18831 * gst/elements/gstfilesink.c: (gst_file_sink_event),
18832 (gst_file_sink_render):
18833 Some more debugging info.
18835 2005-10-12 Wim Taymans <wim@fluendo.com>
18837 * docs/design/part-states.txt:
18838 * tools/gst-launch.c: (main):
18840 Revert non-intentional change.
18842 2005-10-12 Wim Taymans <wim@fluendo.com>
18844 * check/gst/gstbin.c: (GST_START_TEST):
18845 * check/gst/gstelement.c: (GST_START_TEST):
18846 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18847 * check/gst/gstghostpad.c: (GST_START_TEST):
18848 * check/gst/gstpipeline.c: (GST_START_TEST):
18849 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18850 * check/states/sinks.c: (GST_START_TEST):
18851 * gst/elements/gsttypefindelement.c: (stop_typefinding):
18852 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18853 (gst_bin_remove_func), (gst_bin_get_state_func),
18854 (gst_bin_recalc_state), (gst_bin_change_state_func),
18856 * gst/gstelement.c: (gst_element_get_state_func),
18857 (gst_element_get_state), (gst_element_abort_state),
18858 (gst_element_commit_state), (gst_element_set_state),
18859 (gst_element_change_state), (gst_element_change_state_func):
18860 * gst/gstelement.h:
18861 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18862 (gst_pipeline_provide_clock_func):
18863 * gst/gstutils.c: (gst_element_link_pads_filtered):
18864 * tools/gst-launch.c: (main):
18865 * tools/gst-typefind.c: (main):
18866 Use GstClockTime in _get_state() instead of GTimeVal.
18867 Remove old code in gstutils.c
18869 2005-10-12 Andy Wingo <wingo@pobox.com>
18871 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18874 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18875 there is no task. Shouldn't affect any code, as nothing in our
18876 plugins checks this return value.
18877 (gst_pad_stop_task): Also take the stream lock if the pad has no
18878 task. Docs updated.
18880 2005-10-12 Wim Taymans <wim@fluendo.com>
18882 * gst/gstpad.c: (pre_activate), (post_activate),
18883 (gst_pad_activate_pull), (gst_pad_activate_push):
18884 Cleanup activation code. Reset old state if
18887 2005-10-12 Wim Taymans <wim@fluendo.com>
18889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18890 (gst_base_sink_change_state):
18891 No need to prerol after receiving EOS.
18893 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18894 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18895 * gst/elements/gstidentity.c: (gst_identity_event):
18896 Print events more verbosely.
18898 2005-10-12 Wim Taymans <wim@fluendo.com>
18900 * check/Makefile.am:
18901 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18902 * check/states/sinks2.c:
18903 Moved sinks2 testcode in sinks check.
18905 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18906 (gst_bin_remove_func), (gst_bin_recalc_state),
18907 (gst_bin_change_state_func), (bin_bus_handler):
18908 Fix potential race condition when _get_state() iterated over an
18909 ASYNC element right before it posted a state completion.
18912 Do proper cast here.
18914 * gst/gstevent.c: (gst_event_new_newsegment),
18915 (gst_event_parse_newsegment):
18916 A playback rate of 0.0 is not allowed.
18918 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18920 * win32/common/config.h:
18921 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18922 (_trewinddir), (_ttelldir), (_tseekdir):
18923 * win32/common/dirent.h:
18924 * win32/common/gtchar.h:
18925 * win32/common/libgstbase.def:
18926 * win32/common/libgstreamer.def:
18927 * win32/vs6/grammar.dsp:
18928 * win32/vs6/gst_inspect.dsp:
18929 * win32/vs6/gst_launch.dsp:
18930 * win32/vs6/gstreamer.dsw:
18931 * win32/vs6/libgstbase.dsp:
18932 * win32/vs6/libgstelements.dsp:
18933 * win32/vs6/libgstreamer.dsp:
18934 Visual Studio 6 project files, and a new common directory.
18937 2005-10-11 Wim Taymans <wim@fluendo.com>
18939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18940 (gst_base_sink_do_sync), (gst_base_sink_query),
18941 (gst_base_sink_change_state):
18942 * gst/base/gstbasesink.h:
18943 Correctly parse newsegment info.
18945 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18947 * gst/gst.c: (init_post):
18948 split plugin paths correctly
18950 2005-10-11 Wim Taymans <wim@fluendo.com>
18952 * check/gst/gstevent.c: (GST_START_TEST):
18953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18954 (gst_base_sink_change_state):
18955 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18956 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18957 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18958 * gst/gstevent.c: (gst_event_new_newsegment),
18959 (gst_event_parse_newsegment):
18961 Added extra flag to newsegment for future API freeze.
18962 Updated check and base elements.
18964 2005-10-11 Julien MOUTTE <julien@moutte.net>
18966 * gst/base/gstcollectpads.c: (gst_collectpads_init),
18967 (gst_collectpads_add_pad), (gst_collectpads_pop),
18968 (gst_collectpads_event), (gst_collectpads_chain):
18969 * gst/base/gstcollectpads.h: Handle EOS correctly.
18971 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18973 * tools/gst-launch.c: (main):
18974 more null protecting
18976 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18978 * gst/gst-i18n-lib.h:
18979 check for ENABLE_NLS, not GETTEXT_PACKAGE
18980 * gst/gstregistry.c: (gst_registry_add_plugin),
18981 (gst_registry_scan_path_level),
18982 (_gst_registry_remove_cache_plugins):
18983 protect possibly NULL strings
18984 * gst/parse/types.h:
18985 config.h already included before
18986 * tools/gst-inspect.c: (main):
18987 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18988 check for ENABLE_NLS, not GETTEXT_PACKAGE
18989 * tools/gst-launch.c: (main):
18990 check for ENABLE_NLS, not GETTEXT_PACKAGE
18992 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18995 if we don't have glib, fail before testing 2.8
18996 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18997 fix a leak, should fix plugins-base testsuite
18999 2005-10-11 Andy Wingo <wingo@pobox.com>
19001 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19002 take the mode we're going to as an arg. Go head and set the mode
19003 and flushing flags now, so that if the activate function starts a
19004 thread all the flags will be in the right state.
19005 (post_activate): Renamed also. Just handle making sure streaming
19006 finishes for the deactivation case, and setting the deactivated
19008 (gst_pad_set_active): Complain loudly if deactivation fails.
19009 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19010 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19011 remove the terrible hack.
19013 2005-10-11 Wim Taymans <wim@fluendo.com>
19015 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19016 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19017 (gst_bin_recalc_state), (gst_bin_change_state_func),
19018 (gst_bin_dispose), (bin_bus_handler):
19020 Prepare to make current EOS message queue more generic.
19023 * gst/gstevent.c: (gst_event_new_newsegment),
19024 (gst_event_parse_newsegment):
19026 Rename base to stream_time.
19028 * gst/gstmessage.h:
19031 2005-10-11 Wim Taymans <wim@fluendo.com>
19033 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19034 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19035 (gst_bin_change_state_func), (bin_bus_handler):
19037 Work on proper clock selection.
19039 2005-10-11 Edward Hervey <edward@fluendo.com>
19041 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19042 * libs/gst/controller/gstcontroller.h:
19043 Added GList* version of _remove_properties() in order to be able to wrap
19046 2005-10-11 Wim Taymans <wim@fluendo.com>
19048 * docs/design/part-states.txt:
19051 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19052 (gst_bin_change_state_func), (bin_bus_handler):
19053 Doc updates. Don't distribute the same clock over and over again.
19059 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19060 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19061 (gst_pad_send_event):
19063 Make probe emission threadsafe again.
19064 Register quarks and move _get_name() from utils.
19067 * gst/gstpipeline.c: (gst_pipeline_class_init),
19068 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19069 Only redistribute the clock of it changed.
19071 * gst/gstsystemclock.h:
19076 Moved the _flow_get_name() to GstPad.
19078 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19080 * check/gst-libs/gdp.c: (GST_START_TEST):
19081 * check/gst/gstcaps.c: (GST_START_TEST):
19082 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19083 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19084 (gst_dp_packet_from_caps):
19085 fix more valgrind warnings before turning up the heat
19087 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19089 * gst/parse/grammar.y:
19090 some cleanup before the hacking
19092 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19094 * gst/base/gstbasesrc.c: (gst_base_src_query):
19096 * gst/gstutils.c: (gst_guint64_to_gdouble),
19097 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19099 externalize, basesrc uses it
19100 obviously the implementation needs testing
19102 2005-10-10 Wim Taymans <wim@fluendo.com>
19104 * tests/sched/Makefile.am:
19105 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19106 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19108 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19110 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19111 apparently converting from guint64 to double is not implemented
19114 2005-10-10 Wim Taymans <wim@fluendo.com>
19116 * check/Makefile.am:
19117 * check/generic/states.c: (GST_START_TEST):
19118 * check/gst/gstbin.c: (GST_START_TEST):
19119 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19120 * check/states/sinks.c: (GST_START_TEST):
19121 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19123 Check fixes, use API as stated in design docs, remove hacks.
19125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19126 (gst_base_sink_change_state):
19127 Catch stopping our task while we're shutting down.
19129 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19130 (gst_bin_remove_func), (gst_bin_get_state_func),
19131 (gst_bin_recalc_state), (gst_bin_change_state_func),
19134 * gst/gstelement.c: (gst_element_init),
19135 (gst_element_get_state_func), (gst_element_abort_state),
19136 (gst_element_commit_state), (gst_element_lost_state),
19137 (gst_element_set_state), (gst_element_change_state),
19138 (gst_element_change_state_func):
19139 * gst/gstelement.h:
19140 New state change algorithm (see #318116)
19142 * gst/gstpipeline.c: (gst_pipeline_class_init),
19143 (gst_pipeline_init), (gst_pipeline_set_property),
19144 (gst_pipeline_get_property), (do_pipeline_seek),
19145 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19146 * gst/gstpipeline.h:
19147 Remove crude state change hacks.
19150 Remove crude hacks.
19152 * tools/gst-launch.c: (main):
19153 Fixes for state change. Needs some more work to fully use the
19156 2005-10-10 Andy Wingo <wingo@pobox.com>
19158 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19160 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19161 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19164 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19166 * gst/gstiterator.c: (gst_iterator_new):
19167 Fix my previous commit: GTypes passed to gst_iterator_new()
19168 can be fundamental types.
19170 2005-10-10 Wim Taymans <wim@fluendo.com>
19172 * gst/gstelement.c: (gst_element_iterate_pad_list),
19173 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19174 (gst_element_iterate_sink_pads):
19175 Use src/sink pads lists for the respective iterators instead
19178 2005-10-10 Andy Wingo <wingo@pobox.com>
19180 Merged in popt removal + GOption addition patch from Ronald, bug
19183 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19184 GstElement macros around, remove popt-related symbols, add goption
19187 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19189 * docs/gst/Makefile.am:
19190 * docs/libs/Makefile.am: No POPT_CFLAGS.
19192 * examples/manual/Makefile.am:
19193 * docs/manual/basics-init.xml: Doc updates with an example.
19195 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19196 (gst_init), (parse_one_option), (parse_goption_arg):
19197 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19198 bit of hand merging and debugging to get the GOption stuff working
19201 * tests/Makefile.am:
19202 * tools/Makefile.am:
19203 * tools/gst-inspect.c: (main):
19204 * tools/gst-launch.c: (main):
19205 * tools/gst-run.c: (main):
19206 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19208 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19210 * gst/gstiterator.c: (gst_iterator_new):
19211 Add assertions to make sure passed GType is likely to really
19212 be a GType (as the compiler won't catch it if the size and
19213 GType arguments get mixed up, see #318447).
19215 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19217 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19219 * gst/gstbin.c: (gst_bin_iterate_sorted):
19220 Pass GType and size arguments to gst_iterator_new() in the right
19221 order (maybe we should make _new() take the GType as first argument
19222 just like _new_list()?) (#318447).
19225 2005-10-10 Wim Taymans <wim@fluendo.com>
19227 * gst/gstelement.c: (gst_element_finalize):
19228 And free the GStaticRecMutex too
19230 2005-10-10 Andy Wingo <wingo@pobox.com>
19232 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19233 Allocate and free the mutex properly.
19235 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19237 (GstElement): The state_lock is now recursive. Rebuild your
19238 plugins, suckers. Old macros adapted.
19240 * docs/gst/gstreamer-sections.txt: Doc updates.
19243 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19244 (g_static_rec_cond_wait): Ported from state changes patch, while
19245 we wait on bug #317802 to be solved in a well-distributed GLib.
19247 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19248 gst_element_change_state, variable name changes.
19249 (gst_element_change_state): Split out of gst_element_set_state in
19250 preparation for the state change merge. Doesn't pay attention to
19251 the 'transition' argument.
19252 (gst_element_set_state): Updates, hopefully purely cosmetic.
19253 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19254 state change patch.
19255 (gst_element_get_state_func): Renamed from get_state, cosmetic
19258 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19260 * gst/elements/gstelements.c:
19261 * win32/GStreamer.vcproj:
19263 * win32/dirent.c: (_tseekdir):
19264 * win32/gst-inspect.vcproj:
19265 * win32/gst-launch.vcproj:
19266 * win32/gstconfig.h:
19267 * win32/gstelements.vcproj:
19268 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19269 * win32/gstreamer.def:
19270 * win32/msvc71.sln:
19271 updates for the win32 build (patch from Sebastien Moutte)
19273 2005-10-10 Andy Wingo <wingo@pobox.com>
19275 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19276 gst_bin_get_state, cleaned up (but no logic changes).
19277 (bin_element_is_sink): Comment updates.
19278 (sink_iterator_filter): Remove needless cast.
19279 (gst_bin_iterate_sinks): Doc update.
19280 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19281 cleaned up (but no logic changes).
19283 * check/states/sinks.c (test_src_sink): Cleanups from the state
19285 (test_livesrc_sink): Sync on the state.
19287 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19288 the state change patch.
19290 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19293 * check/gst/gstbin.c: Merge in some style fixes and additional
19294 checks from Wim's state change patch.
19296 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19298 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19299 (gst_type_find_helper):
19300 Check whether we have the requested data already in our list of
19301 cached buffers before pulling a new buffer; also make the buffer
19302 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19304 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19309 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19310 don't use long long, it's not portable. Replacing with
19311 gint64 seems to work; let's hope no skeletons fall out of the closet.
19313 2005-10-10 Andy Wingo <wingo@pobox.com>
19315 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19317 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19319 * docs/gst/gstreamer-sections.txt:
19324 * gst/gstmessage.c: (gst_message_parse_state_changed):
19327 more docs, fix compilation
19329 2005-10-09 Philippe Khalaf <burger@speedy.org>
19330 * gst/gstmessage.c:
19331 Fixed a few forgotten variables on previous commit
19333 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19335 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19336 Fix evil typefind crasher: getrange() might return a short
19337 buffer at the end of a file, but gst_type_find_peek() must
19338 either return the full data as requested or NULL, but
19339 never a short buffer.
19341 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19343 * gst/gstmessage.c: (gst_message_new_state_changed),
19344 (gst_message_parse_state_changed):
19345 * gst/gstmessage.h:
19346 don't use "new", it's a C++ keyword
19348 2005-10-08 Wim Taymans <wim@fluendo.com>
19350 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19351 * gst/gstelement.c: (gst_element_post_message):
19352 * gst/gstpipeline.c: (gst_pipeline_change_state):
19353 Small docs and debug updates.
19355 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19357 * docs/gst/gstreamer-sections.txt:
19358 * gst/gstelementfactory.c:
19360 * gst/gsttaglist.c:
19363 2005-10-08 Wim Taymans <wim@fluendo.com>
19365 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19366 (gst_bin_dispose), (bin_bus_handler):
19367 Fix typos, add comments.
19368 Clear EOS list when going to PAUSED from any direction and do it
19369 in a threadsafe way.
19370 Get base time in a threadsafe way too.
19371 Fix confusing debug in the change_state function.
19372 Various other small cleanups.
19374 * gst/gstelement.c: (gst_element_post_message):
19375 Fix very verbose bus posting code.
19377 * gst/gstpipeline.c: (gst_pipeline_class_init),
19378 (gst_pipeline_set_property), (gst_pipeline_get_property),
19379 (gst_pipeline_change_state):
19380 Small ARG_ -> PROP_ cleanup
19382 2005-10-08 Wim Taymans <wim@fluendo.com>
19384 * gst/gstbin.c: (is_eos), (bin_bus_handler):
19385 Do a less CPU demanding EOS check because we can.
19387 2005-10-08 Wim Taymans <wim@fluendo.com>
19389 * libs/gst/dataprotocol/dataprotocol.c:
19390 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19391 (gst_dp_packet_from_event):
19392 * libs/gst/dataprotocol/dataprotocol.h:
19393 * libs/gst/dataprotocol/dp-private.h:
19394 It's about time we bump the version number.
19395 Since event types don't fit in the guint8 anymore describing
19396 the payload type, make payload type 16 bits wide.
19398 2005-10-08 Wim Taymans <wim@fluendo.com>
19400 * docs/design/part-TODO.txt:
19401 * docs/design/part-clocks.txt:
19402 * docs/design/part-events.txt:
19403 * docs/design/part-gstbin.txt:
19404 * docs/design/part-gstelement.txt:
19405 * docs/design/part-gstpipeline.txt:
19406 * docs/design/part-live-source.txt:
19407 * docs/design/part-messages.txt:
19408 * docs/design/part-overview.txt:
19409 * docs/design/part-states.txt:
19412 2005-10-08 Wim Taymans <wim@fluendo.com>
19416 Fix event quark registration.
19417 Add some space between events so we can insert them in the
19420 2005-10-08 Wim Taymans <wim@fluendo.com>
19422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19423 (gst_base_sink_handle_buffer):
19424 Better log message.
19427 * gst/gstelement.h:
19430 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19431 (gst_queue_set_property), (gst_queue_get_property):
19433 Remove old unused properties.
19435 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19436 * docs/gst/gstreamer-sections.txt:
19437 * gst/gstmessage.c:
19438 * gst/gstmessage.h:
19439 * gst/gstminiobject.c:
19440 * gst/gstminiobject.h:
19444 lots of new docs and doc fixes
19446 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19448 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19450 * gst/gstregistry.c: (gst_registry_lookup_locked),
19451 (gst_registry_scan_path_level):
19452 * gst/gstregistryxml.c: (load_plugin):
19453 Only ever load one plugin for a given plugin basename.
19454 This ensures correct overriding of GST_PLUGIN_PATH over
19455 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19456 system installed plugins.
19458 2005-10-08 Wim Taymans <wim@fluendo.com>
19460 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19461 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19462 Prepare for doing QOS.
19464 2005-10-08 Wim Taymans <wim@fluendo.com>
19466 * check/gst/gstbin.c: (GST_START_TEST):
19467 * check/pipelines/cleanup.c: (GST_START_TEST):
19468 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19469 Allow new clock message too.
19471 2005-10-08 Wim Taymans <wim@fluendo.com>
19473 * gst/gstmessage.c: (gst_message_new_error),
19474 (gst_message_new_warning), (gst_message_new_tag),
19475 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19476 (gst_message_new_clock_lost), (gst_message_new_new_clock),
19477 (gst_message_new_segment_start), (gst_message_new_segment_done),
19478 (gst_message_parse_state_changed),
19479 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19480 (gst_message_parse_new_clock):
19481 * gst/gstmessage.h:
19482 Also carry the clock in question.
19484 2005-10-08 Wim Taymans <wim@fluendo.com>
19486 * gst/gstmessage.c: (gst_message_new_custom),
19487 (gst_message_new_eos), (gst_message_new_error),
19488 (gst_message_new_warning), (gst_message_new_tag),
19489 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19490 (gst_message_new_new_clock), (gst_message_new_segment_start),
19491 (gst_message_new_segment_done), (gst_message_parse_state_changed),
19492 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19493 * gst/gstmessage.h:
19495 Added clock related messages.
19497 * gst/gstpipeline.c: (gst_pipeline_change_state):
19498 Post message when the clock changed.
19500 * tools/gst-launch.c: (event_loop):
19503 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
19505 * tools/gst-inspect.c: (print_element_properties_info):
19506 Can't pass NULL strings to g_print() on windows.
19508 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19510 * docs/Makefile.am:
19511 * docs/gst/Makefile.am:
19512 * docs/gst/gstreamer-docs.sgml:
19513 * docs/gst/running.xml:
19514 * docs/version.entities.in:
19515 add a chapter on running GStreamer.
19516 document GST_DEBUG and GST_PLUGIN* env vars
19518 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19523 remove PLUGINS_BUILDDIR stuff
19524 * gst/gst.c: (init_post):
19525 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19527 remove, it was condescending and not needed
19529 2005-10-08 Wim Taymans <wim@fluendo.com>
19531 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19532 (gst_base_sink_handle_object), (gst_base_sink_event),
19533 (gst_base_sink_wait), (gst_base_sink_handle_event),
19534 (gst_base_sink_change_state):
19535 * gst/base/gstbasesink.h:
19536 Repost EOS message while going to PLAYING if still EOS.
19537 Make sure that when receiving a FLUSH_START we don't attempt
19538 to sync on the clock anymore.
19540 2005-10-08 Wim Taymans <wim@fluendo.com>
19542 * tools/gst-launch.c: (event_loop):
19543 Better message printout.
19545 2005-10-08 Wim Taymans <wim@fluendo.com>
19547 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19548 (gst_bin_child_proxy_get_children_count):
19549 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19550 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19551 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19552 (gst_child_proxy_set_valist):
19553 * gst/parse/grammar.y:
19554 Make ChildProxy threadsafe and fix mem leaks.
19556 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19558 * gst/gst.c: (init_post):
19559 debug the GST_PLUGIN_ env vars
19561 2005-10-08 Wim Taymans <wim@fluendo.com>
19563 * check/gst/gstbin.c: (GST_START_TEST):
19564 * check/gst/gstmessage.c: (GST_START_TEST):
19565 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19566 * gst/gstelement.c: (gst_element_commit_state),
19567 (gst_element_lost_state):
19568 * gst/gstmessage.c: (gst_message_new_state_changed),
19569 (gst_message_parse_state_changed):
19570 * gst/gstmessage.h:
19571 * tools/gst-launch.c: (event_loop):
19572 Added extra field to STATE_CHANGE message with the pending
19573 state, which will be different from the new state soon.
19575 2005-10-08 Wim Taymans <wim@fluendo.com>
19577 * gst/gstbus.c: (gst_bus_pop):
19579 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19580 Small cleanups and doc updates.
19582 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19584 * gst/gst.c: (init_pre):
19585 * gst/gstbin.c: (gst_bin_add_func):
19586 log distributing clocks and base time
19587 * gst/gstregistry.c: (gst_registry_add_plugin),
19588 (gst_registry_scan_path_level), (gst_registry_scan_path):
19589 clean up the debugging output a little
19590 * gst/gstutils.c: (gst_element_state_get_name):
19591 warn about a memleak (I've actually seen this be used, though
19592 it was probably a bug)
19594 2005-10-07 Wim Taymans <wim@fluendo.com>
19596 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19597 (gst_base_src_init), (gst_base_src_default_newsegment),
19598 (gst_base_src_newsegment), (gst_base_src_do_seek),
19599 (gst_base_src_loop), (gst_base_src_start):
19600 * gst/base/gstbasesrc.h:
19601 Make the newsegment event customizable by subclasses.
19603 2005-10-07 Wim Taymans <wim@fluendo.com>
19605 * gst/gstevent.c: (gst_event_new_buffersize),
19606 (gst_event_parse_buffersize):
19608 New event for future idea.
19610 2005-10-07 Andy Wingo <wingo@pobox.com>
19612 * gst/gstelement.c (gst_element_post_message): Doc update.
19614 * docs/gst/gstreamer-sections.txt: Update.
19616 * gst/gstmessage.c (gst_message_new_application): Made into a
19617 function like honest API calls.
19618 (gst_message_new_element): New message type.
19620 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19622 * check/elements/fakesrc.c (test_no_preroll): New check, checks
19623 that setting a live fakesrc to PAUSED returns NO_PREROLL both
19626 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19627 NO_PREROLL from gst_element_change_state to fall through.
19629 2005-10-07 Wim Taymans <wim@fluendo.com>
19631 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19632 (gst_ghost_pad_do_activate_push):
19633 Activating a ghostpad with no internal pad in push mode
19636 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
19639 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19640 Fixes compilation on Windows.
19642 2005-10-07 Michael Smith <msmith@fluendo.com>
19644 * tools/gst-inspect.c:
19645 Print out feature and plugin count at the end when printing out
19648 2005-10-04 Michael Smith <msmith@fluendo.com>
19650 * gst/gsterror.c: (_gst_stream_errors_init):
19651 Add another error string used in a few existing plugins.
19654 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19655 * tools/gst-inspect.c: (print_element_info):
19656 When a feature disappears from a plugin (and the feature exists in
19657 the cached registry file), things went horribly wrong. This isn't a
19658 complete fix, we should actually be removing the 'missing' features
19659 from the features list when we load the actual plugin. That's not
19662 2005-10-04 Johan Dahlin <johan@gnome.org>
19664 * check/gst/gstiterator.c: (GST_START_TEST):
19665 * gst/gstbin.c: (gst_bin_iterate_elements),
19666 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19667 * gst/gstelement.c: (gst_element_iterate_pads):
19668 * gst/gstformat.c: (gst_format_iterate_definitions):
19669 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19670 (gst_iterator_new_list), (gst_iterator_filter):
19671 * gst/gstiterator.h:
19672 * gst/gstquery.c: (gst_query_type_iterate_definitions):
19673 Add a GType to GstIterator, update callsites and tests.
19675 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19677 * gst/gstpad.c: (gst_pad_event_default_dispatch):
19678 give events a chance to be handled by event probes when the pad
19681 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19683 * gst/gstevent.c: (gst_event_type_get_name),
19684 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19686 add string representations for event types
19688 2005-10-06 Wim Taymans <wim@fluendo.com>
19690 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19691 Don't use NULL pointers.
19693 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * gst/gst_private.h:
19697 * gst/gstelement.c:
19699 * gst/gstpluginfeature.c:
19700 widen the debug category in output to fit the biggest one we have
19701 add a bus category and use it
19702 play with the colors
19703 fix up some categories
19705 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19707 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19708 add push activation of sink ghost pads.
19709 Andye, please verify
19711 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19713 * gst/gstutils.c: (gst_element_link_pads):
19714 fix a bug in the case where neither element has a pad
19715 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19716 add a test for that case
19718 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19720 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19721 emit have-data before checking for peers. This allows
19722 for probe handlers to connect elements. This helps autopluggers.
19723 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19725 add six checks, linked/unlinked with no/true/false probe
19727 2005-10-04 Wim Taymans <wim@fluendo.com>
19729 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19730 (gst_fake_sink_event), (gst_fake_sink_preroll),
19731 (gst_fake_sink_render), (gst_fake_sink_change_state):
19732 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19733 (gst_fake_src_get_property), (gst_fake_src_create),
19734 (gst_fake_src_stop):
19735 * gst/elements/gstidentity.c: (gst_identity_stop):
19736 Protect last_message with lock.
19738 2005-10-04 Edward Hervey <edward@fluendo.com>
19741 Added precision in the comments for GST_FORMAT_DEFAULT
19743 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
19745 * tools/gst-launch.c: (main):
19746 Don't try to run erroneous pipelines.
19748 2005-10-04 Julien MOUTTE <julien@moutte.net>
19750 * gst/gstbus.c: We don't need this header.
19752 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19755 back to development
19757 === release 0.9.3 ===
19759 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19763 Releasing 0.9.3, "Unregistered"
19765 2005-10-03 Andy Wingo <wingo@pobox.com>
19767 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19768 whereby calling a pad's activatepush() function can start a thread
19769 that starts to push or pull before the pad gets the FLUSHING flag
19770 unset. Hack around it by holding the stream lock until the flag is
19771 set. Need to replace this with a proper solution. Together with
19772 the ghost pad fixes, this fixes mp3 playing/tagreading.
19774 * docs/design/part-gstghostpad.txt: Add a note about activation of
19775 proxy pads outside of ghost pads.
19777 * gst/gstghostpad.c: Implement the ghost pad activation design.
19779 2005-10-02 Andy Wingo <wingo@pobox.com>
19781 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19782 It is volatile, after all.
19784 * docs/design/part-gstghostpad.txt: Flesh out activation with
19787 * gst/base/gstbasesrc.c (gst_base_src_init): Use
19790 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
19793 Fix (unused) AM_CONDITIONAL tests.
19795 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
19797 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19799 * gst/gstutils.c: (gst_pad_query_convert):
19800 Add assertion that makes sure src_val is >=0, just like
19801 gst_query_new_convert() has. (#315895)
19803 2005-09-30 Edward Hervey <edward@fluendo.com>
19805 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19806 Let's not iterate pads we're not interested in, it avoids getting
19807 sky-high refcounts on sinkpad.
19809 2005-09-30 Wim Taymans <wim@fluendo.com>
19811 * gst/gstelement.c: (gst_element_set_state),
19812 (gst_element_change_state):
19813 Small tweak, element in ASYNC remains ASYNC.
19815 2005-09-30 Wim Taymans <wim@fluendo.com>
19817 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19818 Only error is an error.
19820 * gst/gstbin.c: (gst_bin_change_state):
19823 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19824 Also call pad_block in pad alloc.
19826 * gst/gstutils.c: (gst_flow_get_name):
19829 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19831 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19832 (gst_base_src_get_range):
19833 Fix documentation typos. Add some more debug info.
19835 2005-09-29 David Schleef <ds@schleef.org>
19837 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19838 more end-user friendly.
19839 * tools/gst-inspect.c: (main): Check if command-line argument is
19840 a file and attempt to load that file as a plugin.
19842 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19844 * check/gst/gstbin.c:
19845 * check/states/sinks.c:
19846 fix tests for the new warning
19847 * check/gst/gstpipeline.c:
19848 add a test for pipeline and bus interaction
19849 * gst/gstelement.c:
19850 elements should be NULL if they get disposed; add a warning if not
19852 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19855 for 2.6 refcounting, make debug log more correct by printing
19856 the actual refcounts at the time of swap (Wim)
19858 2005-09-29 Andy Wingo <wingo@pobox.com>
19860 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19861 removes signal watches previously added via
19862 gst_bus_add_signal_watch.
19863 (gst_bus_add_signal_watch): Don't return the source id, just store
19864 it on the bus if there wasn't an id already.
19866 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19867 add_signal_watch and remove_signal_watch.
19869 2005-09-29 Edward Hervey <edward@fluendo.com>
19871 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
19872 Better if we actually iterate the list :)
19874 2005-09-29 Wim Taymans <wim@fluendo.com>
19876 * check/gst/gstbin.c: (GST_START_TEST):
19877 Change for new bus API.
19879 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19880 (send_messages), (GST_START_TEST), (gstbus_suite):
19881 Change for new bus signal API.
19883 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19884 (gst_bus_source_prepare), (gst_bus_source_check),
19885 (gst_bus_create_watch), (gst_bus_add_watch_full),
19886 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19887 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19889 Remove support for multiple GSources operating on different
19890 message types as it is too complex and unneeded when using
19892 Added support for receiving signals from the bus.
19894 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19896 * docs/libs/tmpl/gstdataprotocol.sgml:
19897 * docs/manual/advanced-dataaccess.xml:
19898 * gst/elements/gstcapsfilter.c:
19900 rename filter-caps to caps property
19902 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19904 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19905 More robust fraction string parsing.
19907 * docs/pwg/appendix-porting.xml:
19908 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19910 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19912 * gst/gstcaps.c: (gst_caps_do_simplify):
19913 Thou shalt not free a structure and then continue using it
19914 in the next loop iteration.
19916 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19918 Add test case for caps simplification.
19920 2005-09-29 Wim Taymans <wim@fluendo.com>
19922 * check/gst/gstbin.c: (GST_START_TEST):
19925 2005-09-29 Wim Taymans <wim@fluendo.com>
19927 * check/gst/gstbin.c: (GST_START_TEST):
19930 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19931 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19932 (find_element), (gst_bin_sort_iterator_next),
19933 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19934 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19935 (gst_bin_change_state), (gst_bin_dispose):
19936 A bin does not have a bus, it gets the bus from the parent.
19938 * gst/gstelement.c: (gst_element_requires_clock),
19939 (gst_element_provides_clock), (gst_element_is_indexable),
19940 (gst_element_is_locked_state), (gst_element_change_state),
19941 (gst_element_set_bus_func):
19944 * gst/gstpipeline.c: (gst_pipeline_class_init),
19945 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19946 The pipeline provides a bus.
19948 2005-09-28 Johan Dahlin <johan@gnome.org>
19950 * gst/gstmessage.c (gst_message_parse_state_changed): Use
19951 gst_structure_get_enum instead of gst_structure_get_int
19953 * gst/gststructure.c (gst_structure_get_enum): Impl.
19955 * gst/gststructure.h (gst_structure_get_enum): Add
19957 * docs/gst/gstreamer-sections.txt: Ditto
19959 * gst/gstmessage.c (gst_message_new_state_changed): Use
19960 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19961 which does introspection.
19962 Reviewed by Christian Schaller
19964 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19966 * gst/gstinfo.c: (gst_debug_log_default):
19967 don't do dummy g_strdup()s
19968 * libs/gst/controller/gstcontroller.c:
19969 (on_object_controlled_property_changed),
19970 (gst_controlled_property_new), (gst_controller_new_valist),
19971 (gst_controller_new_list),
19972 (gst_controller_remove_properties_valist), (gst_controller_set),
19973 (gst_controller_get), (gst_controller_sync_values),
19974 (gst_controller_get_value_array), (_gst_controller_class_init),
19975 (gst_controller_get_type):
19976 * libs/gst/controller/gstcontroller.h:
19977 * libs/gst/controller/gstinterpolation.c:
19978 (gst_controlled_property_find_timed_value_node):
19979 convert // to /**/ comments
19981 2005-09-28 Wim Taymans <wim@fluendo.com>
19983 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19984 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19985 (gst_bus_sync_signal_handler):
19987 Added async-message and sync-message signals to the bus.
19988 Added helper BusFunc to emit signals for all posted messages.
19990 * gst/gstmessage.c: (gst_message_type_get_name),
19991 (gst_message_type_to_quark), (gst_message_get_type):
19992 * gst/gstmessage.h:
19993 Register quarks for message names.
19995 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19997 * docs/libs/gstreamer-libs-sections.txt:
19998 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19999 (gst_controller_new_list):
20000 * libs/gst/controller/gstcontroller.h:
20001 added another constructor for language bindings
20003 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20005 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20009 * gst/gstinfo.c: (_gst_debug_init):
20010 slightly more readable color for refcount debugging
20012 2005-09-28 Wim Taymans <wim@fluendo.com>
20014 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20015 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20016 (find_element), (gst_bin_sort_iterator_next),
20017 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20018 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20019 (gst_bin_change_state), (gst_bin_dispose):
20020 Small doc fixes. get_clock -> provide_clock.
20022 * gst/gstelement.c: (gst_element_class_init),
20023 (gst_element_provides_clock), (gst_element_provide_clock),
20024 (gst_element_get_clock), (gst_element_commit_state),
20025 (gst_element_lost_state):
20026 * gst/gstelement.h:
20027 Make get/set_clock() symetric. Add provide_clock vmethod since
20028 that is actually what this function does.
20030 * gst/gstpipeline.c: (gst_pipeline_class_init),
20031 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20032 (gst_pipeline_get_clock):
20033 get_clock -> provide_clock.
20035 2005-09-28 Andy Wingo <wingo@pobox.com>
20037 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20038 lieu of real docs...
20040 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20042 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20044 * gst/elements/gstcapsfilter.c:
20045 * gst/elements/gstfakesink.c:
20046 * gst/elements/gstfakesrc.c:
20047 * gst/elements/gstfdsink.c:
20048 * gst/elements/gstfdsrc.c:
20049 * gst/elements/gstfilesink.c:
20050 * gst/elements/gstfilesrc.c:
20051 * gst/elements/gstidentity.c:
20052 * gst/elements/gsttee.c:
20053 * gst/elements/gsttypefindelement.c:
20054 Make element details static.
20056 2005-09-28 Wim Taymans <wim@fluendo.com>
20058 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20059 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20060 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20061 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20062 (gst_bin_change_state), (gst_bin_dispose):
20063 Some documentation updates.
20064 Clean up dispose handlers.
20066 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20067 * gst/gstpad.c: (gst_pad_dispose):
20068 Clean up dispose handler.
20070 * gst/gstpipeline.c: (gst_pipeline_change_state):
20071 Removed spurious UNLOCK.
20073 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20075 * docs/gst/gstreamer-sections.txt:
20076 * gst/base/gstbasesrc.h:
20077 * gst/gstelement.h:
20081 * gst/gstpipeline.c:
20082 * gst/gstpipeline.h:
20085 added two new functions to the docs
20086 documents all undocumented GstXXXFlags
20087 completed some incomplete docs
20089 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20091 * gst/gstbin.c: (gst_bin_dispose):
20092 * gst/gstelement.c: (gst_element_dispose):
20093 remove now useless and leaky resurrection code in dispose
20094 * gst/base/gstbasesrc.c: (gst_base_src_init):
20095 * gst/gstelementfactory.c: (gst_element_factory_create):
20096 * gst/gstobject.c: (gst_object_set_parent):
20099 2005-09-27 Wim Taymans <wim@fluendo.com>
20101 * docs/design/part-TODO.txt:
20104 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20105 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20106 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20107 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20108 (gst_bin_change_state):
20109 * gst/gstelement.h:
20110 Remove element variable, we keep element info in the iterator now.
20112 2005-09-27 Andy Wingo <wingo@pobox.com>
20114 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20117 2005-09-27 Wim Taymans <wim@fluendo.com>
20119 * check/gst/gstbin.c: (GST_START_TEST):
20120 Enable check that works now.
20122 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20123 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20124 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20125 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20126 (gst_bin_change_state):
20128 Redid the state change algorithm using a topological sort algo.
20129 Handles all cases correctly.
20130 Exposed iterator for state change order.
20132 * gst/gstelement.h:
20133 Temp storage for state changes. Need to get rid of this soon.
20135 2005-09-27 Wim Taymans <wim@fluendo.com>
20137 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20138 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20139 (link_fold_func), (gst_pad_proxy_setcaps):
20140 Leak fixes, the fold functions need to unref the passed object and
20141 _get_parent_*() returns ref to parent.
20143 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20145 * check/gst/gstbuffer.c: (test_make_writable):
20146 Plug leak in test case and fix 'make check-valgrind'
20148 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20150 * gst/gstbuffer.c: (gst_subbuffer_init):
20151 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20152 works correctly in all circumstances (we could have just copied
20153 the parent buffer's readonly flag, but conceptually it seems
20154 cleaner to mark all subbuffers as read-only). (based on patch
20155 by Alessandro Decina, #314710).
20157 * check/gst/gstbuffer.c: (create_read_only_buffer),
20158 (test_make_writable), (test_subbuffer_make_writable),
20160 Add some tests for gst_buffer_make_writable().
20162 2005-09-27 Wim Taymans <wim@fluendo.com>
20164 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20165 use gst_object_has_ancestor().
20167 * gst/gstobject.c: (gst_object_has_ancestor):
20169 gst_object_has_ancestor() copied from gstbin.c as it is a
20172 * tests/instantiate/create.c: (create_all_elements):
20173 * tests/lat.c: (handoff_src), (handoff_sink):
20174 * tests/sched/runxml.c: (main):
20175 * tests/seeking/seeking1.c: (main):
20176 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20178 Fix compilation of some tests.
20180 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20183 Remove comment. GST_TYPE_G_ERROR is here to stay,
20184 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20185 (#316961, #300610).
20187 2005-09-26 Wim Taymans <wim@fluendo.com>
20189 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20190 Added check that shows error in state change order.
20192 2005-09-26 Wim Taymans <wim@fluendo.com>
20194 * gst/gstbin.c: (gst_bin_change_state):
20195 Make state change function use 3 queues again, we were
20196 adding elements in the wrong order.
20198 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20201 * gst/gstpad.c: (gst_pad_dispose):
20202 Added some debug info first.
20204 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20206 * docs/design/draft-push-pull.txt:
20207 * docs/design/part-events.txt:
20208 * docs/design/part-overview.txt:
20209 * docs/design/part-scheduling.txt:
20210 Replace all _pull_region() with _pull_range()
20212 2005-09-26 Andy Wingo <wingo@pobox.com>
20214 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20216 * check/gst-libs/controller.c: Update for controller api change.
20219 * tests/Makefile.am:
20220 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20221 over by GLib bug 118439.
20223 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20224 routines to a function.
20226 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20228 * libs/gst/controller/gsthelper.c:
20229 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20230 (gst_object_sync_values): Renamed from sink_values. Ugh.
20232 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20234 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20235 Renamed from controller_key, as it is exported.
20237 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20239 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20244 * gst/gstpadtemplate.h:
20247 * gst/gstqueryutils.c:
20248 * gst/gstqueryutils.h:
20249 remove queryutils headers after moving the two used functions
20250 to gstquery. also fixes build problem for gstsiddec
20252 2005-09-26 Michael Smith <msmith@fluendo.com>
20254 * tools/gst-launch.1.in:
20255 Correct documentation in manpage of debug syntax
20257 2005-09-26 Wim Taymans <wim@fluendo.com>
20259 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20260 (gst_base_src_is_seekable), (gst_base_src_change_state):
20261 Some more debugging info.
20263 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20265 * docs/gst/gstreamer-sections.txt:
20266 * gst/base/gstbasetransform.h:
20270 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20272 * docs/gst/.cvsignore:
20273 * docs/gst/tmpl/.cvsignore:
20274 * docs/gst/tmpl/gstpipeline.sgml:
20275 * docs/gst/tmpl/gstplugin.sgml:
20276 * gst/gstpipeline.c:
20279 inlined the last two docs files
20280 removed the tmpl directory from cvs (no more conflicts here!)
20282 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20284 * docs/gst/gstreamer-sections.txt:
20285 * docs/gst/tmpl/.cvsignore:
20286 * docs/gst/tmpl/gstpad.sgml:
20287 * docs/gst/tmpl/gstpadtemplate.sgml:
20289 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20290 (gst_pad_finalize), (gst_pad_set_pad_template):
20292 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20293 (gst_pad_template_class_init), (gst_pad_template_init),
20294 (gst_pad_template_dispose), (name_is_valid),
20295 (gst_static_pad_template_get), (gst_pad_template_new),
20296 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20297 (gst_pad_template_pad_created):
20298 * gst/gstpadtemplate.h:
20299 inlined two more docs
20300 factored gstpadtemplate out of gstpad
20302 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20304 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20305 (test_children_state_change_order_semi_sink):
20306 Fix test case: we can't rely on a fixed state change order when
20307 going from READY => PAUSED because the sink might commit its
20308 new state first when the first buffer created by the source
20309 reaches the sink before the source has finished its change state.
20310 (Test case still fails at times, see #316856, comment 5 onwards)
20312 2005-09-24 Wim Taymans <wim@fluendo.com>
20314 * docs/design/part-events.txt:
20315 * docs/design/part-gstbus.txt:
20316 * docs/design/part-gstpipeline.txt:
20317 * docs/design/part-messages.txt:
20318 * docs/design/part-overview.txt:
20319 * docs/design/part-segments.txt:
20323 * gst/gstelement.c:
20326 * gst/gstiterator.c:
20327 Various documentation updates.
20329 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20332 Well, that's embarassing. Luckily we weren't using
20333 GST_CLOCK_DIFF anywhere.
20335 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20337 * common/gtk-doc.mak:
20338 don't fail on building XML, FC4 slave shows a bunch of doc
20339 missing bits that I don't get
20341 * gst/gstpipeline.c:
20342 * gst/gststructure.c:
20345 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20347 * docs/design/part-gstbin.txt:
20348 * docs/design/part-gstbus.txt:
20350 Add blurb about how the bus goes into flushing mode and
20351 drops all messages when its bin goes from READY into NULL
20354 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * docs/gst/gstreamer-sections.txt:
20357 * gst/gststructure.c: (gst_structure_get_clock_time):
20358 * gst/gststructure.h:
20359 add a method to get a GstClockTime out of a structure
20361 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20363 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20364 (test_children_state_change_order_semi_sink), (gst_bin_suite):
20365 Added test to check state change order in bins (can still be made
20366 to fail here under heavy disk load; bails out with 'Push on pad
20367 fakesink:sink0, but it was not activated in push mode').
20369 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20370 Fix state change order when there is only a semi sink (#316856)
20372 * gst/gstbus.c: (gst_bus_class_init):
20373 Use _class_peek_parent(), not _class_ref(); fix docs to say
20374 'default main context' instead of 'mainloop' where that is
20377 * gst/gstelement.c: (gst_element_commit_state),
20378 (gst_element_set_state):
20379 Fix typos in debug messages
20381 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20384 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20385 * gst/gstpluginfeature.c:
20387 various doc updates
20388 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20389 change an assert into an error until it gets fixed properly
20391 2005-09-23 Stefan Kost <ensonic@users.sf.net>
20393 * docs/gst/gstreamer-sections.txt:
20394 * docs/gst/tmpl/.cvsignore:
20395 * docs/gst/tmpl/gstelement.sgml:
20396 * docs/gst/tmpl/gstinfo.sgml:
20397 * docs/gst/tmpl/gstobject.sgml:
20398 * gst/gstelement.c:
20399 * gst/gstelement.h:
20402 * gst/gstobject.c: (gst_object_class_init):
20404 inlined 3 more biiiig doc files and added some missing docs on the fly
20406 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20408 * check/gst/.cvsignore:
20409 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20410 * gst/gstregistryxml.c: (load_plugin),
20411 (gst_registry_xml_save_plugin):
20412 put back source in registry. add checks for find_plugin.
20413 * testsuite/states/bin.c: (assert_state), (empty_bin),
20414 (test_adding_one_element), (main):
20415 * testsuite/states/locked.c: (main):
20416 some compile/run fixes
20418 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
20420 * check/gst/gstvalue.c: (GST_START_TEST):
20421 fix leaks in the test itself
20423 2005-09-22 Wim Taymans <wim@fluendo.com>
20425 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20426 (gst_base_sink_send_event), (gst_base_sink_peer_query),
20427 (gst_base_sink_query):
20428 Prepare for more accurate position reporting and query
20431 * gst/gstelement.c: (gst_element_send_event),
20432 (gst_element_set_state):
20435 2005-09-22 Wim Taymans <wim@fluendo.com>
20437 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20438 (gst_query_parse_segment):
20440 More documentation.
20441 Add segment query for future use.
20443 2005-09-22 Wim Taymans <wim@fluendo.com>
20445 * gst/gstbin.c: (gst_bin_add_func):
20446 Some more debug info.
20448 * gst/gstelement.c: (gst_element_send_event):
20449 Simplify send_event
20451 * gst/gstelement.h:
20452 Don't know how flags got broken.
20457 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20459 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20460 Add simplistic test suite for GST_TYPE_DATE serialisation and
20463 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20465 * docs/gst/gstreamer-sections.txt:
20466 * gst/gststructure.c: (gst_structure_set_valist),
20467 (gst_structure_get_date):
20468 * gst/gststructure.h:
20469 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20470 (gst_date_copy), (gst_value_compare_date),
20471 (gst_value_serialize_date), (gst_value_deserialize_date),
20472 (gst_value_transform_date_string),
20473 (gst_value_transform_string_date), (_gst_value_initialize):
20475 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20476 bunch of utility functions along with a hack that checks that
20477 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20478 is required. Part of the grand scheme in #170777.
20480 2005-09-22 Andy Wingo <wingo@pobox.com>
20482 * gst/gstconfig.h.in: Psych out gtk-doc.
20484 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20486 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20488 * tools/gst-inspect.c (print_element_list): Plug some
20489 inconsequential leaks.
20491 * gst/gstregistry.c (gst_registry_get_default): Doc.
20493 * check/gst/gstplugin.c:
20494 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20495 * gst/gstelementfactory.c (gst_element_factory_create):
20496 * gst/gstindexfactory.c (gst_index_factory_create): Update for
20499 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20500 (gst_plugin_feature_load): Doc, don't eat refs.
20502 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20503 (gst_plugin_list_free): Doc.
20504 (gst_plugin_load_file): Doc updates.
20506 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20507 accessors returning refcounted objects, return a ref.
20509 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20510 accessor for caps. IDEMPOTENCE. Oh yes.
20512 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
20514 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20516 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20517 (_gst_debug_register_funcptr):
20518 Add mutex to serialise access to the hash table with
20519 the function pointer => function name string mapping;
20520 make that hash table static scope (#316809).
20522 * gst/registries/.cvsignore:
20523 Remove left-over file.
20525 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20527 * docs/pwg/appendix-porting.xml:
20528 And something about newsegment events and caps-on-buffers to
20529 the porting guide (feel free to improve).
20531 2005-09-21 Andy Wingo <wingo@pobox.com>
20533 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20534 data and event probes on the same pad.
20535 (test_buffer_probe_once): Test that removing probes from within
20536 the probe functions works.
20538 2005-09-21 Andy Wingo <wingo@pobox.com>
20540 * check/gst/gstutils.c: New file.
20541 (test_buffer_probe_n_times): A simple buffer probe test. More to
20544 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20545 have-data::buffer, not have-data.
20546 (gst_pad_add_event_probe): Likewise for have-data::event.
20547 (gst_pad_add_data_probe): More docs. The part about 'resolving the
20548 peer' isn't quite right yet though.
20549 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
20550 (gst_pad_remove_data_probe): Change to take the guint handler_id
20551 as their arg, not the function+data, which is more glib-like.
20553 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20554 the signal emission to indicate if the data is a buffer or an
20556 (gst_pad_get_type): Initialize buffer and event quarks.
20557 (gst_pad_class_init): have-data is now a detailed signal, yes it
20560 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20562 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20563 * gst/gstutils.c: (gst_util_set_value_from_string),
20564 (gst_util_set_object_arg):
20565 Don't put functional code in g_return_if_fail() or
20566 g_return_val_if_fail() statements, otherwise things will
20567 break when G_DISABLE_CHECKS is defined during compilation.
20569 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20571 * docs/gst/tmpl/.cvsignore:
20572 * docs/gst/tmpl/gstvalue.sgml:
20575 inlied another one and added some obvious docs
20577 2005-09-21 Wim Taymans <wim@fluendo.com>
20579 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20580 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20581 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20582 (gst_fdsrc_get_property), (gst_fdsrc_create):
20583 * gst/elements/gstfdsrc.h:
20584 Properly implement fdsrc. Removed signal and timeout,
20585 better implemented somewhere else.
20587 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20589 * docs/gst/tmpl/.cvsignore:
20590 * docs/gst/tmpl/gstimplementsinterface.sgml:
20591 * gst/gstinterface.c:
20594 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20596 * docs/gst/gstreamer-sections.txt:
20597 * docs/gst/tmpl/.cvsignore:
20598 * docs/gst/tmpl/gstenumtypes.sgml:
20599 remove obsolete doc file
20601 2005-09-21 David Schleef <ds@schleef.org>
20603 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20604 little beer, fix a little leak.
20606 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20608 * docs/gst/gstreamer-docs.sgml:
20609 * docs/gst/gstreamer-sections.txt:
20610 * docs/gst/tmpl/.cvsignore:
20614 * gst/gstelement.h:
20615 * gst/gstindex.c: (gst_index_class_init):
20617 * gst/gstindexfactory.c: (gst_index_factory_get_type),
20618 (gst_index_factory_class_init), (gst_index_factory_init),
20619 (gst_index_factory_finalize), (gst_index_factory_new),
20620 (gst_index_factory_destroy), (gst_index_factory_find),
20621 (gst_index_factory_create), (gst_index_factory_make):
20622 * gst/gstindexfactory.h:
20623 * gst/gstpluginfeature.c:
20624 * gst/gstpluginfeature.h:
20625 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20626 more docs inlined, splitted gstindex.{c,h}
20628 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20630 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20633 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20635 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20636 Set sync to FALSE by default.
20638 2005-09-20 Wim Taymans <wim@fluendo.com>
20640 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20641 (gst_base_sink_init):
20642 Make sync property settable from subclass.
20644 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20645 (gst_fake_sink_change_state):
20646 Set sync to FALSE by default.
20648 2005-09-20 Wim Taymans <wim@fluendo.com>
20650 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20651 * tools/gst-launch.c: (main):
20652 The timeout handler should have lower priority than the source
20653 so we don't timeout before popping a message with 0 timeout.
20654 Dump error messages after failed state change.
20656 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20658 * tools/gst-inspect.c: (print_element_properties_info):
20661 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20663 * check/gst/gstevent.c:
20664 * gst/elements/gstfakesink.c:
20665 * gst/elements/gstfakesink.h:
20666 remove the sync property from fakesink.
20667 has the side effect of setting sync TRUE
20668 for fakesink, which is a change. Anyone who knows how
20669 to fix this nicely in a GObject-y way, feel free.
20671 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20673 * docs/gst/gstreamer-docs.sgml:
20674 remove probe refsection
20676 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20678 * check/Makefile.am:
20679 disable valgrinding the controller test again
20680 * docs/gst/gstreamer-sections.txt:
20681 update for api-changes
20683 2005-09-20 Wim Taymans <wim@fluendo.com>
20685 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20686 (gst_base_sink_set_property), (gst_base_sink_get_property),
20687 (gst_base_sink_do_sync):
20688 * gst/base/gstbasesink.h:
20689 Added sync property to basesink to disable clock sync.
20691 2005-09-20 Andy Wingo <wingo@pobox.com>
20693 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20694 eating the caller's refcount.
20696 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
20697 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20700 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20701 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20702 of GLib 2.8 public, so we can know which refcount to check in
20705 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20706 (gst_object_init): Only set the gst refcount if we're going ahead
20707 with the refcount hack.
20709 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20711 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20712 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20713 more leaks plumbed, added more debug-logging
20717 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20719 * gst/gstmessage.c:
20720 remove include of gstmemchunk.h
20722 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20724 * gst/gstclock.c: (_gst_clock_id_free):
20725 Commit from the Political Party For More Atomic CVS Commits,
20726 so that people don't waste too much of their day fishing
20727 out obvious leaks out of massive commits.
20728 Oh, and fix a pretty damn obvious leak in the memchunk
20731 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20733 * check/Makefile.am:
20734 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20735 plug mem-leak, re-add to valgrindable tests
20737 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20740 unbreak the build for those who have chronic arthritis
20741 and typing "make check" is just too taxing on the hands
20743 2005-09-20 Andy Wingo <wingo@pobox.com>
20745 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20746 really want it out, you should fix plugins at the same time.
20748 2005-09-19 Stefan Kost <ensonic@users.sf.net>
20751 * docs/gst/gstreamer-sections.txt:
20753 added missing symbols to api docs
20754 disable ref-count hack if we have glib >= 2.8
20756 2005-09-19 David Schleef <ds@schleef.org>
20758 * docs/gst/Makefile.am: Ignore a few more internal headers
20759 * docs/gst/gstreamer-docs.sgml: Remove old sections
20760 * docs/gst/gstreamer-sections.txt: Remove old sections
20761 * docs/gst/tmpl/gstobject.sgml: update
20762 * docs/gst/tmpl/gstplugin.sgml: update
20763 * docs/gst/tmpl/gstpluginfeature.sgml: update
20764 * docs/random/ds/0.9-suggested-changes: update.
20765 * gst/Makefile.am: remove memchunk and trashstack, since they're
20767 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20768 * gst/gst.h: don't include some headers
20769 * gst/gstchildproxy.c: add gstmarshal.h
20770 * gst/gstclock.c: Don't use memchunks
20771 * gst/gstminiobject.c: Add some docs
20772 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20773 * gst/gstobject.h: same
20774 * gst/gstplugin.c: include gstmacros.h
20775 * gst/gstplugin.h: don't include gstmacros.h, since it's private
20776 * gst/gstquery.c: don't use memchunks
20777 * gst/gstregistry.c: rename gst_registry_deinit()
20778 * gst/gstregistry.h: same
20780 2005-09-19 David Schleef <ds@schleef.org>
20782 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20783 * docs/libs/gstreamer-libs-sections.txt:
20784 * docs/libs/tmpl/gstgetbits.sgml:
20785 * docs/libs/tmpl/gstputbits.sgml:
20787 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
20789 * win32/gstenumtypes.c:
20790 * win32/gstenumtypes.h:
20793 2005-09-19 Wim Taymans <wim@fluendo.com>
20795 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20796 Automatically PAUSE and RESUME a pipeline when a flushing seek
20799 2005-09-19 Andy Wingo <wingo@pobox.com>
20801 * gst/gstregistry.h: Spacing fixen.
20803 2005-09-19 Wim Taymans <wim@fluendo.com>
20805 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20806 Handle state change failure more correctly.
20808 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20810 * check/Makefile.am:
20811 * check/pipelines/cleanup.c: (run_pipeline):
20812 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20814 enable cleanup again after fixing the leak
20816 some more info on docs
20818 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20820 * check/Makefile.am:
20821 re-enable tests now that leaks are plugged
20823 * check/gst/gstbin.c:
20824 * check/gst/gstpipeline.c:
20825 add some more tests while fixing leaks
20826 * common/check.mak:
20827 make sure binaries are uptodate when valgrinding/gdbing
20829 * gst/gstelementfactory.c:
20830 remove a ref too many, and add a FIXME for when we get
20831 round to disposing of classes
20833 fix the refcounting when loading a plugin from a file and
20834 the code pretends that the pointer is the same even though
20835 of course it can change
20836 * gst/gstpluginfeature.c:
20837 unref plugins marked cached (a bit confusing as a name)
20838 as the docs state should be done
20839 various doc additions to explain refcounting
20840 * gst/gstregistry.c:
20841 * gst/gstregistryxml.c:
20844 2005-09-19 Wim Taymans <wim@fluendo.com>
20846 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20847 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20848 (send_messages), (GST_START_TEST), (gstbus_suite):
20849 * check/gst/gstpipeline.c: (GST_START_TEST):
20850 * check/pipelines/cleanup.c: (run_pipeline):
20851 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20853 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20854 (gst_bus_source_check), (gst_bus_source_dispatch),
20855 (gst_bus_create_watch), (gst_bus_add_watch_full),
20856 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20858 * tools/gst-launch.c: (event_loop):
20859 * tools/gst-md5sum.c: (event_loop):
20860 GstBusHandler -> GstBusFunc, return value has the same meaning as
20861 any other GSource (FALSE == remove source).
20862 _add_watch() and _add_watch_full() now take a MessageType mask to
20863 only handle specific types of messages.
20864 _poll() returns the GstMessage instead of the message type to avoid
20866 _have_pending() takes a MessageType mask now too.
20867 Added testsuite for multiple bus watches.
20868 Fix testsuites and applications for new bus API.
20870 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20872 * check/Makefile.am:
20873 mark a bunch of the tests as to fix until we fix them
20875 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20877 * common/check.mak:
20878 use GST_PLUGIN settings for valgrind tests as well, so we're
20879 valgrinding the correct thing
20880 * gst/gst.c: (init_post):
20883 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20885 * gst/gst.c: (init_post), (gst_deinit):
20886 * gst/gstelementfactory.c: (gst_element_factory_class_init),
20887 (gst_element_factory_finalize), (gst_element_factory_cleanup):
20888 * gst/gstindex.c: (gst_index_factory_class_init),
20889 (gst_index_factory_finalize):
20890 * gst/gstobject.c: (gst_object_dispose):
20891 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20892 (gst_plugin_load_file), (gst_plugin_desc_free):
20893 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20894 (gst_plugin_feature_finalize):
20895 * gst/gstregistry.c: (gst_registry_class_init),
20896 (gst_registry_init), (gst_registry_finalize),
20897 (gst_registry_get_default), (gst_registry_deinit):
20898 * gst/gstregistry.h:
20899 * gst/gstregistryxml.c: (load_feature), (load_plugin):
20900 various cleanups and memleak plugging. make valgrind is happy now.
20902 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20904 * common/check.mak:
20905 add a check-valgrind target
20907 2005-09-18 David Schleef <ds@schleef.org>
20909 * tools/gst-inspect.c: Revert the GOption code.
20911 2005-09-17 David Schleef <ds@schleef.org>
20913 * check/Makefile.am: Fix environment variables.
20914 * check/gst/gstplugin.c: Fix for API changes.
20915 * tools/gst-inspect.c: Fix for API changes.
20916 * tools/gst-xmlinspect.c: Fix for API changes.
20917 * gst/gstelementfactory.c:
20920 * gst/gstpluginfeature.c:
20921 * gst/gstpluginfeature.h:
20922 * gst/gstregistry.c:
20923 * gst/gstregistry.h:
20924 * gst/gstregistryxml.c:
20925 * gst/gsttypefind.c:
20926 * gst/gsttypefindfactory.c:
20927 * gst/indexers/gstfileindex.c:
20928 * gst/indexers/gstmemindex.c:
20929 * gst/schedulers/Makefile.am:
20930 Change registry to keep track of both plugins and features,
20931 removing the feature tracking from plugins themselves.
20933 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
20935 * check/Makefile.am:
20936 * tools/gst-register.1.in:
20937 remove gst-register
20939 2005-09-15 David Schleef <ds@schleef.org>
20941 * check/gst/gstplugin.c:
20942 * gst/gstelementfactory.c:
20944 * gst/gstpluginfeature.c:
20945 * gst/gstregistry.c:
20946 Getting tired of debugging. Disabled all the unreffing of
20947 plugins and features, which fixes the segfaults, but of
20948 course leaks like crazy. At least playbin works.
20950 2005-09-15 David Schleef <ds@schleef.org>
20952 * check/gst/gstplugin.c: (register_check_elements),
20953 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20955 * gst/elements/gsttypefindelement.c: Fix refcounting.
20956 * gst/gsttypefind.c:
20957 * gst/gsttypefindfactory.c:
20958 * gst/gsttypefindfactory.h:
20960 2005-09-15 David Schleef <ds@schleef.org>
20962 * gst/gstindex.c: get refcounting correct.
20963 * gst/gstregistry.c: Handle the case where a feature/plugin is
20966 2005-09-15 David Schleef <ds@schleef.org>
20968 * check/Makefile.am:
20969 * check/gst/gstplugin.c: Add test
20970 * gst/gstplugin.c: Fix problems noticed by testsuite
20972 * gst/gstregistry.c:
20973 * gst/gstregistry.h:
20975 2005-09-15 David Schleef <ds@schleef.org>
20977 * gst/gstplugin.c: Implement semi-decent recounting and locking
20978 in plugins and plugin features.
20980 * gst/gstpluginfeature.c:
20981 * gst/gstpluginfeature.h:
20982 * gst/gstregistry.c:
20984 2005-09-15 Michael Smith <msmith@fluendo.com>
20986 * gst/gstregistry.c: (gst_registry_get_feature_list):
20987 Implement this. Makes oggdemux work; decodebin still broken.
20989 2005-09-14 David Schleef <ds@schleef.org>
20991 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20993 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20994 * gst/check/Makefile.am:
20995 * libs/gst/controller/Makefile.am:
20996 * libs/gst/dataprotocol/Makefile.am:
20998 2005-09-14 David Schleef <ds@schleef.org>
21000 * configure.ac: Remove getbits library. Nothing uses it, and
21001 it should be in something like liboil if someone did want
21003 * libs/gst/Makefile.am:
21004 * libs/gst/getbits/Makefile.am:
21005 * libs/gst/getbits/gbtest.c:
21006 * libs/gst/getbits/getbits.c:
21007 * libs/gst/getbits/getbits.h:
21008 * libs/gst/getbits/gstgetbits_generic.c:
21009 * libs/gst/getbits/gstgetbits_i386.s:
21010 * libs/gst/getbits/gstgetbits_inl.h:
21012 2005-09-14 David Schleef <ds@schleef.org>
21014 * gst/Makefile.am: Dist glib-compat.h
21016 2005-09-14 David Schleef <ds@schleef.org>
21018 * configure.ac: Remove gst/registries, since it's no longer used.
21019 * gst/registries/Makefile.am:
21020 * gst/registries/gstlibxmlregistry.c:
21021 * gst/registries/gstlibxmlregistry.h:
21022 * gst/registries/gstxmlregistry.c:
21023 * gst/registries/gstxmlregistry.h:
21024 * gst/registries/registrytest.c:
21026 2005-09-14 David Schleef <ds@schleef.org>
21028 * gst/glib-compat.h:
21029 * gst/gstregistryxml.c:
21030 Convergence is near. Seriously.
21032 2005-09-14 David Schleef <ds@schleef.org>
21034 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21035 * gst/glib-compat.h:
21036 Attempt #4 to appease the buildbots.
21038 2005-09-14 David Schleef <ds@schleef.org>
21040 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21043 2005-09-14 David Schleef <ds@schleef.org>
21045 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21048 2005-09-14 David Schleef <ds@schleef.org>
21050 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21053 2005-09-14 David Schleef <ds@schleef.org>
21055 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21056 * gst/glib-compat.h: Add some functions that are in newer versions
21057 of glib than we care to require.
21058 * gst/gstregistryxml.c: Use them.
21060 2005-09-14 David Schleef <ds@schleef.org>
21062 * po/POTFILES.in: remove gst-register.c
21064 2005-09-14 David Schleef <ds@schleef.org>
21066 * docs/gst/gstreamer-docs.sgml:
21067 * docs/gst/gstreamer-sections.txt:
21068 * docs/gst/gstreamer.types:
21069 * docs/gst/tmpl/gstelement.sgml:
21070 * docs/gst/tmpl/gstplugin.sgml:
21071 * docs/gst/tmpl/gstpluginfeature.sgml:
21072 Documentation updates for registry changes.
21074 2005-09-14 David Schleef <ds@schleef.org>
21076 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21077 because we don't require glib-2.8.
21079 2005-09-14 David Schleef <ds@schleef.org>
21081 * gst/gstregistryxml.c: Added. Essentially moved out of the
21082 registries directory.
21084 2005-09-14 David Schleef <ds@schleef.org>
21086 * check/Makefile.am:
21087 * check/generic/states.c:
21091 * gst/gst_private.h:
21092 * gst/gstelementfactory.c:
21097 * gst/gstpluginfeature.c:
21098 * gst/gstpluginfeature.h:
21099 * gst/gstregistry.c:
21100 * gst/gstregistry.h:
21101 * gst/gstregistrypool.c: remove
21102 * gst/gstregistrypool.h: remove
21103 * gst/gsttypefind.c:
21104 * gst/gsttypefindfactory.c:
21106 * tools/Makefile.am:
21107 * tools/gst-compprep.c:
21108 * tools/gst-inspect.c:
21109 * tools/gst-register.c: remove
21110 * tools/gst-xmlinspect.c:
21111 Registry rewrite. Changes registry from being a file created
21112 by a tool into a simple cache file created automatically by
21113 libgstreamer. Removed gst-register (because it's no longer
21114 needed). Remove registry pools, because we only have one
21115 registry implementation (XML). Fix up other subsystems as
21118 2005-09-13 Michael Smith <msmith@fluendo.com>
21120 * gst/gstconfig.h.in:
21121 Don't Use windows linking attributes for MinGW. Fixes #316157
21123 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21125 * gst/gstutils.c: (set_state_async_thread_func),
21126 (gst_element_set_state_async):
21127 Apparently people think it's better if this function doesn't
21128 try to set the state to whatever state was asked for on the first
21129 call to this function for any object. Seriously.
21131 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21133 * check/gst/gstpipeline.c: (GST_START_TEST):
21134 * docs/gst/gstreamer-sections.txt:
21135 * gst/gstutils.c: (set_state_async_thread_func),
21136 (gst_element_set_state_async):
21138 add a "gst_element_set_state_async" method that
21139 sets the state and starts a thread to make sure the state
21140 change completes as best as it can
21142 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21144 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21145 codify design+behaviour in testsuite after discussion
21147 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21149 * docs/gst/tmpl/gstelement.sgml:
21150 * docs/manual/appendix-quotes.xml:
21152 * gst/gstelement.c: (gst_element_set_state):
21155 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21157 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21158 (gst_base_transform_prepare_output_buf),
21159 (gst_base_transform_handle_buffer):
21160 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21161 (gst_capsfilter_prepare_buf):
21162 Remove the requirement for sub-classes to call the parent
21163 implementation of prepare_output_buffer with a wrapper function.
21165 * gst/gsttaglist.h:
21166 * gst/gsttagsetter.h:
21167 Fix #define wrapper
21169 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21171 * docs/gst/gstreamer-sections.txt:
21174 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21176 * docs/gst/gstreamer-sections.txt:
21177 * docs/gst/tmpl/gstelement.sgml:
21178 * docs/gst/tmpl/gstplugin.sgml:
21179 * gst/gstminiobject.c:
21181 docs now stop throwing warnings
21183 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21185 * docs/gst/gstreamer-sections.txt:
21186 * docs/gst/gstreamer.types:
21187 * docs/gst/tmpl/gstpad.sgml:
21188 * docs/gst/tmpl/gsttypes.sgml:
21189 * gst/base/gstadapter.h:
21190 * gst/base/gstbasesink.h:
21191 * gst/base/gstbasesrc.h:
21197 * gst/gstelement.h:
21199 * gst/gstmessage.h:
21201 * gst/gststructure.c:
21202 * gst/registries/gstlibxmlregistry.h:
21203 various documentation fixes
21205 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21207 * docs/gst/gstreamer-sections.txt:
21208 * docs/gst/tmpl/gstvalue.sgml:
21209 rearrange gstvalue section
21210 * gst/gstutils.c: (gst_element_state_get_name):
21212 * gst/gstvalue.c: (_gst_value_initialize):
21216 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21218 * check/gst-libs/controller.c:
21219 Header include fix.
21220 * gst/base/gstbasetransform.c:
21221 (gst_base_transform_default_prepare_buf),
21222 (gst_base_transform_handle_buffer):
21223 * gst/base/gstbasetransform.h:
21224 Some more basetransform changes and fixes to enable sub-classes
21225 that modify buffer metadata only.
21226 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21227 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21228 (gst_capsfilter_prepare_buf):
21229 If the output pad has fixed allowed caps and input buffers
21230 don't have any, set the fixed caps on outgoing buffers.
21232 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21233 * check/elements/identity.c: (GST_START_TEST):
21234 Make the error a little clearer when the test fails because
21235 identity made a copy of the buffer.
21236 * docs/gst/gstreamer-sections.txt:
21237 New symbols in gstbasetransform.h
21238 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21239 (gst_base_transform_init), (gst_base_transform_transform_size),
21240 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21241 (gst_base_transform_default_prepare_buf),
21242 (gst_base_transform_get_unit_size),
21243 (gst_base_transform_buffer_alloc),
21244 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21245 (gst_base_transform_change_state),
21246 (gst_base_transform_set_passthrough),
21247 (gst_base_transform_set_in_place),
21248 (gst_base_transform_is_in_place):
21249 * gst/base/gstbasetransform.h:
21250 Change BaseTransform to separate in_place operate from same_caps
21251 output. in_place implies that the element can perform the transform
21252 on incoming buffers in-place, even if the caps on the output are
21254 Sub-class elements can now implement special buffer allocation
21255 methods for outgoing buffers if they wish to.
21256 Big documentation addition.
21257 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21258 * gst/elements/gstelements.c:
21259 Changes for basetransform modifications.
21260 * gst/elements/Makefile.am:
21261 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21262 Compile fix. Extra debug output.
21264 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21266 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21268 add tests for valid pad naming
21269 * gst/check/gstcheck.c: (gst_check_log_message_func),
21270 (gst_check_log_critical_func):
21272 remove printing of code, it is fragile when the code contains
21273 % and the line number is enough info
21274 * gst/check/gstcheck.h:
21275 * gst/gstpad.c: (gst_pad_template_new):
21278 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21281 say what CHECK flags we use
21282 * docs/libs/gstreamer-libs.types:
21283 * libs/gst/controller/Makefile.am:
21284 * libs/gst/controller/gst-controller.c:
21285 * libs/gst/controller/gst-controller.h:
21286 * libs/gst/controller/gst-helper.c:
21287 * libs/gst/controller/gst-interpolation.c:
21288 * libs/gst/controller/gstcontroller.c:
21289 * libs/gst/controller/gsthelper.c:
21290 * libs/gst/controller/gstinterpolation.c:
21291 * tools/gst-inspect.c: (print_plugin_info):
21292 we don't use dashes in header names
21294 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21296 * check/Makefile.am:
21297 * check/gst/.cvsignore:
21298 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21299 (gst_pipeline_suite), (main):
21300 adding a test for pipelines and state changes
21301 * gst/gstutils.c: (get_state_func):
21303 * gstreamer.spec.in:
21306 2005-09-08 Michael Smith <msmith@fluendo.com>
21308 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21309 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21310 (gst_file_src_is_seekable), (gst_file_src_get_size),
21311 (gst_file_src_start):
21312 * gst/elements/gstfilesrc.h:
21313 Various fixes for unseekable, unmmapable, and non-normal files, so
21314 that fallback to read() rather than mmap() works.
21315 * gst/gstevent.c: (gst_event_new_newsegment):
21316 Allow newsegment events with segment_start == segment_end, as will
21317 correctly happen if you use filesrc on a zero-size file, for
21320 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21322 * gst/gstplugin.c: (gst_plugin_load_file):
21323 Call g_module_close when we don't load the module
21325 * gst/registries/gstlibxmlregistry.c:
21326 (gst_xml_registry_get_property):
21327 Port leak fix from 0.8
21329 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21331 * docs/gst/gstreamer-docs.sgml:
21332 * docs/gst/tmpl/.cvsignore:
21333 * docs/gst/tmpl/gsttrace.sgml:
21334 * docs/gst/tmpl/gsttrashstack.sgml:
21337 * gst/gstelement.h:
21339 * gst/gstmessage.c:
21340 * gst/gstmessage.h:
21343 * gst/gsttaginterface.c:
21344 * gst/gsttaginterface.h:
21345 * gst/gsttaglist.c:
21346 * gst/gsttaglist.h:
21347 * gst/gsttagsetter.c:
21348 * gst/gsttagsetter.h:
21351 * gst/gsttrashstack.c:
21352 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21353 inlined docs for gsttrace, gsttrashstack
21355 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21358 * gst/elements/gstbufferstore.h:
21359 * gst/elements/gsttypefindelement.c:
21360 * gst/elements/gsttypefindelement.h:
21362 * gst/gsttypefind.c:
21363 * gst/gsttypefind.h:
21364 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21365 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21366 (gst_type_find_factory_dispose),
21367 (gst_type_find_factory_unload_thyself),
21368 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21369 (gst_type_find_factory_get_caps),
21370 (gst_type_find_factory_get_extensions),
21371 (gst_type_find_factory_call_function):
21372 * gst/gsttypefindfactory.h:
21373 * gst/registries/gstlibxmlregistry.c:
21374 * gst/registries/gstxmlregistry.c:
21375 splitted gsttypefind into gsttypefind, gsttypefindfactory
21377 2005-09-07 Andy Wingo <wingo@pobox.com>
21379 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21380 condition whereby the pad's task function is entered before the
21381 pad_mode variable was set.
21383 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21385 * gst/gstpad.c: (gst_pad_alloc_buffer):
21386 Catch misbehaving pad_alloc functions that don't
21387 set up caps and do it for them.
21389 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21391 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21392 test for pipe!=NULL
21393 * docs/gst/tmpl/.cvsignore:
21394 * docs/gst/tmpl/gstmemchunk.sgml:
21395 * docs/gst/tmpl/gstparse.sgml:
21396 * docs/gst/tmpl/gsttaglist.sgml:
21397 * docs/gst/tmpl/gsttagsetter.sgml:
21398 * docs/gst/tmpl/gsttypefind.sgml:
21399 * docs/gst/tmpl/gsttypefindfactory.sgml:
21400 * gst/gstmemchunk.c:
21403 * gst/gsttaginterface.c:
21404 * gst/gsttypefind.c:
21405 * gst/gsttypefind.h:
21408 === release 0.9.2 ===
21410 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
21415 releasing 0.9.2, "South"
21417 2005-09-05 Andy Wingo <wingo@pobox.com>
21419 * gst/registries/gstxmlregistry.h:
21420 * gst/registries/gstxmlregistry.c: Um... resurrect...
21422 * gst/registries/gstxmlregistry.h:
21423 * gst/registries/gstxmlregistry.c: and update to newer API.
21424 Incidentally they should be a bit faster now that they don't have
21427 2005-09-05 Andy Wingo <wingo@pobox.com>
21429 * gst/registries/gstxmlregistry.h:
21430 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21431 replaced by the libxml registry a while back
21433 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21435 * docs/gst/tmpl/gstplugin.sgml:
21436 * gst/elements/gstelements.c:
21438 * gst/gstplugin.c: (gst_plugin_register_func),
21439 (gst_plugin_desc_copy), (gst_plugin_desc_free),
21440 (gst_plugin_get_source):
21442 * gst/registries/gstlibxmlregistry.c: (load_plugin),
21443 (gst_xml_registry_save_plugin):
21444 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21445 (gst_xml_registry_save_plugin):
21446 * tools/gst-inspect.c: (print_plugin_info):
21447 add a "source" plugin description field, to represent the source
21448 module this plugin is a part of. By default GST_PLUGIN_DEFINE
21449 will set it to PACKAGE, which is automake's idea of the name of
21450 the source project.
21452 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21457 * docs/Makefile.am:
21458 * docs/faq/Makefile.am:
21459 * docs/gst/tmpl/gstelement.sgml:
21460 * docs/gst/tmpl/gsttypes.sgml:
21461 * docs/htmlinstall.mak:
21462 * docs/manual/Makefile.am:
21463 * docs/pwg/Makefile.am:
21464 reorganize doc build a little
21465 split out docbook and gtk-doc stuff
21466 have two separate --enable's and enable them through autogen
21467 but disable by default in configure (to be similar to other
21469 * gstreamer.spec.in:
21470 clean up docs install
21488 translation updates
21490 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
21492 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21495 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21496 (gst_fake_sink_change_state):
21497 Make state change function thread-safe.
21499 * gst/gstpad.c: (gst_pad_alloc_buffer):
21500 Set offset on generic buffer allocated by fallback.
21502 2005-09-03 Stefan Kost <ensonic@users.sf.net>
21504 * docs/gst/gstreamer-sections.txt:
21505 * docs/gst/tmpl/gstelement.sgml:
21507 * libs/gst/controller/gst-controller.c:
21508 (gst_controlled_property_set_interpolation_mode),
21509 (gst_controlled_property_new),
21510 (gst_controller_find_controlled_property):
21511 run the wingo-magic script against the docs
21513 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21515 * docs/gst/gstreamer-docs.sgml:
21516 * docs/gst/gstreamer-sections.txt:
21517 * docs/gst/tmpl/.cvsignore:
21518 * docs/gst/tmpl/gstelementdetails.sgml:
21519 * docs/gst/tmpl/gstelementfactory.sgml:
21522 * gst/gstelementfactory.c:
21523 * gst/gstelementfactory.h:
21524 merged elementdetails docs into elementfactory docs
21527 2005-09-02 Andy Wingo <wingo@pobox.com>
21529 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21530 consider this enum an enum and not a flags.
21532 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21534 * docs/gst/gstreamer-docs.sgml:
21535 * docs/gst/tmpl/.cvsignore:
21536 * docs/gst/tmpl/gstghostpad.sgml:
21537 * docs/gst/tmpl/gstiterator.sgml:
21538 * docs/gst/tmpl/gstmacros.sgml:
21539 * docs/gst/tmpl/gstrealpad.sgml:
21540 * docs/gst/tmpl/gstregistry.sgml:
21541 * docs/gst/tmpl/gstregistrypool.sgml:
21542 * docs/gst/tmpl/gststructure.sgml:
21543 * docs/gst/tmpl/gstsystemclock.sgml:
21544 * docs/gst/tmpl/gsttrace.sgml:
21545 * gst/gstghostpad.c:
21547 * gst/gstmemchunk.c:
21548 * gst/gstmemchunk.h:
21550 * gst/gstregistry.c:
21551 * gst/gstregistrypool.c:
21552 * gst/gststructure.c:
21553 * gst/gstsystemclock.c:
21556 2005-09-02 Andy Wingo <wingo@pobox.com>
21558 * gst/gstelement.h (GstState): Renamed from GstElementState,
21559 changed to be a normal enum instead of flags.
21560 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21561 munged to be GST_STATE_CHANGE_*.
21562 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21563 work with the new state representation.
21564 (GstStateChange): New enumeration of possible state transitions.
21565 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21566 (GstElementClass::change_state): Pass the GstStateChange along as
21567 an argument. Helps language bindings, so they don't have to use
21568 tricky lock-needing macros like GST_STATE_CHANGE ().
21570 * scripts/update-states (file): New script. Run it on a file to
21571 update it for state naming and API changes. Updates files in
21574 * All files updated for the new API.
21576 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
21578 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21579 * gst/gstutils.c: (gst_util_set_value_from_string),
21580 (gst_util_set_object_arg):
21581 fix a bunch of unchecked return values
21582 * tools/gst-complete.c: (main):
21583 * gstreamer.spec.in:
21586 2005-09-01 Wim Taymans <wim@fluendo.com>
21588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21589 (gst_base_sink_event), (gst_base_sink_do_sync),
21590 (gst_base_sink_handle_event):
21591 * gst/base/gstbasesink.h:
21592 Handle newsegments more correctly.
21597 * gst/gstevent.c: (gst_event_new_newsegment):
21598 A newsegment cannot have a start_time of -1
21600 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
21602 * win32/gstenumtypes.c:
21603 * win32/gstenumtypes.h:
21606 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21608 * libs/gst/controller/gst-controller.c:
21609 (gst_controlled_property_set_interpolation_mode),
21610 (gst_controlled_property_new):
21611 fixed boolean again
21613 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
21615 * docs/faq/gst-uninstalled:
21620 * gst/gstutils.c: (gst_element_link_filtered):
21622 add gst_element_link_filtered
21624 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21626 * docs/gst/gstreamer-docs.sgml:
21627 * docs/gst/gstreamer-sections.txt:
21628 * docs/gst/tmpl/.cvsignore:
21629 * docs/gst/tmpl/gsterror.sgml:
21630 * docs/gst/tmpl/gstfilter.sgml:
21631 * docs/gst/tmpl/gsturihandler.sgml:
21632 * docs/gst/tmpl/gsturitype.sgml:
21633 * docs/gst/tmpl/gstutils.sgml:
21634 * docs/gst/tmpl/gstxml.sgml:
21639 * gst/gsturitype.c:
21642 inlined more docs, fixed double id-ref
21644 2005-08-31 Wim Taymans <wim@fluendo.com>
21646 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21647 (gst_base_transform_handle_buffer):
21648 Passthrough elements don't need the caps as they don't care.
21650 2005-08-31 Wim Taymans <wim@fluendo.com>
21652 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21653 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21654 Don't leak refcounts on buffers.
21656 2005-08-31 Wim Taymans <wim@fluendo.com>
21658 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21659 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21660 (gst_base_transform_chain), (gst_base_transform_change_state):
21661 * gst/base/gstbasetransform.h:
21662 Handle the case where we are not negotiated more gracefully.
21664 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
21666 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21667 (gst_file_src_map_region):
21668 Set READONLY flag on mmap'ed buffers, otherwise
21669 gst_buffer_make_writable() won't work properly (#314708).
21671 2005-08-31 Wim Taymans <wim@fluendo.com>
21673 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21674 passthrough elements can even do inplace on non writable
21675 buffers (as they don't touch them).
21677 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21679 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21680 (gst_test_mono_source_set_property),
21681 (gst_test_mono_source_class_init), (GST_START_TEST),
21682 (gst_controller_suite):
21683 more tests (hehe I have the most)
21685 describe popping messages whenusing mulltiple sources
21686 * libs/gst/controller/gst-controller.c:
21687 (gst_controlled_property_set_interpolation_mode),
21688 (gst_controlled_property_new):
21689 * libs/gst/controller/gst-controller.h:
21690 * libs/gst/controller/gst-interpolation.c:
21691 implement boolean properties
21693 2005-08-31 Wim Taymans <wim@fluendo.com>
21695 * gst/gstminiobject.c: (gst_mini_object_ref):
21696 Cannot assert that the refcount has to be positive
21697 since a disposed object can be resurrected.
21699 2005-08-31 Wim Taymans <wim@fluendo.com>
21701 * gst/gstpad.c: (gst_pad_init):
21702 Revert change, need to first fix badly behaving
21705 2005-08-30 Wim Taymans <wim@fluendo.com>
21707 * check/elements/fakesrc.c: (setup_fakesrc):
21708 * check/elements/identity.c: (setup_identity):
21709 Activate pads before using them.
21711 2005-08-30 Wim Taymans <wim@fluendo.com>
21713 * gst/base/gstadapter.c: (gst_adapter_flush):
21714 Flushing out 0 bytes is ok for this function.
21716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21717 no newsegment gives a warning and sets the start/stop to
21720 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21721 (gst_base_transform_set_passthrough):
21724 * gst/gstminiobject.c: (gst_mini_object_ref):
21725 Check refcount here too.
21727 * gst/gstpad.c: (gst_pad_init):
21728 Pads are initially flushing and refusing data.
21730 * gst/gstutils.c: (gst_element_link_pads_filtered):
21731 When adding a capsfilter element make sure it has the
21732 same state as the parent bin.
21734 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21736 * docs/gst/tmpl/.cvsignore:
21737 * docs/gst/tmpl/gstformat.sgml:
21738 * docs/gst/tmpl/gstversion.sgml:
21742 * gst/gstversion.h.in:
21743 more docs and two more inlined
21745 2005-08-30 Wim Taymans <wim@fluendo.com>
21747 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21748 Don't sync to clock.
21750 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21752 * docs/gst/gstreamer-sections.txt:
21753 ultral33t func10ns deserve to appear in the docs actually
21754 * docs/gst/tmpl/.cvsignore:
21755 * docs/gst/tmpl/gstcompat.sgml:
21756 * docs/gst/tmpl/gstconfig.sgml:
21757 * gst/check/gstcheck.c:
21759 * gst/gstconfig.h.in:
21762 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21764 * docs/gst/tmpl/.cvsignore:
21765 * docs/gst/tmpl/gstquery.sgml:
21766 * docs/gst/tmpl/gstutils.sgml:
21769 inlined and extended docs
21771 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21773 * check/gst-libs/controller.c: (GST_START_TEST),
21774 (gst_controller_suite):
21776 * docs/gst/tmpl/gstutils.sgml:
21777 * docs/libs/gstreamer-libs-sections.txt:
21778 * docs/libs/tmpl/gstdataprotocol.sgml:
21780 * examples/controller/audio-example.c: (main):
21781 controller example works now
21784 * tools/gst-inspect.c: (print_element_properties_info):
21785 show param spec flags
21787 2005-08-29 Andy Wingo <wingo@pobox.com>
21789 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21791 2005-08-28 Andy Wingo <wingo@pobox.com>
21793 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21794 as having two arguments instead of just one. Allows superclasses
21795 to access information on subclasses -- see the terrible for() loop
21796 in gtype.c:g_type_create_instance for the reason why. All callers
21799 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21801 * docs/design/part-messages.txt:
21803 * docs/gst/tmpl/.cvsignore:
21804 * docs/gst/tmpl/gstcaps.sgml:
21805 * docs/gst/tmpl/gstclock.sgml:
21811 * gst/gstmessage.c:
21812 added descriptions for bus and message
21813 inline caps and clock docs
21815 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21817 * gst/gstmessage.c:
21818 * gst/gstmessage.h:
21821 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21826 2005-08-26 Andy Wingo <wingo@pobox.com>
21828 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21829 element_set_state's return val.
21830 (test_2_elements): Add test that's been disabled for months.
21832 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21833 can-activate-pull properties.
21835 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21836 can-activate-pull properties. Implement is_seekable so fakesrc can
21837 operate in pull mode.
21839 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21841 (gst_base_sink_activate, gst_base_sink_activate_pull)
21842 (gst_base_sink_activate_push): Make activation mode choosing work.
21844 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21845 is right. Make pull mode work. Post an eos before pausing in pull
21847 (gst_base_sink_change_state): Pay attention to the core's
21848 change_state() return val.
21850 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21851 has-getrange properties. Cleanups.
21853 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21854 has_getrange and replace with can_activate_pull and
21857 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21858 locking comments. Remove has_loop, has_chain and replace with
21859 can_activate_pull and can_activate_push.
21861 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
21864 * examples/Makefile.am:
21865 * examples/metadata/Makefile.am:
21866 * examples/metadata/read-metadata.c: (message_loop),
21867 (have_pad_handler), (make_pipeline), (print_tag), (main):
21868 Add metadata reading example that loops over a list of filenames,
21869 dumping any tags found.
21871 * gst/gstbus.c: (gst_bus_dispose):
21872 * gst/gstelement.c: (gst_element_dispose):
21873 Release a few potentially-held references in dispose.
21875 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21877 * docs/gst/tmpl/gstminiobject.sgml:
21878 do *not* add tmpl/*.sgml files to CVS!
21880 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21882 * libs/gst/bytestream/.cvsignore:
21883 * libs/gst/bytestream/Makefile.am:
21884 * libs/gst/bytestream/adapter.c:
21885 * libs/gst/bytestream/adapter.h:
21886 * libs/gst/bytestream/bytestream.c:
21887 * libs/gst/bytestream/bytestream.h:
21888 * libs/gst/bytestream/filepad.c:
21889 * libs/gst/bytestream/filepad.h:
21890 removing obsolete files
21892 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21894 * docs/gst/gstreamer-docs.sgml:
21895 * docs/libs/gstreamer-libs-docs.sgml:
21896 disabed additional index entries again, as this makes docs-gen just
21897 slow and they aren't useful yet
21898 * docs/libs/gstreamer-libs-sections.txt:
21899 little -section.txt cleanup for libs
21901 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
21903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21904 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21905 fix up some debugging
21906 (gst_base_transform_get_unit_size),
21907 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21908 (gst_base_transform_handle_buffer):
21909 * gst/base/gstbasetransform.h:
21910 handle and store timed NEWSEGMENT events so that subclasses that
21911 calculate time by counting samples have a segment_start time they
21912 need to add to their timestamps - see audioresample
21914 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21917 removed ';' from the end of macro defs
21918 * docs/gst/gstreamer-docs.sgml:
21919 * docs/gst/gstreamer-sections.txt:
21920 * docs/gst/tmpl/.cvsignore:
21922 * gst/gstelement.c: (gst_element_class_init),
21923 (gst_element_set_state), (activate_pads),
21924 (gst_element_save_thyself):
21925 * gst/gstevent.c: (gst_event_new_newsegment):
21927 * gst/gstiterator.c:
21928 * gst/gstiterator.h:
21931 * gst/gstutils.c: (gst_pad_query_convert):
21933 fixed parameter name mismatches between source, header and docs
21934 added some more docs, resolved the last batch of unused elements in
21935 docs (now someone needs to doc them)
21937 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21939 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21940 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21941 don't walk through the plugins backwards. Where is all this
21942 reversed logic coming from ?
21944 2005-08-25 Wim Taymans <wim@fluendo.com>
21946 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21947 (gst_base_transform_transform_size),
21948 (gst_base_transform_configure_caps),
21949 (gst_base_transform_get_unit_size),
21950 (gst_base_transform_buffer_alloc),
21951 (gst_base_transform_change_state):
21952 * gst/base/gstbasetransform.h:
21953 Cache caps unit_size.
21954 Make sure we cannot negotiate up and downstream at the
21957 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21959 * gst/gst.c: (init_pre), (init_post):
21960 register the installed plugin path after the env var
21961 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21962 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21963 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21964 directories, so the tests can prefer uninstalled over installed
21966 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21968 * gst/base/gstbasetransform.h:
21973 2005-08-25 Wim Taymans <wim@fluendo.com>
21975 * gst/gstbin.c: (bin_bus_handler):
21976 Be a bit more conservative about the posted message.
21978 * gst/gstbus.c: (gst_bus_post):
21979 Some cleanups, warn wrong return values.
21981 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
21983 * check/gst/gstbin.c: (GST_START_TEST):
21984 * gst/gstbin.c: (bin_bus_handler):
21985 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21986 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21987 (gst_message_new_warning), (gst_message_new_tag),
21988 (gst_message_new_state_changed), (gst_message_new_segment_start),
21989 (gst_message_new_segment_done), (gst_message_new_custom):
21990 * gst/gstmessage.h:
21991 * tools/gst-launch.c: (event_loop):
21992 * tools/gst-md5sum.c: (event_loop):
21993 Revert unpopular change for GST_MESSAGE_SRC to GObject.
21995 2005-08-25 Wim Taymans <wim@fluendo.com>
21997 * check/generic/states.c: (GST_START_TEST):
21998 Cleanup can be done at the end.
22000 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22001 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22002 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22003 Oh boy.. Thanks for finding this, Thomas.
22005 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22007 * docs/gst/gstreamer.types:
22008 added missing types
22010 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22012 * docs/gst/gstreamer-docs.sgml:
22013 * docs/gst/gstreamer-sections.txt:
22014 * docs/gst/tmpl/.cvsignore:
22016 * gst/gstiterator.c:
22018 * gst/registries/gstxmlregistry.h:
22019 added missing classes and symbols (123 more to go)
22020 removed removed symbols from section file
22021 fixed many doc-comments
22023 2005-08-24 Wim Taymans <wim@fluendo.com>
22025 * check/generic/states.c: (GST_START_TEST):
22026 Make sure all tasks are stopped.
22028 * check/gst/gstbin.c: (GST_START_TEST):
22029 Unref after usage for proper valgrinding.
22031 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22032 Really wait for the task to stop before destroying the
22035 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22036 (gst_queue_src_activate_push):
22037 Small cleanups. Don't stop the task when we did not start
22040 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22041 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22042 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22045 Protect the stream lock with the object lock.
22046 Disallow setting the stream lock when running.
22047 Add cleanup_all to wait for the threadpool to finish.
22048 Remove code to autoallocate a mutex if none was provided.
22049 Add _join() to wait for a task to stop.
22050 Protect the thread pool with a global lock.
22052 2005-08-24 Wim Taymans <wim@fluendo.com>
22054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22055 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22056 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22057 * gst/base/gstbasesink.h:
22058 Handle newsegment events correctly.
22059 Drop buffers out of the segment range.
22061 2005-08-22 Andy Wingo <wingo@pobox.com>
22063 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22064 macro, implements an interface and gstimplementsinterface for a
22067 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22069 * check/Makefile.am:
22070 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22071 add a test that does a bunch of state changes on elements
22072 needs some fixing for valgrind
22073 * check/states/sinks.c: (gst_object_suite):
22076 add prototype for gst_caps_is_equal_fixed
22078 * gst/gstregistrypool.c:
22081 2005-08-24 Andy Wingo <wingo@pobox.com>
22083 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22084 convert a negative value. Doesn't make much sense. Mostly this is
22085 here to force callers to ensure -1 maps to -1.
22087 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22089 * docs/pwg/advanced-types.xml:
22090 Well done to Michael for catching my deliberate introduction
22091 of this spelling mistake.
22092 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22093 * gst/gstelement.h:
22094 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22095 unlink pads before removing the element from the bin.
22097 2005-08-24 Andy Wingo <wingo@pobox.com>
22099 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22100 the same thing as GST_DEBUG=*:4.
22101 (parse_debug_level, parse_debug_category): New helper parsers.
22103 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22105 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22106 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22107 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22108 (gst_base_transform_buffer_alloc),
22109 (gst_base_transform_handle_buffer):
22110 use gboolean return values and pointers to size so we can use the
22111 full GST_BUFFER_SIZE range (guint) for buffer sizes
22112 use GstPadDirection for transform_caps
22113 * gst/base/gstbasetransform.h:
22114 rename get_size to get_unit_size since that's what it is
22115 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22116 use GstPadDirection for transform_caps
22117 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22119 cleanup and debugging
22121 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22123 * gst/gstelement.c: (gst_element_class_init),
22124 (gst_element_set_state), (activate_pads),
22125 (gst_element_save_thyself):
22126 * tools/gst-compprep.c: (main):
22127 * tools/gst-inspect.c: (print_element_properties_info):
22128 * tools/gst-xmlinspect.c: (print_element_properties):
22129 Fixed long standing mem-leak
22131 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22133 * check/gst/gstbin.c: (GST_START_TEST):
22134 * gst/gstbin.c: (bin_bus_handler):
22135 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22136 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22137 (gst_message_new_warning), (gst_message_new_tag),
22138 (gst_message_new_state_changed), (gst_message_new_segment_start),
22139 (gst_message_new_segment_done), (gst_message_new_custom):
22140 * gst/gstmessage.h:
22141 * tools/gst-launch.c: (event_loop):
22142 * tools/gst-md5sum.c: (event_loop):
22143 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22144 that applications can sensibly post custom messages with references
22145 to their own objects.
22147 2005-08-24 Andy Wingo <wingo@pobox.com>
22149 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22152 2005-08-24 Wim Taymans <wim@fluendo.com>
22154 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22155 (gst_base_transform_transform_caps),
22156 (gst_base_transform_transform_size),
22157 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22158 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22159 (gst_base_transform_handle_buffer):
22160 * gst/base/gstbasetransform.h:
22161 Many fixes and new features added by Thomas. Can now also do
22162 transforms with variable sizes and a custom fixate_caps function.
22164 2005-08-24 Wim Taymans <wim@fluendo.com>
22166 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22170 Cast to ClockTime before formatting to time.
22175 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22177 * check/gst-libs/controller.c: (GST_START_TEST),
22178 (gst_controller_suite):
22179 * docs/gst/tmpl/gstcaps.sgml:
22180 * docs/gst/tmpl/gstghostpad.sgml:
22181 * docs/gst/tmpl/gstquery.sgml:
22182 * docs/gst/tmpl/gstutils.sgml:
22183 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22184 (gst_object_sink_values), (gst_object_get_value_arrays),
22185 (gst_object_get_value_array):
22186 gracefully handle helper method calls to objects that are not beeing
22187 controlled, added test case for that
22189 2005-08-23 Wim Taymans <wim@fluendo.com>
22191 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22192 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22193 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22194 (gst_event_parse_qos), (gst_event_new_seek),
22195 (gst_event_parse_seek):
22197 Some more debugging output and doc cleanups.
22199 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22200 Fix possible deadlock.
22202 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22204 * docs/gst/gstreamer-docs.sgml:
22205 * docs/gst/gstreamer-sections.txt:
22206 * docs/gst/gstreamer.types:
22207 * docs/gst/tmpl/.cvsignore:
22210 * gst/gstelement.c:
22212 added 100 symbols from gstreamer-unused.txt to the right sections
22213 fixed more broken comments
22214 added GstBus to docs
22216 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22218 * docs/gst/gstreamer-sections.txt:
22219 * docs/gst/tmpl/.cvsignore:
22220 * docs/gst/tmpl/gstbin.sgml:
22221 * docs/gst/tmpl/gstbuffer.sgml:
22222 * gst/base/gstbasesrc.c:
22223 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22226 * tools/gst-launch.1.in:
22227 inlined more doc comments, added missing comments and fixed comments
22230 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22232 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22236 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22238 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22239 * gst/gststructure.h:
22240 add a fixate function for booleans; add a FIXME that these func
22241 names should probably be gst_structure_fixate_*
22243 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22245 * docs/gst/gstreamer-docs.sgml:
22246 * docs/gst/gstreamer-sections.txt:
22248 * gst/gstbin.c: (gst_bin_get_type),
22249 (gst_bin_child_proxy_get_child_by_index),
22250 (gst_bin_child_proxy_get_children_count),
22251 (gst_bin_child_proxy_init):
22252 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22253 (gst_child_proxy_get_child_by_index),
22254 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22255 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22256 (gst_child_proxy_get), (gst_child_proxy_set_property),
22257 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22258 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22259 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22260 * gst/gstchildproxy.h:
22261 * gst/parse/grammar.y:
22262 * tools/gst-inspect.c: (print_interfaces),
22263 (print_element_properties_info), (print_element_info):
22264 ported gstchildproxy over from 0.8
22265 ported gst-inspect fixes and enhancements over from 0.8
22267 2005-08-22 Wim Taymans <wim@fluendo.com>
22269 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22270 (gst_base_transform_handle_buffer):
22271 Also call the transform function if we have ANY caps.
22273 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22276 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22278 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22279 Don't pretend to handle seek events if the source is not seekable
22281 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22284 Remove extra parameter to debug output
22286 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22287 (gst_base_src_do_seek), (gst_base_src_activate_push):
22288 Fix seek event handling.
22290 * gst/gstpipeline.c: (gst_pipeline_change_state):
22291 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22292 (gst_queue_src_activate_push):
22293 Don't start the src pad task on FLUSH_STOP if the pad
22297 2005-08-22 Wim Taymans <wim@fluendo.com>
22299 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22300 Added check for gst_static_caps_get() refcounting.
22302 2005-08-22 Wim Taymans <wim@fluendo.com>
22304 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22305 Make _static_caps_get() refcounting sane.
22307 * gst/gstelement.c: (gst_element_set_state):
22308 Add g_return_val_if_fail() to protect against segfaults.
22310 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22312 * docs/gst/tmpl/gstevent.sgml:
22315 inlined remaining docs, added missing doc comments
22317 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22319 * check/gst/gstbin.c: (GST_START_TEST):
22320 since we don't know when preroll is done, use refcount range
22322 * gst/check/gstcheck.h:
22323 add macro for checking refcount range
22325 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22327 * check/Makefile.am:
22328 clean up environment for when registry gets built versus
22329 when actual tests are run; valgrind seems to not report
22330 leaks if GST_PLUGIN_PATH is set to some specific values
22331 * check/gst/gstbin.c: (GST_START_TEST):
22332 add more refcounting checks; maybe this exposes a
22334 * common/check.mak:
22335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22336 * gst/check/gstcheck.h:
22337 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22338 (gst_bin_change_state):
22339 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22340 add/fix debugging/whitespace
22342 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22344 * check/gst/gstevent.c: (event_probe), (test_event),
22346 Er, don't call gst_bin_watch_for_state_change you idiot.
22348 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22350 * check/Makefile.am:
22351 Use CHECK_CFLAGS and CHECK_LIBS
22352 * check/gst/gstevent.c: (event_probe), (test_event),
22355 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22356 (gst_base_src_start), (gst_base_src_stop),
22357 (gst_base_src_activate_push), (gst_base_src_activate_pull),
22358 (gst_base_src_change_state):
22359 Sprinkle gst_base_src_stop liberally around error paths to fix
22360 problems reusing a source after failed state changes.
22361 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22362 (helper_find_suggest), (gst_type_find_helper):
22363 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22365 * docs/gst/tmpl/gstevent.sgml:
22366 Migrate part of the docs from the SGML file. Wait for ensonic to
22367 tell me how I did it wrong ;)
22368 * tools/gst-typefind.c: (main):
22369 Extra robustness to state changes between files.
22371 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22373 * check/Makefile.am:
22374 don't valgrind the controller test - it's leaking - Stefan, HELP
22375 * gst/check/gstcheck.c: (gst_check_message_error),
22376 (gst_check_chain_func), (gst_check_setup_element),
22377 (gst_check_teardown_element), (gst_check_setup_src_pad),
22378 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22379 (gst_check_teardown_sink_pad):
22380 * gst/check/gstcheck.h:
22381 add a bunch of methods to set up elements, and src and sink pads
22382 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22383 * check/elements/identity.c: (setup_identity), (cleanup_identity),
22386 * gst/gstmessage.c:
22388 whitespace/doc fixes
22390 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22392 * gst/gstelement.h:
22393 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22394 be handled by the application and not always printed as well
22396 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22398 * check/Makefile.am:
22400 * gst/check/gstcheck.c: (gst_check_message_error):
22401 * gst/check/gstcheck.h:
22402 add a fail_unless_equals_int
22403 add fail_unless for error messages
22405 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22407 * check/Makefile.am:
22409 * common/Makefile.am:
22410 * common/check.mak:
22412 factor out some of the common stuff so we can use it
22414 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22416 * check/Makefile.am:
22417 * check/gst/gstiterator.c: (GST_START_TEST):
22418 * check/gst/gstsystemclock.c: (GST_START_TEST),
22419 (gst_systemclock_suite):
22420 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22422 valgrind more tests
22424 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22426 * check/elements/.cvsignore:
22427 * check/elements/gstfakesrc.c:
22428 rename to name of element
22429 * check/elements/identity.c: (chain_func), (event_func),
22430 (setup_identity), (cleanup_identity), (GST_START_TEST),
22431 (identity_suite), (main):
22432 add a test for identity
22433 * check/Makefile.am:
22434 * pkgconfig/Makefile.am:
22435 * pkgconfig/gstreamer-check.pc.in:
22436 * pkgconfig/gstreamer-check-uninstalled.pc.in:
22440 move the check stuff to a library that gets installed
22441 * check/gst-libs/controller.c: (GST_START_TEST):
22442 * check/gst-libs/gdp.c:
22443 * check/gst/gst.c: (GST_START_TEST):
22444 * check/gst/gstbin.c:
22445 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22446 * check/gst/gstbus.c:
22447 * check/gst/gstcaps.c: (GST_START_TEST):
22448 * check/gst/gstelement.c:
22449 * check/gst/gstghostpad.c:
22450 * check/gst/gstiterator.c:
22451 * check/gst/gstmessage.c:
22452 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22453 * check/gst/gstobject.c:
22454 * check/gst/gstpad.c: (GST_START_TEST):
22455 * check/gst/gststructure.c: (GST_START_TEST):
22456 * check/gst/gstsystemclock.c: (GST_START_TEST),
22457 (gst_systemclock_suite):
22458 * check/gst/gsttag.c: (gst_tag_suite):
22459 * check/gst/gstvalue.c:
22460 * check/pipelines/cleanup.c:
22461 * check/pipelines/simple_launch_lines.c:
22462 * check/states/sinks.c:
22463 change include statement
22465 * docs/gst/gstreamer-sections.txt:
22466 * docs/gst/tmpl/gstpad.sgml:
22467 document more pad stuff
22468 * gst/gstminiobject.c: (gst_mini_object_ref),
22469 (gst_mini_object_unref):
22472 2005-08-19 Stefan Kost <ensonic@users.sf.net>
22474 * docs/gst/tmpl/gst.sgml:
22476 eliminate another tmpl file, fix spelling in the long-description
22478 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22480 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22481 (test_event), (timediff), (gstevents_suite):
22482 Should fix build on 64-bit arch's
22484 2005-08-18 Andy Wingo <wingo@pobox.com>
22486 Make sure that when a pipeline goes to PLAYING, that data has
22487 actually hit the sink.
22489 * check/states/sinks.c (test_sink): A sink that doesn't get any
22490 data shouldn't return SUCCESS for going to either PLAYING or
22491 PAUSED. Test also the return values on the way back down.
22493 * gst/gstelement.c (gst_element_set_state): When changing the
22494 state of an element currently changing state asynchronously, go to
22495 lost-state after commiting the pending state. Makes future calls
22496 to get_state continue to return ASYNC.
22498 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22499 ASYNC when going to PLAYING if we still don't have preroll, as can
22500 happen with live sources.
22502 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22504 * docs/pwg/advanced-types.xml:
22505 Hack long paragraph into 2 chunks as a workaround for buggy
22506 jadetex version in sid and breezy that loops infinitely and
22509 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22511 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22512 (test_event), (timediff), (gstevents_suite):
22513 Provide more error margin in clock measurements to allow for
22514 g_get_current_time inaccuracies.
22516 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22518 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22519 (test_event), (timediff), (gstevents_suite):
22520 Fix error message output so I might be able to tell why the
22521 test works here but fails on the build farm.
22523 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22525 * check/Makefile.am:
22526 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22527 (test_event), (timediff), (gstevents_suite), (main):
22530 * docs/design/part-seeking.txt:
22531 Spelling correction
22533 * docs/gst/tmpl/gstevent.sgml:
22534 * docs/gst/tmpl/gstfakesrc.sgml:
22537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22538 Treat a buffer-without-newsegment the same as a receiving
22539 a newsegment not in time format, and disable syncing to the clock
22542 * gst/gstbus.c: (gst_bus_set_sync_handler):
22543 Assert if anyone tries to replace the existing sync_handler for bus,
22544 as only the owner should be setting it.
22547 Have a fixed set of custom event enums with events identified by
22548 their structure name (as in 0.8), rather than a free-for-all
22549 allowing collisions between enum values from different plugins.
22551 * gst/gstpad.c: (gst_pad_class_init):
22554 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22555 Handle out-of-band downstream events from the sending thread.
22557 2005-08-17 Andy Wingo <wingo@pobox.com>
22559 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22560 play-timeout==0 to mean no timeout at all. In that case, don't
22561 bother with a get_state or a warning, just return directly, even
22564 * gst/base/gstbasetransform.c: Debug changes.
22567 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22568 ensure bins post state change messages. A bit of a hack but I can't
22569 think of a way to avoid it.
22571 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22573 2005-08-16 Andy Wingo <wingo@pobox.com>
22575 * gst/base/gstadapter.h:
22576 * gst/base/gstadapter.c (gst_adapter_take): New function, like
22577 peek() but you own the data. Not terribly efficient atm.
22579 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22581 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22582 (gst_element_found_tags):
22584 Add two utility functions for tag handling.
22586 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22588 * docs/manual/advanced-dataaccess.xml:
22589 * docs/manual/basics-helloworld.xml:
22590 Fix docs to use _bin_add() before _link(), which fixes the examples
22591 with recent core versions (reported by Madhan Raj M
22592 <raj_madan@rediffmail.com>, #313199).
22594 2005-08-16 Wim Taymans <wim@fluendo.com>
22596 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22597 Added subtract checks.
22599 * docs/design/part-events.txt:
22600 Some more docs about newsegment
22602 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22605 * gst/gstcaps.c: (gst_caps_to_string):
22606 Add comments, cleanups.
22608 * gst/gstelement.c: (gst_element_save_thyself):
22611 * gst/gstvalue.c: (gst_value_collect_int_range),
22612 (gst_string_unwrap), (gst_value_union_int_int_range),
22613 (gst_value_union_int_range_int_range),
22614 (gst_value_intersect_int_int_range),
22615 (gst_value_intersect_int_range_int_range),
22616 (gst_value_intersect_double_double_range),
22617 (gst_value_intersect_double_range_double_range),
22618 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22619 (gst_value_subtract_int_range_int),
22620 (gst_value_subtract_double_range_double),
22621 (gst_value_subtract_double_range_double_range),
22622 (gst_value_subtract_from_list), (gst_value_subtract_list),
22623 (gst_value_can_compare), (gst_value_compare_fraction):
22624 Cleanups, add comments, remove unneeded asserts.
22626 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22628 * tools/gst-launch.c: (event_loop):
22629 don't convert NULL structures to strings
22631 2005-08-15 Stefan Kost <ensonic@users.sf.net>
22633 * docs/gst/gstreamer-sections.txt:
22634 made some defines private
22635 * docs/gst/tmpl/gstconfig.sgml:
22636 * docs/gst/tmpl/gstqueue.sgml:
22637 * docs/gst/tmpl/gsttaglist.sgml:
22638 * docs/gst/tmpl/gsttypes.sgml:
22639 * docs/gst/tmpl/gstutils.sgml:
22640 * docs/pwg/appendix-porting.xml:
22641 * gst/base/gstbasesink.h:
22642 * gst/base/gstbasesrc.c:
22643 * gst/base/gstbasesrc.h:
22644 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22645 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22646 * gst/gstelement.c: (gst_element_class_init):
22647 * gst/gstpad.c: (gst_pad_class_init):
22648 * gst/gstqueue.c: (gst_queue_class_init):
22649 * gst/gstxml.c: (gst_xml_class_init):
22650 documented all undocumented signal inline
22651 * libs/gst/controller/gst-controller.h:
22654 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22656 * docs/pwg/appendix-porting.xml:
22657 Document _set_link_function -> _set_setcaps_function.
22659 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22661 * check/Makefile.am:
22662 add a .check target for running the check
22663 * check/gst-libs/controller.c: (GST_START_TEST):
22665 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22666 complete checks for gstbuffer; would be nice if I could get the
22667 gcov stuff to work so I can see if I actually completed gstbuffer.c
22668 * check/gstcheck.h:
22669 add ASSERT_BUFFER_REFCOUNT
22671 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
22673 * docs/gst/gstreamer-sections.txt:
22674 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22676 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22677 spew out a warning if a tag that is already registered
22678 is re-registered, unless it is re-registered with a
22679 different type (#308438).
22681 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
22683 * docs/pwg/appendix-porting.xml:
22684 * docs/pwg/building-state.xml:
22685 Add some paragraphs about state changes in 0.9 to the PWG
22686 and the porting guide, in particular about the new meaning
22687 of GST_STATE_PAUSED and how to write state change functions
22688 with concurrent access by multiple threads in mind.
22690 2005-08-11 Stefan Kost <ensonic@users.sf.net>
22692 * docs/gst/gstreamer-docs.sgml:
22693 * docs/libs/gstreamer-libs-docs.sgml:
22694 added deprecation and since indexes
22695 * libs/gst/controller/gst-controller.c:
22696 * libs/gst/controller/gst-helper.c:
22700 2005-08-11 Wim Taymans <wim@fluendo.com>
22702 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22703 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22704 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22705 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22706 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22707 (gst_ghost_pad_set_target):
22708 Actually implement (re)setting the target on a ghostpad
22709 as described in the docs.
22711 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22713 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22714 Check whether GST_DEBUG_NO_COLOR environment variable is
22715 set and disable coloured debug output if that is the case.
22717 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22719 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22720 (gst_type_find_helper):
22721 The memory returned by gst_type_find_peek() needs to
22722 stay valid until the end of a typefind function, and
22723 typefind functions may keep results from different
22724 offsets around, so we can't just unref the buffer from
22725 the previous _peek(), but have to save all buffers
22726 returned by _peek() until typefinding is done and only
22729 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
22731 * docs/gst/gstreamer-sections.txt:
22733 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22735 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22737 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22738 Fix a pretty good memleak.
22740 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22742 * gst/gstiterator.h:
22743 Fix wrong include and 'make distcheck'.
22745 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22747 * gst/gstbin.c: (bin_bus_handler):
22748 Use gst_element_post_message() instead.
22750 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22752 * gst/base/gstadapter.h:
22753 * gst/base/gstbasesink.h:
22754 * gst/base/gstbasesrc.h:
22755 * gst/base/gstbasetransform.h:
22756 * gst/base/gstcollectpads.h:
22757 * gst/base/gstpushsrc.h:
22758 * gst/gstiterator.h:
22759 Add padding to our base elements' class and instance structs and
22760 to GstIterator (you will need to rebuild all plugins and apps!)
22762 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22764 * gst/gstbin.c: (bin_bus_handler):
22765 Make default message forwarding from child->bus to bin->bus
22766 threadsafe and make it not emit warnings if the parent has no bus.
22768 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22770 * gst/gstelement.c: (activate_pads):
22771 On paused->ready, set pad->caps to NULL, as is the documented
22772 behaviour in this state change. Fixes playback of series of
22773 media files when visualization is enabled in Totem.
22775 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22777 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22778 Allow NULL as filter-caps (which means "any").
22780 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22782 * docs/libs/gstreamer-libs-sections.txt:
22783 * libs/gst/controller/gst-controller.c:
22784 * libs/gst/controller/gst-controller.h:
22785 * libs/gst/controller/gst-helper.c:
22786 adding more entries to the docs and fix small doc-bugs
22788 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22790 * docs/gst/gstreamer-docs.sgml:
22791 * docs/gst/gstreamer-sections.txt:
22792 * docs/gst/gstreamer.types:
22793 * docs/gst/tmpl/gstbasesink.sgml:
22794 * docs/gst/tmpl/gstbasesrc.sgml:
22795 * docs/gst/tmpl/gstbasetransform.sgml:
22796 * docs/gst/tmpl/gstfakesrc.sgml:
22797 * gst/base/gstcollectpads.c:
22798 * gst/base/gstcollectpads.h:
22799 * libs/gst/controller/gst-controller.c:
22800 * libs/gst/controller/gst-controller.h:
22801 * libs/gst/controller/gst-helper.c:
22802 * libs/gst/controller/gst-interpolation.c:
22803 * libs/gst/controller/lib.c:
22804 added long/short desc for controller docs
22805 added collectpads base class docs
22806 added correct includes to base-class docs
22808 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22810 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22811 (gst_test_mono_source_set_property),
22812 (gst_test_mono_source_class_init), (GST_START_TEST),
22813 (gst_controller_suite):
22814 * docs/gst/gstreamer-docs.sgml:
22815 * docs/gst/gstreamer-sections.txt:
22816 * docs/gst/gstreamer.types:
22817 * docs/libs/gstreamer-libs-docs.sgml:
22818 * docs/libs/gstreamer-libs-sections.txt:
22819 * gst/base/gstadapter.c:
22820 * libs/gst/controller/gst-controller.c:
22821 (gst_controlled_property_new), (gst_controlled_property_free),
22822 (gst_controller_new_valist),
22823 (gst_controller_remove_properties_valist),
22824 (gst_controller_sink_values), (_gst_controller_finalize):
22825 * libs/gst/controller/gst-controller.h:
22826 * libs/gst/controller/gst-helper.c:
22827 (gst_object_control_properties), (gst_object_uncontrol_properties),
22828 (gst_object_get_controller), (gst_object_set_controller),
22829 (gst_object_sink_values), (gst_object_get_value_arrays),
22830 (gst_object_get_value_array):
22831 more tests (and fixes) for the controller
22832 more docs for the controller
22833 integrated companies docs for the adapter
22835 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
22837 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22838 (GST_START_TEST), (fakesrc_suite):
22839 add tests for sizetype
22841 2005-08-04 Andy Wingo <wingo@pobox.com>
22843 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22844 fixes buffer_alloc proxying among other things.
22846 * gst/base/gstbasetransform.c:
22847 * gst/base/gstbasetransform.h:
22848 Revert patch to gstbasetransform from 7-28 removing
22851 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22852 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22853 Semantics changed, should return not the size of the output buffer
22854 but the byte size of a buffer with a given caps.
22856 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22858 (gst_base_transform_configure_caps): Don't set out_size here: (in,
22859 out) are not the pad caps until setcaps finishes.
22860 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22861 not-in-place case as well. Deal with changing from in-place to
22862 not-in-place within calling pad_alloc_buffer. Still a bit
22863 concerned about the overhead here...
22865 2005-08-03 Andy Wingo <wingo@pobox.com>
22867 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22868 fixating is an error.
22870 2005-08-04 Edward Hervey <edward@fluendo.com>
22872 * gst/base/gstadapter.h:
22873 Added gst_adapter_get_type() to the header
22875 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22877 * check/Makefile.am:
22878 * check/gst-libs/controller.c:
22879 * libs/gst/controller/gst-controller.c:
22880 (gst_controller_new_valist):
22881 added check test suite for the controller
22882 * gst/base/gstpushsrc.c:
22885 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22887 * docs/gst/Makefile.am:
22888 * docs/gst/gstreamer-docs.sgml:
22889 * docs/gst/gstreamer-sections.txt:
22890 * docs/gst/gstreamer.types:
22891 * docs/gst/tmpl/gstfakesrc.sgml:
22893 * gst/base/gstbasesink.c:
22894 * gst/base/gstbasesink.h:
22895 * gst/base/gstbasesrc.c:
22896 * gst/base/gstbasesrc.h:
22897 * gst/base/gstbasetransform.c:
22898 * gst/base/gstpushsrc.c:
22899 * gst/base/gstpushsrc.h:
22900 add short/long description docs to base classes
22901 add pushsrc to the docs
22902 remove consolidated doc fragments
22904 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22907 * docs/libs/Makefile.am:
22908 * docs/libs/gstreamer-libs-docs.sgml:
22909 * docs/libs/gstreamer-libs-sections.txt:
22910 * docs/libs/gstreamer-libs.types:
22911 * examples/Makefile.am:
22912 * examples/controller/.cvsignore:
22913 * examples/controller/Makefile.am:
22914 * examples/controller/audio-example.c: (main):
22915 * libs/gst/Makefile.am:
22916 * libs/gst/controller/.cvsignore:
22917 * libs/gst/controller/Makefile.am:
22918 * libs/gst/controller/gst-controller.c:
22919 (on_object_controlled_property_changed), (gst_timed_value_compare),
22920 (gst_timed_value_find),
22921 (gst_controlled_property_set_interpolation_mode),
22922 (gst_controlled_property_new), (gst_controlled_property_free),
22923 (gst_controller_find_controlled_property),
22924 (gst_controller_new_valist), (gst_controller_new),
22925 (gst_controller_remove_properties_valist),
22926 (gst_controller_remove_properties), (gst_controller_set),
22927 (gst_controller_set_from_list), (gst_controller_unset),
22928 (gst_controller_get), (gst_controller_get_all),
22929 (gst_controller_sink_values), (gst_controller_get_value_arrays),
22930 (gst_controller_get_value_array),
22931 (gst_controller_set_interpolation_mode),
22932 (_gst_controller_finalize), (_gst_controller_init),
22933 (_gst_controller_class_init), (gst_controller_get_type):
22934 * libs/gst/controller/gst-controller.h:
22935 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22936 (g_object_uncontrol_properties), (g_object_get_controller),
22937 (g_object_set_controller), (g_object_sink_values),
22938 (g_object_get_value_arrays), (g_object_get_value_array):
22939 * libs/gst/controller/gst-interpolation.c:
22940 (gst_controlled_property_find_timed_value_node),
22941 (interpolate_none_get), (interpolate_trigger_get),
22942 (interpolate_trigger_get_value_array):
22943 * libs/gst/controller/lib.c: (gst_controller_init):
22944 * pkgconfig/Makefile.am:
22945 * pkgconfig/gstreamer-control-uninstalled.pc.in:
22946 * pkgconfig/gstreamer-control.pc.in:
22947 * testsuite/Makefile.am:
22948 * testsuite/controller/.cvsignore:
22949 * testsuite/controller/Makefile.am:
22950 * testsuite/controller/interpolator.c: (main):
22951 added controller code
22952 removed dparam pc files
22954 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22955 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22956 (gst_collectpads_stop):
22957 Broadcast the condition when shutting down, to make sure we wake all
22958 threads up. Shut down pads on finalize, for safety.
22960 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22961 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22962 (gst_base_transform_handle_buffer),
22963 (gst_base_transform_change_state):
22964 Handle PAUSED->READY->PAUSED transition after negotiation
22966 * gst/gstmessage.c: (gst_message_init):
22967 Extra piece of debug for new messages.
22969 2005-08-01 Stefan Kost <ensonic@users.sf.net>
22972 * docs/gst/tmpl/gstbasesrc.sgml:
22973 * docs/gst/tmpl/gstelement.sgml:
22974 * docs/gst/tmpl/gstevent.sgml:
22975 * docs/gst/tmpl/gstfakesrc.sgml:
22976 * docs/gst/tmpl/gstformat.sgml:
22977 * docs/gst/tmpl/gstghostpad.sgml:
22978 * docs/gst/tmpl/gstpad.sgml:
22979 * docs/gst/tmpl/gstquery.sgml:
22980 * docs/gst/tmpl/gststructure.sgml:
22981 * docs/gst/tmpl/gsttaglist.sgml:
22982 * docs/gst/tmpl/gstvalue.sgml:
22983 * docs/libs/gstreamer-libs-docs.sgml:
22984 * docs/libs/gstreamer-libs-sections.txt:
22985 * docs/libs/gstreamer-libs.types:
22986 * libs/gst/Makefile.am:
22987 * libs/gst/control/.cvsignore:
22988 * libs/gst/control/Makefile.am:
22989 * libs/gst/control/control.c:
22990 * libs/gst/control/control.h:
22991 * libs/gst/control/dparam.c:
22992 * libs/gst/control/dparam.h:
22993 * libs/gst/control/dparam_smooth.c:
22994 * libs/gst/control/dparam_smooth.h:
22995 * libs/gst/control/dparamcommon.h:
22996 * libs/gst/control/dparammanager.c:
22997 * libs/gst/control/dparammanager.h:
22998 * libs/gst/control/dplinearinterp.c:
22999 * libs/gst/control/dplinearinterp.h:
23000 * libs/gst/control/unitconvert.c:
23001 * libs/gst/control/unitconvert.h:
23002 * testsuite/Makefile.am:
23003 * testsuite/dynparams/.cvsignore:
23004 * testsuite/dynparams/Makefile.am:
23005 * testsuite/dynparams/dparamstest.c:
23006 * tools/Makefile.am:
23007 * tools/gst-inspect.c: (print_element_info), (main):
23008 * tools/gst-xmlinspect.c: (print_element_info), (main):
23009 deactivate and remove dparams (libgstcontrol)
23011 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23013 * gst/elements/gsttypefindelement.c:
23014 (gst_type_find_element_have_type), (gst_type_find_element_init),
23015 (stop_typefinding), (gst_type_find_element_handle_event),
23016 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23017 * gst/elements/gsttypefindelement.h:
23018 Set caps on all outgoing buffers, not just the first one.
23020 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23022 * gst/elements/gsttypefindelement.c:
23023 (gst_type_find_element_have_type),
23024 (gst_type_find_element_check_set_buffer_caps),
23025 (gst_type_find_element_init), (stop_typefinding),
23026 (gst_type_find_element_handle_event),
23027 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23028 * gst/elements/gsttypefindelement.h:
23029 Set caps on first outgoing buffer when we've found the type.
23031 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23033 * docs/gst/gstreamer-docs.sgml:
23034 * docs/gst/gstreamer-sections.txt:
23035 * docs/gst/tmpl/gstscheduler.sgml:
23036 * docs/gst/tmpl/gstschedulerfactory.sgml:
23037 Remove some old cruft from docs.
23039 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23042 Fix inline docs for GstPadLinkReturn.
23044 * gst/gststructure.c: (gst_structure_has_name):
23045 * gst/gststructure.h:
23046 * docs/gst/gstreamer-sections.txt:
23047 New API: gst_structure_has_name().
23049 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23052 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23053 and _LARGEFILE_SOURCE in config.h as required. Do not
23054 export those flags in our .pc files any longer (#142209).
23056 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23058 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23059 (gst_file_sink_do_seek), (gst_file_sink_event),
23060 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23061 Redo seek/tell calls with large file support in mind; add some
23062 debugging messages; add log message that tells us when large
23063 file support is unavailable or not enabled for some reason.
23065 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23066 Add log message that tells us when large file support
23067 is unavailable or not enabled for some reason.
23069 2005-07-29 Wim Taymans <wim@fluendo.com>
23071 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23072 Added test for removing an element with ghostpad from a bin.
23073 Fixed test as current implementation does the right thing.
23075 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23076 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23077 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23078 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23079 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23080 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23081 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23082 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23083 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23084 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23085 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23086 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23087 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23088 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23089 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23090 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23091 * gst/gstghostpad.h:
23092 Clean up ghostpads, remove properties for internal stuff.
23095 Prepare for switching targets, not all use cases work yet.
23097 2005-07-29 Wim Taymans <wim@fluendo.com>
23099 * docs/design/part-gstghostpad.txt:
23102 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23103 (gst_bin_remove_func):
23104 Unlinking pads while holding the bin LOCK is not a good
23107 * gst/gstpad.c: (gst_pad_class_init),
23108 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23109 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23110 No prob setting template after creating the pad.
23112 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23114 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23115 (gst_bus_peek), (gst_bus_source_dispatch),
23116 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23117 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23118 gst_bus_poll may be called from other threads. Handle
23119 this nicely by not making poll_data disappear off the
23120 stack once gst_bus_poll returns.
23121 gst_bus_peek now increments the refcount on the returned
23124 2005-07-29 Wim Taymans <wim@fluendo.com>
23126 * docs/design/part-gstghostpad.txt:
23127 Overview of current GhostPad datastructures and use
23128 cases for changing the target.
23130 2005-07-28 Wim Taymans <wim@fluendo.com>
23132 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23133 Added checks for hierarchy consistency whan adding linked
23136 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23137 Added check to test element scheduling without bin/pipeline.
23139 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23140 First add elements to bin, then link.
23142 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23143 (gst_bin_remove_func):
23144 Unlink pads from elements added/removed from bin to maintain
23145 hierarchy consistency.
23147 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23149 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23150 (gst_base_transform_handle_buffer):
23151 * gst/base/gstbasetransform.h:
23152 Remove broken delay_configure (fixes renegotiation of software
23153 scaling pipelines); remove some leftover printf()s.
23155 2005-07-28 Wim Taymans <wim@fluendo.com>
23157 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23158 Added some more tests for wrong hierarchy
23160 * docs/design/part-overview.txt:
23163 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23166 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23167 (gst_element_dispose):
23168 Some more cleanups.
23170 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23171 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23172 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23173 (gst_pad_set_caps), (gst_pad_send_event):
23174 Check for correct hierarchy when linking pads. Moving to
23175 strict requirement for ghostpads when linking elements in
23179 Clean ups. Added WRONG_HIERARCHY return value.
23181 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23183 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23184 Better debug if no transform is possible.
23186 2005-07-27 Wim Taymans <wim@fluendo.com>
23188 * docs/random/wtay/network-transp:
23189 Some old doc I had.
23191 2005-07-27 Wim Taymans <wim@fluendo.com>
23193 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23194 (gst_dp_event_from_packet):
23195 Fix serialization of seek events.
23197 2005-07-27 Wim Taymans <wim@fluendo.com>
23199 * check/gst-libs/gdp.c: (GST_START_TEST):
23200 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23201 Fix compilation and fix event serialization.
23203 2005-07-27 Wim Taymans <wim@fluendo.com>
23206 * docs/design/part-TODO.txt:
23207 * docs/design/part-events.txt:
23210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23211 (gst_base_sink_event), (gst_base_sink_do_sync),
23212 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23213 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23214 (gst_base_src_do_seek), (gst_base_src_event_handler),
23215 (gst_base_src_loop):
23216 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23217 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23218 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23219 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23220 (gst_base_transform_set_passthrough),
23221 (gst_base_transform_is_passthrough):
23222 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23223 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23229 * gst/gstelement.c: (gst_element_seek):
23230 * gst/gstelement.h:
23231 Update gst_element_seek.
23233 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23234 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23235 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23236 (gst_event_new_eos), (gst_event_new_newsegment),
23237 (gst_event_parse_newsegment), (gst_event_new_tag),
23238 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23239 (gst_event_parse_qos), (gst_event_new_seek),
23240 (gst_event_parse_seek), (gst_event_new_navigation):
23242 Make GstEvent use GstStructure. Add parsing code, make sure the
23243 API is sufficiently generic.
23244 Mark possible directions of events and serialization.
23246 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23247 (_gst_message_copy), (gst_message_new_segment_start),
23248 (gst_message_new_segment_done), (gst_message_new_custom),
23249 (gst_message_parse_segment_start),
23250 (gst_message_parse_segment_done):
23253 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23254 (gst_pad_set_caps), (gst_pad_send_event):
23255 Update for new events.
23256 Catch events sent in wrong directions.
23258 * gst/gstqueue.c: (gst_queue_link_src),
23259 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23260 (gst_queue_handle_src_query):
23265 Remove event code from this file.
23267 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23268 (gst_dp_event_from_packet):
23271 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23273 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23274 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23275 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23276 Make debugging actually useful.
23278 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23280 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23281 (gst_pad_fixate_caps):
23282 Implement default fixation once again, so that gst_pad_fixate()
23283 actually does anything at all. This probably needs to be some
23284 sort of a last resort, and use profile-based fixation first, but
23285 since that doesn't exist yet, this is the best we have. Fixes
23286 visualization in Totem.
23288 2005-07-22 Wim Taymans <wim@fluendo.com>
23290 * docs/design/part-events.txt:
23293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23294 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23295 (gst_base_sink_activate_pull):
23296 Some more comments.
23298 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23299 (gst_fake_src_create):
23300 Fix handoff marshall.
23302 * gst/elements/gstidentity.c: (gst_identity_class_init),
23303 (gst_identity_transform_ip):
23304 We're a real inplace element.
23306 * gst/gstbus.c: (gst_bus_post):
23307 Added some comments.
23309 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23310 * tests/muxing/case1.c: (main):
23311 * tests/sched/dynamic-pipeline.c: (main):
23312 * tests/sched/interrupt1.c: (main):
23313 * tests/sched/interrupt2.c: (main):
23314 * tests/sched/interrupt3.c: (main):
23315 * tests/sched/runxml.c: (main):
23316 * tests/sched/sched-stress.c: (main):
23317 * tests/seeking/seeking1.c: (event_received), (main):
23318 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23320 * tests/threadstate/threadstate3.c: (main):
23321 * tests/threadstate/threadstate4.c: (main):
23322 * tests/threadstate/threadstate5.c: (main):
23325 2005-07-21 Wim Taymans <wim@fluendo.com>
23327 * docs/design/part-seeking.txt:
23328 Some small additions.
23330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23331 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23332 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23333 * gst/base/gstbasesink.h:
23334 discont values are gint64, handle the math correctly.
23336 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23337 Make the basesrc report error if the source pad is not linked.
23339 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23340 (gst_queue_loop), (gst_queue_handle_src_query),
23341 (gst_queue_src_activate_push):
23342 Make queue collect data even if the srcpad is not linked.
23343 Start pushing out data as soon as it is linked.
23345 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23347 Added gst_flow_get_name() to ease error reporting.
23349 2005-07-20 Wim Taymans <wim@fluendo.com>
23351 * gst/gstmessage.c: (gst_message_new_segment_start),
23352 (gst_message_new_segment_done), (gst_message_parse_segment_start),
23353 (gst_message_parse_segment_done):
23354 * gst/gstmessage.h:
23355 Added a bunch of messages for advanced seeking.
23357 * gst/parse/grammar.y:
23358 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23359 (gst_dpman_state_changed):
23360 Fix some new-pad -> pad-added signals
23362 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23364 * docs/manual/appendix-porting.xml:
23365 * docs/pwg/appendix-porting.xml:
23366 Document new-pad/state-change signal renames and the FixedList
23369 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23371 * docs/manual/advanced-autoplugging.xml:
23372 * docs/manual/basics-helloworld.xml:
23373 * docs/manual/basics-pads.xml:
23374 * docs/random/ds/0.9-suggested-changes:
23375 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23376 * gst/gstelement.h:
23380 * gst/gststructure.c: (gst_structure_value_get_generic_type),
23381 (gst_structure_parse_array), (gst_structure_parse_value):
23382 * gst/gstvalue.c: (gst_type_is_fixed),
23383 (gst_value_list_prepend_value), (gst_value_list_append_value),
23384 (gst_value_list_get_size), (gst_value_list_get_value),
23385 (gst_value_transform_array_string), (gst_value_serialize_array),
23386 (gst_value_deserialize_array), (gst_value_intersect_array),
23387 (gst_value_is_fixed), (_gst_value_initialize):
23389 GstElement::new-pad -> pad-added, GstElement::state-change ->
23390 state-changed, GstValueFixedList -> GstValueArray, add format and
23391 flags as their own arguments in gst_element_seek() (should improve
23392 "bindeability"), remove function generators since they don't work
23393 under a whole bunch of compilers (they were deprecated already
23396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23398 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23399 (_gst_debug_register_funcptr):
23401 Fix illegal cast on some platforms (#309253).
23403 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23405 * gst/gstmessage.c: (gst_message_new_custom):
23406 * gst/gstmessage.h:
23407 Add _new_custom, make _new_application a macro to _new_custom.
23409 2005-07-20 Wim Taymans <wim@fluendo.com>
23411 * gst/base/gstbasesrc.c: (gst_base_src_init),
23412 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23413 * gst/base/gstbasesrc.h:
23414 Add a gboolean to decide when to push out a discont.
23416 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23417 (gst_queue_loop), (gst_queue_handle_src_query),
23418 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23419 (gst_queue_set_property), (gst_queue_get_property):
23422 * tests/threadstate/threadstate1.c: (main):
23423 Make a thread test compile and run... very silly..
23426 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23428 * docs/manual/appendix-porting.xml:
23429 Mention removal of libgstgconf-0.9.la and existence of gconf
23432 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23434 * docs/pwg/advanced-clock.xml:
23435 * docs/pwg/appendix-porting.xml:
23436 * docs/pwg/intro-preface.xml:
23437 * docs/pwg/other-base.xml:
23438 * docs/pwg/other-manager.xml:
23439 * docs/pwg/other-nton.xml:
23440 * docs/pwg/other-ntoone.xml:
23441 * docs/pwg/other-oneton.xml:
23442 * docs/pwg/pwg.xml:
23443 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23444 demuxer), remove n-to-n (was never written), fix some code examples
23445 and links and update the porting section to include all this.
23447 2005-07-19 Wim Taymans <wim@fluendo.com>
23449 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23450 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23451 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23452 (gst_queue_src_activate_push), (gst_queue_change_state),
23453 (gst_queue_get_property):
23455 Propagate GstFlowReturn more intelligently upstream and output
23456 an ERROR/EOS when streaming stopped due to fatal error.
23458 2005-07-19 Wim Taymans <wim@fluendo.com>
23460 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23461 Don't block forever for the state change to complete, the
23462 pipeline already did with a sensible timeout.
23464 2005-07-19 Wim Taymans <wim@fluendo.com>
23466 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23467 Make sure we never call the create function is we
23470 2005-07-19 Andy Wingo <wingo@pobox.com>
23472 * gst/parse/parse.l: Attempt to solve bug #172815.
23474 2005-07-19 Wim Taymans <wim@fluendo.com>
23476 * docs/design/part-clocks.txt:
23477 * docs/design/part-events.txt:
23478 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23479 Small docs updates.
23480 Only update the seeking values when we are not
23483 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23485 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23486 Oops, ignore the result of gst_pad_push_event here.
23488 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23490 * gst/base/gstbasesrc.c: (gst_base_src_loop),
23491 (gst_base_src_activate_push):
23492 Send discont event from the loop function, as pads
23493 aren't activated yet in the activate_push handler.
23495 * gst/gstbin.c: (bin_bus_handler):
23496 Don't leak element name.
23498 2005-07-18 Andy Wingo <wingo@pobox.com>
23500 * configure.ac: Use AS_LIBTOOL_TAGS.
23502 2005-07-18 Wim Taymans <wim@fluendo.com>
23504 * docs/gst/gstreamer.types:
23505 Remove deleted types.
23507 2005-07-18 Wim Taymans <wim@fluendo.com>
23509 * check/elements/gstfakesrc.c: (GST_START_TEST):
23512 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23513 (init_popt_callback):
23515 * gst/gst_private.h:
23516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23517 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23520 * gst/gstconfig.h.in:
23521 * gst/gstelement.c: (gst_element_class_init),
23522 (gst_element_set_base_time), (gst_element_get_base_time),
23523 (iterator_fold_with_resync), (gst_element_change_state),
23524 (gst_element_dispose), (gst_element_get_bus):
23525 * gst/gstelement.h:
23526 * gst/gstelementfactory.h:
23527 * gst/gsterror.c: (_gst_core_errors_init):
23530 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23532 * gst/gstinfo.c: (_gst_debug_init):
23533 * gst/gstmessage.c: (_gst_message_copy):
23534 * gst/gstmessage.h:
23535 * gst/gstminiobject.h:
23538 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23539 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23542 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23543 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23544 (gst_pipeline_get_last_stream_time):
23545 * gst/gstpipeline.h:
23546 * gst/gstpluginfeature.h:
23548 * gst/gstscheduler.c:
23549 * gst/gstscheduler.h:
23550 * gst/gststructure.h:
23551 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23552 (gst_task_finalize), (gst_task_func), (gst_task_create),
23553 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23554 (gst_task_stop), (gst_task_pause):
23556 * gst/gsttypefind.h:
23558 * gst/registries/gstlibxmlregistry.c: (load_feature),
23559 (gst_xml_registry_load), (gst_xml_registry_save_feature):
23560 * gst/registries/gstxmlregistry.c:
23561 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23562 * gst/schedulers/threadscheduler.c:
23563 * libs/gst/control/dparammanager.h:
23564 * tools/gst-inspect.c: (print_element_list),
23565 (print_plugin_features), (print_element_features):
23566 * tools/gst-xmlinspect.c: (print_element_list),
23567 (print_plugin_info), (main):
23568 Removed plugable schedulers.
23569 Removed Scheduler/Manager from elements.
23570 Removed gsttypes.h, rearranged includes.
23571 Removed dependency pad<->element, element<>pipeline, and
23572 various others, fix includes.
23573 implement gst_pad_get_parent() with gst_object_get_parent()
23574 Make GstTask sefcontained.
23575 Fix _get_state() on GstBin, it did not return ASYNC with a 0
23577 Fix endless loop in iterator_fold_with_resync.
23580 2005-07-18 Wim Taymans <wim@fluendo.com>
23586 2005-07-18 Wim Taymans <wim@fluendo.com>
23589 No more cothreads.h
23591 2005-07-18 Wim Taymans <wim@fluendo.com>
23595 Let's remove these.
23597 2005-07-18 Wim Taymans <wim@fluendo.com>
23599 * docs/design/part-dynamic.txt:
23600 * docs/design/part-events.txt:
23601 * docs/design/part-seeking.txt:
23602 Some more docs in the works.
23604 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23605 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23606 (gst_base_transform_setcaps), (gst_base_transform_get_size),
23607 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23608 (gst_base_transform_handle_buffer),
23609 (gst_base_transform_sink_activate_push),
23610 (gst_base_transform_src_activate_pull),
23611 (gst_base_transform_set_passthrough),
23612 (gst_base_transform_is_passthrough):
23615 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23618 * gst/gstevent.c: (gst_event_finalize):
23621 * gst/gstutils.c: (gst_element_unlink),
23622 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23623 (gst_pad_proxy_setcaps):
23625 Add _get_parent_element() to get a pads parent as an element.
23627 2005-07-18 Wim Taymans <wim@fluendo.com>
23629 * check/gst/gstbin.c: (GST_START_TEST):
23632 2005-07-18 Wim Taymans <wim@fluendo.com>
23634 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23635 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23636 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23637 (gst_base_sink_event), (gst_base_sink_do_sync),
23638 (gst_base_sink_chain), (gst_base_sink_loop),
23639 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23640 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23642 Fix logic for returning ASYNC when not prerolled.
23644 2005-07-18 Wim Taymans <wim@fluendo.com>
23646 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23647 Fix nasty refcount bug.
23649 2005-07-16 Philippe Khalaf <burger@speedy.org>
23651 * gst/elements/gstfdsrc.c:
23652 * gst/elements/gstfdsrc.h:
23653 * gst/elements/gstelements.c:
23654 * gst/elements/Makefile.am:
23655 Ported fdsrc to 0.9.
23657 2005-07-16 Wim Taymans <wim@fluendo.com>
23659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23660 (gst_base_sink_do_sync):
23663 2005-07-16 Wim Taymans <wim@fluendo.com>
23665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23666 (gst_base_sink_event), (gst_base_sink_get_times),
23667 (gst_base_sink_do_sync), (gst_base_sink_change_state):
23668 * gst/base/gstbasesink.h:
23669 Store and use discont values when syncing buffers as described
23672 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23673 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23674 (gst_base_src_activate_push):
23675 Push discont event when starting.
23677 * gst/elements/gstidentity.c: (gst_identity_transform):
23680 * gst/gstbin.c: (gst_bin_change_state):
23681 Small cleanups in base_time distribution.
23683 * gst/gstelement.c: (gst_element_set_base_time),
23684 (gst_element_get_base_time), (gst_element_change_state):
23685 * gst/gstelement.h:
23686 Added methods for the base_time of the element.
23689 * gst/gstpipeline.c: (gst_pipeline_send_event),
23690 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23691 (gst_pipeline_get_last_stream_time):
23692 * gst/gstpipeline.h:
23694 Handle seeking as described in design doc, remove stream_time
23696 Cleanups clock and stream_time selection code. Added accessors
23697 for the stream_time.
23700 2005-07-16 Andy Wingo <wingo@pobox.com>
23702 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23705 2005-07-16 Wim Taymans <wim@fluendo.com>
23707 * check/gst/gstbin.c: (GST_START_TEST):
23708 Make elements silent as the deep_notify refs the
23709 parent, which might make the test fail.
23711 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23712 Don't hold the lock for too long.
23714 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
23716 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23717 Don't unref the caps we passed to gst_caps_make_writable() after
23718 passing them. gst_caps_make_writable() will do that for us.
23720 2005-07-15 Andy Wingo <wingo@pobox.com>
23722 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23725 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23726 own marshalling function for the handoff signal. Properly type the
23727 buffer as a buffer. Fixes some warnings. Should do a more general
23729 (gst_identity_class_init): Plug into the right marshaller.
23731 2005-07-15 Wim Taymans <wim@fluendo.com>
23733 * docs/design/part-TODO.txt:
23734 * docs/design/part-clocks.txt:
23735 * docs/design/part-element-sink.txt:
23736 * docs/design/part-events.txt:
23737 * docs/design/part-gstpipeline.txt:
23738 Updated docs, mostly DISCONT related.
23740 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
23742 * docs/pwg/building-pads.xml:
23743 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23745 2005-07-15 Andy Wingo <wingo@pobox.com>
23747 * tools/gst-typefind.c: Update, add copyright block.
23749 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23750 Normalize and truncate caps before fixation.
23753 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23754 discards all but the first structure from its argument.
23756 2005-07-15 Wim Taymans <wim@fluendo.com>
23758 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23759 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23760 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23761 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23762 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23763 (gst_base_transform_chain), (gst_base_transform_change_state),
23764 (gst_base_transform_set_passthrough),
23765 (gst_base_transform_is_passthrough):
23766 * gst/base/gstbasetransform.h:
23767 Make passthrough work using the bufferpools.
23768 Changed API a bit, subclasses have to write into a buffer
23769 provided by the base class.
23770 More debug info in nego functions.
23772 * gst/elements/gstidentity.c: (gst_identity_init),
23773 (gst_identity_transform):
23774 Port to new base class.
23776 2005-07-15 Wim Taymans <wim@fluendo.com>
23778 * gst/gstmessage.c: (gst_message_new_state_changed):
23779 * tools/gst-launch.c: (event_loop), (main):
23780 Totally dump messages in -launch with the -m option.
23781 Fix message name for State messages,
23783 2005-07-14 Wim Taymans <wim@fluendo.com>
23785 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23786 Post error messages on errors.
23788 2005-07-14 Wim Taymans <wim@fluendo.com>
23790 * gst/gstcaps.c: (gst_caps_do_simplify):
23794 Define error for stream stopped.
23796 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23797 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23798 Do proper return values.
23800 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23801 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23802 (gst_pad_get_range):
23803 Better return values.
23806 Reorganise return values, add macro to check for fatal errors.
23808 * gst/gstqueue.c: (gst_queue_chain):
23809 Return proper GstFlowReturn values,
23811 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
23813 * docs/gst/gstreamer-sections.txt:
23814 * docs/gst/gstreamer.types:
23815 * docs/gst/tmpl/gst.sgml:
23816 * docs/gst/tmpl/gstbasesink.sgml:
23817 * docs/gst/tmpl/gstbasesrc.sgml:
23818 * docs/gst/tmpl/gstbasetransform.sgml:
23819 * docs/gst/tmpl/gstbin.sgml:
23820 * docs/gst/tmpl/gstbuffer.sgml:
23821 * docs/gst/tmpl/gstcaps.sgml:
23822 * docs/gst/tmpl/gstclock.sgml:
23823 * docs/gst/tmpl/gstcompat.sgml:
23824 * docs/gst/tmpl/gstconfig.sgml:
23825 * docs/gst/tmpl/gstelement.sgml:
23826 * docs/gst/tmpl/gstelementdetails.sgml:
23827 * docs/gst/tmpl/gstelementfactory.sgml:
23828 * docs/gst/tmpl/gstenumtypes.sgml:
23829 * docs/gst/tmpl/gsterror.sgml:
23830 * docs/gst/tmpl/gstevent.sgml:
23831 * docs/gst/tmpl/gstfakesink.sgml:
23832 * docs/gst/tmpl/gstfakesrc.sgml:
23833 * docs/gst/tmpl/gstfilesink.sgml:
23834 * docs/gst/tmpl/gstfilesrc.sgml:
23835 * docs/gst/tmpl/gstfilter.sgml:
23836 * docs/gst/tmpl/gstformat.sgml:
23837 * docs/gst/tmpl/gstghostpad.sgml:
23838 * docs/gst/tmpl/gstimplementsinterface.sgml:
23839 * docs/gst/tmpl/gstindex.sgml:
23840 * docs/gst/tmpl/gstindexfactory.sgml:
23841 * docs/gst/tmpl/gstinfo.sgml:
23842 * docs/gst/tmpl/gstiterator.sgml:
23843 * docs/gst/tmpl/gstmacros.sgml:
23844 * docs/gst/tmpl/gstmemchunk.sgml:
23845 * docs/gst/tmpl/gstminiobject.sgml:
23846 * docs/gst/tmpl/gstobject.sgml:
23847 * docs/gst/tmpl/gstpad.sgml:
23848 * docs/gst/tmpl/gstpadtemplate.sgml:
23849 * docs/gst/tmpl/gstparse.sgml:
23850 * docs/gst/tmpl/gstpipeline.sgml:
23851 * docs/gst/tmpl/gstplugin.sgml:
23852 * docs/gst/tmpl/gstpluginfeature.sgml:
23853 * docs/gst/tmpl/gstquery.sgml:
23854 * docs/gst/tmpl/gstqueue.sgml:
23855 * docs/gst/tmpl/gstregistry.sgml:
23856 * docs/gst/tmpl/gstregistrypool.sgml:
23857 * docs/gst/tmpl/gstscheduler.sgml:
23858 * docs/gst/tmpl/gstschedulerfactory.sgml:
23859 * docs/gst/tmpl/gststructure.sgml:
23860 * docs/gst/tmpl/gstsystemclock.sgml:
23861 * docs/gst/tmpl/gsttaglist.sgml:
23862 * docs/gst/tmpl/gsttagsetter.sgml:
23863 * docs/gst/tmpl/gsttrace.sgml:
23864 * docs/gst/tmpl/gsttrashstack.sgml:
23865 * docs/gst/tmpl/gsttypefind.sgml:
23866 * docs/gst/tmpl/gsttypefindfactory.sgml:
23867 * docs/gst/tmpl/gsttypes.sgml:
23868 * docs/gst/tmpl/gsturihandler.sgml:
23869 * docs/gst/tmpl/gsturitype.sgml:
23870 * docs/gst/tmpl/gstutils.sgml:
23871 * docs/gst/tmpl/gstvalue.sgml:
23872 * docs/gst/tmpl/gstversion.sgml:
23873 * docs/gst/tmpl/gstxml.sgml:
23874 * docs/libs/tmpl/gstcontrol.sgml:
23875 * docs/libs/tmpl/gstdataprotocol.sgml:
23876 * docs/libs/tmpl/gstdparam.sgml:
23877 * docs/libs/tmpl/gstdplinint.sgml:
23878 * docs/libs/tmpl/gstdpman.sgml:
23879 * docs/libs/tmpl/gstdpsmooth.sgml:
23880 * docs/libs/tmpl/gstgetbits.sgml:
23881 * docs/libs/tmpl/gstunitconvert.sgml:
23882 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23883 (gst_push_src_base_init), (gst_push_src_class_init),
23884 (gst_push_src_init), (gst_push_src_create):
23885 * gst/base/gstpushsrc.h:
23886 * gst/elements/gstelements.c:
23887 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23888 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23889 (gst_fake_sink_init), (gst_fake_sink_set_property),
23890 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23891 (gst_fake_sink_event), (gst_fake_sink_preroll),
23892 (gst_fake_sink_render), (gst_fake_sink_change_state):
23893 * gst/elements/gstfakesink.h:
23894 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23895 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23896 (gst_fake_src_base_init), (gst_fake_src_class_init),
23897 (gst_fake_src_init), (gst_fake_src_event_handler),
23898 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23899 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23900 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23901 (gst_fake_src_create_buffer), (gst_fake_src_create),
23902 (gst_fake_src_start), (gst_fake_src_stop):
23903 * gst/elements/gstfakesrc.h:
23904 * gst/elements/gstfilesink.c: (_do_init),
23905 (gst_file_sink_base_init), (gst_file_sink_class_init),
23906 (gst_file_sink_init), (gst_file_sink_dispose),
23907 (gst_file_sink_set_location), (gst_file_sink_set_property),
23908 (gst_file_sink_get_property), (gst_file_sink_open_file),
23909 (gst_file_sink_close_file), (gst_file_sink_query),
23910 (gst_file_sink_event), (gst_file_sink_render),
23911 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23912 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23913 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23914 * gst/elements/gstfilesink.h:
23915 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23916 (gst_file_src_class_init), (gst_file_src_init),
23917 (gst_file_src_finalize), (gst_file_src_set_location),
23918 (gst_file_src_set_property), (gst_file_src_get_property),
23919 (gst_file_src_map_region), (gst_file_src_map_small_region),
23920 (gst_file_src_create_mmap), (gst_file_src_create_read),
23921 (gst_file_src_create), (gst_file_src_is_seekable),
23922 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23923 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23924 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23925 (gst_file_src_uri_handler_init):
23926 * gst/elements/gstfilesrc.h:
23927 more autistic cleanliness in functions/names/defines
23929 2005-07-13 Andy Wingo <wingo@pobox.com>
23931 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23932 source couldn't negotiate.
23934 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23938 * gst/gstutils.c (gst_element_link_pads_filtered): New old
23939 function. I am channeling Hades. Put your boots on suckers!!!
23941 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
23943 * testsuite/caps/Makefile.am:
23944 * testsuite/caps/value_compare.c:
23945 * testsuite/caps/value_intersect.c:
23946 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23947 move two testsuite apps over to the check dir
23949 2005-07-12 Wim Taymans <wim@fluendo.com>
23951 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23952 Added more debug info in the negotiate process.
23954 * gst/gstmessage.h:
23955 Prepare for segment playback.
23957 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23963 * tools/gst-launch.c: (main):
23964 NULL pipeline on errors.
23966 2005-07-12 Andy Wingo <wingo@pobox.com>
23968 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23969 not it comes from a malloc region. Make sure our copy gets freed.
23971 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23973 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23974 * check/gst/gstmessage.c: (GST_START_TEST):
23975 * check/gst/gststructure.c: (GST_START_TEST),
23976 (gst_structure_suite), (main):
23978 * gst/gstelement.c: (gst_element_message_full):
23979 clean up GError and debug string now that they get copied
23980 * gst/gstmessage.c: (gst_message_new_error),
23981 (gst_message_new_warning), (gst_message_parse_error),
23982 (gst_message_parse_warning):
23983 use GST_TYPE_G_ERROR for structure_new, and take copies of
23984 arguments, so that we don't mess up refcounting
23986 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23988 * check/Makefile.am:
23989 add per-test valgrind targets
23990 * check/gst-libs/gdp.c: (GST_START_TEST),
23991 (gst_data_protocol_suite), (main):
23994 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23996 * check/Makefile.am:
23997 instate more valgrindable tests
23998 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23999 (GST_START_TEST), (fakesrc_suite):
24000 * check/gst/gstpad.c: (GST_START_TEST):
24001 * check/gst/gststructure.c: (GST_START_TEST):
24003 * docs/gst/tmpl/gstminiobject.sgml:
24004 * gst/gstpad.c: (gst_pad_finalize):
24005 fix the static mutex leak
24007 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24009 * check/Makefile.am:
24010 add two more tests for valgrinding
24011 * check/gst/gstvalue.c: (GST_START_TEST):
24012 test refcount of deserialized buffer, found a leak
24013 * docs/gst/gstreamer-docs.sgml:
24014 * docs/gst/gstreamer-sections.txt:
24015 * docs/gst/gstreamer.types:
24016 * docs/gst/tmpl/gstminiobject.sgml:
24017 add miniobject to docs
24018 * gst/gstminiobject.c:
24020 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24021 (gst_string_unwrap):
24022 fix a hard-to-find invalid write for one of the tests
24023 fix a leak for deserialized buffers
24025 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24027 * docs/pwg/advanced-events.xml:
24028 * docs/pwg/advanced-request.xml:
24029 * docs/pwg/advanced-scheduling.xml:
24030 * docs/pwg/appendix-porting.xml:
24031 * docs/pwg/building-boiler.xml:
24032 * docs/pwg/intro-preface.xml:
24033 * docs/pwg/other-ntoone.xml:
24034 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24035 of example code and explanation for pad activation, loop() and
24036 getrange() functions and a bit more. Remove old comments pointing
24038 * examples/pwg/Makefile.am:
24039 Add loop/getrange examples.
24041 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24044 check for valgrind binary + some fixes
24046 valgrind suppressions for the tests
24047 * check/Makefile.am:
24048 add a valgrind: target that valgrinds the unit tests
24049 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24050 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24051 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24052 * check/gst/gstghostpad.c:
24054 * check/gst/gstdata.c:
24056 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24057 (thread_unref), (gst_mini_object_suite), (main):
24059 * gst/gst.c: (gst_deinit):
24061 add a method to clean up.
24062 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24063 (gst_system_clock_obtain):
24064 allow for disposing the system clock.
24065 * tools/gst-launch.c: (main):
24068 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24070 * docs/gst/tmpl/gstbasesrc.sgml:
24071 * docs/gst/tmpl/gstfakesrc.sgml:
24072 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24073 (gst_base_src_init), (gst_base_src_set_property),
24074 (gst_base_src_get_property), (gst_base_src_get_range),
24075 (gst_base_src_start):
24076 * gst/base/gstbasesrc.h:
24077 add num-buffers property
24078 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24079 (gst_fakesrc_init), (gst_fakesrc_set_property),
24080 (gst_fakesrc_get_property), (gst_fakesrc_create),
24081 (gst_fakesrc_start):
24082 remove num-buffers property
24084 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24086 * docs/gst/gstreamer-sections.txt:
24087 * docs/gst/tmpl/gstbasesink.sgml:
24088 * docs/gst/tmpl/gstbasesrc.sgml:
24089 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24090 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24091 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24092 (gst_base_sink_set_property), (gst_base_sink_get_property),
24093 (gst_base_sink_handle_object), (gst_base_sink_event),
24094 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24095 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24096 (gst_base_sink_loop), (gst_base_sink_deactivate),
24097 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24098 (gst_base_sink_change_state):
24099 * gst/base/gstbasesink.h:
24100 * gst/base/gstbasesrc.h:
24101 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24102 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24103 (gst_filesink_init):
24104 more macro splitting
24106 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24108 * gst/gstelement.c: (gst_element_get_bus):
24110 * tools/gst-launch.c: (check_intr), (event_loop):
24113 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24115 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24118 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24120 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24121 (gst_base_src_finalize):
24122 add finalize method and clean up properly
24123 * gst/gstpipeline.c: (gst_pipeline_dispose):
24126 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24128 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24130 add more things to check
24131 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24132 * gst/gstelement.c:
24135 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24137 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24138 (GST_START_TEST), (fakesrc_suite):
24139 * check/gst-libs/gdp.c: (GST_START_TEST):
24140 * check/gst/gst.c: (GST_START_TEST):
24141 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24142 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24143 * check/gst/gstbus.c: (GST_START_TEST):
24144 * check/gst/gstcaps.c: (GST_START_TEST):
24145 * check/gst/gstdata.c: (GST_START_TEST):
24146 * check/gst/gstelement.c: (GST_START_TEST):
24147 * check/gst/gstghostpad.c: (GST_START_TEST):
24148 * check/gst/gstiterator.c: (GST_START_TEST):
24149 * check/gst/gstmessage.c: (GST_START_TEST):
24150 * check/gst/gstobject.c: (GST_START_TEST):
24151 * check/gst/gstpad.c: (GST_START_TEST):
24152 * check/gst/gststructure.c: (GST_START_TEST):
24153 * check/gst/gstsystemclock.c: (GST_START_TEST),
24154 (gst_systemclock_suite):
24155 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24156 * check/gst/gstvalue.c: (GST_START_TEST):
24157 * check/pipelines/cleanup.c: (GST_START_TEST):
24158 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24159 * check/states/sinks.c: (GST_START_TEST):
24160 * check/gstcheck.c: (gst_check_init):
24161 * check/gstcheck.h:
24162 add debugging category
24163 use GST_START_TEST now, so we add a debug line
24165 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24167 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24168 add test for state change message on a bin
24169 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24171 * gst/gstbin.c: (gst_bin_init):
24172 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24173 * gst/gstelement.c: (gst_element_post_message),
24174 (gst_element_set_state):
24175 * gst/gstelementfactory.c: (gst_element_factory_create):
24176 * gst/gstmessage.c: (gst_message_new):
24177 * gst/gstscheduler.c:
24178 various debugging additions and cleanups
24180 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24182 * check/Makefile.am:
24183 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24185 adding tests for elements
24186 * gst/gstelement.c: (gst_element_dispose):
24188 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24190 * gst/registries/gstlibxmlregistry.c: (load_feature):
24191 plug more leaks. A simple gst_init() now is leakfree, yay.
24193 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24195 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24196 (gst_xml_registry_load):
24197 plug another memleak
24199 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24202 use GST_SET_ERROR_CFLAGS
24203 * docs/faq/cvs.xml:
24204 change to ERROR_CFLAGS
24206 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24209 make GST_ERROR_CFLAGS overridable and re-enable Werror
24210 * docs/faq/cvs.xml:
24211 add a note about error CFLAGS
24212 * docs/gst/tmpl/gstfakesrc.sgml:
24213 * gst/elements/gstfakesrc.c:
24214 comment out some unused code
24215 * gst/gst.c: (split_and_iterate):
24216 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24220 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24222 * common/Makefile.am:
24223 * common/gtk-doc.mak:
24224 * docs/gst/Makefile.am:
24225 factor out gtk-doc.mak
24227 2005-07-07 Wim Taymans <wim@fluendo.com>
24229 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24230 (gst_thread_scheduler_dispose):
24231 Unlock the STREAM_LOCK completely.
24233 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24235 * check/Makefile.am:
24236 * check/elements/.cvsignore:
24237 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24238 (START_TEST), (fakesrc_suite), (main):
24239 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24240 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24241 (gst_fakesrc_create), (gst_fakesrc_start):
24242 * gst/elements/gstfakesrc.h:
24243 adding a first element test
24245 2005-07-07 Andy Wingo <wingo@pobox.com>
24247 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24250 2005-07-07 Wim Taymans <wim@fluendo.com>
24256 2005-07-07 Wim Taymans <wim@fluendo.com>
24258 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24259 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24260 Allow subclasses to implement their own negotiation.
24262 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24264 * docs/design/part-gstbin.txt:
24265 * docs/design/part-gstpipeline.txt:
24266 Update design notes to reflect the movement of
24267 responsibility for bus handling from GstPipeline to
24270 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24273 Remove unnecessary queue2/3/4 examples.
24275 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24277 * examples/Makefile.am:
24278 * examples/helloworld/helloworld.c: (event_loop), (main):
24279 * examples/queue/queue.c: (event_loop), (main):
24280 * examples/queue2/queue2.c: (main):
24281 Update a couple of the examples to work again.
24283 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24284 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24285 Spelling corrections and extra debug.
24287 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24288 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24289 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24291 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24292 (gst_pipeline_change_state):
24293 * gst/gstpipeline.h:
24294 Move the bus handler for children to the GstBin, and create a
24295 separate bus for receiving messages from children to the one the
24296 bus sends 'upwards' on.
24298 2005-07-06 Wim Taymans <wim@fluendo.com>
24301 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24302 (gst_base_sink_handle_object), (gst_base_sink_loop),
24303 (gst_base_sink_change_state):
24304 * gst/base/gstbasesink.h:
24305 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24306 (gst_base_src_init), (gst_base_src_setcaps),
24307 (gst_base_src_getcaps), (gst_base_src_loop),
24308 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24309 (gst_base_src_start), (gst_base_src_change_state):
24310 * gst/base/gstbasesrc.h:
24311 Make basesrc negotiate.
24312 Handle the case where preroll fails in basesink.
24315 2005-07-06 Wim Taymans <wim@fluendo.com>
24317 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24318 Implement the fixate function.
24319 Clean up acceptcaps.
24321 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24323 * docs/pwg/building-filterfactory.xml:
24324 * docs/pwg/pwg.xml:
24325 Remove never-written filter-factory chapter; I'll add the various
24326 base classes to part 4 ("other element types") later on.
24328 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24330 * docs/pwg/advanced-negotiation.xml:
24331 * docs/pwg/building-boiler.xml:
24332 * docs/pwg/building-pads.xml:
24333 * docs/pwg/pwg.xml:
24334 * examples/pwg/Makefile.am:
24335 Add a chapter on caps negotiation, simplify the original code
24336 samples a bit w.r.t. caps negotiation, add link to the advanced
24337 section. Add a bunch of examples showing different use cases of
24338 different types of caps negotiation. Upstream renegotiation isn't
24339 fully documented yet since nobody knows how that works.
24341 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24343 * check/gst/gstpad.c:
24344 * check/gstcheck.c:
24345 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24346 if pad has no parent, return NULL as list of internal links
24348 2005-07-05 Andy Wingo <wingo@pobox.com>
24350 * gst/elements/gstfilesrc.c:
24351 * gst/elements/gstfakesrc.c:
24352 * gst/base/gstpushsrc.c:
24353 * gst/base/gstbasesrc.h:
24354 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24356 2005-07-05 Stefan Kost <ensonic@users.sf.net>
24359 better report generation target (lcov needs a patch)
24361 2005-07-05 Andy Wingo <wingo@pobox.com>
24363 * gst/elements, testsuite: Null if we got it...
24365 2005-07-05 Wim Taymans <wim@fluendo.com>
24368 * libs/gst/dataprotocol/Makefile.am:
24369 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24370 * libs/gst/dataprotocol/dataprotocol.h:
24371 * pkgconfig/Makefile.am:
24372 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24373 * pkgconfig/gstreamer-dataprotocol.pc.in:
24374 Ported dataprotol to 0.9.
24375 Added pkgconfig files.
24377 2005-07-05 Andy Wingo <wingo@pobox.com>
24379 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24380 Default to returning TRUE for the case when tranform_caps returns
24381 a fixed caps, like for identity or volume.
24383 * check/gst/gstbus.c (pound_bus_with_messages):
24384 * check/gst/gstmessage.c (START_TEST):
24385 * check/pipelines/simple_launch_lines.c (got_handoff): Application
24386 message API change.
24388 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24389 logic weaks here: always run transform_caps, trying passthrough
24390 operation only if the original caps intersects with the transform.
24392 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24393 source and sink caps.
24395 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24396 Intersect the peer caps with the pad template before going into
24398 (gst_base_transform_transform_caps): More debugging.
24400 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24403 2005-07-04 Edward Hervey <edward@fluendo.com>
24407 (gst_pad_add_*_probe): now returns the signal id for better wrapping
24410 2005-07-04 Andy Wingo <wingo@pobox.com>
24412 * check/gst/gstpad.c: Only set explicit caps on pads.
24414 2005-07-01 Andy Wingo <wingo@pobox.com>
24416 * tests/network-clock.scm: Commentary update.
24418 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24419 Didn't really make sense, not implementable with basetransform,
24421 (gst_identity_transform): Unref inbuf via make_writable. Feeble
24422 attempt at implementing the sync property, needs an unlock method.
24424 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24425 New func, by default returns the same caps (the identity
24427 (gst_base_transform_getcaps): Uses transform_caps to return
24428 something sensible.
24429 (gst_base_transform_setcaps): Complicated logic to get caps on
24430 both pads, even if they are different, and to call set_caps once
24431 for every time both pads get their caps set.
24432 (gst_base_transform_handle_buffer): Give the ref to the transform
24433 function. Allows in-place modification of the buffer.
24435 * gst/base/gstbasetransform.h (transform_caps): New class method.
24436 Given caps on one side, what can I do on the other.
24437 (set_caps): Take two caps, one for each side of the element.
24440 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24441 caps in place. This is safe because we can check the mutability of
24442 the caps, and a good idea because fixate functions are just called
24443 as a matter of last resort. (Not actually implemented.)
24444 (gst_pad_set_caps): If the caps we're setting is actually the same
24445 as the existing pad caps, just update the pointer without calling
24446 setcaps. Assert that caps is either NULL or fixed, as per the
24449 * gst/gstghostpad.c: Update for fixate changes.
24451 2005-07-02 Andy Wingo <wingo@pobox.com>
24454 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24455 two refcounts makes it immutable, which is enough. Doc more.
24457 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
24459 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24460 Put the mini_object into GValue as a mini_object,
24461 not a gpointer, since that's how we declared
24464 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24466 * examples/pwg/Makefile.am:
24467 Fix buildbot again.
24469 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24471 * docs/pwg/building-testapp.xml:
24473 * examples/pwg/Makefile.am:
24476 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24479 * examples/Makefile.am:
24480 * examples/pwg/Makefile.am:
24481 * examples/pwg/extract.pl:
24482 Enable building the PWG examples.
24483 * docs/pwg/advanced-interfaces.xml:
24484 Add URI interface stub.
24485 * docs/pwg/advanced-types.xml:
24486 * docs/pwg/other-autoplugger.xml:
24487 * docs/pwg/appendix-porting.xml:
24488 * docs/pwg/pwg.xml:
24489 Add porting guide (mostly stubs), remove autoplugging (see ADM).
24490 * docs/pwg/building-boiler.xml:
24491 * docs/pwg/building-chainfn.xml:
24492 * docs/pwg/building-pads.xml:
24493 * docs/pwg/building-props.xml:
24494 * docs/pwg/building-state.xml:
24495 * docs/pwg/building-testapp.xml:
24496 Update the building-*.xml parts for 0.9 changes. All examples
24497 code blocks compile in examples/pwg/*.
24499 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24501 * docs/manual/advanced-autoplugging.xml:
24502 * docs/manual/appendix-checklist.xml:
24503 * docs/manual/appendix-integration.xml:
24504 * docs/manual/highlevel-components.xml:
24505 Fix playbin/decodebin examples, update docs a bit, mention bus
24506 instead of signals in various places, mention kmplayer and
24507 kaffeine since they have a working GStreamer backend in the KDE
24510 2005-06-30 Wim Taymans <wim@fluendo.com>
24513 * docs/design/draft-ghostpads.txt:
24514 * docs/design/draft-push-pull.txt:
24515 * docs/design/draft-query.txt:
24516 * docs/design/part-TODO.txt:
24517 * docs/design/part-query.txt:
24518 Added CHANGES-0.9 doc, updated status of other docs.
24523 2005-06-30 Wim Taymans <wim@fluendo.com>
24525 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24526 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24527 (gst_base_sink_change_state):
24528 * gst/base/gstbasesink.h:
24529 Some tweaks, only EOS and a buffer complete a preroll.
24531 2005-06-30 Andy Wingo <wingo@pobox.com>
24533 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24534 activate_push down to the internal pad as well.
24536 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
24538 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24540 * gst/gsttaginterface.c:
24541 Some documentation fixes (#307394 and #307397).
24543 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
24545 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24547 * gst/gstvalue.c: (gst_value_intersect_list):
24548 Fix memleak (#309125).
24550 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24552 * docs/manual/advanced-dataaccess.xml:
24553 Fix fakesrc example to compile; doesn't work, bug somewhere...?
24554 * docs/manual/basics-pads.xml:
24555 Add reference for filtered caps to above chapter.
24557 2005-06-30 Wim Taymans <wim@fluendo.com>
24559 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24560 (gst_bin_change_state):
24562 Lame attempt at making the state change function a bit
24565 2005-06-30 Wim Taymans <wim@fluendo.com>
24567 * docs/design/part-clocks.txt:
24568 * docs/design/part-element-sink.txt:
24569 * docs/design/part-events.txt:
24570 * docs/design/part-preroll.txt:
24571 * docs/design/part-states.txt:
24572 Some more tweeks and additions to the docs.
24574 2005-06-30 Wim Taymans <wim@fluendo.com>
24576 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24577 (default_have_data), (gst_pad_class_init), (gst_pad_init),
24578 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24579 (gst_pad_check_pull_range), (gst_pad_get_range),
24580 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24582 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24583 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24584 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24585 (gst_pad_remove_buffer_probe):
24586 Removed atomic operations, use existing LOCK.
24587 Move exception handling out of main code path.
24589 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24591 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24592 (silly_return_true_function), (gst_pad_class_init),
24593 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24594 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24595 (gst_pad_send_event):
24596 Fix accumulator, add default value by using _emitv() instead
24597 of _emit() for signal emission.
24599 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24601 * docs/manual/advanced-dataaccess.xml:
24602 * examples/manual/Makefile.am:
24604 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24607 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
24609 * gst/elements/gstfilesink.c: (gst_filesink_render):
24610 Simplify code so that we don't have to handle short
24611 writes and return GST_FLOW_ERROR if an error occured.
24613 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24615 * docs/gst/gstreamer-docs.sgml:
24616 Remove probes more.
24618 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24620 * docs/gst/gstreamer-sections.txt:
24621 * docs/gst/tmpl/gstpad.sgml:
24622 * docs/gst/tmpl/gstprobe.sgml:
24624 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24625 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24626 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24627 (gst_pad_push_event), (gst_pad_send_event):
24629 * gst/gstutils.c: (gst_pad_add_data_probe),
24630 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24631 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24632 (gst_pad_remove_buffer_probe):
24634 Remove old probes, add new g-signal-based probes and some utility
24637 2005-06-29 Edward Hervey <edward@fluendo.com>
24639 * gst/gstelementfactory.c:
24642 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24643 the definition to the header file.
24645 2005-06-29 Andy Wingo <wingo@pobox.com>
24647 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24648 plugins from the source directory.
24650 2005-06-29 Wim Taymans <wim@fluendo.com>
24652 * docs/gst/tmpl/gstbuffer.sgml:
24653 * docs/gst/tmpl/gstclock.sgml:
24654 Some fixings for blantently wrong text.
24656 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24658 * check/Makefile.am:
24659 * gst/gst.c: (add_path_func), (init_pre):
24660 * gst/gstregistry.c: (gst_registry_add_path):
24661 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24662 only scan the GST_PLUGIN_PATH locations, and not add
24665 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24667 * docs/gst/gstreamer-sections.txt:
24668 * docs/gst/tmpl/gstbasesrc.sgml:
24669 * gst/gstelement.c:
24670 * gst/gstelement.h:
24675 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24677 * docs/manual/advanced-autoplugging.xml:
24678 Fix autoplugging example.
24680 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24682 * docs/manual/advanced-autoplugging.xml:
24683 * docs/manual/mime-world.fig:
24684 Try to get autoplugging working, fix type detection. Fix text
24685 in hello-world image.
24687 2005-06-29 Wim Taymans <wim@fluendo.com>
24689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24690 (gst_base_sink_change_state):
24694 map SIGNAL and BROADCAST to the right function.
24697 Remove redundant braces.
24699 * gst/gstpad.c: (gst_pad_set_caps):
24700 Don't call setcaps function when reseting caps to NULL.
24702 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24703 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24704 (gst_system_clock_id_unschedule):
24705 Use BROADCAST as this is what we do.
24707 2005-06-29 Wim Taymans <wim@fluendo.com>
24709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24710 We are actually prerolling before commiting the state
24713 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24715 * docs/manual/advanced-clocks.xml:
24716 * docs/manual/advanced-interfaces.xml:
24717 * docs/manual/advanced-metadata.xml:
24718 * docs/manual/advanced-position.xml:
24719 * docs/manual/advanced-schedulers.xml:
24720 * docs/manual/advanced-threads.xml:
24721 * docs/manual/appendix-porting.xml:
24722 * docs/manual/basics-bins.xml:
24723 * docs/manual/basics-bus.xml:
24724 * docs/manual/basics-elements.xml:
24725 * docs/manual/basics-helloworld.xml:
24726 * docs/manual/basics-pads.xml:
24727 * docs/manual/highlevel-components.xml:
24728 * docs/manual/manual.xml:
24729 * docs/manual/thread.fig:
24730 Update (until threads/scheduling) Application Development Manual;
24731 remove GstThread, add GstBus, add simple porting checklist, add
24732 documentation for tag writing, clocks, make all examples until this
24733 part compile and run.
24734 * examples/manual/Makefile.am:
24735 Update from changes to Application Development Manual; add bus
24736 example, remove thread example.
24738 2005-06-28 Wim Taymans <wim@fluendo.com>
24740 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24741 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24742 (gst_bus_source_dispatch):
24743 Add debugging messages.
24744 Make internal methods static.
24745 Handle the case where the bus is flushed in the handler.
24747 * gst/gstelement.c: (gst_element_get_bus):
24748 Fix refcount in _get_bus();
24750 * gst/gstpipeline.c: (gst_pipeline_change_state),
24751 (gst_pipeline_get_clock_func):
24752 Clock refcounting fixes.
24753 Handle the case where preroll timed out more gracefully.
24755 * gst/gstsystemclock.c: (gst_system_clock_dispose):
24756 Clean up the internal thread in dispose. This is needed
24757 for subclasses that actually get disposed.
24759 * gst/schedulers/threadscheduler.c:
24760 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24761 (gst_thread_scheduler_dispose):
24762 Free thread pool in dispose.
24764 2005-06-28 Andy Wingo <wingo@pobox.com>
24766 * tests/network-clock-utils.scm (debug, print-event): New utils.
24768 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24769 (*packet-loss*): Unified loss probability.
24770 (network-time): Report out-of-band events.
24772 * tests/plot-data: Add support for out-of-band events. Hack it
24773 into this script instead of passing it down the pipe; should fix
24776 2005-06-28 Wim Taymans <wim@fluendo.com>
24778 * docs/gst/gstreamer.types:
24779 * docs/gst/tmpl/gstbasesrc.sgml:
24780 * docs/gst/tmpl/gstpad.sgml:
24783 2005-06-28 Wim Taymans <wim@fluendo.com>
24785 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24786 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24787 (gst_proxy_pad_do_fixatecaps):
24788 Correctly proxy the check_pull_range function.
24790 2005-06-28 Andy Wingo <wingo@pobox.com>
24792 * tests/network-clock.scm: Removed need for slib.
24794 2005-06-28 Wim Taymans <wim@fluendo.com>
24796 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24797 (gst_basesink_preroll_queue_flush):
24798 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24799 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24800 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24801 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24802 (gst_proxy_pad_set_property):
24805 * gst/gstqueue.c: (gst_queue_init):
24806 The deprecated pad loop function is removed now.
24808 2005-06-28 Andy Wingo <wingo@pobox.com>
24810 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24811 New parameters, simulate network packet loss.
24813 * tests/network-clock-utils.scm: Initialize the RNG.
24815 2005-06-28 Wim Taymans <wim@fluendo.com>
24817 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24818 (gst_basesink_event), (gst_basesink_deactivate):
24819 Flushing the preroll queue always needs to unlock the waiters.
24821 2005-06-28 Edward Hervey <edward@fluendo.com>
24823 * gst/gstpipeline.c: (gst_pipeline_send_event):
24824 Wheen a seek was successful on a pipeline, set the stream_time to the
24825 seek offset in order to have a synchronized stream_time.
24827 2005-06-28 Wim Taymans <wim@fluendo.com>
24829 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24830 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24831 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24832 (gst_proxy_pad_do_fixatecaps):
24833 Call wrapper function instead of just calling the function
24834 pointers. This takes care of any locking and whatmore.
24836 2005-06-28 Wim Taymans <wim@fluendo.com>
24838 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24839 (gst_pad_pull_range):
24841 CONNECTED -> LINKED.
24843 2005-06-28 Andy Wingo <wingo@pobox.com>
24845 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24846 source-munging commit!!!
24848 * gst/gstobject.c (gst_object_unref, gst_object_ref)
24849 (gst_object_sink): Take gpointer arguments, not GstObject --
24850 avoids casts. Like GLib.
24852 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24855 2005-06-27 Andy Wingo <wingo@pobox.com>
24857 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24860 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24861 returns a sorted copy of the trace list.
24862 (gst_alloc_trace_print_live): New API, only prints traces with
24863 live objects. Sort the list.
24864 (gst_alloc_trace_print_all): Sort the list.
24865 (gst_alloc_trace_print): Align columns.
24867 * gst/elements/gstttypefindelement.c:
24868 * gst/elements/gsttee.c:
24869 * gst/base/gstbasesrc.c:
24870 * gst/base/gstbasesink.c:
24871 * gst/base/gstbasetransform.c:
24872 * gst/gstqueue.c: Adapt for pad activation changes.
24874 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24876 (gst_pipeline_dispose): Drop ref on sched.
24878 * gst/gstpad.c (gst_pad_init): Set the default activate func.
24879 (gst_pad_activate_default): Push mode by default.
24880 (pre_activate_switch, post_activate_switch): New stubs, things to
24881 do before and after switching activation modes on pads.
24882 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24883 the pad's activate function to choose which mode to activate.
24884 Shortcut on deactivation and call the right function directly.
24885 (gst_pad_activate_pull): New API, (de)activates a pad in pull
24887 (gst_pad_activate_push): New API, same for push mode.
24888 (gst_pad_set_activate_function)
24889 (gst_pad_set_activatepull_function)
24890 (gst_pad_set_activatepush_function): Setters for new API.
24892 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24893 Trace all miniobjects.
24894 (gst_mini_object_make_writable): Unref the arg if we copy, like
24895 gst_caps_make_writable.
24897 * gst/gstmessage.c (_gst_message_initialize): No trace init.
24899 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
24900 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24901 Adapt for new pad API.
24903 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24905 * gst/gstelement.h:
24906 * gst/gstelement.c (gst_element_iterate_src_pads)
24907 (gst_element_iterate_sink_pads): New API functions.
24909 * gst/gstelement.c (iterator_fold_with_resync): New utility,
24910 should fold into gstiterator.c in some form.
24911 (gst_element_pads_activate): Simplified via use of fold and
24912 delegation of decisions to gstpad->activate.
24914 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24917 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24918 class once in init, like gstmessage. Didn't run into this issue
24919 but it seems correct. Don't initialize a trace, gstminiobject does
24922 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24923 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24925 (assert_live_count): New util function, uses alloc traces to check
24928 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24929 To be modified when unlink drops the internal pad.
24931 2005-06-27 Wim Taymans <wim@fluendo.com>
24933 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24934 (gst_bin_change_state):
24935 Cleanup the get_state() function a little, make sure it
24936 iterates the same set of elements.
24937 Added stub iterate_state_order().
24939 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
24941 * docs/gst/gstreamer-docs.sgml:
24942 * docs/gst/gstreamer-sections.txt:
24943 * docs/gst/gstreamer.types:
24944 * docs/gst/tmpl/gstbasesink.sgml:
24945 * docs/gst/tmpl/gstbasesrc.sgml:
24946 * docs/gst/tmpl/gstbasetransform.sgml:
24947 * docs/gst/tmpl/gstelement.sgml:
24948 * docs/gst/tmpl/gstiterator.sgml:
24949 * gst/base/gstbasesrc.c:
24950 * gst/base/gstbasesrc.h:
24951 * gst/base/gstbasetransform.h:
24952 * gst/gstelement.c:
24953 * gst/gstiterator.h:
24954 adding basetransform and iterator docs
24956 2005-06-27 Andy Wingo <wingo@pobox.com>
24958 * docs/design/part-activation.txt: Notes on how activation should
24959 work -- not quite implemented yet.
24961 2005-06-25 Wim Taymans <wim@fluendo.com>
24963 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24964 At least get the chain function correct, needs more
24967 2005-06-25 Wim Taymans <wim@fluendo.com>
24969 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24970 (gst_basesink_handle_object), (gst_basesink_event),
24971 (gst_basesink_do_sync), (gst_basesink_handle_event),
24972 (gst_basesink_change_state):
24974 Right, two problems here: ghostpads don't take locks and
24975 glib _rec_mutex_lock_full() with depth==0 still locks.
24976 Catch illegal locking and g_warn them.
24978 2005-06-25 Wim Taymans <wim@fluendo.com>
24980 * check/states/sinks.c: (START_TEST), (gst_object_suite):
24981 Have to check for completion now...
24983 2005-06-25 Wim Taymans <wim@fluendo.com>
24985 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24986 (gst_basesink_handle_object), (gst_basesink_event),
24987 (gst_basesink_do_sync), (gst_basesink_handle_event),
24988 (gst_basesink_change_state):
24990 Unlock STREAM_LOCK whatever the recursion was.
24992 2005-06-25 Wim Taymans <wim@fluendo.com>
24994 * gst/base/gstbasesink.c: (gst_basesink_set_property),
24995 (gst_basesink_preroll_queue_empty),
24996 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24997 (gst_basesink_event), (gst_basesink_do_sync),
24998 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24999 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25000 (gst_basesink_change_state):
25001 Reworked the base sink, handle event and buffer serialisation
25002 correctly and removed possible deadlock.
25003 Handle EOS correctly.
25005 2005-06-25 Wim Taymans <wim@fluendo.com>
25007 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25008 (gst_pipeline_change_state):
25009 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25010 Allow elements to post EOS in the state change function.
25011 Fix up -launch, make it exit the poll loop when the
25012 pipeline actually changed state.
25013 Fix up warning parsing in -launch.
25015 2005-06-25 Wim Taymans <wim@fluendo.com>
25017 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25018 (gst_tee_sink_activate):
25019 Core takes STREAM_LOCK for us now.
25021 2005-06-25 Wim Taymans <wim@fluendo.com>
25023 * gst/gstelement.c: (gst_element_get_state_func),
25024 (gst_element_set_state):
25025 * gst/gstelement.h:
25026 * gst/gstmessage.c: (gst_message_parse_error),
25027 (gst_message_parse_warning):
25028 Keep track of current target state while performing a state
25029 change so that subclasses can do something interesting.
25030 Fix parsing of warning/error messages when GError is NULL.
25032 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25034 * docs/gst/Makefile.am:
25035 * docs/gst/gstreamer-docs.sgml:
25036 * docs/gst/gstreamer-sections.txt:
25037 * docs/gst/gstreamer.types:
25038 * docs/gst/tmpl/gstbasesink.sgml:
25039 * docs/gst/tmpl/gstbasesrc.sgml:
25040 * docs/gst/tmpl/gstbin.sgml:
25041 * docs/gst/tmpl/gstcompat.sgml:
25042 * docs/gst/tmpl/gstfakesink.sgml:
25043 * docs/gst/tmpl/gstfakesrc.sgml:
25044 * docs/gst/tmpl/gstfilesink.sgml:
25045 * docs/gst/tmpl/gstfilesrc.sgml:
25046 * docs/gst/tmpl/gstindex.sgml:
25047 * docs/manual/appendix-quotes.xml:
25048 * gst/base/gstbasesrc.h:
25049 * gst/elements/gstfakesrc.h:
25050 * gst/gstmessage.h:
25051 start pulling in base classes and elements in our docs
25053 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25055 * docs/gst/Makefile.am:
25056 * docs/libs/Makefile.am:
25057 fixed make distcheck with gtk-doc 1.3
25059 2005-06-23 Wim Taymans <wim@fluendo.com>
25061 * gst/gstelement.c: (gst_element_get_state_func),
25062 (gst_element_set_state), (gst_element_change_state):
25063 When the state did not change, also report NO_PREROLL
25066 2005-06-23 Wim Taymans <wim@fluendo.com>
25068 * gst/gstpad.c: (gst_pad_event_default):
25069 * gst/gstqueue.c: (gst_queue_loop):
25070 No unsafe task pausing please.
25072 2005-06-23 Wim Taymans <wim@fluendo.com>
25074 * gst/schedulers/threadscheduler.c:
25075 (gst_thread_scheduler_task_start),
25076 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25077 Ref the task before pushing it on the threadpool. This
25078 makes sure that we have a ref when the threadfunction is
25081 2005-06-23 Andy Wingo <wingo@pobox.com>
25083 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25084 offset is greater than the file's size.
25086 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25087 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25088 * gst/gstobject.c (gst_object_class_init): Make the class lock
25089 recursive. Wim won't let me drop deep_notify. Decodebin works
25090 again, whoopdy doo.
25092 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25093 internal pad, and hacks accordingly. Doesn't do it on the target
25094 pad because we change its caps. Probably catches all cases of
25096 (gst_ghost_pad_set_property): Connect to notify::caps as
25099 * tests/network-clock.scm (plot-simulation): Pipe data to the
25100 elite python skript.
25102 * tests/network-clock-utils.scm (define-parameter): New macro,
25103 defines a parameter that can be set via the command line.
25104 (set-parameter!, parse-parameter-arguments): Command line args
25107 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25110 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25112 * gst/elements/gsttypefindelement.c:
25113 (gst_type_find_element_handle_event):
25114 Don't restart typefinding on a discont.
25115 * gst/gstelement.c: (gst_element_set_state):
25116 Debug spelling fix.
25117 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25118 Allow changing mode of an active pad.
25119 Debug output fixes.
25120 * gst/registries/gstlibxmlregistry.c: (load_feature):
25121 Don't cast a static pad template to a normal pad template.
25123 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25125 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25126 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25127 remove gst_strtoll completely, since it didn't actually do
25128 anything more than what g_ascii_strtoull already does.
25129 check for range errors when deserializing
25130 do a cast for the unsigned cases; but further fixing needs
25131 a decision on what the interpretation of "(int)" and
25132 deserialization should be for values that fall outside the
25133 type's boundaries (ie, refuse, or interpret as casting)
25135 2005-06-23 Wim Taymans <wim@fluendo.com>
25137 * check/Makefile.am:
25138 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25139 * docs/design/part-live-source.txt:
25140 * docs/design/part-states.txt:
25141 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25142 (gst_basesrc_set_live), (gst_basesrc_is_live),
25143 (gst_basesrc_get_range), (gst_basesrc_activate),
25144 (gst_basesrc_change_state):
25145 * gst/base/gstbasesrc.h:
25146 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25147 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25148 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25149 * gst/gstelement.c: (gst_element_get_state_func),
25150 (gst_element_set_state):
25151 * gst/gstelement.h:
25153 * tools/gst-launch.c: (event_loop), (main):
25154 Added support for live sources and other elements that
25156 Updated design docs, added live-source design doc.
25157 Implemented live source functionality in basesrc
25158 Fix error condition in _bin_get_state()
25159 Implement live source handling in -launch.
25160 Added check for live sources.
25161 Fixed case in GstBin where elements were changed state
25165 2005-06-23 Andy Wingo <wingo@pobox.com>
25167 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25168 borken refcounting.
25170 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25171 gst_caps_replace takes care of this for us.
25173 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25174 gst_pad_set_caps on the target, not just its setcaps() function.
25176 * tests/network-clock.scm:
25177 * tests/network-clock-utils.scm: A network clock simulator.
25178 Something of an algorithmic testbed before doing something in C.
25180 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25182 * check/Makefile.am:
25183 * check/gst/capslist.h:
25184 copy over from 0.8, and add two with bitmasks specified with
25186 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25187 add test to parse everything from capslist.h
25188 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25190 add test for structure deserialization
25191 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25192 add tests for deserialization of strings to int types
25193 * gst/gststructure.c: (gst_structure_nth_field_name):
25194 * gst/gststructure.h:
25195 add a way to get the name of a field referenced by index
25196 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25197 instead of checking if the resulting long long lies between
25198 min and max, we check if the long long would fit into
25199 a number of bytes for the final type.
25200 This fixes cases where a string represents 2^32 - 1, which
25201 when cast to int would be the (valid) -1, but is bigger than
25204 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25206 * gst/parse/grammar.y:
25207 add a log line for type deserialization
25209 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25211 * check/gst/gstvalue.c: (START_TEST):
25212 * gst/gstvalue.c: (gst_value_deserialize):
25213 return long long, not int, so gint64 deserialization actually
25214 works. Is there any flag that makes the compiler check this ?
25217 2005-06-22 Wim Taymans <wim@fluendo.com>
25220 Added convenience macros for setting buffers in GValue.
25222 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25224 * check/gst/.cvsignore:
25225 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25226 add a test deserializing int64, and comment part out because
25229 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25231 * check/Makefile.am:
25232 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25233 * testsuite/Makefile.am:
25234 * testsuite/caps/Makefile.am:
25235 * testsuite/caps/value_serialize.c:
25236 * testsuite/test_gst_init.c:
25237 move a value_serialize test over
25239 2005-06-20 Wim Taymans <wim@fluendo.com>
25244 * gst/gstvalue.c: (gst_value_compare_buffer),
25245 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25246 (gst_value_compare_flags), (gst_value_serialize_flags),
25247 (gst_value_deserialize_flags), (_gst_value_initialize):
25248 Fix serialisation of buffers, they are not boxed types anymore
25250 2005-06-20 Wim Taymans <wim@fluendo.com>
25252 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25253 Testcase to show error in buffer-on-caps serialisation.
25255 2005-06-20 Andy Wingo <wingo@pobox.com>
25257 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25258 will be adding to later.
25260 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25261 if its socks fill with rocks.
25262 (gst_system_clock_obtain): Set the name on object construction.
25263 Avoid double-checked locking.
25265 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25267 * gst/gsturi.c: (gst_element_make_from_uri):
25268 Fix potential endless loop.
25270 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25272 * check/Makefile.am:
25274 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25276 move over from testsuite dir and clean up
25279 * testsuite/Makefile.am:
25280 * testsuite/tags/.cvsignore:
25281 * testsuite/tags/Makefile.am:
25282 * testsuite/tags/merge.c:
25283 remove testsuite/tags
25285 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25287 * docs/gst/gstreamer-sections.txt:
25288 * docs/gst/tmpl/gstenumtypes.sgml:
25289 * win32/gstenumtypes.c:
25290 clean up documentation build a little
25292 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25294 * check/gstcheck.h:
25295 add macros for checking refcounts on objects and caps
25296 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25297 add some more unit tests
25298 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25299 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25300 fix leaked refcounts (I hope :)) so unittest works
25304 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25306 * configure.ac: back to HEAD
25308 === release 0.9.1 ===
25310 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25316 2005-06-17 Andy Wingo <wingo@pobox.com>
25318 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25319 assert; it's always possible that the pad gets deactivated in
25320 between the checks in gstpad.c and the implementation. Rely on
25321 finish_preroll() to return a FLUSHING or similar instead of on the
25324 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25325 clock and post an EOS message if we come out of finish_preroll in
25328 2005-06-16 David Schleef <ds@schleef.org>
25330 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25331 (gst_capsfilter_set_property): Allow NULL as possible value
25332 for filter_caps property, indicating GST_CAPS_ANY.
25334 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25336 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25338 * gst/schedulers/Makefile.am:
25340 * gstreamer.spec.in:
25343 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25345 * gstreamer.spec.in:
25348 2005-06-08 Andy Wingo <wingo@pobox.com>
25350 * gst/gstutils.c: RPAD fixes all around.
25351 (gst_element_link_pads): Refcounting fixes.
25353 * tools/gst-inspect.c:
25354 * tools/gst-xmlinspect.c:
25356 * gst/base/gsttypefindhelper.c:
25357 * gst/base/gstbasesink.c:
25358 * gst/gstqueue.c: RPAD fixes.
25360 * gst/gstghostpad.h:
25361 * gst/gstghostpad.c: New ghost pad implementation as full proxy
25362 pads. The tricky thing is they provide both source and sink
25363 interfaces, since they proxy the internal pad for the external
25364 pad, and vice versa. Implement with lower-level ProxyPad objects,
25365 with the interior proxy pad as a child of the exterior ghost pad.
25366 Should write a doc on this.
25368 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25369 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25372 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25373 pads are real pads. No ghost pads in this file. Not documenting
25374 the myriad s/RPAD/PAD/ and REALIZE fixes.
25375 (gst_pad_class_init): Add properties for "direction" and
25376 "template". Both are construct-only, so they can't change during
25377 the life of the pad. Fixes properly deriving from GstPad.
25378 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25379 derived objects, just set properties when creating the objects via
25381 (gst_pad_get_parent): Implement as a function, return NULL if the
25382 parent is not an element.
25383 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25384 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25386 * gst/gstobject.c (gst_object_class_init): Make name a construct
25387 property. Don't set it in the object init.
25389 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25390 with UNKNOWN direction.
25391 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25392 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25393 (gst_element_remove_pad): Remove ghost-pad special cases.
25394 (gst_element_pads_activate): Remove rpad cruft.
25396 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25397 catch the pad's-parent-not-an-element case.
25399 * gst/gst.h: Include gstghostpad.h.
25401 * gst/gst.c (init_post): No more real, ghost pads.
25403 * gst/Makefile.am: Add gstghostpad.[ch].
25405 * check/Makefile.am:
25406 * check/gst/gstbin.c:
25407 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25408 into a bin creates ghost pads, and that the refcounts are right.
25409 Partly moved from gstbin.c.
25411 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25413 * check/gst-libs/.cvsignore:
25414 * check/gst/.cvsignore:
25415 * check/pipelines/.cvsignore:
25417 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25418 (START_TEST), (cleanup_suite), (main):
25419 add some tests related to cleanup after running pipelines
25421 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25423 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25424 add a testsuite for GstBuffer
25426 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25428 * gst/gstminiobject.h:
25429 add defines for accessing the refcount
25431 2005-06-03 Stefan Kost <ensonic@users.sf.net>
25433 * Makefile.am: added support for html unit test coverage reports
25435 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
25437 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25438 Free existing caps if the capsfilter changes. Add a FIXME about
25439 setting those caps on the pads.
25441 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25442 Before adding a ghost pad to a parent bin, check that there isn't
25443 already one for the element on the bin. Prevents infinite recursion
25444 when using decodebin in parse pipelines. Andy says he'll rewrite the
25445 way this works anyway, so ignore the hack.
25447 2005-06-02 Andy Wingo <wingo@pobox.com>
25449 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25450 file size, pass it on to the type find helper.
25452 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25453 segment_start and segment_end properly according to the seek
25454 method. Segment_end is still a bit flaky because offset can be
25455 negative for CUR and END cases, but it takes -1 as an "unset"
25458 2005-06-02 Wim Taymans <wim@fluendo.com>
25460 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25461 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25462 (gst_basesink_activate):
25463 * gst/base/gstbasesink.h:
25464 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25465 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25466 (gst_pad_query), (gst_pad_start_task):
25468 * gst/gstqueue.c: (gst_queue_bufferalloc),
25469 (gst_queue_handle_sink_event), (gst_queue_chain):
25470 Bufferalloc: return GstFlowReturn to more accuratly report
25471 why allocation failed.
25473 2005-06-02 Wim Taymans <wim@fluendo.com>
25475 * gst/gstpipeline.c: (gst_pipeline_send_event):
25476 Take snapshot of state without blocking.
25478 2005-06-02 Wim Taymans <wim@fluendo.com>
25480 * docs/design/part-TODO.txt:
25481 * docs/design/part-caps.txt:
25482 * docs/design/part-clocks.txt:
25483 * docs/design/part-negotiation.txt:
25484 * docs/design/part-preroll.txt:
25487 2005-05-30 Wim Taymans <wim@fluendo.com>
25489 * gst/elements/gstidentity.c: (gst_identity_event),
25490 (gst_identity_transform), (gst_identity_get_property):
25491 Protect last_message property as it is accessed from
25494 2005-05-30 Wim Taymans <wim@fluendo.com>
25496 * gst/gstelement.c: (gst_element_init),
25497 (gst_element_pads_activate), (gst_element_change_state):
25498 Slicker pad activation code.
25500 2005-05-30 Wim Taymans <wim@fluendo.com>
25503 * gst/gstelement.h:
25504 * gst/gstelementfactory.h:
25506 Move elementfactory methods to separate .h file.
25508 2005-05-30 Wim Taymans <wim@fluendo.com>
25510 * docs/design/part-overview.txt:
25511 * gst/gstsystemclock.h:
25512 Small typo fixes, doc updates.
25514 2005-05-30 Wim Taymans <wim@fluendo.com>
25516 * gst/gst.c: (gst_init_get_popt_table), (init_post),
25517 (init_popt_callback):
25518 Remove cpu-opt flag.
25520 2005-05-30 Wim Taymans <wim@fluendo.com>
25522 * gst/gstbuffer.c: (gst_subbuffer_finalize),
25523 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25525 Avoid typechecking in places where not needed.
25526 Added accessor for malloc_data.
25528 2005-05-30 Wim Taymans <wim@fluendo.com>
25530 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25531 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25532 (gst_pad_configure_sink), (gst_pad_configure_src),
25533 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25534 (gst_pad_start_task):
25535 Propagate errors from _set_caps() in configure_src/sink
25536 functions instead of returning TRUE.
25537 FLUSH events can travel up and downstream
25540 2005-05-30 Wim Taymans <wim@fluendo.com>
25542 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25543 (gst_basesink_activate):
25544 Handle EOS in preroll.
25546 2005-05-30 Wim Taymans <wim@fluendo.com>
25548 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25549 (gst_queue_loop), (gst_queue_handle_src_event):
25550 Remove old pieces of code
25551 Flushing the queue in an upstream event is a very bad idea.
25553 2005-05-26 Andy Wingo <wingo@pobox.com>
25555 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25556 gst_value_set_mini_object so as to add a ref on the object (which
25557 will be removed when the value is unset).
25559 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25560 arg type in ::handoff.
25562 * gst/gstelement.c (gst_element_change_state): Also deactivate
25563 pads in READY->NULL, just in case the element didn't make it to
25564 PAUSED. Wingo tested, Wim approved.
25566 2005-05-26 Wim Taymans <wim@fluendo.com>
25568 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25569 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25570 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25571 A flushing pad cannot be used to alloc_buffer from.
25573 2005-05-26 Wim Taymans <wim@fluendo.com>
25575 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25576 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25577 (gst_bus_source_dispatch), (gst_bus_source_finalize),
25578 (gst_bus_create_watch), (gst_bus_add_watch_full):
25580 Implement a real GSource and use g_main_context_wakeup() to
25581 signal new messages instead of the socketpair.
25583 2005-05-25 Wim Taymans <wim@fluendo.com>
25585 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25586 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25587 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25588 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25589 (gst_pad_send_event), (gst_pad_start_task):
25590 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25591 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25592 (gst_queue_sink_activate), (gst_queue_src_activate),
25593 (gst_queue_change_state):
25595 Fix state changes for non sinks. We now change sinks, then elements
25596 with unconnected srcpads, then the rest.
25597 More efficient queue unlocking in flush and state changes.
25598 Set the pad activate mode even if it does not have an activate
25601 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25603 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25604 Don't go in pull mode for non-seekable sources.
25605 * gst/elements/gsttypefindelement.h:
25606 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25607 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25608 (free_entry), (stop_typefinding),
25609 (gst_type_find_element_handle_event), (find_peek),
25610 (gst_type_find_element_chain), (do_pull_typefind),
25611 (gst_type_find_element_change_state):
25612 Allow typefinding (w/o seeking) in push-mode, simplified version
25613 of what was in 0.8.
25614 * gst/gstutils.c: (gst_buffer_join):
25616 gst_buffer_join() from 0.8.
25618 2005-05-25 Wim Taymans <wim@fluendo.com>
25620 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25621 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25622 (gst_pad_send_event), (gst_pad_start_task):
25623 Disable attempt at mode switching until it is figured out.
25625 2005-05-25 Wim Taymans <wim@fluendo.com>
25627 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25628 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25629 (gst_basesink_finish_preroll), (gst_basesink_chain),
25630 (gst_basesink_loop), (gst_basesink_activate),
25631 (gst_basesink_change_state):
25632 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25633 (gst_basesrc_get_range), (gst_basesrc_loop),
25634 (gst_basesrc_activate):
25635 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25636 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25637 (gst_real_pad_init), (gst_real_pad_set_property),
25638 (gst_real_pad_get_property), (gst_pad_set_active),
25639 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25640 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25641 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25642 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25643 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25644 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25645 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25646 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25647 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25648 (gst_pad_stop_task):
25650 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25651 (gst_queue_loop), (gst_queue_src_activate):
25652 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25653 (gst_task_get_state):
25655 * gst/schedulers/threadscheduler.c:
25656 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25657 Implement gst_pad_pause/start/stop_task(), take STREAM lock
25659 Remove ACTIVE pad flag, use FLUSHING everywhere
25660 Added _pad_chain(), _pad_get_range() to call chain/getrange
25662 Add locks around IS_FLUSHING when reading.
25663 Take STREAM lock in chain(), get_range() functions so plugins
25664 don't need to take it anymore.
25668 2005-05-25 Wim Taymans <wim@fluendo.com>
25670 * tools/gst-launch.c: (event_loop):
25671 Unref message after using its contents instead of
25674 2005-05-24 Wim Taymans <wim@fluendo.com>
25676 * docs/design/draft-ghostpads.txt:
25677 * docs/design/draft-push-pull.txt:
25678 * docs/design/draft-query.txt:
25679 * docs/design/part-overview.txt:
25680 Docs updates, added general overview doc.
25682 2005-05-21 David Schleef <ds@schleef.org>
25684 * docs/gst/tmpl/old/GstBin.sgml:
25685 * docs/gst/tmpl/old/GstBuffer.sgml:
25686 * docs/gst/tmpl/old/GstCaps.sgml:
25687 * docs/gst/tmpl/old/GstClock.sgml:
25688 * docs/gst/tmpl/old/GstCompat.sgml:
25689 * docs/gst/tmpl/old/GstData.sgml:
25690 * docs/gst/tmpl/old/GstElement.sgml:
25691 * docs/gst/tmpl/old/GstEvent.sgml:
25692 * docs/gst/tmpl/old/GstIndex.sgml:
25693 * docs/gst/tmpl/old/GstStructure.sgml:
25694 * docs/gst/tmpl/old/GstTag.sgml:
25695 * docs/gst/tmpl/old/cothreads.sgml:
25696 * docs/gst/tmpl/old/cothreads_compat.sgml:
25697 * docs/gst/tmpl/old/gettext.sgml:
25698 * docs/gst/tmpl/old/gobject2gtk.sgml:
25699 * docs/gst/tmpl/old/grammar.tab.sgml:
25700 * docs/gst/tmpl/old/gst-i18n-app.sgml:
25701 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25702 * docs/gst/tmpl/old/gst_private.sgml:
25703 * docs/gst/tmpl/old/gstaggregator.sgml:
25704 * docs/gst/tmpl/old/gstarch.sgml:
25705 * docs/gst/tmpl/old/gstatomic_impl.sgml:
25706 * docs/gst/tmpl/old/gstbufferstore.sgml:
25707 * docs/gst/tmpl/old/gstdata_private.sgml:
25708 * docs/gst/tmpl/old/gstdisksink.sgml:
25709 * docs/gst/tmpl/old/gstdisksrc.sgml:
25710 * docs/gst/tmpl/old/gstelementfactory.sgml:
25711 * docs/gst/tmpl/old/gstextratypes.sgml:
25712 * docs/gst/tmpl/old/gstfakesink.sgml:
25713 * docs/gst/tmpl/old/gstfakesrc.sgml:
25714 * docs/gst/tmpl/old/gstfdsink.sgml:
25715 * docs/gst/tmpl/old/gstfdsrc.sgml:
25716 * docs/gst/tmpl/old/gstfilesink.sgml:
25717 * docs/gst/tmpl/old/gstfilesrc.sgml:
25718 * docs/gst/tmpl/old/gsthttpsrc.sgml:
25719 * docs/gst/tmpl/old/gstidentity.sgml:
25720 * docs/gst/tmpl/old/gstindexfactory.sgml:
25721 * docs/gst/tmpl/old/gstmarshal.sgml:
25722 * docs/gst/tmpl/old/gstmd5sink.sgml:
25723 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25724 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25725 * docs/gst/tmpl/old/gstpadtemplate.sgml:
25726 * docs/gst/tmpl/old/gstpipefilter.sgml:
25727 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25728 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25729 * docs/gst/tmpl/old/gstshaper.sgml:
25730 * docs/gst/tmpl/old/gstspider.sgml:
25731 * docs/gst/tmpl/old/gstspideridentity.sgml:
25732 * docs/gst/tmpl/old/gststatistics.sgml:
25733 * docs/gst/tmpl/old/gsttee.sgml:
25734 * docs/gst/tmpl/old/gsttimecache.sgml:
25735 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25736 * docs/gst/tmpl/old/gstxmlregistry.sgml:
25737 * docs/gst/tmpl/old/gthread-cothreads.sgml:
25738 * docs/gst/tmpl/old/types.sgml:
25739 I didn't intend to add these or check them in.
25741 2005-05-19 David Schleef <ds@schleef.org>
25743 * configure.ac: Use -no-common everywhere. In a sane world, it
25744 would be the default in libtool, because without it, you can't
25745 build DLLs on Windows.
25746 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25747 * docs/gst/gstreamer-sections.txt:
25748 * docs/gst/tmpl/gstcpu.sgml:
25749 * docs/gst/tmpl/gstdata.sgml:
25750 * docs/gst/tmpl/gstthread.sgml:
25752 2005-05-19 David Schleef <ds@schleef.org>
25754 * gst/gstminiobject.c: (gst_value_set_mini_object),
25755 (gst_value_take_mini_object), (gst_value_get_mini_object):
25756 * gst/gstminiobject.h: Add GValue set/get functions.
25758 2005-05-19 Wim Taymans <wim@fluendo.com>
25760 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25761 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25762 (gst_subbuffer_init), (gst_buffer_is_span_fast):
25764 * gst/gstbus.c: (gst_bus_post):
25765 * gst/gstelement.c: (gst_element_get_random_pad):
25766 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25767 Make subbufer unref the parent in finalize.
25768 some more debugging info.
25771 2005-05-19 Wim Taymans <wim@fluendo.com>
25773 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25774 (gst_basesink_init), (gst_basesink_finalize),
25775 (gst_basesink_activate), (gst_basesink_change_state):
25776 Don't free preroll queue too early.
25778 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25782 Hi, I'm outdated. Please shoot me.
25784 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25786 * gst/gstpipeline.c: (gst_pipeline_send_event):
25787 Do not access variables after they have been deleted.
25789 2005-05-19 Wim Taymans <wim@fluendo.com>
25791 * tools/gst-inspect.c: (print_plugin_features):
25792 A plugin feature does unfortunatly not use the
25795 2005-05-18 Wim Taymans <wim@fluendo.com>
25797 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25798 Port _span() functions to new subbuffers.
25800 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25802 * gst/gstbin.c: (gst_bin_add_func):
25803 Fix clock settery in bins when adding kids after the clock has
25806 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25808 * gst/elements/gstidentity.c: (gst_identity_class_init):
25809 Workaround until signals support GstMiniObject.
25811 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
25814 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25816 2005-05-18 Wim Taymans <wim@fluendo.com>
25818 * gst/base/Makefile.am:
25819 * gst/base/gstadapter.c: (gst_adapter_base_init),
25820 (gst_adapter_class_init), (gst_adapter_init),
25821 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25822 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25823 (gst_adapter_flush), (gst_adapter_available),
25824 (gst_adapter_available_fast):
25825 * gst/base/gstadapter.h:
25826 Ported and added adapter to the base classes.
25828 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25831 * gst/gstmessage.c:
25832 Make sure the class is reffed/unreffed once before threads can be
25833 used. Fixes #304551.
25835 2005-05-17 Wim Taymans <wim@fluendo.com>
25837 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25838 (gst_basesink_chain_unlocked), (gst_basesink_activate):
25839 * gst/gstminiobject.c: (gst_mini_object_get_type),
25840 (gst_mini_object_free):
25841 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25842 (gst_pad_push), (gst_pad_push_event):
25843 * gst/gstqueue.c: (gst_queue_change_state):
25844 Don't queue buffers in basesink when we are flushing.
25845 Unref buffer when flushing in basesink.
25846 Flush queue when going to READY
25847 Unref buffer when _push() returns an error.
25848 Don't free MiniObject instance when refcount is incremented
25849 in _finalize() so that we can recover objects.
25851 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
25853 * docs/manual/advanced-schedulers.xml:
25854 * docs/manual/appendix-checklist.xml:
25855 * docs/pwg/advanced-clock.xml:
25856 * docs/pwg/advanced-interfaces.xml:
25857 * docs/pwg/advanced-request.xml:
25858 * docs/pwg/advanced-types.xml:
25859 * docs/pwg/intro-preface.xml:
25860 * examples/plugins/example.c: (gst_example_get_type),
25861 (gst_example_class_init), (gst_example_chain),
25862 (gst_example_set_property), (gst_example_get_property),
25863 (gst_example_change_state), (plugin_init):
25864 * examples/plugins/example.h:
25867 2005-05-17 Wim Taymans <wim@fluendo.com>
25869 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25870 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25871 * gst/gstqueue.c: (gst_queue_change_state):
25872 Clear queue when going to READY.
25873 Remove IN_SETCAPS flag too.
25875 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
25877 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25878 Remove implicit cast from gboolean to GstElementStateReturn;
25879 make sure we still return failure in paused => ready case if
25880 the parent class fails to change state and our own stop
25883 2005-05-17 Wim Taymans <wim@fluendo.com>
25885 * tools/gst-launch.c: (event_loop):
25886 Message was unreffed too soon.
25888 2005-05-16 Andy Wingo <wingo@pobox.com>
25890 * gst/gstbin.c (sink_iterator_filter): Err... um...
25892 * check/gst/gstbin.c (test_ghost_pads): New test for the
25893 ghosting-if-elements-not-in-same-bin behavior.
25895 2005-05-16 David Schleef <ds@schleef.org>
25897 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25898 accessing refcount directly.
25900 2005-05-15 David Schleef <ds@schleef.org>
25902 * check/Makefile.am: remove GstData checks
25903 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25904 * gst/Makefile.am: add miniobject, remove data
25905 * gst/gst.h: add miniobject, remove data
25906 * gst/gstdata.c: remove
25907 * gst/gstdata.h: remove
25908 * gst/gstdata_private.h: remove
25909 * gst/gsttypes.h: remove GstEvent and GstMessage
25910 * gst/gstelement.c: (gst_element_post_message): fix for API changes
25911 * gst/gstmarshal.list: change BOXED -> OBJECT
25913 Implement GstMiniObject.
25914 * gst/gstminiobject.c:
25915 * gst/gstminiobject.h:
25917 Modify to be subclasses of GstMiniObject.
25918 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25919 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25920 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25921 (gst_subbuffer_get_type), (gst_subbuffer_init),
25922 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25925 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25926 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25927 (_gst_event_copy), (gst_event_new):
25929 * gst/gstmessage.c: (_gst_message_initialize),
25930 (gst_message_get_type), (gst_message_class_init),
25931 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25932 (gst_message_new), (gst_message_new_error),
25933 (gst_message_new_warning), (gst_message_new_tag),
25934 (gst_message_new_state_changed), (gst_message_new_application):
25935 * gst/gstmessage.h:
25936 * gst/gstprobe.c: (gst_probe_perform),
25937 (gst_probe_dispatcher_dispatch):
25939 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25940 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25941 (_gst_query_copy), (gst_query_new):
25943 Update elements for GstData -> GstMiniObject changes
25945 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25946 (gst_queue_chain), (gst_queue_loop):
25947 * gst/elements/gstbufferstore.c:
25948 (gst_buffer_store_add_buffer_func),
25949 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25950 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25951 (gst_fakesink_render):
25952 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25953 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25954 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25955 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25956 (gst_filesrc_create_read):
25957 * gst/elements/gstidentity.c: (gst_identity_class_init):
25958 * gst/elements/gsttypefindelement.c:
25959 (gst_type_find_element_src_event), (free_entry_buffers),
25960 (gst_type_find_element_handle_event):
25961 * libs/gst/dataprotocol/dataprotocol.c:
25962 (gst_dp_header_from_buffer):
25963 * libs/gst/dataprotocol/dataprotocol.h:
25964 * libs/gst/dataprotocol/dp-private.h:
25966 2005-05-15 David Schleef <ds@schleef.org>
25968 * gst/elements/gstelements.c: Don't include headers that were
25971 2005-05-15 David Schleef <ds@schleef.org>
25973 * gst/elements/Makefile.am: Remove some elements that don't
25974 need to be in the core (or even exist at all).
25975 * gst/elements/gstaggregator.c:
25976 * gst/elements/gstaggregator.h:
25977 * gst/elements/gstmd5sink.c:
25978 * gst/elements/gstmd5sink.h:
25979 * gst/elements/gstmultifilesrc.c:
25980 * gst/elements/gstmultifilesrc.h:
25981 * gst/elements/gstpipefilter.c:
25982 * gst/elements/gstpipefilter.h:
25983 * gst/elements/gstshaper.c:
25984 * gst/elements/gstshaper.h:
25985 * gst/elements/gststatistics.c:
25986 * gst/elements/gststatistics.h:
25987 * po/POTFILES.in: Remove above files.
25989 2005-05-14 Andy Wingo <wingo@pobox.com>
25991 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25992 so as to get the refs right.
25993 (sink_iterator_filter): New function, wraps bin_element_is_sink,
25994 unreffing objects that don't pass the filter.
25996 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25997 gst_element_set_bus.
25998 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25999 normal cases, this will destroy the bus.
26001 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26004 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26007 2005-05-13 Andy Wingo <wingo@pobox.com>
26009 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26010 gst_pad_link, call pad_link_maybe_ghosting,
26011 (pad_link_maybe_ghosting): Links pads, making sure that the
26012 elements being linked are in the same bin.
26013 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26014 Helpers for pad_link_maybe_ghosting.
26016 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26019 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26021 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26023 * docs/design/part-element-source.txt:
26026 2005-05-12 Wim Taymans <wim@fluendo.com>
26028 * gst/base/gstbasesink.c: (gst_basesink_init),
26029 (gst_basesink_activate):
26030 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26031 (gst_basesrc_is_seekable):
26032 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26033 (bin_element_is_sink), (gst_bin_change_state):
26034 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26035 * gst/gstelement.h:
26036 Identify sinks by their flag to avoid overly complicated
26038 Do state changes even for elements not reachable from the
26040 BaseSink is a sink now :)
26041 Some more debugging info in the basesrc.
26044 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26047 Implement _query on a bin, similar to _send_event.
26049 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26051 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26052 Discont event offset format should be GST_FORMAT_BYTES,
26053 not GST_FORMAT_TIME.
26055 2005-05-12 Wim Taymans <wim@fluendo.com>
26057 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26058 Same fix as Ronald's but without the signal.
26060 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26062 * gst/gstutils.c: (gst_element_query_position):
26063 No, an element is not a pad.
26065 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26067 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26068 (gst_bin_get_state):
26069 If a child is removed from a bin while we remove the child from
26070 the bin and while we're retrieving its state, signal this to the
26071 get_state function so we abort the wait (instead of waiting for
26072 a timeout) and can immediately re-iterate over all other elements.
26074 2005-05-12 Wim Taymans <wim@fluendo.com>
26076 * gst/base/Makefile.am:
26077 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26078 (gst_basesrc_start):
26079 * gst/base/gstbasesrc.h:
26080 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26081 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26082 (gst_pushsrc_init), (gst_pushsrc_create):
26083 * gst/base/gstpushsrc.h:
26084 Added is_seekable to BaseSrc
26085 Added simple PushSrc.
26087 2005-05-11 Wim Taymans <wim@fluendo.com>
26089 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26090 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26091 (gst_element_link_pads), (gst_element_query_position),
26092 (gst_element_query_convert), (intersect_caps_func),
26093 (gst_pad_query_position), (gst_pad_query_convert):
26094 Fix refcounting in utils function.
26095 No point in trying to activate a pad when it's added, it could
26096 be added from the state change function and then we deadlock, the
26097 element has to decide what to do.
26099 2005-05-10 Andy Wingo <wingo@pobox.com>
26101 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26102 *all* the arguments.
26104 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26105 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26106 lock (according to the docs -- if this is wrong change the docs).
26108 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26109 flush messages in the NULL state.
26111 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26112 message immediately and return.
26113 (gst_bus_set_flushing): New function. If a bus is flushing, it
26114 flushes out any queued messages and immediately unrefs new
26115 messages. This is so when an element goes to NULL, all of the
26116 unhandled messages coming from it can be freed, and their
26117 references to the element dropped. In other words: message source
26118 ref considered harmful :P
26120 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26121 we're finished with it.
26123 * gst/gstmessage.c (gst_message_new_state_changed):
26125 2005-05-10 Wim Taymans <wim@fluendo.com>
26127 * gst/gstvalue.c: (gst_value_compare_flags),
26128 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26129 (_gst_value_initialize):
26130 Added flags serialize/deserialize/compare code.
26132 2005-05-09 Andy Wingo <wingo@pobox.com>
26134 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26135 Intersect the peer's caps with our caps.
26137 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26139 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26140 * gst/elements/gsttypefindelement.c: (find_peek):
26141 Handle negative offsets better. Fixes decodebin.
26143 2005-05-09 Wim Taymans <wim@fluendo.com>
26145 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26146 (gst_base_transform_event):
26147 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26148 Implement accept_caps.
26149 Fix silly lock/unlock mismatch in base class.
26151 2005-05-09 Wim Taymans <wim@fluendo.com>
26153 * docs/design/draft-push-pull.txt:
26154 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26155 * gst/elements/gstfilesink.c: (gst_filesink_init),
26156 (gst_filesink_query):
26157 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26158 (gst_type_find_handle_src_query), (find_element_get_length):
26159 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26160 * gst/gstelement.h:
26161 * gst/gstmessage.c:
26162 * gst/gstmessage.h:
26163 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26164 (gst_real_pad_get_caps_unlocked),
26165 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26166 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26167 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26168 (gst_real_pad_dispose), (gst_real_pad_finalize),
26169 (gst_pad_load_and_link), (gst_pad_save_thyself),
26170 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26171 (gst_pad_check_pull_range), (gst_pad_pull_range),
26172 (gst_pad_template_get_type), (gst_pad_template_class_init),
26173 (gst_pad_template_init), (gst_pad_template_dispose),
26174 (name_is_valid), (gst_static_pad_template_get),
26175 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26176 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26177 (gst_pad_get_element_private), (gst_pad_start_task),
26178 (gst_pad_pause_task), (gst_pad_stop_task),
26179 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26180 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26181 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26182 (gst_ghost_pad_new):
26184 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26185 (gst_query_new_position), (gst_query_set_position),
26186 (gst_query_parse_position), (gst_query_new_convert),
26187 (gst_query_set_convert), (gst_query_parse_convert):
26189 * gst/gstqueryutils.c:
26190 * gst/gstqueryutils.h:
26191 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26192 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26193 (gst_queue_handle_src_query):
26194 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26195 (gst_element_query_position), (gst_element_query_convert),
26196 (intersect_caps_func), (gst_pad_query_position),
26197 (gst_pad_query_convert):
26199 * tools/gst-inspect.c: (print_pad_info):
26200 * tools/gst-xmlinspect.c: (print_element_info):
26201 Remove old query functions. Ported old code.
26202 Added position/convert helper functions to gstutils.
26203 Reordered gstpad.c code, grouping relevant things.
26204 Remove gst_message_new(), always need to speficy a specific
26208 2005-05-09 Andy Wingo <wingo@pobox.com>
26210 * gst/gstiterator.h: Add some includes.
26212 * gst/gstqueryutils.h: Include more headers.
26215 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26216 some uses of gst_pad_query.
26218 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26219 NULL out parameters.
26220 (gst_query_new_position): New proc, allocates a new position
26223 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26224 gstqueryutils.c to the build.
26226 * gst/gststructure.c (gst_structure_set_valist): Implement with
26227 the generic G_VALUE_COLLECT.
26229 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26231 * gst/Makefile.am: (gst_headers):
26232 Added gstqueryutils.h to the list of headers to install, that was
26233 a 'nachty' move wingo :)
26235 2005-05-06 Andy Wingo <wingo@pobox.com>
26238 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26239 GstData, init a memchunk.
26240 (standard_definitions): Add a few query types, deprecate a few.
26241 (gst_query_get_type): New proc.
26242 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26244 (gst_query_new_application, gst_query_get_structure): New public
26247 * docs/design/draft-query.txt: Removed LINKS from the query types,
26248 because all the rest can be dispatched to other pads -- seemed
26249 ugly to have a query that couldn't be dispatched. internal_links
26250 is fine as a pad method.
26252 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26253 in gstpad.c, but maintain binary compatibility for the moment.
26254 Will fix before 0.9 is out.
26256 * gst/gstqueryutils.c:
26257 * gst/gstqueryutils.h: New files, implement 3 methods for each
26258 query type: parse_query, parse_response, and set. Probably need an
26261 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26263 * gst/elements/gstfilesink.c (gst_filesink_query2):
26264 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26265 query_types, and formats methods.
26267 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26268 (gst_pad_set_query2_function): New functions.
26269 (gst_real_pad_init): Set query2_default as the default query2
26270 function. Basically just dispatches to internally linked pads.
26274 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26275 without using the atomic operations. Only one thread can possibly
26276 be accessing the data at this point. Changed so as to avoid
26277 gst_atomic operations.
26279 2005-05-06 Wim Taymans <wim@fluendo.com>
26281 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26282 Also set caps if we use the fallback buffer alloc.
26284 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26286 * docs/gst/Makefile.am:
26287 * docs/gst/gstreamer-docs.sgml:
26288 * docs/gst/gstreamer-sections.txt:
26289 * docs/gst/tmpl/gstatomic.sgml:
26290 * docs/gst/tmpl/gstmemchunk.sgml:
26291 * testsuite/elements/struct_i386.h:
26292 * win32/GStreamer.vcproj:
26294 Purge GstAtomic stuff from docs and win32 makefiles as well
26296 2005-05-06 Wim Taymans <wim@fluendo.com>
26298 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26299 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26300 * gst/gstpad.c: (gst_pad_peer_get_caps):
26301 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26302 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26303 (gst_queue_src_activate), (gst_queue_change_state):
26305 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26306 (intersect_caps_func):
26307 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26308 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26309 Some fixes for the peer_get_caps() change.
26311 2005-05-06 Wim Taymans <wim@fluendo.com>
26313 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26314 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26315 (gst_basesink_activate):
26316 Actually do something with error codes returned from the push
26319 2005-05-06 Wim Taymans <wim@fluendo.com>
26321 * docs/design/part-element-sink.txt:
26322 * docs/design/part-element-source.txt:
26323 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26324 (gst_basesink_event), (gst_basesink_activate):
26325 * gst/base/gstbasesink.h:
26326 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26327 (gst_basesrc_activate):
26328 * gst/base/gstbasesrc.h:
26329 * gst/gstelement.c: (gst_element_pads_activate):
26330 Some more documentation.
26331 Fixed scheduling decision in _pads_activate().
26333 2005-05-05 Andy Wingo <wingo@pobox.com>
26335 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26338 2005-05-05 Wim Taymans <wim@fluendo.com>
26340 * gst/base/Makefile.am:
26341 * gst/base/gstbasesink.h:
26342 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26343 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26344 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26345 (gst_collectpads_class_init), (gst_collectpads_init),
26346 (gst_collectpads_finalize), (gst_collectpads_new),
26347 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26348 (find_pad), (gst_collectpads_remove_pad),
26349 (gst_collectpads_is_active), (gst_collectpads_collect),
26350 (gst_collectpads_collect_range), (gst_collectpads_start),
26351 (gst_collectpads_stop), (gst_collectpads_peek),
26352 (gst_collectpads_pop), (gst_collectpads_available),
26353 (gst_collectpads_read), (gst_collectpads_flush),
26354 (gst_collectpads_chain):
26355 * gst/base/gstcollectpads.h:
26356 * gst/elements/Makefile.am:
26357 * gst/elements/gstelements.c:
26358 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26359 (gst_fakesink_get_times), (gst_fakesink_event),
26360 (gst_fakesink_preroll), (gst_fakesink_render):
26361 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26362 (gst_filesink_init), (gst_filesink_set_location),
26363 (gst_filesink_open_file), (gst_filesink_close_file),
26364 (gst_filesink_pad_query), (gst_filesink_event),
26365 (gst_filesink_render), (gst_filesink_change_state):
26366 * gst/elements/gstfilesink.h:
26367 Added object to help in making collect pad based elements.
26369 Make event function in sink baseclass return gboolean.
26371 2005-05-05 Wim Taymans <wim@fluendo.com>
26373 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26374 (gst_bin_get_by_name):
26376 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26377 (gst_clock_finalize):
26378 * gst/gstdata.c: (gst_data_replace):
26380 * gst/gstelement.c: (gst_element_request_pad),
26381 (gst_element_pads_activate):
26382 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26383 (gst_object_unref):
26384 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26385 (gst_pad_set_checkgetrange_function),
26386 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26387 (gst_pad_check_pull_range), (gst_pad_pull_range),
26388 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26389 (gst_pad_pause_task), (gst_pad_stop_task):
26390 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26391 (gst_element_request_pad), (gst_pad_proxy_getcaps):
26392 Fix name lookup in GstBin.
26393 Added _data_replace() function and _buffer_replace()
26394 Use finalize method to clean up clock.
26395 Fix refcounting on request pads.
26396 Fix pad schedule mode error.
26397 Some more object refcounting debug info,
26400 2005-05-04 Andy Wingo <wingo@pobox.com>
26402 * check/Makefile.am:
26403 * docs/gst/tmpl/gstatomic.sgml:
26404 * docs/gst/tmpl/gstplugin.sgml:
26405 * gst/base/gstbasesink.c: (gst_basesink_activate):
26406 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26407 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26408 (gst_basesrc_query), (gst_basesrc_set_property),
26409 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26410 (gst_basesrc_activate):
26411 * gst/base/gstbasesrc.h:
26412 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26413 (gst_base_transform_src_activate):
26414 * gst/elements/gstelements.c:
26415 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26416 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26417 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26418 * gst/elements/gsttypefindelement.c: (find_element_get_length),
26419 (gst_type_find_element_checkgetrange),
26420 (gst_type_find_element_activate):
26421 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26422 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26423 (gst_caps_load_thyself):
26424 * gst/gstelement.c: (gst_element_pads_activate),
26425 (gst_element_save_thyself), (gst_element_restore_thyself):
26426 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26427 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26429 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26430 (gst_xml_parse_file), (gst_xml_parse_memory),
26431 (gst_xml_get_element), (gst_xml_make_element):
26432 * gst/indexers/gstfileindex.c: (gst_file_index_load),
26433 (_file_index_id_save_xml), (gst_file_index_commit):
26434 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26435 (read_enum), (load_pad_template), (load_feature), (load_plugin),
26437 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26438 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26439 * tools/gst-complete.c: (main):
26440 * tools/gst-compprep.c: (main):
26441 * tools/gst-inspect.c: (print_element_properties_info):
26442 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26443 * tools/gst-xmlinspect.c: (print_element_properties):
26446 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
26448 * gst/gstplugin.c: (gst_plugin_check_module),
26449 (gst_plugin_check_file), (gst_plugin_load_file):
26450 apply patch from #172526 to make register work on MacOSX
26452 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26454 * docs/gst/tmpl/gstconfig.sgml:
26455 * gst/gstconfig.h.in:
26456 move documentation for some symbols. Add doc for GST_PTR_FORMAT
26457 * testsuite/debug/printf_extension.c: (main):
26458 Do not use GST_PTR_FORMAT on pointers to types with
26459 sizeof < sizeof(gpointer). Fixes test on 64-bit
26460 * testsuite/elements/property.h:
26461 use correct printf format
26463 2005-05-02 Wim Taymans <wim@fluendo.com>
26465 * docs/design/draft-push-pull.txt:
26466 * docs/design/draft-query.txt:
26467 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26468 (gst_basesrc_start):
26469 Added draft for new query API.
26470 Added draft for better selecting scheduling methods.
26471 Make basesrc ignore length if the subclass does not support
26474 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26477 possible fixes for automake-1.5 - _LIBADD is reserved
26479 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26481 * docs/faq/Makefile.am:
26482 * docs/manual/Makefile.am:
26483 * docs/manuals.mak:
26484 * docs/pwg/Makefile.am:
26486 possible fixes for automake-1.5
26488 2005-04-28 Wim Taymans <wim@fluendo.com>
26490 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26491 (gst_basesink_pad_getcaps), (gst_basesink_init),
26492 (gst_basesink_do_sync):
26493 * gst/gstclock.c: (gst_clock_entry_new):
26494 * gst/gstevent.c: (gst_event_discont_get_value):
26495 * gst/gstpipeline.c: (pipeline_bus_handler),
26496 (gst_pipeline_change_state):
26497 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26498 Better debugging of clocking info.
26499 Allow NULL values when getting discont values.
26501 2005-04-27 Wim Taymans <wim@fluendo.com>
26503 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26504 * check/gst/gstpad.c: (gst_pad_suite):
26505 Increase timeout for checks.
26507 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26509 * check/Makefile.am:
26510 fix the broken rule for cleanup. Apparently this rule is
26511 only needed on FC2, so maybe this warrants further autotool
26514 2005-04-26 Wim Taymans <wim@fluendo.com>
26516 * gst/gsttrashstack.h:
26517 Ooohh. a nasty one! After having a failed pop() from the stack,
26518 it's possible that the stack is empty. In that case, don't
26519 follow the NULL pointer.
26521 2005-04-25 Wim Taymans <wim@fluendo.com>
26523 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26524 (gst_pad_set_checkgetrange_function),
26525 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26526 (gst_pad_check_pull_range), (gst_pad_pull_range),
26527 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26528 (gst_pad_pause_task), (gst_pad_stop_task):
26529 * gst/gstplugin.c: (gst_plugin_load):
26531 Remove gst_library_load as it does more harm than good with
26532 the new g_module flags.
26533 Revert bogus caps template check in pad linking, pad caps
26534 are important when linking not the template, which is more
26535 general than the current caps.
26537 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26539 * gst/autoplug/.cvsignore:
26540 * gst/autoplug/Makefile.am:
26541 * gst/autoplug/gstsearchfuncs.c:
26542 * gst/autoplug/gstsearchfuncs.h:
26543 * gst/autoplug/gstspider.c:
26544 * gst/autoplug/gstspider.h:
26545 * gst/autoplug/gstspideridentity.c:
26546 * gst/autoplug/gstspideridentity.h:
26547 * gst/autoplug/spidertest.c:
26550 2005-04-25 Wim Taymans <wim@fluendo.com>
26552 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26553 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26554 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26555 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26557 Added stubs for unimplemented functions.
26559 2005-04-24 David Schleef <ds@schleef.org>
26561 * gst/gstpad.h: Disable some unimplemented functions. Wim,
26564 2005-04-24 David Schleef <ds@schleef.org>
26566 Convert everything from GstAtomicInt to g_atomic_int_*, and
26571 * gst/gstatomic_impl.h:
26579 * gst/gstdata_private.h:
26583 * gst/gstmessage.c:
26586 * gst/gststructure.c:
26587 * gst/gststructure.h:
26588 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26591 2005-04-24 David Schleef <ds@schleef.org>
26593 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26594 make the regressions tests work. Remove some code that is no
26596 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26597 Disable warning for pads without templates.
26599 2005-04-24 David Schleef <ds@schleef.org>
26601 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
26602 functions that handle filtered links.
26603 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26605 * gst/gstutils.c: Fix/remove utility functions that handle
26608 * gst/gstvalue.c: Add serialization/deserialization of caps
26609 * gst/parse/grammar.y: Ignore filtered caps when linking. This
26610 requires fixing so that the filter caps notation creates
26611 a capsfilter element and sets the filter_caps property. I
26612 think everyone probably wants to keep the shorthand notation.
26613 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26614 * docs/gst/tmpl/gstpad.sgml:
26616 * gst/elements/gstelements.c: Register capsfilter element.
26617 * gst/Makefile.am: fix spacing
26618 * docs/random/ds/0.9-suggested-changes: random
26620 2005-04-23 David Schleef <ds@schleef.org>
26622 * gst/elements/Makefile.am:
26623 * gst/elements/gstcapsfilter.c: New element that acts like an
26624 identity, but filters caps. Will eventually replace filtered
26625 caps in pad linking.
26626 * gst/gstutils.c: (gst_element_create_all_pads): New function
26627 to create all the ALWAYS pads that are registered with an
26628 element class. This functionality should eventually be
26629 merged in with GstElement initialization.
26631 * testsuite/trigger/README: part of trigger test code that should
26632 have been checked in a long time ago.
26634 2005-04-23 David Schleef <ds@schleef.org>
26636 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
26637 needed with new versions of libtool (nobody will confirm this),
26638 and hard to carry around.
26639 * gst/autoplug/Makefile.am:
26640 * gst/base/Makefile.am:
26641 * gst/elements/Makefile.am:
26642 * gst/indexers/Makefile.am:
26643 * gst/schedulers/Makefile.am:
26644 * libs/gst/bytestream/Makefile.am:
26645 * libs/gst/control/Makefile.am:
26646 * libs/gst/dataprotocol/Makefile.am:
26647 * libs/gst/getbits/Makefile.am:
26649 2005-04-21 Wim Taymans <wim@fluendo.com>
26651 * docs/design/draft-push-pull.txt:
26652 * docs/design/part-MT-refcounting.txt:
26653 * docs/design/part-TODO.txt:
26654 * docs/design/part-caps.txt:
26655 * docs/design/part-events.txt:
26656 * docs/design/part-gstbus.txt:
26657 * docs/design/part-gstpipeline.txt:
26658 * docs/design/part-messages.txt:
26659 * docs/design/part-push-pull.txt:
26660 * docs/design/part-query.txt:
26663 2005-04-21 Wim Taymans <wim@fluendo.com>
26665 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26666 (gst_message_new), (gst_message_new_error),
26667 (gst_message_new_warning), (gst_message_new_tag),
26668 (gst_message_new_state_changed), (gst_message_new_application),
26669 (gst_message_get_structure):
26670 * gst/gstmessage.h:
26671 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26672 (gst_structure_copy_conditional):
26673 Use parent refcount in GstMessage to ensure GstStructure
26675 Cleaned up headers a bit.
26678 2005-04-20 Wim Taymans <wim@fluendo.com>
26680 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26681 (gst_basesink_pad_getcaps), (gst_basesink_init),
26682 (gst_basesink_chain_unlocked):
26683 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26684 (gst_type_find_helper):
26685 * gst/elements/gsttypefindelement.c:
26686 (gst_type_find_element_have_type), (gst_type_find_element_init),
26687 (stop_typefinding), (gst_type_find_element_handle_event),
26688 (find_suggest), (gst_type_find_element_chain),
26689 (gst_type_find_element_checkgetrange),
26690 (gst_type_find_element_getrange), (do_typefind),
26691 (gst_type_find_element_activate):
26692 * gst/gstbuffer.c: (_gst_buffer_sub_free),
26693 (gst_buffer_default_free), (gst_buffer_default_copy),
26694 (gst_buffer_set_caps):
26695 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26696 (gst_caps_replace):
26697 * gst/gstmessage.c: (gst_message_new),
26698 (gst_message_new_state_changed):
26699 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26700 (gst_pad_set_checkgetrange_function),
26701 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26702 (gst_pad_set_caps), (gst_pad_check_pull_range),
26703 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26705 * gst/gsttypefind.c: (gst_type_find_register):
26706 Make gst_caps_replace() work like other _replace() functions.
26707 Use _caps_replace() where possible.
26708 Make sure _message_new() initialises its field.
26709 Add gst_static_pad_template_get_caps()
26712 2005-04-18 Andy Wingo <wingo@pobox.com>
26714 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26715 on the peer, not the pad. I think that was a typo. Pass an extra
26716 arg to see if random access is possible. Activate the pads as
26717 PULL_RANGE if possible.
26719 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26721 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
26722 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26725 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26727 * docs/faq/using.xml:
26728 Add note on gstreamer-properties (#154996).
26730 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26732 * docs/random/bbb/optional-properties:
26733 Some analysis on optional properties.
26735 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26737 * docs/gst/tmpl/gstelementfactory.sgml:
26738 * gst/gstelement.h:
26739 * gst/gstelementfactory.c: (gst_element_factory_init),
26740 (gst_element_factory_cleanup), (gst_element_register),
26741 (__gst_element_factory_add_static_pad_template),
26742 (gst_element_factory_get_static_pad_templates),
26743 (gst_element_factory_can_src_caps),
26744 (gst_element_factory_can_sink_caps):
26745 * gst/registries/Makefile.am:
26746 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26747 (gst_xml_registry_class_init), (gst_xml_registry_init),
26748 (gst_xml_registry_new), (gst_xml_registry_set_property),
26749 (gst_xml_registry_get_property), (get_time), (make_dir),
26750 (gst_xml_registry_get_perms_func),
26751 (plugin_times_older_than_recurse), (plugin_times_older_than),
26752 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26753 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26754 (add_to_char_array), (read_string), (read_uint), (read_enum),
26755 (load_pad_template), (load_feature), (load_plugin), (load_paths),
26756 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26757 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26758 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26759 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26760 (gst_xml_registry_rebuild):
26761 * gst/registries/gstlibxmlregistry.h:
26762 * tools/gst-compprep.c: (main):
26763 * tools/gst-inspect.c: (print_pad_templates_info):
26764 * tools/gst-xmlinspect.c: (print_element_info):
26765 Use libxml2 for registry parsing, use staticpadtemplates in
26766 elementfactories. Makes gst_init() +/- 10x faster.
26768 2005-04-12 Wim Taymans <wim@fluendo.com>
26770 * gst/base/Makefile.am:
26771 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26772 (gst_basesink_pad_getcaps), (gst_basesink_init),
26773 (gst_basesink_event), (gst_basesink_change_state):
26774 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26775 (gst_basesrc_init), (gst_basesrc_query),
26776 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26777 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26778 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26779 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26780 (gst_basesrc_stop), (gst_basesrc_activate),
26781 (gst_basesrc_change_state):
26782 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26783 (helper_find_suggest), (gst_type_find_helper):
26784 * gst/base/gsttypefindhelper.h:
26785 * gst/elements/Makefile.am:
26786 * gst/elements/gstelements.c:
26787 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26788 (gst_fakesink_get_times), (gst_fakesink_event),
26789 (gst_fakesink_preroll), (gst_fakesink_render):
26790 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26791 (gst_fakesrc_init), (gst_fakesrc_event_handler),
26792 (gst_fakesrc_get_property), (gst_fakesrc_create),
26793 (gst_fakesrc_start), (gst_fakesrc_stop):
26794 * gst/elements/gstfakesrc.h:
26795 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26796 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26797 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26798 (gst_filesrc_create_read), (gst_filesrc_create),
26799 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26800 (gst_filesrc_start):
26801 * gst/elements/gsttypefindelement.c:
26802 (gst_type_find_element_have_type), (gst_type_find_element_init),
26803 (start_typefinding), (stop_typefinding), (push_buffer_store),
26804 (gst_type_find_element_handle_event),
26805 (gst_type_find_element_chain),
26806 (gst_type_find_element_checkgetrange),
26807 (gst_type_find_element_getrange), (do_typefind),
26808 (gst_type_find_element_activate),
26809 (gst_type_find_element_change_state):
26810 * gst/elements/gsttypefindelement.h:
26811 * gst/gstpipeline.c: (pipeline_bus_handler):
26812 Added typefind helper.
26813 Small preroll fix in the base sink.
26814 Disable typefind code in basesrc.
26815 Crude port of typefindelement.
26819 2005-04-11 Wim Taymans <wim@fluendo.com>
26821 * check/gst/gstbus.c: (gstbus_suite):
26822 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26823 * check/gstcheck.h:
26824 Fix up the timeout so that the test does not fail.
26826 2005-04-06 Wim Taymans <wim@fluendo.com>
26829 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26830 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26831 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26832 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26833 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26834 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26835 (gst_basesrc_stop), (gst_basesrc_activate),
26836 (gst_basesrc_change_state), (basesrc_find_peek),
26837 (basesrc_find_suggest), (gst_basesrc_type_find):
26838 * gst/base/gstbasesrc.h:
26839 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26840 (gst_filesrc_class_init), (gst_filesrc_init),
26841 (gst_filesrc_finalize), (gst_filesrc_set_location),
26842 (gst_filesrc_set_property), (gst_filesrc_get_property),
26843 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26844 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26845 (gst_filesrc_create_read), (gst_filesrc_create),
26846 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26847 * gst/elements/gstfilesrc.h:
26848 * gst/gstelement.c: (gst_element_get_state_func),
26849 (gst_element_lost_state), (gst_element_pads_activate):
26850 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26851 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26852 (gst_pad_pull_range):
26854 More work on the generic source base class, implement seeking,
26856 Make filesrc extend the base source class.
26857 Added gst_pad_set_checkgetrange_function to GstPad.
26859 2005-04-06 Andy Wingo <wingo@pobox.com>
26861 * pkgconfig/gstreamer-base.pc.in:
26862 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26864 * pkgconfig/Makefile.am:
26865 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26867 2005-04-04 Wim Taymans <wim@fluendo.com>
26869 * gst/base/Makefile.am:
26871 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26872 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26873 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26874 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26875 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26876 (gst_basesrc_base_init), (gst_basesrc_class_init),
26877 (gst_basesrc_init), (gst_basesrc_get_formats),
26878 (gst_basesrc_get_query_types), (gst_basesrc_query),
26879 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26880 (gst_basesrc_set_property), (gst_basesrc_get_property),
26881 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26882 (gst_basesrc_loop), (gst_basesrc_activate),
26883 (gst_basesrc_change_state):
26884 * gst/base/gstbasesrc.h:
26885 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26886 (gst_fakesrc_class_init), (gst_fakesrc_init),
26887 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26888 (gst_fakesrc_get_property), (gst_fakesrc_create):
26889 * gst/elements/gstfakesrc.h:
26890 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26891 (gst_filesrc_open_file), (gst_filesrc_loop),
26892 (gst_filesrc_activate), (filesrc_find_peek),
26893 (gst_filesrc_type_find):
26894 Made base source class, make fakesrc extend it.
26895 Add comments to basesink class.
26896 Some filesrc cleanup.
26898 2005-03-31 David Schleef <ds@schleef.org>
26900 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26901 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26902 expected to link against libgstreamer.
26903 * gst/base/Makefile.am: link against libgstreamer
26904 * gst/elements/Makefile.am: same
26906 2005-03-31 Andy Wingo <wingo@pobox.com>
26908 * tests/instantiate/Makefile.am:
26909 * tests/instantiate/caps.c: Add test to test speed of caps copy
26912 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26913 GMemChunk to be fair.
26915 * gst/gsttrashstack.h: Remove warning about using the fallback
26916 trash stack implementation, it's still faster than malloc.
26918 2005-03-30 Andy Wingo <wingo@pobox.com>
26920 * tests/complexity.c: Add a copyright.
26922 2005-03-31 Wim Taymans <wim@fluendo.com>
26924 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26925 (gst_base_transform_class_init), (gst_base_transform_init),
26926 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26927 (gst_base_transform_get_property),
26928 (gst_base_transform_sink_activate),
26929 (gst_base_transform_src_activate),
26930 (gst_base_transform_change_state):
26931 * gst/base/gstbasetransform.h:
26932 * gst/elements/gstidentity.c: (gst_identity_class_init),
26933 (gst_identity_event), (gst_identity_check_perfect),
26934 (gst_identity_transform), (gst_identity_start),
26935 (gst_identity_stop):
26936 Added start/stop methods to transform base class so subclasses
26937 don't need to deal with state changes even.
26939 2005-03-31 Wim Taymans <wim@fluendo.com>
26941 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26942 (gst_event_new_discontinuous), (gst_event_discont_get_value):
26944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26945 (gst_pad_pull_range):
26946 Added rate to the discont event to prepare for variable speed
26947 and reverse playback.
26949 2005-03-29 David Schleef <ds@schleef.org>
26952 * testsuite/trigger/Makefile.am:
26953 * testsuite/trigger/trigger.c: A little example program to show
26954 how trigger-based elements can work.
26956 2005-03-29 Wim Taymans <wim@fluendo.com>
26958 * gst/base/Makefile.am:
26960 * gst/base/gstbasesink.c: (gst_basesink_get_type),
26961 (gst_basesink_base_init), (gst_basesink_class_init),
26962 (gst_basesink_pad_getcaps), (gst_basesink_init),
26963 (gst_basesink_activate), (gst_basesink_change_state):
26964 * gst/base/gstbasesink.h:
26965 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26966 (gst_base_transform_base_init), (gst_base_transform_finalize),
26967 (gst_base_transform_class_init), (gst_base_transform_init),
26968 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26969 (gst_base_transform_event), (gst_base_transform_getrange),
26970 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26971 (gst_base_transform_set_property),
26972 (gst_base_transform_get_property),
26973 (gst_base_transform_sink_activate),
26974 (gst_base_transform_src_activate),
26975 (gst_base_transform_change_state):
26976 * gst/base/gstbasetransform.h:
26977 * gst/elements/gstidentity.c: (gst_identity_finalize),
26978 (gst_identity_class_init), (gst_identity_init),
26979 (gst_identity_event), (gst_identity_check_perfect),
26980 (gst_identity_transform), (gst_identity_set_property),
26981 (gst_identity_get_property), (gst_identity_change_state):
26982 * gst/elements/gstidentity.h:
26983 * gst/gstelement.c: (gst_element_get_state_func),
26984 (gst_element_lost_state), (gst_element_pads_activate):
26985 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26986 (gst_pad_check_pull_range), (gst_pad_pull_range):
26988 Simplify pad activation.
26989 Added function to check if pull_range can be performed.
26990 Error out when pulling inactive or flushing pads.
26991 Removed const from refcounted types as it does not make sense.
26992 Simplify pad templates in basesink
26993 Added base class for simple 1-to-1 transforms.
26994 Make identity subclass the base transform.
26996 2005-03-29 Andy Wingo <wingo@pobox.com>
26998 * docs/libs/gstreamer-libs-overrides.txt:
26999 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27000 really don't understand what's going on, but like whatever. I want
27003 * docs/gst/Makefile.am:
27004 * docs/libs/Makefile.am: Dist the overrides files.
27006 * check/Makefile.am (clean-local): Remove .libs directories.
27008 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27009 elements to EXTRA_DIST, so po/ files are happy.
27011 * po/POTFILES.in: Er, remove it here.
27013 * po/POTFILES: Remove gstspider.c.
27015 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27017 * docs/libs/gstreamer-libs-docs.sgml:
27018 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27021 * tests/complexity.c (main): Set the length of the preroll queue
27022 on the sinks to prevent a lockup.
27024 * libs/gst/dataprotocol/Makefile.am:
27025 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27026 the same as the one in check/gst-libs/gdp.c.
27028 * po/, docs/gst/: Commit automatic changes to docs and po files.
27030 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27031 the versioned libgstbase.
27033 * check/Makefile.am: Depend on an unversioned gst-register, seems
27034 to make autoconf happier.
27036 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27038 2005-03-28 Wim Taymans <wim@fluendo.com>
27041 * docs/design/part-gstelement.txt:
27042 * docs/design/part-negotiation.txt:
27043 * docs/design/part-preroll.txt:
27044 * docs/design/part-scheduling.txt:
27045 * docs/design/part-states.txt:
27047 * gst/base/Makefile.am:
27049 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27050 (gst_basesink_base_init), (gst_basesink_class_init),
27051 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27052 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27053 (gst_basesink_set_pad_functions),
27054 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27055 (gst_basesink_set_property), (gst_basesink_get_property),
27056 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27057 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27058 (gst_basesink_preroll_queue_push),
27059 (gst_basesink_preroll_queue_empty),
27060 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27061 (gst_basesink_event), (gst_basesink_get_times),
27062 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27063 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27064 (gst_basesink_loop), (gst_basesink_activate),
27065 (gst_basesink_change_state):
27066 * gst/base/gstbasesink.h:
27067 * gst/elements/Makefile.am:
27068 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27069 (gst_fakesink_class_init), (gst_fakesink_init),
27070 (gst_fakesink_set_property), (gst_fakesink_get_property),
27071 (gst_fakesink_get_times), (gst_fakesink_event),
27072 (gst_fakesink_preroll), (gst_fakesink_render),
27073 (gst_fakesink_change_state):
27074 * gst/elements/gstfakesink.h:
27075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27076 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27077 * gst/gstelement.c: (gst_element_add_pad),
27078 (gst_element_get_state_func), (gst_element_abort_state),
27079 (gst_element_commit_state), (gst_element_lost_state),
27080 (gst_element_set_state), (gst_element_pads_activate):
27081 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27082 * gst/gstpipeline.c: (gst_pipeline_send_event),
27083 (gst_pipeline_change_state):
27084 Added state change code.
27085 Added/updated docs.
27086 Added sink base class, make fakesink extend the base class.
27087 Small cleanups in GstPipeline.
27089 2005-03-26 David Schleef <ds@schleef.org>
27091 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27092 is broken and should be implemented in a different library.
27093 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27094 * gst/gst.h: remove gstcpu.h
27095 * gst/gstcpu.c: remove
27096 * gst/gstcpu.h: remove
27097 * gst/Makefile.am.future: Remove this file. It's ancient.
27099 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27101 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27102 (gst_bin_send_event):
27103 Add default event/set_manager handlers. The set_manager handler
27104 takes care that the manager is distributed over kids that were
27105 already in the bin before the manager was set. The event handler
27106 is a utility virtual function that sends the event over all sinks,
27107 so that gst_element_send_event (bin, event); has the expected
27109 * gst/gstpad.c: (gst_pad_event_default):
27110 Re-install default event handling for discontinuities, so that
27111 seeking works without requiring hacks in applications or extra
27113 * gst/gstpipeline.c: (gst_pipeline_class_init),
27114 (gst_pipeline_send_event):
27115 Half hack, half utility: set a pipeline to PAUSED for seek events,
27116 since that is the only way we can guarantee a/v sync. Means that
27117 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27118 and it "just works".
27120 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27122 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27123 Lock/unlock mismatch.
27125 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27127 * docs/faq/gst-uninstalled:
27128 add gst-plugins-base
27129 * docs/gst/Makefile.am:
27130 don't error out until docs are fixed
27131 * docs/gst/gstreamer.types:
27134 2005-03-22 Wim Taymans <wim@fluendo.com>
27136 * check/Makefile.am:
27137 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27138 * gst/gststructure.c: (gst_structure_set_valist),
27139 (gst_structure_copy_conditional):
27140 Activated more tests.
27141 Added message test.
27142 Added G_TYPE_POINTER to GstStructure.
27145 2005-03-22 Wim Taymans <wim@fluendo.com>
27147 * docs/design/part-TODO.txt:
27148 * docs/design/part-events.txt:
27149 * docs/design/part-gstbin.txt:
27150 * docs/design/part-gstbus.txt:
27151 * docs/design/part-gstpipeline.txt:
27152 * docs/design/part-messages.txt:
27154 * gst/gstmessage.c:
27157 2005-03-21 Wim Taymans <wim@fluendo.com>
27159 * gst/gstbus.c: (gst_bus_post):
27160 Fix copy-and-paste error.
27162 2005-03-21 Wim Taymans <wim@fluendo.com>
27164 * check/Makefile.am:
27166 * gst/elements/Makefile.am:
27167 * gst/elements/gstelements.c:
27168 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27169 (gst_fakesink_event), (gst_fakesink_chain):
27170 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27171 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27172 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27173 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27174 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27175 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27176 (gst_fakesrc_loop), (gst_fakesrc_activate),
27177 (gst_fakesrc_change_state):
27178 * gst/elements/gstfakesrc.h:
27179 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27180 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27181 (gst_filesrc_open_file), (gst_filesrc_loop),
27182 (gst_filesrc_activate), (gst_filesrc_change_state),
27183 (filesrc_find_peek), (filesrc_find_suggest),
27184 (gst_filesrc_type_find):
27185 * gst/elements/gstidentity.c: (gst_identity_finalize),
27186 (gst_identity_class_init), (gst_identity_init),
27187 (gst_identity_proxy_getcaps), (identity_queue_push),
27188 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27189 (gst_identity_getrange), (gst_identity_chain),
27190 (gst_identity_sink_loop), (gst_identity_src_loop),
27191 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27192 (gst_identity_set_property), (gst_identity_get_property),
27193 (gst_identity_change_state):
27194 * gst/elements/gstidentity.h:
27195 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27196 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27197 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27198 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27199 (gst_tee_sink_activate):
27200 * gst/elements/gsttee.h:
27201 * gst/gst.c: (gst_register_core_elements), (init_post):
27203 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27204 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27205 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27206 (gst_bin_change_state):
27208 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27209 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27210 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27211 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27212 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27213 (bus_watch_callback), (bus_watch_destroy),
27214 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27215 (poll_timeout), (gst_bus_poll):
27219 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27220 (gst_element_post_message), (gst_element_message_full),
27221 (gst_element_get_state_func), (gst_element_get_state),
27222 (gst_element_abort_state), (gst_element_commit_state),
27223 (gst_element_lost_state), (gst_element_set_state),
27224 (gst_element_pads_activate), (gst_element_change_state),
27225 (gst_element_dispose), (gst_element_set_manager_func),
27226 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27227 (gst_element_set_manager), (gst_element_get_manager),
27228 (gst_element_set_bus), (gst_element_get_bus),
27229 (gst_element_set_scheduler), (gst_element_get_scheduler):
27230 * gst/gstelement.h:
27231 * gst/gstevent.c: (gst_event_new_segment_seek),
27232 (gst_event_new_flush):
27234 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27235 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27236 (gst_message_new_eos), (gst_message_new_error),
27237 (gst_message_new_warning), (gst_message_new_tag),
27238 (gst_message_new_state_changed), (gst_message_new_application),
27239 (gst_message_get_structure), (gst_message_parse_tag),
27240 (gst_message_parse_state_changed), (gst_message_parse_error),
27241 (gst_message_parse_warning):
27242 * gst/gstmessage.h:
27243 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27244 (gst_real_pad_set_property), (gst_pad_set_active),
27245 (gst_pad_is_active), (gst_pad_set_blocked_async),
27246 (gst_pad_set_blocked), (gst_pad_is_blocked),
27247 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27248 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27249 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27250 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27251 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27252 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27253 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27254 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27255 (gst_pad_set_caps), (gst_pad_configure_sink),
27256 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27257 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27258 (gst_real_pad_dispose), (gst_real_pad_finalize),
27259 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27260 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27261 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27263 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27264 (pipeline_bus_handler), (gst_pipeline_change_state),
27265 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27266 * gst/gstpipeline.h:
27268 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27269 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27270 (gst_queue_link_src), (gst_queue_bufferalloc),
27271 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27272 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27273 (gst_queue_loop), (gst_queue_handle_src_event),
27274 (gst_queue_handle_src_query), (gst_queue_src_activate),
27275 (gst_queue_change_state):
27277 * gst/gstscheduler.c: (gst_scheduler_init),
27278 (gst_scheduler_dispose), (gst_scheduler_create_task),
27279 (gst_scheduler_factory_create):
27280 * gst/gstscheduler.h:
27281 * gst/gststructure.c: (gst_structure_get_type),
27282 (gst_structure_copy_conditional):
27283 * gst/gststructure.h:
27284 * gst/gsttaginterface.h:
27285 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27286 (gst_task_init), (gst_task_dispose), (gst_task_create),
27287 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27293 * gst/schedulers/Makefile.am:
27294 * gst/schedulers/cothreads_compat.h:
27295 * gst/schedulers/entryscheduler.c:
27296 * gst/schedulers/faircothreads.c:
27297 * gst/schedulers/faircothreads.h:
27298 * gst/schedulers/fairscheduler.c:
27299 * gst/schedulers/gstbasicscheduler.c:
27300 * gst/schedulers/gstoptimalscheduler.c:
27301 * gst/schedulers/gthread-cothreads.h:
27302 * gst/schedulers/threadscheduler.c:
27303 (gst_thread_scheduler_task_get_type),
27304 (gst_thread_scheduler_task_class_init),
27305 (gst_thread_scheduler_task_init),
27306 (gst_thread_scheduler_task_start),
27307 (gst_thread_scheduler_task_stop),
27308 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27309 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27310 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27311 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27313 * libs/gst/Makefile.am:
27314 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27315 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27316 (gst_file_pad_parent_set):
27317 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27318 (gst_dp_event_from_packet):
27319 * tests/complexity.c: (main):
27320 * tests/mass_elements.c: (main):
27321 * testsuite/states/locked.c: (message_received), (main):
27322 * testsuite/states/parent.c: (main):
27323 * tools/gst-inspect.c: (print_element_flag_info),
27324 (print_implementation_info), (print_pad_info):
27325 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27327 * tools/gst-md5sum.c: (event_loop), (main):
27328 * tools/gst-typefind.c: (main):
27329 * tools/gst-xmlinspect.c: (print_element_info):
27331 Added GstBus for mainloop integration.
27332 Added GstMessage for sending notifications on the bus.
27333 Added GstTask as an abstraction for pipeline entry points.
27335 Removed Schedulers.
27336 Simplified GstQueue for multithreaded core.
27337 Made _link threadsafe, removed old capsnego.
27338 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27339 Added pad blocking functions.
27340 Reworked scheduling functions in GstPad to prepare for
27341 scheduling updates soon.
27342 Moved events out of data stream.
27343 Simplified GstEvent types.
27344 Added return values to push/pull.
27345 Removed clocking from GstElement.
27346 Added prototypes for state change function for next merge.
27347 Removed iterate from bins and state change management.
27348 Fixed some elements, disabled others for now.
27349 Fixed -inspect and -launch.
27350 Added check for GstBus.
27352 2005-03-10 Wim Taymans <wim@fluendo.com>
27354 * docs/design/part-MT-refcounting.txt:
27355 * docs/design/part-clocks.txt:
27356 * docs/design/part-gstelement.txt:
27357 * docs/design/part-gstobject.txt:
27358 * docs/design/part-standards.txt:
27359 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27360 (gst_bin_remove_func), (gst_bin_remove):
27364 * testsuite/clock/clock1.c: (main):
27365 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27367 * testsuite/dlopen/loadgst.c: (do_test):
27368 * testsuite/refcounting/bin.c: (add_remove_test1),
27369 (add_remove_test2), (main):
27370 * testsuite/refcounting/element.c: (main):
27371 * testsuite/refcounting/element_pad.c: (main):
27372 * testsuite/refcounting/pad.c: (main):
27373 * tools/gst-launch.c: (sigint_handler_sighandler):
27374 * tools/gst-typefind.c: (main):
27376 Added doc about clock.
27377 removed gst_bin_iterate_recurse_up(), marked methods
27379 Fix more testsuites.
27381 2005-03-09 Wim Taymans <wim@fluendo.com>
27383 * gst/gstpad.c: (gst_pad_get_direction),
27384 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27385 (gst_pad_collect_valist):
27386 * testsuite/bins/interface.c: (main):
27387 * testsuite/caps/audioscale.c: (test_caps):
27388 * testsuite/caps/caps.c: (test1), (test2), (test3):
27389 * testsuite/caps/deserialize.c: (main):
27390 * testsuite/caps/enumcaps.c: (main):
27391 * testsuite/caps/filtercaps.c: (main):
27392 * testsuite/caps/intersect2.c: (main):
27393 * testsuite/caps/random.c: (main):
27394 * testsuite/caps/renegotiate.c: (my_fixate), (main):
27395 * testsuite/caps/sets.c: (check_caps):
27396 * testsuite/caps/simplify.c: (check_caps), (main):
27397 * testsuite/caps/subtract.c: (check_caps):
27398 Fix _pad_get_direction wrt ghostpads.
27399 Fix caps testsuite.
27401 2005-03-09 Wim Taymans <wim@fluendo.com>
27403 * check/Makefile.am:
27404 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27405 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27406 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27408 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27409 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27410 (gst_bin_remove), (gst_bin_iterate_recurse_up),
27411 (bin_element_is_sink), (gst_bin_iterate_sinks),
27412 (gst_bin_iterate_all_by_interface):
27414 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27415 (gst_element_change_state), (gst_element_dispose),
27416 (gst_element_finalize), (gst_element_set_loop_function):
27417 * gst/gstelement.h:
27418 * gst/gstiterator.c: (find_custom_fold_func):
27419 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27420 (gst_pad_collectv), (gst_pad_collect_valist),
27421 (gst_pad_template_new):
27422 * gst/gstpipeline.c: (gst_pipeline_class_init),
27423 (gst_pipeline_dispose), (gst_pipeline_set_property),
27424 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27425 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27426 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27428 * gst/schedulers/entryscheduler.c:
27429 * gst/schedulers/gstbasicscheduler.c:
27430 (gst_basic_scheduler_cothreaded_chain),
27431 (gst_basic_scheduler_chain_add_element):
27432 * testsuite/bins/interface.c: (main):
27434 Added GstSystemClock test.
27435 Implemented clock distribution code in GstBin.
27436 Implemented iterate sinks method for future use.
27437 Rearranged gstelement.h
27438 Fix GstIterator comparison bug.
27439 Moved some code to GstPipeline, mostly clocking related.
27441 2005-03-09 Wim Taymans <wim@fluendo.com>
27444 * gst/gst_private.h:
27445 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27446 (gst_bin_remove_func), (gst_bin_remove),
27447 (gst_bin_get_by_name_recurse_up):
27448 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27449 (gst_clock_id_compare_func), (gst_clock_id_wait),
27450 (gst_clock_id_wait_async), (gst_clock_init),
27451 (gst_clock_adjust_unlocked), (gst_clock_get_time):
27452 * gst/gstelement.h:
27453 * gst/gstinfo.c: (_gst_debug_init):
27455 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27456 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27458 Bump version number, we're now 0.9.0
27459 Add future debugging category.
27460 Fix NULL _unref() in _get_by_name_recurse_up
27461 Rearrange gstpad.h.
27464 2005-03-08 Wim Taymans <wim@fluendo.com>
27466 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27467 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27468 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27469 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27470 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27471 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27472 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27473 * gst/elements/gstidentity.c: (gst_identity_class_init):
27474 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27475 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27476 * gst/elements/gstshaper.c: (gst_shaper_class_init):
27477 * gst/elements/gststatistics.c: (gst_statistics_class_init):
27478 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27480 * gst/gstelement.c: (gst_element_class_init),
27481 (gst_element_base_class_init), (gst_element_init),
27482 (gst_element_get_random_pad), (gst_element_wait_state_change),
27483 (gst_element_change_state), (gst_element_dispose),
27484 (gst_element_finalize), (gst_element_set_loop_function):
27485 * gst/gstelement.h:
27486 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27487 * gst/gstthread.c: (gst_thread_class_init),
27488 (gst_thread_release_children_locks), (gst_thread_change_state):
27489 * gst/schedulers/gstbasicscheduler.c:
27490 (gst_basic_scheduler_loopfunc_wrapper),
27491 (gst_basic_scheduler_chain_wrapper),
27492 (gst_basic_scheduler_src_wrapper),
27493 (gst_basic_scheduler_remove_element):
27494 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27495 Remove threadsafe properties. Fix elements because GObject
27496 complains when installing a property before declaring a
27497 set/get_property handler.
27498 Rearrange gstelement.h file, use STATE macros for state locks.
27499 Free mutexes in the finalize method instead of dispose.
27501 2005-03-08 Wim Taymans <wim@fluendo.com>
27503 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27504 * gst/gstthread.c: (gst_thread_release_children_locks):
27505 Added parentage check.
27506 Fix build og GstThread again.
27508 2005-03-08 Wim Taymans <wim@fluendo.com>
27510 * docs/design/part-MT-refcounting.txt:
27511 * docs/design/part-conventions.txt:
27512 * docs/design/part-gstobject.txt:
27513 * docs/design/part-relations.txt:
27514 * docs/design/part-standards.txt:
27515 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27516 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27517 (gst_bin_get_by_name), (gst_bin_get_by_interface),
27518 (gst_bin_iterate_all_by_interface):
27521 * gst/gstelement.c: (gst_element_class_init),
27522 (gst_element_change_state), (gst_element_set_loop_function):
27523 * gst/gstelement.h:
27524 * gst/gstiterator.c:
27525 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27526 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27527 (gst_object_dispatch_properties_changed), (gst_object_set_name),
27528 (gst_object_set_parent), (gst_object_unparent),
27529 (gst_object_check_uniqueness):
27531 Docs updates, clean up some headers.
27533 2005-03-07 Wim Taymans <wim@fluendo.com>
27535 * check/.cvsignore:
27536 * check/Makefile.am:
27537 * check/gst-libs/.cvsignore:
27538 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27539 * check/gst/.cvsignore:
27540 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27541 (START_TEST), (gstbus_suite), (main):
27542 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27543 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27544 (gst_data_suite), (main):
27545 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27546 (add_fold_func), (gstiterator_suite), (main):
27547 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27548 (thread_name_object), (thread_name_object_default),
27549 (gst_object_name_compare), (gst_object_suite), (main):
27550 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27551 (gst_pad_suite), (main):
27552 * check/gstcheck.c: (gst_check_log_message_func),
27553 (gst_check_log_critical_func), (gst_check_init):
27554 * check/gstcheck.h:
27555 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27556 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27559 2005-03-07 Wim Taymans <wim@fluendo.com>
27561 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27562 (gst_list_iterator_next), (gst_list_iterator_resync),
27563 (gst_list_iterator_free), (gst_iterator_new_list),
27564 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27565 (gst_iterator_free), (gst_iterator_push), (filter_next),
27566 (filter_resync), (filter_uninit), (filter_free),
27567 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27568 (gst_iterator_foreach), (find_custom_fold_func),
27569 (gst_iterator_find_custom):
27570 * gst/gstiterator.h:
27571 Added missing files.
27573 2005-03-07 Wim Taymans <wim@fluendo.com>
27577 * docs/design/part-MT-refcounting.txt:
27578 * docs/design/part-conventions.txt:
27579 * docs/design/part-gstobject.txt:
27580 * docs/design/part-relations.txt:
27581 * examples/mixer/mixer.c: (main):
27582 * examples/thread/thread.c: (eos), (main):
27584 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27585 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27586 (gst_spider_plug_from_srcpad):
27587 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27588 (gst_spider_identity_change_state),
27589 (gst_spider_identity_sink_loop_type_finding):
27590 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27591 * gst/elements/gstidentity.c: (gst_identity_init):
27592 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27593 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27594 * gst/elements/gsttypefindelement.c: (free_entry):
27597 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27598 (gst_bin_set_clock_func), (gst_bin_auto_clock),
27599 (gst_bin_set_index), (gst_bin_set_element_sched),
27600 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27601 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27602 (gst_bin_iterate_elements), (iterate_child_recurse),
27603 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27604 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27605 (compare_interface), (gst_bin_get_by_interface),
27606 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27608 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27609 (gst_buffer_default_free), (gst_buffer_default_copy),
27610 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27611 (gst_buffer_create_sub):
27613 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27614 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27615 (gst_caps_unref), (gst_static_caps_get),
27616 (gst_caps_remove_and_get_structure), (gst_caps_append),
27617 (gst_caps_append_structure), (gst_caps_remove_structure),
27618 (gst_caps_copy_nth), (gst_caps_set_simple),
27619 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27620 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27621 (gst_caps_structure_intersect_field), (gst_caps_intersect),
27622 (gst_caps_structure_subtract_field), (gst_caps_subtract),
27623 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27624 (gst_caps_structure_figure_out_union),
27625 (gst_caps_switch_structures), (gst_caps_do_simplify),
27626 (gst_caps_replace), (gst_caps_from_string),
27627 (gst_caps_copy_conditional):
27629 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27630 (_gst_clock_id_free), (gst_clock_id_unref),
27631 (gst_clock_id_compare_func), (gst_clock_id_wait),
27632 (gst_clock_id_wait_async), (gst_clock_class_init),
27633 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27634 (gst_clock_get_time), (gst_clock_set_time_adjust),
27635 (gst_clock_set_property), (gst_clock_get_property):
27638 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27639 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27641 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27642 (gst_element_requires_clock), (gst_element_provides_clock),
27643 (gst_element_set_clock), (gst_element_clock_wait),
27644 (gst_element_wait), (gst_element_set_time_delay),
27645 (gst_element_is_indexable), (gst_element_add_pad),
27646 (gst_element_add_ghost_pad), (gst_element_remove_pad),
27647 (pad_compare_name), (gst_element_get_static_pad),
27648 (gst_element_request_pad), (gst_element_get_request_pad),
27649 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27650 (gst_element_class_get_pad_template_list),
27651 (gst_element_class_get_pad_template), (gst_element_error_func),
27652 (gst_element_get_random_pad), (gst_element_get_event_masks),
27653 (gst_element_send_event), (gst_element_seek),
27654 (gst_element_get_query_types), (gst_element_query),
27655 (gst_element_get_formats), (gst_element_convert),
27656 (gst_element_is_locked_state), (gst_element_set_locked_state),
27657 (gst_element_sync_state_with_parent), (gst_element_change_state),
27658 (gst_element_finalize), (gst_element_yield),
27659 (gst_element_interrupt), (gst_element_set_scheduler),
27660 (gst_element_get_scheduler), (gst_element_set_loop_function):
27661 * gst/gstelement.h:
27663 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27664 (gst_format_get_by_nick), (gst_format_get_details),
27665 (gst_format_iterate_definitions):
27667 * gst/gstindex.c: (gst_index_gtype_resolver):
27670 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27671 (gst_mem_chunk_free):
27672 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27673 (gst_object_ref), (gst_object_unref), (gst_object_sink),
27674 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27675 (gst_object_dispatch_properties_changed),
27676 (gst_object_set_name_default), (gst_object_set_name),
27677 (gst_object_get_name), (gst_object_set_name_prefix),
27678 (gst_object_get_name_prefix), (gst_object_set_parent),
27679 (gst_object_get_parent), (gst_object_unparent),
27680 (gst_object_check_uniqueness), (gst_object_save_thyself),
27681 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27682 (gst_object_set_property), (gst_object_get_property),
27683 (gst_object_get_path_string):
27685 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27686 (gst_real_pad_init), (gst_real_pad_get_property),
27687 (gst_pad_custom_new), (gst_pad_get_direction),
27688 (gst_pad_set_active), (gst_pad_is_active),
27689 (gst_pad_set_event_function), (gst_pad_is_linked),
27690 (gst_pad_link_free), (gst_pad_link_intersect),
27691 (gst_pad_link_fixate), (gst_pad_set_caps),
27692 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27693 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27694 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27695 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27696 (gst_pad_get_caps), (gst_pad_peer_get_caps),
27697 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27698 (gst_pad_realize), (gst_pad_get_allowed_caps),
27699 (gst_real_pad_dispose), (gst_real_pad_finalize),
27700 (gst_pad_collectv), (gst_pad_collect_valist),
27701 (gst_pad_template_dispose), (gst_pad_template_new),
27702 (gst_pad_get_internal_links):
27704 * gst/gstpipeline.c: (gst_pipeline_dispose),
27705 (gst_pipeline_change_state):
27706 * gst/gstpipeline.h:
27708 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27709 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27710 * gst/gstpluginfeature.h:
27711 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27712 * gst/gstquery.c: (_gst_query_type_initialize),
27713 (gst_query_type_register), (gst_query_type_get_by_nick),
27714 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27716 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27717 * gst/gstscheduler.c: (gst_scheduler_add_element),
27718 (gst_scheduler_factory_create):
27719 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27720 (gst_structure_free), (gst_structure_set_name),
27721 (gst_structure_id_set_value), (gst_structure_set_value),
27722 (gst_structure_set_valist), (gst_structure_remove_field),
27723 (gst_structure_remove_fields),
27724 (gst_structure_remove_fields_valist),
27725 (gst_structure_remove_all_fields), (gst_structure_foreach),
27726 (gst_structure_map_in_place),
27727 (gst_caps_structure_fixate_field_nearest_int),
27728 (gst_caps_structure_fixate_field_nearest_double):
27729 * gst/gststructure.h:
27730 * gst/gstsystemclock.c: (gst_system_clock_class_init),
27731 (gst_system_clock_init), (gst_system_clock_dispose),
27732 (gst_system_clock_async_thread),
27733 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27734 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27735 * gst/gstsystemclock.h:
27736 * gst/gsttag.c: (gst_tag_list_add_value_internal),
27737 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27738 * gst/gsttaginterface.c:
27739 * gst/gstthread.c: (gst_thread_dispose),
27740 (gst_thread_release_children_locks), (gst_thread_change_state),
27741 (gst_thread_main_loop):
27742 * gst/gsttrashstack.h:
27743 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27745 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27746 (gst_element_request_pad), (gst_element_get_pad_from_template),
27747 (gst_element_request_compatible_pad),
27748 (gst_element_get_compatible_pad_filtered),
27749 (gst_element_get_compatible_pad), (gst_element_state_get_name),
27750 (gst_element_link_pads_filtered), (gst_element_link_filtered),
27751 (gst_element_link_many), (gst_element_link),
27752 (gst_element_link_pads), (gst_element_unlink_pads),
27753 (gst_element_unlink_many), (gst_element_unlink),
27754 (gst_pad_can_link_filtered), (gst_pad_can_link),
27755 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27756 (gst_object_default_error), (gst_bin_add_many),
27757 (gst_bin_remove_many), (gst_element_populate_std_props),
27758 (gst_element_class_install_std_props), (gst_buffer_merge),
27759 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27760 (link_fold_func), (gst_pad_proxy_setcaps):
27762 * gst/gstvalue.c: (gst_value_deserialize_string):
27763 * gst/parse/grammar.y:
27764 * gst/schedulers/gstbasicscheduler.c:
27765 (gst_basic_scheduler_cothreaded_chain),
27766 (gst_basic_scheduler_chain_recursive_add),
27767 (gst_basic_scheduler_pad_link):
27768 * gst/schedulers/gstoptimalscheduler.c:
27769 (get_group_schedule_function),
27770 (gst_opt_scheduler_state_transition),
27771 (gst_opt_scheduler_add_element), (element_get_reachables_func):
27772 * libs/gst/bytestream/bytestream.c:
27773 * libs/gst/dataprotocol/dataprotocol.c:
27774 (gst_dp_header_from_buffer):
27777 * tests/threadstate/threadstate2.c: (eos):
27778 * tools/gst-compprep.c: (main):
27779 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27780 (print_pad_info), (print_children_info):
27781 * tools/gst-launch.c: (idle_func), (main):
27782 * tools/gst-md5sum.c: (idle_func), (main):
27783 * tools/gst-xmlinspect.c: (print_element_info):
27784 First THREADED backport attempt, focusing on adding locks and
27785 making sure the API is threadsafe. Needs more work. More docs
27788 2005-02-24 Andy Wingo <wingo@pobox.com>
27790 * tests/bench-complexity.scm:
27791 * tests/complexity.gnuplot: New files, good for running complexity
27794 * tests/Makefile.am:
27795 * tests/complexity.c: New test, sets up N elements, at each level
27796 teeing into M streams per element. Eeeenteresting.
27798 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27799 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27800 running bench-mass_elements.scm.
27802 * tests/bench-mass_elements.scm: New script, runs mass_elements
27803 for various numbers of identities, outputting the results to a
27804 file. Requires guile 1.6. Just for testing.
27806 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
27808 * gst/schedulers/fairscheduler.c:
27809 compile with debug disabled
27811 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
27814 hunting season on 0.9 is now OPEN