1 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
6 Fix broken use of config.h-defined preprocessor directive in a public
7 header file. Add a corresponding define to gstconfig.h, since we can't
8 really remove those function declarations from the header file now
9 (or can we? and why are they there in the first place?).
11 2008-03-03 Andy Wingo <wingo@pobox.com>
13 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
16 * gst/gststructure.c (gst_structure_from_string): Warn if
17 structure_from_string didn't consume the whole string, but the
18 caller did not provide an end pointer.
20 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
22 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
24 * gst/gstregistryxml.c: (read_string), (load_feature):
25 Strings allocated by libxml2 should be freed with xmlFree(), not
26 with g_free(). Fixes issues on windows in certain contexts (#519698).
28 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
30 * gst/gstinterface.c: (gst_element_implements_interface):
31 Don't crash if the element supports the interface queried, but does
32 not implement GstImplementsInterface. Fixes #519584.
34 * tests/check/Makefile.am:
35 * tests/check/gst/.cvsignore:
36 * tests/check/gst/gstinterface.c:
37 Add unit test for the above.
39 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
41 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
44 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
46 * gst/gstsegment.c: (gst_segment_set_seek),
47 (gst_segment_to_stream_time):
49 Update variables where it makes more sense.
51 2008-02-29 Rene Stadler <mail@renestadler.de>
53 * gst/gsturi.c: (gst_uri_handler_get_protocols):
54 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
55 URIHandlers implemented using language bindings.
57 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
59 * gst/gstelementfactory.h:
60 * tests/check/elements/fakesink.c:
61 * tests/check/elements/fakesrc.c: (setup_fakesrc):
62 * tests/check/elements/fdsrc.c: (setup_fdsrc):
63 * tests/check/elements/filesink.c: (setup_filesink):
64 * tests/check/elements/filesrc.c: (setup_filesrc):
65 * tests/check/elements/identity.c: (setup_identity):
66 * tests/check/elements/tee.c:
67 * tests/check/generic/sinks.c:
68 * tests/check/generic/states.c: (setup), (teardown):
69 * tests/check/gst/gst.c:
70 * tests/check/gst/gstabi.c:
71 * tests/check/gst/gstbin.c:
72 * tests/check/gst/gstbus.c: (pull_messages):
73 * tests/check/gst/gstcaps.c:
74 * tests/check/gst/gstelement.c:
75 * tests/check/gst/gstevent.c:
76 * tests/check/gst/gstghostpad.c:
77 * tests/check/gst/gstiterator.c:
78 * tests/check/gst/gstmessage.c:
79 * tests/check/gst/gstminiobject.c: (my_foo_init):
80 * tests/check/gst/gstobject.c: (thread_name_object),
82 * tests/check/gst/gstpad.c:
83 * tests/check/gst/gstplugin.c:
84 * tests/check/gst/gstpoll.c:
85 * tests/check/gst/gstquery.c:
86 * tests/check/gst/gstsegment.c:
87 * tests/check/gst/gststructure.c:
88 * tests/check/gst/gstsystemclock.c:
89 * tests/check/gst/gsttask.c:
90 * tests/check/gst/gstutils.c:
91 * tests/check/gst/gstvalue.c:
92 * tests/check/gst/struct_hppa.h:
93 * tests/check/gst/struct_i386.h:
94 * tests/check/gst/struct_ppc32.h:
95 * tests/check/gst/struct_ppc64.h:
96 * tests/check/gst/struct_x86_64.h:
97 * tests/check/libs/adapter.c: (create_and_fill_adapter):
98 * tests/check/libs/basesrc.c:
99 * tests/check/libs/controller.c: (GST_START_TEST):
100 * tests/check/libs/gdp.c:
101 * tests/check/libs/gstnetclientclock.c:
102 * tests/check/libs/gstnettimeprovider.c:
103 * tests/check/libs/libsabi.c:
104 * tests/check/libs/struct_hppa.h:
105 * tests/check/libs/struct_i386.h:
106 * tests/check/libs/struct_ppc32.h:
107 * tests/check/libs/struct_ppc64.h:
108 * tests/check/libs/struct_x86_64.h:
109 * tests/check/pipelines/cleanup.c:
110 * tests/check/pipelines/simple-launch-lines.c:
111 * tests/check/pipelines/stress.c:
112 And correct even more valid sparse warnings.
114 * win32/common/libgstreamer.def:
115 Add gst_poll_fd_init to the list of symbols.
117 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
119 * gst/gstconfig.h.in:
120 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
121 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
122 (gst_check_log_critical_func), (gst_check_drop_buffers),
123 (gst_check_element_push_buffer_list):
124 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
125 (gst_controller_get_type):
126 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
127 (gst_object_get_controller), (gst_object_get_control_source):
128 * libs/gst/controller/gstinterpolationcontrolsource.c:
129 (gst_interpolation_control_source_new):
130 * libs/gst/controller/gstlfocontrolsource.c:
131 (gst_lfo_control_source_new):
132 * libs/gst/dataprotocol/dataprotocol.c:
133 (gst_dp_event_from_packet_0_2):
134 * plugins/elements/gstfdsrc.c:
135 * plugins/elements/gstmultiqueue.c:
136 * plugins/elements/gsttee.c:
137 * plugins/elements/gsttypefindelement.c:
138 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
139 (gst_file_index_add_association):
140 * plugins/indexers/gstmemindex.c:
141 * tests/benchmarks/gstpollstress.c: (mess_some_more):
142 * tests/check/elements/queue.c: (setup_queue):
143 * tests/check/gst/gstpipeline.c:
144 * tests/check/libs/collectpads.c: (setup), (teardown),
145 (gst_collect_pads_suite):
146 * tests/examples/adapter/adapter_test.c:
147 * tests/examples/metadata/read-metadata.c: (make_pipeline):
148 * tests/examples/xml/createxml.c:
149 * tests/examples/xml/runxml.c:
150 * tools/gst-inspect.c:
152 Correct all relevant warnings found by the sparse semantic code
153 analyzer. This include marking several symbols static, using
154 NULL instead of 0 for pointers, not using variable sized arrays
155 on the stack, moving variable declarations to the beginning of
156 a block and using "foo (void)" instead of "foo ()" for declarations.
158 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
160 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
161 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
162 Don't reset GstPollFDs, this is not necessary at all.
164 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
165 (delayed_restart), (delayed_control):
166 Use GST_POLL_FD_INIT.
168 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
170 * gst/gstpoll.c: (gst_poll_fd_init):
174 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
175 Use some more init macros.
177 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
179 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
180 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
181 Use init macros and functions.
183 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
185 * docs/gst/gstreamer-sections.txt:
186 * gst/gstpoll.c: (gst_poll_fd_init):
188 Add INIT macro and _init method for initializing the GstPollFD.
190 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
192 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
193 (gst_fd_sink_update_fd):
194 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
195 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
196 (delayed_restart), (delayed_control):
197 Initialize some uninitialized variables as spotted by valgrind.
199 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
201 * tests/benchmarks/Makefile.am:
202 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
204 Add poll stress test.
206 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
208 Patch by: Peter Kjellerstedt <pkj at axis dot com>
210 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
211 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
212 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
213 * plugins/elements/gstfdsink.h:
214 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
215 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
216 (gst_fd_src_unlock_stop), (gst_fd_src_create),
217 (gst_fd_src_uri_set_uri):
218 * plugins/elements/gstfdsrc.h:
219 Port to GstPoll. See #505417.
221 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
223 * win32/common/libgstreamer.def:
224 Add new gst_poll_ symbols to win32 defs.
226 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
228 * docs/libs/gstreamer-libs-sections.txt:
229 * libs/gst/net/gstnetclientclock.c:
230 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
231 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
232 (gst_net_client_clock_thread), (gst_net_client_clock_start),
233 (gst_net_client_clock_stop), (gst_net_client_clock_new):
234 * libs/gst/net/gstnetclientclock.h:
235 * libs/gst/net/gstnettimeprovider.c:
236 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
237 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
238 (gst_net_time_provider_start), (gst_net_time_provider_stop),
239 (gst_net_time_provider_new):
240 * libs/gst/net/gstnettimeprovider.h:
241 Use a private stuct to not break ABI.
243 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
245 Patch by: Peter Kjellerstedt <pkj at axis dot com>
247 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
248 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
249 (gst_net_client_clock_thread), (gst_net_client_clock_start),
250 (gst_net_client_clock_stop), (gst_net_client_clock_new):
251 * libs/gst/net/gstnetclientclock.h:
252 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
253 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
254 (gst_net_time_provider_start), (gst_net_time_provider_stop),
255 (gst_net_time_provider_new):
256 * libs/gst/net/gstnettimeprovider.h:
257 Massive code removal and cleanups because of GstPoll.
260 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
263 Add checks for poll, ppoll and pselect.
265 * docs/gst/gstreamer-docs.sgml:
266 * docs/gst/gstreamer-sections.txt:
267 Add docs for GstPoll.
271 * gst/gstpoll.c: (find_index), (selectable_fds),
272 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
273 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
274 (gst_poll_set_mode), (gst_poll_get_mode),
275 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
276 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
277 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
278 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
279 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
280 (gst_poll_fd_can_write), (gst_poll_wait),
281 (gst_poll_set_controllable), (gst_poll_restart),
282 (gst_poll_set_flushing):
284 Add generic poll abstraction. We ideally don't want to have this in core
285 here but in glib intead...
286 This code will be used in various network elements and ultimately for
287 the nanosecond precision monotonic clock (that's why it's here in core).
288 It'll allow us to implement cancelable socket operations for windows too.
290 * tests/check/Makefile.am:
291 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
292 (delayed_stop), (delayed_restart), (delayed_flush),
293 (delayed_control), (gst_poll_suite):
294 Add GstPoll unit test.
296 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
299 Improve documentation of gst_filter_run(). Fixes #518627.
301 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
304 Add a few lines about the new 'check-inspected-versions' target.
306 2008-02-21 Stefan Kost <ensonic@users.sf.net>
308 * tests/check/gst/gstevent.c:
309 Add qos to the event test. Rename tcase/tsuite; is not only about
312 2008-02-21 Stefan Kost <ensonic@users.sf.net>
314 * plugins/elements/gstqueue.c:
315 Ensure that buffer metadata is writeable, before modifying. Spotted by
318 2008-02-20 Stefan Kost <ensonic@users.sf.net>
320 * plugins/elements/gstqueue.c:
321 * plugins/elements/gstqueue.h:
322 When dropping buffers in leaky modes, mark next buffers we sent as
325 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
327 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
328 Also, if mmap() fails that would be a READ error, not OPEN_READ.
330 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
332 * plugins/elements/Makefile.am:
333 * plugins/elements/gstbufferstore.c:
334 * plugins/elements/gstbufferstore.h:
335 * plugins/elements/gsttypefindelement.h:
336 Remove GstBufferStore, no idea why we were still building it.
337 It's not used anywhere and superseded by GstAdapter.
339 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
340 (gst_file_src_create_mmap):
341 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
342 Printf format fixes for 64-bit integers.
344 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
347 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
348 We're not in 0.8 times anymore.
350 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
352 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
353 (gst_check_element_push_buffer_list):
354 * libs/gst/check/gstcheck.h:
355 Make the declaration in the header for
356 gst_check_element_push_buffer_list match the implementation.
358 Fix up spelling, grammar and wording of the documentation in a few
359 places, and add the Since keyword to new API functions.
360 Use g_list_delete_link instead of g_list_remove in
361 gst_check_drop_buffers, since it's immeasurably more efficient.
363 * tests/check/elements/fakesrc.c: (GST_START_TEST):
364 Use new gst_check_drop_buffers function where appropriate.
366 * win32/common/libgstbase.def:
367 * win32/common/libgstreamer.def:
368 Add new symbols gst_collect_pads_take_buffer,
369 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
372 Changelog surgery to add API keyword to new gst_check API.
374 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
376 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
377 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
378 Update pre-generated flex files with flex 2.3.34.
380 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
382 * gst/gstminiobject.c:
383 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
384 friendly to subclasses and not require them to know all internals
385 of their parent class.
387 2008-02-15 Stefan Kost <ensonic@users.sf.net>
389 * docs/libs/gstreamer-libs-sections.txt:
390 * libs/gst/base/gstcollectpads.c:
391 * libs/gst/base/gstcollectpads.h:
392 Add sub-buffer functions to collectpads. Fixes #516187.
393 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
395 2008-02-15 Stefan Kost <ensonic@users.sf.net>
398 Copy selected buffer-flags when creating subbuffers.
401 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
403 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
404 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
405 * gst/gstmessage.c: (gst_message_class_init),
406 (gst_message_finalize):
407 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
408 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
409 (gst_mmap_buffer_finalize):
410 Properly chain up finalize functions to the parent class.
412 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
414 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
416 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
417 (gst_index_set_resolver_full):
419 Add new function with option to dispose of user_data in resolver.
420 Actually call the dispose function when finalizing the object and not
421 just when changing the resolver/filter.
422 API: GstIndex::gst_index_set_resolver_full()
424 * docs/gst/gstreamer-sections.txt:
425 Add new function to docs. Fixes #515469.
427 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
429 * gst/gstindex.c: (gst_index_finalize):
430 Chain up finalize to the parent class. Fixes leaking the GstObject
431 name and other things.
433 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
436 Make DISABLE_DEPRECATED defined *only* during CVS, not during
437 pre-releases or releases.
439 * docs/faq/gst-uninstalled:
442 * docs/random/release:
443 Change one of the steps - we only upload core & base to Gnome FTP
445 2008-02-06 Stefan Kost <ensonic@users.sf.net>
447 * gst/gstconfig.h.in:
448 Add 'id' for example.
452 * plugins/elements/gstfdsink.c:
453 Link to signals. Doc and comment fixes.
455 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
457 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
458 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
459 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
460 unused and unimplemented; finally, it is plugin features, not
461 plugins, that have ranks.
463 2008-02-05 Stefan Kost <ensonic@users.sf.net>
465 * gst/gstpluginfeature.h:
466 Clarify GstRank range docs.
468 2008-02-05 David Schleef <ds@schleef.org>
470 * gst/gst.c: Add a separate gst_deinitialized that prevents
471 gst_init() from being called after gst_deinit(). Fixes #509559
473 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
475 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
476 (gst_bin_class_init):
477 * gst/gstelement.c: (gst_element_base_class_init),
478 (gst_element_class_add_pad_template):
479 * gst/gstpadtemplate.c: (gst_pad_template_init):
480 * gst/gstpipeline.c: (gst_pipeline_get_type),
481 (gst_pipeline_base_init), (gst_pipeline_class_init):
482 * libs/gst/base/gstbasesink.c:
483 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
484 (gst_base_src_base_init), (gst_base_src_class_init):
485 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
486 (gst_capsfilter_class_init):
487 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
488 (gst_fake_sink_class_init):
489 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
490 (gst_fake_src_class_init):
491 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
492 (gst_fd_sink_class_init):
493 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
494 (gst_fd_src_class_init):
495 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
496 (gst_file_sink_class_init):
497 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
498 (gst_file_src_class_init):
499 * plugins/elements/gstidentity.c: (gst_identity_base_init),
500 (gst_identity_class_init):
501 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
502 (gst_multi_queue_class_init):
503 * plugins/elements/gstqueue.c: (gst_queue_base_init),
504 (gst_queue_class_init):
505 * plugins/elements/gsttee.c: (gst_tee_base_init),
506 (gst_tee_class_init):
507 * plugins/elements/gsttypefindelement.c:
508 (gst_type_find_element_base_init),
509 (gst_type_find_element_class_init):
510 * tests/check/gst/gstelement.c: (gst_element_suite):
511 Revert previous changes to the behaviour of GstPadTemplates, etc
512 and the possiblity to call them in class_init as it breaks too
513 many elements. Reopens bug #491501.
515 Should be applied again for 0.11, thus added a few FIXME 0.11 at
518 2008-02-05 Stefan Kost <ensonic@users.sf.net>
520 * tools/gst-launch.c:
521 Dump one graph per pipeline state-change and state change name
522 (if GST_DEBUG_DUMP_DOT_DIR is set).
524 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
527 * tests/check/gst/gstpad.c:
528 Be sure that we have a new copy of the caps and not
529 reffed caps from a template
531 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
533 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
534 * gst/gstpipeline.c: (gst_pipeline_get_type),
535 (gst_pipeline_class_init):
536 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
537 (gst_base_sink_class_init):
538 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
539 (gst_base_src_class_init):
540 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
541 (gst_base_transform_class_init):
542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
543 (gst_collect_pads_class_init):
544 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
545 * libs/gst/net/gstnettimeprovider.c:
546 (gst_net_time_provider_base_init),
547 (gst_net_time_provider_class_init):
548 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
549 (gst_capsfilter_class_init):
550 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
551 (gst_fake_sink_class_init):
552 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
553 (gst_fake_src_class_init):
554 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
555 (gst_fd_sink_class_init):
556 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
557 (gst_fd_src_class_init):
558 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
559 (gst_file_sink_class_init):
560 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
561 (gst_file_src_class_init):
562 * plugins/elements/gstidentity.c: (gst_identity_base_init),
563 (gst_identity_class_init):
564 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
565 (gst_multi_queue_class_init):
566 * plugins/elements/gstqueue.c: (gst_queue_base_init),
567 (gst_queue_class_init):
568 * plugins/elements/gsttee.c: (gst_tee_base_init),
569 (gst_tee_class_init):
570 * plugins/elements/gsttypefindelement.c:
571 (gst_type_find_element_base_init),
572 (gst_type_find_element_class_init):
573 Don't use base_init where not absolutely necessary. For example it's
574 not necessary anymore for adding pad templates or setting element
577 Leave empty base_init functions in several places as GST_BOILERPLATE
578 still defines and uses them.
580 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
582 * gst/gstelement.c: (gst_element_base_class_init),
583 (gst_element_class_add_pad_template):
584 * gst/gstpadtemplate.c:
585 Make it possible (and recommended) to set element details and add
586 pad templates in the class_init functions by copying the details/pad
587 templates in GstElement's base_init.
589 Also make it possible to replace existing pad templates by adding
590 a new one with the same name. This was done in a hackish fashion
591 in same elements before already.
593 Don't reference pad templates that are added a second time. A
594 new pad template has a refcount of one and is not floating anymore
595 and to be owned by the element's class. Make this more explicit by
596 mentioning it in the docs of gst_element_class_add_pad_template().
598 These changes are backwards compatible. Fixes bug #491501.
600 * tests/check/gst/gstelement.c:
601 Add unit test for setting element details, adding pad templates and
602 replacing them in a subclass.
604 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
606 * tools/gst-inspect.c: (print_interfaces),
607 (print_element_properties_info), (print_pad_info),
608 (print_signal_info), (print_element_info):
609 Fix a few memory leaks.
611 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
613 * docs/libs/gstreamer-libs-sections.txt:
614 * libs/gst/check/gstcheck.c:
615 * libs/gst/check/gstcheck.h:
616 Add more functions for unit testing: gst_check_drop_buffers,
617 gst_check_caps_equal, gst_check_element_push_buffer_list,
618 gst_check_element_push_buffer
619 API: gst_check_drop_buffers
620 API: gst_check_caps_equal
621 API: gst_check_element_push_buffer_list
622 API: gst_check_element_push_buffer
624 2008-02-01 Julien Moutte <julien@fluendo.com>
626 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
627 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
628 (gst_index_finalize), (gst_index_entry_free),
629 (gst_index_add_association): Fix memory leaks.
630 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
631 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
632 (gst_mem_index_free_format), (gst_mem_index_free_id),
633 (gst_mem_index_finalize): Fix memory leaks.
634 * win32/common/config.h: Updated to CVS HEAD.
636 2008-02-01 Stefan Kost <ensonic@users.sf.net>
639 Some more details about how the plugin docs works.
641 * docs/plugins/gstreamer-plugins-sections.txt:
644 2008-02-01 Stefan Kost <ensonic@users.sf.net>
646 * gst/parse/grammar.tab.pre.c:
647 * gst/parse/grammar.tab.pre.h:
648 * gst/parse/grammar.y:
649 * gst/parse/lex._gst_parse_yy.pre.c:
650 Add delayed set-property. This allows to set properties on dynamicaly
651 created objects (pads in videomxer).
653 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
656 Check if caps are not NULL (fix bug #510194)
658 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
660 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
661 (gst_base_sink_get_position_paused):
662 Add fixme regarding EOS in pull mode.
663 Fix position reporting in PAUSED for negative rates.
665 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
667 * gst/gstminiobject.c: (gst_mini_object_replace):
668 When replacing a miniobject, do a quick equality check first so that we
669 can avoid a ref/unref pair.
671 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
673 * docs/design/part-synchronisation.txt:
676 * docs/plugins/Makefile.am:
677 * docs/plugins/gstreamer-plugins-docs.sgml:
678 * docs/plugins/gstreamer-plugins-sections.txt:
679 * plugins/elements/gstmultiqueue.c:
680 Add multiqueue to the docs.
682 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
687 === release 0.10.17 ===
689 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
692 releasing 0.10.17, "Due Negligence"
694 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
697 Revert caps != NULL check temporarily for 0.10.17 release.
699 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
702 Check if caps are not NULL (fix bug #510194)
704 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
707 Fix compilation on systems that have posix timers but no
710 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
713 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
715 * tools/gst-inspect.c:
716 Revert previous commit in preparation for an impromptu 0.10.17 release
718 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
720 * tools/gst-inspect.c: (print_interfaces),
721 (print_element_properties_info), (print_pad_info),
722 (print_signal_info), (print_element_info):
723 Fix a few memory leaks.
725 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
730 === release 0.10.16 ===
732 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
735 releasing 0.10.16, "Special Dispensation"
737 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
740 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
741 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
742 not fail when trying to crosscompile on OpenEmbedded (#511750).
744 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
747 Use $(MAKE) instead of make to fix the build if GNU make is
748 called different. Fixes bug #510747.
750 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
752 * gst/gstplugin.c: (_gst_plugin_initialize):
753 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
754 again, which I broke two commits ago when changing the API
755 of gst_plugin_register_static(): the g_list_foreach() in
756 _gst_plugin_register_static still assumed the old function
757 signature and would therefore fail (re-fixes #510187).
759 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
760 (_gst_plugin_register_static), (gst_plugin_register_static):
761 Revert the (technically correct) change to call g_thread_init() from
762 the pre-main() constructor. This will break programs which call
763 g_thread_init() without an if (!g_thread_supported()) guard in their
764 main function. We could just blame it on GLib or the application, but
765 it's probably best to just avoid this altogether and simply not use
766 any GLib functions here and use plain old malloc() with a simple
767 array to store the plugins to register later when gst_init() is
768 finally called (re-fixes #510187).
770 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
771 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
772 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
773 (GST_START_TEST), (gst_plugin_suite):
774 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
777 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
779 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
780 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
781 This makes gtk-doc complain, but results in slightly better
782 compiler errors. The old _gst_plugin_register_static() is
783 still guarded, so there'll be a compiler warning about that
784 instead. Fixes #510187 too.
786 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
788 * gst/gst.c: (init_post):
789 * gst/gstplugin.c: (_gst_plugin_register_static),
790 (gst_plugin_register_static), (_gst_plugin_initialize):
791 * gst/gstplugin.h: (GstPluginFilter):
792 Change API of gst_plugin_register_static() to not take
793 a GstPluginDesc, but rather just take all the arguments
794 in a GstPluginDesc directly. This is more intuitive and
795 avoids certain mistakes when porting code from
796 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
799 * tests/check/gst/gstplugin.c:
800 Fix up for changed API.
802 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
804 * docs/faq/legal.xml:
805 Update FAQ, Totem actually has an exception these days.
807 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
809 * win32/common/libgstreamer.def:
810 Add new API declarations
812 2008-01-14 Stefan Kost <ensonic@users.sf.net>
814 * gst/gstminiobject.c:
815 Spelling fixes for the API docs.
817 2008-01-14 Stefan Kost <ensonic@users.sf.net>
819 * libs/gst/base/gstbasetransform.c:
820 Fix long property description for QoS.
822 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
825 _gst_trace_on is already provided by gsttrace.h, no need to declare
828 * docs/libs/gstreamer-libs-sections.txt:
829 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
830 and remove strange tcase_add_test which is outputting a warning.
832 * libs/gst/check/gstcheck.c:
833 * libs/gst/check/gstcheck.h:
834 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
835 and define them in gstcheck.c instead of having every .c file whcih
836 includes gstcheck.h be defining its own copy and relying on symbol
837 interposing to marry them all, which doesn't work on Solaris.
839 * tests/check/elements/identity.c: (GST_START_TEST):
840 Don't define 'buffers' locally, it comes from libgstcheck.
842 * tests/check/generic/sinks.c: (send_buffer):
843 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
845 * tests/check/gst/gststructure.c: (GST_START_TEST):
846 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
847 * tests/check/gst/gstutils.c: (GST_START_TEST):
848 * tests/check/gst/gstvalue.c: (GST_START_TEST):
849 Add a bunch of casts to make various constants fit the types
850 they're being assigned to.
852 2008-01-10 Stefan Kost <ensonic@users.sf.net>
854 * gst/gstchildproxy.c:
855 Improve docs and add some ideas for making this more general-purpose.
857 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
859 * gst/gst_private.h: (GST_CAT_TYPES):
860 Add GST_CAT_TYPES, for consistency, and so that the other
861 debug categories don't make fun of it. Spotted by Saur on IRC.
863 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
865 * gst/parse/Makefile.am:
866 Move types.h from EXTRA_DIST to noinst_HEADERS.
868 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
871 Add -Wno-portability to the automake parameters to stop warnings
872 about GNU make extensions being used. We require GNU make in almost
873 every Makefile anyway.
876 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
877 at the same time is required for per target flags.
879 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
882 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
883 __GNUC__ is defined before using it.
885 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
887 * docs/gst/gstreamer-sections.txt:
888 * gst/gst.c: (init_post):
889 * gst/gstplugin.c: (_gst_plugin_register_static),
890 (gst_plugin_register_static), (_gst_plugin_initialize),
891 (gst_plugin_register_func):
892 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
893 API: add gst_plugin_register_static() and deprecate
894 GST_PLUGIN_DEFINE_STATIC, since it's not portable
896 Also, in _gst_plugin_register_static(), make sure to call
897 g_thread_init() before calling GLib functions such as
898 g_list_append() if we're not initialised yet, since that
899 may lead to random crashes with older GSlice/GLib versions.
901 * tests/check/gst/gstplugin.c:
902 Adapt unit test to above changes.
904 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
906 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
907 * gst/gstcaps.c: (gst_caps_to_string):
908 * gst/gststructure.c: (GST_ASCII_IS_STRING),
909 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
910 Yet another gratuitous GString micro-optimisation: add a (private)
911 function that serialises a structure appending to an existing
912 GString, so that when we serialise caps we don't need to alloc+free
913 a throwaway GString for each structure (each of which also entailing
914 multiple reallocs on the way); also use g_string_sized_new() in
915 various places with an approximate string length to avoid reallocs
916 within GString. See #500143.
918 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
920 * gst/gststructure.c: (gst_structure_id_set_value):
921 Always check UTF-8 conformance of structure strings and not only
922 if the debugging system is enabled; reasoning: the behaviour of
923 the actual code shouldn't really change depending on whether the
924 debugging system is enabled or not (#508291).
926 2008-01-09 Stefan Kost <ensonic@users.sf.net>
929 Remove old coverage target in favour of "make lcov".
931 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
933 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
935 The start segment for reverse playback goes from start to last_stop.
937 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
939 Patch by: Peter Kjellerstedt <pkj axis com>
942 Cast the results from the timeval/spec_to_time macros to what the
943 docs say it casts to, a GstClockTime. fixes #508175.
945 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
948 Update some comments.
950 * tools/gst-inspect.c: (print_element_properties_info):
951 Improve printing of flags.
953 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
955 * libs/gst/base/gstbasetransform.c:
956 (gst_base_transform_transform_size):
957 Print element name with g_warning() if there's a problem
960 2008-01-07 David Schleef <ds@schleef.org>
962 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
964 * libs/gst/controller/gstcontroller.h:
965 * libs/gst/controller/gstcontrolsource.h:
966 * libs/gst/controller/gstinterpolationcontrolsource.h:
967 * libs/gst/controller/gstlfocontrolsource.h:
968 * libs/gst/dataprotocol/dataprotocol.h:
969 Fix empty prototypes. Fixes bug #507957.
971 2008-01-07 David Schleef <ds@schleef.org>
973 * docs/faq/dependencies.xml: Fix typo.
975 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
977 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
979 Don't update the last_stop position in do_seek, that's the position we
981 Read backwards when we have a negative rate.
983 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
984 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
986 Add check for reverse reading.
988 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
990 Patch by: Alexis Ballier <aballier at gentoo org>
992 * tests/check/gst/gstabi.c:
993 * tests/check/gst/struct_ppc64.h:
994 * tests/check/libs/libsabi.c:
995 * tests/check/libs/struct_ppc64.h:
996 Decide which header to include based on the userland ABI target
997 and not the kernel/cpu. Fix up structure sizes of ppc64 header
998 for 64-bit userland (#503590). Might need something similar for
1001 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
1003 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1004 Log the reason why fopen fails in addition to the fact that it failed.
1006 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
1008 * gst/parse/parse.l:
1009 Use "%option never-interactive" to prevent useless calls to isatty()
1010 on every input when parsing. Also use "%option noinput" to not define
1011 the static input/yyinput functions which we don't use anyway. This
1012 removes a compiler warning with gcc 4.3 and saves some bytes in the
1015 * gst/parse/lex._gst_parse_yy.pre.c:
1016 Regenerated for the above change.
1018 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
1020 * gst/gstpad.c: (fixate_value):
1021 Don't crash when trying to fixate and empty list.
1024 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
1026 * docs/faq/gst-uninstalled:
1027 Clarify the comments to make the usage of this script and what it
1028 does easier to understand.
1030 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
1032 * tools/gst-plot-timeline.py:
1033 Add more options to gst-plot-timeline
1035 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
1037 * docs/design/part-synchronisation.txt:
1038 Some more info on how the stream_time in GstBaseSink is done.
1040 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
1042 * tests/check/generic/sinks.c: (gst_sinks_suite):
1043 Put back the tcase_set_timeout(), apparently it's needed after
1044 all; fix it up in a way that makes things work with valgrind too.
1046 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
1048 * gst/gstdebugutils.c:
1049 Add warning when failed to open file for writing.
1051 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1053 Based on patch by: Laurent Glayal <spglegle yahoo fr>
1055 * gst/gstvalue.c: (gst_value_is_fixed):
1056 Optimisation: bail out of the loop as early as possible (#500143).
1058 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gstcaps.c: (gst_caps_to_string):
1061 * gst/gstinfo.c: (gst_debug_construct_term_color):
1062 * gst/gstparse.c: (gst_parse_launchv):
1063 * gst/gstutils.c: (gst_util_dump_mem):
1064 * gst/gstvalue.c: (gst_value_serialize_any_list),
1065 (gst_value_transform_any_list_string):
1066 Bunch of gratuitous nano-optimisations.
1068 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1070 * tests/check/generic/sinks.c: (async_done_func),
1071 (async_done_eos_func):
1072 Fix leak in unit test (bus sync handler must unref the message
1073 if it returns GST_BUS_DROP). Don't fiddle with the default test
1074 timeout, this is smaller than the current preconfigured value
1075 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1076 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1078 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1080 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1083 Check for stdio_ext.h for the filesink changes.
1085 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1086 (gst_file_sink_class_init), (gst_file_sink_init),
1087 (gst_file_sink_dispose), (gst_file_sink_set_property),
1088 (gst_file_sink_get_property), (gst_file_sink_open_file),
1089 (gst_file_sink_close_file):
1090 * plugins/elements/gstfilesink.h:
1091 Add two properties to control the buffering mode and size.
1092 API: GstFileSink::buffer-mode
1093 API: GstFileSink::buffer-size
1096 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1098 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1099 Add some more docs to explain why a FIXME was wrongly added.
1101 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1104 Fix typo in the gst_object_{ref,unref} documentation.
1106 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1108 * tests/check/libs/controller.c:
1109 * tests/check/libs/typefindhelper.c:
1110 * tests/check/pipelines/parse-launch.c:
1111 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1112 going to be deprecated (see #498924).
1114 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1116 * gst/gsttypefind.c: (gst_type_find_register):
1117 Make gst_type_find_register work for static typefind functions,
1118 ie. allow passing plugin == NULL (prerequisite for #498924).
1120 * gst/gstelementfactory.c: (gst_element_register):
1121 Small docs addition.
1123 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1125 * gst/gstpad.c: (gst_pad_dispose):
1126 Really unlink the peer pad instead of setting the peer pointer to NULL
1127 when we dispose the pad.
1128 This correctly calls the unlink functions and makes sure that the peer
1129 does not have a handle to invalid memory. See #504671.
1131 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1132 Add testsuite for above case.
1134 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1136 Patch by: Peter Kjellerstedt <pkj axis com>
1138 * libs/gst/check/gstcheck.h:
1139 Fix detection of the check version we're compiling against (would
1140 otherwise break if check goes v0.10.0); correctly report the
1141 name of the failed test again in case of failure, instead of
1142 just 'tf' (fixes #504499).
1144 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1146 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1147 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1148 (gst_base_src_loop), (gst_base_src_set_flushing),
1149 (gst_base_src_change_state):
1150 Allow sending EOS to the source to make it send out an EOS event from
1151 the streaming thread.
1152 Update docs and deprecate the old NULL/READY shutdown method.
1154 * tests/check/libs/basesrc.c: (GST_START_TEST),
1155 (gst_basesrc_suite):
1156 Add unit test for controlled shutdown.
1158 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1160 * docs/design/part-synchronisation.txt:
1163 * gst/gstsegment.c: (gst_segment_set_seek),
1164 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1165 (gst_segment_to_running_time):
1166 The seek format can be different from the segment format when the start
1167 and stop values are not to be updated, when we only do a rate change for
1170 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1171 (gst_segment_suite):
1172 Add a testcase for the rate-only seeks, checking that the format is
1173 correctly ignored when start and stop are not updated.
1175 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1177 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1179 * win32/vs8/grammar.vcproj:
1180 * win32/vs8/libgstcontroller.vcproj:
1181 * win32/vs8/libgstreamer.vcproj:
1182 Fix compilation with VS8 and include some missing files.
1184 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1187 Small docs addition: mention that the strings returned by
1188 gst_tag_list_get_string*() are in UTF-8 encoding.
1190 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1193 The check-exports stuff moved to common/win32.mak, so include that.
1195 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1197 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1198 (gst_base_src_perform_seek), (gst_base_src_get_range),
1199 (gst_base_src_set_playing), (gst_base_src_change_state):
1200 Make _wait_playing() not check any variables so that we can call this
1201 function from subclasses. Move the checks elsewhere similar to
1202 _wait_preroll() in basesink.
1204 Only signal the LIVE cond when we are going back to PLAYING.
1206 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1208 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1209 Use g_remove() and g_rename(). Check result of g_rename(), and
1210 don't leak the open file descriptor if we error out when writing.
1212 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1213 Must check the return value of close() after writing out the new
1214 registry file. Sometimes write problems such as out-of-diskspace
1215 are only reported when the file is closed and not already during
1216 the write. This may have caused partial/broken registry files in
1217 some rare circumstances. Should fix #503675.
1219 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1221 * docs/gst/.cvsignore:
1222 * docs/libs/.cvsignore:
1223 * docs/plugins/.cvsignore:
1224 Ignore files generated by new common/* modifications
1226 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1228 * win32/common/libgstbase.def:
1229 Yes, you can also have a <TAB> if you want.
1231 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1233 * win32/common/libgstbase.def:
1234 Add new basetransform API to win export file.
1236 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1238 * tests/check/gst/gstbin.c:
1239 Adjust the test to the refcount change two days ago.
1241 2007-12-14 David Schleef <ds@schleef.org>
1243 * docs/faq/getting.xml: Fix typo.
1245 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1247 * docs/libs/gstreamer-libs-sections.txt:
1248 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1249 (gst_base_transform_prepare_output_buffer),
1250 (gst_base_transform_set_gap_aware):
1251 * libs/gst/base/gstbasetransform.h:
1252 API: Add gst_base_transform_set_gap_aware() to control whether
1253 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1254 get buffers with this flag at all. Fixes #503231.
1256 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1258 * libs/gst/base/gstbasesink.c:
1259 * libs/gst/base/gstbasesrc.c:
1260 * libs/gst/base/gstbasetransform.c:
1261 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1262 thread. Correct log message in gstbasesrc.c.
1264 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1266 * gst/gstutils.c: (element_find_unconnected_pad):
1267 Fix possible compiler warning (#503417).
1269 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1271 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1272 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1274 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1276 * tools/gst-inspect.c: (print_element_properties_info):
1277 Add support for GstFraction properties.
1279 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1282 Add check-exports target and run it as part of 'make check'
1283 (see #499140 and #493983).
1285 * gst/gst_private.h:
1286 * gst/gstelementfactory.h:
1287 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1288 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1289 (_priv_gst_in_valgrind):
1290 * gst/gstinfo.h: (GstLogFunction):
1291 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1292 (gst_type_find_register):
1293 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1294 (gst_type_find_factory_get_type):
1295 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1296 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1297 (gst_controller_new_valist), (gst_controller_new_list),
1298 (_gst_controller_dispose), (_gst_controller_class_init):
1299 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1300 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1301 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1302 (gst_object_get_controller), (gst_object_set_controller),
1303 (gst_object_suggest_next_sync), (gst_object_sync_values),
1304 (gst_object_set_control_source), (gst_object_get_control_source),
1305 (gst_object_get_value_arrays), (gst_object_get_value_array),
1306 (gst_object_get_control_rate), (gst_object_set_control_rate):
1307 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1308 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1309 Make some functions that should be static static; rename some
1310 private symbols so that they don't get exported; add some FIXME
1311 comments so we can move accidentally exported functions into
1312 our private section in 0.11.
1314 * win32/common/libgstreamer.def:
1315 Add gst_utils_get_timestamp().
1317 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1321 Add more missing "Since:" tags to docs.
1323 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1326 Add mising "Since:" to docs.
1328 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1331 Include "glib-compat-private.h" to fix the build on system with
1332 glib < 2.10. Fixes #503131.
1334 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1338 Actually its not PURE as it gets the time from elsewhere.
1340 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1342 * docs/gst/gstreamer-sections.txt:
1344 * gst/gstdebugutils.c:
1348 * libs/gst/base/gstbasesink.c:
1349 * tools/gst-launch.c:
1350 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1351 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1352 Thanks Tim for spotting.
1353 API: gst_util_get_timestamp
1355 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1358 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1360 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1362 * gst/gststructure.c: (gst_structure_validate_name),
1363 (gst_structure_new_valist), (gst_structure_parse_value),
1364 (gst_structure_from_string):
1365 Don't crash in _from_string() if the structure name is not valid
1366 (fixes #501560). Allow structure names to start with a number
1367 again (this apparently broke the ubuntu codec installer).
1369 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1371 Add unit test for the crash; update unit tests for new behaviour.
1373 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1376 Clarify gst_element_get_compatible_pad() documentation.
1379 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1381 * tests/check/Makefile.am:
1382 Don't forget to dist {gst,libs}/struct_hppa.h.
1384 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1386 * libs/gst/base/gstbasesink.c:
1387 Use new API to get elapsed time.
1389 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1391 * gst/gstdebugutils.c:
1393 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1395 * tools/gst-launch.c:
1396 Use new API to get elapsed time.
1398 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1400 * docs/gst/gstreamer-sections.txt:
1402 * gst/gstdebugutils.c:
1404 Rename new API + ChangeLog surgery to remove old name from last entry..
1406 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1408 * docs/gst/gstreamer-sections.txt:
1410 * gst/gstdebugutils.c:
1412 Now hide the different clock stuff behind a macro.
1414 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1417 * gst/gstdebugutils.c:
1419 Apply the posix-timer check from #361155. Conditionally use the posix
1420 timer for logging. This gives better timestamp precission, less
1421 overhead and no ntp jitter.
1423 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
1425 * gst/gstminiobject.c: (gst_mini_object_get_type),
1426 (gst_mini_object_class_init), (gst_mini_object_copy_default),
1427 (gst_mini_object_finalize), (gst_mini_object_copy),
1428 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1429 (gst_mini_object_replace), (param_mini_object_validate),
1430 (gst_param_spec_mini_object_get_type):
1431 Some cleanup and checking against invalid function parameters.
1433 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
1435 * docs/gst/gstreamer-sections.txt:
1437 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1438 (gst_systemclock_suite):
1439 Start merging in the easy bits of #361155, the monotonic clock patch.
1440 This one adds a few handy macros with docs and a testsuite.
1442 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
1444 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1445 Be a bit smarter when seeking, like, don't try to do a seek when it's
1446 not needed. This avoids errors when the file is not seekable.
1449 2007-11-26 Stefan Kost <ensonic@users.sf.net>
1451 * docs/gst/gstreamer-docs.sgml:
1452 * docs/gst/gstreamer-sections.txt:
1453 * docs/gst/gstreamer.types.in:
1458 * plugins/elements/gstqueue.c:
1459 Due to popular request remove preset interface again. :-(.
1461 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1463 * tools/gst-inspect.c:
1464 Print 'default value' for enums and flags too.
1466 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1468 * docs/random/ensonic/profiling.txt:
1472 Fix typo and give better log output.
1474 * gst/gstdebugutils.c:
1475 * gst/gstdebugutils.h:
1476 More ideas, make graphs a bit smaller and fix param name in macro.
1478 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1481 Try harder to use the return value from fgets().
1483 2007-11-21 Stefan Kost <ensonic@users.sf.net>
1486 For theses two fgets we handle the error below.
1488 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1490 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1491 Only send upstream events upstream. Fixes #498746.
1493 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1495 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1497 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1498 (gst_identity_init), (gst_identity_transform_ip),
1499 (gst_identity_set_property), (gst_identity_get_property):
1500 * plugins/elements/gstidentity.h:
1501 Add property to disable handoff signal emission. Fixes #498694.
1502 API: GstIdentity::signal-handoffs
1504 2007-11-21 Julien Moutte <julien@fluendo.com>
1506 * docs/faq/gst-uninstalled: Yet another missing library for the
1507 uninstalled script (fft)
1509 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
1511 * docs/faq/developing.xml:
1512 Add a question about how to submit new translations.
1514 * docs/random/release:
1515 Update the contact email address for the Translation Project
1517 * plugins/elements/gstfdsrc.c:
1518 The parent_class for fdsrc is pushsrc, not GstElement.
1520 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1523 Plug a leak and fix saving.
1525 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
1527 * docs/gst/gstreamer-sections.txt:
1528 Add new gst_preset__get_property_names() function to the docs
1531 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1535 Change _get_preset_names API to return a strv with copies. Add
1536 _get_property_names to allow implementations to filter and provide
1537 good default implementation.
1539 2007-11-20 Julien MOUTTE <julien@moutte.net>
1541 * docs/faq/gst-uninstalled: Add another library to the uninstalled
1544 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1547 More cleanups, docs, and TODOs from comments that now slowly come in.
1549 2007-11-19 Julien MOUTTE <julien@moutte.net>
1551 * docs/faq/gst-uninstalled: Add new base libraries in the LD
1554 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1557 Fix bogus warning and make the property type specific code more
1560 2007-11-19 Julien MOUTTE <julien@moutte.net>
1562 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1565 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
1567 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1568 (gst_bin_add_func), (gst_bin_remove_func),
1569 (gst_bin_change_state_func), (gst_bin_continue_func):
1570 Change email, cleanups add some more debug and comments.
1571 Also set bus and clock on new elements when the pipeline was in error.
1573 2007-11-18 Stefan Kost <ensonic@users.sf.net>
1576 * gst/gstdebugutils.c:
1577 Fix build with --disable-gst-debug. Fixes #497859.
1578 Spotted by Sameer Naik.
1580 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1583 Little documentation improvment.
1586 More TODO cleanups. Remove c++ comments.
1588 * libs/gst/controller/gstcontroller.c:
1589 Add TODO and use quark from static string.
1591 * tests/check/gst/gstmessage.c:
1592 * tests/check/gst/gststructure.c:
1593 Use quark from static string.
1595 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1598 Add some comments and TODOs.
1601 Add padding for future changes.
1603 * plugins/elements/gstqueue.c:
1604 Implement the iface.
1606 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1608 * docs/gst/gstreamer-docs.sgml:
1609 * docs/gst/gstreamer-sections.txt:
1610 * docs/gst/gstreamer.types.in:
1615 Add the preset interface (Fixes #396779). Do some doc cleanups along.
1617 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
1623 === release 0.10.15 ===
1625 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
1628 releasing 0.10.15, "October"
1630 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
1632 * win32/vs6/libgstreamer.dsp:
1633 Convert line endings back to DOS.
1635 2007-11-13 Stefan Kost <ensonic@users.sf.net>
1637 * docs/design/draft-tagreading.txt:
1638 * docs/random/ensonic/profiling.txt:
1639 Update fast tagreading draft and performance profiling ideas.
1641 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1643 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1644 Don't hold the object lock when unreffing a buffer because it could
1645 cause a deadlock when the finalize function wants to grab the object
1646 lock too. Fixes #495133.
1648 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1650 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1651 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1652 Also accumulate time correctly when doing reverse playback. Fixes
1654 When converting to running and stream time, use default values for
1655 start/stop/time/accum when comparing different formats. Fixes #494245.
1657 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1658 Do running/stream time in TIME format.
1660 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1661 (gst_segment_suite):
1662 2 new unit tests for segment accumulation.
1664 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
1666 * gst/gst.c: (init_pre):
1667 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1668 (_gst_debug_bin_to_dot_file):
1669 Move getenv() back into gst_init, so everyone can live happily
1670 ever after. Make sure the symbol isn't exported though.
1672 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1674 Patch by: Sebastien Moutte <sebastien moutte net>
1676 * win32/common/gstenumtypes.c:
1677 * win32/common/gstenumtypes.h:
1680 * win32/vs6/libgstreamer.dsp:
1681 Update vs6 project files (#494343).
1683 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1685 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1686 (gst_base_src_perform_seek), (gst_base_src_default_event),
1687 (gst_base_src_set_flushing), (gst_base_src_activate_push),
1688 (gst_base_src_activate_pull):
1689 Unify flushing code, remove some old unlock code that is no longer used.
1690 Take the streaming lock when seeking to avoid races. Fixes #492729.
1691 Added some more comments.
1693 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1695 * gst/gst.c: (_gst_disable_segtrap):
1696 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
1697 we can use gst_segtrap_is_enabled() there now that we have that API.
1698 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1699 to do the getenv here (and export the variable).
1701 * gst/gstdebugutils.c: (debug_dump_element),
1702 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1703 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1705 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1706 (gst_debug_log_default):
1707 Rename _gst_info_start_time to priv_gst_info_start_time so it
1708 doesn't get exported (was never in any header).
1710 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1711 (gst_plugin_loading_mutex):
1712 Make static mutex gst_plugin_loading_mutex really static (was never
1713 in any header), and use gst_segtrap_is_enabled() instead of
1714 _gst_disable_segtrap.
1716 * gst/gsttrace.c: (_gst_trace_default):
1717 Make local _gst_trace_default static (was never in any header).
1719 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1721 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1723 * win32/common/libgstbase.def:
1724 * win32/common/libgstcontroller.def:
1725 * win32/common/libgstdataprotocol.def:
1726 * win32/common/libgstnet.def:
1727 * win32/common/libgstreamer.def:
1728 Add more missing symbols, remove some duplicates, and sort
1729 as the 'sort' command sorts it (partially fixes #493983).
1731 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1733 * gst/gstelement.c: (gst_element_set_state_func):
1734 Only change the state cookie if a different state was set on the
1735 element. See #492729.
1737 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1740 Remove unused and uninitialised type variables that were still
1741 exported for some reason (they were never in any header files
1744 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1747 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1748 (gst_base_sink_event), (gst_base_sink_get_position_last),
1749 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1750 (gst_base_sink_change_state):
1751 Don't try to report a 0 position when we don't know, return -1 and FALSE
1752 instead. This mostly happens when we are prerolling.
1753 Make sure we can report the right position before we post the ASYNC_DONE
1754 message so that a message handler can query position without races.
1756 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1757 (async_done_handoff), (async_done_func), (send_buffer),
1758 (async_done_eos_func), (gst_sinks_suite):
1759 Add two tests for the above.
1761 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1764 Update with new email address.
1766 * docs/design/part-TODO.txt:
1767 Add some more info about future pad-block and negotiation changes.
1769 * docs/design/part-buffering.txt:
1770 Add some ideas about buffering reporting.
1772 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
1774 * tests/check/gst/gstobject.c:
1775 Disable silly racy test that always fails on this combination of CPU
1778 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
1780 Patch by: Murray Cumming <murrayc@murrayc.com>
1783 Corrected the registration of the parent-set and parent-unset
1784 signals: The parameter is a GstObject, not a GObject (#493134).
1786 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1788 * gst/gst_private.h:
1797 Move declaration of private _gst_foo_initialize() functions into
1798 our private header file where they should have been all along.
1800 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1802 * docs/plugins/gstreamer-plugins-sections.txt:
1803 * gst/gstdebugutils.h:
1805 * plugins/elements/gstqueue.c:
1806 gtk-doc fixes; trailing-comma-in-enum fix.
1808 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1810 * gst/gst.c: (gst_deinit):
1811 Clean up on deinit (not the external ones though, doesn't seem to be
1812 needed for some reason).
1814 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1816 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1817 Remove __declspec(dllimport) for MSVC that was copied over into core
1818 from a plugin, obviously without ever having been tested (note the
1819 single underscore in _declspec in the initial commit), and that doesn't
1820 really make sense. See #492077.
1822 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1824 * gst/gst.c: (init_post):
1825 * gst/gstevent.c: (_gst_event_initialize):
1826 * gst/gstquery.c: (_gst_query_initialize):
1827 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1828 g_type_class_ref() other types as well, see #349410 and #64764.
1830 * gst/gstbuffer.c: (_gst_buffer_initialize):
1831 * gst/gstmessage.c: (_gst_message_initialize):
1832 Simplify existing g_type_class_ref().
1834 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1836 * gst/gstformat.c: (_gst_format_initialize):
1837 g_type_class_ref() our GstFormat type to make sure we avoid the
1838 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1839 bug #64764. Should fix intermittent tee unit test failures (#474823).
1841 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1843 * tests/check/elements/tee.c: (test_num_buffers):
1844 Simplify, simplify, simplify - or not. Rewrite unit test
1845 not to use gst_parse_launch(); allow N sub-streams. Increasing
1846 the number of sub-streams seems to reproduce #474823 more easily.
1848 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1850 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1853 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1854 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1855 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1856 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1857 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1858 so use _pipe() directly (#492077).
1860 * win32/common/dirent.c: (_treaddir):
1861 Add a couple of casts to make it build without warnings with MSVC.
1863 * win32/common/libgstreamer.def:
1864 Add some more symbols that need to be exported.
1866 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1868 * tests/examples/metadata/read-metadata.c: (message_loop):
1869 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1870 arriving in a second or third tag message are added to
1871 the tag list as well.
1873 2007-10-31 Stefan Kost <ensonic@users.sf.net>
1875 * libs/gst/base/gstbasesrc.c:
1876 Its "Since:" and not "@Since:". And remove an superflous cast.
1878 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
1880 * docs/libs/gstreamer-libs-sections.txt:
1881 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1882 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1883 (gst_base_sink_get_property), (gst_base_sink_render_object),
1884 (gst_base_sink_preroll_object),
1885 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1886 (gst_base_sink_change_state):
1887 * libs/gst/base/gstbasesink.h:
1888 Add a new last-buffer property that contains the last buffer used in
1889 basesink for preroll or rendering. useful for making snapshots.
1890 API: gst_base_sink_get_last_buffer()
1891 API: GstBaseSink::last-buffer
1893 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1895 * docs/gst/running.xml:
1897 * gst/gstdebugutils.c:
1898 * gst/gstdebugutils.h:
1899 * tools/gst-launch.c:
1900 Improve bin graph dumping, by using the envvar to specify a path.
1901 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1903 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
1905 * plugins/elements/gsttypefindelement.c:
1906 (gst_type_find_element_handle_event),
1907 (gst_type_find_element_activate):
1908 Post special error message if we can't determine the type of a stream
1911 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1913 * docs/gst/running.xml:
1914 * gst/gstdebugutils.c:
1915 Document new env-var. Add one log-line after dumpng a graph.
1917 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
1920 Ugly hack to put the (recently removed and non-portable, apparently)
1921 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1922 GNU ld, because without that 'make check' fails miserably on my debian
1923 stable box. Someone with more knowledge of linker intricacies and
1924 portability issues than me fix this properly please.
1926 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
1928 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1929 Reset last seen position after flushing so that we don't report the old
1932 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1934 * gst/gstelementfactory.c: (gst_element_register):
1936 Patch from Alessandro Decina adding get_type_full and
1937 get_protocols_full private vfuncs to the URIHandler interface
1938 to allow bindings to support creating URI handlers.
1939 Partially fixes: #339279
1940 API: GstURIHandlerInterface::get_type_full
1941 API: GstURIHandlerInterface::get_protocols_full
1943 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1945 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1946 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1947 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1948 Make it so that pads are considered linked until a buffer is pushed
1949 and discovered otherwise. This avoids problems with decodebin2 hanging
1950 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1953 Make sure we lock the multiqueue when updating the max-size properties.
1955 Fix a crash on Solaris in a debug statement in get_request_pad that
1956 passes a NULL string to GST_DEBUG.
1958 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1959 (run_output_order_test):
1960 Fix the test to allow the first buffer on not-linked pads to come out
1961 of sequence while multiqueue discovers that they are not-linked.
1963 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1966 * libs/gst/check/Makefile.am:
1967 Use a custom export symbol regex for libgstcheck, as it needs
1968 to export symbols that don't match the standard GStreamer gst_*
1969 pattern, and --export-dynamic is not portable (only works on
1972 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1973 (gst_check_setup_sink_pad):
1974 Make sure to pass a message parameter to the fail_* macros.
1976 * tests/check/gst/gstinfo.c: (GST_START_TEST):
1977 Fix some compiler warnings.
1979 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
1981 * tests/check/gst/gststructure.c: (test_to_string):
1982 Disable test that checks that white spaces are not allowed
1983 in structure names or field names, since we need to
1984 support that for now for backwards compatibility reasons.
1986 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1988 * docs/gst/gstreamer-sections.txt:
1991 API: add GST_TAG_ARTIST_SORTNAME
1992 API: add GST_TAG_ALBUM_SORTNAME
1993 API: add GST_TAG_TITLE_SORTNAME
1994 Add tag variants for sorting (#414539).
1996 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gststructure.c:
1999 Also allow white space for names so we don't break
2000 backwards compatibility.
2002 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
2004 * docs/design/part-TODO.txt:
2005 * docs/design/part-segments.txt:
2006 * docs/design/part-streams.txt:
2009 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2011 * docs/gst/gstreamer-sections.txt:
2012 Fixed documentation from my previous commit (added new API add
2013 gst_value_set_structure(), add gst_value_get_structure() and
2014 GST_VALUE_HOLDS_STRUCTURE).
2016 2007-10-22 Stefan Kost <ensonic@users.sf.net>
2018 * gst/gstdebugutils.c:
2019 Reflow code to fix uninitialized variable warning.
2021 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2023 * gst/gstcaps.c: (gst_caps_to_string),
2024 (gst_caps_from_string_inplace):
2025 * gst/gststructure.c: (gst_structure_get_abbrs),
2026 (gst_structure_to_string), (gst_structure_from_string):
2027 * gst/gstvalue.c: (gst_value_set_structure),
2028 (gst_value_get_structure), (gst_value_serialize_structure),
2029 (gst_value_deserialize_structure), (_gst_value_initialize):
2031 * tests/check/gst/gststructure.c: (GST_START_TEST),
2032 (gst_structure_suite):
2033 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2034 Added GstStructure to gst_value_table and its related functions.
2035 Changed gst_structure_to_string to print ';' in the end.
2036 Changed gst_caps_to_string to not print ';' beteween its
2037 fields (structures) anymore and remove the lastes ';' from latest
2038 structure. Now it is possible to have nested structures.
2039 In addition, backward compatibilty is assured by accepting '\0' as
2040 end delimiter. Fixes: #487969.
2041 API: add gst_value_set_structure()
2042 API: add gst_value_get_structure()
2043 API: add GST_VALUE_HOLDS_STRUCTURE
2045 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
2048 When no GSource callback has been set up, tell developer
2049 to use a function that actually exists.
2051 2007-10-17 Stefan Kost <ensonic@users.sf.net>
2053 * docs/gst/gstreamer-sections.txt:
2057 * gst/gstdebugutils.c:
2058 * gst/gstdebugutils.h:
2061 * tools/gst-launch.c:
2062 Allow dumping pipelines as dot graphs. Fixes #456573.
2064 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2066 * gst/gststructure.c:
2067 Allow '+' as well, it can be part of media or mime types
2068 such as image/svg+xml.
2070 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2072 * docs/gst/gstreamer-sections.txt:
2075 API: add gst_bus_pop_filtered
2076 API: add gst_bus_timed_pop_filtered
2077 Two new functions for waiting for specific message types on the
2078 bus for a specified amount of time without iterating any main
2079 loops or main contexts.
2081 * tests/check/gst/gstbus.c:
2082 Some tests for the new functions.
2084 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2086 * docs/libs/gstreamer-libs-sections.txt:
2087 Make gtk-doc ignore stuff it should ignore.
2089 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2091 * libs/gst/check/gstcheck.c:
2092 * libs/gst/check/gstcheck.h:
2093 Allow runtime selection of unit tests to run via the GST_CHECKS
2094 environment variable (test case function names, comma-separated).
2096 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2098 * gst/gststructure.c:
2099 * tests/check/gst/gststructure.c:
2100 Revert serialisation change and constrain structure-names after
2101 consensus on irc. Update api documentation to reflect the change.
2103 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2105 * gst/gststructure.c:
2106 Improve serialization and fix tests.
2108 * tests/check/gst/gststructure.c:
2109 Add another test that covers why I actually did the previous structure
2112 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2114 * tools/gst-inspect.c: (print_element_info):
2115 Don't crash when inspecting an element.
2117 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2119 * tests/check/gst/gststructure.c:
2120 Add unit test for escaping of structure name when serialising
2121 and deserialising to/from strings.
2123 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2125 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2126 (gst_single_queue_new):
2127 * plugins/elements/gstqueue.c: (gst_queue_init),
2128 (gst_queue_push_one):
2129 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2130 upstream is tricked into thinking it can suggest a format downstream
2131 while downstream does not support that format. The real problem is that
2132 core calls acceptcaps when pushing a buffer with new caps, for which we
2133 do a little workaround by setting the caps on the srcpad ourselves
2134 before pushing the buffer (until this is figured out). Fixes #486758.
2136 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2138 * gst/gststructure.c:
2140 Add some more comments and debug output. Quote structure name to fix
2141 deserialisation of some strings.
2143 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2146 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2147 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2149 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2151 * tools/gst-inspect.c:
2152 Save approx. 400 1 byte allocs when printing. Use API to acces element
2158 * tools/gst-xmlinspect.c:
2159 Use API to acces element details.
2161 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2164 Fix some spelling errors.
2166 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2168 * gst/gstbin.c: (bin_handle_async_done):
2169 Correctly set the next state if all of our async children commited their
2170 state. This makes sure we can actually cancel the state change in
2171 progress. Fixes a regression in Rhythmbox when seeking.
2173 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2176 Don't shadow local variable.
2179 Don't shadow global function name.
2181 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2183 * gst/gstelementfactory.c:
2184 * gst/gstpluginfeature.c:
2185 * gst/gstpluginfeature.h:
2186 * gst/gstregistrybinary.c:
2187 * gst/gstregistryxml.c:
2188 * gst/gsttypefind.c:
2189 Use already-interned string for the private GstPluginFeature
2192 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2194 * docs/libs/gstreamer-libs-sections.txt:
2195 Add new API to docs; fixes the build.
2197 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2199 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2201 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2202 (gst_base_sink_event):
2203 * libs/gst/base/gstbasesink.h:
2204 Add function to wait for EOS, subclasses can use this to correctly wait
2205 for devices to drain before performing the EOS logic. Fixes #485343.
2206 API: gst_base_sink_wait_eos()
2208 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2211 Cast description string constants in GST_PLUGIN_DEFINE macros
2212 to a (gchar*) to make C++ code using these macros compile
2213 without warning with g++-4.2 (see #462737). Even if slightly
2214 ugly, this seems preferable to putting the description strings
2215 into the GLib quark table or making the structure member a
2216 const gchar * and doing casts in core code that allocs and
2217 frees these strings, or requiring a cast in the C++ code.
2219 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2222 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2223 to print the entire class/function signature into the log
2224 file for C++ code. This only affects C++ code, for C code
2225 everything remains the same.
2227 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2229 * gst/gstbin.c: (remove_from_queue):
2230 Work around a problem with pipelines containing (semi)loops until a
2231 proper, more complicated solution is ready. See #475455.
2233 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2237 * gst/gstregistrybinary.c:
2238 * gst/gstregistryxml.c:
2239 Put more strings into the GLib quark table. No need to keep
2240 a hundred-something copies of identical version strings,
2241 license strings, package name strings and package origin
2244 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2246 * docs/manual/advanced-dataaccess.xml:
2247 Don't imply that it's okay to unconditionally change
2248 buffer data or buffer metadata in a pad probe callback,
2249 and a bunch of other comments. Fixes #430031.
2251 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2253 * win32/common/gstenumtypes.c:
2254 * win32/common/gstenumtypes.h:
2255 * win32/common/gstversion.h:
2256 Update generated files.
2258 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2260 * docs/manual/advanced-autoplugging.xml:
2261 Prefix section with broken code with a warning (see #342432).
2263 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2265 * docs/manual/appendix-integration.xml:
2266 * docs/manual/basics-init.xml:
2267 Call g_thread_init() before g_option_context_new() to
2268 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2270 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2272 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2273 (gst_base_sink_queue_object_unlocked),
2274 (gst_base_sink_queue_object), (gst_base_sink_event),
2275 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2276 When we received EOS and are waiting for when to post the EOS message,
2277 our state is prerolled and we should not return ASYNC.
2278 Reorganize some code paths to implement this behavior.
2280 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2282 Add unit test to verify above EOS fix.
2284 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2286 * plugins/elements/gsttypefindelement.c:
2287 (gst_type_find_element_have_type), (gst_type_find_element_init),
2288 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2289 Move detecting the input caps of the sinkpad to the setcaps function.
2290 This allows us to update the output caps when we receive new input caps
2291 instead of always using the first detected caps.
2293 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2295 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2296 (gst_base_sink_get_position):
2297 Don't try to preroll non-async elements after a flush.
2298 Subtract latency form clock times when reporting position.
2300 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2302 * gst/gstpad.c: (gst_pad_pause_task):
2304 Small comment and documentation update.
2306 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2308 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2309 (gst_base_src_set_live), (gst_base_src_is_live),
2310 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2311 (gst_base_src_default_event), (gst_base_src_wait),
2312 (gst_base_src_do_sync), (gst_base_src_get_range),
2313 (gst_base_src_pad_get_range), (gst_base_src_loop),
2314 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2315 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2316 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2317 (gst_base_src_change_state):
2318 Rework the locking of basesrc in a similar fashion to basesink. We
2319 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2320 us to handle live sources and semi live ones much better.
2322 Fix unlocking when seeking, shutting down and pausing in live sources.
2324 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2326 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2327 Fix compilation again.
2329 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2332 Use meaningful categories for the logs to clean the default one.
2334 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2336 * tests/check/pipelines/cleanup.c:
2337 Print message name and not just number.
2339 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2341 * docs/design/draft-tagreading.txt:
2342 Add some more thoughts.
2344 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2346 * tests/check/pipelines/simple-launch-lines.c:
2347 Print message name and not just number.
2349 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2351 * libs/gst/base/gsttypefindhelper.c:
2352 Speedup typefinding. This is work in progress (see #459862).
2354 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2357 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2358 Spotted by Josep Torra Valles <josep@fluendo.com>.
2360 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2363 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2364 field has moved to GstObject.
2366 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2368 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2369 (gst_base_src_get_range), (gst_base_src_change_state):
2370 Call unlock for live sources so that they can't get stuck in _create and
2371 produce a buffer before they are set back to PLAYING.
2373 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2375 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2376 (gst_queue_locked_dequeue):
2377 Comment the segment-related code... in the PROPER function.
2378 See #482147 and my commit from yesterday.
2380 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2382 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2383 Also initialize the counter that calculates the first timestamp on a
2384 buffer correctly for non-live sources.
2386 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2388 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2389 Disable code that's breaking the current-time-level reporting.
2392 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2394 * docs/gst/gstreamer-sections.txt:
2395 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2396 as they shouldn't show up. Fixes the docs build.
2398 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2401 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2402 Define M_PI which is used in files which are including gstinfo.h.
2403 VS6 includes doesn't define it.
2404 * win32/common/libgstbase.def:
2405 * win32/common/libgstcontroller.def:
2406 * win32/common/libgstreamer.def:
2407 Add new exported functions and variables.
2408 * win32/vs6/libgstcontroller.dsp:
2409 * win32/vs6/libgstreamer.dsp:
2410 Update the list of files to build.
2412 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2414 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2416 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2417 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2418 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2419 Improve debugging. Fixes #480858.
2421 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2423 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2425 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2426 First patch of code cleanups, use the macros and right arguments in the
2427 macros to signal and lock the queue. See #480858.
2429 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
2431 * gst/gstbus.c: (poll_func):
2432 Improve debugging when dealing with _poll().
2434 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
2436 * gst/gstregistryxml.c:
2437 Fix memory leak I introduced a few days ago.
2439 2007-09-26 Michael Smith <msmith@fluendo.com>
2441 * gst/gstbuffer.c: (gst_buffer_finalize):
2442 Make it once again possible to free GstBuffers in the default
2444 The poisoning scribbles on parts of the miniobject we need in
2448 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
2450 * docs/gst/gstreamer-sections.txt:
2453 API: add GST_TAG_COMPOSER, fixes #459809.
2455 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
2459 Add the 3-clause BSD license and the MIT/X11 license to the license
2460 list. Fixes #479784.
2462 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
2464 * docs/faq/getting.xml:
2465 Add Q+A about different GStreamer versions (#364056).
2467 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2469 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2470 (gst_base_sink_event), (gst_base_sink_change_state):
2471 Return correct gboolean from query function.
2473 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2475 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2476 (gst_base_sink_event), (gst_base_sink_query),
2477 (gst_base_sink_change_state):
2478 Simplify latency query.
2479 When not synchronizing, we can report latency without querying the peer
2482 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2486 Fix small typos in the docs.
2488 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2490 * docs/design/draft-latency.txt:
2491 * docs/design/draft-push-pull.txt:
2492 * docs/design/draft-tagreading.txt:
2493 * docs/design/part-MT-refcounting.txt:
2494 * docs/design/part-activation.txt:
2495 * docs/design/part-block.txt:
2496 * docs/design/part-element-source.txt:
2497 * docs/design/part-events.txt:
2498 * docs/design/part-gstbin.txt:
2499 * docs/design/part-gstelement.txt:
2500 * docs/design/part-gstobject.txt:
2501 * docs/design/part-gstpipeline.txt:
2502 * docs/design/part-messages.txt:
2503 * docs/design/part-preroll.txt:
2504 * docs/design/part-push-pull.txt:
2505 * docs/design/part-qos.txt:
2506 * docs/design/part-query.txt:
2507 * docs/design/part-scheduling.txt:
2508 * docs/design/part-seeking.txt:
2509 * docs/design/part-segments.txt:
2510 * docs/design/part-states.txt:
2511 Documentation updates and typo fixes.
2513 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
2515 * plugins/elements/gstfakesink.c:
2516 Add some debug text to error message to indicate that
2517 we errored out on request.
2519 * tools/gst-launch.c:
2520 When the state change to PLAYING fails, check for an
2521 error message on the bus and print it.
2523 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2525 translated by: Jorge González González <aloriel@gmail.com>
2529 Added Spanish translation.
2531 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
2533 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2534 Fix printf arguments.
2536 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2538 * tests/check/generic/states.c:
2539 Improved state change unit test.
2541 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2544 Move priv to the right place.
2546 * gst/gstsystemclock.c:
2547 Add FIXME: and improve log.
2549 * tests/check/Makefile.am:
2550 * tests/examples/manual/Makefile.am:
2551 Work with all types of registries.
2553 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
2555 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2556 Don't unref the event after pushing it. Fixes #478401.
2558 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2561 * tests/examples/manual/.cvsignore:
2562 Ignore registries in any format.
2564 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
2566 * gst/glib-compat-private.h:
2567 Add compatibility macro for g_intern_string() for
2568 GLib-2.8 (any reason we can't just bump the
2569 requirement to at least 2.10?)
2571 * gst/gstpadtemplate.h:
2572 * gst/gstelementfactory.c:
2573 * gst/gstregistryxml.c:
2574 * gst/gstregistrybinary.c:
2575 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2576 up the internal code accordingly. This shouldn't be a problem, since
2577 there is no reason external code could ever assume the string in such
2578 a structure is dynamically allocated unless it did that itself; the
2579 use of g_strdup() is private to element factories. The new code also
2580 saves some memory by putting pad template name strings into the GLib
2581 quark table instead of allocating them dynamically.
2582 Declaring this field constant fixes warnings with g++-4.2 when using
2583 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2585 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2587 * gst/gstelementfactory.c:
2588 Release static caps. Fixes #475723.
2590 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
2594 Make some internal API take const gchar * instead of just
2595 gchar * to avoid compiler warnings with g++-4.2.2 when
2596 passing string constants (partially fixes #478092).
2598 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2600 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2601 A latency query fails when one of the sinks fail.
2603 * gst/gstelement.c: (gst_element_set_base_time):
2606 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2608 * gst/gstbin.c: (gst_bin_continue_func):
2609 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2611 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2613 Fix minor compilation warnings shown with Forte.
2615 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2617 * plugins/elements/gstqueue.c: (apply_buffer),
2618 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2619 Measure queue level based on the diff between head and tail timestamps
2620 even when pushing the first buffer.
2622 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2624 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2625 (gst_base_sink_event), (gst_base_sink_change_state):
2626 Sinks that don't preroll can always be queried for the latency.
2627 Don't post ASYNC start when we are not async.
2629 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2631 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2632 (gst_queue_handle_sink_event), (gst_queue_chain),
2633 (gst_queue_push_one), (gst_queue_handle_src_query),
2634 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2635 * plugins/elements/gstqueue.h:
2636 When downstream returns UNEXPECTED from pushing a buffer, don't try to
2637 push more buffers but allow pushing of EOS and NEWSEGMENT.
2638 Add some more debug info here and there. Fixes #476514.
2640 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2642 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2643 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2644 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2645 (gst_base_sink_set_flushing), (gst_base_sink_query),
2646 (gst_base_sink_change_state):
2647 Latency query is allowed after we are prerolled. Introduce a new flag
2648 for this and stop abusing other variables.
2650 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2652 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2653 Push OOB events downstream when we get them in send_event. This allows
2654 the application to insert events in the pipeline.
2655 Add some more comments.
2657 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2659 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2660 (do_bin_latency), (gst_bin_change_state_func):
2661 * gst/gstpipeline.c: (gst_pipeline_change_state):
2662 Move latency query from GstPipeline to GstBin so that we can also
2663 use it when async-handling is enabled on bins.
2665 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2667 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2668 (gst_base_src_do_sync), (gst_base_src_change_state):
2670 Clean up the timestamping and syncing code for pseudo live sources.
2672 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
2674 Patch by: Steve Fink <sphink gmail com>
2676 * docs/manual/appendix-checklist.xml:
2677 Mention less -R switch in the section about debug output (#474055).
2679 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2681 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2682 Queue can latency to the pipeline up to the configured max size in time.
2683 Report this fact in the latency query.
2685 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2687 Patch by: Sebastien Moutte <sebastien at moutte dot net>
2689 * libs/gst/controller/gstinterpolation.c:
2690 * libs/gst/controller/gstlfocontrolsource.c:
2691 Use gst_guint64_to_gdouble() when converting from a uint64 or
2692 GstClockTime to double to fix the build on win32. Fixes #474371.
2694 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2696 * gst/gstbuffer.c: (gst_buffer_finalize):
2697 Implement poisoning for GstBuffer if --enable-poisoning is specified.
2698 When finalizing a buffer the complete struct is filled with 0xff,
2699 thus making a use of the buffer after the final unref impossible.
2701 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2703 * tests/check/libs/controller.c: (GST_START_TEST):
2704 Use fail_unless_equals_int(a, b) instead of
2705 fail_unless_equals (a == b) to get better output on failures.
2707 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2709 * tests/check/gst/gsturi.c:
2710 Also check for the other file URI variant on win32.
2712 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2714 * gst/gsturi.c: (gst_uri_get_location):
2715 If there's no hostname, we want to return 'c:/foo/bar.txt'
2716 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2718 * tests/check/gst/gsturi.c:
2719 Unit test for the above and a few more things.
2721 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2723 * docs/design/part-live-source.txt:
2724 Add docs on how live sources should timestamp.
2726 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2727 Add some more debug info.
2728 For subclasses that are live and like to sync, add aditional startup
2729 latency to sync time and timestamps so that we timstamp according to the
2732 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2735 Also do a g_type_class_ref() for the subbuffer type in
2738 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2740 * docs/gst/gstreamer-sections.txt:
2741 * gst/gstpad.c: (gst_pad_peer_query):
2743 Add function to perform a query on the peer of a pad.
2744 API: gst_pad_peer_query()
2746 2007-09-11 Stefan Kost <ensonic@users.sf.net>
2748 * tests/check/gst/gstsystemclock.c:
2749 Cleanup the test a little (use gst-logging and not g_message). Improve
2750 test to check if a wait reached the target.
2752 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2754 * docs/libs/gstreamer-libs-sections.txt:
2755 Add new API to docs and fix the build.
2757 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
2759 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2760 (gst_base_src_init), (gst_base_src_set_do_timestamp),
2761 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2762 (gst_base_src_get_property), (gst_base_src_do_sync):
2763 * libs/gst/base/gstbasesrc.h:
2764 Add property to make the basesrc timestamp buffers based on the current
2766 API: GstBaseSrc::do-timestamp
2767 API: gst_base_src_set_do_timestamp()
2768 API: gst_base_src_get_do_timestamp()
2770 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
2772 * docs/random/release:
2773 Really make sure translations are up-to-date before
2774 a release (#465010).
2776 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
2778 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2779 Always destroy the timer, also in error cases.
2781 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2783 * docs/manual/highlevel-xml.xml:
2784 Fix XML example code. Fixes #472714.
2786 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2788 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2789 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2790 (gst_base_sink_query):
2791 Protect eos and have_preroll with the OBJECT lock so we don't need to
2792 take the PREROLL lock when querying the latency. Fixes #473846.
2794 2007-09-05 Stefan Kost <ensonic@users.sf.net>
2797 Give some log-messages a category.
2799 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
2801 * gst/gststructure.c:
2802 (gst_structure_fixate_field_nearest_fraction):
2803 Fix fraction list fixation code. Take the fraction with the smallest
2804 difference with the target instead of the first one in the list.
2806 * tests/check/gst/gststructure.c: (GST_START_TEST),
2807 (gst_structure_suite):
2808 Added test to verify correct fraction list fixation behaviour.
2810 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
2812 * win32/common/libgstreamer.def:
2813 Export gst_bus_add_signal_watch too.
2815 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
2817 * docs/libs/gstreamer-libs-sections.txt:
2818 Add new methods to docs.
2820 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2821 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2822 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2823 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2824 * libs/gst/base/gstbasesink.h:
2825 Add ts-offset property to fine-tune the synchronisation.
2826 API: GstBaseSink::ts-offset property
2827 API: gst_base_sink_set_ts_offset()
2828 API: gst_base_sink_get_ts_offset()
2830 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
2832 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2833 (gst_base_sink_init), (gst_base_sink_set_sync),
2834 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2835 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2836 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2837 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2838 (gst_base_sink_get_property), (gst_base_sink_change_state):
2839 * libs/gst/base/gstbasesink.h:
2840 Add async property to instruct the sink never to inform the parent about
2841 ASYNC state changes, update docs.
2842 Check argument with g_return_* for the public functions.
2843 API: GstBaseSink::async property
2844 API: gst_base_sink_set_async_enabled()
2845 API: gst_base_sink_is_async_enabled()
2847 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
2849 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2852 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2853 (gst_base_src_default_query), (gst_base_src_wait),
2854 (gst_base_src_do_sync), (gst_base_src_change_state):
2855 Rearrange some code so that we can add support for measuring the
2858 2007-08-27 Stefan Kost <ensonic@users.sf.net>
2860 * docs/random/ensonic/dynlink.txt:
2861 More thoughs on this.
2863 * plugins/elements/gstcapsfilter.c:
2864 Add bugzilla ticket number to FIXME comment.
2866 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
2868 * docs/design/part-TODO.txt:
2869 * docs/design/part-block.txt:
2872 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2875 Revert patch which uses $(gst_headers) instead of $^ because it
2878 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2880 * tests/check/gst/gstbin.c: (GST_START_TEST):
2881 Fix leaks in the new unit test.
2883 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
2886 Don't use GST_INFO before the debug system is actually initialised
2887 (shouldn't do any harm, but won't print anything either, so we can
2888 just as well remove it).
2891 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2892 compilers that don't support variadic macros (such as MSVC), should
2893 check for debug_level <= __gst_debug_min as well, since that's the
2894 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2895 inline helper functions. Should improve performance a bit, but also
2896 makes sure uses of GST_INFO et.al are ignored if the debugging
2897 system isn't initialised yet (instead of printing an assertion
2900 2007-08-23 Stefan Kost <ensonic@users.sf.net>
2902 patch by: David Nečas <yeti@physics.muni.cz>
2905 Replace some non portable makefile constructs.
2907 2007-08-21 Stefan Kost <ensonic@users.sf.net>
2909 * common/gtk-doc-plugins.mak:
2910 Grrrrr. Don't remove the types file on make clean.
2912 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
2914 * tools/gst-launch.1.in:
2915 Add colorspace to example pipeline. Fixes #458274.
2917 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
2919 * docs/random/release:
2920 The release manager should run 'make download-po' before making a
2921 release to make sure translations are up-to-date.
2927 Add some new translations.
2929 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
2931 * tools/gst-launch.c: (event_loop), (main):
2932 Don´t try to do any state management when a live pipeline posts
2934 Also make the buffering string translatable.
2936 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2938 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2939 (bin_handle_async_start), (gst_bin_handle_message_func):
2941 When adding elements, insert messages into the bus of the newly added
2942 element and make sure the element is the source of the message. This
2943 allows the parent bin to intercept the message and do the
2944 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2945 messages to the app (which is not allowed).
2948 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2949 Fix testsuite so that is does not work around messages that should not
2950 have been posted in the first place.
2952 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2954 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2955 (update_degree), (gst_bin_sort_iterator_next):
2956 Fix annoying bug in the sorted iterator where a sink that is not really
2957 a sink (when it has downstream links) screwed up the iterator.
2959 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2960 Unit test to verify the fix.
2962 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2965 Add some more docs for the messages.
2967 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2968 (gst_base_sink_query):
2969 Add some more debugging.
2971 * tools/gst-launch.c: (event_loop):
2972 When interrupting, don't try to set pipeline to PAUSED twice.
2974 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2977 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2978 (bin_handle_async_start), (gst_bin_handle_message_func):
2979 Move ASYNC_START message posting to where it belongs, similar to
2981 Don't post ASYNC_START when we are in error.
2982 Post ASYNC_START when we added an async element to a bin.
2984 2007-08-14 Julien MOUTTE <julien@moutte.net>
2986 * gst/gstindex.c: (gst_index_add_association): Fix index entry
2987 generation from vargs. Fixes #466595.
2989 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2991 * gst/gstbin.c: (gst_bin_element_set_state):
2992 Always change the state of a NO_PREROLL element even if it has ASYNC
2993 elements inside (in case of a bin).
2995 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2996 Unit test for this case.
2998 2007-08-13 Stefan Kost <ensonic@users.sf.net>
3000 * libs/gst/check/gstbufferstraw.c:
3001 * libs/gst/check/gstcheck.h:
3002 * libs/gst/controller/gstcontroller.c:
3003 * libs/gst/controller/gstcontrolsource.h:
3004 * libs/gst/controller/gstlfocontrolsource.h:
3005 * plugins/elements/gstcapsfilter.h:
3006 * plugins/elements/gstfdsink.h:
3007 * plugins/elements/gstfdsrc.h:
3008 Add more missing docs.
3010 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3012 * gst/gststructure.c:
3013 Add Since tag to docs.
3015 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3017 * docs/gst/gstreamer-sections.txt:
3018 * gst/gststructure.c: (gst_structure_get_uint):
3019 * gst/gststructure.h:
3020 Add function to get uint from a structure.
3021 API: gst_structure_get_uint()
3023 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3025 * gst/gstcaps.c: (gst_caps_set_simple_valist),
3026 (gst_caps_intersect):
3027 Fix proper check for simple caps.
3029 2007-08-10 Stefan Kost <ensonic@users.sf.net>
3031 * docs/gst/Makefile.am:
3032 * docs/libs/Makefile.am:
3033 Remove cruft and do some cleanups.
3035 * docs/gst/gstreamer-docs.sgml:
3036 * docs/libs/gstreamer-libs-docs.sgml:
3037 Prepare for comming gtkdoc features (rebase against online docs).
3039 2007-08-10 Michael Smith <msmith@fluendo.com>
3041 * docs/gst/gstreamer-sections.txt:
3042 Add gst_registry_add_path to docs.
3044 2007-08-10 Michael Smith <msmith@fluendo.com>
3046 * gst/gstregistry.h:
3047 Add gst_registry_add_path, which was missing from this header.
3049 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
3051 * libs/gst/controller/gstlfocontrolsource.c:
3054 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3056 * libs/gst/base/gstbasesink.c:
3057 Don't send an async_start message during downwards state change if
3058 target state is less than READY
3060 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3062 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3066 Added Hungarian translation.
3068 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3075 Updated translations.
3077 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3079 * libs/gst/controller/Makefile.am:
3080 Dist gstlfocontrolsourceprivate.h
3082 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3084 * docs/libs/gstreamer-libs.types:
3085 Don't register the enum type gst_lfo_waveform_get_type() in the
3086 .types file - only GObject derived types belong.
3088 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3090 Patch by: <arenevier at fdn dot fr>
3093 Remove comma from last element in enum to avoid compile errors when
3094 using -pendantic. Fixes #464366.
3096 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3098 * docs/design/part-TODO.txt:
3099 Add some more TODO items
3101 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3104 * gst/gstcaps.c: (gst_caps_intersect):
3105 Optimize trivial intersection case between identical caps pointers.
3107 * gst/gstelement.c: (gst_element_continue_state),
3108 (gst_element_set_state_func):
3110 Fix spelling and grammar mistakes.
3112 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3116 Update POTFILES. Fixes #461599.
3118 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3121 Fix confusing typo in debug output.
3123 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3125 reviewed by: Stefan Kost <ensonic@users.sf.net>
3127 * libs/gst/controller/Makefile.am:
3128 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3129 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3130 (gst_lfo_control_source_new),
3131 (gst_lfo_control_source_set_waveform),
3132 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3133 (gst_lfo_control_source_finalize),
3134 (gst_lfo_control_source_dispose),
3135 (gst_lfo_control_source_set_property),
3136 (gst_lfo_control_source_get_property),
3137 (gst_lfo_control_source_class_init):
3138 * libs/gst/controller/gstlfocontrolsource.h:
3139 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3140 API: Add GstLFOControlSource, a control source that gives values
3141 for specific timestamps based on several periodic waveforms.
3144 * tests/check/libs/controller.c: (GST_START_TEST),
3145 (gst_controller_suite):
3146 * docs/libs/gstreamer-libs-docs.sgml:
3147 * docs/libs/gstreamer-libs-sections.txt:
3148 * docs/libs/gstreamer-libs.types:
3149 Add documentation and unit tests for GstLFOControlSource.
3151 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3156 === release 0.10.14 ===
3158 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3161 releasing 0.10.14, "Breathing Vacuum"
3163 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3165 * gst/gstelement.c: (gst_element_class_set_details_simple):
3167 Make strings passed to gst_element_class_set_details_simple()
3168 constant, as they should be (#462752).
3170 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3172 * gst/gstbin.c: (gst_bin_change_state_func),
3173 (bin_handle_async_done), (gst_bin_handle_message_func):
3174 Don't forget about the fact that some element went ASYNC even after a
3175 resync. This makes us post the ASYNC_DONE message correctly.
3178 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3180 * gst/gstregistry.c: (gst_registry_add_feature):
3181 When replacing an existing feature in the registry, make sure to
3182 continue holding a reference until we've replaced the name string
3183 within our feature hash table. Make sure to use g_hash_table_replace
3184 instead of g_hash_table_insert to ensure the new name string is used
3185 as a key instead of the old one that we're about to free.
3188 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3190 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3191 (gst_plugin_feature_set_name):
3192 Revert patch from #459466 until after the release and we can work
3193 out exactly what the problem is (if any).
3195 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3197 * docs/gst/gstreamer-sections.txt:
3200 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3202 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3204 * docs/libs/Makefile.am:
3205 Include our build-prefix libs and includes before the generic ones to
3206 avoid linking against the installed libs when we want the build-tree
3209 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3211 Patch by: Steve Fink <sphink gmail com>
3213 * docs/pwg/building-testapp.xml:
3214 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3215 if people try to build or install the example from the plugin
3216 template against a GStreamer from package using the configure
3219 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3221 Patch by: Steve Fink <sphink gmail com>
3223 * tools/gst-inspect.1.in:
3224 Document --print-all and --print-plugin-auto-install-info command
3225 line options in man page.
3227 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3229 * docs/gst/gstreamer-sections.txt:
3230 Add docs for new api function.
3232 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3234 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3235 * gst/gstelementfactory.h:
3236 API: gst_element_factory_has_interface()
3237 Added method to check if an element factory implements a named
3240 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3243 * docs/gst/gstreamer.types.in:
3244 Another conditional doc check.
3247 * gst/gstparamspecs.h:
3248 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3253 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3255 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3256 (gst_registry_binary_load_feature),
3257 (gst_registry_binary_load_plugin),
3258 (gst_registry_binary_read_cache):
3259 Print error just once and with additional info.
3261 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3263 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3264 (helper_find_suggest), (helper_find_get_length),
3265 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3266 (gst_type_find_helper_for_buffer):
3267 Cleanup the typefindhelper code and add private doc comments.
3269 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3271 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3272 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3273 Fix capsfilter for cases where the caps set on capsfilter will provide
3274 additional information.
3277 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3279 * gst/gsttypefindfactory.c:
3280 Fix docs that recommened wrong function to use.
3282 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3284 * tools/gst-inspect.c: (print_plugin_features):
3285 Also give media-type for typefinders in element output.
3287 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3289 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3290 (gst_registry_remove_features_for_plugin_unlocked),
3291 (gst_registry_add_feature), (gst_registry_remove_feature),
3292 (gst_registry_lookup_feature_locked):
3293 * gst/gstregistry.h:
3294 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3297 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3299 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3300 (gst_plugin_feature_set_name):
3301 Avoid double memory usage for pluginfeature names. Fixes #459466.
3303 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3306 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3307 driving the pipeline may need to explicitly check for NOT_LINKED as
3308 well, since IS_FATAL doesn't cover that.
3310 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3312 * docs/pwg/advanced-types.xml:
3313 Fix typo and duplicate entry in video formats list.
3315 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3317 * libs/gst/controller/gstinterpolation.c:
3318 Also round to the nearest int when using cubic interpolation.
3320 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3322 * libs/gst/controller/gstinterpolation.c:
3323 When linearly interpolating integer types, round to the nearest int
3324 by adding 0.5. Don't do it for float/double types.
3325 Fixes the failing controller test on my machine, which is somehow
3326 rounding differently than on the buildbots.
3328 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3330 * tools/gst-plot-timeline.py:
3331 Better log parsing (categories can have -). Adjust text vs. lines, so
3332 that they span the same y-range.
3334 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3336 * docs/random/ensonic/audiobaseclasses.txt:
3337 * docs/random/ensonic/dynlink.txt:
3338 * docs/random/ensonic/profiling.txt:
3341 * docs/random/moving-plugins:
3342 Add note to use g_assert type macros.
3344 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3347 * libs/gst/check/Makefile.am:
3348 Add libm check as we use in for plugins.
3350 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3352 * gst/gstbin.c: (gst_bin_continue_func):
3353 Check that the state_cookie hasn't changed since the continue_func
3354 was scheduled. Avoids problems where the state changes back to
3355 something it shouldn't be because it was changed in the meantime.
3357 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3359 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3360 (gst_registry_binary_save_string),
3361 (gst_registry_binary_save_pad_template),
3362 (gst_registry_binary_save_feature),
3363 (gst_registry_binary_save_plugin),
3364 (gst_registry_binary_load_feature),
3365 (gst_registry_binary_load_plugin),
3366 (gst_registry_binary_read_cache):
3367 Fix memory leak. Be less verbose in the log.
3369 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3371 * tests/check/elements/.cvsignore:
3372 Add file to cvsignore as commanded.
3374 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3376 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3377 (mq_dummypad_event), (run_output_order_test):
3378 Use a GStaticMutex to protect all cases where libcheck
3379 fail_if/fail_unless macros might be called from multiple threads
3380 simultaneously to avoid errors like:
3381 "check_pack.c:107: :-1081725400:Bad message type arg"
3383 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3385 * tests/check/pipelines/stress.c: (GST_START_TEST):
3386 Make sure we set the pipeline back to the NULL state before
3387 dropping our final reference.
3389 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3391 * tests/check/elements/tee.c: (GST_START_TEST):
3392 Make the tee stress-test a little less stressful so it doesn't just
3393 time out on slow-machines, and remove a small race when it's starting
3394 up by adding a get_state() call.
3396 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3399 Avoid reading registry twice on startup. Fixes #457322.
3401 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3403 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3404 * pkgconfig/gstreamer-check.pc.in:
3405 Substitute the CFLAGS for libcheck into our .pc file too so that
3406 dependent modules will pick it up properly if libcheck is installed
3407 into some other prefix.
3409 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3412 Revert the pkg-config check for libcheck, since it pulls in the
3413 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3414 a proper solution, either from the check project, or something else.
3416 2007-07-12 Stefan Kost <ensonic@users.sf.net>
3419 Use pkg-config to locate check.
3421 2007-07-10 Stefan Kost <ensonic@users.sf.net>
3428 Add deprecation guards.
3430 * libs/gst/base/gstcollectpads.h:
3431 Don't document object (this is implicitly private).
3433 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3435 * gst/gststructure.c: (gst_structure_parse_value):
3436 When deserialising foo=bar without a type cast, check if it's a
3437 boolean before falling back to a string type, otherwise things like
3438 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3439 because the filtercaps end up having a signed=(string)true field,
3440 which causes problems later when intersection caps.
3442 * tests/check/gst/gststructure.c: (GST_START_TEST):
3443 Add a unit test for this.
3445 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
3447 Reviewed by: Stefan Kost <ensonic@users.sf.net>
3449 * libs/gst/controller/Makefile.am:
3450 * libs/gst/controller/gstcontroller.c:
3451 (gst_controlled_property_add_interpolation_control_source),
3452 (gst_controlled_property_new), (gst_controlled_property_free),
3453 (gst_controller_find_controlled_property),
3454 (gst_controller_new_valist), (gst_controller_new_list),
3455 (gst_controller_new), (gst_controller_remove_properties_valist),
3456 (gst_controller_remove_properties_list),
3457 (gst_controller_remove_properties),
3458 (gst_controller_set_property_disabled),
3459 (gst_controller_set_disabled), (gst_controller_set_control_source),
3460 (gst_controller_get_control_source), (gst_controller_get),
3461 (gst_controller_sync_values), (gst_controller_get_value_array),
3462 (_gst_controller_dispose), (gst_controller_get_type),
3463 (gst_controlled_property_set_interpolation_mode),
3464 (gst_controller_set), (gst_controller_set_from_list),
3465 (gst_controller_unset), (gst_controller_unset_all),
3466 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3467 * libs/gst/controller/gstcontroller.h:
3468 * libs/gst/controller/gstcontrollerprivate.h:
3469 * libs/gst/controller/gstcontrolsource.c:
3470 (gst_control_source_class_init), (gst_control_source_init),
3471 (gst_control_source_get_value),
3472 (gst_control_source_get_value_array), (gst_control_source_bind):
3473 * libs/gst/controller/gstcontrolsource.h:
3474 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3475 (gst_object_get_control_source):
3476 * libs/gst/controller/gstinterpolation.c:
3477 (gst_interpolation_control_source_find_control_point_node),
3478 (gst_interpolation_control_source_get_first_value),
3479 (_interpolate_none_get), (interpolate_none_get),
3480 (interpolate_none_get_boolean_value_array),
3481 (interpolate_none_get_enum_value_array),
3482 (interpolate_none_get_string_value_array),
3483 (_interpolate_trigger_get), (interpolate_trigger_get),
3484 (interpolate_trigger_get_boolean_value_array),
3485 (interpolate_trigger_get_enum_value_array),
3486 (interpolate_trigger_get_string_value_array):
3487 * libs/gst/controller/gstinterpolationcontrolsource.c:
3488 (gst_control_point_free), (gst_interpolation_control_source_reset),
3489 (gst_interpolation_control_source_new),
3490 (gst_interpolation_control_source_set_interpolation_mode),
3491 (gst_interpolation_control_source_bind),
3492 (gst_control_point_compare), (gst_control_point_find),
3493 (gst_interpolation_control_source_set_internal),
3494 (gst_interpolation_control_source_set),
3495 (gst_interpolation_control_source_set_from_list),
3496 (gst_interpolation_control_source_unset),
3497 (gst_interpolation_control_source_unset_all),
3498 (gst_interpolation_control_source_get_all),
3499 (gst_interpolation_control_source_get_count),
3500 (gst_interpolation_control_source_init),
3501 (gst_interpolation_control_source_finalize),
3502 (gst_interpolation_control_source_dispose),
3503 (gst_interpolation_control_source_class_init):
3504 * libs/gst/controller/gstinterpolationcontrolsource.h:
3505 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3506 API: Refactor GstController into the core controller which can take
3507 a GstControlSource for providing actual values for timestamps.
3508 Implement a interpolation control source and use this for backward
3509 compatibility, deprecate a bunch of functions that are now handled
3510 by GstControlSource or GstInterpolationControlSource.
3511 Make it possible to disable the controller completely or only for
3512 specific properties. Fixes #450711.
3513 * docs/libs/gstreamer-libs-docs.sgml:
3514 * docs/libs/gstreamer-libs-sections.txt:
3515 * docs/libs/gstreamer-libs.types:
3516 Add new functions and classes to the docs.
3517 * tests/check/libs/controller.c: (GST_START_TEST),
3518 (gst_controller_suite):
3519 * tests/examples/controller/audio-example.c: (main):
3520 Port unit test and example to the new API and add some new
3523 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
3525 Patch by: Mark Nauwelaerts <manauw at skynet be>
3527 * plugins/elements/gstmultiqueue.c:
3528 (gst_multi_queue_get_internal_links), (apply_buffer),
3529 (single_queue_overrun_cb), (gst_single_queue_new):
3530 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3531 the pipeline layout can be tracked correctly. Fixes #453732.
3533 2007-07-05 Stefan Kost <ensonic@users.sf.net>
3535 * docs/gst/Makefile.am:
3536 * docs/libs/Makefile.am:
3537 * docs/plugins/Makefile.am:
3538 Simplify --extra-dir as gtkdoc scans recursively.
3540 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3542 * tools/gst-launch.c: (main):
3543 When we got an error, there is no point in waiting for preroll when
3546 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3548 * plugins/elements/gsttee.c: (gst_tee_base_init),
3549 (gst_tee_request_new_pad), (gst_tee_release_pad),
3550 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3551 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3553 Be a lot smarter when deciding what srcpad to use for proxying
3554 the buffer_alloc. Also handle pad added/removed when doing so.
3556 Keep track of what pads we already pushed on in case we have pads
3557 added/removed while pushing. Fixes #374639
3559 * tests/check/Makefile.am:
3560 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3562 Added unit test for pad resync.
3564 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3568 Updated translations.
3570 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3572 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3576 Added new Finnish translation.
3578 2007-06-28 Wim Taymans <wim@fluendo.com>
3580 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3581 (single_queue_overrun_cb):
3582 When figuring out when a queue is filled, use our internal time estimate
3583 based on segments, just like check_full does.
3585 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3587 * gst/gstminiobject.c: (gst_mini_object_get_type):
3588 Remove 3 do-nothing methods.
3590 2007-06-27 Wim Taymans <wim@fluendo.com>
3592 Patch by: Tim Angus <tim at ngus dot net>
3594 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3595 (gst_capsfilter_set_property):
3596 Take a reference instead of a copy when setting "caps".
3597 Fix documentation to clarify this behaviour. Fixes #449414.
3599 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3601 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3602 * gst/gstplugin.c: (gst_plugin_init):
3603 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3604 * gst/gstquery.c: (gst_query_get_type):
3605 * gst/gstregistry.c: (gst_registry_init):
3606 * gst/gsturi.c: (gst_uri_handler_base_init):
3607 Remove empty instance_init() functions to save relocs and lessen the
3608 noise. Remove some of the function prototypes that are doubled by
3611 2007-06-27 Wim Taymans <wim@fluendo.com>
3613 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3615 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3616 Add peer and direction in the XML serialisation of ghostpads.
3619 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3622 Preserve useful information, thanks Tim.
3624 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
3626 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3627 (gst_single_queue_flush), (apply_segment), (apply_buffer),
3628 (gst_single_queue_push_one), (gst_multi_queue_loop),
3629 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3630 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3631 (compute_high_id), (gst_single_queue_new):
3632 * plugins/elements/gstmultiqueue.h:
3633 Take the multiqueue lock when updating the fill level so we don't get
3636 After applying a buffer or event on the src pad segment, make sure to
3637 call gst_data_queue_limits_changed() to get the data queue to unblock
3638 and check the filled state again.
3640 Rework the not-linked pad handling so the logic is that not-linked
3641 pads can push as fast as they like, but only so they never get
3642 ahead of any linked pads.
3644 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3645 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3646 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3648 Add a test to check that not-linked pads always stay behind
3653 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
3655 * docs/random/release:
3656 Some updates to the release procedure.
3658 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3660 * gst/gstelementfactory.c: (__gst_element_details_clear):
3661 Microoptimization that saves stunning 80 bytes.
3663 2007-06-25 Stefan Kost <ensonic@users.sf.net>
3665 * docs/plugins/gstreamer-plugins.args:
3666 * docs/plugins/inspect/plugin-coreelements.xml:
3667 * docs/plugins/inspect/plugin-coreindexers.xml:
3668 Update docs with caps info.
3670 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3673 Updated Italian translation.
3675 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3679 Update Vietnamese translations.
3681 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3683 * libs/gst/base/gstbasesink.c:
3684 Remove unused signal enum.
3686 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3688 * docs/gst/gstreamer-sections.txt:
3690 * gst/gstutils.c: (gst_type_register_static_full):
3691 Beef up and include the docs for gst_type_register_static_full and
3692 gst_element_class_set_details_simple and add the API keyword
3695 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3697 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3698 (update_time_level), (gst_single_queue_push_one),
3699 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3700 (single_queue_overrun_cb), (single_queue_underrun_cb),
3701 (single_queue_check_full):
3702 Fix setting max-* properties after adding queues.
3703 Use IS_FILLED for checking visible items.
3704 Signal overrun if multiple queues overrun.
3705 Add extra debug output.
3706 Patch by: Wim Taymans <wim@fluendo.com>
3708 2007-06-21 Stefan Kost <ensonic@users.sf.net>
3710 * gst/gstelement.c: (gst_element_class_set_details_simple):
3712 * gst/gstutils.c: (gst_type_register_static_full):
3714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3715 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3716 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3717 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3718 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3719 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3720 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3721 * plugins/elements/gstidentity.c: (gst_identity_base_init):
3722 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3723 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3724 (apply_buffer), (gst_queue_chain):
3725 * plugins/elements/gsttee.c: (gst_tee_base_init):
3726 * plugins/elements/gsttypefindelement.c:
3727 (gst_type_find_element_base_init),
3728 (gst_type_find_element_class_init):
3729 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3730 API: add gst_type_register_static_full
3731 API: add gst_element_class_set_details_simple
3733 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3735 * docs/pwg/advanced-types.xml:
3736 Fix typo in iana.org URI.
3738 2007-06-19 Andy Wingo <wingo@pobox.com>
3740 * tests/check/pipelines/simple-launch-lines.c
3741 (test_state_change_returns): Enable pull-mode tests now that
3742 basesink has been fixed.
3744 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3745 Changed from gst_base_sink_is_prerolled, reversing the sense of
3746 the return value. Returns FALSE also if the sink is in pull mode,
3747 in which case it needs no preroll.
3748 (gst_base_sink_query, gst_base_sink_change_state): Update for
3749 needs_preroll change.
3750 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3751 chaining up, in which we return SUCCESS directly if we activated
3752 in pull mode instead of ASYNC. Involves countering an async_start
3753 message sent before chaining up; not sure if this is correct, in
3754 an ideal world we only send async-start when activating in push
3757 * tests/check/pipelines/simple-launch-lines.c
3758 (test_state_change_returns): New test, partially disabled until
3761 2007-06-19 Wim Taymans <wim@fluendo.com>
3763 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3764 (gst_multi_queue_sink_event):
3767 2007-06-19 Wim Taymans <wim@fluendo.com>
3769 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3770 (gst_bin_change_state_func), (bin_push_state_continue),
3771 (bin_handle_async_start), (bin_handle_async_done),
3772 (gst_bin_handle_message_func):
3773 Move the common code for posting state-change messages into
3775 Broadcast the state signal after we posted the messages.
3776 Mark the bin as busy when it's doing a state-change.
3777 Make sure async-start/done messages don't interfere with the bin's
3778 state when it's busy.
3779 After the state change, let the bin check which elements completed the
3780 state change while it was busy so that it can update its state.
3782 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
3784 * docs/random/release:
3785 Add a note about updating the doap file to the release checklist
3787 2007-06-18 Wim Taymans <wim@fluendo.com>
3789 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3790 (gst_single_queue_push_one), (gst_multi_queue_chain),
3791 (gst_multi_queue_sink_event):
3792 Make sure we don't reference the buffer/event after we have given away
3793 ownership in the queue.
3795 2007-06-18 Wim Taymans <wim@fluendo.com>
3797 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3798 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3799 Update queue state _after_ adding the item in the queue because else we
3800 could end up being full without the element added yet.
3802 2007-06-18 Wim Taymans <wim@fluendo.com>
3804 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3805 (gst_bin_remove_func), (gst_bin_get_state_func),
3806 (gst_bin_element_set_state), (gst_bin_continue_func),
3807 (bin_push_state_continue), (bin_handle_async_start),
3808 (bin_handle_async_done), (gst_bin_handle_message_func):
3810 Immediatly commit the toplevel bin state when receiving an async-done
3811 message. This enables us to avoid spawning a thread to commit the state
3812 in some common cases and it also avoids some races.
3813 Avoid spawning a state thread when adding/removing async elements to a
3814 toplevel bin. Instead we immediatly update the bin state.
3815 Get rid of iterating all the children when getting the state in the bin
3816 because it is now always up-to-date.
3817 Fix bug where locked elements would always return _SUCCESS even it they
3818 returned NO_PREROLL before being locked.
3819 Fix the order of the state_change, async-start/done messages that was
3820 sometimes incorrect.
3821 Mark the state_dirty field as deprecated, we don't need it anymore as we
3822 are always up-to-date.
3824 * gst/gstelement.c: (gst_element_get_state_func),
3825 (gst_element_continue_state):
3826 Small debug inprovements.
3827 Return the previous element state return when nothing is pending instead
3828 of blindly returning SUCCESS.
3830 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3832 Add a whole bunch of new testcases.
3834 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
3838 Update translations.
3840 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
3843 Fix typo in the docs.
3845 2007-06-15 Wim Taymans <wim@fluendo.com>
3847 * docs/libs/gstreamer-libs-sections.txt:
3848 Add docs for new methods.
3850 2007-06-15 Wim Taymans <wim@fluendo.com>
3852 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3853 (gst_multi_queue_item_new):
3854 Don't use GSlice because we don't depend on >= 2.10 yet.
3856 2007-06-15 Wim Taymans <wim@fluendo.com>
3858 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3859 (update_time_level), (apply_segment), (apply_buffer),
3860 (gst_single_queue_push_one), (gst_multi_queue_item_new),
3861 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3862 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3863 (single_queue_underrun_cb), (single_queue_check_full):
3864 Remove debug printf.
3866 2007-06-15 Wim Taymans <wim@fluendo.com>
3868 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3869 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3870 (gst_data_queue_set_flushing), (gst_data_queue_push),
3871 (gst_data_queue_pop), (gst_data_queue_drop_head),
3872 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3873 * libs/gst/base/gstdataqueue.h:
3875 Added methods to get the current levels and to inform the queue that the
3876 'full' limits changed.
3878 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3879 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3880 (gst_single_queue_flush), (update_time_level), (apply_segment),
3881 (apply_buffer), (gst_single_queue_push_one),
3882 (gst_multi_queue_item_steal_object),
3883 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3884 (gst_multi_queue_loop), (gst_multi_queue_chain),
3885 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3886 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3887 (gst_multi_queue_src_query), (single_queue_overrun_cb),
3888 (single_queue_underrun_cb), (single_queue_check_full),
3889 (gst_single_queue_new):
3890 Keep track of time in the queue by measuring the difference between
3891 running_time on input and output. This gives more accurate results and
3892 can compensate for segments correctly.
3893 Make a queue by default only 5 buffers deep. We will now increase the
3894 buffer size depending on the filledness of the other queues.
3895 Factor out commong flush code.
3896 Make sure we don't add additional refcounts to buffers when we can avoid
3898 Propagate GstFlowReturn differently.
3899 Use GSlice for intermediate GstMultiQueueItems.
3901 Resize queues on over and underruns based on filled level of other
3903 When checking if the queue is filled, prefer to measure in time if we
3904 can and fall back to bytes when no time is known.
3906 * plugins/elements/gstqueue.c:
3909 2007-06-15 Wim Taymans <wim@fluendo.com>
3911 * libs/gst/base/gstbasetransform.c:
3912 (gst_base_transform_sink_event):
3913 Work around the brokenness of the event vmethod in basetransform. Prefer
3914 to return TRUE when the subclass returned FALSE (meaning don't forward
3917 * libs/gst/base/gstbasetransform.h:
3920 2007-06-15 Wim Taymans <wim@fluendo.com>
3922 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3923 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3924 (gst_base_src_default_query), (gst_base_src_get_range),
3925 (gst_base_src_start):
3926 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3929 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3931 * docs/pwg/advanced-types.xml:
3932 Added more formats to caps table.
3934 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3936 * tools/gst-launch.c: (main):
3937 Remove crufy code. GOption does not need this workaround.
3939 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3941 * libs/gst/controller/gstcontroller.c:
3942 (gst_controlled_property_set_interpolation_mode):
3943 Fix wrong getter for enums in controller.
3945 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3947 * libs/gst/check/gstcheck.c: (gst_check_init):
3948 Intercept criticals and warnings in the Gst-Phonon log domain, so
3949 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3952 2007-06-14 Edward Hervey <edward@fluendo.com>
3954 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3955 Since this file doesn't include "gst.h" it will not go through the
3956 macros that disable GST_LOG if debugging was disabled.
3958 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3960 * libs/gst/check/Makefile.am:
3961 * libs/gst/check/gstcheck.h:
3962 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3963 * pkgconfig/gstreamer-check.pc.in:
3964 Ugly 'fix' for the controller unit test on the p5 bot: in
3965 fail_unless_equals_float() check whether the values are 'almost
3966 equal' by allowing a small absolute error, which should be good
3967 enough for our use cases (normal numbers and values close to 0).
3968 Proper fixage left to floating point arithmetic aficionados.
3970 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3972 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3973 (gst_base_sink_render_object), (gst_base_sink_get_position):
3974 Add two breaks thats where missing.
3976 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3978 * docs/libs/gstreamer-libs-sections.txt:
3979 * libs/gst/check/gstcheck.h:
3980 API: add fail_unless_equals_float() and assert_equals_float().
3981 Add documentation for some of the macros.
3983 * tests/check/libs/controller.c: (GST_START_TEST):
3984 Use newly-added asserts.
3986 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3988 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3989 Show the caps change in the log to help spotting the case of not
3990 exactly matching caps.
3992 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3994 * docs/pwg/building-boiler.xml:
3995 Fix typos, spotted by Thijs Vermeir (#447190).
3997 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3999 * docs/plugins/tmpl/.cvsignore:
4000 Ignore file to keep the buildbots happy
4002 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4004 * docs/plugins/Makefile.am:
4005 * docs/plugins/gstreamer-plugins-docs.sgml:
4006 * docs/plugins/gstreamer-plugins-sections.txt:
4007 Pull fdsink into the docs too.
4009 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
4011 * libs/gst/controller/gstinterpolation.c:
4012 Actually use the new functions with min/max checks for the trigger and
4013 none interpolation modes for get() and get_value_array() instead of
4016 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
4018 * libs/gst/controller/gstcontroller.c:
4019 (gst_controlled_property_free):
4020 Unset the minimum and maximum GValues when freeing the corresponding
4021 GstControllerProperty struct.
4023 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
4025 * libs/gst/controller/gstcontroller.c:
4026 (gst_controlled_property_new):
4027 * libs/gst/controller/gstcontrollerprivate.h:
4028 * libs/gst/controller/gstinterpolation.c:
4029 (gst_controlled_property_find_control_point_node),
4030 (interpolate_none_get), (interpolate_none_get_enum_value_array),
4031 (interpolate_none_get_string_value_array),
4032 (interpolate_trigger_get),
4033 (interpolate_trigger_get_enum_value_array),
4034 (interpolate_trigger_get_string_value_array):
4035 Protect against values larger or smaller than the minimum or maximum
4036 allowed value for the property when using values that can be compared.
4038 Optimize trigger interpolator a bit by taking the last requested value
4039 into account instead of always looping through the complete list.
4041 Fix coding style a bit, everywhere else we use "return foo" instead
4044 * tests/check/libs/controller.c: (GST_START_TEST),
4045 (gst_controller_suite):
4046 Add unit test for the protection against too large or too small
4049 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
4051 * docs/random/slomo/controller.txt:
4052 Add some thoughts about the future of the controller.
4054 2007-06-08 Wim Taymans <wim@fluendo.com>
4056 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4057 Don't overflow in retimestamping code.
4059 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4061 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4062 Use gst_util_guint64_to_gdouble for conversions.
4063 * win32/common/libgstreamer.def:
4064 Add new exported functions.
4066 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4069 Small docs addition.
4071 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4074 Remove that test line again.
4076 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4079 Test commit mail sending.
4081 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4084 Fix typo and test commit mail sending.
4086 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4088 * tests/examples/controller/audio-example.c:
4089 Improve comment and test commit mail sending.
4091 2007-06-07 Wim Taymans <wim@fluendo.com>
4093 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4094 (gst_bin_remove_func), (gst_bin_element_set_state),
4095 (bin_handle_async_start), (bin_handle_async_done),
4096 (gst_bin_handle_message_func):
4097 Add helper function to find messages.
4098 Generate the async-done messages together with the state change
4100 Small cleanups in handling toplevel bins.
4102 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4104 * libs/gst/base/gstdataqueue.c:
4105 * libs/gst/base/gstdataqueue.h:
4106 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4107 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4108 (gst_multi_queue_sink_event):
4109 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4110 Fix multiqueue leaking buffers and events when downstream or the
4111 queue are flushing. Make refcounting assumptions explicit and
4112 document them (shouldn't break existing code that uses it other than
4113 maybe leak miniobjects, but that already happens anyway). Add unit
4114 test for the most common flushing case. Fixes #423700.
4116 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4118 * libs/gst/controller/gstcontroller.c:
4119 Clarify docs: The get_all, get_value_array(s) functions
4120 don't modify the GObject properties.
4122 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4124 * libs/gst/controller/gstcontroller.c:
4125 (gst_controlled_property_set_interpolation_mode),
4126 (gst_controlled_property_prepend_default),
4127 (gst_controlled_property_new), (gst_controller_set_unlocked),
4128 (gst_controller_set), (gst_controller_set_from_list),
4129 (gst_controller_unset), (gst_controller_unset_all):
4130 * libs/gst/controller/gstcontrollerprivate.h:
4131 * libs/gst/controller/gstinterpolation.c:
4132 Factor out the 'set' logic into gst_controller_set_unlocked for the
4133 gst_controller_set and gst_controller_set_from_list functions.
4135 To make life of the interpolators easier always add a control point
4136 at timestamp zero with the default value.
4138 In the linear interpolator make things more obvious by better variable
4141 Implement cubic interpolation mode (by using a natural cubic spline)
4142 and map the quadratic interpolation mode to this too (as quadratic
4143 doesn't make much sense, see discussion on the list).
4145 * tests/check/libs/controller.c: (GST_START_TEST),
4146 (gst_controller_suite):
4147 Add unit test for the cubic interpolation mode and check everywhere
4148 if the interpolation mode could be set as expected.
4150 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4152 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4153 Don't use GLib-2.10 functions, we still depend on
4154 GLib-how-old-is-it-again-2.8.
4156 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4158 * docs/gst/gstreamer-sections.txt:
4162 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4163 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4164 (_gst_param_fraction_values_cmp),
4165 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4166 * gst/gstparamspecs.h:
4168 * tests/check/Makefile.am:
4169 * tests/check/gst/.cvsignore:
4170 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4171 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4172 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4173 (GST_START_TEST), (gst_param_spec_suite):
4174 API: add GstParamSpecFraction, so elements can have fraction
4175 properties without lots of painful string parsing (#444648).
4177 2007-06-05 Wim Taymans <wim@fluendo.com>
4179 * gst/gstobject.c: (gst_object_class_init):
4180 Fix signal signature.
4183 Add small clarification in the api docs.
4185 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4186 States are protected with object lock.
4188 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4191 I should probably be listed as an author by now.
4193 * docs/random/release:
4194 Update the release doc
4196 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4199 Make docs for gst_value_compare() mention return enums that
4202 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4207 === release 0.10.13 ===
4209 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4212 releasing 0.10.13, "With or without you"
4214 2007-05-25 Wim Taymans <wim@fluendo.com>
4216 * gst/gstbin.c: (bin_handle_async_done):
4217 Make sure that the child bin stops after completing the async state
4218 change so that the parent can continue the state change to PLAYING.
4221 2007-05-25 Wim Taymans <wim@fluendo.com>
4223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4224 (unref_data), (gst_collect_pads_remove_pad),
4225 (gst_collect_pads_check_pads):
4226 Use additional refcounting to avoid crashes when dynamically adding and
4227 removing pads. Fixes #420206.
4229 2007-05-24 Wim Taymans <wim@fluendo.com>
4231 * tools/gst-launch.c: (event_loop):
4232 When buffering goes from a two digit to a single digit number, make sure
4233 to remove the old second digit by writing a blank over it.
4235 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4237 * libs/gst/base/gstdataqueue.c:
4238 Eliminate tabs and trailing comma in enum list; fix some typos.
4240 2007-05-24 Wim Taymans <wim@fluendo.com>
4242 * tests/check/gst/gstbin.c: (GST_START_TEST):
4243 Allow refcount of 3 and 4 because some state thread might still be busy
4246 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4248 * plugins/elements/Makefile.am:
4249 * plugins/elements/gstmultiqueue.h:
4250 * plugins/elements/gstqueue.h:
4251 These are not installed headers, no need for padding.
4253 2007-05-24 Wim Taymans <wim@fluendo.com>
4255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4256 (gst_bin_continue_func):
4257 Enable latency for next release.
4258 Restore STATE_LOCK around recalc_state that was left out during the
4259 rewrite and could result in racy behaviour when _get_state and
4260 recalc_state are run concurrently. See #440463.
4262 2007-05-23 Wim Taymans <wim@fluendo.com>
4264 * tests/check/gst/gstsystemclock.c: (store_callback),
4266 Improve test_async_order to also work when both timers are already
4267 expired when we get scheduled to check it.
4269 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4271 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4272 (gst_bin_set_property), (gst_bin_get_property),
4273 (gst_bin_remove_func), (gst_bin_handle_message_func):
4275 'private' is a c++ keyword, let's not use that in header files,
4276 otherwise c++ compilers will throw a tantrum.
4278 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4280 * plugins/elements/gstelements.c:
4281 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4282 (gst_file_sink_get_current_offset):
4283 * plugins/indexers/gstindexers.c: (plugin_init):
4284 Use #ifdef for HAVE_XYZ for consistency.
4286 * tests/check/Makefile.am:
4287 * tests/check/elements/.cvsignore:
4288 * tests/check/elements/filesink.c: (setup_filesink),
4289 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4290 Add some unit tests for filesink.
4292 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4294 Patch by: Mark Nauwelaerts <manauw at skynet be>
4296 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4297 (gst_file_sink_query), (gst_file_sink_do_seek),
4298 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4299 * plugins/elements/gstfilesink.h:
4300 Fix position reporting; rename data_written member to current_pos to
4301 reflect its real meaning (fixes #412648).
4303 2007-05-22 Edward Hervey <edward@fluendo.com>
4305 * docs/gst/gstreamer-sections.txt:
4306 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4307 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4308 (gst_bin_remove_func), (gst_bin_handle_message_func):
4310 Add a property for bins that handle the state change of their childs.
4313 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4315 * libs/gst/controller/gstinterpolation.c:
4316 Use an array of the correct type when using _get_value_array with
4317 linear interpolation.
4319 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4321 * gst/gstelement.c (gst_element_requires_clock,
4322 gst_element_provides_clock, gst_element_request_pad,
4323 gst_element_class_set_details, gst_element_class_set_details_simple,
4324 gst_element_default_send_event, gst_element_abort_state,
4325 gst_element_continue_state, gst_element_set_state,
4326 gst_element_set_state_func, iterator_activate_fold_with_resync):
4327 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4328 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4329 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4330 gst_pad_get_range, gst_pad_pull_range):
4331 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4332 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4333 GstPadActivateModeFunction, GstPadChainFunction,
4334 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4335 GstPadFixateCapsFunction, GstPadTemplate):
4336 * gst/gstpipeline.c (gst_pipeline_change_state,
4337 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4338 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4339 gst_pipeline_get_delay):
4340 Whitespace and docs fixes.
4342 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4344 * libs/gst/controller/gstinterpolation.c:
4345 (interpolate_trigger_get_enum_value_array),
4346 (interpolate_trigger_get_string_value_array):
4347 Add support for retrieving value arrays when using the trigger
4350 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4352 * libs/gst/controller/gstcontroller.c:
4353 (gst_controller_get_value_array):
4354 * libs/gst/controller/gstcontroller.h:
4355 Clarify the docs of gst_controller_get_value_array(): The array where
4356 the values should be written to must be allocated as there seems to be
4357 no way to get the size of a random GType. This doesn't change any
4358 behaviour. Also fix some typos all over the place and remove an unused,
4359 commented function that is not necessary as g_object_set() could be
4361 * tests/check/libs/controller.c: (GST_START_TEST),
4362 (gst_controller_suite):
4363 Add unit test for gst_controller_get_value_array().
4365 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4367 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4369 Disable part of the gst_buffer_try_new_and_alloc test, because
4370 it can happily succeed on 64-bit systems where there's more address
4373 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4375 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4376 Add unit test for the improved caps checking from bug #421543.
4378 2007-05-21 Wim Taymans <wim@fluendo.com>
4380 * docs/design/part-synchronisation.txt:
4383 * gst/gstbin.c: (gst_bin_query):
4384 * plugins/elements/gstqueue.c: (apply_segment):
4390 2007-05-21 Wim Taymans <wim@fluendo.com>
4392 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4393 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4394 (gst_pad_configure_src):
4395 Added simple version of improved caps checking. It was previously
4396 assumed that a setcaps function would check the validity of the caps but
4397 people prefer us to check caps against the template automatically.
4400 2007-05-21 Wim Taymans <wim@fluendo.com>
4402 * libs/gst/base/gstbasetransform.h:
4403 Fix macro for locking/unlocking the transform lock.
4405 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
4407 * docs/plugins/tmpl/.cvsignore:
4410 2007-05-18 Edward Hervey <edward@fluendo.com>
4412 * plugins/elements/gstqueue.c: (gst_queue_loop):
4413 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4414 for the subtle art of warning a potentially blocking thread that it
4415 should check the source pad return value, and relay the information
4418 2007-05-18 Edward Hervey <edward@fluendo.com>
4420 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4421 Release the queue lock !
4423 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4425 * docs/libs/gstreamer-libs-sections.txt:
4426 Add the two new controller functions to the appropiate places.
4428 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4430 reviewed by: Stefan Kost <ensonic@users.sf.net>
4432 * libs/gst/controller/gstcontroller.c:
4433 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4434 (_gst_controller_get_property), (_gst_controller_set_property),
4435 (_gst_controller_init), (_gst_controller_class_init):
4436 * libs/gst/controller/gstcontroller.h:
4437 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4438 (gst_object_get_control_rate), (gst_object_set_control_rate):
4439 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4440 Add API that provides sync suggestion timestamps for elements that
4441 call gst_object_sync_values() from which those elements can subdivide
4442 their processing loop to get the best results for the controlled
4443 properties. For now it just suggests last_sync + control_rate as
4444 new timestamp but this will be improved in the future.
4446 While doing that change the control-rate property to a GstClockTime
4447 from guint and change it's meaning from samples to nanoseconds as
4448 the GstController doesn't know anything about sampling rate. Strictly
4449 speaking this breaks ABI but as the control-rate property didn't do
4450 anything in the past and as such couldn't be used this should be no
4453 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4455 reviewed by: Stefan Kost <ensonic@users.sf.net>
4457 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4458 (gst_controller_unset_all):
4459 * libs/gst/controller/gstcontrollerprivate.h:
4460 * libs/gst/controller/gstinterpolation.c:
4461 (gst_controlled_property_find_control_point_node):
4462 Save last synced value from the list to continue searching from there
4463 in future syncs. This speeds everything up a bit.
4465 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4467 reviewed by: Stefan Kost <ensonic@users.sf.net>
4469 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4470 (gst_control_point_find), (gst_controlled_property_new),
4471 (gst_control_point_free), (gst_controlled_property_free),
4472 (gst_controller_set), (gst_controller_set_from_list),
4473 (gst_controller_unset), (gst_controller_unset_all),
4474 (gst_controller_sync_values):
4475 * libs/gst/controller/gstcontroller.h:
4476 * libs/gst/controller/gstcontrollerprivate.h:
4477 * libs/gst/controller/gstinterpolation.c:
4478 (gst_controlled_property_find_control_point_node),
4479 (interpolate_none_get), (interpolate_trigger_get):
4480 Add a new private GstControlPoint struct which "inherits" from
4481 GstTimedValue to allow different interpolators to store internal
4482 values next to each control point. From the outside everything is
4483 still a GstControlPoint so we don't loose binary compatibility.
4484 Also fixup all the GValue handling to not leak GValues or list nodes.
4485 * tests/check/libs/controller.c: (GST_START_TEST):
4486 Free the list nodes and GValues in the controller_misc test.
4488 2007-05-17 Edward Hervey <edward@fluendo.com>
4493 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
4495 * gst/gstplugin.c: (gst_plugin_load_file):
4496 If we fail to load a plugin because of unresolved symbols or missing
4497 libraries and spew a warning to stderr, we may just as well mention
4498 which plugin it was that failed to load.
4500 2007-05-13 David Schleef <ds@schleef.org>
4502 * docs/Makefile.am: the gtk-doc makefile snippet correctly
4503 handles the case when ENABLE_GTK_DOC is false, and installs
4504 the prebuilt documentation. So gtk-doc subdirs are
4505 unconditionally enabled. Fixes: #349099.
4507 2007-05-13 David Schleef <ds@schleef.org>
4509 * gst/gstutils.h: Reword some documentation.
4511 2007-05-12 David Schleef <ds@schleef.org>
4513 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4514 do anything with the passed "module" parameter, so remove it.
4515 Allows removal of additional vestigal code.
4517 2007-05-12 David Schleef <ds@schleef.org>
4520 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4521 Switch to using g_stat() because it's more portable.
4523 2007-05-12 David Schleef <ds@schleef.org>
4526 Add GST_DISABLE_OPTION_PARSING, in order to disable option
4527 parsing for embedded systems.
4528 * gst/gstelementfactory.c:
4529 Allow gst_element_register() to be called with plugin==NULL.
4530 Did nobody notice that static elements were broken?
4532 2007-05-12 Wim Taymans <wim@fluendo.com>
4534 * tools/gst-launch.c: (event_loop):
4535 Give more interesting info when buffering starts and stops.
4536 Fix case where buffering starts but we fail to update the buffering flag
4537 because the target state is not PLAYING.
4539 2007-05-12 Wim Taymans <wim@fluendo.com>
4541 * plugins/elements/gstqueue.c: (gst_queue_init),
4542 (gst_queue_finalize), (update_time_level), (apply_segment),
4543 (apply_buffer), (gst_queue_locked_flush),
4544 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4545 (gst_queue_handle_sink_event), (gst_queue_chain),
4546 (gst_queue_push_one), (gst_queue_loop):
4547 * plugins/elements/gstqueue.h:
4548 Refactor an cleanup queue a bit.
4549 Do better time level calculations that also work when the srcpad is not
4551 Remove some unneeded debug lines.
4553 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4554 Added testcase for time level measurement.
4555 Try to make some stuff more racefree.
4557 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4559 * gst/gsturi.c: (gst_element_make_from_uri):
4560 Don't leak plugin feature.
4562 * tests/check/Makefile.am:
4563 * tests/check/gst/.cvsignore:
4564 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4565 Add brain-dead unit test.
4567 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4569 Patch by: Jeroen Wouters <woutersj at gmail com>
4571 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4572 Treat protocol strings in a case-insensitive way (#437563).
4574 2007-05-11 Michael Smith <msmith@fluendo.com>
4576 * gst/gstplugin.c: (gst_plugin_load_file):
4577 * gst/gstregistry.c: (gst_registry_scan_path_level):
4578 Don't print a g_warning for any failure to load a shared object.
4579 Instead, push this down into gstplugin.c, and warn _only_ if we
4580 failed to open the module (i.e. failure to link).
4581 Avoids warnings on normal, working, non-plugin .so files.
4583 2007-05-11 Stefan Kost <ensonic@users.sf.net>
4585 * gst/gstplugin.c (gst_plugin_load_file):
4586 * gst/gstregistry.c (GST_CAT_DEFAULT,
4587 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4588 Print a g_warning if there was an error when loading a plugins during
4589 registry scan. The shuld help beginners starting with gst-plugin
4592 2007-05-10 Wim Taymans <wim@fluendo.com>
4594 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4595 (update_time_level), (gst_queue_locked_flush),
4596 (gst_queue_handle_sink_event), (gst_queue_chain),
4597 (gst_queue_push_one), (gst_queue_loop):
4598 * plugins/elements/gstqueue.h:
4599 Be smarter when calculating the current amount of data in the queue by
4600 measuring the difference between start and end timestamps (in running
4601 time) inside the queue. Fixes #432876.
4602 API: GstQueue::pushing to notify elements that we are pushing data again
4603 since the running signal is rather broken for this purpose.
4605 2007-05-10 Stefan Kost <ensonic@users.sf.net>
4607 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4608 gst_queue_base_init, gst_queue_init):
4611 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
4613 * win32/common/libgstreamer.def:
4614 Add new exported functions.
4615 * win32/vs6/grammar.dsp:
4616 Use grammar pre-generated files.
4618 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4620 Based on patch by: Peter Kjellerstedt <pkj at axis com>
4623 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4625 * gst/gstutils.c: (gst_parse_bin_from_description):
4627 Maintain API and ABI when --disable-parse is used. Now that
4628 we have an appropriate error code, we can just return NULL and the
4629 appropriate error when gst_parse_launch() is used despite it having
4630 been disabled (#342564).
4632 * tests/check/Makefile.am:
4633 * tests/check/pipelines/.cvsignore:
4634 * tests/check/pipelines/parse-disabled.c:
4635 Make sure these functions exist and return NULL plus a GError when
4636 --disable-parse is used.
4638 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4640 * tests/benchmarks/complexity.c: (main):
4641 * tests/benchmarks/mass-elements.c: (main):
4642 Set a good example and don't leak messages.
4644 2007-05-06 Stefan Kost <ensonic@users.sf.net>
4646 * docs/gst/Makefile.am:
4647 * docs/libs/Makefile.am:
4648 Correct fixxrefs options.
4650 * docs/plugins/Makefile.am:
4651 * docs/plugins/gstreamer-plugins-docs.sgml:
4652 * docs/plugins/gstreamer-plugins-sections.txt:
4653 * plugins/elements/Makefile.am:
4654 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4655 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4656 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4657 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4658 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4659 _GstCapsFilterClass, trans_class):
4660 * plugins/elements/gstelements.c (name, rank, type, _elements):
4661 * plugins/elements/gstidentity.c
4662 (gst_identity_check_imperfect_timestamp,
4663 gst_identity_check_imperfect_offset):
4664 Document capsfilter and add doc-blurb to identity.
4666 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
4668 * libs/gst/controller/gstcontroller.c:
4669 (gst_controlled_property_set_interpolation_mode):
4670 * libs/gst/controller/gstinterpolation.c:
4671 Don't crash if someone tries to set an interpolation mode that
4672 is invalid or that isn't supported yet. Fixes #422295.
4674 * tests/check/libs/controller.c: (GST_START_TEST),
4675 (gst_controller_suite):
4676 Add a test case for the above.
4678 2007-05-03 Edward Hervey <edward@fluendo.com>
4680 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4681 Properly set the last_stop position on GstSegment. This will only happen
4682 if there is a buffer to push out.
4684 2007-05-03 Wim Taymans <wim@fluendo.com>
4686 * libs/gst/base/gstbasetransform.c:
4687 (gst_base_transform_buffer_alloc):
4688 always_in_place does not mean that the sink and source caps are the
4689 same! Make sure we don't blindly proxy the buffer_alloc in this case.
4691 2007-05-03 Wim Taymans <wim@fluendo.com>
4693 * docs/libs/gstreamer-libs-sections.txt:
4694 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4695 (gst_base_src_default_query), (gst_base_src_get_range):
4696 * libs/gst/base/gstbasesrc.h:
4697 API: gst_base_src_query_latency(). Added method so that subclasses can
4698 easily get the latency values of the base source class.
4700 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
4702 * tools/gst-inspect.c (print_implementation_info):
4705 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
4707 * tools/Makefile.am:
4708 * tools/gst-launch.1.in:
4709 Don't create a customised man page based on the host architecture,
4710 describe the default registry path generically. That way the man
4711 page is the same for all architectures and packagers have one
4712 multilib issue less to deal with. Fixes #434926.
4714 2007-05-02 Wim Taymans <wim@fluendo.com>
4717 Fix documentation as spotted by rg on IRC.
4719 2007-04-29 Stefan Kost <ensonic@users.sf.net>
4722 Improve docs for gst_element_{link,unlink}.
4724 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
4726 * docs/design/part-events.txt:
4727 * docs/design/part-overview.txt:
4731 * libs/gst/base/gstbasesink.c:
4732 Typo fixes; minor docs addition.
4734 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4736 * docs/gst/gstreamer-sections.txt:
4737 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4738 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4740 API: Add gst_uri_protocol_is_supported(), which checks if a sink
4741 or src that supports a given URI protocol exists.
4743 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4745 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4746 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4747 Set the location to NULL if "file://" is set as URI. Otherwise
4748 some random previous URI would still be set if "file://" is
4749 set on an already used filesink/filesrc.
4751 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4753 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4754 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4755 Special case the "file://" URI as as this is used by some
4756 applications to test with gst_element_make_from_uri if there's
4757 an element that supports the URI protocol.
4758 Also move the g_path_is_absolute() check for the location part
4759 of the URI to also check this for "file://localhost/bla" URIs.
4761 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
4763 * docs/gst/gstreamer-sections.txt:
4764 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4766 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4768 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4770 2007-04-26 Stefan Kost <ensonic@users.sf.net>
4772 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4773 (gst_registry_binary_load_pad_template),
4774 (gst_registry_binary_load_plugin),
4775 (gst_registry_binary_read_cache):
4776 * gst/gstregistrybinary.h:
4777 Implement no-mmap alternative for registry reading. Do code cleanups.
4778 Add more comments about avoiding strdups for all text data. Comments
4781 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4783 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4784 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4785 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4786 Comment structs and reformat to fix the build (that stuff should go
4787 into a priv. header).
4789 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4791 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4792 (gst_registry_binary_load_feature):
4793 * gst/gstregistrybinary.h:
4794 Refactor so that we can implement multiple features. Add support for
4795 TypeFindFactory features.
4797 2007-04-24 Stefan Kost <ensonic@users.sf.net>
4799 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4802 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4804 2007-04-23 Stefan Kost <ensonic@users.sf.net>
4806 * gst/gstbin.c: (gst_bin_element_set_state),
4807 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4808 (bin_handle_async_done), (gst_bin_handle_message_func):
4809 Fix build with --gst-disable-gst-debug
4811 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
4813 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4814 Make sure streaming has finished before calling the ::stop() vfunc,
4815 since that vfunc might clear state which is being used in the
4816 streaming thread. This fixes a race that caused crashes in
4817 audioresample when shutting down a pipeline (#420106).
4819 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4821 * docs/gst/gstreamer-sections.txt:
4822 That was one byte missing.
4824 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4827 * docs/gst/gstreamer-sections.txt:
4829 * gst/gstconfig.h.in:
4830 * gst/gstobject.c: (gst_object_class_init),
4831 (gst_signal_object_class_init):
4833 2nd attempt to have a xml-less build as a joined effort of #413123
4836 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4838 * docs/design/draft-tagreading.txt:
4839 Added open issues/thoughts to draft.
4841 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4843 * gst/parse/grammar.tab.pre.c:
4844 * gst/parse/grammar.tab.pre.h:
4845 * gst/parse/lex._gst_parse_yy.pre.c:
4846 Update the prebuild parser sources.
4848 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4850 * gst/parse/Makefile.am:
4851 And now fix the building of the flex sources. Now everything should
4854 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4856 * gst/parse/Makefile.am:
4857 Now hopefully fix the build failures by setting proper rule
4858 dependencies and moving instead of copying.
4860 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4862 * tests/benchmarks/complexity.gnuplot:
4863 * tests/benchmarks/complexity.scm:
4864 * tests/benchmarks/mass-elements.gnuplot:
4865 * tests/benchmarks/mass-elements.scm:
4866 Total licensification.
4868 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4870 * gst/parse/Makefile.am:
4871 Fix the build by correcting the rule that gave wrong files to flex.
4873 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4875 * tests/benchmarks/complexity.c:
4876 * tests/benchmarks/mass-elements.c:
4877 Change licence to LGPL as granted by Benjamin and Andy.
4879 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4881 * gst/parse/Makefile.am:
4882 Add correct grammar.tab.h dependency if compiling without new enough
4883 flex. Fixes #431150.
4885 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4887 * gst/parse/Makefile.am:
4888 Fix typo and use outdated sources if the flex/bison sources are newer
4889 than the pregenerated ones but flex is too old. Print a warning in
4890 that case. This should fix the build on the build bot.
4892 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4894 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4895 * gst/parse/Makefile.am:
4896 * gst/parse/grammar.y:
4897 * gst/parse/parse.l:
4898 Make the parser reentrant and recursively callable. This requires flex
4899 >= 2.5.31, for older versions pregenerated sources are used as we
4900 can't bump the build dependency. Finally fixes #349180.
4902 * gst/gstparse.c: (gst_parse_launch):
4903 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4906 * docs/gst/Makefile.am:
4907 * docs/gst/Makefile.am:
4908 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4909 (__gst_parse_strfree), (__gst_parse_link_new),
4910 (__gst_parse_link_free), (__gst_parse_chain_new),
4911 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4912 (gst_parse_element_set), (gst_parse_free_link),
4913 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4914 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4915 (_gst_parse_launch):
4916 * gst/parse/grammar.tab.pre.h:
4917 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4918 (yy_get_previous_state), (yy_try_NUL_trans), (input),
4919 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4920 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4921 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4922 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4923 (_gst_parse_yypop_buffer_state),
4924 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4925 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4926 (yy_fatal_error), (_gst_parse_yyget_extra),
4927 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4928 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4929 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4930 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4931 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4932 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4933 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4934 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4935 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4936 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4937 (_gst_parse_yyfree):
4938 If the installed flex version is too old use pre-generated parser
4939 sources. These pre-generated parser sources are always updated when
4940 the actual flex/bison sources change but require everybody who wants
4941 to change something in the parser to have flex >= 2.5.31 installed.
4943 2007-04-18 Stefan Kost <ensonic@users.sf.net>
4945 * common/m4/gst-gettext.m4:
4946 * gst/gst-i18n-lib.h:
4947 Make --disable-nls to work
4949 2007-04-17 Wim Taymans <wim@fluendo.com>
4951 * gst/gstconfig.h.in:
4952 Revert previous change that broke the build.
4954 2007-04-17 Stefan Kost <ensonic@users.sf.net>
4958 * gst/gstconfig.h.in:
4959 Drop libxml2 dependency when building with
4960 --enable-binary-registry --disable-loadsave
4962 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
4964 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4965 (gst_registry_binary_read_cache):
4966 * gst/gstregistrybinary.h:
4967 Remove unnecessary <sys/mman.h> include which broke the win32 build
4968 with MingW; move includes from header file to .c file, even if the
4969 header file isn't installed; use g_strerror() where UTF-8 strings
4970 are expected, such as in GST_DEBUG messages.
4972 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4974 * docs/libs/gstreamer-libs-sections.txt:
4975 Remove bogus addition for API I didn't end up keeping.
4977 * libs/gst/base/gstbasesrc.h:
4978 Mention Since: 0.10.13 in the documentation.
4980 Add the API keyword to the previous ChangeLog entry.
4982 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4984 * docs/libs/gstreamer-libs-sections.txt:
4985 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4986 (gst_base_src_default_prepare_seek_segment),
4987 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4988 * libs/gst/base/gstbasesrc.h:
4989 Allow basesrc derived classes to execute seeks in other formats
4990 by providing a prepare_seek_segment vmethod. Sub-classes can choose
4991 to prepare the GstSegment in any format that their perform_seek method
4992 will be able to understand. The default implementation provides the
4993 old behaviour of attempting to convert the seek offsets to the
4994 configured native format.
4996 API: basesrc::prepare_seek_segment vmethod.
4998 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5000 * gst/gstelement.c: (gst_element_get_state_func):
5001 Don't output the same debug statement twice.
5003 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5004 (gst_adapter_peek), (gst_adapter_take_buffer):
5005 Optimise the case where we have buffers at the head of the queue that
5006 can be joined quickly (because they're contiguous sub-buffers) by
5007 merging them together rather than copying data out into new memory.
5009 * gst/parse/grammar.y:
5010 * tests/check/pipelines/parse-launch.c:
5011 Fix a leak in an error path for parse_launch, and add a check
5012 for it to the testsuite.
5014 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5016 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5017 Don't deadlock when releasing a pad - gst_pad_set_active may try
5018 and take the multiqueue lock too.
5020 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
5022 * gst/gsterror.c: (_gst_core_errors_init):
5024 API: add GST_CORE_ERROR_DISABLED (#392804).
5026 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5028 * docs/faq/gst-uninstalled:
5029 don't get empty paths on the PATH variables
5030 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5031 Don't format for the uncommon terminal width of 84 characters.
5033 2007-04-06 Wim Taymans <wim@fluendo.com>
5035 * gst/gstpipeline.c: (reset_stream_time),
5036 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5037 Only try to select a different pipeline clock when we went back to
5038 PAUSED and not when we merely got flushed.
5040 2007-04-05 Michael Smith <msmith@fluendo.com>
5042 * tools/gst-launch.1.in:
5043 fractions are better supported in gstreamer than ractions, so
5044 suggest using those.
5046 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
5048 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5052 Added Danish translation.
5054 2007-04-05 Wim Taymans <wim@fluendo.com>
5056 * libs/gst/base/gstbasesink.c:
5057 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5058 Fix leak caused when refusing newsegment after EOS.
5060 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5061 (gst_fake_sink_init), (gst_fake_sink_set_property),
5062 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5063 (gst_fake_sink_render), (gst_fake_sink_change_state):
5064 * plugins/elements/gstfakesink.h:
5065 Add num-buffers property to make the element generate EOS after a
5066 configurable amount of buffers.
5067 API: fakesink::num-buffers property.
5069 * tests/check/elements/fakesink.c: (GST_START_TEST),
5071 Fix GstBus leak in test.
5072 Test for fakesink num-buffers.
5074 2007-04-05 Wim Taymans <wim@fluendo.com>
5076 * libs/gst/base/gstbasesink.c:
5077 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5078 (gst_base_sink_change_state):
5079 Don't accept anything after an EOS, return UNEXPECTED instead.
5081 * tests/check/elements/fakesink.c: (GST_START_TEST),
5083 Unit test for new EOS behaviour.
5085 2007-04-05 Wim Taymans <wim@fluendo.com>
5087 * gst/gstelement.c: (gst_element_get_request_pad):
5088 Make padtemplates also work when they don't contain %s or %d.
5090 2007-04-05 Wim Taymans <wim@fluendo.com>
5092 * docs/gst/gstreamer-sections.txt:
5093 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5094 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5096 Improve _adjust_unlocked() so that it overflows less.
5097 Add gst_clock_unadjust_unlocked to convert from external time to
5098 internal time based on calibration.
5099 Add some more debug.
5100 API: GstClock::gst_clock_unadjust_unlocked()
5102 2007-04-03 Wim Taymans <wim@fluendo.com>
5104 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5106 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5107 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5108 when releasing sink pad. Fixes #425400.
5110 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5112 * docs/random/ensonic/dynlink.txt:
5113 More work on proposal for new core api.
5115 * docs/libs/gstreamer-libs-sections.txt:
5116 * libs/gst/base/gstbasetransform.h:
5117 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5119 * libs/gst/controller/gstcontroller.c:
5120 (on_object_controlled_property_changed),
5121 (gst_controller_sync_values),
5122 (gst_controller_set_interpolation_mode):
5123 * libs/gst/controller/gstcontroller.h:
5124 Less verbose logging add docs for unimplemented parts and correctly
5125 return when using unavailable parts.
5127 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5129 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5130 Move all the debug to the CLOCK category, and associate it with
5133 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5135 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5136 Make take_buffer a bit quicker by removing redundant checks
5137 caused by calling gst_adapter_take.
5139 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5141 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5144 * tests/check/Makefile.am:
5145 * tests/check/elements/.cvsignore:
5146 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5147 (GST_START_TEST), (multiqueue_suite):
5148 Add some dead simple unit tests for the 'multiqueue' element
5149 (some bits don't work yet and are disabled for now).
5151 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5153 * gst/gstelement.c: (gst_element_get_request_pad),
5154 (gst_element_class_get_request_pad_template):
5155 Make gst_element_get_request_pad() create request pads only for
5156 request pad templates and not for, say, sometimes pad templates.
5158 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5160 * docs/design/draft-klass.txt:
5161 Add example that needs more thinking.
5163 * docs/design/draft-missing-plugins.txt:
5164 More thoughts about wrapper plugins.
5166 * docs/random/ensonic/embedded.txt:
5167 * docs/random/ensonic/profiling.txt:
5170 2007-03-25 Wim Taymans <wim@fluendo.com>
5172 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5173 (gst_base_src_loop):
5174 Only push the segment events in the PLAYING state for live sources.
5176 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5178 * gst/gstpipeline.c: (gst_pipeline_change_state):
5179 Modify the clock distribution path in PAUSED->PLAYING so that we
5180 never attempt to choose a new clock unless we're actually leaving
5181 the PAUSED state for the first time. This prevents choosing a
5182 different clock when the state_change gets called for a 2nd time due
5183 to some element doing an async state change.
5185 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5187 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5188 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5189 (gst_pad_chain_unchecked), (gst_pad_push):
5190 Revert last commit. This needs some more thoughts.
5192 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5194 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5195 (gst_pad_chain_unchecked), (gst_pad_push):
5196 Check in set_caps if the caps are compatible with the pad and remove
5197 two functions that are redundant now. Fixes #421543.
5199 2007-03-22 Wim Taymans <wim@fluendo.com>
5201 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5202 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5203 Unref some more to make valgrind happy.
5205 2007-03-22 Wim Taymans <wim@fluendo.com>
5207 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5208 (gst_system_clock_id_wait_jitter),
5209 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5210 Fix anoying regression that survived a few releases. When adding an
5211 async entry while blocking on a sync entry, the sync entry will unblock
5212 but still be busy, so it should continue to wait instead of returning
5214 Add some comments here and there.
5216 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5217 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5218 Add testcase for this.
5220 2007-03-22 Wim Taymans <wim@fluendo.com>
5222 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5223 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5224 WRONG_STATE and can silently pause the task. All other cases should
5227 2007-03-22 Wim Taymans <wim@fluendo.com>
5229 Patch by: Ville Syrjala <syrjala at sci dot fi>
5231 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5232 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5235 2007-03-21 Michael Smith <msmith@fluendo.com>
5237 * docs/pwg/advanced-types.xml:
5238 Fix some errors in the typefinding docs pointed out on irc.
5240 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5242 * libs/gst/base/gstbasesrc.c:
5243 Clarify FIXME comment in the face of having added unlock_stop()
5245 2007-03-21 Wim Taymans <wim@fluendo.com>
5247 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5248 Prepare for release where we warn against possible app breakage in the
5249 case of live pipelines along with an env var to enable/disable live
5250 preroll mode (GST_COMPAT=[no-]live-preroll).
5252 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5254 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5255 So we should use correct constants for checking for None offset.
5257 2007-03-20 Wim Taymans <wim@fluendo.com>
5259 * docs/design/part-block.txt:
5260 Mention the fact that the newly switched element should be set to at
5263 2007-03-20 Wim Taymans <wim@fluendo.com>
5266 Fix compilation with registry disabled as spotted by Saur.
5268 2007-03-20 Wim Taymans <wim@fluendo.com>
5270 Patch by: Olivier Crete <tester at tester dot ca>
5272 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5273 Look at the pending state too when syncing the element state to the
5274 parent. Fixes #420133.
5276 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5278 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5279 (gst_base_sink_change_state):
5280 * libs/gst/base/gstbasesink.h:
5281 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5282 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5283 (gst_base_src_deactivate):
5284 * libs/gst/base/gstbasesrc.h:
5285 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5286 for sub-classes to correctly clear any state they set trying to
5287 unlock, such as clearing out unlock commands from a command fd.
5288 API: basesrc::unlock_stop
5289 API: basesink::unlock_stop
5291 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5292 (gst_fd_sink_render), (gst_fd_sink_unlock),
5293 (gst_fd_sink_unlock_stop):
5294 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5295 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5296 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5298 Implement unlock_stop in fdsrc and fdsink.
5299 Implement seeking in fdsrc when a seekable fd is passed, as in
5300 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5302 2007-03-19 Wim Taymans <wim@fluendo.com>
5304 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5306 * gst/gstelement.c: (gst_element_class_init):
5307 Fix pad-added and pad-removed signal signatures so that the pad type is
5308 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5310 2007-03-19 Wim Taymans <wim@fluendo.com>
5312 * docs/gst/gstreamer-sections.txt:
5313 Add new element field and method.
5315 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5316 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5317 (gst_bin_recalc_state), (gst_bin_get_state_func),
5318 (gst_bin_element_set_state), (gst_bin_change_state_func),
5319 (gst_bin_continue_func), (bin_bus_handler),
5320 (bin_push_state_continue), (bin_handle_async_start),
5321 (bin_handle_async_done), (gst_bin_handle_message_func):
5322 Make async state changes a bit smarter by using new ASYNC_START and
5323 ASYNC_DONE messages. This reduces the number of times we run the state
5324 recalculation thread.
5325 Don't change state of element with a pending ASYNC_START message.
5326 Deprecate STATE_DIRTY messages.
5328 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5329 (gst_element_get_state_func), (gst_element_continue_state),
5330 (gst_element_lost_state), (gst_element_set_state_func),
5331 (gst_element_change_state):
5333 Keep the state that was last set by the app in a new element field.
5334 Don't allow state changes when handling an element event.
5335 Post ASYNC_START and ASYNC_DONE messages.
5336 Change lost_state so that we go to PAUSED and wait for the parent to set
5337 us to PLAYING again (so latency calculation can be performed)
5338 Export gst_element_change_state() method so that subclasses can use it.
5339 API: gst_element_change_state()
5340 API: GST_STATE_TARGET
5342 * gst/gstpipeline.c: (gst_pipeline_class_init),
5343 (reset_stream_time), (gst_pipeline_change_state),
5344 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5345 Using the new ASYNC_START message we can reset the base_time when
5346 needed. This can then be used to implement base_time redistribution in
5347 flushing seeks so that we can remove the explicit seek handling.
5348 Perform latency query and configuration when going to PLAYING.
5350 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5351 (gst_base_sink_query), (gst_base_sink_change_state):
5352 Post new ASYNC_START/ASYNC_DONE messages.
5354 * tests/check/generic/sinks.c: (GST_START_TEST):
5355 Fix test because the bin will not set the async element to PLAYING right
5358 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5359 Make the message check a little stronger.
5360 Handle ASYNC messages.
5362 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5363 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5364 Expect ASYNC_DONE messages.
5366 2007-03-19 Wim Taymans <wim@fluendo.com>
5368 * docs/gst/gstreamer-sections.txt:
5369 * gst/gstmessage.c: (gst_message_new_async_start),
5370 (gst_message_new_async_done), (gst_message_parse_info),
5371 (gst_message_parse_async_start):
5373 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5376 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5378 * tools/gst-inspect.c:
5379 (print_plugin_automatic_install_info_codecs):
5380 Now that we don't check for the 'Codec' keyword any longer in the
5381 klass, we shouldn't spew a warning if the klass isn't a decoder or
5382 encoder (since it might be a Source/Network, for example).
5384 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5386 * tools/gst-inspect.c:
5387 (print_plugin_automatic_install_info_codecs):
5388 Don't require decoder/demuxer/depayloader elements or
5389 encoder/muxer/paylader elements to have 'Codec' as part of their
5390 factory class string when introspecting a plugin's capabilities.
5391 draft-klass.txt mentions that it might be removed in future, and
5392 flump3dec doesn't have it as part of its class string, so chances
5393 are others might also not have it.
5395 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
5417 Update translations from translation project
5419 2007-03-14 Stefan Kost <ensonic@users.sf.net>
5421 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5422 (gst_child_proxy_set_property):
5423 Invert precondition check to be alike the ones in the mimiced gobject
5426 2007-03-13 Stefan Kost <ensonic@users.sf.net>
5428 * docs/design/draft-tagreading.txt:
5429 * docs/random/ensonic/audiobaseclasses.txt:
5430 Do some Architect work.
5432 * gst/gstobject.c: (gst_object_set_name):
5436 Add docs that point from gst_pad_get_range to gst_pad_pull_range
5438 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
5440 * gst/gstsystemclock.c: (gst_system_clock_init),
5441 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5442 Defer starting the async system clock thread until the first async
5443 wait is scheduled. Fixes #414986.
5445 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
5447 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5448 (gst_single_queue_free):
5449 Fix small leak (free GstSingleQueue structure too, not only contents).
5451 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
5453 * gst/gstbin.c:(gst_bin_add):
5454 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5455 * win32/common/libgstbase.def:
5456 * win32/common/libgstreamer.def:
5457 Add new exported functions.
5459 2007-03-09 Wim Taymans <wim@fluendo.com>
5461 * docs/plugins/gstreamer-plugins-sections.txt:
5464 2007-03-09 Wim Taymans <wim@fluendo.com>
5466 * docs/gst/gstreamer-sections.txt:
5467 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5469 Add metadata copy functions. Fixes #393099.
5470 API: gst_buffer_copy_metadata()
5472 * gst/gstutils.c: (gst_buffer_stamp):
5473 * libs/gst/base/gstbasetransform.c:
5474 (gst_base_transform_prepare_output_buffer):
5475 Use new metadata copy functions.
5477 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
5479 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5480 (gst_identity_init), (gst_identity_check_perfect),
5481 (gst_identity_check_imperfect_timestamp),
5482 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5483 (gst_identity_set_property), (gst_identity_get_property):
5484 * plugins/elements/gstidentity.h:
5485 Separate out check-imperfect-timestamp and check-imperfect-offset.
5486 Put back check-perfect as it was to keep compatibility.
5488 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
5490 * gst/gstelement.c: (gst_element_dispose):
5491 There's no need to warn if VOID_PENDING is not NONE here, as
5492 long as the state is NULL it's ok, and that's checked immediately
5495 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5497 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5498 Fix check for perfect stream to ignore buffers with -1
5499 offsets/offset ends when checking data contiguity.
5501 2007-03-08 Wim Taymans <wim@fluendo.com>
5503 * tools/gst-launch.c: (event_loop):
5504 Print INFO messages.
5506 2007-03-08 Wim Taymans <wim@fluendo.com>
5508 * libs/gst/base/gstbasetransform.c:
5509 (gst_base_transform_sink_eventfunc),
5510 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5511 (gst_base_transform_activate):
5512 * libs/gst/base/gstbasetransform.h:
5513 Add support for dropping buffers with custom GstFlowReturn.
5514 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5515 buffers or dropped buffers.
5517 * docs/libs/gstreamer-libs-sections.txt:
5518 docs for new custom return code.
5520 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5521 Use drop support in base class to implement drop-probability.
5523 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
5525 * gst/gst.c: (load_plugin_func):
5526 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5527 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5528 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5529 Remove newlines at end of debug log strings.
5531 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5533 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5534 Only post bus message at max, once per buffer received.
5536 2007-03-07 Wim Taymans <wim@fluendo.com>
5538 * docs/design/Makefile.am:
5539 * docs/design/part-synchronisation.txt:
5540 Add doc about synchronisation
5542 * docs/design/draft-latency.txt:
5543 * docs/design/part-TODO.txt:
5544 * docs/design/part-clocks.txt:
5545 * docs/design/part-events.txt:
5546 * docs/design/part-gstbus.txt:
5547 * docs/design/part-gstpipeline.txt:
5548 * docs/design/part-live-source.txt:
5549 * docs/design/part-messages.txt:
5550 * docs/design/part-overview.txt:
5551 * docs/design/part-streams.txt:
5552 * docs/design/part-trickmodes.txt:
5553 Documentation updates.
5555 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5558 Update the doap file.
5560 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5562 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5563 Rename non-perfect to imperfect for Mike and for the sanctity of the
5565 Also make sure bus message gets emitted for data-incontiguities.
5567 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5569 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5570 (gst_identity_start):
5571 * plugins/elements/gstidentity.h:
5572 Emit bus message if check-perfect is true and we encounter a
5573 non-perfect stream between 2 consecutive buffers.
5576 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5581 === release 0.10.12 ===
5583 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5586 releasing 0.10.12, "Inevitable Demise"
5588 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
5591 Version 0.10.11.2 (0.10.12 pre-release)
5592 Bump libtool versioning.
5594 2007-03-01 Stefan Kost <ensonic@users.sf.net>
5596 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5597 Log flow-names and not numbers.
5599 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5602 Convert to new AG_GST style.
5604 2007-02-28 Wim Taymans <wim@fluendo.com>
5606 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5607 Don't unref query twice.
5609 2007-02-28 Wim Taymans <wim@fluendo.com>
5611 * gst/gstvalue.c: (gst_value_transform_object_string),
5612 (_gst_value_initialize):
5613 Implement GstObject -> string transform so we print object names
5614 when serializing GValues containing GstObjects.
5616 2007-02-28 Wim Taymans <wim@fluendo.com>
5618 * docs/gst/gstreamer-sections.txt:
5619 Add new stuff to docs.
5621 2007-02-28 Wim Taymans <wim@fluendo.com>
5623 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5624 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5625 (gst_base_sink_change_state):
5626 Improve latency query code.
5627 Don't leak latency events.
5629 * tests/check/gst/gstbin.c: (GST_START_TEST):
5632 2007-02-28 Wim Taymans <wim@fluendo.com>
5634 * gst/gstelement.c: (gst_element_message_full),
5635 (gst_element_get_state_func):
5637 Improve docs a little. Added Since: for new macro.
5639 * gst/gstobject.c: (gst_object_sink):
5640 * gst/gstpipeline.c: (gst_pipeline_change_state),
5641 (gst_pipeline_set_new_stream_time):
5642 * gst/gstpipeline.h:
5643 Improve debugging and docs.
5645 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5648 2007-02-28 Wim Taymans <wim@fluendo.com>
5650 * gst/gstelement.c: (gst_element_message_full),
5651 (gst_element_set_locked_state), (gst_element_get_state_func),
5652 (gst_element_change_state):
5653 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5654 Documentation updates.
5655 Small code cleanups.
5657 * gst/gstmessage.c: (gst_message_new_info),
5658 (gst_message_parse_info):
5660 API: gst_message_new_info()
5661 API: gst_message_parse_info()
5662 Add INFO message create and parse code.
5664 2007-02-28 Wim Taymans <wim@fluendo.com>
5666 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5667 (bin_query_latency_done):
5668 Also report the live parameter of a latency query.
5670 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5672 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5673 Copy the current generic/states example from -base and adapt so
5674 we can use the exact same code everywhere.
5675 Check a STATES_IGNORE_ELEMENTS env var which can be used
5676 to ignore certain element factories for this test, which is
5677 what is being done in -base
5678 * tests/check/Makefile.am:
5679 Mention this environment variable.
5681 2007-02-27 Wim Taymans <wim@fluendo.com>
5683 * docs/gst/gstreamer-sections.txt:
5684 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5685 (gst_bus_timed_pop), (gst_bus_pop):
5687 API: gst_bus_timed_pop()
5688 Implement gst_bus_timed_pop() to do a blocking timed wait for a
5689 message to arrive on the bus.
5691 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5693 Two unit tests for new _timed_pop() function.
5695 2007-02-23 Wim Taymans <wim@fluendo.com>
5697 * gst/gstpipeline.c: (gst_pipeline_change_state),
5698 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5699 Don't ref a NULL clock in _provide_clock_func().
5700 Don't allow an INVALID delay.
5701 Don't try to calculate base_time with an invalid start_time.
5702 Also distribute and notify a NULL clock when it was selected.
5704 * tools/gst-launch.c: (event_loop):
5705 Don't crash when a NULL clock was selected in the pipeline.
5707 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
5709 * docs/design/Makefile.am:
5710 * docs/design/draft-missing-plugins.txt:
5711 * docs/random/draft-missing-plugins.txt:
5712 Some small updates: update plugin system identifier prefix
5713 ('gstreamer.net' to 'gstreamer'), mention our new install
5714 API in libgstbaseutils rather than libgimme-codec, add
5715 reference to the online docs.
5717 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5719 * win32/common/config.h:
5720 Pretty sure Bill never made a powerpc version. Powerpc hackers,
5721 use moap cl ci to only check in what is mentioned in the ChangeLog.
5723 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5725 * docs/gst/gstreamer-sections.txt:
5727 Fix up documentation to link to the correct GstGError section.
5728 Add GST_ELEMENT_INFO macro since someone else added a Info message.
5730 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5732 * tools/gst-launch.c: (event_loop):
5733 Make sure that we actually show the important message part of a
5735 No need to check if the gerror is not NULL to free; first of all
5736 g_free accepts NULL; and second the default error handler would
5737 segfault if gerror was NULL.
5739 2007-02-21 Wim Taymans <wim@fluendo.com>
5741 * docs/gst/gstreamer-sections.txt:
5742 Removed docs as well.
5744 2007-02-21 Wim Taymans <wim@fluendo.com>
5746 * gst/gstmessage.c: (gst_message_parse_duration):
5748 Remove new messages for release.
5750 2007-02-20 Wim Taymans <wim@fluendo.com>
5752 * docs/design/part-gstghostpad.txt:
5753 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5754 (gst_ghost_pad_new_full):
5755 Make the ghostpad a parent of the internal pad again for better backward
5756 compatibility. Don't write code that relies on this however.
5758 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5759 (gst_pad_link_check_hierarchy):
5760 Require that parents should be GstElements in the hierarchy check.
5762 2007-02-20 Wim Taymans <wim@fluendo.com>
5764 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5765 (gst_bin_change_state_func), (bin_query_min_max_init),
5766 (bin_query_latency_fold), (bin_query_latency_done),
5769 Implement latency query.
5771 2007-02-20 Wim Taymans <wim@fluendo.com>
5773 * docs/design/part-gstghostpad.txt:
5774 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5775 (gst_ghost_pad_internal_do_activate_push),
5776 (gst_ghost_pad_internal_do_activate_pull),
5777 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5778 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5779 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5780 Do not set the internal pad as a parent anymore so we can avoid
5781 hierarchy linking errors when the ghostpad has no parent yet. This also
5782 fixes failed activation because of unlinked internal pads, which in
5783 turn fixes the impossible case where you have to activate a pad before
5784 you can add it to a running element.
5787 * gst/gstpad.c: (pre_activate), (post_activate),
5788 (gst_pad_set_active), (gst_pad_activate_pull),
5789 (gst_pad_activate_push), (gst_pad_check_pull_range):
5790 Add some more debug info.
5791 Mark activation mode in pre_activate so that we don't try to activate in
5792 endless loops. Fixes #385084.
5794 2007-02-19 Wim Taymans <wim@fluendo.com>
5796 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5797 (gst_base_transform_check_get_range):
5798 Implement a checkgetrange function instead of relying on the default
5799 core behaviour that assumes we can operate in pull mode if we have a
5800 getrange function. First step at fixing #385084.
5802 2007-02-15 Stefan Kost <ensonic@users.sf.net>
5804 * gst/gstchildproxy.h:
5805 * libs/gst/base/gstbasesink.h:
5806 * libs/gst/base/gstbasesrc.h:
5807 * libs/gst/base/gstbasetransform.h:
5808 More docs coverage and some ChangeLog surgery (add missing names)
5810 2007-02-15 Wim Taymans <wim@fluendo.com>
5812 * docs/design/part-TODO.txt:
5813 * docs/design/part-activation.txt:
5814 * docs/design/part-block.txt:
5815 * docs/design/part-buffering.txt:
5816 * docs/design/part-clocks.txt:
5817 * docs/design/part-element-source.txt:
5818 * docs/design/part-events.txt:
5819 * docs/design/part-gstbin.txt:
5820 * docs/design/part-gstbus.txt:
5821 * docs/design/part-gstpipeline.txt:
5822 * docs/design/part-live-source.txt:
5823 * docs/design/part-messages.txt:
5824 * docs/design/part-overview.txt:
5825 * docs/design/part-qos.txt:
5826 * docs/design/part-query.txt:
5827 * docs/design/part-states.txt:
5828 * docs/design/part-trickmodes.txt:
5829 Some doc updates. Start renaming from stream_time to running_time where
5830 it was used wrongly.
5832 2007-02-15 Wim Taymans <wim@fluendo.com>
5834 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5835 Answer LATENCY query.
5837 2007-02-15 Wim Taymans <wim@fluendo.com>
5839 * tests/check/gst/gstevent.c: (event_probe), (test_event),
5843 2007-02-15 Wim Taymans <wim@fluendo.com>
5845 * gst/gstpad.c: (gst_pad_get_internal_links_default),
5846 (gst_pad_dispatcher):
5847 Improve debugging of default pad dispatcher and query functions.
5849 2007-02-15 Wim Taymans <wim@fluendo.com>
5851 * docs/gst/gstreamer-sections.txt:
5852 Remove old unused method.
5854 2007-02-13 Wim Taymans <wim@fluendo.com>
5856 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5859 2007-02-13 Wim Taymans <wim@fluendo.com>
5861 * docs/design/part-seeking.txt:
5864 * gst/gstsegment.c: (gst_segment_set_seek):
5865 Revert old bogus change that should make seeking work again.
5867 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5869 * docs/random/ensonic/dynlink.txt:
5870 * docs/random/ensonic/interfaces.txt:
5871 * docs/random/ensonic/receipies.txt:
5872 Possible dynamic reconnection api, plus some type fixes the other two
5875 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
5877 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5878 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5879 Also check for an absolute path following file:// in the filesrc
5880 element. Remove redundant check and call g_path_is_absolute() on the
5883 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5885 * docs/design/draft-klass.txt:
5886 Add existing category analysis.
5889 Fix doc example, framerate is a fraction.
5891 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5894 * docs/gst/Makefile.am:
5895 * docs/gst/gstreamer-sections.txt:
5896 * docs/libs/Makefile.am:
5897 Erm, forgot a bunch of --extra-dir.
5899 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5902 * docs/gst/Makefile.am:
5903 * docs/libs/Makefile.am:
5904 * docs/plugins/Makefile.am:
5905 Add crossreferences to glib/gobject docs.
5907 2007-02-12 Wim Taymans <wim@fluendo.com>
5909 * docs/design/draft-latency.txt:
5912 * docs/libs/gstreamer-libs-sections.txt:
5913 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5914 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5915 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5916 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5917 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5918 (gst_base_sink_get_position), (gst_base_sink_query),
5919 (gst_base_sink_change_state):
5920 * libs/gst/base/gstbasesink.h:
5921 API: gst_base_sink_query_latency() to let subclasses query the upstream
5923 API: gst_base_sink_get_latency() to let subclasses query the configured
5924 latency in the sink.
5925 Implement query and set latency.
5927 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5928 don't continue preroll when we are flushing. Fixes #405284.
5930 * tests/check/pipelines/stress.c: (change_state_timeout),
5931 (quit_timeout), (GST_START_TEST), (stress_suite):
5934 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
5936 Patch by: René Stadler <mail at renestadler de>
5938 * docs/gst/gstreamer-sections.txt:
5939 * gst/gsttaglist.c: (_gst_tag_initialize):
5941 API: add GST_TAG_REFERENCE_LEVEL (#403597).
5943 2007-02-11 Stefan Kost <ensonic@users.sf.net>
5945 * docs/libs/Makefile.am:
5946 Fix path to core docs.
5948 * gst/gstbin.c: (gst_bin_get_by_interface),
5949 (gst_bin_iterate_all_by_interface):
5950 Refix docs by also renaming 'interface' to 'iface' in implementation.
5952 * docs/gst/gstreamer-sections.txt:
5954 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5955 * gst/gstchildproxy.h:
5956 * gst/gstelementfactory.c:
5957 * gst/gstpadtemplate.h:
5958 * libs/gst/controller/gstcontroller.c:
5959 (gst_controlled_property_new):
5962 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
5964 * gst/gstbin.h:(gst_bin_get_by_interface),
5965 (gst_bin_iterate_all_by_interface):
5966 Replace interface parameter name by iface as interface is
5967 a reserved keyword in Visual Studio for C++ projects so it removes
5968 a build error for application developpers using VS.
5969 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5970 Fix a bug on Windows in uri format check. Now the prefix checked
5971 is file:// and next we check if the path after file:// is absolute.
5972 * win32/common/libgstbase.def:
5973 * win32/common/libgstdataprotocol.def:
5974 * win32/common/libgstgstreamer.def:
5975 Add new exported functions.
5977 2007-02-09 Andy Wingo <wingo@pobox.com>
5979 * tests/check/pipelines/simple-launch-lines.c
5980 (simple_launch_lines_suite, test_tee): Disable tee test until I
5981 have time to fix it :-(
5983 * tests/check/Makefile.am (noinst_HEADERS):
5984 * tests/check/libs/libsabi.c:
5985 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5986 * tests/check/gst/gstabi.c:
5987 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5989 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5990 tests for push and pull tee behavior.
5992 * plugins/elements/gsttee.h:
5993 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5994 mark as deprecated as well as unimplemented. It was a crack idea.
5995 Add support for tee operating in pull mode, off by default.
5997 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5998 normal-case logs down to LOG, raise errors to WARNING.
5999 (gst_registry_xml_read_cache): Don't log before calling a function
6002 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6003 exit (registry finalize).
6004 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6005 DEBUG log when we emit signals that people don't even have the
6006 chance to connect to.
6007 (gst_registry_scan_path_level): Less logging in the normal case.
6009 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6011 Patch by: Michal Benes <michal dot benes at itonis dot tv>
6013 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6014 Correctly generate EOS for non-seekable files. We don't have a total
6015 length for them and would get an unexpected end of file if we only
6016 special-cased for regular files. (Fixes: #404569)
6018 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6020 * tests/check/elements/filesrc.c: (GST_START_TEST),
6022 Add unit test for the GstURIHandler interface in filesrc. This also
6023 tests the newly added file://localhost/foo/bar support.
6025 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
6027 * gst/gstelementfactory.h:
6028 The klass string is not a hierarchy. Add reference to the design doc
6029 for more information and common types.
6031 2007-02-02 Wim Taymans <wim@fluendo.com>
6033 * gst/gstquery.c: (gst_query_new_latency):
6034 Remove old structure field.
6036 2007-02-02 Stefan Kost <ensonic@users.sf.net>
6038 * tools/gst-launch.1.in:
6039 Give example for network streaming (#351998)
6041 2007-02-02 Wim Taymans <wim@fluendo.com>
6043 * docs/gst/gstreamer-sections.txt:
6044 Add docs for new methods.
6046 * gst/gstevent.c: (gst_event_new_latency),
6047 (gst_event_parse_latency):
6049 Add new LATENCY event to configure latency in a pipeline.
6050 API: gst_event_new_latency
6051 API: gst_event_parse_latency
6053 * gst/gstmessage.c: (gst_message_new_buffering),
6054 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6055 (gst_message_new_latency), (gst_message_parse_buffering),
6056 (gst_message_parse_lost_preroll):
6058 Added messages used in draft-latency.
6059 API: gst_message_new_lost_preroll
6060 API: gst_message_parse_lost_preroll
6061 API: gst_message_new_prerolled
6062 API: gst_message_new_latency
6064 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6065 (gst_query_parse_latency):
6067 Implemented new latency query as in design doc.
6068 API: gst_query_new_latency
6069 API: gst_query_set_latency
6070 API: gst_query_parse_latency
6072 2007-02-02 Wim Taymans <wim@fluendo.com>
6074 * docs/design/draft-latency.txt:
6075 Slight redesign to allow for dynamic latency adjustments.
6077 * docs/design/part-negotiation.txt:
6080 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6082 reviewed by: Wim Taymans <wim@fluendo.com>
6084 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6085 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6086 Allow file://localhost/foo/bar URLs and correctly fail for every other
6087 hostname that one sets. This was gnomevfssrc is linked for those if
6088 installed as it can handle it (#403172)
6090 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6092 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6095 (unref_data), (gst_collect_pads_add_pad_full):
6096 * libs/gst/base/gstcollectpads.h:
6097 Don't put the previously added destroy notify in the GstCollectData
6098 struct as all it's padding is already used and we don't want to break
6099 ABI. Instead put in the pad's GObject data for now. This should be
6100 cleaned up for 0.11 (#402393).
6102 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6104 reviewed by: Wim Taymans <wim@fluendo.com>
6106 * docs/libs/gstreamer-libs-sections.txt:
6107 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6108 (unref_data), (gst_collect_pads_add_pad),
6109 (gst_collect_pads_add_pad_full):
6110 * libs/gst/base/gstcollectpads.h:
6111 API: Add function to specify a destroy notification for custom
6112 GstCollectData when adding new pads in GstCollectPads (#402393).
6114 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6117 Update Swedish translation (#378255).
6119 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6121 * docs/design/draft-klass.txt:
6122 Fix the previous change, this is a list of categories and not a hierarchy.
6124 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6126 * docs/design/draft-klass.txt:
6127 Add info about how to get a list of used classes.
6129 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6131 * plugins/elements/gsttypefindelement.c:
6132 (gst_type_find_element_chain_do_typefinding),
6133 (gst_type_find_element_change_state):
6134 Don't leak found caps in chain function (no idea why that never
6135 showed up as a leak anywhere).
6137 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6140 Fix and expand GstPluginDesc API docs.
6142 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6145 * gst/gstelementfactory.c:
6146 * gst/gstpadtemplate.h:
6149 * libs/gst/controller/gstcontroller.c:
6150 (gst_controlled_property_new):
6151 * tests/examples/controller/audio-example.c:
6154 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6157 comment about refining the xml deps
6160 comments about moving away from jade for docs
6163 recommit the ifdefs to use the binary registry
6165 * gst/gstbin.c: (gst_bin_change_state_func):
6166 this break is obsolete
6168 * gst/gstelementfactory.h:
6169 better GST_ELEMENT_DETAILS docs, add comment about translation
6174 * gst/gstobject.c: (gst_signal_object_get_type):
6175 add G_UNLIKELY as usual
6177 * gst/gstpad.c: (gst_pad_event_default):
6178 add fall trhu comment
6180 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6181 (gst_registry_binary_initialize_magic),
6182 (gst_registry_binary_save_string),
6183 (gst_registry_binary_save_pad_template),
6184 (gst_registry_binary_save_feature),
6185 (gst_registry_binary_save_plugin),
6186 (gst_registry_binary_write_cache),
6187 (gst_registry_binary_check_magic),
6188 (gst_registry_binary_load_pad_template),
6189 (gst_registry_binary_load_feature),
6190 (gst_registry_binary_load_plugin),
6191 (gst_registry_binary_read_cache):
6192 comment typo and formatting
6194 * gst/gstutils.c: (gst_element_state_get_name),
6195 (gst_element_state_change_return_get_name):
6196 remove obsolete breaks
6198 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6199 add FIXME 0.11 and remove cpp comment
6201 2007-01-29 Edward Hervey <edward@fluendo.com>
6203 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6204 Fix print statement in an even more portable way.
6206 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6208 * docs/gst/gstreamer-sections.txt:
6210 API: add GST_ROUND_DOWN_* macros (#401781).
6212 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6214 * docs/gst/gstreamer.types.in:
6215 * gst/gstregistry.c: (gst_registry_class_init):
6216 Document registry signals and make gtk-doc pick them up (#401381).
6218 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6220 * docs/pwg/building-testapp.xml:
6221 Add some audioconverts and audioresample to the pipeline, and some
6222 more comments and error handling.
6224 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6226 * docs/manual/manual.xml:
6230 2007-01-26 Wim Taymans <wim@fluendo.com>
6232 * gst/gstcaps.c: (gst_static_caps_get):
6233 Init caps flags too.
6235 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6237 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6239 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6240 If not using mmap'ed files try to seek to the end instead of the
6241 start to determine whether we can seek at all. This fixes the case
6242 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6243 seeks for everything afterwards fail. Fixes #400656
6245 2007-01-25 Wim Taymans <wim@fluendo.com>
6247 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6248 Add some refcount debugging.
6249 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6250 in multiple streaming threads.
6252 2007-01-25 Wim Taymans <wim@fluendo.com>
6254 Patch by: David Schleef <ds at schleef dot org>
6256 * docs/libs/gstreamer-libs-sections.txt:
6257 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6258 * libs/gst/base/gstadapter.h:
6259 API: gst_adapter_copy() that can reduce the amount of memcpy when
6260 getting data from the adapter. Fixes #388201.
6262 2007-01-25 Edward Hervey <edward@fluendo.com>
6264 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6265 In print statements, "%x" is for guint. Fixes build on macosx.
6267 2007-01-24 Edward Hervey <edward@fluendo.com>
6269 * plugins/elements/gstmultiqueue.c:
6270 (gst_multi_queue_loop):
6272 (single_queue_overrun_cb), (single_queue_underrun_cb),
6273 (single_queue_check_full), (gst_single_queue_new):
6274 Implement single queue growth system.
6275 This uses the extra-size properties, and will grow single queues by
6276 that much if one goes full whereas there are others empty. This is
6277 called extra-mode in the code.
6278 When a single queue's levels go back below the initial max-size
6279 limits, it is no longer in extra-mode. This is to ensure we don't
6280 consume too much memory.
6283 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6285 * gst/gst.c: (gst_init_get_option_group):
6286 Make warning about late g_thread_init() calls a bit more explicit,
6287 so that it's more obvious to application developers what they need
6288 to do if a user files a bug against their application.
6290 2007-01-22 Edward Hervey <edward@fluendo.com>
6292 * plugins/elements/gstmultiqueue.c:
6293 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6294 Remove previous hack of unsetting the flushing flag for the source pad
6295 instead of activating it. Instead, fix the source pad activate function
6296 so that it no longer depends on having a parent set or not.
6298 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6300 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6302 * docs/manual/basics-bus.xml:
6303 Fix example code, gst_element_unref() doesn't exist any longer.
6305 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6307 Patch by: Mark Nauwelaerts <manauw at skynet be>
6310 Fix two docs typoes (#399094).
6312 2007-01-19 Edward Hervey <edward@fluendo.com>
6314 * docs/faq/gst-uninstalled:
6315 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6316 depending on libgstbaseutils can work in uninstalled environment.
6318 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6321 * gst/gsttagsetter.c:
6322 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6323 statement for new tag.
6325 2007-01-17 Edward Hervey <edward@fluendo.com>
6327 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6328 When dynamically creating single queues, activate sinkpad before adding
6330 We should be doing the same thing for the source pad, but we can't
6331 since it would call a method which needs the parent to be set in order
6332 to work propertly. Instead of activating the source pad, we just unset
6333 the flushing flag, which is the minimal requirement for adding a pad
6334 to an element in a state greater than READY.
6336 2007-01-17 Edward Hervey <edward@fluendo.com>
6338 * docs/faq/gst-uninstalled:
6339 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6342 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6344 * tests/check/gst/gstabi.c:
6345 * tests/check/gst/struct_hppa.h:
6346 * tests/check/libs/libsabi.c:
6347 * tests/check/libs/struct_hppa.h:
6348 Add ABI structs for HPPA (see #393796).
6350 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6352 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6353 Actually write ABI structs to the file specified in the GST_ABI
6354 environment variable, as the message we print claims we would.
6356 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6358 * tests/check/gst/gsttask.c:
6361 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6363 * gst/gsttaglist.c: (_gst_tag_initialize):
6364 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6365 previous two entries.
6367 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6369 * docs/gst/gstreamer-sections.txt:
6370 * gst/gsttaglist.c: (_gst_tag_initialize):
6372 Add tag support for beat-per-minute.
6374 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6376 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6377 (gst_registry_binary_initialize_magic),
6378 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6379 (gst_registry_binary_save_pad_template),
6380 (gst_registry_binary_save_feature),
6381 (gst_registry_binary_save_plugin),
6382 (gst_registry_binary_write_cache),
6383 (gst_registry_binary_check_magic),
6384 (gst_registry_binary_load_pad_template),
6385 (gst_registry_binary_load_feature),
6386 (gst_registry_binary_load_plugin),
6387 (gst_registry_binary_read_cache):
6388 * gst/gstregistrybinary.h:
6389 Use glib types, cleanup comments, impement interfaces and uri-types.
6391 2007-01-13 Andy Wingo <wingo@pobox.com>
6393 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6394 getrange() to return buffers with other caps, while we fix
6395 demuxers and typefind, or otherwise change part-negotiation.txt.
6397 2007-01-12 Andy Wingo <wingo@pobox.com>
6399 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6400 Factor start/stop into this private function instead of partially
6401 in activate functions and partially in the change_state function.
6402 Fixes setup before the element has changed from READY->PAUSED, as
6403 is the case in pull-mode pipelines.
6404 (gst_base_transform_sink_activate_push)
6405 (gst_base_transform_src_activate_pull): Refactor to use
6406 gst_base_transform_activate().
6407 (gst_base_transform_change_state): Removed, not needed any more.
6409 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6410 Truncate before fixating.
6412 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6413 Don't set_caps() if the result of fixating is ANY, as it's not
6414 supported, and not necessary in the case of a link with no
6415 template caps on either side. Fixes tests/check/libs/basesrc in
6416 some pull-mode tests.
6418 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6419 (gst_base_transform_init, gst_base_transform_sink_activate_push)
6420 (gst_base_transform_src_activate_pull):
6421 Track the activation mode.
6422 (gst_base_transform_setcaps): In pull mode, when activating the
6423 src pad, after activating the sink pad, activate the sink pad's
6424 peer, as discussed in part-negotiation.txt.
6426 * libs/gst/base/gstbasesrc.h:
6427 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6428 vmethod, as in basesink.
6430 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6432 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6433 mode, first proxy the setcaps to the peer pad.
6434 (gst_base_sink_pad_fixate): Add a fixate function that calls the
6436 (gst_base_sink_default_activate_pull): Rename from
6437 gst_base_sink_activate_pull.
6438 (gst_base_sink_negotiate_pull): New function, performs negotiation
6439 in pull mode before calling ::activate_pull().
6440 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6441 vmethod instead of the default implementation. I have no idea how
6442 this worked before. Negotiate before calling activate_pull.
6444 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6445 sink pads in pull mode. In addition to being correct, fixes
6446 filesrc ! decodebin ! identity ! fakesink.
6447 (gst_pad_get_range, gst_pad_pull_range): Don't call
6448 gst_pad_set_caps() if the caps changes; instead error out with
6449 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6451 2007-01-12 Andy Wingo <wingo@pobox.com>
6453 * docs/design/part-negotiation.txt: Update with more policy.
6455 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6457 * libs/gst/check/gstbufferstraw.h:
6458 * libs/gst/check/gstcheck.h:
6459 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6462 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6464 * tests/check/Makefile.am:
6465 * tests/check/gst/.cvsignore:
6466 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6467 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6468 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6469 (GST_START_TEST), (gst_tag_setter_suite):
6470 Add minimal unit test for beforementioned GstTagSetter bug.
6472 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6474 Patch by: René Stadler <mail at renestadler dot de>
6476 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6477 gst_tag_list_merge() returns a new list, so it's not the best idea
6478 to ingore its return value. Effectively meant that tags could only
6479 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6480 Also add function guard to require a non-NULL taglist as input (has
6481 always been so due to gst_tag_list_copy(), just making it explicit).
6483 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6485 * docs/random/draft-missing-plugins.txt:
6486 Some additions: mention new API that is supposed to be used at the
6487 various stages; short blob about new gst-inspect introspection
6488 option; mention potential future problem with plugins that have
6489 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6491 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6493 * tools/gst-inspect.c:
6494 (print_plugin_automatic_install_info_codecs),
6495 (print_plugin_automatic_install_info_protocols),
6496 (print_plugin_automatic_install_info), (main):
6497 Add --print-plugin-auto-install-info option to gst-inspect, so we can
6498 introspect plugin files and get machine-parsable output that corresponds
6499 to the last bit of the missing-plugin installer string (small gotcha:
6500 doesn't take into account ranks).
6502 2007-01-11 Stefan Kost <ensonic@users.sf.net>
6505 * docs/gst/gstreamer-sections.txt:
6507 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6508 (gst_registry_lookup_locked):
6509 * gst/gstregistry.h:
6510 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6511 (gst_registry_binary_initialize_magic),
6512 (gst_registry_binary_save_string),
6513 (gst_registry_binary_save_pad_template),
6514 (gst_registry_binary_save_feature),
6515 (gst_registry_binary_save_plugin),
6516 (gst_registry_binary_write_cache),
6517 (gst_registry_binary_check_magic),
6518 (gst_registry_binary_load_pad_template),
6519 (gst_registry_binary_load_feature),
6520 (gst_registry_binary_load_plugin),
6521 (gst_registry_binary_read_cache):
6522 * gst/gstregistrybinary.h:
6523 * gst/gstregistryxml.c: (load_feature),
6524 (gst_registry_xml_read_cache):
6525 commit binary registry (disabled by default, see #359653)
6527 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6529 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6530 Fix 'make check' too.
6532 2007-01-10 Andy Wingo <wingo@pobox.com>
6534 * docs/design/part-negotiation.txt: Fix a typo, add a couple
6537 * docs/design/part-negotiation.txt: Update with, um, one way that
6538 pull-mode negotiation might work?
6541 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6542 that the pad must be a src pad; makes sense to call it the other
6543 way in pull mode, and the logic is symmetric anyway.
6545 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
6547 * plugins/elements/gstfilesink.c:
6548 Include <stdio.h> for fseeko().
6550 2007-01-10 Wim Taymans <wim@fluendo.com>
6554 Reserve LATENCY event.
6556 2007-01-09 Wim Taymans <wim@fluendo.com>
6558 * docs/design/draft-latency.txt:
6561 2007-01-09 Wim Taymans <wim@fluendo.com>
6563 * docs/design/draft-latency.txt:
6567 * gst/gststructure.c:
6571 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
6573 * tests/check/.cvsignore:
6574 Ignore test-registry.xml as well.
6576 2007-01-09 Wim Taymans <wim@fluendo.com>
6578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6579 unref data at the end when we are done with the pad.
6581 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6583 * docs/gst/gstreamer-sections.txt:
6584 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6585 (init_post), (gst_deinit), (gst_update_registry):
6587 API: add gst_update_registry() (#391296).
6589 * tests/check/Makefile.am:
6590 * tests/check/gst/gstregistry.c:
6591 * tests/check/gst/.cvsignore:
6592 Simple unit test for the above.
6594 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6596 * gst/gstregistry.c: (gst_registry_scan_path_level):
6597 Plugin extension on HP-UX is .sl, add that to the list of approved
6598 plugin extensions (see #393796).
6600 * tests/check/gst/gstpad.c: (GST_START_TEST):
6601 ulong => gulong. Fixes compilation with HP-UX compiler.
6603 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6604 Fix compilation if valgrind headers are not available.
6606 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
6608 * win32/common/libgstreamer.def:
6609 Add new exported function.
6610 * win32/vs6/libgstbase.dsp:
6611 Add gstdataqueue.c to the build.
6612 * win32/vs6/libgstcoreelements.dsp:
6613 Add gstmultiqueue.c to the build.
6615 2007-01-06 Andy Wingo <wingo@pobox.com>
6617 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6618 activate_pull(), providing for a way to specialize the process of
6619 spawning a thread to pull on the sink pad. There is a default
6622 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6623 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6624 (gst_base_sink_init): Renamed pad activation functions (inserting
6625 "_pad" in their names). Refactor to use the new activate_pull
6626 vmethod, as appropriate.
6627 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6628 default activate_pull function to start a task pulling from the
6629 sink pad, as before.
6631 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6632 on the pads if necessary, as in push()/chain(). Update docs.
6633 Shouldn't affect existing pull() usage as it is currently only
6634 being used on buffers without caps.
6636 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6638 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6640 Call g_thread_init() first thing in gst_init() / gst_check_init().
6641 When initialisation is done via gst_init_get_option_group() and
6642 GOption parsing, issue a warning if the GLib thread system has not
6643 been initialised yet by the time gst_init_get_option_group() is
6644 called, as it's quite likely other GLib functions such as
6645 g_option_context_new() have been called already then, and
6646 g_thread_init() must be called before any other GLib function. The
6647 application in question must be fixed in that case, since memory
6648 corruption might happen otherwise.
6649 We issue the warning because even if the GLib folks decide to work
6650 around the problem on their end in future, this is still an issue
6651 with all GLib versions >= 2.10.0, so we should warn until we depend
6652 on a GLib version we know to be safe.
6653 Update documentation as well.
6656 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6658 * tools/gst-inspect.c: (main):
6659 * tools/gst-launch.c: (main):
6660 * tools/gst-typefind.c: (main):
6661 * tools/gst-xmlinspect.c: (main):
6662 Call g_thread_init() really really early, before any other GLib
6663 function (see #342564 and recent discussion on gtk-devel-list).
6665 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6667 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
6669 * gst/gst_private.h:
6670 * gst/gstconfig.h.in:
6672 On win32, all the __declspec stuff for symbol exporting is
6673 apparently only needed with MSVC, but doesn't work with MingW.
6674 Fixes compilation with MingW and #391909.
6676 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6678 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6679 Change some GST_ERROR_OBJECT that aren't really errors to
6680 GST_WARNING_OBJECT in order to reduce terminal spam.
6682 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6684 * tests/check/Makefile.am:
6685 disable test again, as there seem to be still race problems
6687 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6689 * tests/check/Makefile.am:
6690 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6691 (GST_START_TEST), (queue_suite):
6692 enable queue test again, add tests for the leaky behaviour
6694 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
6697 * tests/examples/Makefile.am:
6698 Compile adapter test/example only if the required headers are
6699 available (fixes #391915).
6701 2007-01-01 David Schleef <ds@schleef.org>
6704 Restore the previous signal handler for SIGSEGV instead of
6705 setting to default, since we may have stolen it away from
6706 someone. (i.e., Mono)
6708 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6710 * docs/random/draft-missing-plugins.txt:
6711 Some small additions and clarifications.
6713 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6715 * gst/gstregistryxml.c: (gst_registry_save_escaped):
6716 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6717 since that can lead to random memory corruptions and crashes
6718 (may or may not be related to #383244, #386711, and #386711).
6720 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6722 * tests/check/.cvsignore:
6723 * tests/check/Makefile.am:
6724 sync .cvsignome and CLEANFILES
6726 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6728 * tests/check/Makefile.am:
6731 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6733 * docs/design/part-states.txt:
6734 two tiny additional comments
6736 * gst/gststructure.c:
6739 * tests/check/Makefile.am:
6740 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6742 disable test for now, unless it gets fixed
6744 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6746 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6748 fix race in underrun test
6750 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6752 * tests/check/elements/.cvsignore:
6755 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6757 try to narrow test failure
6759 2006-12-21 David Schleef <ds@schleef.org>
6761 * plugins/elements/gstfakesrc.c:
6762 Use g_random_int_range(), since it produces better random
6763 numbers in a range than almost-correct floating point code.
6765 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6767 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6768 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6769 (gst_check_teardown_sink_pad):
6770 do not automatically (de)activate pads
6772 * tests/check/Makefile.am:
6773 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6774 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6775 add new, yet simple tests for queue
6777 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6778 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6779 * tests/check/elements/filesrc.c: (cleanup_filesrc),
6781 * tests/check/elements/identity.c: (cleanup_identity):
6782 consistent pad (de)activation
6784 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
6786 Patch by: Sebastian Dröge <slomo ubuntu com>
6788 * libs/gst/base/gstcollectpads.c:
6789 Fix two doc typos (#387866).
6791 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6793 * docs/manual/advanced-dparams.xml:
6794 Fix typo (g_object_control_properties() doesn't exist).
6796 2006-12-19 Edward Hervey <edward@fluendo.com>
6798 * gst/gstsegment.c: (gst_segment_set_seek):
6799 Fine tune the cases where the segment start/stop values are really
6801 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6802 Add tests for the return values of gst_segment_set_seek().
6804 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6809 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6811 Fix incorrect documentation and flesh it out a bit more.
6812 Set default values for the max properties on the GParamSpec as well,
6813 so it shows up correctly in gst-inspect.
6815 2006-12-18 Stefan Kost <ensonic@users.sf.net>
6817 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6818 Correct docs of queue, add more detail and crosslink it more.
6820 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6822 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6823 Print additional debug info when the stream isn't perfectly
6824 timestamped; don't try to use invalid durations.
6826 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6828 * docs/design/Makefile.am:
6829 Dist new design docs.
6831 2006-12-16 Wim Taymans <wim@fluendo.com>
6833 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6835 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6836 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6837 (gst_collect_pads_stop), (gst_collect_pads_event),
6838 (gst_collect_pads_chain):
6839 * libs/gst/base/gstcollectpads.h:
6840 Add refcounting to the collectpads data so we can track when it's safe
6841 to free the data. Fixes #383382.
6843 2006-12-15 Wim Taymans <wim@fluendo.com>
6845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6846 (gst_collect_pads_remove_pad):
6847 Automatically activate/deactivate pads when they are added to a
6848 started/stoped collectpads.
6850 2006-12-15 Wim Taymans <wim@fluendo.com>
6852 * gst/gstelement.c: (gst_element_add_pad):
6853 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6854 * gst/gstpad.c: (gst_pad_init):
6855 Set pads to FLUSHING when they are created. Check, warn and fix when a
6856 demuxer adds an inactive pad to itself when running. Fixes #339326.
6858 2006-12-15 Wim Taymans <wim@fluendo.com>
6860 * gst/gstelement.c: (gst_element_class_init),
6861 (gst_element_default_send_event), (gst_element_send_event),
6862 (gst_element_default_query), (gst_element_query):
6863 Expose default element send_event and query handling as vmethods that
6864 subclasses can chain up to.
6866 2006-12-15 Wim Taymans <wim@fluendo.com>
6868 * gst/gstelement.c: (gst_element_set_state_func):
6869 Small documentation fixes.
6871 2006-12-15 Wim Taymans <wim@fluendo.com>
6873 * docs/design/draft-latency.txt:
6874 Checked in draft for handling latency in pipelines.
6876 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * gstreamer.spec.in:
6883 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
6885 * gst/gst.c: (init_pre), (init_post):
6886 init_pre() and init_post() might be called via our GOptionGroup or
6887 from gst_init(), and we should skip both of them if we've already
6888 been initialised, otherwise we will init some things twice or add
6889 two default log functions.
6891 2006-12-13 Edward Hervey <edward@fluendo.com>
6893 * docs/manual/basics-bus.xml:
6894 No, gst_main_loop does not exist. Its g_main_loop.
6895 Discovered by somebody who abused the copy-paste technique of coding :)
6897 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
6899 * gst/gstghostpad.c:
6900 Log ghostpad debug stuff to the GST_PADS category as well rather
6901 than just to the default category.
6903 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
6906 * gst/gst.c: (init_pre):
6907 Add some basic system details such as OS and architecture
6908 to the debug output if possible, courtesy of uname().
6910 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
6912 * docs/gst/running.xml:
6913 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6914 environment variables.
6916 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6918 * tests/check/gst/gstbin.c: (GST_START_TEST):
6919 It is acceptable to have a refcount of 2 or 3 at this point in the
6920 test, because the pipeline might be just posting its state_change
6921 message. The next line then waits for that message to appear using
6922 bus_poll, so that should be fine too.
6924 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6926 * gst/gst.c: (ensure_current_registry_forking):
6927 Ignore EINTR when reading from the child registry pipe.
6928 Explicitly ignore the return value from close, since it makes no
6931 * gst/gstminiobject.c: (gst_mini_object_ref),
6932 (gst_mini_object_unref):
6933 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6935 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6936 When removing cached plugins, remove their features too, so they're
6937 not visible after they've disappeared.
6939 * gst/gstutils.c: (prepare_link_maybe_ghosting):
6940 In the unlikely case that we are linking pads with no parents, don't
6941 crash trying to get the non-existent parent bin.
6943 * gst/parse/grammar.y:
6944 Output debug in the PIPELINE category
6946 2005-03-08 Wim Taymans <wim@fluendo.com>
6948 Patch by: René Stadler <mail at renestadler dot de>
6950 * gst/gstclock.c: (gst_clock_new_periodic_id):
6951 Reject invalid clock times for interval of periodic ids.
6954 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6956 * gst/gstelementfactory.c: (gst_element_factory_create):
6957 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6958 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6959 * tools/gst-inspect.c: (print_element_info):
6960 Fix refcounting of gst_plugin_feature_load to match the docs.
6963 2006-12-07 Wim Taymans <wim@fluendo.com>
6965 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6966 (gst_base_sink_get_position):
6967 Improve debugging of events.
6969 2006-12-07 Wim Taymans <wim@fluendo.com>
6971 Patch by: René Stadler <mail at renestadler dot de>
6973 * gst/gstclock.c: (gst_clock_id_wait):
6974 Make period ids add the interval to the origial requested time instead
6975 of the possibly updated time which can be wrong when there are multiple
6976 waiters for the same id. Fixes #382592.
6978 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6979 (gst_system_clock_id_wait_jitter_unlocked),
6980 (gst_system_clock_id_wait_jitter):
6981 Fix restart in the async notify thread when an async entry is added to
6982 the front of the list. Fixes #381492.
6984 * tests/check/gst/gstsystemclock.c: (store_callback),
6985 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6986 Added test for multiple async waits.
6987 Added test for async wait order.
6989 2006-12-07 Wim Taymans <wim@fluendo.com>
6991 * gst/gstbin.c: (gst_bin_query):
6992 Add some more docs about the POSITION query.
6994 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6997 Bump version nano - back to CVS.
6999 === release 0.10.11 ===
7001 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
7004 releasing 0.10.11, "Love never runs on time"
7006 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
7008 * win32/common/libgstbase.def:
7009 * win32/common/libgstreamer.def:
7010 * win32/vs8/libgstbase.vcproj:
7011 * win32/vs8/libgstcoreelements.vcproj:
7012 * win32/vs8/libgstreamer.vcproj:
7013 Fix compilation on win32 under VS8
7014 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7015 Partially fixes #381175
7017 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7019 * gst/gstvalue.c: (gst_value_compare_fraction):
7020 If someone is foolish enough to compare 2 fractions with denominator =
7021 0, return UNORDERED rather than aborting.
7023 2006-11-28 Edward Hervey <edward@fluendo.com>
7025 * libs/gst/base/Makefile.am:
7026 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7027 (gst_data_queue_base_init), (gst_data_queue_class_init),
7028 (gst_data_queue_init), (gst_data_queue_new),
7029 (gst_data_queue_cleanup), (gst_data_queue_finalize),
7030 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7031 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7032 (gst_data_queue_is_empty), (gst_data_queue_is_full),
7033 (gst_data_queue_set_flushing), (gst_data_queue_push),
7034 (gst_data_queue_pop), (gst_data_queue_drop_head),
7035 (gst_data_queue_set_property), (gst_data_queue_get_property):
7036 * libs/gst/base/gstdataqueue.h:
7037 New GstDataQueue object for threadsafe queueing. Most useful for
7038 elements that need some queueing functionnality.
7039 * docs/libs/gstreamer-libs-docs.sgml:
7040 * docs/libs/gstreamer-libs-sections.txt:
7041 Insert documentation for GstDataQueue
7042 * plugins/elements/Makefile.am:
7043 * plugins/elements/gstelements.c:
7044 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7045 (gst_multi_queue_class_init), (gst_multi_queue_init),
7046 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7047 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7048 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7049 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7050 (gst_multi_queue_loop), (gst_multi_queue_chain),
7051 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7052 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7053 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7054 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7055 (wake_up_next_non_linked), (compute_next_non_linked),
7056 (single_queue_overrun_cb), (single_queue_underrun_cb),
7057 (single_queue_check_full), (gst_single_queue_new):
7058 * plugins/elements/gstmultiqueue.h:
7059 New multiqueue element, using GstDataQueue. Used for queuing multiple
7061 Closes #344639 and #347785
7063 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7065 * docs/pwg/advanced-types.xml:
7066 add more missing type details
7068 * tools/gst-run.c: (main):
7069 remove unused variable
7071 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7073 * docs/libs/Makefile.am:
7074 * docs/libs/gstreamer-libs.types:
7075 add types of base classes to enable gobject specific stuff in the docs
7077 * docs/random/ensonic/embedded.txt:
7078 more ideas about isolating platform specific things
7080 2006-11-20 Wim Taymans <wim@fluendo.com>
7082 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7084 * libs/gst/check/gstcheck.h:
7085 Fix compilation and running against 0.9.4. Fixes #377332.
7087 2006-11-20 Wim Taymans <wim@fluendo.com>
7089 * gst/gstsegment.c: (gst_segment_set_seek),
7090 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7091 (gst_segment_to_running_time):
7092 Fix boundary checking in to_running_time() and to_stream_time().
7095 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7096 stream and running time can now be calculated for the complete
7099 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7101 * gst/gstpad.c: (gst_pad_push_event):
7102 Can't access event structure after giving away ownership of
7105 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7107 * docs/random/ensonic/embedded.txt:
7108 * docs/random/ensonic/profiling.txt:
7109 * docs/random/ensonic/receipies.txt:
7112 2006-11-13 Wim Taymans <wim@fluendo.com>
7114 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7117 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7119 2006-11-13 Wim Taymans <wim@fluendo.com>
7121 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7123 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7124 Store new length in segment duration so we don't keep on calling the
7125 potentially expensize get_size() call. Fixes #370865.
7127 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7129 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7131 * win32/common/libgstreamer.def:
7132 Add two missing symbols (#366492).
7134 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7136 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7137 (gst_adapter_take_buffer):
7138 Fix format string to use all its arguments.
7139 Remove useless >= check on a guint
7141 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7143 * tests/examples/adapter/.cvsignore:
7144 Ignore build file as commanded by the build-bot
7146 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7148 * tests/examples/adapter/Makefile.am:
7149 * tests/examples/adapter/adapter_test.c: (run_test_take),
7150 (run_test_take_buffer), (run_tests), (main):
7152 Add new files from the previous commit
7154 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7158 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7159 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7160 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7161 * libs/gst/base/gstadapter.h:
7162 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7163 (GST_START_TEST), (gst_adapter_suite):
7164 * tests/examples/Makefile.am:
7165 Do some optimisation work in GstAdapter to avoid copies in more cases.
7166 It could still do slightly better by merging buffers when
7167 gst_buffer_is_span_fast is true, but is already faster.
7169 Also, avoid traversing a single-linked list to append each incoming
7170 buffer inside the adapter.
7172 Add simple test app that times the adapter behaviour in different
7173 situations, and extend the unit test to check that bytes enter and
7174 exit the adapter in their original order.
7176 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7178 * docs/random/draft-missing-plugins.txt:
7179 Update: use element message instead of adding a new message
7180 type to the core; don't provide GStreamer API to initiate the
7181 plugin download, just provide API to compose the strings needed
7182 and let an external libgimmestuff handle the rest.
7184 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7186 * tools/gst-inspect.c: (print_element_properties_info):
7187 Print a string instead of 'unknown type' for GValueArray properties
7189 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7191 * docs/random/draft-missing-plugins.txt:
7194 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7196 * tests/examples/typefind/typefind.c: (type_found), (main):
7197 Make typefind element example work again (#371894); add a
7200 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7202 * docs/random/draft-missing-plugins.txt:
7203 Commit initial draft about how to deal with missing plugins,
7204 needs work (API too).
7206 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7208 * docs/pwg/advanced-types.xml:
7209 documents the new caps elements (see #363118)
7211 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7213 * gst/gstplugin.c: (gst_plugin_load_file):
7214 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7215 (gst_file_src_map_region), (gst_file_src_start):
7216 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7217 (gst_file_index_commit):
7218 Use g_strerror() instead of strerror() - we want UTF-8.
7220 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7222 Patch by: Peter Kjellerstedt <pkj at axis com>
7224 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7225 Another printf fix (#371493).
7227 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7229 * tests/check/gst/gsttag.c:
7230 relicence (okay with author=company)
7232 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7234 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7235 (gst_pad_push_event):
7236 Enhance debug and improve docs
7241 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7243 * docs/random/ensonic/distributed.txt:
7244 * docs/random/ensonic/profiling.txt:
7247 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7249 * docs/gst/gstreamer-sections.txt:
7250 add new API and fix the build
7252 * gst/gstbin.c: (gst_bin_recalc_state):
7253 * gst/gstelement.c: (gst_element_message_full),
7254 (gst_element_get_state_func), (gst_element_set_state_func):
7255 use new API and improve logging
7257 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7259 API: add function to get StateChangereturn names to improve logs
7261 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7263 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7264 I'm considering shooting the next person to put strerror stuff
7265 in the translateable part of the message.
7267 2006-11-03 Wim Taymans <wim@fluendo.com>
7269 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7270 Get the type and printf conversion specifiers right.
7272 2006-11-03 Wim Taymans <wim@fluendo.com>
7274 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7276 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7277 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7278 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7279 Some small cleanups. Improve debugging.
7281 Signal all waiting threads with a broadcast instead of just one.
7284 2006-11-03 Wim Taymans <wim@fluendo.com>
7286 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7287 (gst_fd_src_create):
7289 Only update fd when it's different from the old.
7291 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7293 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7294 Printf fixes for PPC/OSX, take two (#369366).
7296 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7298 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7300 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7301 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7302 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7303 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7304 don't cast to long long for portability reasons, but use
7305 GLib's types instead.
7307 2006-10-30 Michael Smith <msmith@fluendo.com>
7309 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7310 Get the arguments to lseek() the right way around.
7313 2006-10-30 Wim Taymans <wim@fluendo.com>
7315 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7318 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7320 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7322 Patch by: Kjartan Maraas <kmaraas at gnome org>
7324 * docs/design/part-MT-refcounting.txt:
7325 * docs/random/wtay/capsnego2-docs:
7328 Typo fixes (#366212).
7330 2006-10-28 Wim Taymans <wim@fluendo.com>
7332 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7335 * win32/common/libgstbase.def:
7336 * win32/common/libgstreamer.def:
7337 * win32/vs8/libgstbase.vcproj:
7338 * win32/vs8/libgstcontroller.vcproj:
7339 Add needed entries in .def files.
7341 Rearrange def files in vs8 solutions. Fixes #366286.
7343 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7345 * win32/common/gstconfig.h:
7346 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7347 hand-made win32 gstconfig.h. Fixes #366321.
7349 2006-10-27 Wim Taymans <wim@fluendo.com>
7351 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7352 (gst_ghost_pad_new_full):
7353 Make acceptcaps return TRUE when we don't have a target, just like
7356 2006-10-27 Wim Taymans <wim@fluendo.com>
7358 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7359 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7361 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7363 * gst/gststructure.c: (gst_structure_id_set_value):
7364 If someone tries to set a non-UTF8 string field on a structure,
7365 don't just print a warning, but also ignore the request and do
7366 not change/add that field to the structure.
7368 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7371 2006-10-25 David Schleef <ds@schleef.org>
7374 g_hash_table_insert() needs a cast to a non-const pointer duh.
7376 2006-10-25 David Schleef <ds@schleef.org>
7380 Change name parameter of _gst_debug_register_funcptr to const
7381 to reflect the constness of its use in the function as well
7382 as to quiet a gcc warning.
7384 2006-10-25 Edward Hervey <edward@fluendo.com>
7386 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7387 Don't push the buffer if it's empty.
7390 2006-10-24 Wim Taymans <wim@fluendo.com>
7395 * libs/gst/base/gstbasetransform.c:
7396 (gst_base_transform_sink_eventfunc):
7397 Debug segment values *after* updating them as this is more
7400 2006-10-23 Wim Taymans <wim@fluendo.com>
7402 * docs/design/part-events.txt:
7405 * docs/design/part-block.txt:
7406 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7407 (gst_pad_push_event):
7408 Revert BLOCKING patch, it tries to be smart without really having a
7409 clear idea what or how. So, now we discard all FLUSHING events again on
7410 a blocking pad. Should fix gnonlin again.
7412 2006-10-23 Wim Taymans <wim@fluendo.com>
7414 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7416 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7417 (gst_base_src_start), (gst_base_src_activate_push):
7418 Make sure size is always initialized. Fixes #364388.
7420 2006-10-20 Stefan Kost <ensonic@users.sf.net>
7422 * docs/random/ensonic/distributed.txt:
7423 add some ideas about doing distributed processing
7425 * docs/random/ensonic/profiling.txt:
7426 get_rusage look promising
7428 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7430 * docs/manual/basics-helloworld.xml:
7431 Add a cast in example to fix compile warning
7433 2006-10-18 Wim Taymans <wim@fluendo.com>
7435 * gst/gstsegment.c: (gst_segment_set_last_stop),
7436 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7437 Relax arg checking again, -1 is allowed.
7439 2006-10-18 Wim Taymans <wim@fluendo.com>
7441 * gst/gstsegment.c: (gst_segment_set_last_stop),
7442 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7443 _set_last_stop() must be with a value != -1
7444 A _TYPE_SET to -1 means seek to 0.
7445 Calc last_stop correctly for negative rates.
7446 Make sure we work with positive durations when updating a segment.
7448 2006-10-18 Wim Taymans <wim@fluendo.com>
7450 * docs/design/part-live-source.txt:
7454 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
7457 Add an explicit cast to GstBuffer** to keep old code that added an
7458 explicit cast to GstMiniObject** for gst_mini_object_replace()
7459 compiling without warning.
7461 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7463 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7464 check for validity of dates
7466 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7468 * docs/gst/gstreamer-sections.txt:
7469 Forgot this one, makes gtk-doc shut up.
7471 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7473 Patch by: Peter Kjellerstedt <pkj at axis com>
7476 Don't define xmlNodePtr to gpointer if the core was built with
7477 --disable-loadsave and --disable-registry, this will break
7478 applications that want to use libxml2 but are buildling against a
7479 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7480 instead so we don't have to mess with the libxml2 namespace
7483 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7486 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7487 type-punned pointer warnings.
7489 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
7492 Add casts to the correct return type to state <=> state transition
7495 2006-10-16 Stefan Kost <ensonic@users.sf.net>
7497 * docs/design/part-live-source.txt:
7498 describe howto handle latency
7500 * docs/random/ensonic/profiling.txt:
7503 * tools/gst-plot-timeline.py:
7504 fix log parsing for solaris, remove unused function
7506 2006-10-16 Wim Taymans <wim@fluendo.com>
7508 * docs/design/part-trickmodes.txt:
7510 Update some docs regarding reverse playback.
7512 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
7514 Patch by: Marcus Granado <mrc dot gran at gmail com>
7516 * win32/vs8/grammar.vcproj:
7517 Error out with a warning if glib-genmarshal.exe is not in path,
7518 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7520 2006-10-13 Wim Taymans <wim@fluendo.com>
7522 * gst/gstsegment.c: (gst_segment_set_seek):
7523 When seeking to stop -1, set last_stop (current position) to the
7524 duration of the segment.
7526 2006-10-13 Wim Taymans <wim@fluendo.com>
7529 Clarify _NO_PREROLL a bit more.
7534 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7535 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7536 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7537 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7538 due to wrong locking order. Fixes #361769.
7539 Remove some redundant/misplaced checks in pad_block.
7541 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7542 For negative rates, count backwards from the duration.
7544 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
7546 * gst/gsterror.c: (_gst_library_errors_init):
7547 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7548 up with something better).
7550 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7552 * win32/vs6/libgstreamer.dsp:
7553 * win32/vs7/libgstreamer.vcproj:
7554 * win32/vs8/libgstreamer.vcproj:
7555 Don't reference glib-compat.c which is currently not used and not
7556 disted; add gstquark.c which was recently added. Fixes #361730.
7558 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7560 * win32/common/libgstbase.def:
7561 * win32/common/libgstcontroller.def:
7562 * win32/common/libgstreamer.def:
7563 Add gst_caps_merge() and a bunch of other recently-added functions.
7566 2006-10-11 Wim Taymans <wim@fluendo.com>
7568 * docs/plugins/gstreamer-plugins.args:
7569 * docs/plugins/inspect/plugin-coreelements.xml:
7570 * docs/plugins/inspect/plugin-coreindexers.xml:
7571 Update element args.
7573 * gst/gstsystemclock.c:
7574 Small comment update.
7576 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7577 (gst_tee_request_new_pad), (gst_tee_release_pad),
7578 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7579 (gst_tee_sink_activate_pull):
7580 * plugins/elements/gsttee.h:
7582 Add default property defines.
7583 Implement release pad function.
7584 Give properties better blubs etc.
7585 Activate pads before adding them to a running tee.
7586 Do simple buffer_alloc on the first requested pad.
7587 Post error when activation fails.
7589 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7591 * gst/gst.c: (ensure_current_registry_forking):
7592 Check return value of write() to make compiler happy.
7594 2006-10-11 Wim Taymans <wim@fluendo.com>
7596 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7598 * plugins/elements/gstqueue.c: (gst_queue_chain):
7599 Recheck queue filledness after signalling the overrun when we're about
7600 to leak downstream because we released the lock when emitting the signal
7601 and the queue could be empty again. Fixes #352345.
7603 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7605 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7606 Fix refcounting here too, just like we did for _new_valist() a few
7607 days ago (#357180) (thanks to René Stadler). Also remove all those
7608 'Since: 0.9' from the gtk-doc blobs.
7610 * tests/check/libs/controller.c: (controller_refcount_new_list),
7611 (gst_controller_suite):
7612 Unit test for the above.
7614 2006-10-10 Wim Taymans <wim@fluendo.com>
7616 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7618 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7619 (gst_pad_save_thyself):
7621 Write pad direction in XML output. Fixes #345496.
7623 2006-10-10 Wim Taymans <wim@fluendo.com>
7625 Patch by: René Stadler <mail at renestadler dot de>
7627 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7628 (gst_controller_new_list), (_gst_controller_dispose),
7629 (_gst_controller_finalize), (_gst_controller_class_init):
7630 Take ref to controlled object so that it cannot disappear.
7633 2006-10-10 Wim Taymans <wim@fluendo.com>
7635 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7636 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7637 (gst_check_teardown_sink_pad):
7638 Activate/deactivate pads in setup/teardown respectively.
7640 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7642 Patch by: Josep Torra Valles <josep@fluendo.com>
7645 Cast values when making gstenumtypes.h. This pacifies Forte
7646 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7649 2006-10-09 Wim Taymans <wim@fluendo.com>
7651 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7652 Rename some more @cur to @start to fix docs.
7654 * gst/gstsegment.c: (gst_segment_set_seek):
7656 time and start must always stay in sync as defined in design doc.
7658 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7659 Rename param to fix docs.
7661 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7662 Check that start and time are in sync.
7664 * tests/check/pipelines/parse-launch.c:
7665 (gst_parse_test_element_change_state):
7666 Activate pad before adding to the element.
7668 2006-10-09 Wim Taymans <wim@fluendo.com>
7670 * docs/design/part-qos.txt:
7675 Update seek event docs regarding negative rates.
7676 Rename @cur to @start.
7678 * gst/gstsegment.c: (gst_segment_set_seek):
7680 Update set_seek docs regarding negative rates.
7681 Correctly update last_stop to @stop when dealing with negative
7683 Rename @cur to @start.
7685 * tests/check/gst/gstpad.c: (GST_START_TEST):
7686 Activate pads before trying to use them.
7688 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7689 (gst_segment_suite):
7690 Add simple check for segments and negative rates.
7692 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
7694 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7696 * docs/gst/gstreamer-sections.txt:
7697 API: add gst_tag_list_is_empty() (#360467).
7699 * tests/check/gst/gsttag.c: (GST_START_TEST):
7702 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7705 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7706 a value that doesn't fit on enumeration.
7708 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7710 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7711 Remove local debugging system and use Gstreamer's instead.
7713 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7715 Patch by: Josep Torra Valles <josep@fluendo.com>
7717 * common/m4/gst-error.m4:
7718 Disable warning of statement not reached on Forte.
7720 Fix warning on Forte (value doesn't fit on enumeration).
7721 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7722 Fix warning on Forte (value doesn't fit on enumeration).
7723 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7724 DEBUG macro says it takes minimum of 2 args and so Forte
7725 complains about the use with just 1 arg.
7726 * plugins/elements/gstfdsink.c:
7727 * plugins/elements/gstfdsrc.c:
7728 * plugins/elements/gstfilesink.c:
7729 * plugins/elements/gstfilesrc.c:
7730 Use correct return type for the uri handler implementations.
7732 All these fix warnings in Forte. Fixes bug #360860.
7734 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
7737 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7738 format string, so don't use G_GNUC_PRINTF for those versions.
7740 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7742 * gst/gsttaglist.c: (gst_is_tag_list):
7744 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7746 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7747 Small test for the above.
7749 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7752 Less tabs, more spaces.
7754 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
7757 Those two function declarations do actually belong there, revert
7758 commit from yesterday that turned them intro macros.
7760 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7762 Patch by: Josep Torra Valles <josep@fluendo.com>
7764 * gst/gst.c: (gst_init_get_option_group):
7765 Fix empty declaration and type mismatch.
7766 * gst/gstbin.c: (gst_bin_change_state_func):
7768 * gst/gstelement.c: (gst_element_continue_state),
7769 (gst_element_set_state_func), (gst_element_change_state),
7770 (gst_element_change_state_func):
7771 Fix type mismatches.
7772 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7773 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7774 Cast as appropriate.
7775 * gst/gstobject.c: (gst_class_signal_connect):
7776 Cast as appropriate. The function pointer parameter really
7777 has the wrong type but would break API if we change it.
7779 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7780 order of including string.h.
7781 * gst/gstutils.c: (gst_element_state_get_name):
7782 Remove unreachable line.
7783 * gst/gstxml.c: (gst_xml_parse_doc):
7785 All these caught by Forte.
7787 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7789 Patch by: Josep Torra Valles <josep@fluendo.com>
7791 * common/m4/gst-error.m4:
7793 We need to disable warnings on Forte for empty declarations
7794 due to gst-indent adding ;s to lines that just use macros
7795 where the macro actually doesn't need a ; at end to end
7798 2006-10-06 Wim Taymans <wim@fluendo.com>
7800 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7801 (gst_file_sink_close_file), (gst_file_sink_event),
7802 (gst_file_sink_render):
7803 Add some FIXME for the NEWSEGMENT handling.
7805 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7807 * gst/parse/grammar.y:
7808 Remove static function gst_parse_element_lock as all it does
7809 is return. Looks like cruft from 0.8.
7811 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7813 Patch by: Josep Torra Valles <josep@fluendo.com>
7815 * common/m4/gst-error.m4:
7817 * libs/gst/net/Makefile.am:
7818 Fix a compilation issue with Forte on Solaris. inet_aton is in
7821 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7823 * gst/gstpad.c: (pre_activate):
7824 * gst/gstregistry.c: (gst_registry_scan_path_level):
7825 * gst/gstregistryxml.c: (load_plugin):
7826 * libs/gst/controller/gstcontroller.c:
7827 (gst_controlled_property_set_interpolation_mode):
7828 * libs/gst/dataprotocol/dataprotocol.c:
7829 (gst_dp_packet_from_event_1_0):
7830 * libs/gst/net/gstnetclientclock.c:
7831 (gst_net_client_clock_observe_times):
7832 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7835 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7838 * docs/gst/gstreamer-sections.txt:
7839 * gst/gstconfig.h.in:
7842 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7843 whether we can use G_GNUC_PRINTF in other header files and at
7844 least check the printf format/arguments of debug messages and
7845 GST_ELEMENT_ERROR messages when the printf extension is not
7847 Replace more tabs with spaces in gstinfo.h and remove two spurious
7848 function declarations in GST_DISABLE_DEBUG part with macros.
7850 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
7852 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7853 More docs for the sync-message signal (mention that it is not
7854 emitted by default); log message structures of messages posted on
7857 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
7859 * gst/gst.c: (ensure_current_registry_forking):
7860 Use a pipe pair to receive status results from the forked child, and
7861 ignore the result from waitpid. Fixes #355499
7863 2006-10-02 Wim Taymans <wim@fluendo.com>
7865 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7866 (gst_ghost_pad_suite):
7869 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7872 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7874 2006-10-02 Edward Hervey <edward@fluendo.com>
7876 * docs/design/part-block.txt:
7877 Further explain the use of flushing on blocked pads.
7878 * docs/gst/gstreamer-sections.txt:
7879 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7880 (gst_pad_push_event):
7882 Added new GstPadFlag : GST_PAD_BLOCKING.
7883 Adds the notion of pads really blocking, which enables to properly
7884 handle FLUSH_START/FLUSH_STOP events on blocked pads.
7886 API: gst_pad_is_blocking()
7887 API: GST_PAD_IS_BLOCKING() macro
7888 API: GST_PAD_BLOCKING GstPadFlag
7890 2006-10-02 Wim Taymans <wim@fluendo.com>
7892 Patch by: mrcgran <mrc.gran at gmail dot com>
7894 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7895 Filter the proxied caps against the padtemplate if we have one.
7897 * gst/gstquery.c: (gst_query_new_segment):
7898 Add include for gstinfo.h so that compilation with
7899 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7901 2006-10-02 Wim Taymans <wim@fluendo.com>
7903 Patch by: Alessandro Decina <alessandro at nnva org>
7905 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7906 (gst_file_sink_set_location), (gst_file_sink_open_file),
7907 (gst_file_sink_close_file), (gst_file_sink_event),
7908 (gst_file_sink_render):
7909 Set file to NULL when closing filesink so that we can set a new filename
7910 in READY. Fixes #358613.
7912 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7914 Patch by: Alessandro Decina <alessandro at nnva org>
7916 * gst/gstevent.c: (_gst_event_copy):
7917 Fix gst_mini_object_make_writable() and gst_event_copy() for events
7918 with event structures by setting the parent refcount address of the
7919 copied structure to the address of the refcount member of the newly
7920 copied event rather than the address of the refcount member of the
7921 original event. Fixes #358737.
7923 * tests/check/gst/gstevent.c: (GST_START_TEST):
7924 Unit test for the above.
7926 2006-09-29 Stefan Kost <ensonic@users.sf.net>
7928 * docs/design/Makefile.am:
7929 Dist some more files.
7931 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7933 * tests/check/libs/controller.c: (GST_START_TEST),
7934 (gst_controller_suite):
7935 Add test for the previous fix; add some more tests
7936 for correct refcounting behaviour; fix a few leaks
7937 in test cases; call gst_controller_init() at start
7940 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7942 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7943 (gst_controller_set_from_list):
7944 Don't g_return_val_if_fail() on timed values with invalid timestamps
7945 inside a critical section without unlocking the mutex. Spotted by
7946 René Stadler. (#357617)
7947 Also, fix up refcounting properly: when returning an existing
7948 controller, we should increase the reference only once and not
7949 once per property and when trying to control a property again
7950 we should also increase the refcount.
7952 2006-09-29 Wim Taymans <wim@fluendo.com>
7954 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7955 * libs/gst/net/gstnettimeprovider.c:
7956 (gst_net_time_provider_thread):
7957 Stop reading commands when EOF as well.
7959 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7960 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7961 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7962 Unify description of the dump property.
7964 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7966 * tests/examples/manual/.cvsignore:
7967 OK, so it's actually cvsignore that needs changing. Stop laughing.
7969 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7971 * tests/examples/manual/Makefile.am:
7972 Gah, declare vars *before* using them
7974 2006-09-28 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):
7980 * gst/gst_private.h:
7981 * gst/gstregistry.c: (gst_registry_finalize),
7982 (gst_registry_remove_features_for_plugin_unlocked),
7983 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7984 (gst_registry_scan_path),
7985 (_priv_gst_registry_remove_cache_plugins),
7986 (_priv_gst_registry_cleanup):
7987 * gst/gstregistry.h:
7988 Re-commit the registry changes, along with an extra fix:
7989 When a cached plugin is encountered at a different file path,
7990 update the stored path in the registry cache so that the parent
7991 process knows where it actually is now when it re-reads the registry
7992 cache. Fixes the thing that broke distcheck with the previous commit.
7994 * tests/check/Makefile.am:
7995 Clean up files named 'core' too when running make clean.
7997 * tests/examples/manual/Makefile.am:
7998 Set up a registry path for running these tests, and clean it properly
8001 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8004 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8005 want gmodule-no-export-2.0.pc instead so that we don't drag in
8006 --export-dynamic on every project that links to GStreamer.
8008 Also, make our export regex only match the start of symbols, rather
8009 than any symbol that contains '_gst' somewhere.
8011 * libs/gst/check/Makefile.am:
8012 The libgstcheck we build does however need export-dynamic, as it
8013 produces some symbols that don't match our _gst... style regex.
8016 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8018 * gst/gst.c: (init_pre), (scan_and_update_registry),
8019 (ensure_current_registry_nonforking),
8020 (ensure_current_registry_forking), (ensure_current_registry),
8021 (init_post), (gst_debug_help), (gst_deinit):
8022 * gst/gst_private.h:
8023 * gst/gstregistry.c: (gst_registry_finalize),
8024 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8025 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8026 (_gst_registry_cleanup):
8027 * gst/gstregistry.h:
8028 Revert previous change until I figure out why it breaks distcheck.
8030 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8032 * gst/gst.c: (init_pre), (scan_and_update_registry),
8033 (ensure_current_registry_nonforking),
8034 (ensure_current_registry_forking), (ensure_current_registry),
8035 (init_post), (gst_debug_help), (gst_deinit):
8037 Make init_pre and init_post take the full complement of GOptionFunc
8038 args so they can return useful GErrors. Make the registry updating
8041 Call _priv_gst_registry_remove_cache_plugins after scanning files to
8042 ensure that the registry we're about to write out doesn't contain
8043 stale information about old-deleted plugin files.
8045 Make _priv_gst_registry_remove_cache_plugins return a boolean so
8046 that deletion of plugin files is considered a registry change.
8048 * gst/gst_private.h:
8049 * gst/gstregistry.c: (gst_registry_finalize),
8050 (gst_registry_remove_features_for_plugin_unlocked),
8051 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8052 (gst_registry_scan_path),
8053 (_priv_gst_registry_remove_cache_plugins),
8054 (_priv_gst_registry_cleanup):
8055 * gst/gstregistry.h:
8056 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8057 by adding _priv prefix, so that they won't appear in the global
8058 symbol table. They still do atm though because of #318031. Move the
8059 prototypes to gst_private.h
8061 When removing a plugin, remove all features for that plugin too.
8064 2006-09-27 Wim Taymans <wim@fluendo.com>
8066 * docs/random/moving-plugins:
8067 Make it clear that the "compiled-in descriptions" really mean
8068 the element details.
8070 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8071 (gst_base_sink_wait_preroll):
8074 * docs/libs/gstreamer-libs-sections.txt:
8075 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8076 (gst_base_src_get_range), (gst_base_src_activate_push):
8077 * libs/gst/base/gstbasesrc.h:
8078 Added function to block while waiting for PLAYING, this function
8079 is used by live sources that block on the clock.
8080 API: gst_base_src_wait_playing()
8082 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8084 Patch by: Peter Kjellerstedt <pkj at axis com>
8087 gst-element-check.m4 is generated and should therefore be
8088 copied from the build dir rather than the source dir (#357593).
8089 'make distcheck' hasn't noticed this because we were disting
8090 the file as well, so stop doing that.
8092 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8094 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8095 Add some tests for gst_caps_intersect().
8097 * tools/gst-launch.c: (event_loop):
8098 Print all buffering percentages we get, even the 100% one.
8100 2006-09-26 Wim Taymans <wim@fluendo.com>
8102 * tools/gst-inspect.c: (print_element_properties_info),
8103 (print_signal_info):
8104 Fix printing of flags to match the look of enums.
8106 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8108 * gst/gstelementfactory.c:
8109 Fix typo in docs blurb.
8111 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8113 * gst/gsturi.c: (search_by_entry):
8114 Don't assert/crash here if a uri handler doesn't return any
8115 supported protocols. The list of protocols could be generated
8116 dynamically at runtime or at plugin registration, and an error
8117 in the underlying library shouldn't be fatal (#353301).
8119 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8122 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8123 (spotted by Peter Kjellerstedt).
8125 2006-09-23 Wim Taymans <wim@fluendo.com>
8127 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8129 * libs/gst/base/gstbasesrc.c:
8130 (gst_base_src_default_check_get_range), (gst_base_src_start),
8131 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8132 (gst_base_src_change_state):
8133 Match _start/_stop calls in the activate functions. Remove redundant
8134 _stop call from the state change function. Fixes #356910.
8135 Turn failure DEBUG into ERROR.
8137 2006-09-22 Wim Taymans <wim@fluendo.com>
8139 * docs/design/part-buffering.txt:
8140 * gst/gstmessage.c: (gst_message_new_buffering),
8141 (gst_message_parse_buffering):
8142 Update docs about buffering.
8144 * docs/design/part-trickmodes.txt:
8147 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8149 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8150 (gst_controller_new_list):
8151 Ref instances when returning them again (fixes #357180)
8153 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8155 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8156 Don't forget to release proxy lock when there's an error.
8158 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8161 Add extra initialisers for Caps things, to fix some plugin warnings
8164 2006-09-18 Wim Taymans <wim@fluendo.com>
8166 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8167 Also set template on the internal pad so that a getcaps from the
8168 target pad returns the template caps.
8170 2006-09-18 Wim Taymans <wim@fluendo.com>
8172 * gst/gstelement.c: (gst_element_post_message),
8173 (gst_element_dispose):
8174 Use _DEBUG_OBJECT some more.
8176 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8179 * tools/gst-launch.c: (main):
8180 If the toplevel element is not a GstPipeline, it must be put in a
8181 pipeline so that a bus and clock is selected.
8183 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8185 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8186 JITTER, RATE, and LATENCY query should be handled by the
8187 default case and not by the CONVERT query code.
8189 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8191 * gst/gstformat.c: (gst_format_register):
8192 Fix locking order (must take lock before using n_values).
8194 * gst/gstvalue.c: (gst_value_serialize_enum),
8195 (gst_value_deserialize_enum_iter_cmp),
8196 (gst_value_deserialize_enum):
8197 Fix serialisation/deserialisation of custom registered GstFormats.
8199 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8200 Unit test for custom format serialisation/deserialisation.
8202 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8204 * docs/pwg/building-boiler.xml:
8205 * plugins/elements/gstcapsfilter.c:
8206 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8209 2006-09-16 Edward Hervey <edward@fluendo.com>
8211 * libs/gst/base/gstbasetransform.c:
8212 (gst_base_transform_buffer_alloc):
8213 Check if requested caps are the same as the sinks caps IF
8214 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8216 This fixes the renegotiation issues stated in #352827.
8218 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8221 * docs/manual/advanced-autoplugging.xml:
8222 * tests/examples/Makefile.am:
8223 * tests/examples/manual/.cvsignore:
8224 * tests/examples/manual/Makefile.am:
8225 * tests/examples/manual/extract.pl:
8226 Extract the manual examples again like we used to do.
8229 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8231 * win32/common/config.h:
8234 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8237 Documents how to receive errors.
8239 2006-09-15 Wim Taymans <wim@fluendo.com>
8241 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8242 (event_loop), (main):
8243 Added some comments here and there.
8244 Post an application message when an interrupt is caught instead of doing
8245 an uncontrolled state change.
8246 Clean up the event loop.
8247 Handle buffering messages, pause/resume the pipeline.
8248 Make shutdown because of an interrupt more reliable.
8250 2006-09-15 Wim Taymans <wim@fluendo.com>
8252 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8253 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8254 (gst_base_sink_preroll_object):
8255 Make sure that our internal state is correct when we commit our state
8256 asynchronously. This solves a race where a state change to PLAYING
8257 could cause the sink to remain blocked in preroll in some situations.
8259 2006-09-15 Wim Taymans <wim@fluendo.com>
8261 * tools/gst-inspect.c: (print_element_properties_info),
8262 (print_signal_info):
8263 List flags as hex so it's easier to deal with.
8265 2006-09-15 Wim Taymans <wim@fluendo.com>
8267 * docs/libs/gstreamer-libs-sections.txt:
8268 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8269 (gst_base_sink_do_sync):
8270 * libs/gst/base/gstbasesink.h:
8271 Expose logic to wait for preroll so that subclasses such as audiosink
8272 can also use this method.
8273 API: gst_base_sink_wait_preroll()
8275 2006-09-15 Wim Taymans <wim@fluendo.com>
8277 * gst/gstobject.c: (gst_object_set_parent):
8278 * gst/gstpipeline.c: (do_pipeline_seek):
8279 Small cleanups in docs and code.
8281 * gst/gstsegment.c: (gst_segment_clip):
8282 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8283 if stop == start and start is in the segment, no clipping should be
8284 done. Also add a test for this.
8286 2006-09-15 Wim Taymans <wim@fluendo.com>
8288 * docs/design/part-buffering.txt:
8289 * docs/gst/gstreamer-sections.txt:
8290 * gst/gstmessage.c: (gst_message_new_buffering),
8291 (gst_message_parse_buffering):
8293 Added methods to create and parse BUFFERING messages.
8294 Added preliminary docs about buffering.
8295 API: gst_message_new_buffering
8296 API: gst_message_parse_buffering
8298 2006-09-06 Wim Taymans <wim@fluendo.com>
8301 Update documentation.
8303 * gst/gstelement.c: (gst_element_class_init),
8304 (gst_element_release_request_pad), (gst_element_set_clock),
8305 (gst_element_get_index), (gst_element_add_pad),
8306 (gst_element_remove_pad), (gst_element_get_random_pad),
8307 (gst_element_send_event), (gst_element_get_query_types),
8308 (gst_element_query), (gst_element_post_message),
8309 (gst_element_message_full), (gst_element_continue_state),
8310 (gst_element_lost_state), (gst_element_save_thyself),
8311 (gst_element_restore_thyself):
8312 Documentation updates.
8313 Rename last bit of the new-pad -> pad-added signal rename.
8314 Fix the case where an element query would only work if the source
8316 Avoid some useless type checking in message handling.
8321 Documentation updates.
8323 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8325 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8326 add an INFO line for when we actually update the fd
8328 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8333 === release 0.10.10 ===
8335 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8338 releasing 0.10.10, "Pais"
8340 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8342 * docs/manual/advanced-position.xml:
8343 Fix typo in sample code.
8345 2006-09-05 Wim Taymans <wim@fluendo.com>
8347 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8348 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8349 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8350 * libs/gst/net/gstnetclientclock.h:
8351 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8352 * libs/gst/net/gstnettimepacket.h:
8353 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8354 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8355 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8356 * libs/gst/net/gstnettimeprovider.h:
8357 Make stuff compile on windows. Fixes #345295.
8359 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8361 * gst/gst.c: (ensure_current_registry_forking):
8362 Print better details when child was terminated by signal.
8364 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8366 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8367 Print a warning rather than g_assert() if a plugin feature
8368 is a URI handler but returns no protocols (#353976).
8370 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8372 * docs/random/moving-plugins:
8375 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8377 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8378 Fix locking order, handle NULL function values properly.
8383 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8384 Initialise variable before using it and fix debug statement to
8385 print the address of the function rather than the address of the
8386 variable on the stack holding the address of the function.
8388 2006-09-01 Wim Taymans <wim@fluendo.com>
8390 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8391 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8392 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8393 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8394 (gst_ghost_pad_parent_unset),
8395 (gst_ghost_pad_internal_do_activate_push),
8396 (gst_ghost_pad_internal_do_activate_pull),
8397 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8398 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8399 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8400 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8401 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8402 (gst_ghost_pad_new_no_target_from_template),
8403 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8405 Avoid needless typechecking in macros.
8406 Since the internal pad is always present and never changes, there is
8407 no need to locking or ref when retrieving it.
8408 Improve debugging a bit.
8409 Handle link errors when setting the target. Fixes #341029.
8411 2006-09-01 Wim Taymans <wim@fluendo.com>
8413 * docs/libs/gstreamer-libs-sections.txt:
8414 * docs/plugins/gstreamer-plugins-sections.txt:
8417 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8418 (gst_collect_pads_event):
8419 * libs/gst/base/gstcollectpads.h:
8420 Documentation updates.
8421 Free queued buffer when removing a pad.
8423 2006-08-31 Michael Smith <msmith@fluendo.com>
8425 * gst/gstutils.c: (gst_element_link_pads),
8426 (gst_element_link_pads_filtered):
8427 Ensure that we set a capsfilter to NULL if we failed to link it
8428 when doing filtered linking, to avoid criticals.
8430 No need to check for unreffing srcpad, which is explicly NULLed
8431 above (a trivial code cleanup).
8433 2006-08-31 Wim Taymans <wim@fluendo.com>
8435 * docs/design/part-gstghostpad.txt:
8436 Update ascii art in documentation.
8438 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8439 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8440 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8441 (gst_ghost_pad_internal_do_activate_push),
8442 (gst_ghost_pad_internal_do_activate_pull),
8443 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8444 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8445 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8446 (gst_ghost_pad_set_target):
8447 Small cleanups and leak fixes.
8448 Remove some checks now that the internal pad is never NULL.
8449 Fix the case where linking pads without a target would create nasty
8450 criticals. Fixes #341029.
8451 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8452 value of _set_target().
8454 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8455 (gst_ghost_pad_suite):
8456 Some more tests for creating and linking untargeted ghostpads.
8458 2006-08-31 Edward Hervey <edward@fluendo.com>
8460 * docs/gst/gstreamer-sections.txt:
8461 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8462 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8463 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8464 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8465 (gst_ghost_pad_new_from_template),
8466 (gst_ghost_pad_new_no_target_from_template):
8467 * gst/gstghostpad.h:
8468 Refactored *_new() functions.
8469 Templates are now used as a g_object_new() parameter.
8470 Use template in _do_getcaps() if we don't have a target.
8471 Small documentation cleanups.
8472 Added two new constructors:
8473 gst_ghost_pad_new_from_template()
8474 gst_ghost_pad_new_no_target_from_template()
8475 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8476 (gst_ghost_pad_suite):
8477 Added tests for new ghostpad instanciation functions.
8479 API additions: gst_ghost_pad_new_from_template,
8480 gst_ghost_pad_new_no_target_from_template
8482 2006-08-30 Stefan Kost <ensonic@users.sf.net>
8484 * docs/random/ensonic/profiling.txt:
8485 Ideas about qos profiling.
8487 2006-08-29 Wim Taymans <wim@fluendo.com>
8489 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8493 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
8496 Improve and detypofy docs.
8498 * tests/check/Makefile.am:
8499 * tests/check/gst/.cvsignore:
8500 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8501 Add a basic test suite for GstXML.
8503 2006-08-29 Wim Taymans <wim@fluendo.com>
8505 * gst/gstelement.c: (activate_pads), (clear_caps),
8506 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8507 Clear the pad caps when the element shut down all of the pads and
8508 is not streaming data that could modify the caps.
8511 2006-08-28 Michael Smith <msmith@fluendo.com>
8513 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8514 Revert previous change; I misunderstood single-segment mode.
8516 2006-08-28 Michael Smith <msmith@fluendo.com>
8518 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8519 Unset DISCONT on buffers when using single-segment mode.
8521 2006-08-28 Wim Taymans <wim@fluendo.com>
8523 * gst/gstcaps.c: (gst_caps_merge_structure):
8525 Fix docs and indentation again.
8527 * tests/check/gst/gstquery.c: (GST_START_TEST):
8528 Fix leak in tests and add some more tests.
8530 2006-08-28 Edward Hervey <edward@fluendo.com>
8532 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8533 Inform GstSegment of the last stop position in order for the current
8534 segment to have a proper duration if it doesn't have a specific stop
8535 position from which a duration could be calculated.
8536 This bug was noticeable when a non-flushing, non-update new segment was
8537 followed by another segment (all buffers from the new segment were being
8540 2006-08-28 Wim Taymans <wim@fluendo.com>
8542 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8543 Small comment update.
8545 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8546 (gst_identity_transform_ip):
8547 Drop-probability is broken, mention this in the code with a
8548 FIXME and also in the property description.
8549 Make silent also be silent about the drop messages.
8551 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
8553 * docs/manual/appendix-win32.xml:
8554 Remove mention of popt, we don't depend on that any
8555 longer (#353136). Add some comments pointing out that
8556 this section is slightly outdated.
8558 2006-08-28 Wim Taymans <wim@fluendo.com>
8560 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8562 * gst/gstquery.c: (gst_query_new_segment):
8563 * tests/check/gst/gstquery.c: (GST_START_TEST):
8564 Initialize variables when creating a new segment query.
8567 2006-08-28 Wim Taymans <wim@fluendo.com>
8569 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8571 * gst/gstelement.c: (gst_element_get_bus):
8572 * tests/check/gst/gstelement.c: (GST_START_TEST):
8573 Check for NULL before _reffing the bus. Fixes #353122.
8575 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
8577 * docs/manual/basics-bus.xml:
8578 Docs update: fix wrong callback return value explanation; add
8579 some lines about the implicit relationship between main loop
8580 and main context; remove duplicate main loop variable declaration.
8582 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
8584 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8585 Don't leak caps in unit test; add a few more simple
8588 2006-08-24 Stefan Kost <ensonic@users.sf.net>
8590 * docs/gst/gstreamer-sections.txt:
8591 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8592 (gst_caps_structure_is_subset), (gst_caps_merge),
8593 (gst_caps_merge_structure):
8595 * libs/gst/base/gstbasetransform.c:
8596 (gst_base_transform_transform_caps):
8597 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8598 implement caps merging (fixes #352580)
8600 2006-08-23 Stefan Kost <ensonic@users.sf.net>
8602 * tools/Makefile.am:
8603 * tools/gst-plot-timeline.py:
8604 add debug-log plotting developer tool (#340674)
8606 2006-08-23 Wim Taymans <wim@fluendo.com>
8608 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8609 (gst_pad_stop_task):
8610 Improve debugging for task functions.
8612 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8613 (gst_task_start), (gst_task_pause), (gst_task_join):
8614 Make sure that the task function started and finished after a
8616 Don't try to push the task function on the threadpool multiple
8618 Improve the g_warning message with some useful suggestions
8619 about how to fix the problem.
8621 2006-08-23 Wim Taymans <wim@fluendo.com>
8623 * gst/gstutils.c: (gst_pad_proxy_getcaps):
8624 Handle RESYNC correctly in _proxy_getcaps.
8626 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
8628 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8629 (gst_xml_parse_memory), (gst_xml_get_element):
8630 Chain up to parent class in dispose function and also
8631 unref the elements in the toplevel_elements GList.
8632 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8633 Always return a reference in gst_xml_get_element() rather
8634 than only sometimes.
8636 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8637 Don't leak GstXml object.
8639 2006-08-21 Stefan Kost <ensonic@users.sf.net>
8641 * docs/gst/gstreamer-sections.txt:
8642 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8645 * libs/gst/base/gstbasetransform.c:
8646 (gst_base_transform_transform_caps):
8647 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8650 2006-08-21 Edward Hervey <edward@fluendo.com>
8652 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8653 Implement GObject::dispose virtual method in GstXML so we can free the
8656 2006-08-21 Wim Taymans <wim@fluendo.com>
8658 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8659 (gst_buffer_create_sub):
8660 Copy duration/offset_end/caps when creating a subbuffer of the
8662 Make the subbuffer read-only when we make the metadata writable for
8665 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8666 Added check for metadata copy when creating subbuffers.
8668 2006-08-21 Edward Hervey <edward@fluendo.com>
8670 * libs/gst/base/gstbasetransform.c:
8671 (gst_base_transform_buffer_alloc):
8672 Only call downstream buffer_alloc if transform element is passthrough
8673 or always_in_place. Closes #350449.
8675 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8678 ChangeLog surgery to add comments to previous changes
8680 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8685 * gst/gstpad.c: (gst_pad_set_active):
8686 Be more verbose in the log
8688 * libs/gst/base/gstbasetransform.c:
8689 (gst_base_transform_transform_caps):
8690 Simplify caps to get rid of duplicates, fixes #345444
8692 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8696 Use these optimizations only internally.
8698 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8700 * gst/gstvalue.c: (gst_value_compare_list),
8701 (gst_value_compare_fraction_range),
8702 (gst_value_intersect_fraction_fraction_range),
8703 (gst_value_intersect_fraction_range_fraction_range),
8704 (gst_value_subtract_fraction_fraction_range),
8705 (gst_value_subtract_fraction_range_fraction_range),
8706 (gst_value_get_compare_func), (gst_value_compare),
8707 (gst_value_compare_with_func):
8709 Saves the expensive lookup of the compare function in many cases
8712 2006-08-18 Edward Hervey <edward@fluendo.com>
8714 * tests/check/gst/gstinfo.c: (gst_info_suite):
8715 Disable test that require gstdebug if it wasn't built in core.
8717 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8719 * docs/random/ensonic/logging.txt:
8722 * gst/gstinfo.c: (gst_debug_log_default):
8723 reorder fields, save some columns, add optional color codes for log
8726 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8728 * docs/random/ensonic/logging.txt:
8729 add ideas about making the logs a bit more useful
8731 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8733 * docs/pwg/advanced-events.xml:
8734 * docs/pwg/titlepage.xml:
8735 Update for 0.10 API (#340627). Add myself
8738 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8740 * docs/libs/gstreamer-libs-docs.sgml:
8741 * docs/libs/gstreamer-libs-sections.txt:
8742 * libs/gst/check/gstbufferstraw.c:
8743 Make gstcheck stuff show up in docs (still needs to
8744 be documented properly though).
8746 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
8748 * docs/gst/gstreamer-sections.txt:
8750 * gst/gst.c: (init_post):
8751 * gst/gst_private.h:
8752 * gst/gstquark.c: (_priv_gst_quarks_initialize):
8754 * gst/gstquery.c: (gst_query_new_position),
8755 (gst_query_set_position), (gst_query_parse_position),
8756 (gst_query_new_duration), (gst_query_set_duration),
8757 (gst_query_parse_duration), (gst_query_new_convert),
8758 (gst_query_set_convert), (gst_query_parse_convert),
8759 (gst_query_new_segment), (gst_query_set_segment),
8760 (gst_query_parse_segment), (gst_query_new_seeking),
8761 (gst_query_set_seeking), (gst_query_parse_seeking):
8762 Add internal helpers for pre-registering quarks from static strings
8763 and using the quark values directly instead of looking them up when
8764 creating and parsing queries. Can be used for event construction too.
8767 2006-08-16 Wim Taymans <wim@fluendo.com>
8772 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8774 * gst/gstutils.c: (gst_util_set_value_from_string):
8775 Fix memleak (#351502).
8777 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8778 Add unit test for most of gst_util_set_value_from_string()
8779 (not that one would want to encourage use of this function).
8781 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8783 * libs/gst/check/gstcheck.h:
8784 Use const gchar * variables in fail_unless_equals_string
8785 macro to avoid compiler warnings (and don't use tabs for
8788 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8790 * tools/gst-launch.c: (print_tag):
8791 More space on the left for the tag names, to cater
8792 for the 'extended comment' tag (not touching the
8793 string for the first line since it's translated).
8795 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8797 * libs/gst/check/gstcheck.h:
8798 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8799 print something when they fail.
8801 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8803 * docs/gst/gstreamer-sections.txt:
8804 * gst/gsttaglist.c: (_gst_tag_initialize):
8806 API: add GST_TAG_EXTENDED_COMMENT (#350935).
8807 Also change merge function for GST_TAG_COMMENT to
8810 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8812 * gst/gstinfo.c: (gst_debug_print_object):
8813 Make GST_PTR_FORMAT print messages as well.
8815 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8816 (GST_START_TEST), (gst_info_suite):
8819 2006-08-14 Edward Hervey <edward@fluendo.com>
8821 * gst/gstelementfactory.c: (gst_element_register):
8822 If the GstElementClass doesn't have a GstElementDetails with all fields
8823 filled up correctly (longname, description AND author), then error out
8824 nicely instead of crashing.
8826 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8828 * gst/gststructure.c:
8829 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8832 Expand on the difference between arrays and lists as we use them.
8834 2006-08-14 Wim Taymans <wim@fluendo.com>
8836 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8837 If the parent state change function failed, don't assume we can safely
8838 stop the source, this will be done when the pads are deactivated.
8840 2006-08-14 Wim Taymans <wim@fluendo.com>
8843 * gst/gsttask.c: (gst_task_join):
8846 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8847 (gst_pad_stop_task):
8848 When pad (de)activation failed for some reason, restore the old
8849 activation mode and set the pad to flushing instead of assuming the
8851 If the _task_join() failed, reinstall the task on the pad so that it can
8852 be stopped later and return an error.
8854 2006-08-11 Andy Wingo <wingo@pobox.com>
8857 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8858 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8859 is only for users of API that don't want to see deprecated
8860 functions in the headers; people that want to compile out
8861 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8862 CFLAGS. Fixes the build of multifdsink, or will soon..
8864 2006-08-11 Wim Taymans <wim@fluendo.com>
8866 * docs/gst/gstreamer-sections.txt:
8867 Add GstClockClass vmethod docs.
8870 Mark #endif with comment for associated #if
8872 * gst/gstclock.c: (gst_clock_id_wait):
8874 Add vmethod wait_jitter to avoid an unneeded _get_time() for
8875 most clock implementations.
8877 Flesh out docs about resolution methods.
8878 API: GstClockClass::wait_jitter
8880 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8881 (gst_system_clock_async_thread),
8882 (gst_system_clock_id_wait_jitter_unlocked),
8883 (gst_system_clock_id_wait_jitter):
8884 Use base class wait_jitter variant for improved performance
8885 due to less clock polling.
8887 2006-08-11 Edward Hervey <edward@fluendo.com>
8889 * gst/gst.c: (gst_init_check), (init_post):
8890 Set gst as being initialized before scanning/updating the registry,
8891 since there might be my python plugin loader that calls gst_init() and
8892 we don't want to loop back in.
8895 2006-08-11 Wim Taymans <wim@fluendo.com>
8897 * docs/design/part-qos.txt:
8898 Bring docs in line with the code. Mostly the sign of the jitter was
8899 wrong in the docs. Fixes #349943.
8902 Fix the docs for the jitter.
8904 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8905 (gst_event_parse_tag), (gst_event_new_buffer_size),
8906 (gst_event_parse_buffer_size), (gst_event_parse_qos),
8907 (gst_event_new_seek), (gst_event_parse_seek),
8908 (gst_event_new_navigation):
8909 Make sure the GstStructure has no parent when creating custom
8911 Add some more argument checking so that we avoid 0.0 rates.
8912 Flesh out the docs for the QoS event some more.
8914 2006-08-11 Wim Taymans <wim@fluendo.com>
8916 * docs/gst/gstreamer-sections.txt:
8917 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8918 (ensure_current_registry_forking), (ensure_current_registry),
8919 (parse_one_option), (parse_goption_arg), (gst_deinit),
8920 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8923 Added API and command line option to disable registry forking in
8924 addition to the environment variable.
8925 Constify some static arrays.
8926 Added some more debug.
8928 API: gst_registry_fork_is_enabled()
8929 API: gst_registry_fork_set_enabled()
8930 API: --gst-disable-registry-fork command line option
8933 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
8935 * gst/gst.c: (gst_init):
8936 Fix typo in error message.
8938 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8940 * libs/gst/controller/gstcontroller.h:
8941 fix ABI size-correction
8943 * tests/check/libs/gdp.c: (gst_dp_suite):
8944 make tests that use deprecated API conditional
8946 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8948 * docs/libs/gstreamer-libs-sections.txt:
8949 * libs/gst/controller/gstcontroller.c:
8950 (_gst_controller_get_property), (_gst_controller_set_property),
8951 (_gst_controller_init), (_gst_controller_class_init):
8952 * libs/gst/controller/gstcontroller.h:
8953 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8954 (gst_object_set_control_rate):
8955 API: add gst_object_{s,g}et_control_rate(), add private data section,
8958 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8959 * libs/gst/dataprotocol/dataprotocol.h:
8960 add deprecation guards to make gtk-doc happy and allow disabling cruft
8962 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
8964 * tests/check/Makefile.am:
8965 * tests/check/gst/.cvsignore:
8966 Let's enable the new unit test as well.
8968 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
8971 * docs/gst/gstreamer-sections.txt:
8972 * gst/gstconfig.h.in:
8973 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8974 (_gst_info_printf_extension_ptr),
8975 (_gst_info_printf_extension_segment):
8976 API: add GST_SEGMENT_FORMAT, which is a printf extension we
8977 register that lets us easily dump GstSegments into debug
8980 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8981 (info_segment_format_printf_extension), (gst_info_suite):
8982 Add simple unit test that logs a bunch of different segments (not
8983 valgrinded at the moment because of leaks in
8984 gst_debug_add_log_function).
8986 2006-08-09 Edward Hervey <edward@fluendo.com>
8988 * libs/gst/base/gstbasetransform.c:
8989 (gst_base_transform_buffer_alloc):
8990 Even if we can't figure out the proper format to request downstream,
8991 call buffer_alloc() downstream with the input parameters without setting
8992 the caps on the srcpad. This will force negotiation in the chain
8996 2006-08-08 Edward Hervey <edward@fluendo.com>
8998 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8999 Unlinking from a pad without a target is now a perfectly valid case
9000 which should NOT raise an assertion.
9001 This case would happen if a linked ghostpad its target set to NULL after
9002 it was previously linked.
9004 2006-08-08 Edward Hervey <edward@fluendo.com>
9006 * tests/check/libs/gdp.c:
9007 Also comment out the test (see below).
9009 2006-08-08 Edward Hervey <edward@fluendo.com>
9011 * tests/check/libs/gdp.c: (gst_dp_suite):
9012 Use the architecture information from config.h and not gcc macros
9013 in order to properly disable a test that fails on PPC64.
9015 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
9017 * gst/gstelement.c: (gst_element_remove_pad):
9018 Don't crash printing the warning if the pad has no parent.
9020 2006-08-02 Wim Taymans <wim@fluendo.com>
9022 * libs/gst/dataprotocol/dataprotocol.c:
9023 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9024 (gst_dp_crc), (gst_dp_header_payload_length),
9025 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9026 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9027 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9028 (gst_dp_event_from_packet), (gst_dp_validate_header),
9029 (gst_dp_validate_payload):
9030 Make debug category static
9031 Constify the crc table.
9032 Do some more arg checking in public functions.
9033 Fix some docs and do some small cleanups.
9035 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9036 Add some more checks to see if GDP deals with bogus input.
9038 2006-07-31 Wim Taymans <wim@fluendo.com>
9040 * gst/gstvalue.c: (gst_value_compare_list):
9041 Fix GstValueList comparison code. Fixes #347293.
9043 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9044 Check to test GstValueList comparison.
9046 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9048 * gst/gstelementfactory.c: (gst_element_factory_create):
9049 Remove unnecessary ref/unref pair
9051 * gst/parse/grammar.y:
9052 Make sure to free the parse buffer on all code paths.
9053 Move a g_free up to the error handler where it's easier to see.
9055 * tests/check/gst/gstevent.c: (test_event):
9056 Extending timeout for downstream travelling events to 10 seconds to
9057 hopefully avoid intermittent failure on the buildbots.
9059 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9060 Don't manually set the state of the src element - it will happen as a
9061 natural consequence of the pipeline changing state, and that way it
9062 will do it in the right order too.
9064 2006-07-31 Wim Taymans <wim@fluendo.com>
9066 * libs/gst/base/gstbasetransform.c:
9067 (gst_base_transform_buffer_alloc):
9068 Use OBJECT_LOCK and refcounting to get the pad caps in the
9069 buffer_alloc function because the caps could change while we are
9070 busy with them. Fixes #349105
9072 2006-07-31 Wim Taymans <wim@fluendo.com>
9074 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9075 Protect _PAD_CAPS with OBJECT_LOCK.
9077 2006-07-31 Wim Taymans <wim@fluendo.com>
9079 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9080 (gst_pad_get_property), (gst_pad_activate_pull),
9081 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9082 (gst_pad_set_activate_function),
9083 (gst_pad_set_activatepull_function),
9084 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9085 (gst_pad_set_getrange_function),
9086 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9087 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9088 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9089 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9090 (gst_pad_set_acceptcaps_function),
9091 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9092 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9093 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9094 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9095 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9096 (gst_pad_configure_sink), (gst_pad_configure_src),
9097 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9098 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9099 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9100 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9101 (gst_pad_send_event):
9102 Use _DEBUG_OBJECT when it makes sense.
9103 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9104 Small cleanups and code reflows.
9105 Avoid caps refcounting in _accept_caps.
9106 Refactor alloc_buffer so that the code performed on the peer is in a
9107 separate function. Also if the pad does not implement a buffer alloc
9108 function, we should still check if the pad is flushing before falling
9109 back to the default allocator.
9111 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9113 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9114 Make all uses of identity and fakesink have silent=true to avoid
9115 serialising every passing data structure, which is breaking tests
9116 on FC4 for some unknown reason.
9118 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9120 * gst/parse/Makefile.am:
9121 * gst/parse/grammar.y:
9122 * gst/parse/parse.l:
9123 Reverted previous patch as it required to bump the flex dependency to
9124 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9126 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9128 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9130 * gst/parse/Makefile.am:
9131 * gst/parse/grammar.y:
9132 * gst/parse/parse.l:
9133 push & pop the state of the lexer for reentrant use case
9136 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9138 * libs/gst/base/gstbasesrc.h:
9139 Note in the docs that the ::newsegment vfunc is not actually used by
9142 2006-07-28 Wim Taymans <wim@fluendo.com>
9144 * libs/gst/base/gstcollectpads.c:
9145 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9146 (gst_collect_pads_clear), (gst_collect_pads_flush),
9147 (gst_collect_pads_event), (gst_collect_pads_chain):
9148 When flushing a pad, also clear the queued buffer so that we don't
9149 accidentally use it when we shouldn't.
9150 Fix leaks by inreffing incomming buffer.
9151 Flush out queued buffers in case of errors.
9154 2006-07-28 Wim Taymans <wim@fluendo.com>
9156 * docs/random/phonon-gst:
9157 Random notes about a Phonon backend.
9159 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9161 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9163 * tests/check/libs/gdp.c: (gst_dp_suite):
9164 Take a whack at fixing the ppc compile using a different define to
9165 disable the broken test.
9167 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9168 Remove excess g_print()
9170 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9172 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9173 Oops, meant to uncomment this line too to dampen the noise a bit.
9175 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9177 * gst/parse/grammar.y:
9178 * gst/parse/parse.l:
9179 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9180 (GST_START_TEST), (parse_suite):
9181 Fix some of the leaks exposed by extending the parse-launch testsuite,
9182 and move the 3 I can't figure out into a separate test that won't run
9183 the pipelines unless the appropriate line is uncommented.
9185 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9187 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9188 Requesting 0 bytes before the end of the file should result in
9189 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9192 2006-07-27 Wim Taymans <wim@fluendo.com>
9194 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9195 Fix useless assert, a uint is always positive.
9197 * gst/gststructure.c: (gst_structure_nth_field_name),
9198 (gst_structure_foreach), (gst_structure_map_in_place):
9199 Check input arguments for public functions to avoid obvious crashes.
9201 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9202 * plugins/elements/gstfakesink.h:
9203 Do less useless typechecking.
9205 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9207 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9208 Do not use mmap() by default since there are a number of error
9209 conditions that we would like to handle in a non-fatal way that
9210 will result in a SIGBUS if we use mmap(). Examples: external
9211 devices (USB harddrive, portable music player) being unplugged
9212 while in use; file on mounted CD/DVD that can't be read because
9213 the medium is partly damaged. Fixes #348455 and #348475.
9215 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9218 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9221 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9223 * gst/gstregistry.c:
9224 Move big documentation comment into class section header, so that it
9225 appears in the API docs.
9227 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9229 * docs/gst/gstreamer-sections.txt:
9230 Oops. Commit the docs additions too for new API.
9231 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9233 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9235 * gst/gststructure.c: (gst_structure_id_set),
9236 (gst_structure_id_set_valist):
9237 * gst/gststructure.h:
9238 Add API for setting values into structures without performing
9239 a quark lookup, if the appropriate quark is already known.
9241 API: gst_structure_id_set
9242 API: gst_structure_id_set_valist
9244 * gst/parse/grammar.y:
9245 * gst/parse/parse.l:
9246 Remove some dead code shown by the coverage information.
9247 Don't throw a critical g_warning when encountering a syntax error,
9248 just warn and let the normal error path handle it.
9250 * plugins/elements/gstelements.c:
9251 Bump the rank of filesink up to PRIMARY so that it is preferred over
9252 gnomevfssink for file:// sink uri's
9254 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9255 (GST_START_TEST), (run_delayed_test),
9256 (gst_parse_test_element_base_init),
9257 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9258 (gst_parse_test_element_change_state),
9259 (gst_register_parse_element), (parse_suite):
9260 Beef up the tests for parse syntax to check that more error cases
9261 fail as they are supposed to. Increases the test coverage a bit.
9263 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9265 * docs/manual/basics-elements.xml:
9266 Fix gst_element_link() example.
9269 Mention in API docs that one should usually gst_bin_add()
9270 elements to a bin or pipeline before doing the linking.
9272 2006-07-26 Wim Taymans <wim@fluendo.com>
9274 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9275 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9276 Avoid function call for known types by keeping the buffer and
9277 subbuffer GType global.
9279 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9280 Random silly optimisations in read() path.
9282 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9284 * tools/gst-launch.c: (main):
9285 If the top-level of the parse is a normal bin, it doesn't do the
9286 right logic to run as a top-level element, so place it inside a
9289 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9291 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9292 Remove superfluous g_object_notify() calls, GObject does
9293 that for us automatically.
9295 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9298 on Win32, use dllspec to export the debug category symbols
9300 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9302 * gst/gsttaglist.c: (_gst_tag_initialize):
9303 Allow more than one GST_TAG_IMAGE per taglist.
9305 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9307 * gst/gstminiobject.c:
9309 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9310 (gst_fd_src_create):
9311 log recurring events at LOG level
9312 add more debug for when the fd gets set
9314 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9316 * gst/gstparse.c: (gst_parse_launch):
9317 Also remove reentrance checks if flex is MT safe (#348179)
9318 Fix my empty ChangeLog entry below
9320 2006-07-21 Andy Wingo <wingo@pobox.com>
9322 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9324 * libs/gst/check/Makefile.am
9325 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9326 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9327 * libs/gst/check/gstbufferstraw.h:
9328 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9329 functions, thus proving I am still a GStreamer haxor. OK I wrote
9330 them a long time ago, but anyways.
9332 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9335 * gst/gstparse.c: (gst_parse_launch):
9336 Check for flex version and omit mutex if we have a MT save flex
9339 2006-07-21 Wim Taymans <wim@fluendo.com>
9341 * gst/gstparse.c: (gst_parse_launch):
9342 Protect recursive calls to _parse with a recursive mutex
9345 2006-07-21 Wim Taymans <wim@fluendo.com>
9347 * tests/check/gst/gstpad.c: (GST_START_TEST):
9350 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9352 * gst/gstparse.c: (gst_parse_launch):
9353 Do not hang on recursive usage of gst_parse_launch()
9355 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9358 Add some more docs, comments and FIXME 0.11s here and there
9359 and also fix some typos.
9361 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9364 Convert tabs to spaces for better readability.
9366 2006-07-20 Edward Hervey <edward@fluendo.com>
9368 * tests/check/libs/gdp.c: (gst_dp_suite):
9369 the test_buffer test fails at line 140 on ppc64 at the following
9371 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9372 GST_BUFFER_FLAG_IN_CAPS),
9373 "GST_BUFFER_IN_CAPS flag should have been copied !");
9374 See bug #348114 for more details.
9376 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9378 * docs/pwg/advanced-scheduling.xml:
9380 Fix typos (#348000).
9382 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9384 * docs/pwg/intro-basics.xml:
9385 Fix wrong links (#347927).
9387 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9389 * gst/gstregistry.h:
9390 * gst/gstregistryxml.c: (load_feature),
9391 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9392 * win32/common/config.h:
9393 make --disable-index work (#342564)
9395 2006-07-18 Wim Taymans <wim@fluendo.com>
9397 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9401 The attached patch adds two missing defines to gsttrace.h when tracing
9402 is disabled. It also corrects one existing define.
9405 2006-07-17 Wim Taymans <wim@fluendo.com>
9407 * docs/gst/gstreamer-sections.txt:
9408 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9410 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9411 Add two functions to check and change the SIGSEGV behaviour
9412 when loading plugins.
9413 Don't mess with the SIGSEGV handler when we were told not to.
9415 API: gst_segtrap_is_enabled
9416 API: gst_segtrap_set_enabled
9418 2006-07-14 Wim Taymans <wim@fluendo.com>
9420 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9421 * tests/check/elements/filesrc.c: (GST_START_TEST):
9422 Revert fix for regression in #347408 after release.
9424 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
9426 Patch by: Antoine Tremblay <hexa00 at gmail com>
9428 * gst/gstutils.c: (gst_element_unlink):
9429 Free iterator when done (#347311).
9431 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9432 And add a test case for this.
9434 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
9437 Bump nano back to CVS
9439 === release 0.10.9 ===
9441 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
9444 releasing 0.10.9, "On the road again"
9446 2006-07-13 Wim Taymans <wim@fluendo.com>
9448 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9449 * tests/check/elements/filesrc.c: (GST_START_TEST):
9450 Revert pull-0 fix for release. Disable check. Fixes #347408.
9452 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9454 * libs/gst/dataprotocol/dataprotocol.c:
9455 (gst_dp_event_from_packet_1_0):
9456 Fixes #347337: failure to deserialize event packets with
9457 empty payload (only event type)
9459 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9462 do not install a .c file in the header directory
9464 2006-07-13 Edward Hervey <edward@fluendo.com>
9466 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9467 GhostPad no longer implicitely use the padtemplates of the targets.
9470 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
9472 * gst/gstvalue.c: (gst_value_compare_list),
9473 (gst_value_compare_array), (_gst_value_initialize):
9474 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9475 Make GstValueArray comparison be order dependent as designed.
9476 Add checks for value lists and value array comparisons.
9479 2006-07-11 Edward Hervey <edward@fluendo.com>
9481 * gst/gstbin.c: (activate_pads),
9482 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9483 (gst_bin_change_state_func):
9484 (de)activate src pads before calling state_change on the childs.
9485 This is to avoid the case where a src ghostpad is blocked (holding the
9486 stream lock), which would block the deactivation of the ghostpad's
9488 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9489 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9490 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9491 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9492 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9493 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9494 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9495 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9496 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9497 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9498 (gst_ghost_pad_class_init),
9499 (gst_ghost_pad_internal_do_activate_push),
9500 (gst_ghost_pad_internal_do_activate_pull),
9501 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9502 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9503 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9504 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9505 GhostPads now create their internal GstProxyPad at creation (and not
9506 when they're linked, as it was being done previously).
9507 The internal and target pads are linked straight away.
9508 The data will also travel through the other pad in order to make
9509 pad blocking and probes non-hackish (the probe/block now really happens
9510 on the GhostPad and not on the target).
9511 * gst/gstpad.c: (gst_pad_set_blocked_async),
9512 (gst_pad_link_prepare), (gst_pad_push_event):
9513 Remove previous ghostpad cruft.
9514 * gst/gstutils.c: (gst_pad_add_data_probe),
9515 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9516 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9517 (gst_pad_remove_buffer_probe):
9518 Remove previous ghost pad cruft.
9519 Added more detailed debug statements.
9520 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9521 Fix the testsuite for refcounting changes.
9522 The comments about who has references were correct, but the refcount
9523 being checked wasn't the same (!?!).
9527 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9529 * docs/gst/gstreamer-sections.txt:
9530 * gst/gstconfig.h.in:
9531 More docs for configuration options, add docs to gtk-doc.
9533 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9536 * gst/gstconfig.h.in:
9537 * win32/common/config.h:
9538 Fix build when disabling tracing (fixes #344016). Also start to document
9539 the defines that disable the sub-systems.
9541 2006-07-10 Edward Hervey <edward@fluendo.com>
9543 * gst/gst.c: (ensure_current_registry_forking):
9544 let's make valgrind happy...
9546 2006-07-09 Wim Taymans <wim@fluendo.com>
9548 * gst/gstelement.c: (activate_pads),
9549 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9550 Better pad activation code: Reset the collect value too on resync.
9553 2006-07-09 Wim Taymans <wim@fluendo.com>
9555 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9556 (gst_pad_activate_push):
9557 Use some more macros where it makes sense.
9558 Allow pad mode switching instead of asserting. When a pad
9559 is activated in one mode and we activate it in another,
9560 deactivate it first before activating it in a different mode.
9563 2006-07-08 Andy Wingo <wingo@pobox.com>
9565 * tools/gst-launch.c (main): Handle err == NULL.
9567 * gst/gst.c (init_post, ensure_current_registry)
9568 (ensure_current_registry_forking)
9569 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9570 factoring out the registry scanning into separate functions. Don't
9571 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9572 Better environment var name/interface suggestions accepted.
9574 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9576 * gst/gstobject.c: (gst_object_set_name_default),
9577 (gst_object_set_name):
9578 Random micro-optimisation: don't use a hash table
9579 with strings as keys and the usual strdup/strcmp
9580 involved, but rather just use the GQuark of the
9581 type name as key, since it needs to be looked up
9582 anyway to get the type name string.
9584 * tests/check/gst/gstobject.c: (GST_START_TEST):
9587 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9589 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9590 (gst_bin_iterate_all_by_interface):
9591 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9592 GTypes are gulongs and thus the top 4 bytes might be cut
9593 off on some platforms when doing GPOINTER_TO_INT, leading
9594 to invalid GTypes and bad things happening (see RH bug #179654).
9595 Also add a check to make sure the type passed in is really
9598 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9603 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9607 * gst-element-check.m4:
9608 * gst-element-check.m4.in:
9609 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9610 instead of the unversioned gst-inspect (#324176, #168659).
9612 2006-07-06 Wim Taymans <wim@fluendo.com>
9615 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9618 2006-07-06 Wim Taymans <wim@fluendo.com>
9620 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9621 (gst_base_src_wait), (gst_base_src_update_length),
9622 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9623 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9624 (gst_base_src_loop), (gst_base_src_start),
9625 (gst_base_src_activate_pull):
9627 blocksize == 0 now means the default blocksize when working in push
9629 Remove some pointless asserts in _wait function.
9630 Fix offset/length calculations and EOS handling. We can now pull 0
9631 bytes as well, which is allowed.
9632 use _check_get_range() to decide if we can operate in _pull based
9634 Fix refcounting leak when check_get_range function was not
9636 API GstBaseSrc::blocksize range can be 0 too now (default)
9638 * tests/check/elements/filesrc.c: (GST_START_TEST),
9640 Added check to test _get_range() behaviour.
9642 2006-07-06 Wim Taymans <wim@fluendo.com>
9644 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9645 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9646 (gst_pad_pull_range):
9648 Lots of comments and docs added to the pad functions.
9649 Flesh out the expected behaviour of the get_range() functions.
9651 2006-07-06 Wim Taymans <wim@fluendo.com>
9656 * gst/gstiterator.h:
9660 Remove comma at end of enumerator list.
9662 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
9664 * win32/common/libgstbase.def:
9665 * win32/common/libgstdataprotocol.def:
9666 * win32/common/libsgtreamer.def:
9667 Add new exported functions.
9669 2006-07-05 Wim Taymans <wim@fluendo.com>
9671 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9672 Add some more docs here and there.
9674 2006-07-05 Wim Taymans <wim@fluendo.com>
9676 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9677 (gst_base_sink_loop), (gst_base_sink_get_position):
9678 When operating in pull mode update the offset so that we
9681 2006-07-05 Wim Taymans <wim@fluendo.com>
9683 * gst/gstregistryxml.c: (read_string):
9684 Avoid strdup. (will happen in libxml, but hey!)
9689 2006-07-05 Wim Taymans <wim@fluendo.com>
9691 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9692 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9694 No point in checking if the size of the subbuffer > 0, the
9695 code handles it correclty as demonstrated by unit test.
9696 Also add a unit test for the zero sized _new_and_alloc and
9697 _copy. Fixes #346663.
9699 2006-07-05 Wim Taymans <wim@fluendo.com>
9701 * libs/gst/base/gstbasetransform.c:
9702 (gst_base_transform_prepare_output_buffer),
9703 (gst_base_transform_buffer_alloc),
9704 (gst_base_transform_handle_buffer):
9705 Make sure the buffer we pass to transform_ip has a refcount of
9706 1 and thus is writable. Fixes #343196
9708 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
9710 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9711 (gst_file_src_init), (gst_file_src_set_property),
9712 (gst_file_src_get_property), (gst_file_src_map_region):
9713 * plugins/elements/gstfilesrc.h:
9714 Add "sequential" property, off by default, to use madvise and hint
9715 to the kernel that sequential access is desired.
9716 Touch all retrieved pages by default to ensure they are pulled
9717 into memory. (Closes #345720)
9719 2006-07-03 Wim Taymans <wim@fluendo.com>
9721 * docs/design/part-block.txt:
9722 * docs/design/part-dynamic.txt:
9725 2006-07-03 Wim Taymans <wim@fluendo.com>
9727 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9728 (gst_caps_unref), (gst_static_caps_get),
9729 (gst_caps_append_structure):
9730 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9731 Use GSlice when the glib we build against is >= 2.10
9733 2006-07-03 Wim Taymans <wim@fluendo.com>
9735 * gst/gstelement.c: (gst_element_pads_activate):
9736 Small cleanup in pad activation code.
9738 2006-07-03 Wim Taymans <wim@fluendo.com>
9740 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9742 * gst/gst-i18n-app.h:
9743 * gst/gst-i18n-lib.h:
9744 * tools/gst-inspect.c: (print_signal_info):
9745 The attached patch will make the inclusion of gettext.h unconditional in
9746 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9747 libintl.h in tools/gst-inspect.c.
9748 This allows use of --disable-nls again and fixes #344642.
9750 2006-07-03 Edward Hervey <edward@fluendo.com>
9752 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9753 Implement pad blocking on events according to part-block.txt.
9754 More comments on behaviour.
9755 * tests/check/gst/gstevent.c: (test_event):
9756 Send event to peer pad of blocked pad (else it will block).
9758 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9760 * libs/gst/check/gstcheck.c: (gst_check_message_error),
9761 (gst_check_run_suite):
9762 if we get the wrong message, give us the types as string
9763 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9765 * tests/check/elements/filesrc.c: (GST_START_TEST):
9766 add a test for trying to open a non-existing file
9768 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9770 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9771 add a test for adding self
9773 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9775 * libs/gst/check/gstcheck.h:
9776 add some assert_ as alias for fail_unless_*
9777 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9778 increase test coverage
9780 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9783 include lcov.mak for lcov coverage generation
9784 * tools/Makefile.am:
9787 2006-07-02 Edward Hervey <edward@fluendo.com>
9789 * tests/check/elements/.cvsignore:
9792 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9795 don't set CFLAGS and friends for gcov, done from GST_GCOV now
9796 * tests/check/Makefile.am:
9799 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9801 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9802 remove gst_caps_simplify; it was not declared and not used
9803 and deprecated in 0.8
9805 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * docs/faq/gst-uninstalled:
9808 don't put empty paths on PYTHONPATH
9809 * docs/gst/gstreamer-sections.txt:
9810 remove some symbols that are not there
9812 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9814 * gst/gstcaps.c: (gst_caps_compare_structures):
9816 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9817 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9820 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9822 * libs/gst/dataprotocol/Makefile.am:
9823 build dataprotocol test by linking to the lib, instead of
9824 compiling the source, so we get coverage
9825 * tests/check/Makefile.am:
9826 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9827 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9828 add a test for filesrc
9830 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9832 * tests/check/gst/gststructure.c: (GST_START_TEST),
9833 (gst_structure_suite):
9834 Push coverage from 59.04% to 70.00%
9836 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9838 * tests/check/Makefile.am:
9839 gst-inspect every element; this makes sure that we also get
9840 coverage on element's get/set functions
9842 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9845 set CFLAGS and friends to -O0 if gcov is being used
9848 * libs/gst/base/Makefile.am:
9849 * libs/gst/check/Makefile.am:
9850 * libs/gst/controller/Makefile.am:
9851 * libs/gst/dataprotocol/Makefile.am:
9852 * libs/gst/net/Makefile.am:
9853 * plugins/elements/Makefile.am:
9854 * plugins/indexers/Makefile.am:
9855 add makefile rules to generate gcov data and clean up
9856 * tests/check/Makefile.am:
9857 add a coverage target that generates an html overview
9860 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9862 * tests/check/elements/fakesink.c:
9863 * tests/check/elements/fakesrc.c:
9864 * tests/check/elements/fdsrc.c:
9865 * tests/check/elements/identity.c:
9866 * tests/check/generic/sinks.c: (gst_sinks_suite):
9867 * tests/check/generic/states.c:
9868 * tests/check/gst/gst.c:
9869 * tests/check/gst/gstabi.c:
9870 * tests/check/gst/gstbin.c:
9871 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9872 * tests/check/gst/gstbus.c: (gst_bus_suite):
9873 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9874 * tests/check/gst/gstelement.c:
9875 * tests/check/gst/gstevent.c: (gst_event_suite):
9876 * tests/check/gst/gstghostpad.c:
9877 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9878 * tests/check/gst/gstmessage.c: (gst_message_suite):
9879 * tests/check/gst/gstminiobject.c:
9880 * tests/check/gst/gstobject.c:
9881 * tests/check/gst/gstpad.c:
9882 * tests/check/gst/gstpipeline.c:
9883 * tests/check/gst/gstplugin.c:
9884 * tests/check/gst/gstquery.c: (gst_query_suite):
9885 * tests/check/gst/gstsegment.c: (gst_segment_suite):
9886 * tests/check/gst/gststructure.c:
9887 * tests/check/gst/gstsystemclock.c:
9888 * tests/check/gst/gsttag.c:
9889 * tests/check/gst/gsttask.c: (gst_task_suite):
9890 * tests/check/gst/gstutils.c:
9891 * tests/check/gst/gstvalue.c:
9892 * tests/check/libs/adapter.c:
9893 * tests/check/libs/basesrc.c:
9894 * tests/check/libs/collectpads.c:
9895 * tests/check/libs/controller.c:
9896 * tests/check/libs/gdp.c: (gst_dp_suite):
9897 * tests/check/libs/gstnetclientclock.c:
9898 * tests/check/libs/gstnettimeprovider.c:
9899 * tests/check/libs/libsabi.c: (libsabi_suite):
9900 * tests/check/libs/typefindhelper.c:
9901 * tests/check/pipelines/cleanup.c:
9902 * tests/check/pipelines/parse-launch.c:
9903 * tests/check/pipelines/simple-launch-lines.c:
9904 * tests/check/pipelines/stress.c: (stress_suite):
9907 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9909 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9910 * libs/gst/check/gstcheck.h:
9911 create a macro and function so that the simple unit test
9912 case can be just one macro to create main()
9914 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
9916 * gst/gstbin.c: (gst_bin_restore_thyself):
9917 * gst/gstxml.c: (gst_xml_make_element):
9918 Fix deserialisation from XML. Set parent manually
9919 instead of using gst_bin_add(), since gst_bin_add()
9920 will unlink all pads of the element being added.
9923 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
9925 Patch by: Peter Kjellerstedt <pkj at axis com>
9927 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9928 Fix missing g_strdup() and double free when using the
9929 --gst-plugin-load command line option (#346097).
9931 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9934 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9936 * libs/gst/net/gstnetclientclock.c:
9937 * libs/gst/net/gstnettimeprovider.c:
9938 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9940 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9942 * docs/manual/advanced-dataaccess.xml:
9943 Fix buffer probe example compilation in
9946 2006-06-22 Edward Hervey <edward@fluendo.com>
9948 * gst/gstelement.c: (gst_element_pads_activate):
9949 We need to deactivate src pads first and then sink pads.
9950 The reason is the src pads might be blocking while holding the streaming
9951 lock, so we need to deactivate them first so that deactivating the sink
9952 pads doesn't block (since it will require the streaming lock).
9954 2006-06-22 Wim Taymans <wim@fluendo.com>
9956 * libs/gst/base/gstbasetransform.c:
9957 (gst_base_transform_buffer_alloc):
9958 Forgot to remove two unneeded unrefs.
9959 Simplify a check _is_equal allready checks the obvious case.
9961 2006-06-22 Wim Taymans <wim@fluendo.com>
9963 * docs/design/part-block.txt:
9964 Some docs about what pad_block should do.
9966 2006-06-22 Wim Taymans <wim@fluendo.com>
9968 * gst/gstcaps.c: (gst_caps_replace):
9969 Fix crasher when passed NULL. Doc clarification.
9970 Optimize for the trivial case.
9972 * gst/gstpipeline.c: (gst_pipeline_change_state):
9975 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9976 Small documentation cleanup.
9978 * libs/gst/base/gstbasetransform.c:
9979 (gst_base_transform_buffer_alloc):
9980 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9981 is what we need and it avoids a whole lot of redundant
9982 refcount operations.
9984 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
9986 Patch by: Philip Jägenstedt <philip at lysator liu se>
9988 * docs/manual/advanced-dataaccess.xml:
9989 Fix 'Embedding static elements' section to use
9990 GST_PLUGIN_DEFINE_STATIC (#345607).
9992 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9994 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9995 Attempt to 'fix' spuriously failing test case: it seems like the
9996 timeout of half a second is simply too small when the system is under
9997 load otherwise, and the timeout doesn't really seem to serve any
9998 particular purpose here. Give the pipeline a few seconds to preroll
9999 first, and then give it another half a second to go from PAUSED to
10000 PLAYING and marshal the message into the main thread.
10002 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10004 * tools/gst-feedback-m.m:
10005 Don't only use unversioned tools, try versioned tools as well
10008 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10010 * gst/gstbus.c: (gst_bus_class_init):
10011 Fix some typos, make docs more explicit.
10013 2006-06-20 Wim Taymans <wim@fluendo.com>
10015 * tests/check/gst/gstghostpad.c: (block_callback),
10016 (GST_START_TEST), (gst_ghost_pad_suite):
10017 Added some more ghostpad tests, mainly blocking
10020 2006-06-16 Wim Taymans <wim@fluendo.com>
10022 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10023 (gst_file_sink_close_file), (gst_file_sink_do_seek),
10024 (gst_file_sink_event), (gst_file_sink_render):
10025 * plugins/elements/gstfilesink.h:
10026 Check if we can seek in the file instead of assuming
10027 we always can. Post an error when we are asked to seek in a
10028 non-seekable file (like a fifo). Fixes #343312.
10031 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10033 * tools/gst-launch.1.in:
10034 Un-garble (fourcc) bit in filtered caps section.
10036 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10038 * docs/manual/advanced-autoplugging.xml:
10039 * docs/manual/basics-helloworld.xml:
10040 * docs/manual/highlevel-components.xml:
10041 Don't leak bus reference in sample code.
10043 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
10046 Add default for new --enable-plugin-docs switch.
10049 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10052 * docs/Makefile.am:
10053 Use new ENABLE_PLUGIN_DOCS conditional.
10055 2006-06-14 Wim Taymans <wim@fluendo.com>
10057 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10058 Make it clear with a FIXME and a real define what the #if 0
10059 previously disabled.
10061 2006-06-14 Wim Taymans <wim@fluendo.com>
10063 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10064 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10065 * libs/gst/base/gstbasetransform.c:
10066 (gst_base_transform_sink_eventfunc):
10067 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10068 Don't randomly and silently reset a segment when the format
10069 changes as this is a bug somewhere upstream. Fixes #330379.
10071 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10073 Patch by: Wouter Paesen <wouter at kangaroot net>
10075 * libs/gst/controller/gstcontroller.c:
10076 (gst_controlled_property_new):
10077 Fix controlling of float properties (#344849).
10079 * tests/check/libs/controller.c:
10080 (gst_test_mono_source_get_property),
10081 (gst_test_mono_source_set_property),
10082 (gst_test_mono_source_class_init), (GST_START_TEST):
10083 While we're at it, add some float stuff to unit test.
10085 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10088 * docs/images/gdp-header.svg:
10090 * docs/libs/Makefile.am:
10091 * docs/libs/gdp-header.png:
10092 * libs/gst/dataprotocol/dataprotocol.c:
10093 add it to the API docs
10094 * docs/manual/intro-motivation.xml:
10097 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10099 * gst/gst.c: (scan_and_update_registry), (init_post):
10100 If the fork()'ed child process can't write the updated registry cache
10101 file to disk for some reason, make it exit with a failure exit code,
10102 so that the parent can then re-scan the plugins itself and update the
10103 registry structures in memory and work with that (rather than failing
10104 when creating elements because seemingly no plugins are available).
10105 Refactor registry scanning code into separate function for this and
10106 also separate fork() and non-fork() code paths. Fixes #344748.
10108 2006-06-13 Wim Taymans <wim@fluendo.com>
10110 * docs/manual/advanced-dataaccess.xml:
10111 Fix wrong PluginDesc. Fixes #344755.
10113 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10115 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10116 Fix silly bug that prevented us from creating
10117 ~/.gstreamer-0.10 and writing the registry in one
10118 go (the first call to g_mkstemp() would overwrite the
10119 placeholder in the template string, so the second call
10120 to g_mkstemp() after creating the missing directory
10121 would then error out with 'invalid argument').
10123 2006-06-13 Edward Hervey <edward@fluendo.com>
10125 * gst/gst.c: (init_post):
10128 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10130 * gst/glib-compat-private.h:
10131 * gst/glib-compat.c:
10132 * gst/glib-compat.h:
10133 * gst/gstvalue.c: (gst_value_serialize_flags):
10134 remove GLib 2.6 compatibility code
10136 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10138 * gst/parse/Makefile.am:
10139 Fix build with 'make -j N' even more (#340016).
10141 2006-06-12 Wim Taymans <wim@fluendo.com>
10143 * docs/gst/gstreamer-sections.txt:
10146 2006-06-12 Wim Taymans <wim@fluendo.com>
10148 * gst/gstsegment.c: (gst_segment_set_duration),
10149 (gst_segment_set_last_stop), (gst_segment_set_seek),
10150 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10151 (gst_segment_to_running_time), (gst_segment_clip):
10152 Use G_UNLIKELY to help the compiler a bit.
10154 2006-06-12 Wim Taymans <wim@fluendo.com>
10156 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10158 * gst/gstevent.c: (gst_event_get_type):
10159 * gst/gstmessage.c:
10160 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10162 constify quark registration strings. Fixes #344115
10163 Avoid unneeded type checking is _pad_push() by internally
10164 calling gst_pad_chain_unchecked().
10166 2006-06-12 Wim Taymans <wim@fluendo.com>
10168 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10169 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10170 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10171 (gst_buffer_is_span_fast), (gst_buffer_span):
10172 Init _type for consistency.
10173 Use _FLAGS macro to avoid type check.
10174 Avoid unneeded type checks in subbufer code.
10176 2006-06-12 Wim Taymans <wim@fluendo.com>
10178 * gst/gst.c: (gst_debug_help):
10179 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10180 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10181 (gst_plugin_feature_list_free):
10182 * gst/gstregistry.c: (gst_registry_add_plugin),
10183 (gst_registry_add_feature), (gst_registry_plugin_filter),
10184 (gst_registry_feature_filter), (gst_registry_find_plugin),
10185 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10186 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10187 * gst/gstregistryxml.c: (load_feature),
10188 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10189 * gst/gstminiobject.c: (gst_mini_object_unref),
10190 (gst_mini_object_replace), (gst_value_mini_object_free),
10191 (gst_value_mini_object_copy):
10192 Use _CAST macros to avoid unneeded type checking.
10193 Added some more G_UNLIKELY.
10195 2006-06-12 Wim Taymans <wim@fluendo.com>
10198 Avoid unneeded type checking.
10199 API: GST_BUFFER_IS_DISCONT
10201 * gst/gstminiobject.h:
10202 Avoid type check in flag accessor.
10204 * gst/gstelementfactory.h:
10206 * gst/gstpluginfeature.h:
10208 API: GST_ELEMENT_FACTORY_CAST
10209 API: GST_PLUGIN_CAST
10210 API: GST_PLUGIN_FEATURE_CAST
10212 2006-06-12 Wim Taymans <wim@fluendo.com>
10214 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10215 (gst_object_unref):
10216 Add G_UNLIKELY in type registration.
10217 Avoid type check in _ref/_unref since that is also
10220 2006-06-12 Wim Taymans <wim@fluendo.com>
10222 * gst/gsterror.c: (gst_g_error_get_type):
10223 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10224 (gst_static_pad_template_get_type):
10225 * gst/gsttaglist.c: (gst_tag_list_get_type):
10226 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10227 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10228 * gst/gsturi.c: (gst_uri_handler_get_type):
10229 * gst/gstvalue.c: (gst_date_get_type):
10230 * gst/gstxml.c: (gst_xml_get_type):
10231 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10232 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10233 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10234 Add G_UNLIKELY in type registration.
10236 2006-06-12 Wim Taymans <wim@fluendo.com>
10238 * tools/gst-inspect.c: (print_signal_info):
10239 Properly print enum values.
10241 2006-06-12 Wim Taymans <wim@fluendo.com>
10243 * gst/gstinfo.c: (gst_debug_set_active),
10244 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10246 Add some G_[UN]LIKELY.
10247 Maintain __gst_debug_min to avoid formatting the arguments of
10248 debug messages that will be dropped anyway to avoid a lot of
10249 overhead from the debugging system.
10251 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10254 * po/POTFILES.skip:
10255 add missing files containing translatable strings, tell intltool about
10258 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10260 * tests/check/libs/.cvsignore:
10261 add test-binary to ignore list
10263 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10265 * docs/libs/gstreamer-libs-docs.sgml:
10266 reorder (put dp into a chapter) and indent
10268 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10273 === release 0.10.8 ===
10275 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10278 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10280 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10282 * gst/gst.c: (init_post):
10283 move pid declaration to declaration block
10285 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10287 * gst/gst.c: (init_post):
10288 use _exit() instead of exit() in our forked child; this ensures
10289 that none of the registered exit handlers from whatever is using
10290 GStreamer get executed. This fixes gnome-mixer-applet failing
10291 to load, because ORBit would shut down.
10292 Spotted by: Edward Hervey <edward@fluendo.com>
10293 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10296 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10301 === release 0.10.7 ===
10303 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10306 releasing 0.10.7, "Soepeke, ik zie ou"
10308 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10331 * win32/common/config.h:
10332 0.10.6.2 prerelease
10334 2006-06-07 Wim Taymans <wim@fluendo.com>
10336 * gst/gstindex.c: (gst_index_gtype_resolver):
10337 * tools/gst-xmlinspect.c: (print_plugin_info):
10338 Fix leak spotted by coverity checker. Fixes #343827
10339 Fix another other leak found by paolo borelli.
10341 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10343 * libs/gst/dataprotocol/dataprotocol.c:
10344 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10345 (gst_dp_version_get_type), (gst_dp_init),
10346 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10347 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10348 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10349 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10350 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10351 (gst_dp_packetizer_free):
10352 * libs/gst/dataprotocol/dataprotocol.h:
10353 API: add a GstDPPacketizer object, and create/free functions
10354 API: add GstDPVersion enum
10355 Add 1.0 event function that uses the string serialization
10356 Serialize more useful buffer flags
10359 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10361 * tests/check/Makefile.am:
10362 * tests/check/gst/gstabi.c:
10363 * tests/check/gst/struct_ppc64.h:
10364 * tests/check/libs/libsabi.c:
10365 * tests/check/libs/struct_ppc64.h:
10366 add ppc64 structure sizes
10368 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10370 * tests/check/Makefile.am:
10371 * tests/check/gst/gstabi.c:
10372 * tests/check/gst/struct_x86_64.h:
10373 * tests/check/libs/libsabi.c:
10374 * tests/check/libs/struct_x86_64.h:
10375 generate and add structure size lists for x86_64
10377 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10379 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10380 * libs/gst/check/gstcheck.h:
10381 factor out the method from tests that checks size of structures,
10382 and add code to generate the header containing these sizes
10383 * tests/check/gst/gstabi.c: (GST_START_TEST):
10384 * tests/check/gst/struct_i386.h:
10385 * tests/check/libs/libsabi.c: (GST_START_TEST):
10386 * tests/check/libs/struct_i386.h:
10389 2006-06-06 Michael Smith <msmith@fluendo.com>
10391 * gst/gstsegment.h:
10392 Don't use c++-style comments, fixes #343929
10394 2006-06-05 Edward Hervey <edward@fluendo.com>
10397 plugin_paths is not used if we build without registry support.
10399 * gst/gstsegment.c: (gst_segment_copy):
10400 _copy() was always returning NULL...
10402 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10404 * libs/gst/dataprotocol/dataprotocol.c:
10405 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10406 (gst_dp_packet_from_event):
10407 factor out CRC code
10409 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10411 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10412 make sure we unset caps
10414 2006-06-02 Michael Smith <msmith@fluendo.com>
10416 * libs/gst/check/gstcheck.c: (gst_check_init),
10417 (gst_check_chain_func):
10418 * libs/gst/check/gstcheck.h:
10419 Add a cond/mutex to the check support lib, signal this whenever we
10420 add to the buffers list. This will allow tests to not busy-wait on
10423 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10425 * libs/gst/dataprotocol/dataprotocol.c:
10426 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10427 (gst_dp_packet_from_event):
10428 factor out some common header init code
10430 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10432 * docs/libs/gstreamer-libs-sections.txt:
10433 * docs/libs/tmpl/gstdataprotocol.sgml:
10434 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10435 * libs/gst/dataprotocol/dataprotocol.h:
10436 API: make gst_dp_crc() public
10438 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10440 * plugins/indexers/gstindexers.c: (plugin_init):
10441 conditionally register fileindexer (fixes #343598)
10443 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10445 * gst/gsttagsetter.h:
10446 Can't cast ifaces to a class
10448 * libs/gst/net/gstnetclientclock.h:
10449 * libs/gst/net/gstnettimeprovider.h:
10450 * plugins/elements/gstfakesink.h:
10451 * plugins/elements/gstfakesrc.h:
10452 * plugins/elements/gstfdsink.h:
10453 * plugins/elements/gstfdsrc.h:
10454 * plugins/elements/gstfilesink.h:
10455 * plugins/elements/gstfilesrc.h:
10456 * plugins/elements/gstidentity.h:
10457 * plugins/elements/gstqueue.h:
10458 * plugins/elements/gsttee.h:
10459 * plugins/indexers/gstfileindex.c:
10460 * plugins/indexers/gstmemindex.c:
10461 * tests/old/examples/plugins/example.h:
10462 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10464 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
10466 * libs/gst/dataprotocol/dataprotocol.c:
10467 (gst_dp_header_from_buffer):
10468 make sure we zero the whole ABI-compatible area
10470 2006-06-01 Wim Taymans <wim@fluendo.com>
10472 Patch by: Alessandro Decina <alessandro at nnva dot org>
10474 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10475 Make sure the EOS flag is cleared from pads after a flush
10476 or stop. Fixes #343538.
10478 * tests/check/libs/collectpads.c: (GST_START_TEST),
10479 (gst_collect_pads_suite):
10480 Added test for collectpads reusage after EOS.
10482 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
10485 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10486 * win32/common/libgstbase.def:
10487 export gst_collect_pads_set_flushing
10488 * win32/common/libgstreamer.def:
10489 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10490 gst_value_fraction_multiply
10491 * win32/vs6/gst_inspect.dsp:
10492 add a link to intl.lib
10494 2006-05-30 Wim Taymans <wim@fluendo.com>
10496 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10497 (gst_collect_pads_chain):
10498 Handle the case where a pad is removed from the collection
10499 that could cause the other pads to become collectable.
10501 2006-05-30 Wim Taymans <wim@fluendo.com>
10503 * gst/gstelement.c:
10504 Clarify the use of _release_request_pad() and
10505 _get_request_pad() a bit better.
10507 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10508 (gst_adapter_take_buffer):
10509 Fix some doc and comment typos.
10511 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10513 * docs/gst/gstreamer-sections.txt:
10514 * docs/libs/gstreamer-libs-sections.txt:
10515 add declared symbols
10517 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
10519 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10520 Add debug that can be enabled using a #define at the top of the file,
10521 for dumping stats about how late/early we were when waking up from
10522 waiting on the clock.
10524 2006-05-30 Wim Taymans <wim@fluendo.com>
10526 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10527 When rebuilding the pad list, don't leak the previous list.
10529 2006-05-30 Wim Taymans <wim@fluendo.com>
10531 Patch by: Lutz Mueller <lutz at topfrose dot de>
10533 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10534 (gst_base_src_get_query_types), (gst_base_src_update_length):
10535 Publish supported query types.
10536 Update last_stop field in get_range mode so the position
10537 query works. Fixes #342321.
10539 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
10541 * docs/gst/gstreamer-sections.txt:
10542 * gst/gsttaglist.c: (_gst_tag_initialize):
10543 * gst/gsttaglist.h:
10544 API: add GST_TAG_PREVIEW_IMAGE (#343341).
10546 2006-05-30 Wim Taymans <wim@fluendo.com>
10548 Patch by: Alessandro Decina <alessandro at nnva dot org>
10550 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10551 Unlock mutex when removing an unknown pad.
10554 * tests/check/Makefile.am:
10555 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10556 (push_event), (setup), (teardown), (GST_START_TEST),
10557 (gst_collect_pads_suite), (main):
10558 Added collecpads check, disabled for now as check crashes for
10561 2006-05-29 Wim Taymans <wim@fluendo.com>
10563 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10564 Don't leak pads lists.
10566 2006-05-29 Wim Taymans <wim@fluendo.com>
10568 * docs/libs/gstreamer-libs-sections.txt:
10569 * libs/gst/base/gstcollectpads.c:
10570 (gst_collect_pads_set_flushing_unlocked),
10571 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10572 (gst_collect_pads_stop):
10573 * libs/gst/base/gstcollectpads.h:
10574 API: gst_collect_pads_set_flushing()
10575 Added api to set the pads to flushing, useful for seeking
10576 code in elements using collectpads.
10577 Clear segment when receiving a flush.
10579 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
10581 * gst/gst.c: (add_path_func), (init_post):
10582 Don't scan registry paths passed via --gst-plugin-path immediately
10583 (will crash, because absolutely nothing is set up and no types are
10584 registered etc.); do this later in init_post(). Fixes #343057.
10586 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
10588 * gst/gst.c: (init_post):
10589 if we have fork, fork while reading/rebuilding the registry
10590 so the parent doesn't take the hit of having all plugins loaded
10591 in memory. Fixes #342777.
10593 Check if we have fork()
10594 * win32/common/config.h.in:
10597 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10599 * plugins/elements/gstelements.c:
10600 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10601 (gst_file_src_init), (gst_file_src_set_property),
10602 (gst_file_src_get_property), (gst_file_src_start):
10603 * plugins/elements/gstfilesrc.h:
10604 API: GstFileSrc::use-mmap
10606 Add a use-mmap property to enable easier testing of all code paths.
10607 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10608 in the absence of gnomevfssrc. (Closes #340501)
10610 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10612 * tools/gst-inspect.c:
10613 Add missing include, removes warning of ngettext not being defined on
10616 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10618 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10619 Handle NULL input and output pointers silently as a failed conversion,
10620 rather than g_warnings.
10622 2006-05-25 Wim Taymans <wim@fluendo.com>
10624 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10625 Initialize variable before using. Fixes #342820.
10627 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
10629 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10630 Fix off-by-one bug that would only allow peeks of N-1 bytes
10631 from the start even if the buffer to typefind on contains
10632 in fact N bytes of data (makes vorbis typefinding from a
10633 vorbis identification header buffer work).
10635 * tests/check/Makefile.am:
10636 * tests/check/libs/.cvsignore:
10637 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10638 (gst_typefindhelper_suite), (main), (foobar_typefind),
10640 Add very basic unit test for gst_type_find_helper_for_buffer()
10641 that checks for the problem fixed above.
10643 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
10645 * tools/gst-inspect.c: (print_interfaces),
10646 (print_element_properties_info), (print_element_list), (main):
10647 add more translatable strings
10649 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
10651 Patch by: Julien Moutte <julien at moutte net>
10653 * docs/gst/gstreamer-sections.txt:
10654 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10656 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10657 (gst_fake_sink_preroll):
10658 * plugins/elements/gstfakesink.h:
10659 API: Add new GstFakeSink::preroll-handoff signal (#337100).
10661 2006-05-23 Wim Taymans <wim@fluendo.com>
10663 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10665 Added _CUSTOM error and success GstFlowReturn that can be
10666 used be elements internally.
10667 Added macro to check for SUCCESS flowreturns.
10668 API: GST_FLOW_CUSTOM_SUCCESS
10669 API: GST_FLOW_CUSTOM_ERROR
10670 API: GST_FLOW_IS_SUCCESS
10672 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10673 Added check for GstFlowReturn sanity.
10675 2006-05-23 Wim Taymans <wim@fluendo.com>
10677 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10680 (gst_collect_pads_event):
10681 clear/reset segment info in FLUSH_STOP.
10684 2006-05-22 Stefan Kost <ensonic@users.sf.net>
10686 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10687 (gst_collect_pads_check_collected):
10688 Flush queued buffer on _stop(), fixes playing again (#342454)
10690 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
10692 * tests/check/gst/gststructure.c: (GST_START_TEST),
10693 (gst_structure_suite):
10694 add a test for a complete structure
10696 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10698 * docs/faq/developing.xml:
10699 * docs/faq/faq.xml:
10700 * docs/faq/troubleshooting.xml:
10701 * docs/faq/using.xml:
10702 Some minor FAQ updates that won't change the fact that
10703 our FAQ is badly structured, full of information hardly
10704 anyone new to GStreamer needs to know and lacking lots
10705 of information people constantly ask for.
10707 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
10709 * gst/gstpad.c: (gst_pad_set_caps):
10710 Short-circuit gst_pad_set_caps if setting the existing
10711 caps pointer again, and avoid printing debug and
10712 reffing/unreffing the caps.
10714 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10715 There's actually no need to set the caps before pushing -
10716 the acceptcaps method will handle it anyway.
10718 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10720 * docs/gst/gstreamer-sections.txt:
10721 * win32/common/libgstreamer.def:
10722 * gst/gstutils.c: (gst_element_seek_simple):
10724 API: add gst_element_seek_simple() (#342238).
10726 2006-05-18 Edward Hervey <edward@fluendo.com>
10728 * gst/gsttypefind.c: (gst_type_find_get_type):
10729 * gst/gsttypefind.h:
10730 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10731 registered for GstTypeFind pointers. This allows wrapping the structure
10732 in bindings (i.e. gst-python).
10734 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10736 * gst/gsttagsetter.c:
10737 Docs additions and fixes (see #339918).
10739 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10741 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10742 The caps intersection algorithm can produce multiple copies of the
10743 caps. Until that is fixed, we need to simplify the result to be
10744 sure whether the allowed caps are fixed or not.
10746 * plugins/elements/gstqueue.c: (gst_queue_init),
10747 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10748 (gst_queue_push_one):
10749 Proxied buffer alloc should not set the caps on the source pad.
10750 When pushing buffers, we always accept the caps change that triggers.
10751 This prevents negotiation errors caused by caps changing mid-stream
10752 and then being refused on our source pad (because upstream is now
10753 refusing those caps).
10755 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10757 * tests/examples/helloworld/helloworld.c: (main):
10758 Must plug audioconvert and audioresample between decoder
10761 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
10763 * gst/gstregistryxml.c: (read_string), (load_pad_template),
10764 (load_feature), (load_plugin):
10765 Allow empty strings for some of the plugin fields so we don't
10766 drop valid plugin entries that were written out correctly
10769 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
10771 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10772 Use g_remove and g_rename instead of remove and rename that don't
10773 handle utf8 characters. rename was failing for users who had specific
10774 characters in their name then the registry was built at each
10776 * win32/vs6/gst_inspect.dsp:
10777 * win32/vs6/gst_launch.dsp:
10778 * win32/vs6/libgstbase.dsp:
10779 * win32/vs6/libgstcoreelements.dsp:
10780 * win32/vs6/libgstreamer.dsp:
10781 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
10782 build of libgstreamer and clean unused libraries in projects link
10785 2006-05-17 Edward Hervey <edward@fluendo.com>
10787 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10788 The queue is not responsible for pushing an EOS when receiving a fatal
10789 flow error. It's up to the real element driving the pipeline to do that.
10791 2006-05-16 Edward Hervey <edward@fluendo.com>
10793 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10794 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10795 buffer returned a fatal error. It should just send an EOS and stop
10797 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10798 when pushing buffers on the queue and will be able to handle the event.
10800 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
10802 * docs/manual/basics-bins.xml:
10803 * docs/manual/basics-init.xml:
10804 Fix typos and minor errors in sample code (#341856).
10806 2006-05-16 Wim Taymans <wim@fluendo.com>
10808 * docs/design/part-qos.txt:
10809 Fix indexes in formulas to make more sense.
10811 2006-05-15 Wim Taymans <wim@fluendo.com>
10813 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10814 Don't report POSITION based on clock time if sync is
10815 disabled in a sink.
10817 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
10820 Add cast to make compiler happy - refcount variable was a gint
10821 in GstObject but is a guint in GObject and g_atomic_int_get()
10824 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
10826 * gst/parse/Makefile.am:
10827 chain commands using &&, which also makes parallel make work
10829 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
10831 * docs/gst/gstreamer-sections.txt:
10834 * gst/gstmessage.h:
10837 === release 0.10.6 ===
10839 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
10842 releasing 0.10.6, "Take the cannoli"
10844 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
10846 * tools/gst-launch.c: (print_tag):
10847 Fix use of uninitialized variable in the hypothetical
10848 case that some broken plugin creates a GST_TAG_IMAGE
10849 tag containing a NULL buffer (#341667).
10851 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
10853 * tools/gst-launch.c: (print_tag):
10854 Print something more intelligible for image tags when
10855 using the -t switch (#341556).
10857 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
10862 define GST_MAJORMINOR so we have it available in win32/common/config.h
10863 Possibly remove it from our Makefile.am files later
10864 * win32/common/config.h:
10865 * win32/common/config.h.in:
10866 added GST_MAJORMINOR
10867 * win32/common/gstenumtypes.c: (register_gst_resource_error):
10868 * win32/common/gstversion.h:
10871 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
10874 Update win32 files listing.
10875 * win32/common/gstversion.h:
10876 Add GST_MAJORMINOR definition.
10877 * win32/common/libgstreamer.def:
10878 Add new exported functions.
10880 2006-05-12 Michael Smith <msmith@fluendo.com>
10882 * gst/gstplugin.c: (gst_plugin_load_file):
10883 If an so file has no plugin entry point, unload the module.
10885 2006-05-11 Wim Taymans <wim@fluendo.com>
10887 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10888 (gst_queue_set_property):
10889 Don't forget to signal the _chain or _loop function
10890 when the queue size or thresholds change since that might
10891 cause them to make progres again.
10893 2006-05-11 Stefan Kost <ensonic@users.sf.net>
10895 * gst/gstclock.c: (gst_clock_class_init):
10896 * gst/gstindex.c: (gst_index_class_init):
10897 * gst/gstobject.c: (gst_object_class_init):
10898 * gst/gstpad.c: (gst_pad_class_init):
10899 * gst/gstpipeline.c: (gst_pipeline_class_init):
10900 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10901 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10902 * libs/gst/base/gstbasetransform.c:
10903 (gst_base_transform_class_init):
10904 * libs/gst/net/gstnetclientclock.c:
10905 (gst_net_client_clock_class_init):
10906 * libs/gst/net/gstnettimeprovider.c:
10907 (gst_net_time_provider_class_init):
10908 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10909 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10910 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10911 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10912 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10913 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10914 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10915 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10916 * plugins/elements/gsttee.c: (gst_tee_class_init):
10917 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10918 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10919 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10921 2006-05-11 Wim Taymans <wim@fluendo.com>
10923 * gst/gstbuffer.c: (_gst_buffer_initialize):
10924 Register subbufer along with the buffer type so that
10925 it does not accidentally gets registered from N
10926 different streaming threads in a non threadsafe way.
10928 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10932 * gst/gstmessage.h:
10933 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10934 gst_event_ref() and gst_message_ref() functions again
10935 (ugly hack, please do fix if there's a better way besides
10936 overrides.txt, which doesn't seem to work).
10938 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10940 * libs/gst/check/gstcheck.h:
10941 add an assert for setting state to avoid lots of repetitive code
10944 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10946 * gst/gstvalue.c: (gst_value_serialize_flags):
10947 fix a leak if no flags are set
10948 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10951 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10953 * docs/manual/basics-pads.xml:
10954 Expand a bit on caps and filtered links and update
10955 examples that were still using the no longer existing
10956 gst_pad_link_filtered() (#338206).
10958 2006-05-10 Wim Taymans <wim@fluendo.com>
10960 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10961 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10962 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10963 (gst_collect_pads_stop):
10964 * libs/gst/base/gstcollectpads.h:
10965 No need to call _stop in _finalize.
10966 Iterate the main pad list in _finalize.
10967 Added some more debug.
10968 Free lists and data in the right order.
10969 Also free data whem doing _remove_pad when stopped for
10970 backward compatibility protect ::started with PAD_LOCK as
10973 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10975 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10976 (gst_structure_parse_value):
10978 rename a method so that it actually says what it does better
10980 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10982 * gst/gstevent.c: (_gst_event_initialize):
10983 * gst/gstformat.c: (_gst_format_initialize):
10984 make sure some essential types used by events are registered
10985 as part of gst_init()
10986 * gst/gstvalue.c: (gst_value_serialize_flags):
10987 if no flags are set, serialize them to a value that represents NONE
10988 so that deserializing them works
10989 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10990 add tests for serialization and deserialization of flags
10992 2006-05-10 Wim Taymans <wim@fluendo.com>
10994 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10995 (gst_collect_pads_collect_range), (gst_collect_pads_available),
10996 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10997 (gst_collect_pads_event), (gst_collect_pads_chain):
11000 Catch and return errors from the collect function
11001 Refuse data on eos pads.
11003 2006-05-10 Edward Hervey <edward@fluendo.com>
11005 * gst/gstinterface.h:
11006 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11007 GInterface type checking.
11008 They were previously using non-defined macros.
11010 2006-05-09 Wim Taymans <wim@fluendo.com>
11012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11013 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11014 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11015 (gst_collect_pads_start), (gst_collect_pads_stop),
11016 (gst_collect_pads_peek), (gst_collect_pads_pop),
11017 (gst_collect_pads_available), (gst_collect_pads_read),
11018 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11019 (gst_collect_pads_is_collected), (gst_collect_pads_event),
11020 (gst_collect_pads_chain):
11021 * libs/gst/base/gstcollectpads.h:
11022 Clean up the mess that is collectpads, add comments and
11023 FIXMEs where needed.
11024 Maintain a separate pad list so we can add pads while
11025 collecting the other ones. For this we need a new separate
11027 Fix memory leak in finalize.
11028 Refactor some weird code to set/unset pad flushing flags, mark
11030 Don't crash in _available, _read, _flush when we're EOS.
11032 * tests/check/libs/.cvsignore:
11033 Ignore adapter check binary.
11035 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11037 * gst/gstindex.c: (gst_index_resolver_get_type):
11038 * plugins/elements/gstfakesink.c:
11039 (gst_fake_sink_state_error_get_type):
11040 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11041 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11042 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11043 Const-ify GEnumValue arrays.
11045 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11047 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11048 Add test case for flags + gst_buffer_make_metadata_writable().
11050 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11052 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11053 gst_buffer_make_metadata_writable() should maintain the
11054 buffer flags (those that make sense at least) (see #340859).
11056 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11058 * tools/gst-inspect.c:
11059 * tools/gst-launch.c:
11060 * tools/gst-typefind.c:
11061 * tools/gst-xmlinspect.c:
11063 Fix up includes: need to include stdlib.h in tools.h for exit().
11065 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11067 * gst/gsttaglist.c: (_gst_tag_initialize):
11068 * gst/gsttaglist.h:
11069 API: add GST_TAG_IMAGE tag (#340721).
11071 2006-05-08 Wim Taymans <wim@fluendo.com>
11074 Added some docs for the segment query.
11076 2006-05-08 Wim Taymans <wim@fluendo.com>
11078 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11079 (gst_base_src_loop), (gst_base_src_change_state):
11080 Always push non-flushing serialized events in the streaming
11083 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11085 * gst/gsterror.c: (_gst_stream_errors_init):
11086 Add a missing error string.
11088 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11090 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11091 Add applied_rate to the debug
11093 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11094 Copy applied_rate into the outgoing NEWSEGMENT event
11096 2006-05-08 Wim Taymans <wim@fluendo.com>
11098 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11100 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11101 (gst_base_sink_change_state):
11102 call ::unlock before taking the PREROLL_LOCK so we can safely
11103 handle elements that lock in ::render.
11106 2006-05-08 Edward Hervey <edward@fluendo.com>
11108 * autogen.sh: (CONFIGURE_DEF_OPT):
11109 Darwin's libtoolize is in fact called glibtoolize.
11110 Adding glibtoolize to the list of accepted names for libtoolize.
11112 2006-05-08 Wim Taymans <wim@fluendo.com>
11114 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11115 Unify error handling, don't post an error message
11116 when a push() returns EOS but perform our normal EOS
11117 handling code. Fixes #340772.
11119 2006-05-08 Wim Taymans <wim@fluendo.com>
11121 * docs/design/part-overview.txt:
11122 Make upsteam/downstream concepts more clear.
11123 Give an example of serialized/non-serialized events.
11125 * docs/design/part-events.txt:
11126 * docs/design/part-streams.txt:
11127 Mention applied_rate.
11129 * docs/design/part-trickmodes.txt:
11130 Mention applied rate, flesh out some more use cases.
11132 * gst/gstevent.c: (gst_event_new_new_segment),
11133 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11134 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11135 (gst_event_parse_tag), (gst_event_new_buffer_size),
11136 (gst_event_parse_buffer_size), (gst_event_new_qos),
11137 (gst_event_parse_qos), (gst_event_parse_seek),
11138 (gst_event_new_navigation):
11140 Add applied_rate field to NEWSEGMENT event.
11141 API: gst_event_new_new_segment_full()
11142 API: gst_event_parse_new_segment_full()
11144 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11145 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11146 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11147 * gst/gstsegment.h:
11148 Add applied_rate to GstSegment structure.
11149 Make calculation of stream_time and running_time more correct
11150 wrt rate/applied_rate.
11151 Add some more docs.
11152 API: GstSegment::applied_rate field
11153 API: gst_segment_set_newsegment_full();
11155 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11156 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11157 * libs/gst/base/gstbasetransform.c:
11158 (gst_base_transform_sink_eventfunc),
11159 (gst_base_transform_handle_buffer):
11160 Parse and use applied_rate in the GstSegment field.
11162 * tests/check/gst/gstevent.c: (GST_START_TEST):
11163 Add check for applied_rate field.
11165 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11166 (gstsegments_suite):
11167 Add more checks for various GstSegment operations.
11169 2006-05-08 Wim Taymans <wim@fluendo.com>
11171 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11172 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11173 (gst_base_sink_get_position), (gst_base_sink_change_state):
11174 Store the sync time of the buffer end position separatly in a
11175 new variable eos_rtime so we can properly sync the EOS event.
11177 Fix the docs for gst_base_sink_set_qos_enabled().
11178 Don't set segment start to invalid value when we receive a
11179 non TIME newsegment.
11180 get closer to handling position reporting for negative rates
11183 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11186 Docs about how to print caps for debug purposes.
11188 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11189 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11191 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11193 * gst/gstelement.c:
11194 use full enum names and preprend a '%' in docs strings to make recent
11195 gtk-doc turn that into a link
11197 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11199 * docs/manual/basics-bins.xml:
11200 * docs/manual/basics-bus.xml:
11201 * docs/manual/basics-pads.xml:
11202 Some typo fixes, some additions, some clarifications.
11204 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11206 * tools/gst-inspect.c: (main):
11207 * tools/gst-launch.c: (main):
11208 * tools/gst-run.c: (main):
11209 * tools/gst-typefind.c: (main):
11210 * tools/gst-xmlinspect.c: (main):
11211 Use the string passed to g_option_context_new() for
11212 what it's intended for - the program name is already
11215 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11217 * tools/Makefile.am:
11218 * tools/gst-inspect.c: (main):
11219 * tools/gst-launch.c: (main):
11220 * tools/gst-xmlinspect.c: (main):
11222 Add back --version command line option (#340460).
11224 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11225 Add --version option and use GOption for argument parsing; refactor a
11226 bit; accept directories as arguments and recurse into them; lastly,
11227 print a decent error message when things go wrong.
11229 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11231 * docs/manual/basics-bins.xml:
11232 Don't mention GstThread (#340611)
11233 * docs/manual/basics-elements.xml:
11234 Update link to GObject tutorial (#340607)
11236 2006-05-05 Wim Taymans <wim@fluendo.com>
11239 * gst/gstminiobject.c:
11240 Add note about refcounting and miniobject/buffer writeability
11241 to docs. Fixes #340604
11243 * gst/gstelementfactory.h:
11244 Added some explanation about @klass.
11246 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11248 * docs/manual/intro-motivation.xml:
11249 * docs/manual/manual.xml:
11250 Avoid CORBA & Bonobo references (#340598)
11252 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11254 * docs/manual/basics-bus.xml:
11255 * docs/manual/basics-pads.xml:
11256 Fix up some inaccuracies and omissions (#340609)
11258 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11260 * gst/gstghostpad.c:
11261 Small typo in docs (#340625)
11263 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11265 * gst/parse/Makefile.am:
11266 Make 'make -j' proof (see #340698).
11268 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11271 Require GLib-2.8 here as well.
11273 2006-05-05 Wim Taymans <wim@fluendo.com>
11275 * gst/glib-compat.c:
11276 * gst/gst.c: (init_pre):
11277 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11278 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11279 (gst_object_dispatch_properties_changed):
11281 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11282 * gst/gststructure.c: (gst_structure_set_valist):
11283 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11284 Remove pre glib2.8 compatibility, fixes #340508
11286 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11288 * gst/gsttaglist.h:
11289 Mention type of tags in doc blurbs.
11291 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11293 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11294 (gst_pad_configure_src), (gst_pad_push):
11295 Restore acceptcaps checking behaviour now that good plugins have
11298 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11300 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11307 * gst/gstmessage.c:
11311 * gst/parse/Makefile.am:
11312 * libs/gst/base/gstadapter.c:
11313 * libs/gst/base/gstbasesrc.c:
11314 * libs/gst/base/gstpushsrc.c:
11315 * libs/gst/base/gsttypefindhelper.c:
11316 * plugins/elements/gstfakesrc.c:
11317 * plugins/elements/gstidentity.c:
11318 Make sure gstprivate.h and/or config.h are
11319 always included first, otherwise some of our
11320 defines (like _FILE_OFFSET_BITS) might be
11321 redefined in the system headers. Fixes build
11322 on opensolaris (#340016).
11324 2006-05-04 Wim Taymans <wim@fluendo.com>
11326 * docs/libs/gstreamer-libs-sections.txt:
11327 API: addition: gst_adapter_take_buffer()
11329 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11330 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11331 (gst_adapter_available_fast):
11332 * libs/gst/base/gstadapter.h:
11333 Prepare for optimizing the hell out of this hugely inefficient
11335 Added gst_adapter_take_buffer() so we can at least start thinking
11336 about subbuffering and merging.
11337 Added some comments.
11339 * tests/check/Makefile.am:
11340 * tests/check/libs/adapter.c: (GST_START_TEST),
11341 (gst_adapter_suite), (main):
11342 Added GstAdapter check.
11344 2006-05-04 Wim Taymans <wim@fluendo.com>
11346 * docs/design/part-overview.txt:
11347 Fix some typos, add blurb about buffer flags.
11349 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11351 * docs/libs/gstreamer-libs-sections.txt:
11352 make sure GstBaseTransformClass shows up in the docs
11353 * libs/gst/base/gstbasetransform.c:
11354 * libs/gst/base/gstbasetransform.h:
11355 move docs so gtk-doc picks it up now
11357 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11359 * docs/libs/gstreamer-libs-sections.txt:
11360 add missing symbols to docs
11362 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11364 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11365 back out the newsegment handling change, see #340060 for ongoing
11368 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11370 * tools/gst-run.c: (get_candidates), (main):
11371 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11372 work); fix typo in error message. Fixes #340079.
11374 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11376 * common/Makefile.am:
11377 * docs/Makefile.am:
11378 * docs/faq/Makefile.am:
11379 * docs/gst/Makefile.am:
11380 * docs/libs/Makefile.am:
11381 * docs/manual/Makefile.am:
11382 * docs/plugins/Makefile.am:
11383 * docs/pwg/Makefile.am:
11384 * docs/slides/Makefile.am:
11386 * common/upload.mak:
11387 move upload.mak to common
11389 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11391 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11392 add more asserts on refcounts
11393 do more cleanup at end of tests
11394 fix test leaks showing in FC5
11396 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11398 * plugins/elements/gsttypefindelement.c:
11399 (gst_type_find_element_handle_event):
11400 reverted wrong change and reflowed code to avoid others falling into
11403 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11406 fix changelog entry about last collectpads change,
11407 add notes about proper fix
11409 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11412 * gst/gstregistry.c: (gst_registry_scan_path_level),
11413 (gst_registry_scan_path):
11414 * gst/gstregistry.h:
11415 only write out registry if it has changed, fixes #338339
11417 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11420 * gst/gstpipeline.c:
11421 * plugins/elements/gstcapsfilter.c:
11422 * plugins/elements/gstfakesink.c:
11423 * plugins/elements/gstfakesrc.c:
11424 * plugins/elements/gstfdsink.c:
11425 * plugins/elements/gstfdsrc.c:
11426 * plugins/elements/gstfilesink.c:
11427 * plugins/elements/gstfilesrc.c:
11428 * plugins/elements/gstidentity.c:
11429 * plugins/elements/gstqueue.c:
11430 * plugins/elements/gsttee.c:
11431 * plugins/elements/gsttypefindelement.c:
11432 (gst_type_find_element_handle_event):
11433 make GstElementDetails const
11435 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11437 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11438 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11439 (gst_collect_pads_is_collected), (gst_collect_pads_event):
11440 more detailed debug and formatting cleanup,
11441 forward newsegments to src-pad (so that e.g. adder not eats them)
11443 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11445 * gst/gstutils.c: (gst_element_link_pads):
11446 cleanup double code
11448 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11450 * libs/gst/controller/gstcontroller.c:
11451 (gst_controller_sync_values):
11453 * tests/check/libs/controller.c: (GST_START_TEST),
11454 (gst_controller_suite):
11455 a new test for live value handling
11457 2006-04-28 Wim Taymans <wim@fluendo.com>
11459 * gst/gstutils.c: (push_and_ref):
11460 Added some more docs.
11461 Fix refcount issue whith gst_element_found_tags() helper
11462 function. Fixes #338335
11464 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11465 Added testsuite for gst_element_found_tags().
11467 2006-04-28 Michael Smith <msmith@fluendo.com>
11469 * gst/gstvalue.c: (gst_value_serialize_flags):
11470 Avoid NULL dereference when trying to serialize flags containing
11473 2006-04-28 Michael Smith <msmith@fluendo.com>
11475 * plugins/elements/gsttypefindelement.c:
11476 (gst_type_find_element_handle_event):
11477 If we get EOS before any data is accumulated, don't use
11478 uninitialised local variables.
11480 2006-04-28 Michael Smith <msmith@fluendo.com>
11482 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11483 (gst_dp_event_from_packet):
11484 Fixes in reading/writing events over GDP (not currently used?) -
11485 dereferencing NULL events for unknown/invalid event types, memory
11486 leak, and change g_warning to GST_WARNING.
11488 2006-04-28 Wim Taymans <wim@fluendo.com>
11490 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11491 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11492 (gst_base_sink_get_position), (gst_base_sink_change_state):
11493 When frame dropping is enabled, we should not ignore frames
11494 without a duration.
11495 Update some documentation.
11497 2006-04-28 Wim Taymans <wim@fluendo.com>
11499 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11500 (gst_base_src_send_event), (gst_base_src_change_state):
11501 Documentation updates.
11503 2006-04-28 Wim Taymans <wim@fluendo.com>
11505 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11506 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11507 handle EAGAIN, EINTR and short writes correctly. Also clean
11508 up some error cases, avoid a deadlock on bad file descriptors and
11509 use GST_DEBUG_OBJECT.
11512 2006-04-28 Wim Taymans <wim@fluendo.com>
11514 * gst/gstvalue.c: (gst_value_serialize_buffer),
11515 (gst_value_deserialize_buffer):
11516 Don't try to serialize a GValue with a NULL buffer.
11519 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11520 Added check for serialisation of NULL buffers.
11522 2006-04-28 Wim Taymans <wim@fluendo.com>
11524 * gst/gstminiobject.c: (gst_value_take_mini_object):
11525 Taking a NULL miniobject is valid, fix the case where
11526 we try to unref the NULL miniobject.
11528 2006-04-28 Wim Taymans <wim@fluendo.com>
11530 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11532 * gst/gstbin.c: (gst_bin_handle_message_func):
11534 Don't leak bin refcount when a state recalc is
11535 in progress and we delay another one #339808.
11537 2006-04-28 Wim Taymans <wim@fluendo.com>
11539 * docs/design/part-TODO.txt:
11540 Mention QoS as an ongoing work item.
11542 * docs/design/part-buffering.txt:
11543 New doc about buffering that needs to be fleshed out
11546 * docs/design/part-qos.txt:
11547 More QoS policy for decoders/demuxers/transforms
11549 * docs/design/part-trickmodes.txt:
11552 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11557 === release 0.10.5 ===
11559 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11562 releasing 0.10.5, "Fogo"
11564 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
11566 patch by: Wim Taymans
11568 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11569 (gst_pad_configure_src), (gst_pad_push):
11570 * gst/gstpipeline.c: (gst_pipeline_init):
11571 Fix internal data flow errors. Fixes #338711.
11573 2006-04-12 Wim Taymans <wim@fluendo.com>
11575 * tests/check/gst/gstelement.c: (GST_START_TEST):
11576 Don't leak the factory.
11578 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
11581 * win32/common/config.h:
11584 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
11586 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11587 (gst_controller_unset_all):
11588 Free allocated GstTimedValues when freeing list nodes.
11589 Should fix leaks 'make check-valgrind' complains about.
11591 * win32/common/libgstcontroller.def:
11592 Add gst_controller_unset_all.
11594 2006-04-11 Stefan Kost <ensonic@users.sf.net>
11596 * docs/libs/gstreamer-libs-sections.txt:
11597 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11598 (gst_controller_unset_all):
11599 * libs/gst/controller/gstcontroller.h:
11600 API: Added new method gst_controller_unset_all()
11601 fixed gst_controller_unset()
11602 * tests/check/libs/controller.c: (GST_START_TEST),
11603 (gst_controller_suite):
11604 Added two testcases for new and fixed method
11606 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
11608 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11609 MSG_DONTWAIT is not defined on Cygwin, so work
11610 around that (fixes #317048).
11612 2006-04-11 Wim Taymans <wim@fluendo.com>
11614 * gst/gstelementfactory.c: (gst_element_register),
11615 (gst_element_factory_create), (gst_element_factory_make):
11618 Updated docs (Fixes #131079)
11620 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11623 * tests/check/gst/gstelement.c: (GST_START_TEST),
11624 (gst_element_suite):
11625 Added testcase for elementfactory class field.
11627 2006-04-10 Wim Taymans <wim@fluendo.com>
11629 * gst/gstsegment.c:
11630 Added some more docs.
11632 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11633 (gst_base_sink_reset_qos):
11634 Calculate more accurate rate values.
11636 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
11638 * gst/gst_private.h:
11639 add a new #ifdef to use __declspec(dllimport) only for
11640 other modules and not for gstreamer core
11641 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11642 use gst_guint64_to_gdouble for conversion
11643 * win32/common/libgstreamer.def:
11644 add new exported functions
11645 * win32/vs6/gst_inspect.dsp:
11646 * win32/vs6/gst_launch.dsp:
11647 * win32/vs6/libgstbase.dsp:
11648 * win32/vs6/libgstcontroller.dsp:
11649 * win32/vs6/libgstcoreelements.dsp:
11650 * win32/vs6/libgstdataprotocol.dsp:
11651 * win32/vs6/libgstnet.dsp:
11652 update project files
11654 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11656 * gst/gstbuffer.c: (gst_subbuffer_class_init):
11657 * gst/gstclock.c: (gst_clock_class_init):
11658 * gst/gstelement.c: (gst_element_class_init):
11659 * gst/gstindex.c: (gst_index_class_init):
11660 * gst/gstindexfactory.c: (gst_index_factory_class_init):
11661 * gst/gstobject.c: (gst_object_class_init),
11662 (gst_signal_object_class_init):
11663 * gst/gstpad.c: (gst_pad_class_init):
11664 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11665 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11666 * gst/gstregistry.c: (gst_registry_class_init):
11667 * gst/gstsystemclock.c: (gst_system_clock_class_init):
11668 * gst/gsttask.c: (gst_task_class_init):
11669 * gst/gstxml.c: (gst_xml_class_init):
11670 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11671 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11672 (gst_base_src_loop):
11673 * libs/gst/controller/gstcontroller.c:/
11674 (_gst_controller_class_init):
11675 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11676 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11677 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11678 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11679 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11680 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11682 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
11684 * gst/gstpad.c: (gst_pad_link):
11685 Must set peer pads before calling the link function, otherwise
11686 a task started from a link function might get a flow-not-linked
11687 result when trying to push because the other thread where the
11688 linking happens hasn't had a chance to set the peers yet. This
11689 might happen for example when a queue gets linked to a downstream
11690 element, as queue starts a streaming task when its source pad
11691 gets linked. Happens in real life when playing back flac/musepack
11692 files in playbin (#332390).
11694 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11698 * libs/gst/base/gstadapter.h:
11699 * libs/gst/base/gstbasesink.h:
11700 * libs/gst/base/gstbasesrc.h:
11701 * libs/gst/base/gstbasetransform.h:
11702 * libs/gst/base/gstcollectpads.h:
11703 * libs/gst/base/gstpushsrc.h:
11704 Fix broken GObject macros
11706 2006-04-07 Wim Taymans <wim@fluendo.com>
11708 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11709 Initialize start and stop times, thanks valgrind.
11711 2006-04-07 Wim Taymans <wim@fluendo.com>
11713 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11714 Be a bit nicer to badly behaving upstream elements that expect
11715 us to deal with non TIME segments and timestamps (such as fakesrc
11718 2006-04-07 Wim Taymans <wim@fluendo.com>
11721 Small documentation clarification about the signal watch.
11723 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11724 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11725 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11726 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11727 (gst_base_sink_get_position_last),
11728 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11729 Convert and store timestamps in stream time and running time, the
11730 raw timestamps are not useful, also document this better.
11731 Use different window sizes for good and bad QoS observations so
11732 we react to badness a little quicker.
11733 Keep track of the amount of rendered and dropped buffers.
11734 Send QoS timestamps in running time.
11736 * libs/gst/base/gstbasetransform.c:
11737 (gst_base_transform_sink_eventfunc),
11738 (gst_base_transform_handle_buffer):
11739 Compare QoS timestamps against running time.
11741 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11744 Typo fixes in docs.
11746 2006-04-06 Michael Smith <msmith@fluendo.com>
11748 * gst/gstpad.c: (gst_pad_set_property):
11749 Use g_value_get_object() instead of g_value_dup_gst_object(),
11750 to avoid double-reffing the pad template (which we then sink,
11751 so this worked previously if (and only if) the pad template
11754 * gst/gstpadtemplate.c: (gst_pad_template_init),
11755 (gst_pad_template_pad_created):
11756 Never return floating references to pad templates, create
11757 them as initially-sunken.
11759 Document an extra function (and make this stop sinking our
11760 pad template, since that is now guaranteed to do nothing,
11761 since we created it sunken).
11763 * gst/gstghostpad.c:
11766 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11768 * gst/gstinfo.c: (__gst_in_valgrind):
11771 * plugins/elements/gsttypefindelement.c:
11772 (gst_type_find_element_chain):
11773 Don't leak buffer caps.
11775 2006-04-06 Michael Smith <msmith@fluendo.com>
11777 * gst/parse/grammar.y:
11778 Fix a leak in parse-launch for any source-or-sink named element
11781 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11782 Unref the pipeline if it exists after we've failed parsing.
11784 2006-04-05 Michael Smith <msmith@fluendo.com>
11786 * gst/gstpipeline.c: (gst_pipeline_init):
11787 When we create a pipeline bus, initially create it in flushing mode.
11788 Fixes leaks in at least one test, and makes a new pipeline work the
11789 same as one that has gone to READY and then back to NULL.
11791 * gst/gstelement.c:
11794 2006-04-05 Michael Smith <msmith@fluendo.com>
11796 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11797 Unref a pad we reffed.
11798 * tests/check/gst/gstutils.c: (GST_START_TEST):
11801 2006-04-05 Michael Smith <msmith@fluendo.com>
11803 * gst/gstquery.c: (gst_query_set_formats),
11804 (gst_query_set_formatsv):
11805 Fix leaking GValues in queries, as shown by valgrind/testsuite.
11807 2006-04-05 Michael Smith <msmith@fluendo.com>
11809 * tests/check/generic/sinks.c: (GST_START_TEST):
11810 Fix a variety of memleaks in sinks check, which are only sometimes
11811 shown by running the tests under valgrind (weird?).
11813 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
11815 * docs/version.entities.in:
11816 Fix the substituted entity name after thomas' changes on the
11819 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11821 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11824 2006-04-05 Andy Wingo <wingo@pobox.com>
11826 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11828 * libs/gst/base/gstbasetransform.c
11829 (gst_base_transform_sink_eventfunc): When resetting our segment on
11830 FLUSH_STOP, also update the flag saying we haven't seen a
11833 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11835 Patch by: Paolo Borelli <pborelli at katamail dot com>
11837 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11838 (gst_plugin_check_license):
11839 minor clean-ups: G_DEFINE_TYPE already takes care of the
11840 parent_class stuff, no need to do it twice. Mark array of
11841 license strings as constant. (#337103)
11843 2006-04-04 Michael Smith <msmith@fluendo.com>
11845 * tools/gst-inspect.c: (print_element_list):
11846 Free the right plugin list; fixes a memory leak.
11848 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11850 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11852 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11853 Don't error out on empty buffers (#336945).
11855 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
11857 * docs/libs/gstreamer-libs-sections.txt:
11858 * gst/gsttaglist.c:
11859 * libs/gst/base/gstbasesink.c:
11860 * libs/gst/base/gstbasesink.h:
11861 * libs/gst/base/gstbasesrc.c:
11862 * libs/gst/base/gstbasesrc.h:
11863 Documentation updates. Make BaseSink and BaseSrc docs contain the
11864 class structure so that people can actually see the prototypes for
11865 virtual functions they're supposed to be overriding.
11867 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11869 * plugins/elements/gsttypefindelement.c:
11870 (gst_type_find_element_chain):
11871 More debug info; when skipping typefinding, send cached
11872 events in all cases.
11874 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
11877 use new AS_VERSION and AS_NANO macros
11878 * gst/gst-i18n-lib.h:
11881 * gst/gstversion.h.in:
11882 * win32/common/config.h:
11883 * win32/common/config.h.in:
11886 2006-03-31 Michael Smith <msmith@fluendo.com>
11888 * plugins/elements/gsttypefindelement.c:
11889 (gst_type_find_element_chain):
11890 Do not typefind content if the buffers already have caps.
11891 Neccesary for icydemux (#333657), and the right thing to do anyway.
11893 2006-03-30 Wim Taymans <wim@fluendo.com>
11895 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11896 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11897 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11898 (gst_base_sink_record_qos_observation),
11899 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11900 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11901 (gst_base_sink_change_state):
11902 More QoS measurements as described in the design doc.
11903 Get rid of ringbuffer with observations, running average is
11904 more simple and equally good.
11905 Calculates valid proportion now.
11906 Added beginning of flood measurement.
11908 2006-03-29 Wim Taymans <wim@fluendo.com>
11910 * docs/design/part-qos.txt:
11912 Small documentation updates and additions.
11914 2006-03-29 Wim Taymans <wim@fluendo.com>
11916 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11917 (gst_base_src_send_event), (gst_base_src_loop),
11918 (gst_base_src_change_state):
11919 Perform the EOS logic when we reach the segment stop position.
11920 Fix compilation on gcc4.1
11922 2006-03-29 Wim Taymans <wim@fluendo.com>
11924 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11926 * plugins/elements/gstqueue.c: (gst_queue_init),
11927 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11928 (gst_queue_set_property):
11929 * plugins/elements/gstqueue.h:
11930 In queue, when EOS is received, if minimum threshold > max_size -
11931 current_level, there is chance that queue blocks forever in conditional
11932 item del wait. This is because the queue is not emptied completely due
11933 to minimum threshold. Here is another approach. Instead of setting
11934 cur_levels to max in EOS, just zero all minimum threshold levels. This
11935 should make sure that queue gives out all data. When going to READY
11936 (stop) state, just reset the original minimum threshold levels.
11939 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
11941 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11942 (gst_type_find_element_handle_event),
11943 (gst_type_find_element_send_cached_events),
11944 (gst_type_find_element_change_state):
11945 * plugins/elements/gsttypefindelement.h:
11946 When typefinding is done in push mode, we should cache
11947 events we receive during typefinding instead of just
11948 dropping them (e.g. newsegment, custom events from
11949 dvdreadsrc etc.) and then send them out once we've
11950 determined the type of the stream (and decodebin
11951 has had a chance to plug in a decoder/demuxer).
11953 2006-03-27 Wim Taymans <wim@fluendo.com>
11955 * docs/design/part-qos.txt:
11958 2006-03-27 Wim Taymans <wim@fluendo.com>
11960 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11962 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11963 (gst_base_src_send_event), (gst_base_src_change_state):
11964 Handle element seek correctly when we are streaming.
11967 2006-03-24 Michael Smith <msmith@fluendo.com>
11969 * docs/faq/gst-uninstalled:
11970 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11971 allow you to correctly run intalled applications built against old
11972 core, using plugins that require updated core (e.g. running
11973 installed totem against a full uninstalled gstreamer stack)
11975 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11977 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11980 2006-03-24 Wim Taymans <wim@fluendo.com>
11982 * docs/gst/gstreamer-sections.txt:
11983 Rearrange the order of the methods so that related methods
11984 are grouped together in sections.
11986 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11988 * gst/gstelement.c:
11989 Little clarification in the docs
11991 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11995 * plugins/elements/gstidentity.c:
11996 * plugins/elements/gstqueue.c:
11997 * plugins/elements/gsttee.c:
11998 * plugins/elements/gsttypefindelement.c:
11999 GST_ELEMENT_DETAILS formatting
12001 2006-03-24 Wim Taymans <wim@fluendo.com>
12003 * libs/gst/base/gstbasesink.h:
12004 Only add fields, not insert or we break ABI.
12006 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12008 * win32/common/libgstbase.def:
12009 * win32/common/libgstreamer.def:
12010 Update, add recently added functions.
12012 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12014 * docs/gst/gstreamer-sections.txt:
12015 * gst/gstutils.c: (gst_pad_query_peer_position),
12016 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12018 API: add some new utility functions:
12019 - gst_pad_query_peer_position()
12020 - gst_pad_query_peer_duration()
12021 - gst_pad_query_peer_convert()
12023 2006-03-23 Wim Taymans <wim@fluendo.com>
12025 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12026 (gst_base_sink_init), (gst_base_sink_finalize),
12027 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12028 (gst_base_sink_set_property), (gst_base_sink_get_property),
12029 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12030 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12031 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12032 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12033 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12034 (gst_base_sink_preroll_object), (gst_base_sink_event),
12035 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12036 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12037 (gst_base_sink_query), (gst_base_sink_change_state):
12038 Decouple max-lateness and the fact that QoS messages are generated
12039 with a new property (qos).
12040 added API: GstBaseSink::async_play()
12041 Add vmethod so subclasses can be notified of ASYNC playing
12043 Collect timestamp start and stop to report better current
12044 position in EOS/PLAYING/PAUSED/READY/NULL.
12045 Refactor QoS/frame dropping and other measurements.
12046 API: GstBaseSrc::qos
12049 * libs/gst/base/gstbasesink.h:
12050 Added Private struct.
12051 API: gst_base_sink_set_qos_enabled()
12052 API: gst_base_sink_is_qos_enabled()
12054 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12056 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12057 If compiling against GLib-2.8 or newer, try to read the
12058 registry file using GMappedFile first before falling back
12059 to fopen() + fread() (#332151).
12061 2006-03-22 Wim Taymans <wim@fluendo.com>
12063 * gst/gstinfo.c: (gst_debug_set_active),
12064 (gst_debug_category_set_threshold):
12065 Disable debugging unless explicitly activated.
12068 2006-03-22 Wim Taymans <wim@fluendo.com>
12070 * gst/gstelement.c: (gst_element_set_locked_state),
12071 (gst_element_dispose):
12072 Cleanup the error case.
12074 * gst/gstobject.c: (gst_object_dispose):
12075 print a critical when some object was disposed with
12076 a parent, also revive the object since it might
12079 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12081 * tools/gst-launch.1.in:
12084 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12087 * tests/check/Makefile.am:
12088 disable some tests when we don't have a registry
12089 * tests/check/gst/gstutils.c: (gst_utils_suite):
12090 don't build the part that needs parsing
12092 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12095 * tests/examples/Makefile.am:
12096 fix --disable-parse build
12098 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12100 * tools/gst-feedback.1.in:
12101 Fix typo: s/feeback/feedback/ (#133494).
12103 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12105 * tools/Makefile.am:
12106 * tools/gst-launch.1.in:
12107 Add FILES section and correct entry about GST_REGISTRY_PATH
12108 environment variable (#133495; #133494).
12110 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12112 * tools/Makefile.am:
12113 * tools/gst-md5sum.1.in:
12114 * tools/gst-md5sum.c:
12115 Remove gst-md5sum and man page (the md5sink element
12116 required was removed ages ago)
12118 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12120 * gst/gststructure.c: (gst_structure_id_set_value):
12121 Make sure that string fields in structures/taglists
12122 contain valid UTF-8 - we don't want to pass rubbish to
12123 applications because of a buggy plugin (cp. #334167).
12125 2006-03-21 Edward Hervey <edward@fluendo.com>
12127 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12128 (gst_bin_handle_message_func):
12129 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12130 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12131 (gst_element_set_bus_func):
12132 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12133 * gst/gstminiobject.c: (gst_value_set_mini_object),
12134 (gst_value_take_mini_object):
12135 * gst/gstpad.c: (gst_pad_set_pad_template):
12136 * gst/gstpipeline.c: (gst_pipeline_dispose),
12137 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12139 (gst_collect_pads_chain):
12140 * libs/gst/net/gstnettimeprovider.c:
12141 (gst_net_time_provider_set_property):
12142 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12143 It's in fact all issues with gst_*object_replace().
12145 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12147 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12149 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12150 * pkgconfig/gstreamer-check.pc.in:
12151 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12153 2006-03-21 Edward Hervey <edward@fluendo.com>
12157 * gst/gstmessage.h:
12158 gst_[buffer|event|message]_ref() macros are replaced by a static
12159 inline functions because gcc-4.1 will about if the return value
12161 * tests/check/gst/gstevent.c: (event_probe):
12162 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12164 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12167 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12168 the type' case. (Closes: #335195 for now). In the future, when we
12169 depend on GLib 2.10, we could also intern the type name using
12170 g_intern_static_string()
12172 2006-03-20 Wim Taymans <wim@fluendo.com>
12174 * gst/gstbin.c: (gst_bin_handle_message_func),
12175 (bin_query_max_init), (bin_query_position_fold),
12176 (bin_query_position_done), (gst_bin_query):
12177 Position query should also take max of all streams.
12179 2006-03-20 Wim Taymans <wim@fluendo.com>
12181 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12182 (gst_fake_src_finalize):
12183 Fix leaks in fakesrc.
12185 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12186 Fix leaks in the testcase.
12188 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12190 * gst/gst_private.h:
12191 add win32 specific import decoration(__declspec(dllimport))
12192 for all extern GstDebugCategory * variables
12193 * win32/common/libgstbase.def:
12194 * win32/common/libgstcontroller.def:
12195 * win32/common/libgstreamer.def:
12196 Add some exports, remove empty lines
12197 * win32/common/libgstdataprotocol.def:
12198 * win32/common/libgstdataprotocol.dsp:
12199 * win32/common/libgstnet.def:
12200 * win32/common/libgstnet.dsp:
12201 new project files and exportation files added
12203 2006-03-19 Wim Taymans <wim@fluendo.com>
12205 * tests/check/libs/basesrc.c: (eos_event_counter):
12206 Use proper return value for probe.
12208 2006-03-17 Wim Taymans <wim@fluendo.com>
12210 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12212 Don't leak buffers, caps and pads on negotiation errors.
12214 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12216 * docs/faq/cvs.xml:
12217 * docs/faq/dependencies.xml:
12218 * docs/faq/developing.xml:
12219 * docs/faq/faq.xml:
12220 * docs/faq/general.xml:
12221 * docs/faq/getting.xml:
12222 * docs/faq/legal.xml:
12223 * docs/faq/troubleshooting.xml:
12224 * docs/faq/using.xml:
12225 Faq review and update.
12227 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12229 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12231 Don't pound the cpu to pieces by checking get_caps when accept_caps
12232 is called with the same caps as the pad already has.
12233 Use GST_DEBUG_OBJECT when outputting caps change information.
12235 2006-03-15 Wim Taymans <wim@fluendo.com>
12237 * gst/gstclock.c: (gst_clock_class_init):
12240 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12245 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12246 (gst_pad_accept_caps), (gst_pad_configure_sink),
12247 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12248 Make the default acceptcaps behaviour be to check the requested
12249 caps against the gst_pad_get_caps output.
12251 Ensure that gst_pad_accept_caps is used to check caps when a pad
12252 doesn't have a setcaps function, so that pads automatically refuse
12253 caps that they don't allow in their pad template. (Fixes #332986)
12255 When a buffer with attached caps is pushed, ensure that the source
12256 pad receives those caps even if the element didn't call
12257 gst_pad_set_caps first.
12259 2006-03-15 Wim Taymans <wim@fluendo.com>
12261 * libs/gst/base/gstadapter.c:
12264 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12266 * win32/common/libgstbase.def:
12267 * win32/common/libgstcontroller.def:
12268 * win32/common/libgstreamer.def:
12269 Add a whole bunch of missing functions (#334434).
12271 2006-03-14 Wim Taymans <wim@fluendo.com>
12273 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12274 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12275 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12276 Better debug info when we receive a segment event.
12277 Reorganize a bit so we can pass the get_times() results around.
12278 Use the segment format when calculating the running time.
12279 Don't do QoS is sync is disabled or we have no clock or the
12280 element does not want us to sync to the clock.
12281 Don't drop buffers if QoS is disabled for now.
12283 2006-03-14 Wim Taymans <wim@fluendo.com>
12285 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12286 Marked the stats property as unimplemented so people don't get
12288 Add debug message when regression goes wrong.
12289 Added some more docs.
12291 2006-03-14 Wim Taymans <wim@fluendo.com>
12293 * gst/gstsegment.c: (gst_segment_to_stream_time):
12294 Return correct return type in case of errors.
12296 2006-03-14 Wim Taymans <wim@fluendo.com>
12298 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12299 Don't segfault on invalid formats.
12301 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12303 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12304 Can't use gst_segment_to_running_time() when the segment
12305 is not in GST_TIME_FORMAT (like with filesink, for example).
12306 Stops flac encoding pipelines from spewing critical warnings
12309 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12311 * gst/gstpipeline.c: (gst_pipeline_class_init):
12312 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12314 * plugins/elements/gsttypefindelement.c:
12315 (gst_type_find_element_handle_event):
12316 Don't try to typefind empty streams.
12318 2006-03-14 Wim Taymans <wim@fluendo.com>
12320 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12321 (gst_base_sink_do_qos):
12322 Separate QoS calculation.
12323 Only drop buffers when lateness is bigger than the
12324 duration of the buffer.
12326 2006-03-13 Wim Taymans <wim@fluendo.com>
12328 * gst/gstpipeline.c: (gst_pipeline_set_property),
12329 (gst_pipeline_get_property), (do_pipeline_seek),
12330 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12331 (gst_pipeline_get_delay):
12332 Don't deadlock when reading properties.
12334 2006-03-13 Wim Taymans <wim@fluendo.com>
12336 * libs/gst/base/gstbasetransform.c:
12337 (gst_base_transform_class_init), (gst_base_transform_init),
12338 (gst_base_transform_sink_event),
12339 (gst_base_transform_sink_eventfunc),
12340 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12341 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12342 (gst_base_transform_set_property),
12343 (gst_base_transform_get_property),
12344 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12345 (gst_base_transform_set_qos_enabled),
12346 (gst_base_transform_is_qos_enabled):
12347 * libs/gst/base/gstbasetransform.h:
12348 Make basetransform virtual method for src events too.
12349 Handle QOS in basetransform.
12350 API: gst_base_transform_update_qos()
12351 API: gst_base_transform_set_qos_enabled()
12352 API: gst_base_transform_is_qos_enabled()
12354 2006-03-13 Wim Taymans <wim@fluendo.com>
12356 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12357 (gst_base_sink_do_sync):
12359 Use QOS debug category.
12361 2006-03-13 Wim Taymans <wim@fluendo.com>
12363 * plugins/elements/gstqueue.c:
12364 Very small doc update.
12366 2006-03-13 Wim Taymans <wim@fluendo.com>
12368 * gst/gst_private.h:
12369 * gst/gstinfo.c: (_gst_debug_init):
12370 Added QOS debug category
12372 2006-03-13 Wim Taymans <wim@fluendo.com>
12374 * docs/gst/gstreamer-sections.txt:
12375 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12377 * gst/gstbus.c: (gst_bus_class_init):
12380 * gst/gstelement.c: (gst_element_set_locked_state):
12381 * gst/gstsegment.c:
12382 Documentation updates.
12384 * gst/gstpipeline.c: (gst_pipeline_get_type),
12385 (gst_pipeline_class_init), (gst_pipeline_init),
12386 (gst_pipeline_dispose), (gst_pipeline_set_property),
12387 (gst_pipeline_get_property), (do_pipeline_seek),
12388 (gst_pipeline_send_event), (gst_pipeline_change_state),
12389 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12390 (gst_pipeline_get_delay):
12391 * gst/gstpipeline.h:
12392 Added methods for setting the delay.
12393 API: gst_pipeline_set_delay()
12394 API: gst_pipeline_get_delay()
12395 Add pipeline debug category
12398 Don't reset stream time when seek failed.
12400 2006-03-13 Wim Taymans <wim@fluendo.com>
12402 * docs/design/draft-klass.txt:
12403 * docs/design/part-clocks.txt:
12404 * docs/design/part-events.txt:
12405 * docs/design/part-gstbin.txt:
12406 * docs/design/part-gstpipeline.txt:
12407 * docs/design/part-messages.txt:
12408 * docs/design/part-negotiation.txt:
12409 * docs/design/part-overview.txt:
12410 * docs/design/part-preroll.txt:
12411 * docs/design/part-seeking.txt:
12412 * docs/design/part-states.txt:
12413 * docs/design/part-streams.txt:
12414 Documentation updates.
12416 2006-03-12 Julien MOUTTE <julien@moutte.net>
12418 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12419 us to leak strings...
12421 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
12423 * libs/gst/net/gstnettimeprovider.c:
12425 * win32/common/config.h:
12428 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
12430 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12433 Don't check for libgnomeui (leftover from old examples
12434 that aren't built or disted any longer) (#334303).
12436 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
12438 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12439 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12440 Emit RESOURCE_NO_SPACE_LEFT error here as well when
12441 there's no space left on the device.
12443 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
12446 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12447 to cast the input to GstClockTime before comparing with
12448 another GstClockTime value.
12450 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12455 === release 0.10.4 ===
12457 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12460 releasing 0.10.4, "Light"
12462 2006-03-10 Michael Smith <msmith@fluendo.com>
12464 * libs/gst/dataprotocol/dataprotocol.c:
12465 Fix docs for dataprocotol to not get the return types completely
12466 wrong for a few functions.
12468 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12470 * docs/gst/gstreamer-sections.txt:
12471 * gst/gstpipeline.c: (gst_pipeline_class_init),
12472 (gst_pipeline_init), (gst_pipeline_set_property),
12473 (gst_pipeline_get_property), (gst_pipeline_change_state),
12474 (gst_pipeline_set_auto_flush_bus),
12475 (gst_pipeline_get_auto_flush_bus):
12476 * gst/gstpipeline.h:
12477 Add new API: gst_pipeline_set_auto_flush_bus() and
12478 gst_pipeline_get_auto_flush_bus() to disable automatic
12479 flushing of the pipeline's GstBus when going from READY
12480 to NULL state (#332045).
12482 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12484 * docs/gst/gstreamer-sections.txt:
12485 * gst/gsturi.c: (gst_uri_has_protocol):
12487 Add new API: gst_uri_has_protocol() (#333779).
12489 2006-03-09 Wim Taymans <wim@fluendo.com>
12491 * gst/gstclock.c: (gst_clock_entry_new),
12492 (gst_clock_id_compare_func), (gst_clock_id_wait),
12493 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12494 (gst_clock_init), (gst_clock_get_internal_time),
12495 (gst_clock_set_master), (do_linear_regression),
12496 (gst_clock_add_observation), (gst_clock_set_property):
12500 Fix a possible segfault when the window-size is made smaller.
12501 Calculate jitter before performing the clock wait. Ideally
12502 the clock implementation should calculate jitter but we need
12503 API breakage for that.
12505 * gst/gstsystemclock.c: (gst_system_clock_init):
12508 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12509 Remove leftover else
12511 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12512 (gst_systemclock_suite):
12513 Added check to test GST_CLOCK_DIFF.
12515 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12517 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12518 (gst_type_find_helper_get_range):
12519 If we are provided with the size, we should implement
12520 GstTypeFind::get_length, so that typefind functions who
12521 want to can actually peek at the middle of a file.
12523 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
12525 * docs/manual/advanced-dataaccess.xml:
12526 Add some very very basic error checking.
12528 * docs/pwg/appendix-checklist.xml:
12529 Some updates to the list of things to check when writing an element.
12531 2006-03-08 Wim Taymans <wim@fluendo.com>
12533 * docs/design/part-element-transform.txt:
12534 Added some docs about the design of tranform elements.
12536 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12537 (gst_base_src_loop), (gst_base_src_change_state):
12538 Mark buffers with the DISCONT flag.
12540 2006-03-08 Michael Smith <msmith@fluendo.com>
12542 * gst/gstregistry.h:
12543 * gst/gstregistryxml.c: (gst_registry_save),
12544 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12545 (gst_registry_xml_save_pad_template),
12546 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12547 (gst_registry_xml_write_cache):
12548 Rewrite registry-saving to avoid race conditions and check for
12551 2006-03-08 Wim Taymans <wim@fluendo.com>
12553 * libs/gst/base/gstbasetransform.c:
12554 (gst_base_transform_transform_caps),
12555 (gst_base_transform_transform_size),
12556 (gst_base_transform_prepare_output_buffer),
12557 (gst_base_transform_get_unit_size),
12558 (gst_base_transform_buffer_alloc),
12559 (gst_base_transform_handle_buffer),
12560 (gst_base_transform_change_state):
12561 Cleanups, separate normal flow from errors, add sensible
12563 Don't try to renegotiate when allocating an output buffer.
12564 Also copy DISCONT buffer flag when copying a buffer.
12565 Reset the transform after we finish streaming, not during.
12567 2006-03-08 Wim Taymans <wim@fluendo.com>
12569 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12570 Use last buffer timestamp in qos message.
12572 2006-03-07 Wim Taymans <wim@fluendo.com>
12574 Patch by: Christophe Fergeau
12576 * docs/pwg/advanced-tagging.xml:
12577 * docs/pwg/building-pads.xml:
12580 2006-03-07 Wim Taymans <wim@fluendo.com>
12582 * docs/libs/gstreamer-libs-sections.txt:
12583 Added basesink new methods.
12587 Docs updates. Flesh out the QoS docs.
12589 * libs/gst/base/gstadapter.c:
12590 Small doc clarification about ownership and flushing.
12592 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12593 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12594 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12595 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12596 * libs/gst/base/gstbasesink.h:
12598 Added new methods to allow subclass to control max-lateness
12600 Generate very basic QoS events based on last sync observation.
12601 Updated docs, fix typo, added some QoS blurb.
12603 * libs/gst/base/gstbasesrc.c:
12604 Remove obsolete _get_state() calls from docs.
12606 2006-03-07 Wim Taymans <wim@fluendo.com>
12608 * docs/libs/gstreamer-libs-sections.txt:
12609 * libs/gst/base/gstbasetransform.h:
12610 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12611 Fix docs for GstBaseSrc.
12613 2006-03-07 Wim Taymans <wim@fluendo.com>
12615 * docs/gst/gstreamer-sections.txt:
12618 * libs/gst/base/gstbasetransform.h:
12619 Small documentation fixes.
12621 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12624 Document thread-unsafety of gst_value_register_foo_func()
12625 when used at the same time as gst_value_foo() (#322628).
12627 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12629 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12630 (gst_push_src_check_get_range):
12631 Push sources don't support pull mode by default.
12633 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12635 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12636 (gst_base_src_init), (gst_base_src_pad_check_get_range),
12637 (gst_base_src_default_check_get_range):
12638 * libs/gst/base/gstbasesrc.h:
12639 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12640 provide default implementation, and rename
12641 gst_base_src_check_get_range() to
12642 gst_base_src_pad_check_get_range() for clarity.
12644 2006-03-06 Wim Taymans <wim@fluendo.com>
12646 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12647 Make property overridable.
12649 2006-03-06 Wim Taymans <wim@fluendo.com>
12651 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12652 (gst_base_sink_init), (gst_base_sink_set_property),
12653 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12654 * libs/gst/base/gstbasesink.h:
12655 API addition: Make max-lateness a property.
12657 2006-03-06 Wim Taymans <wim@fluendo.com>
12659 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12660 (gst_base_sink_do_sync), (gst_base_sink_render_object):
12661 Don't ever draw a frame that is >10ms late.
12663 2006-03-06 Michael Smith <msmith@fluendo.com>
12665 * gst/gstmessage.c: (_gst_message_copy):
12666 When copying a message, set the parent_refcount of the enclosed
12667 structure to point at the copy, not the original message.
12669 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12671 Patch by: Christophe Fergeau
12674 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12675 usable in c++ code (#333417)
12677 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
12680 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12682 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
12684 * libs/gst/base/gstbasetransform.c:
12685 (gst_base_transform_transform_caps):
12686 Make sure caps are writable before passing them to
12689 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12692 Fix some minor docs errors.
12694 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12696 Patch by: Ross Burton <ross at burtonini dot com>
12698 * gst/gsterror.c: (_gst_resource_errors_init):
12700 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12702 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12705 Add a check and output a g_warning when GStreamer is built
12706 against GLib 2.6 but running against 2.8 or higher, and vice
12707 versa. (Closes: #323542)
12709 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12711 * gst/parse/parse.l:
12712 Commit patch for parse_launch syntax from #331255. Removes
12713 support for quoted strings and mimetypes when writing filtered
12714 caps. See the bug report for more details - I'm pretty sure this
12715 obscure feature is not in use by _anyone_ anywhere.
12717 With this simple change, the size of the gstreamer.so here
12718 drops from 2193KB to 1565KB.
12720 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12722 * plugins/elements/gsttypefindelement.h:
12723 * plugins/elements/gsttypefindelement.c:
12724 (gst_type_find_element_src_event), (start_typefinding),
12725 (stop_typefinding), (gst_type_find_element_handle_event),
12726 (gst_type_find_element_chain),
12727 (gst_type_find_element_chain_do_typefinding):
12728 Use gst_type_find_helper_for_buffer() for chain-based
12731 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12733 * plugins/elements/gsttypefindelement.c:
12734 (gst_type_find_element_class_init),
12735 (gst_type_find_element_set_property),
12736 (gst_type_find_element_get_property):
12737 Deprecate "maximum" property (not only was it only taken into
12738 account for typefinding in push-mode anyway, it also was never
12739 actually possible to set it in the first place because the
12740 property was registered with the numeric property ID for the
12741 "minimum" property). Register "maximum" property correctly,
12742 for the sake of future copy'n'pasters. Remove some cruft
12743 from property get/set functions.
12745 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12747 * plugins/elements/gsttypefindelement.c:
12748 (gst_type_find_element_activate):
12749 Use gst_type_find_helper_get_range() here, so we
12750 can honour the "minimum" property and also emit
12751 the signal with the correct probability of the found caps.
12753 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
12755 * docs/libs/gstreamer-libs-sections.txt:
12756 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12757 (helper_find_suggest), (gst_type_find_helper_get_range),
12758 (gst_type_find_helper):
12759 * libs/gst/base/gsttypefindhelper.h:
12760 New API: gst_type_find_helper_get_range() (#333042).
12762 2006-03-02 Michael Smith <msmith@fluendo.com>
12764 * gst/gstregistryxml.c: (load_feature):
12765 Asserting on a failure to read part of the registry is Not Cool.
12766 Just log a warning and return NULL (which is already handled)
12768 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
12770 * win32/common/libgstbase.def:
12771 added export of gst_type_find_helper_for_buffer
12772 * win32/common/libgstbase.def:
12773 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12774 gst_ghost_pad_get_target
12776 2006-02-28 Wim Taymans <wim@fluendo.com>
12778 * docs/design/draft-klass.txt:
12780 Added Connector to mark elements that are only used to
12781 allow pipeline connections.
12782 Moved Debug to extra feature since most of them are
12783 functionally something else.
12785 2006-02-28 Wim Taymans <wim@fluendo.com>
12787 * docs/design/draft-klass.txt:
12788 Some updates and clarifications.
12790 2006-02-28 Wim Taymans <wim@fluendo.com>
12792 * docs/design/draft-klass.txt:
12793 Proposal for klass field values.
12795 * docs/design/part-streams.txt:
12796 Start of a doc describing stream anatomy.
12798 2006-02-28 Wim Taymans <wim@fluendo.com>
12800 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12801 Help the compiler a bit with type registration.
12802 Use existing forward cod path instead of duplicating it when
12803 handling a message.
12805 * gst/gstbus.c: (gst_bus_get_type):
12806 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12807 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12808 * gst/gstclock.c: (gst_clock_get_type):
12809 * gst/gstelement.c: (gst_element_get_type),
12810 * gst/gstelementfactory.c: (gst_element_factory_get_type):
12811 * gst/gstindexfactory.c: (gst_index_factory_get_type):
12812 * gst/gstminiobject.c: (gst_mini_object_get_type):
12813 * gst/gstpad.c: (gst_pad_get_type):
12814 * gst/gstsegment.c: (gst_segment_get_type):
12815 * gst/gststructure.c: (gst_structure_get_type):
12816 * gst/gstsystemclock.c: (gst_system_clock_get_type):
12817 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12819 Help compiler with type registration.
12821 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12824 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12826 * plugins/elements/gsttypefindelement.c:
12827 (gst_type_find_element_handle_event):
12828 When we get an EOS event and have not found a type yet
12829 (most likely because we had not yet accumulated
12830 TYPE_FIND_MIN_SIZE of data yet), try to determine the
12831 type given the data we have so far. Fixes typefinding
12832 for very short streams again, most notably quicktime
12833 redirections as used on Apple's trailer site (#331701).
12835 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12837 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12838 (gst_type_find_helper):
12839 Try typefinding factories with the highest rank first.
12841 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12843 * docs/libs/gstreamer-libs-docs.sgml:
12844 * docs/libs/gstreamer-libs-sections.txt:
12845 * libs/gst/base/gsttypefindhelper.c:
12846 Add section for typefind helper and add documentation
12847 for the old and the new function.
12849 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12851 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12852 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12853 (gst_type_find_helper_for_buffer):
12854 * libs/gst/base/gsttypefindhelper.h:
12855 New API: gst_type_find_helper_for_buffer() (#332723).
12857 2006-02-27 Michael Smith <msmith@fluendo.com>
12859 Patch by: Loïc Minier
12862 * docs/Makefile.am:
12863 * docs/slides/Makefile.am:
12864 prevent CVS directories getting disted.
12866 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12868 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12869 Use the REFCOUNTING category for caps refcounting.
12871 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12873 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12874 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12876 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12878 * plugins/elements/gsttypefindelement.c:
12879 (gst_type_find_element_activate):
12880 Use gst_pad_check_pull_range() before _activate_pull()
12881 to avoid unnecessary open/close (see #331690).
12883 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12886 Docs enhancement: make it crystal clear what the
12887 gst_pad_add_*_probe() callbacks should look like.
12889 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12891 * libs/gst/base/gstbasesrc.c:
12892 Document how applications can stop recording from
12893 live sources (see #330996).
12895 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12897 * tests/check/Makefile.am:
12898 * tests/check/libs/basesrc.c: (eos_event_counter),
12899 (basesrc_eos_events_pull), (basesrc_eos_events_push),
12900 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12901 (gst_basesrc_suite), (main):
12902 ... and add some tests for the base source EOS stuff.
12904 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12906 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12907 Test case originally showed the problem fixed below,
12908 but was then amended. Add checks back at the place
12909 where they used to be.
12911 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12913 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12914 (gst_base_src_init), (gst_base_src_loop),
12915 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12916 (gst_base_src_change_state):
12917 * libs/gst/base/gstbasesrc.h:
12918 Don't unconditionally send EOS when going from PAUSED to
12919 READY state, esp. make sure we don't send two EOS events
12920 in some cases (e.g. one when reaching EOS and one when
12921 going from PAUSED to READY). Also, we don't want to send
12922 EOS events when operating in pull mode. However, we do
12923 want to send an EOS event when shutting down a live
12924 source explicitly, for example (fixes #330996).
12926 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12928 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12929 Update src->read_position after a seek when not using mmap.
12930 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12932 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
12938 Make things work with --disable-parse as they do with
12939 --disable-load-save - the symbols involved disappear, but the
12940 header is still installed and GST_DISABLE_PARSE is included via
12943 2006-02-20 Julien MOUTTE <julien@moutte.net>
12945 * libs/gst/base/gstbasetransform.c:
12946 (gst_base_transform_change_state): Fix a stupid bug. I was
12947 sure I compiled that.
12949 2006-02-20 Julien MOUTTE <julien@moutte.net>
12951 * gst/gstpad.c: (gst_pad_set_blocked_async):
12952 * gst/gstutils.c: (gst_pad_add_data_probe),
12953 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12954 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12955 (gst_pad_remove_buffer_probe): Make those function act on the
12956 ghostpad target when it's a ghostpad. (Closes #331727)
12958 2006-02-20 Julien MOUTTE <julien@moutte.net>
12960 * libs/gst/base/gstbasetransform.c:
12961 (gst_base_transform_change_state): Make basetransform reusable.
12964 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
12966 * docs/random/release:
12967 Move the current documentation of how to do a release to the top
12970 * gst/gstbin.c: (gst_bin_class_init),
12971 (gst_bin_handle_message_func):
12972 Allow multiple state-recalculation threads. (Closes #328873)
12974 2006-02-19 Julien MOUTTE <julien@moutte.net>
12976 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12977 * gst/gstpad.c: (gst_pad_set_event_function),
12978 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12979 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12980 2 strings. You can't use the STR_NULL macro on that.
12982 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
12984 * gst/gstpad.c: (gst_pad_set_event_function),
12985 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12986 (gst_pad_set_getcaps_function)
12987 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12988 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12989 So now, we can use --gst-debug-level=5 on Windows
12990 * win32/common/libgstcontroller.def:
12991 Added export of gst_controller_init
12992 * win32/vs6/libgstcontroller.dsp:
12993 Fixed Release post build configuration
12995 2006-02-17 Wim Taymans <wim@fluendo.com>
12997 * tests/check/gst/gstquery.c: (GST_START_TEST):
12998 Added another check.
13000 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
13002 * plugins/elements/gsttypefindelement.c: (find_peek):
13003 We can do peeks at non-zero offsets, as long as they
13004 fall within the buffer we have.
13006 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
13008 * tests/check/Makefile.am:
13009 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13010 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13011 (parse_suite), (main):
13012 Add testsuite for parse launch syntax
13014 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
13016 * plugins/elements/gsttypefindelement.c:
13017 (gst_type_find_element_chain):
13018 When typefinding is unsuccessful in the chain function, don't
13019 error out immediately. Only error out with NO_CAPS_FOUND if
13020 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13021 otherwise simply wait for more data so we can try typefinding
13022 again with more data later. Also, don't attempt to typefind
13023 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13024 this should improve typefinding from network sources where the
13025 size of the first buffer can be somewhat random.
13027 2006-02-14 Wim Taymans <wim@fluendo.com>
13029 * docs/gst/gstreamer-sections.txt:
13030 * gst/gstpadtemplate.c:
13031 * gst/gstpadtemplate.h:
13032 Fix padtemplate docs, fixes #328805.
13034 2006-02-14 Wim Taymans <wim@fluendo.com>
13036 * tools/gst-launch.c: (main):
13037 NO_PREROLL is not an ERROR so don't send confusing messages
13040 2006-02-14 Wim Taymans <wim@fluendo.com>
13042 Patch by: Torsten Schoenfeld
13044 * gst/gstregistry.c: (gst_registry_get_default),
13045 (_gst_registry_cleanup):
13046 Protect default registry with lock and ref/sink it.
13049 2006-02-14 Wim Taymans <wim@fluendo.com>
13052 * gst/gstquery.c: (gst_query_list_add_format),
13053 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13054 (gst_query_parse_formats_nth):
13055 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13058 2006-02-14 Wim Taymans <wim@fluendo.com>
13060 * docs/gst/gstreamer-sections.txt:
13061 Reworked query docs.
13063 * gst/gstquery.c: (gst_query_new_formats),
13064 (gst_query_list_add_format), (gst_query_set_formats),
13065 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13066 (gst_query_parse_formats_nth):
13068 Flesh out formats query, added some new methods.
13069 Fix part of #324398.
13071 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13072 Added query creation tests.
13074 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13076 * gst/gstpad.c: (fixate_value):
13077 Add a default fixation for fraction lists.
13079 2006-02-13 Wim Taymans <wim@fluendo.com>
13081 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13082 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13085 Detect and warn for obvious deadlocks. fixes #320340
13086 Fix error case where lock was not released.
13088 * tests/check/Makefile.am:
13089 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13090 (task_func), (gst_element_suite), (main):
13093 2006-02-13 Wim Taymans <wim@fluendo.com>
13095 * docs/gst/gstreamer-sections.txt:
13097 Add new functions to docs.
13099 2006-02-13 Wim Taymans <wim@fluendo.com>
13101 * docs/design/part-TODO.txt:
13102 Updated TODO list, basesrc supports seeking to non-bytes
13105 * docs/design/part-element-sink.txt:
13108 * gst/gstbin.c: (bin_replace_message),
13109 (gst_bin_handle_message_func):
13110 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13111 * gst/gstevent.c: (gst_event_finalize):
13112 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13113 (gst_pad_send_event):
13114 Use shiny new _TYPE_NAME macros.
13116 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13117 Move debug statement up.
13119 * gst/gstelement.c: (gst_element_set_locked_state):
13120 Add some debugging.
13122 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13124 * docs/gst/gstreamer-sections.txt:
13125 * gst/gstmessage.h:
13127 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13128 macros (#330906). Also, document the already existing
13129 GST_QUERY_TYPE macro.
13131 2006-02-13 Wim Taymans <wim@fluendo.com>
13133 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13134 (event_probe), (GST_START_TEST):
13135 Only events up to the pipeline EOS are counted, there are
13136 some more when going to NULL currently which we don't care
13139 2006-02-13 Wim Taymans <wim@fluendo.com>
13141 * gst/gstpad.c: (gst_pad_send_event):
13142 Correctly check flushing and emit probes. fixes #330125
13144 2006-02-10 Andy Wingo <wingo@pobox.com>
13146 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13148 (gst_bus_init): Cache the location of the private data in the
13149 instance structure.
13150 (gst_bus_enable_sync_message_emission)
13151 (gst_bus_disable_sync_message_emission): Implement new public
13153 (gst_bus_post): Emit the sync-message signal if the user asked for
13156 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13157 location of the bus-private structure.
13158 (gst_bus_enable_sync_message_emission)
13159 (gst_bus_disable_sync_message_emission): API addition
13161 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13163 Patch by: Vincent Torri
13165 * docs/pwg/building-boiler.xml:
13166 PWG patch from #326800
13168 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13171 * docs/Makefile.am:
13172 * docs/design/Makefile.am:
13175 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13180 === release 0.10.3 ===
13182 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13185 releasing 0.10.3, "Like a virgin"
13187 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13190 2nd prerelease of 0.10.3
13191 Bump libtool versioning.
13193 2006-02-07 Andy Wingo <wingo@pobox.com>
13195 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13196 update last_stop if we're in TIME format and the timestamp is
13199 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13200 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13201 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13202 If we get a new newsegment with a different format, adapt
13205 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13206 of 0. Not a problem, really.
13208 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13211 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13216 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13219 project files updated to the default vs7 configuration
13220 * win32/common/libgstbase.def:
13221 * win32/common/libgstreamer.def:
13223 removed empty lines,
13224 sorted all exported symbols alphabetically
13225 * win32/common/dirent.c:
13226 * win32/common/dirent.h:
13227 * win32/common/gchar.h:
13228 use windows line end.
13230 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13232 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13233 Send EOS event when stopping.
13235 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13238 Tell folks what to do if the plugin-foobar.xml file
13239 hasn't been generated for a newly-added plugin.
13241 2006-02-05 Julien MOUTTE <julien@moutte.net>
13243 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13244 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13245 (gst_collect_pads_start), (gst_collect_pads_stop),
13246 (gst_collect_pads_event): Collectpads now holds a reference
13247 to the GstPad that was added. Indeed we don't want to look
13248 at pads that might just go away with no warning...
13250 2006-02-05 Julien MOUTTE <julien@moutte.net>
13252 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13253 (gst_collect_pads_start), (gst_collect_pads_stop),
13254 (gst_collect_pads_event), (gst_collect_pads_chain):
13255 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13256 Mark Nauwelaerts's patch on bug #328491.
13258 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13260 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13262 Add some simple tests for gst_parse_bin_from_description() and
13263 gst_bin_find_unconnected_pad() (#329069).
13265 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13267 * tools/gst-launch.c: (event_loop), (main):
13268 Catch errors during preroll (#320084).
13270 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13272 * plugins/elements/gsttypefindelement.c:
13273 (gst_type_find_element_activate):
13274 Post TYPE_NOT_FOUND error message when typefinding
13275 is unsuccessful in the activate function as well.
13277 2006-02-02 Wim Taymans <wim@fluendo.com>
13279 * docs/design/part-element-sink.txt:
13282 2006-02-02 Wim Taymans <wim@fluendo.com>
13284 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13285 (gst_base_sink_render_object),
13286 (gst_base_sink_queue_object_unlocked):
13287 Only keep track of prerollable items when we are
13289 Before rendering after preroll, always check if we
13291 Added some more debugging.
13293 2006-02-02 Wim Taymans <wim@fluendo.com>
13295 * gst/gstelement.c: (gst_element_continue_state),
13296 (gst_element_set_state_func), (gst_element_change_state):
13297 Fixed #326576, been running this for quite some time with
13298 no regressions at all.
13300 2006-02-02 Wim Taymans <wim@fluendo.com>
13303 Added more suppressions
13305 2006-02-02 Wim Taymans <wim@fluendo.com>
13307 * docs/design/part-element-sink.txt:
13310 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13311 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13312 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13313 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13314 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13315 (gst_base_sink_preroll_object),
13316 (gst_base_sink_queue_object_unlocked),
13317 (gst_base_sink_queue_object), (gst_base_sink_event),
13318 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13319 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13320 (gst_base_sink_get_position), (gst_base_sink_change_state):
13321 * libs/gst/base/gstbasesink.h:
13322 Totally refactored matching the design doc.
13323 Use two segments, one to clip incomming buffers and another to
13325 Handle queueing correctly, bypass the queue when playing.
13326 Make EOS cancelable.
13327 Handle errors correctly when operating in pull based mode.
13329 * tests/check/elements/fakesink.c: (GST_START_TEST),
13331 Added new check for sinks.
13333 2006-02-02 Wim Taymans <wim@fluendo.com>
13335 * gst/gstsegment.c: (gst_segment_clip):
13336 No reason to refuse to clip when start == -1
13338 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13341 * docs/manual/intro-basics.xml:
13342 * docs/manual/intro-preface.xml:
13343 * docs/manual/manual.xml:
13344 * docs/pwg/advanced-dparams.xml:
13345 * docs/pwg/intro-basics.xml:
13346 * docs/pwg/intro-preface.xml:
13347 * docs/pwg/pwg.xml:
13348 describe dparams (controller) for plugins
13349 unify docs a little more
13351 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13353 * docs/gst/gstreamer-sections.txt:
13354 * gst/gstutils.c: (element_find_unconnected_pad),
13355 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13357 Add new API: gst_parse_bin_from_description() and
13358 gst_bin_find_unconnected_pad() (#329069).
13360 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13362 * docs/manual/README:
13363 uncover a nasty detail of the docs build
13365 2006-01-31 Wim Taymans <wim@fluendo.com>
13367 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13368 Don't cache duration messages if we're not going to use or
13371 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13373 * docs/manual/advanced-dparams.xml:
13374 * docs/pwg/advanced-dparams.xml:
13378 * libs/gst/controller/lib.c: (gst_controller_init):
13381 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13383 * gst/gstelement.c: (gst_element_message_full):
13384 also show file/line/func if no additional debug was given
13386 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13388 * win32/vs7/grammar.vcproj:
13389 activate copy of autogenerated files for Release mode
13391 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13393 * win32/common/libgstreamer.def:
13394 export gst_value_compare
13396 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13398 * plugins/elements/Makefile.am:
13399 * plugins/elements/gstelements.c:
13400 * plugins/elements/gstfdsink.c: (_do_init),
13401 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13402 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13403 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13404 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13405 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13406 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13407 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13408 * plugins/elements/gstfdsink.h:
13409 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13411 2006-01-30 Stefan Kost <ensonic@users.sf.net>
13413 * docs/manual/advanced-dparams.xml:
13414 describe controller
13415 * docs/manual/advanced-position.xml:
13416 * docs/manual/basics-init.xml:
13417 * docs/manual/manual.xml:
13418 * docs/manual/titlepage.xml:
13419 * docs/pwg/pwg.xml:
13420 * docs/pwg/titlepage.xml:
13421 cleanup xml (more to come)
13422 * libs/gst/controller/gstcontroller.c:
13425 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13427 * win32/vs6/grammar.dsp:
13428 add autogen of gstmarshal.c,h for Release mode
13430 2006-01-30 Wim Taymans <wim@fluendo.com>
13432 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13433 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13434 (gst_base_sink_handle_object), (gst_base_sink_event),
13435 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13436 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13437 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13438 (gst_base_sink_deactivate), (gst_base_sink_activate),
13439 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13440 (gst_base_sink_query), (gst_base_sink_change_state):
13441 Basesink cleanups, remove some old code.
13442 Handle the case where a subclass can preroll in the render
13443 method (mostly audiosinks).
13444 Handle more events.
13445 Remove some locks around variables that are now protected
13446 with the PREROLL_LOCK (clock_id, flushing, ..).
13447 Optimize position query some more, do correct locking.
13448 Remove old code to push queue in state change, this is not
13449 needed anymore since preroll blocks on all prerollable items
13451 Almost implemented as described in design doc.
13453 2006-01-30 Wim Taymans <wim@fluendo.com>
13455 * tests/check/gst/gstbin.c: (GST_START_TEST):
13456 Wait for refcount to settle down before checking.
13458 2006-01-30 Wim Taymans <wim@fluendo.com>
13460 * docs/design/part-element-sink.txt:
13461 Pseudo code overview of desired sink behaviour regarding
13464 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13465 * win32/vs6/grammar.dsp:
13466 fix some bugs in Release mode for autogenerated files
13468 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13469 * win32/common/libgstbase.def:
13470 * win32/common/libgstreamer.def:
13471 export some new symbols: gst_base_src_set_format,
13472 gst_iterator_next, gst_structure_set_valist
13474 2006-01-29 Julien MOUTTE <julien@moutte.net>
13476 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13477 Set pad functions unconditionally. Fixes #329105.
13479 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13481 add vs8 project files created by Sergey Scobich
13483 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
13485 * gst/gstutils.c: (gst_element_unlink_pads):
13486 Don't leak pad references.
13488 * tests/check/elements/fakesink.c: (GST_START_TEST):
13489 * tests/check/generic/sinks.c: (GST_START_TEST):
13490 * tests/check/generic/states.c: (GST_START_TEST):
13491 * tests/check/gst/gstbin.c: (GST_START_TEST):
13492 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13493 * tests/check/gst/gstelement.c: (GST_START_TEST):
13494 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13495 * tests/check/gst/gstiterator.c: (GST_START_TEST):
13496 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13497 Fix a bunch of leaks. Make generic/sinks.c
13498 use a bit less cpu by slowing the buffer rate
13499 between fakesrc and fakesink.
13501 2006-01-27 Stefan Kost <ensonic@users.sf.net>
13503 * gst/gstelement.c: (gst_element_send_event):
13506 * gst/gstiterator.c:
13507 * gst/gstiterator.h:
13508 * gst/gstpad.c: (gst_pad_send_event):
13509 * gst/gststructure.c:
13513 * libs/gst/base/gstadapter.c:
13514 doc fixes, to link to function, just write gst_cool_function(), don't
13517 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13519 * plugins/elements/gsttee.c: (gst_tee_do_push),
13520 (gst_tee_handle_buffer):
13521 Always prefer an actual return value from a src
13522 pad in place of NOT_LINKED. This means we return
13523 WRONG_STATE when all src pads are WRONG_STATE
13524 instead of NOT_LINKED.
13526 Lock when replacing the last message to prevent
13527 racing with the get_property method.
13531 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13533 * tests/check/Makefile.am:
13534 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13536 Add a very simple check that should have caught the memleak I fixed
13537 last night (if not for the slice allocator hiding it)
13539 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13541 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13542 (gst_bin_remove_func), (gst_bin_handle_message_func),
13543 (bin_query_duration_fold), (bin_query_generic_fold):
13544 Clean up references to the clock provider when disposed or when
13545 handling a clock-lost message from it.
13547 Unref sinks when performing a query via gst_iterator_fold, as the
13548 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13550 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13551 (gst_clock_set_master):
13552 Drop our reference to the master clock, if any, when we are disposed.
13554 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13555 Chain up in dispose.
13557 2006-01-26 Wim Taymans <wim@fluendo.com>
13559 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13560 Add some debugging.
13562 2006-01-26 Julien MOUTTE <julien@moutte.net>
13564 * plugins/elements/gsttee.c: (gst_tee_do_push),
13565 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13566 handles pad being NOT_LINKED or in WRONG_STATE.
13568 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13573 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13576 remove obsolete entry
13578 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13580 * docs/gst/gstreamer-sections.txt:
13581 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13582 (gst_bin_iterate_sources), (gst_bin_send_event):
13584 * gst/gstelement.c: (gst_element_send_event):
13586 * gst/gstpad.c: (gst_pad_send_event):
13587 added code for downstream events, reviewed docs in gstevent.c
13589 2006-01-25 Julien MOUTTE <julien@moutte.net>
13591 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13592 We only query position using the clock in the playing state.
13593 Query peer in the other cases.
13594 * win32/common/config.h: Updates.
13596 2006-01-24 Wim Taymans <wim@fluendo.com>
13598 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13599 A clock entry that is scheduled for the exact time of the
13600 clock is still in time.
13602 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13603 (gst_base_sink_do_sync):
13604 Add some more debug info.
13606 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13609 Add new vs7 project files and solution.
13611 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13614 all files removed as they were out-dated.
13616 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13618 * docs/random/release:
13620 * gst/gstbin.c: (gst_bin_init):
13621 * gst/gstbus.c: (gst_bus_new):
13623 * gst/gstpipeline.c: (gst_pipeline_init):
13624 use gst_bus_new(), improve logging, fix docs
13625 * win32/common/config.h:
13626 update for cvs build
13628 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13631 up required version of automake to 1.7
13633 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
13635 * win32/common/libgstreamer.def:
13636 export gst_buffer_is_metadata_writable
13638 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
13640 * docs/gst/gstreamer-sections.txt:
13642 Add gst_event_replace() (#327001)
13644 2006-01-20 Wim Taymans <wim@fluendo.com>
13646 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13647 Make it actually compile too..
13649 2006-01-20 Wim Taymans <wim@fluendo.com>
13652 Clarify behaviour of _is_equal() when passing NULL parameters.
13654 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13655 (gst_pad_set_caps):
13656 Cleanups. Don't unref NULL caps.
13657 When setting the same caps, protect caps of the pad with
13659 Use full functionality of _is_equal() when comparing caps.
13661 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13664 Don't loop infinitely if there are no buffers to present. Partially
13665 fixes #327197, but collectpads is just broken for reusing elements
13666 to do multiple encodes atm.
13668 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13670 * tools/gst-inspect.c: (print_element_features):
13671 * tools/gst-xmlinspect.c: (main):
13672 URL_HANDLER is not a plugin feature we can search for in
13675 2006-01-19 Edward Hervey <edward@fluendo.com>
13677 * gst/gstelement.c: (gst_element_pads_activate):
13678 When activating, do src pads first, then sink pads.
13679 When de-activating, do sink pads first, then src pads.
13681 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13683 * docs/gst/gstreamer-sections.txt:
13684 Add gst_index_add_associationv to the docs
13686 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13691 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13692 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13693 Do some refactoring. Doesn't actually change functionality,
13694 but makes landing the DRAIN event easier later.
13696 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
13698 * docs/pwg/advanced-scheduling.xml:
13699 Update from 0.9.x to 0.10 API and make example a bit
13702 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13704 * docs/gst/gstreamer-sections.txt:
13705 Add gst_buffer_(is|make)_metadata_writable methods.
13707 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13709 * docs/design/part-sparsestreams.txt:
13710 Update sparse streams doc, hopefully for greater clarity
13712 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
13714 * docs/design/part-events.txt:
13715 Remove mention of FILLER events.
13718 * docs/design/part-sparsestreams.txt:
13719 Write some things about using NEWSEGMENT to keep sparse streams
13722 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13724 * gst/gstbin.c: (gst_bin_dispose):
13725 Guard gst_object_unref call against a NULL object (dispose
13726 can theoretically be called multiple times).
13728 2006-01-18 Wim Taymans <wim@fluendo.com>
13730 * gst/gstbin.c: (gst_bin_element_set_state):
13731 * gst/gstclock.c: (gst_clock_id_wait):
13732 Added some more debug info.
13734 * libs/gst/base/gstadapter.c:
13737 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13738 (gst_base_sink_do_sync), (gst_base_sink_chain):
13739 Added some comments.
13741 2006-01-18 Wim Taymans <wim@fluendo.com>
13743 * tests/check/Makefile.am:
13744 * tests/check/elements/fakesink.c: (chain_async_buffer),
13745 (chain_async), (chain_async_return), (GST_START_TEST),
13746 (fakesink_suite), (main):
13747 Added fakesink test that checks prerolling and clipping
13750 * tests/check/gst/gstutils.c: (GST_START_TEST):
13751 Make check run faster so that buildbots don't timeout.
13753 2006-01-18 Wim Taymans <wim@fluendo.com>
13755 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13756 (gst_base_sink_do_sync):
13758 When the sink finishes blocking on the preroll buffer, it can
13759 immediatly render it instead of rendering when the next buffer
13762 2006-01-18 Wim Taymans <wim@fluendo.com>
13764 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13765 (gst_base_sink_get_property), (gst_base_sink_do_sync),
13766 (gst_base_sink_chain):
13768 GST_ELEMENT_CLOCK and sync are protected with LOCK.
13769 Don't store _last_stop if the buffer is dropped.
13771 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13773 * plugins/elements/gsttypefindelement.c:
13774 (gst_type_find_element_class_init):
13775 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13776 object method handler that sets the caps on the pad and we want
13777 that to happen before we emit the signal (fixes e.g. feeding a
13778 plain text file to decodebin).
13780 2006-01-18 Christian Schaller <Christian@fluendo.com>
13782 * gst/gstplugin.c: Add MPL and Proprietary as license options
13784 2006-01-18 Andy Wingo <wingo@pobox.com>
13786 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13787 symbol was exported before, it appears this was just an oversight.
13789 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13791 * gst/gstindex.c (gst_index_add_associationv): Changed int in
13792 prototype to gint. OK since this prototype was not in the header.
13794 2006-01-17 Andy Wingo <wingo@pobox.com>
13796 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13797 registry while we remove plugins.
13799 * tools/gst-inspect.c (print_element_info): Don't unref the
13800 factory arg, that should be the responsibility of whatever code
13801 received the ref. Fixes a double-free when called from
13802 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13803 (main): Unref the factory if we have one.
13804 (print_element_list): No change -- relies on the
13805 plugin_feature_list_free to free the list of features.
13807 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
13809 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13810 (gst_buffer_make_metadata_writable):
13812 * libs/gst/base/gstbasetransform.c:
13813 (gst_base_transform_prepare_output_buf):
13814 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13815 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13816 Replace gst_buffer_(make|is)_metadata_writable patch now
13817 that the release is out.
13819 2006-01-17 Andy Wingo <wingo@pobox.com>
13821 * gst/gstregistry.c: Reflow design comment. Update so as to speak
13822 in the present tense without reference to versions.
13824 * gst/gstregistry.c (gst_registry_add_plugin)
13825 (gst_registry_remove_plugin, gst_registry_remove_feature)
13826 (gst_registry_find_feature, gst_registry_get_feature_list)
13827 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13828 (gst_registry_lookup, gst_registry_scan_path)
13829 (_gst_registry_remove_cache_plugins)
13830 (gst_registry_get_feature_list_by_plugin): Add argument
13833 === release 0.10.2 ===
13835 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
13838 releasing 0.10.2, "If man is five"
13840 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13844 * libs/gst/base/gstbasetransform.c:
13845 (gst_base_transform_prepare_output_buf):
13846 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13847 * tests/check/gst/gstbuffer.c: (gst_test_suite):
13848 Back out patch until after the release.
13850 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13852 * gst/gstminiobject.c:
13853 Spelling fix in docs.
13854 * ChangeLog - remove conflict indicator
13856 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13858 Reviewed By: Andy Wingo
13860 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13861 (gst_buffer_make_metadata_writable):
13863 Add gst_buffer_(is|make)_metadata_writable as analogues of
13864 gst_buffer_(is|make)_writable.
13866 * libs/gst/base/gstbasetransform.c:
13867 (gst_base_transform_prepare_output_buf):
13868 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13869 Use name gst_buffer_(is|make)_metadata_writable functions.
13871 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13872 Test gst_buffer_(is|make)_metadata_writable
13876 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
13878 * docs/manual/Makefile.am:
13879 don't do parallel make
13882 * win32/common/config.h.in:
13883 add generations for HOST_CPU and GST_MAJORMINOR
13884 * win32/common/config.h:
13885 commit generated result
13887 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
13889 * docs/manual/appendix-integration.xml:
13890 Update GNOME integration section to use gst_init_get_option_group()
13891 instead of the old popt stuff (#322911). Also, GNOME applications
13892 should now use gconf*sink and gconf*src instead of the old gconf
13895 2006-01-13 Stefan Kost <ensonic@users.sf.net>
13898 * docs/gst/gstreamer-docs.sgml:
13899 * docs/gst/gstreamer-sections.txt:
13900 * docs/libs/gstreamer-libs-sections.txt:
13901 add new API entries to the docs
13902 * libs/gst/controller/Makefile.am:
13903 * libs/gst/controller/gstcontroller.c:
13904 * libs/gst/controller/gstcontroller.h:
13905 * libs/gst/controller/gstcontrollerprivate.h:
13906 * libs/gst/controller/gsthelper.c:
13907 * libs/gst/controller/gstinterpolation.c:
13908 move private structs to private header
13910 gstreamer-0.7 -> gstreamer-0.10
13911 * tests/check/libs/struct_i386.h:
13912 remove private structs
13914 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13916 * plugins/indexers/Makefile.am:
13917 Fixes as part of #317048
13919 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13921 * plugins/indexers/Makefile.am:
13922 fix #316086 - compilation when mmap is missing
13924 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
13926 * libs/gst/base/gstbasesink.c:
13927 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
13928 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13929 * win32/common/config.h:
13930 added some defines GST_MAJORMINOR and HOST_CPU
13931 * win32/common/libgstbase.def:
13932 * win32/common/libgstreamer.def:
13933 added some exported functions.
13935 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13937 * libs/gst/controller/gstcontroller.c:
13938 (gst_controlled_property_set_interpolation_mode),
13939 (gst_controlled_property_new):
13940 * libs/gst/controller/gstcontroller.h:
13941 * libs/gst/controller/gstinterpolation.c:
13942 (interpolate_none_get_string_value_array):
13943 make G_TYPE_STRING controlable
13945 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13948 * tools/gst-feedback.1.in:
13949 * tools/gst-inspect.1.in:
13950 * tools/gst-launch.1.in:
13951 * tools/gst-md5sum.1.in:
13952 * tools/gst-typefind.1.in:
13953 * tools/gst-xmlinspect.1.in:
13954 * tools/gst-xmllaunch.1.in:
13955 cleanup man-pages, remove reference to gst-register, document env-vars
13957 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
13959 * gst/gstbuffer.c: (gst_buffer_span):
13960 gst_buffer_span should copy the timestamp of the first buffer
13961 if they were both originally overlapping subbuffers of the
13962 same parent, using the same logic as the 'slow copy' case.
13964 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
13966 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13967 Need to awaken ALL the pads when we pop a buffer, otherwise
13968 collectpads only works when there is 2 input streams.
13970 2006-01-11 Stefan Kost <ensonic@users.sf.net>
13972 * docs/random/ensonic/media-device-daemon.txt:
13975 fix doc example, add clarification
13976 * tools/gst-launch.1.in:
13977 add initial info about GST_PLUGIN_PATH, needs more work
13979 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
13981 * docs/manual/basics-bins.xml:
13982 * docs/manual/basics-elements.xml:
13983 * docs/manual/intro-basics.xml:
13984 Some more minor docs additions and updates.
13986 2006-01-11 Wim Taymans <wim@fluendo.com>
13988 * docs/manual/basics-bins.xml:
13989 * docs/manual/basics-elements.xml:
13990 Some small fixes as pointed out by Ser-ver on IRC.
13992 2006-01-10 Edward Hervey <edward@fluendo.com>
13994 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13995 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13996 the single-segment mode.
13998 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
14000 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14002 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14003 (gst_base_src_perform_seek), (gst_base_src_send_event),
14004 (gst_base_src_set_property), (gst_base_src_get_property),
14005 (gst_base_src_loop), (gst_base_src_start),
14006 (gst_base_src_activate_push):
14007 * libs/gst/base/gstbasesrc.h:
14008 Name (private) union; makes Sun's Forte compiler happy (#324900).
14010 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
14013 gst-register is gone.
14015 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
14017 * gst/gstvalue.c: (_gst_value_initialize):
14018 make the G_TYPE_DATE instantiation work if debug is disabled
14020 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
14022 * gst/gstmessage.c: (gst_message_parse_tag),
14023 (gst_message_parse_error), (gst_message_parse_warning):
14024 Don't crash when return location for error/warning debug
14025 string is NULL; add fact that return locations can be
14026 NULL to docs where appropriate.
14028 2006-01-05 Wim Taymans <wim@fluendo.com>
14030 * gst/gstplugin.c: (gst_plugin_load_file):
14031 Replace strdup by g_strdup.
14033 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14035 * docs/pwg/advanced-types.xml:
14038 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14040 submitted by: Abel Cheung
14044 Added Chinese (traditional) translation
14046 2006-01-04 Wim Taymans <wim@fluendo.com>
14048 * docs/manual/basics-pads.xml:
14049 * docs/plugins/Makefile.am:
14050 * docs/plugins/gstreamer-plugins-docs.sgml:
14051 * docs/plugins/gstreamer-plugins-sections.txt:
14052 * docs/pwg/advanced-clock.xml:
14053 * docs/pwg/advanced-scheduling.xml:
14054 * docs/pwg/advanced-types.xml:
14055 * plugins/elements/gstfdsink.c:
14056 * plugins/elements/gstfdsrc.c:
14057 * plugins/elements/gstfdsrc.h:
14058 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14059 * plugins/elements/gstidentity.h:
14060 * plugins/elements/gstqueue.h:
14061 * plugins/elements/gsttee.c:
14062 * plugins/elements/gsttee.h:
14063 * plugins/elements/gsttypefindelement.c:
14064 (gst_type_find_element_class_init):
14065 * plugins/elements/gsttypefindelement.h:
14066 Small updates to various docs.
14067 Added core plugins to docs.
14069 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14072 add a suppression for liboil's uninitialized variable
14074 2006-01-02 James Livingston <jrl at ids dot org dot au>
14076 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14079 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14080 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14081 compiler switch is being used (#325429).
14083 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14085 * gst/gstbin.c: (gst_bin_query):
14086 Disable duration query caching in bins until it gets
14087 fixed (see #324807).
14089 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14091 * tools/gst-inspect.c: (print_element_properties_info):
14092 Handle properties of POINTER and BOXED type.
14094 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14096 * gst/gst.c: (init_post):
14097 Init tags stuff and some other things before loading
14098 any static plugins (there may be other static plugins
14099 than just the GStreamer ones, and they may want to
14100 register their own tags or formats or whatever, and
14101 preferably without segfaulting).
14103 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14104 Print at least a warning in the debug logs if we drop a
14105 query just because we don't know how to adjust the value
14106 in the particular format.
14108 2005-12-24 David Schleef <ds@schleef.org>
14110 * tools/gstreamer-completion:
14111 Replacement for gst-complete written in sh and sed. Only
14112 completes names of features, but that's 90% of what I want
14113 it for. Properties are not available in registry.xml. (Maybe
14116 === release 0.10.1 ===
14118 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14121 releasing 0.10.1, "Nollaig chridheil"
14123 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14125 * docs/faq/cvs.xml:
14126 Add missing quote, should be make ERROR_CFLAGS="".
14128 2005-12-20 Wim Taymans <wim@fluendo.com>
14130 * docs/design/part-trickmodes.txt:
14131 More documentation on trickmodes.
14133 2005-12-20 Edward Hervey <edward@fluendo.com>
14135 * gst/gstcaps.c: (gst_static_caps_get_type):
14137 API addition: GST_TYPE_STATIC_CAPS
14138 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14139 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14140 * gst/gstpadtemplate.h:
14141 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14142 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14145 2005-12-18 Wim Taymans <wim@fluendo.com>
14147 * libs/gst/base/gstadapter.c:
14148 * libs/gst/base/gstadapter.h:
14149 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14150 (gst_base_sink_get_position):
14151 * libs/gst/base/gstbasesink.h:
14152 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14153 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14154 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14155 (gst_base_src_send_event), (gst_base_src_update_length),
14156 (gst_base_src_get_range), (gst_base_src_loop),
14157 (gst_base_src_start):
14158 * libs/gst/base/gstbasesrc.h:
14159 * libs/gst/base/gstbasetransform.h:
14160 * libs/gst/base/gstcollectpads.h:
14161 * libs/gst/base/gstpushsrc.c:
14162 * libs/gst/base/gstpushsrc.h:
14163 * libs/gst/dataprotocol/dataprotocol.c:
14164 * libs/gst/dataprotocol/dataprotocol.h:
14165 * libs/gst/net/gstnetclientclock.h:
14166 * libs/gst/net/gstnettimeprovider.h:
14167 Documentation updates.
14169 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14171 * docs/manual/basics-helloworld.xml:
14172 Remove superfluous closing bracket in helloworld example.
14174 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14176 * tools/gst-launch.1.in:
14177 Update gst-launch man page; add a section with useful
14178 environment variables. Fixes #323882.
14180 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14183 * gst/gst_private.h:
14184 change some char* into char[]
14186 2005-12-16 Wim Taymans <wim@fluendo.com>
14188 * gst/gstregistryxml.c: (load_feature):
14190 Don't use g_object_unref on GstObjects so that we avoid
14191 leaks on unsafe glibs.
14193 2005-12-16 Wim Taymans <wim@fluendo.com>
14195 * gst/gstbin.c: (gst_bin_recalc_state):
14198 2005-12-16 Wim Taymans <wim@fluendo.com>
14200 * common/check.mak:
14201 Added make forever target for check.
14203 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14205 * gst/gst.c: (init_post):
14206 make the registry cache file HOST_CPU-dependent
14208 2005-12-16 Andy Wingo <wingo@pobox.com>
14210 * plugins/elements/gstbufferstore.c
14211 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14214 * tests/check/gst/gstobject.c
14215 (test_fake_object_name_threaded_unique): Pay attention to
14216 g_list_sort return value.
14218 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14220 * tools/gst-feedback-m.m:
14221 Update for 0.9/0.10 (fixes #323870).
14223 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14225 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14226 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14228 * tests/check/gst/gstminiobject.c: (my_foo_init),
14229 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14230 (test_value_collection), (gst_mini_object_suite):
14231 Add test to ensure refcounts end up as expected when passing
14232 GstMiniObjects through g_object_get() and g_object_set().
14234 2005-12-14 Julien MOUTTE <julien@moutte.net>
14236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14237 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14238 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14239 of collectpads. This version removes a lot of races without
14240 touching API/ABI. Yay !
14242 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14244 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14245 Don't allow activation of a srcpad in pull_range if it has no
14247 Change some debug statements to be a little clearer
14249 * plugins/elements/gsttypefindelement.c:
14250 (gst_type_find_handle_src_query):
14251 Check that we have a peer before executing queries thereupon.
14253 * tests/examples/metadata/read-metadata.c: (message_loop):
14254 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14255 immediately return us any available message with 0 timeout.
14257 2005-12-12 Michael Smith <msmith@fluendo.com>
14259 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14260 Don't unref factories after calling them.
14261 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14262 * plugins/elements/gsttypefindelement.c:
14263 (gst_type_find_element_chain):
14264 Free lists of factories after using them. Fixing typefinding memory
14267 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14269 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14270 (gst_plugin_feature_load):
14271 more meaningful debug output
14273 * tests/Makefile.am:
14274 * tests/old/examples/Makefile.am:
14275 make make distcheck happy again
14277 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14279 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14280 Catch the special case where we are operating chain-based,
14281 but the downstream peer pad has no chain function. Emit a
14282 custom error message in this case instead of letting the
14283 core generate one implying that this is some sort of core
14284 bug. It's not, it just means that whatever got plugged
14285 into the pipeline downstream when we announced the type
14286 can only operate pull-based, while our source can only
14287 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14288 Error string has not been marked for translation yet, as
14289 it probably needs some more work first.
14291 (gst_type_find_element_get_best_possibility):
14292 Add helper function to find the best of all available
14293 found possibilities that qualify given the min. threshold.
14295 (gst_type_find_element_handle_event):
14296 Fix the case where we get an EOS while still in TYPEFIND
14297 mode (we want to chose the best of all possible types,
14298 not just the first type that happens to be in our unsorted
14299 list of possible types).
14301 (gst_type_find_element_chain):
14302 Make sure we return GST_FLOW_ERROR when we errored out
14303 in stop_typefinding(); also, don't just find the best of
14304 all found type entries and then use the last examined
14305 type entry, but actually use the best entry.
14307 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14309 * tests/examples/typefind/typefind.c: (type_found):
14310 * tests/examples/xml/runxml.c: (xml_loaded):
14311 More gcc4 fixes and a mem leak fix.
14313 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14315 * tests/examples/xml/createxml.c: (object_saved):
14318 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14320 * tests/Makefile.am:
14321 enable the examples even more
14323 2005-12-12 Andy Wingo <wingo@pobox.com>
14325 * libs/gst/net/gstnettimeprovider.c
14326 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14327 (gst_net_time_provider_set_property)
14328 (gst_net_time_provider_get_property):
14329 API addition: Export "active" as a GObject property.
14330 (gst_net_time_provider_thread): Only respond to time queries if
14331 the time provider is active.
14333 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14334 NetTimeProvider, preserving binary compat.
14336 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14338 * tests/examples/controller/audio-example.c: (main):
14339 * tests/examples/launch/Makefile.am:
14340 convert comments again
14342 2005-12-12 Wim Taymans <wim@fluendo.com>
14344 * libs/gst/base/gstpushsrc.c:
14347 2005-12-12 Wim Taymans <wim@fluendo.com>
14349 * docs/libs/gstreamer-libs-sections.txt:
14350 Added new symbol to docs.
14352 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14353 (gst_base_src_init), (gst_base_src_set_format),
14354 (gst_base_src_default_query), (gst_base_src_query),
14355 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14356 (gst_base_src_perform_seek), (gst_base_src_send_event),
14357 (gst_base_src_default_event), (gst_base_src_event_handler),
14358 (gst_base_src_set_property), (gst_base_src_get_property),
14359 (gst_base_src_wait), (gst_base_src_do_sync),
14360 (gst_base_src_update_length), (gst_base_src_get_range),
14361 (gst_base_src_check_get_range), (gst_base_src_loop),
14362 (gst_base_src_default_negotiate), (gst_base_src_start),
14363 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14364 (gst_base_src_change_state):
14365 * libs/gst/base/gstbasesrc.h:
14366 Implement seeking to other formats than _BYTES.
14367 Implement more seeking methods correctly.
14369 Added query vmethod.
14370 Added do_seek vmethod to make life easier for subclasses
14372 API addition: gst_base_src_set_format()
14374 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14376 * tests/examples/Makefile.am:
14379 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14382 * docs/random/ensonic/media-device-daemon.txt:
14383 * tests/examples/controller/.cvsignore:
14384 * tests/examples/controller/Makefile.am:
14385 * tests/examples/controller/audio-example.c: (main):
14386 * tests/examples/helloworld/.cvsignore:
14387 * tests/examples/helloworld/Makefile.am:
14388 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14389 * tests/examples/launch/.cvsignore:
14390 * tests/examples/launch/Makefile.am:
14391 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14392 * tests/examples/metadata/.cvsignore:
14393 * tests/examples/metadata/Makefile.am:
14394 * tests/examples/metadata/read-metadata.c: (message_loop),
14395 (make_pipeline), (print_tag), (main):
14396 * tests/examples/queue/.cvsignore:
14397 * tests/examples/queue/Makefile.am:
14398 * tests/examples/queue/queue.c: (event_loop), (main):
14399 * tests/examples/typefind/.cvsignore:
14400 * tests/examples/typefind/Makefile.am:
14401 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14403 * tests/examples/xml/.cvsignore:
14404 * tests/examples/xml/Makefile.am:
14405 * tests/examples/xml/createxml.c: (object_saved), (main):
14406 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14407 * tests/old/examples/Makefile.am:
14408 * tests/old/examples/TODO:
14409 * tests/old/examples/controller/.cvsignore:
14410 * tests/old/examples/controller/Makefile.am:
14411 * tests/old/examples/controller/audio-example.c:
14412 * tests/old/examples/helloworld/.cvsignore:
14413 * tests/old/examples/helloworld/Makefile.am:
14414 * tests/old/examples/helloworld/helloworld.c:
14415 * tests/old/examples/launch/.cvsignore:
14416 * tests/old/examples/launch/Makefile.am:
14417 * tests/old/examples/launch/mp3parselaunch.c:
14418 * tests/old/examples/launch/mp3play:
14419 * tests/old/examples/manual/Makefile.am:
14420 * tests/old/examples/metadata/Makefile.am:
14421 * tests/old/examples/metadata/read-metadata.c:
14422 * tests/old/examples/queue/.cvsignore:
14423 * tests/old/examples/queue/Makefile.am:
14424 * tests/old/examples/queue/queue.c:
14425 * tests/old/examples/typefind/.cvsignore:
14426 * tests/old/examples/typefind/Makefile.am:
14427 * tests/old/examples/typefind/typefind.c:
14428 * tests/old/examples/xml/.cvsignore:
14429 * tests/old/examples/xml/Makefile.am:
14430 * tests/old/examples/xml/createxml.c:
14431 * tests/old/examples/xml/runxml.c:
14432 applied some simple fixing to some examples
14433 re-enabled the working examples
14435 2005-12-12 Wim Taymans <wim@fluendo.com>
14437 * gst/gstsegment.c: (gst_segment_init),
14438 (gst_segment_set_last_stop), (gst_segment_set_seek),
14439 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14440 (gst_segment_to_running_time):
14441 Added more documentation.
14442 Make sure the last_pos value is updated properly.
14443 Make sure to_stream_time and to_running_time don't
14444 operate on wrong values.
14446 * tests/check/gst/gstsegment.c: (GST_START_TEST):
14449 2005-12-12 Michael Smith <msmith@fluendo.com>
14451 * plugins/elements/gsttypefindelement.c: (free_entry),
14452 (gst_type_find_element_chain):
14453 Now that we're not leaking factories, make sure we keep references
14454 to them while we need them.
14456 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14458 * tests/check/gst/struct_i386.h:
14459 ifdef out the XML structs
14461 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14463 * gst/gstvalue.c: (gst_value_transform_double_fraction):
14464 floor is not needed, F is always positive; this obviates the
14465 need for adding -lm when building without libxml
14467 2005-12-12 Wim Taymans <wim@fluendo.com>
14469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14470 Take current playback rate into account when reporting
14473 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14475 * docs/manual/mime-world.fig:
14476 Let's try this again, this time with a file that is
14477 actually in XFig format.
14479 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14481 * docs/manual/mime-world.fig:
14482 Add audioconvert element to diagram so that it
14483 matches the text and the code (fixes #319526).
14485 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14487 * docs/pwg/building-chainfn.xml:
14488 * docs/pwg/building-pads.xml:
14489 * docs/pwg/building-state.xml:
14490 * docs/pwg/other-source.xml:
14491 Update state change stuff for 0.10 (fixes #322969).
14493 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14495 * docs/manual/advanced-dataaccess.xml:
14496 * docs/manual/appendix-checklist.xml:
14497 * docs/manual/appendix-programs.xml:
14498 * docs/manual/basics-pads.xml:
14499 * docs/manual/highlevel-components.xml:
14500 * docs/manual/manual.xml:
14501 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14502 add converters in front of pipelines; remove curly
14503 brackets for threads stuff, they no longer exist; use
14504 GST_TYPE_FRACTION for framerates; update some pieces of
14505 code to 0.10, but there's plenty more to do.
14507 * docs/manual/appendix-porting.xml:
14508 Expand on asynchroneous state changes; s/0.9/0.10/;
14509 mention disappearance of gst_init_get_popt_table()
14512 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14514 * docs/faq/using.xml:
14515 Spider no longer exists, and neither does gst-launch-ext.
14516 Update examples to use decodebin and playbin and put
14517 converters in front of sinks (fixes #323726).
14519 2005-12-09 Michael Smith <msmith@fluendo.com>
14521 * plugins/elements/gsttypefindelement.c: (find_peek),
14522 (gst_type_find_element_chain):
14523 Fix leaking element factories in typefinding.
14524 Fix problem where we forgot about a probable type on non-seekable
14525 files, and thus later mis-typefound it.
14527 2005-12-09 Michael Smith <msmith@fluendo.com>
14529 * common/m4/gst-makecontext.m4:
14530 * common/m4/gst-mcsc.m4:
14532 * win32/common/config.h:
14533 * win32/common/config.h.in:
14534 Remove makecontext stuff; not used in 0.10 and causes problems on
14535 HPUX according to bug #322441
14537 2005-12-07 Wim Taymans <wim@fluendo.com>
14539 * tests/check/Makefile.am:
14540 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14542 * tests/check/libs/struct_i386.h:
14543 Added ABI check for libs
14545 2005-12-07 Wim Taymans <wim@fluendo.com>
14547 * tests/check/Makefile.am:
14548 And add the struct_i386.h to dist.
14550 2005-12-07 Wim Taymans <wim@fluendo.com>
14552 * tests/check/Makefile.am:
14553 * tests/check/gst/.cvsignore:
14554 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14556 * tests/check/gst/struct_i386.h:
14557 Added check for ABI compatibility.
14559 2005-12-07 Wim Taymans <wim@fluendo.com>
14561 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14562 (gst_fake_src_get_times), (gst_fake_src_create):
14563 Fix broken sync option, fixes #323259
14565 2005-12-07 Wim Taymans <wim@fluendo.com>
14570 * gst/gstcaps.c: (gst_caps_is_equal):
14571 Don't assert on NULL <--> X. Fixes #323260
14573 * gst/gstminiobject.c: (gst_mini_object_replace):
14574 If we're doing atomic operations, we might just as well use
14575 the proper way to get an atomic pointer.
14577 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14578 Clean up debugging.
14580 2005-12-07 Michael Smith <msmith@fluendo.com>
14582 * gst/parse/grammar.y:
14583 Remove handling of { } for threads.
14585 2005-12-06 David Schleef <ds@schleef.org>
14587 * libs/gst/base/gstbasetransform.c: speling fix.
14589 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
14591 * docs/libs/tmpl/gstdataprotocol.sgml:
14592 * docs/random/omega/testing/gstobject.c:
14595 * gst/gstelement.c:
14596 * gst/gstelementfactory.c:
14599 * gst/gstghostpad.c:
14601 * gst/gstpadtemplate.c:
14602 * gst/gstregistryxml.c:
14603 * gst/gsttaglist.c:
14604 * gst/gsttagsetter.c:
14605 * gst/gsttypefind.c:
14607 * libs/gst/base/gstbasesrc.c:
14608 * libs/gst/net/gstnetclientclock.c:
14609 * libs/gst/net/gstnettimeprovider.c:
14610 * plugins/elements/gstfakesrc.c:
14611 * plugins/elements/gstfdsrc.c:
14612 * plugins/elements/gstfilesrc.c:
14613 * plugins/elements/gstidentity.c:
14614 * plugins/elements/gstqueue.c:
14615 * plugins/elements/gsttypefindelement.c:
14616 * plugins/indexers/gstfileindex.c:
14617 * plugins/indexers/gstmemindex.c:
14618 * tests/check/gst/gsttag.c:
14619 * tests/old/examples/cutter/cutter.c:
14620 * tests/old/examples/mixer/mixer.c:
14621 * tests/old/examples/xml/runxml.c: (main):
14622 * tests/old/testsuite/caps/normalisation.c:
14623 * tests/old/testsuite/debug/global.c:
14624 * tests/old/testsuite/parse/parse1.c:
14625 * tools/gst-xmlinspect.c:
14626 * win32/common/dirent.c:
14629 === release 0.10.0 ===
14631 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14634 releasing 0.10.0, "Maroilles"
14636 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14638 submitted by: Funda Wang <fundawang@linux.net.cn>
14642 added Chinese (Traditional) translation
14644 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14646 * docs/gst/gstreamer-sections.txt:
14647 * docs/libs/tmpl/gstdataprotocol.sgml:
14648 * docs/random/thomasvs/TODO:
14653 2005-12-05 Andy Wingo <wingo@pobox.com>
14655 patch by: Wim Taymans <wim@fluendo.com>
14657 * libs/gst/base/gstbasetransform.c
14658 (gst_base_transform_prepare_output_buf)
14659 (gst_base_transform_buffer_alloc):
14660 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14661 alloc_buffer_and_set_caps.
14663 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14664 set_caps on the source pad.
14665 (gst_pad_alloc_buffer_and_set_caps): New function, does what
14666 alloc_buffer used to do. Fixes #322874.
14668 * docs/gst/gstreamer-sections.txt:
14669 * docs/design/part-negotiation.txt:
14670 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14673 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14675 patch by: Sebastien Moutte
14678 * win32/common/config.h.in:
14679 * win32/vs6/libgstcontroller.dsp:
14682 2005-12-05 Wim Taymans <wim@fluendo.com>
14684 * gst/gstcaps.c: (gst_caps_is_equal):
14685 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14686 (gst_fake_src_create):
14687 Back out previous code changes, leave doc updates, file bugs
14690 2005-12-05 Wim Taymans <wim@fluendo.com>
14692 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14693 (gst_fake_src_get_times), (gst_fake_src_create):
14694 * plugins/elements/gstfakesrc.h:
14695 Fix broken sync code.
14697 2005-12-05 Wim Taymans <wim@fluendo.com>
14699 * gst/gstcaps.c: (gst_caps_is_equal):
14700 Comparing NULL against !NULL yields different caps, not a
14703 2005-12-05 Wim Taymans <wim@fluendo.com>
14705 * gst/gstpipeline.c:
14706 Fix small typo in docs.
14708 2005-12-05 Andy Wingo <wingo@pobox.com>
14710 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
14712 * gst/gst.c (init_post): remove hard-coded 0.9 location for
14713 registries/plugins with a MAJORMINOR one.
14714 (plugin_desc): Rename library from gstcoreleements to
14715 staticelements. Fixes #323222.
14717 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
14719 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14720 Change debug category to 'collectpads' from 'collect_pads'
14723 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14725 patch by: Sebastien Moutte
14727 * libs/gst/controller/gstinterpolation.c:
14728 use convert function for uint64/double
14729 * win32/vs6/libgstcontroller.dsp:
14732 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14734 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14735 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14737 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14738 add tests that seem to show that the guint64/gdouble conversions
14741 2005-12-02 Wim Taymans <wim@fluendo.com>
14743 * gst/gstregistry.c: (gst_registry_add_path):
14744 * gst/gstregistry.h:
14745 * gst/gstregistryxml.c:
14748 2005-12-02 Wim Taymans <wim@fluendo.com>
14750 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14751 (gst_util_uint64_scale_int):
14754 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14755 Add debug log line.
14757 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14760 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14763 * win32/common/config.h:
14764 * win32/vs6/gstreamer.dsw:
14765 * win32/vs6/libgstcoreelements.dsp:
14766 * win32/vs6/libgstelements.dsp:
14767 renamed core elements plugin
14769 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14771 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14773 do piece-wise major/minor comparison so 0.9 < 0.10
14774 also allow .exe extensions for tools
14776 2005-12-02 Michael Smith <msmith@fluendo.com>
14779 Escape a % to make gtkdoc happier; bug 322958.
14781 === release 0.9.7 ===
14783 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14786 releasing 0.9.7, "My Dog Has No Nose"
14788 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14790 * common/gst-xmlinspect.py:
14792 * docs/libs/tmpl/gstdataprotocol.sgml:
14793 * docs/random/release:
14812 * win32/common/config.h:
14813 * win32/common/config.h.in:
14814 * win32/vs6/gst_inspect.dsp:
14815 * win32/vs6/gst_launch.dsp:
14816 * win32/vs6/libgstbase.dsp:
14817 * win32/vs6/libgstelements.dsp:
14818 * win32/vs6/libgstreamer.dsp:
14819 * win32/vs7/GStreamer.vcproj:
14820 * win32/vs7/gst-inspect.vcproj:
14821 * win32/vs7/gst-launch.vcproj:
14822 * win32/vs7/libgstbase.vcproj:
14823 bump GST_MAJORMINOR to 0.10
14824 reset libtool version
14826 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14830 Added Bulgarian translation by (Alexander Shopov)
14832 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14834 * tests/check/gst/gstplugin.c:
14837 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14839 * common/gst-xmlinspect.py:
14840 * common/gtk-doc-plugins.mak:
14842 * docs/Makefile.am:
14843 * docs/gst/Makefile.am:
14844 * docs/gst/gstreamer-docs.sgml:
14845 * docs/gst/gstreamer-sections.txt:
14846 * docs/gst/gstreamer.types:
14847 * docs/gst/gstreamer.types.in:
14848 * docs/plugins/Makefile.am:
14849 * docs/plugins/gstreamer-plugins-docs.sgml:
14850 * docs/plugins/gstreamer-plugins-sections.txt:
14851 * docs/plugins/gstreamer-plugins.types:
14852 * docs/plugins/inspect.stamp:
14853 * docs/plugins/inspect/plugin-coreelements.xml:
14854 * docs/plugins/inspect/plugin-coreindexers.xml:
14855 * docs/plugins/scanobj-build.stamp:
14856 * gstreamer.spec.in:
14857 * plugins/elements/Makefile.am:
14858 * plugins/elements/gstelements.c:
14859 * plugins/elements/gstfakesink.c:
14860 * plugins/elements/gstfakesrc.c:
14861 * plugins/elements/gstfilesink.c:
14862 * plugins/elements/gstfilesrc.c:
14863 * plugins/elements/gstqueue.c:
14864 * plugins/indexers/Makefile.am:
14865 * plugins/indexers/gstindexers.c:
14866 document core plugins in a separate document just like all the
14868 rename these plugins to something starting with core
14870 2005-12-01 Andy Wingo <wingo@pobox.com>
14872 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14873 padding here before, but it missed the commit.
14875 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14877 * libs/gst/controller/gstinterpolation.c:
14878 whitespace prices have crashed, we should feel free to use some now
14879 use gst_guint64_to_gdouble
14881 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14883 * libs/gst/controller/gstcontroller.c:
14884 * libs/gst/controller/gsthelper.c:
14885 * libs/gst/controller/gstinterpolation.c:
14886 * libs/gst/controller/lib.c:
14887 wrap config.h include
14889 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14891 * docs/gst/gstreamer-sections.txt:
14894 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * plugins/elements/gstelements.c:
14897 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14898 (gst_fd_sink__class_init), (gst_fd_sink__init),
14899 (gst_fd_sink__chain), (gst_fd_sink__set_property),
14900 (gst_fd_sink__get_property):
14901 * plugins/elements/gstfdsink.h:
14902 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14903 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14904 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14905 (gst_fd_src_unlock), (gst_fd_src_set_property),
14906 (gst_fd_src_get_property), (gst_fd_src_create),
14907 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14908 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14909 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14910 (gst_fd_src_uri_handler_init):
14911 * plugins/elements/gstfdsrc.h:
14912 * plugins/elements/gstqueue.c: (gst_queue_get_type):
14915 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14917 * docs/gst/Makefile.am:
14918 * docs/gst/gstreamer.types.in:
14922 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14928 * gst/gstregistry.h:
14929 * tests/benchmarks/complexity.c:
14930 * tests/benchmarks/mass-elements.c:
14931 * tests/check/Makefile.am:
14932 * tools/Makefile.am:
14933 * tools/gst-inspect.c:
14934 * tools/gst-xmlinspect.c:
14935 various fixes to make
14936 --disable-nls --disable-registry --disable-loadsave
14937 --disable-parse --disable-gst-debug
14938 work and get the core .so down to 360444 bytes after stripping
14940 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14945 * docs/random/thomasvs/TODO:
14946 * tests/Makefile.am:
14950 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14952 * win32/GStreamer.vcproj:
14955 * win32/Makefile.inspect:
14956 * win32/Makefile.launch:
14957 * win32/Makefile.register:
14958 * win32/README.txt:
14959 * win32/gst-inspect.vcproj:
14960 * win32/gst-launch.vcproj:
14961 * win32/gst-register.vcproj:
14962 * win32/gstelements.vcproj:
14963 * win32/gstgetbits.def:
14964 * win32/gstgetbits.vcproj:
14965 * win32/gstreamer-dbg.def:
14966 * win32/gstreamer.def:
14967 * win32/libgstbase.def:
14968 * win32/libgstbase.vcproj:
14969 * win32/link_oldruntime.c:
14973 * win32/msvc71.sln:
14974 move even more stuff, win32/ is nice and clean now
14976 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14978 * libs/gst/control/.cvsignore:
14983 * win32/gstbytestream.def:
14984 * win32/gstbytestream.vcproj:
14985 * win32/gstconfig.h:
14986 * win32/gstenumtypes.c:
14987 * win32/gstenumtypes.h:
14988 * win32/gstoptimalscheduler.vcproj:
14989 * win32/gstversion.h:
14991 * win32/testsuite/bins.vcproj:
14992 * win32/testsuite/bytestream.vcproj:
14993 * win32/testsuite/caps.vcproj:
14994 * win32/testsuite/cleanup.vcproj:
14995 * win32/testsuite/clock.vcproj:
14996 * win32/testsuite/debug.vcproj:
14997 * win32/testsuite/dlopen.vcproj:
14998 * win32/testsuite/dynparams.vcproj:
14999 * win32/testsuite/elements.vcproj:
15000 * win32/testsuite/ghostpads.vcproj:
15001 * win32/testsuite/indexers.vcproj:
15002 * win32/testsuite/negotiation.vcproj:
15003 * win32/testsuite/parse.vcproj:
15004 * win32/testsuite/plugin.vcproj:
15005 * win32/testsuite/refcounting.vcproj:
15006 * win32/testsuite/schedulers.vcproj:
15007 * win32/testsuite/states.vcproj:
15008 * win32/testsuite/tags.vcproj:
15009 * win32/testsuite/threads.vcproj:
15010 remove old win32 stuff that isn't maintained and should be
15013 2005-11-30 Andy Wingo <wingo@pobox.com>
15015 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15016 loading the gst.interfaces python module bork.
15018 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15019 available since GLib 2.2. Fixes #318031.
15021 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15024 * check/.cvsignore:
15025 * check/Makefile.am:
15026 * check/elements/.cvsignore:
15027 * check/elements/fakesrc.c:
15028 * check/elements/fdsrc.c:
15029 * check/elements/identity.c:
15030 * check/generic/.cvsignore:
15031 * check/generic/states.c:
15032 * check/gst-libs/.cvsignore:
15033 * check/gst-libs/controller.c:
15034 * check/gst-libs/gdp.c:
15035 * check/gst/.cvsignore:
15036 * check/gst/capslist.h:
15038 * check/gst/gstbin.c:
15039 * check/gst/gstbuffer.c:
15040 * check/gst/gstbus.c:
15041 * check/gst/gstcaps.c:
15042 * check/gst/gstelement.c:
15043 * check/gst/gstevent.c:
15044 * check/gst/gstghostpad.c:
15045 * check/gst/gstiterator.c:
15046 * check/gst/gstmessage.c:
15047 * check/gst/gstminiobject.c:
15048 * check/gst/gstobject.c:
15049 * check/gst/gstpad.c:
15050 * check/gst/gstpipeline.c:
15051 * check/gst/gstplugin.c:
15052 * check/gst/gstsegment.c:
15053 * check/gst/gststructure.c:
15054 * check/gst/gstsystemclock.c:
15055 * check/gst/gsttag.c:
15056 * check/gst/gstutils.c:
15057 * check/gst/gstvalue.c:
15058 * check/net/.cvsignore:
15059 * check/net/gstnetclientclock.c:
15060 * check/net/gstnettimeprovider.c:
15061 * check/pipelines/.cvsignore:
15062 * check/pipelines/cleanup.c:
15063 * check/pipelines/simple_launch_lines.c:
15064 * check/pipelines/stress.c:
15065 * check/states/.cvsignore:
15066 * check/states/sinks.c:
15068 * examples/Makefile.am:
15069 * examples/appreader/.cvsignore:
15070 * examples/appreader/Makefile.am:
15071 * examples/appreader/appreader.c:
15072 * examples/controller/.cvsignore:
15073 * examples/controller/Makefile.am:
15074 * examples/controller/audio-example.c:
15075 * examples/cutter/.cvsignore:
15076 * examples/cutter/Makefile.am:
15077 * examples/cutter/cutter.c:
15078 * examples/cutter/cutter.h:
15079 * examples/events/Makefile.am:
15080 * examples/events/seek.c:
15081 * examples/helloworld/.cvsignore:
15082 * examples/helloworld/Makefile.am:
15083 * examples/helloworld/helloworld.c:
15084 * examples/helloworld2/.cvsignore:
15085 * examples/helloworld2/Makefile.am:
15086 * examples/helloworld2/helloworld2.c:
15087 * examples/launch/.cvsignore:
15088 * examples/launch/Makefile.am:
15089 * examples/launch/mp3parselaunch.c:
15090 * examples/launch/mp3play:
15091 * examples/manual/.cvsignore:
15092 * examples/manual/Makefile.am:
15093 * examples/manual/extract.pl:
15094 * examples/metadata/Makefile.am:
15095 * examples/metadata/read-metadata.c:
15096 * examples/mixer/.cvsignore:
15097 * examples/mixer/Makefile.am:
15098 * examples/mixer/mixer.c:
15099 * examples/mixer/mixer.h:
15100 * examples/pingpong/.cvsignore:
15101 * examples/pingpong/Makefile.am:
15102 * examples/pingpong/pingpong.c:
15103 * examples/plugins/.cvsignore:
15104 * examples/plugins/Makefile.am:
15105 * examples/plugins/example.c:
15106 * examples/plugins/example.h:
15107 * examples/pwg/.cvsignore:
15108 * examples/pwg/Makefile.am:
15109 * examples/pwg/extract.pl:
15110 * examples/queue/.cvsignore:
15111 * examples/queue/Makefile.am:
15112 * examples/queue/queue.c:
15113 * examples/queue2/.cvsignore:
15114 * examples/queue2/Makefile.am:
15115 * examples/queue2/queue2.c:
15116 * examples/queue3/.cvsignore:
15117 * examples/queue3/Makefile.am:
15118 * examples/queue3/queue3.c:
15119 * examples/queue4/.cvsignore:
15120 * examples/queue4/Makefile.am:
15121 * examples/queue4/queue4.c:
15122 * examples/retag/.cvsignore:
15123 * examples/retag/Makefile.am:
15124 * examples/retag/retag.c:
15125 * examples/retag/transcode.c:
15126 * examples/thread/.cvsignore:
15127 * examples/thread/Makefile.am:
15128 * examples/thread/thread.c:
15129 * examples/typefind/.cvsignore:
15130 * examples/typefind/Makefile.am:
15131 * examples/typefind/typefind.c:
15132 * examples/xml/.cvsignore:
15133 * examples/xml/Makefile.am:
15134 * examples/xml/createxml.c:
15135 * examples/xml/runxml.c:
15136 * tests/Makefile.am:
15137 * tests/check/Makefile.am:
15138 * testsuite/.cvsignore:
15139 * testsuite/Makefile.am:
15141 * testsuite/caps/.cvsignore:
15142 * testsuite/caps/Makefile.am:
15143 * testsuite/caps/app_fixate.c:
15144 * testsuite/caps/audioscale.c:
15145 * testsuite/caps/caps.c:
15146 * testsuite/caps/caps.h:
15147 * testsuite/caps/caps_strings:
15148 * testsuite/caps/compatibility.c:
15149 * testsuite/caps/deserialize.c:
15150 * testsuite/caps/enumcaps.c:
15151 * testsuite/caps/eratosthenes.c:
15152 * testsuite/caps/filtercaps.c:
15153 * testsuite/caps/fixed.c:
15154 * testsuite/caps/fraction-convert.c:
15155 * testsuite/caps/fraction-multiply-and-zero.c:
15156 * testsuite/caps/intersect2.c:
15157 * testsuite/caps/intersection.c:
15158 * testsuite/caps/normalisation.c:
15159 * testsuite/caps/random.c:
15160 * testsuite/caps/renegotiate.c:
15161 * testsuite/caps/sets.c:
15162 * testsuite/caps/simplify.c:
15163 * testsuite/caps/string-conversions.c:
15164 * testsuite/caps/structure.c:
15165 * testsuite/caps/subtract.c:
15166 * testsuite/caps/union.c:
15167 * testsuite/debug/.cvsignore:
15168 * testsuite/debug/Makefile.am:
15169 * testsuite/debug/category.c:
15170 * testsuite/debug/commandline.c:
15171 * testsuite/debug/global.c:
15172 * testsuite/debug/output.c:
15173 * testsuite/debug/printf_extension.c:
15174 * testsuite/dlopen/.cvsignore:
15175 * testsuite/dlopen/Makefile.am:
15176 * testsuite/dlopen/dlopen_gst.c:
15177 * testsuite/dlopen/loadgst.c:
15178 * testsuite/elements/.cvsignore:
15179 * testsuite/elements/Makefile.am:
15180 * testsuite/elements/gst-inspect-check.in:
15181 * testsuite/elements/struct_i386.h:
15182 * testsuite/elements/struct_size.c:
15183 * testsuite/indexers/.cvsignore:
15184 * testsuite/indexers/Makefile.am:
15185 * testsuite/indexers/cache1.c:
15186 * testsuite/indexers/indexdump.c:
15187 * testsuite/parse/.cvsignore:
15188 * testsuite/parse/Makefile.am:
15189 * testsuite/parse/parse1.c:
15190 * testsuite/parse/parse2.c:
15191 * testsuite/plugin/.cvsignore:
15192 * testsuite/plugin/Makefile.am:
15193 * testsuite/plugin/README:
15194 * testsuite/plugin/dynamic.c:
15195 * testsuite/plugin/linked.c:
15196 * testsuite/plugin/loading.c:
15197 * testsuite/plugin/registry.c:
15198 * testsuite/plugin/static.c:
15199 * testsuite/plugin/static2.c:
15200 * testsuite/plugin/testplugin.c:
15201 * testsuite/plugin/testplugin2.c:
15202 * testsuite/plugin/testplugin2_s.c:
15203 * testsuite/plugin/testplugin_s.c:
15204 * testsuite/refcounting/.cvsignore:
15205 * testsuite/refcounting/Makefile.am:
15206 * testsuite/refcounting/bin.c:
15207 * testsuite/refcounting/element.c:
15208 * testsuite/refcounting/element_pad.c:
15209 * testsuite/refcounting/mainloop.c:
15210 * testsuite/refcounting/mem.c:
15211 * testsuite/refcounting/mem.h:
15212 * testsuite/refcounting/object.c:
15213 * testsuite/refcounting/pad.c:
15214 * testsuite/refcounting/sched.c:
15215 * testsuite/refcounting/thread.c:
15216 * testsuite/states/.cvsignore:
15217 * testsuite/states/Makefile.am:
15218 * testsuite/states/bin.c:
15219 * testsuite/states/locked.c:
15220 * testsuite/states/parent.c:
15221 * testsuite/threads/.cvsignore:
15222 * testsuite/threads/159566.c:
15223 * testsuite/threads/159852.c:
15224 * testsuite/threads/Makefile.am:
15225 * testsuite/threads/queue.c:
15226 * testsuite/threads/signals.c:
15227 * testsuite/threads/staticrec.c:
15228 * testsuite/threads/thread.c:
15229 * testsuite/threads/threadb.c:
15230 * testsuite/threads/threadc.c:
15231 * testsuite/threads/threadd.c:
15232 * testsuite/threads/threade.c:
15233 * testsuite/threads/threadf.c:
15234 * testsuite/threads/threadg.c:
15235 * testsuite/threads/threadh.c:
15236 * testsuite/threads/threadi.c:
15237 move all of these under tests
15239 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15242 * tests/Makefile.am:
15245 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15247 * docs/gst/gstreamer-sections.txt:
15248 * tests/sched/.cvsignore:
15249 * tests/sched/Makefile.am:
15250 * tests/sched/cases/(fs-fs).xml:
15251 * tests/sched/cases/(fs-i-fs).xml:
15252 * tests/sched/cases/(fs-i-i-fs).xml:
15253 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15254 * tests/sched/dynamic-pipeline.c:
15255 * tests/sched/interrupt1.c:
15256 * tests/sched/interrupt2.c:
15257 * tests/sched/interrupt3.c:
15258 * tests/sched/runtestcases:
15259 * tests/sched/runxml.c:
15260 * tests/sched/sched-stress.c:
15261 * tests/sched/sort.c:
15262 * tests/sched/testcases:
15263 * tests/sched/testcases1.tc:
15264 * tests/seeking/.cvsignore:
15265 * tests/seeking/Makefile.am:
15266 * tests/seeking/seeking1.c:
15267 * tests/threadstate/.cvsignore:
15268 * tests/threadstate/Makefile.am:
15269 * tests/threadstate/test1.c:
15270 * tests/threadstate/test2.c:
15271 * tests/threadstate/threadstate1.c:
15272 * tests/threadstate/threadstate2.c:
15273 * tests/threadstate/threadstate3.c:
15274 * tests/threadstate/threadstate4.c:
15275 * tests/threadstate/threadstate5.c:
15276 remove obsolete tests
15278 * tests/bench-complexity.scm:
15279 * tests/bench-mass_elements.scm:
15280 * tests/complexity.c:
15281 * tests/complexity.gnuplot:
15282 * tests/instantiate/.cvsignore:
15283 * tests/instantiate/Makefile.am:
15284 * tests/instantiate/caps.c:
15285 * tests/mass_elements.c:
15286 * tests/network-clock-utils.scm:
15287 * tests/network-clock.scm:
15289 First pass at cleaning up tests/ dir before moving the rest
15290 Combined with CVS surgery
15292 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15295 queue has moved, update
15297 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15299 * docs/gst/gstreamer-sections.txt:
15300 remove double entries from the docs
15301 * gst/gst_private.h:
15302 * gst/gstinfo.c: (_gst_debug_init):
15303 remove the THREAD debug category
15307 * docs/gst/gstreamer.types:
15308 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15309 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15310 completely move queue and fix up debugging categories
15312 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15314 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15315 make initialization portable, using LL is not
15317 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15319 * win32/common/gstconfig.h:
15322 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15324 * win32/common/libgstreamer.def:
15325 rename symbols; sort base section
15327 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15329 * gst/gstclock.c: (do_linear_regression):
15330 remove crack non-portable handrolled DEBUG macro
15332 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15334 * docs/random/release:
15336 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15337 (gst_object_flags_get_type), (register_gst_bin_flags),
15338 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15339 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15340 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15341 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15342 (gst_caps_flags_get_type), (register_gst_clock_return),
15343 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15344 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15345 (gst_clock_flags_get_type), (register_gst_state),
15346 (gst_state_get_type), (register_gst_state_change_return),
15347 (gst_state_change_return_get_type), (register_gst_state_change),
15348 (gst_state_change_get_type), (register_gst_element_flags),
15349 (gst_element_flags_get_type), (register_gst_core_error),
15350 (gst_core_error_get_type), (register_gst_library_error),
15351 (gst_library_error_get_type), (register_gst_resource_error),
15352 (gst_resource_error_get_type), (register_gst_stream_error),
15353 (gst_stream_error_get_type), (register_gst_event_type_flags),
15354 (gst_event_type_flags_get_type), (register_gst_event_type),
15355 (gst_event_type_get_type), (register_gst_seek_type),
15356 (gst_seek_type_get_type), (register_gst_seek_flags),
15357 (gst_seek_flags_get_type), (register_gst_format),
15358 (gst_format_get_type), (register_gst_index_certainty),
15359 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15360 (gst_index_entry_type_get_type),
15361 (register_gst_index_lookup_method),
15362 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15363 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15364 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15365 (gst_index_flags_get_type), (register_gst_debug_level),
15366 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15367 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15368 (gst_iterator_result_get_type), (register_gst_iterator_item),
15369 (gst_iterator_item_get_type), (register_gst_message_type),
15370 (gst_message_type_get_type), (register_gst_mini_object_flags),
15371 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15372 (gst_pad_link_return_get_type), (register_gst_flow_return),
15373 (gst_flow_return_get_type), (register_gst_activate_mode),
15374 (gst_activate_mode_get_type), (register_gst_pad_direction),
15375 (gst_pad_direction_get_type), (register_gst_pad_flags),
15376 (gst_pad_flags_get_type), (register_gst_pad_presence),
15377 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15378 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15379 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15380 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15381 (gst_plugin_flags_get_type), (register_gst_rank),
15382 (gst_rank_get_type), (register_gst_query_type),
15383 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15384 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15385 (gst_tag_flag_get_type), (register_gst_task_state),
15386 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15387 (gst_alloc_trace_flags_get_type),
15388 (register_gst_type_find_probability),
15389 (gst_type_find_probability_get_type), (register_gst_uri_type),
15390 (gst_uri_type_get_type), (register_gst_parse_error),
15391 (gst_parse_error_get_type):
15392 * win32/common/gstenumtypes.h:
15393 * win32/common/gstversion.h:
15394 update visual studio generated files
15396 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15398 * win32/vs6/libgstbase.dsp:
15399 * win32/vs6/libgstelements.dsp:
15400 update project files for new locations
15402 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15407 reinstate and update
15412 * docs/random/LICENSE:
15415 2005-11-30 Edward Hervey <edward@fluendo.com>
15417 * gst/gsttypefind.c: (gst_type_find_register):
15418 * gst/gsttypefind.h:
15419 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15420 (gst_type_find_factory_dispose):
15421 * gst/gsttypefindfactory.h:
15422 Fix memory leak in GstTypeFindFactory.
15424 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15427 * plugins/elements/Makefile.am:
15428 * plugins/elements/gstelements.c:
15429 * plugins/elements/gstqueue.c:
15430 move queue from core to the elements plugin
15432 2005-11-29 Andy Wingo <wingo@pobox.com>
15434 * libs/gst/base/gstbasetransform.h:
15435 * libs/gst/base/gstbasesrc.h:
15436 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15438 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15439 of pointers by which to pad very extensible base classes (like the
15440 ones in libs/gst/base).
15442 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15444 * docs/gst/gstreamer-docs.sgml:
15445 * docs/gst/gstreamer-sections.txt:
15446 * docs/libs/gstreamer-libs-docs.sgml:
15447 * docs/libs/gstreamer-libs-sections.txt:
15448 moving documentation from core to lib
15450 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15452 * check/Makefile.am:
15454 * docs/gst/Makefile.am:
15456 * gst/base/.cvsignore:
15457 * gst/base/Makefile.am:
15459 * gst/base/gstadapter.c:
15460 * gst/base/gstadapter.h:
15461 * gst/base/gstbasesink.c:
15462 * gst/base/gstbasesink.h:
15463 * gst/base/gstbasesrc.c:
15464 * gst/base/gstbasesrc.h:
15465 * gst/base/gstbasetransform.c:
15466 * gst/base/gstbasetransform.h:
15467 * gst/base/gstcollectpads.c:
15468 * gst/base/gstcollectpads.h:
15469 * gst/base/gstpushsrc.c:
15470 * gst/base/gstpushsrc.h:
15471 * gst/base/gsttypefindhelper.c:
15472 * gst/base/gsttypefindhelper.h:
15473 * gst/check/Makefile.am:
15474 * gst/check/gstcheck.c:
15475 * gst/check/gstcheck.h:
15476 * gst/net/Makefile.am:
15477 * gst/net/gstnet.h:
15478 * gst/net/gstnetclientclock.c:
15479 * gst/net/gstnetclientclock.h:
15480 * gst/net/gstnettimepacket.c:
15481 * gst/net/gstnettimepacket.h:
15482 * gst/net/gstnettimeprovider.c:
15483 * gst/net/gstnettimeprovider.h:
15484 * libs/gst/Makefile.am:
15485 * libs/gst/base/Makefile.am:
15486 * libs/gst/base/gstbasetransform.c:
15487 * libs/gst/check/Makefile.am:
15488 * plugins/elements/Makefile.am:
15490 CVS surgery + support to move base, check, and net out of gst
15493 2005-11-29 Andy Wingo <wingo@pobox.com>
15495 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15497 * gst/gststructure.h (struct _GstStructure): Only one pointer of
15500 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15502 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15504 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15506 * gst/gstobject.h: (struct _GstObject): Only one pointer of
15507 padding; reduces object size by about 30%. We don't expect
15508 anything else to go into gstobject.
15510 * gst/gstminiobject.h (struct _GstMiniObject)
15511 (struct _GstMiniObjectClass): Only one pointer of padding; the
15512 payload is only a pointer and two ints anyway. For the class there
15513 are only two methods as well.
15515 * gst/gstelement.h (struct _GstElementClass): Removed
15516 the state_changed signal callback, it is not used.
15518 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15520 * docs/gst/gstreamer.types:
15521 fix includes, though they are a little dinky
15523 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15525 * check/Makefile.am:
15526 look in the right place for elements, a lot more chance of
15529 remove indexers and elements subdirs
15530 * plugins/Makefile.am:
15531 make indexers conditional
15533 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15537 * plugins/elements/Makefile.am:
15538 * plugins/elements/gstcapsfilter.c:
15539 * plugins/elements/gstfilesink.c:
15540 * plugins/elements/gstfilesrc.c:
15541 * plugins/elements/gstidentity.c:
15542 * plugins/indexers/Makefile.am:
15543 do CVS surgery and related build fixery to move elements
15544 and indexers in a new gstreamer/plugins directory, out of the
15547 2005-11-29 Andy Wingo <wingo@pobox.com>
15549 * check/Makefile.am:
15550 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15551 * pkgconfig/gstreamer-net.pc.in:
15552 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15555 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15557 * tools/Makefile.am:
15558 * tools/gst-complete.1.in:
15559 * tools/gst-complete.c:
15560 * tools/gst-compprep.1.in:
15561 * tools/gst-compprep.c:
15562 removing -compprep and -complete
15564 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15566 * gst/gstevent.c: (gst_event_new_new_segment),
15567 (gst_event_parse_new_segment):
15569 fix #320529 - clean up new_segment API and structure.
15570 Let's hope everyone was using the methods, and not the structure.
15572 2005-11-29 Edward Hervey <edward@fluendo.com>
15574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15575 (gst_base_sink_event), (gst_base_sink_do_sync),
15576 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15577 Properly handle non GST_FORMAT_TIME segment
15578 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15579 Properly handle non GST_FORMAT_TIME segment
15580 * gst/gstsegment.c:
15581 This function is valid if the accumulator is 0 and the format
15582 is different from the requested format.
15584 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15586 * docs/gst/gstreamer-sections.txt:
15587 Add gst_query_new_seeking and gst_query_parse_seeking to the
15590 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15592 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15593 Treat a pad alloc with new caps the same as if we were not
15594 negotiated, in order to allow a changing upstream output
15595 to produce a new format of data.
15597 2005-11-29 Edward Hervey <edward@fluendo.com>
15599 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15600 (gst_base_transform_event), (gst_base_transform_eventfunc):
15601 The event virtual method is now properly implemented, with a default
15603 Sub classes should call the parent_class event method. They should
15604 return FALSE if they had a problem handling the given event, or don't
15605 want GstBaseTransform to send that even downstream
15606 * gst/elements/gstidentity.c: (gst_identity_class_init),
15607 (gst_identity_init), (gst_identity_event),
15608 (gst_identity_transform_ip), (gst_identity_set_property),
15609 (gst_identity_get_property):
15610 * gst/elements/gstidentity.h:
15611 Added the single-segment boolean property.
15612 If set to TRUE, it will output a single segment of data, starting from
15613 0, will eat up all incoming newsegment, and modify the timestamp of the
15614 buffers accordingly
15616 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
15618 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15619 Don't ref NULL target pad (#322751). Improve docs.
15621 2005-11-29 Michael Smith <msmith@fluendo.com>
15623 * gst/gstregistryxml.c: (load_plugin):
15624 Don't crash if we failed to load a feature from a plugin.
15626 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15628 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15630 use more check API and less GLib API
15632 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15635 don't run checks if we don't have check
15636 * common/check.mak:
15637 remove the registry when running make torture
15638 * docs/gst/gstreamer-sections.txt:
15639 remove second multiply
15640 * gst/gstqueue.c: (gst_queue_loop):
15641 fix a compile warning when disabling debug
15643 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15646 Hey! Let's print the pad name if the pointer != NULL instead
15647 of when it == NULL :-)
15649 2005-11-28 Wim Taymans <wim@fluendo.com>
15651 * check/gst/gstutils.c: (GST_START_TEST):
15652 Updated check, add some scaling accuracy checking code.
15654 * gst/gstutils.c: (gst_util_div128_64),
15655 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15656 (gst_util_uint64_scale_int):
15657 Fix 6 times faster division code. Optimize for common
15658 1/1 and less common X/1 cases.
15660 2005-11-28 Wim Taymans <wim@fluendo.com>
15662 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15665 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15666 (do_linear_regression), (gst_clock_add_observation):
15668 Release lock when the clock cannot be slaved.
15669 Catch the case where the regression returned an invalid denominator.
15671 * gst/gstutils.c: (gst_util_div128_64_iterate),
15672 (gst_util_div128_64), (gst_util_uint64_scale_int64),
15673 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15674 Add protentially more performant non-iterative 128/64 divide function
15675 that unfortunatly does not work yet.
15676 Shortcut the trivial 0/X = 0 case.
15677 Remove the warnings on overflow.
15679 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15681 * gst/gstplugin.c: (gst_plugin_register_func):
15682 everything causing a plugin not to load should be at least a WARNING
15684 2005-11-28 Stefan Kost <ensonic@users.sf.net>
15686 * docs/random/ensonic/dparams.txt:
15687 some TODOs for the next dev cycle
15688 * libs/gst/controller/gstcontroller.c:
15689 (gst_controlled_property_set_interpolation_mode),
15690 (gst_controlled_property_new):
15691 * libs/gst/controller/gstcontroller.h:
15692 use base type to assign acccessor functions
15694 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15696 * check/Makefile.am:
15697 Oops, that should have been top_srcdir
15699 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15701 * check/Makefile.am:
15702 * check/elements/fdsrc.c: (GST_START_TEST):
15703 Use a cmdline define to specify the location of a file to use for
15704 testing, to avoid breaking distcheck.
15706 2005-11-28 Andy Wingo <wingo@pobox.com>
15708 * gst/gstpad.c (fixate_value): Use array functions for arrays.
15710 2005-11-28 Edward Hervey <edward@fluendo.com>
15712 * tools/gst-launch.c: (main):
15713 Clarify the output strings, makes it easier to translate.
15716 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15719 don't try and build net if we don't even have <sys/socket.h>
15721 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15723 * check/Makefile.am:
15724 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15725 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15726 Add tests for fdsrc seekability
15728 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15729 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15730 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15731 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15732 * gst/elements/gstfdsrc.h:
15733 fdsrc should not be a 'live' source.
15734 Implement seeking on seekable fd's.
15736 * gst/gstquery.c: (gst_query_new_seeking),
15737 (gst_query_parse_seeking):
15739 Implement SEEKING query functions:
15740 *_new_seeking and *_parse_seeking
15742 2005-11-27 Stefan Kost <ensonic@users.sf.net>
15744 * gst/gstelement.c: (gst_element_dispose):
15747 * gst/gstiterator.c:
15748 * gst/gststructure.c:
15751 * libs/gst/controller/gstcontroller.c:
15752 (gst_controlled_property_set_interpolation_mode):
15753 * libs/gst/controller/gstcontroller.h:
15754 * libs/gst/controller/gstinterpolation.c:
15755 (interpolate_none_get_enum_value_array):
15756 support controlling enums
15758 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15761 Improve documentation for gst_value_union().
15764 Change return value for union, intersect and subtract functions
15765 from gint to gboolean.
15767 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15769 * gst/gstvalue.c: (gst_value_serialize_any_list),
15770 (gst_value_transform_any_list_string),
15771 (gst_value_deserialize_list), (gst_value_deserialize_array),
15772 (gst_value_set_int_range), (gst_value_deserialize_int_range),
15773 (gst_value_set_double_range), (gst_value_deserialize_double_range),
15774 (gst_value_set_fraction_range_full),
15775 (gst_value_deserialize_fraction_range),
15776 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15777 (gst_value_deserialize_boolean),
15778 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15779 (gst_value_serialize_float), (gst_value_deserialize_float),
15780 (gst_string_wrap), (gst_value_deserialize_string),
15781 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15782 (gst_value_union_int_range_int_range),
15783 (gst_value_intersect_int_range_int_range),
15784 (gst_value_intersect_double_range_double_range),
15785 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15786 (gst_value_subtract_int_range_int_range),
15787 (gst_value_subtract_double_double_range),
15788 (gst_value_subtract_double_range_double_range),
15789 (gst_value_deserialize_fraction):
15791 Use gint, gdouble and gchar in our API instead of int, double and
15792 char (and make usage in gstvalue.c more consistent).
15794 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15796 * check/Makefile.am:
15797 * libs/gst/controller/Makefile.am:
15798 * libs/gst/dataprotocol/Makefile.am:
15799 fix up Makefile.am and remove GST_ENABLE_NEW
15801 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15805 * gst/base/Makefile.am:
15806 * gst/check/Makefile.am:
15807 * gst/elements/Makefile.am:
15808 * gst/net/Makefile.am:
15809 update LDFLAGS use some more
15811 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15813 * common/m4/gst-doc.m4:
15816 2005-11-26 Edward Hervey <edward@fluendo.com>
15818 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15819 This shouldn't issue a g_warning since it returns NULL if it
15820 couldn't find the plugin, and all functions using this behave
15821 properly on a NULL return. Switching to a GST_WARNING.
15823 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
15825 * gst/gstbin.c: (gst_bin_handle_message_func):
15826 Don't leak clock messages.
15828 2005-11-25 Wim Taymans <wim@fluendo.com>
15830 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15831 (gst_util_uint64_scale_int):
15832 Optimisations, remove unneeded vars.
15834 2005-11-25 Wim Taymans <wim@fluendo.com>
15836 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15837 Added more checks for the high precision uint64 cases.
15839 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15840 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15841 Implement high precision (guint64 * guint64) / guint64.
15843 2005-11-24 Wim Taymans <wim@fluendo.com>
15845 * gst/base/gstbasesrc.c: (gst_base_src_query):
15846 Fix wrong percentage query.
15848 * gst/gstutils.c: (gst_util_uint64_scale),
15849 (gst_util_uint64_scale_int):
15850 Add some more common cases that can be handled
15851 efficiently to _scale.
15853 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15855 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15856 (gst_mini_object_suite):
15857 don't use check calls from threads; check probably isn't
15858 threadsafe and using a lock to make it threadsafe would
15859 defeat the purpose of this check
15860 * gst/check/gstcheck.c:
15861 * gst/check/gstcheck.h:
15862 use GST_DEBUG some more
15864 2005-11-24 Wim Taymans <wim@fluendo.com>
15866 * gst/gstutils.c: (gst_util_uint64_scale),
15867 (gst_util_uint64_scale_int):
15868 Chain trivial case to _scale_int.
15870 2005-11-24 Wim Taymans <wim@fluendo.com>
15872 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15873 Added test for scaling.
15878 * gst/gstutils.c: (gst_util_uint64_scale_int):
15879 Implemented high precision scaling code.
15881 2005-11-24 Stefan Kost <ensonic@users.sf.net>
15884 do not crash on pad==NULL
15886 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15888 Patch by: Stefan Kost
15890 * common/gtk-doc.mak:
15891 * docs/gst/Makefile.am:
15892 * docs/libs/Makefile.am:
15893 Fix distcheck issues for the libraries docs build
15896 2005-11-24 Michael Smith <msmith@fluendo.com>
15898 * docs/manual/basics-helloworld.xml:
15899 Fix bug #315027: memory leak in example code in docs.
15901 2005-11-24 Michael Smith <msmith@fluendo.com>
15903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15904 Unlock the PREROLL_LOCK in a failure case.
15906 2005-11-24 Wim Taymans <wim@fluendo.com>
15908 * docs/gst/gstreamer-sections.txt:
15909 * gst/base/gstadapter.h:
15910 * gst/base/gstbasesink.h:
15911 * gst/base/gstbasesrc.h:
15912 * gst/base/gstbasetransform.h:
15913 * gst/base/gstpushsrc.h:
15914 * gst/elements/gstfakesink.h:
15915 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15916 * gst/elements/gstfakesrc.h:
15917 * gst/elements/gstfilesink.h:
15918 * gst/elements/gstfilesrc.h:
15921 * gst/gstbuffer.c: (_gst_buffer_copy):
15924 * gst/gstchildproxy.c:
15926 * gst/gstelement.c:
15927 * gst/gstelementfactory.c:
15928 * gst/gstelementfactory.h:
15930 * gst/gstghostpad.h:
15932 * gst/gstinterface.h:
15933 * gst/gstminiobject.c:
15934 * gst/gstminiobject.h:
15937 * gst/gstpadtemplate.h:
15938 * gst/gstpipeline.h:
15939 * gst/gstpluginfeature.h:
15942 * gst/gsttaglist.c:
15943 * gst/gsttaglist.h:
15944 * gst/gsttagsetter.c:
15945 * gst/gsttagsetter.h:
15948 * gst/gsttypefind.h:
15951 * gst/net/gstnetclientclock.c:
15952 * gst/net/gstnetclientclock.h:
15953 * gst/net/gstnettimepacket.c:
15954 * gst/net/gstnettimeprovider.c:
15955 * gst/net/gstnettimeprovider.h:
15958 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15960 * configure.ac: back to HEAD
15962 === release 0.9.6 ===
15964 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15967 releasing 0.9.6, "Always On Time"
15969 2005-11-23 Wim Taymans <wim@fluendo.com>
15971 * docs/gst/gstreamer-sections.txt:
15972 * gst/glib-compat.c:
15973 * gst/gsttagsetter.c:
15975 * gst/net/gstnetclientclock.c:
15976 * gst/net/gstnettimepacket.h:
15979 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15981 * docs/faq/using.xml:
15982 * docs/libs/tmpl/gstcontrol.sgml:
15983 * docs/manual/advanced-dparams.xml:
15984 * docs/manual/appendix-checklist.xml:
15985 * docs/manual/basics-elements.xml:
15986 * docs/pwg/other-source.xml:
15987 * docs/random/moving-plugins:
15989 * tools/gst-launch.1.in:
15990 remove mentions of sinesrc
15992 2005-11-23 Michael Smith <msmith@fluendo.com>
15994 * docs/gst/gstreamer-sections.txt:
15995 Update for new API and API changes.
15997 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15999 Documentation typo fix.
16000 * gst/net/gstnettimepacket.c:
16001 Documentation fixes for arguments.
16003 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
16005 * gst/gststructure.c: (gst_structure_get_fraction),
16006 (gst_structure_parse_value),
16007 (gst_structure_fixate_field_nearest_fraction):
16008 * gst/gststructure.h:
16009 * gst/gstutils.c: (gst_util_uint64_scale_int):
16011 * scripts/update-funcnames:
16013 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16014 Make gst_structure_fixate_field_nearest_fraction take a numerator
16015 and denominator argument instead of a GValue
16016 add gst_structure_get_fraction helper function.
16018 2005-11-23 Wim Taymans <wim@fluendo.com>
16020 * docs/design/part-TODO.txt:
16023 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16024 * gst/net/gstnetclientclock.h:
16025 Use parent fields for timeout and window_size.
16027 2005-11-23 Andy Wingo <wingo@pobox.com>
16029 * check/net/gstnetclientclock.c (test_functioning): Adjust to
16030 rate_num/rate_denom change.
16032 * gst/net/gstnetclientclock.c
16033 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16034 OBJECT_LOCK. Don't call add_observation with the lock.
16036 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16038 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16040 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16041 deal with rate as a fraction whose numerator and denominator are
16042 GstClockTime values.
16043 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16044 master; the other fields are protected by the SLAVE_LOCK.
16045 (do_linear_regression): Note that this must be called with the
16047 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16048 OBJECT_LOCK. Call set_calibration instead of touching the
16049 variables directly.
16050 (gst_clock_set_property, gst_clock_get_property): Protect
16051 master/slave parameters with the SLAVE_LOCK.
16053 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16054 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16055 note that all of the instance variables that add_observation and
16056 the set_master functions use are protected by that lock and not
16058 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16060 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16061 the caller to take the object lock.
16063 2005-11-23 Wim Taymans <wim@fluendo.com>
16065 * gst/gsterror.c: (_gst_core_errors_init):
16067 Add error for clock stuff.
16069 * gst/gstpipeline.c: (gst_pipeline_change_state),
16070 (gst_pipeline_set_clock):
16071 Post clock error when clock cannot be used in a pipeline.
16073 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16075 * docs/gst/gstreamer-sections.txt:
16076 make two symbols from gstinfo private for the docs
16077 * gst/base/gstcollectpads.h:
16079 fix doc typos, update docs
16081 2005-11-22 Wim Taymans <wim@fluendo.com>
16083 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16084 (gst_base_sink_wait), (gst_base_sink_do_sync),
16085 (gst_base_sink_handle_event):
16086 * gst/base/gstbasesink.h:
16087 No need to store the clock, the parent element class already
16090 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16091 Updates for clock_set returning a gboolean
16093 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16094 (gst_clock_id_wait_async), (gst_clock_class_init),
16095 (gst_clock_init), (gst_clock_finalize),
16096 (gst_clock_get_internal_time), (gst_clock_get_time),
16097 (gst_clock_slave_callback), (gst_clock_set_master),
16098 (gst_clock_get_master), (do_linear_regression),
16099 (gst_clock_add_observation), (gst_clock_set_property),
16100 (gst_clock_get_property):
16102 Implement master/slave. When setting a clock as a slave, a
16103 periodic timeout is scheduled to sample master and slave times.
16104 Then the slave clock is recalibrated to match offset and rate
16105 of the master clock.
16106 Update logging a bit.
16107 Add flag so that a clock can state that is cannot be slaved to
16110 * gst/gstelement.c: (gst_element_set_clock):
16111 * gst/gstelement.h:
16112 The set clock returns a gboolean for when an element cannot
16113 deal with the selected clock in the pipeline.
16115 * gst/gstpipeline.c: (gst_pipeline_change_state),
16116 (gst_pipeline_set_clock):
16117 * gst/gstpipeline.h:
16118 Handle the case where the selected clock cannot be set on
16121 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16122 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16123 (gst_net_client_clock_set_property),
16124 (gst_net_client_clock_get_property),
16125 (gst_net_client_clock_observe_times):
16126 * gst/net/gstnetclientclock.h:
16127 Use regression code in GstClock parent, remove duplicated
16130 2005-11-22 Michael Smith <msmith@fluendo.com>
16132 * gst/gstutils.c: (gst_util_clock_time_scale):
16134 * docs/gst/gstreamer-sections.txt:
16135 Rename method to have extra underscore.
16137 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16139 * gst/elements/Makefile.am:
16140 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16141 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16142 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16143 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16144 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16145 * gst/elements/gstfakesrc.h:
16146 * gst/gstqueue.c: (queue_leaky_get_type):
16147 correctly fix GEnumValues so that nick is the short lowercase
16149 * tools/gst-inspect.c: (print_element_properties_info):
16150 also show the nick, since it's useful to use from parse_launch
16154 2005-11-22 Michael Smith <msmith@fluendo.com>
16156 * gst/gstutils.c: (gst_util_clocktime_scale):
16158 * docs/gst/gstreamer-sections.txt:
16159 Add util method for scaling a clocktime by a fraction. Useful
16160 implementation is left as an exercise for the reader.
16162 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16164 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16165 If needed, allocate storage in the destination value during
16168 2005-11-22 Edward Hervey <edward@fluendo.com>
16170 * docs/gst/gstreamer-sections.txt:
16173 * gst/gsturitype.c:
16174 * gst/gsturitype.h:
16175 * gst/gstutils.c: (gst_util_set_object_arg):
16176 * tools/gst-compprep.c: (main):
16177 * tools/gst-inspect.c: (print_element_properties_info):
16178 Removed GstURI, closes bug #321061
16180 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16182 * check/gst/gststructure.c: (GST_START_TEST):
16183 * gst/gststructure.c: (gst_structure_parse_value):
16184 Oops, broke automatic string type parsing.
16185 Add a test to catch it in future.
16187 2005-11-22 Andy Wingo <wingo@pobox.com>
16189 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16190 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16191 Actually rename the function implementations. Grr.
16193 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16195 * check/gst/capslist.h:
16197 * check/gst/gststructure.c: (GST_START_TEST),
16198 (gst_structure_suite):
16199 Test automatic value type detection in gst_structure_from_string.
16200 * gst/gststructure.c: (gst_structure_parse_value):
16201 Add fraction as a type we try and guess automatically in
16202 caps/structure strings.
16204 2005-11-22 Andy Wingo <wingo@pobox.com>
16206 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16208 * gst/gsttagsetter.h:
16209 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16210 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16211 (gst_tag_setter_add_tag_valist)
16212 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16213 _add_values, _add_valist, and _add_valist_values. Since this is an
16214 interface the function suffixes should be more explicit so
16215 language binding don't end up with element.add_valist ->
16216 gst_tag_setter_add_valist, for example. Fixes #322069.
16218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16220 * check/gst/gstcaps.c: (GST_START_TEST):
16221 Extend caps string tests to check that a caps to string
16222 conversion is reversible and produces the same caps.
16224 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16225 Output "fraction" as the generic type fraction range, so caps
16226 serialisation and deserialisation works.
16227 * check/gst/capslist.h:
16228 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16229 Support 'MIN' and 'MAX' for deserialising fractions.
16231 2005-11-22 Andy Wingo <wingo@pobox.com>
16233 * gst/gstevent.h (gst_event_new_new_segment)
16234 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16235 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16236 Renamed from *_newsegment, *_buffersize, *_notarget.
16238 * scripts/update-funcnames: New script, performs the changes
16241 2005-11-22 Wim Taymans <wim@fluendo.com>
16243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16244 Make sure the GstFlowReturn is returned.
16246 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16247 (gst_bus_add_signal_watch):
16249 add gst_bus_add_signal_watch_full.
16251 * gst/gstplugin.c: (gst_plugin_load_file):
16252 Small style cleanup.
16254 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16256 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16257 Block the fakesrc srcpad when we send an event, to avoid
16258 contention on the stream_lock causing random test failures.
16260 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16262 * check/gst/gstvalue.c: (GST_START_TEST):
16263 * gst/gstvalue.c: (gst_value_fraction_subtract):
16266 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16269 include "gstchildproxy.h"
16270 * gst/gstchildproxy.h:
16271 * libs/gst/controller/gstcontroller.h:
16272 use G_GNUC_NULL_TERMINATED
16274 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16276 * check/gst/capslist.h:
16277 * check/gst/gstcaps.c: (GST_START_TEST):
16278 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16279 * gst/gststructure.c: (gst_structure_parse_range),
16280 (gst_structure_fixate_field_nearest_fraction):
16281 * gst/gststructure.h:
16282 * gst/gstvalue.c: (gst_value_init_fraction_range),
16283 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16284 (gst_value_collect_fraction_range),
16285 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16286 (gst_value_set_fraction_range_full),
16287 (gst_value_get_fraction_range_min),
16288 (gst_value_get_fraction_range_max),
16289 (gst_value_serialize_fraction_range),
16290 (gst_value_transform_fraction_range_string),
16291 (gst_value_compare_fraction_range),
16292 (gst_value_deserialize_fraction_range),
16293 (gst_value_intersect_fraction_fraction_range),
16294 (gst_value_intersect_fraction_range_fraction_range),
16295 (gst_value_subtract_fraction_fraction_range),
16296 (gst_value_subtract_fraction_range_fraction),
16297 (gst_value_subtract_fraction_range_fraction_range),
16298 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16299 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16300 (gst_value_transform_string_fraction), (_gst_value_initialize):
16302 Implement fraction ranges and extend GstFraction to support
16303 arithmetic subtraction, as well as deserialization from integer
16304 strings such as "100"
16305 Add a testsuite as for int and double range set operations
16307 2005-11-21 Andy Wingo <wingo@pobox.com>
16309 * gst/gsttaglist.h:
16311 * gst/gststructure.h: Add glib-compat.h.
16313 2005-11-21 Wim Taymans <wim@fluendo.com>
16315 * gst/gstbin.c: (gst_bin_change_state_func):
16318 2005-11-21 Wim Taymans <wim@fluendo.com>
16320 * gst/gstsegment.h:
16321 And add a nice define too.
16323 2005-11-21 Wim Taymans <wim@fluendo.com>
16325 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16326 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16327 (gst_segment_set_duration), (gst_segment_set_last_stop),
16328 (gst_segment_set_seek), (gst_segment_set_newsegment),
16329 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16330 (gst_segment_clip):
16331 * gst/gstsegment.h:
16332 Make binding friendly.
16334 2005-11-21 Andy Wingo <wingo@pobox.com>
16336 * gst/gsttagsetter.h:
16337 * gst/gsttaglist.h:
16338 * gst/gststructure.h:
16340 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16343 * gst/gsterror.c (_gst_core_errors_init):
16344 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16347 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16348 (noinst_HEADERS): noinst the -private.
16350 2005-11-21 Michael Smith <msmith@fluendo.com>
16353 * gst/gstregistry.h:
16354 Remove unimplemented declarations for which we can see no sensible
16357 2005-11-21 Andy Wingo <wingo@pobox.com>
16359 * gst/gst.h: Include glib-compat.h.
16361 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16363 * gst/glib-compat.c: Include the public and the private header.
16365 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16369 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16371 * check/gst/gstevent.c (create_custom_events): Check that
16372 FLUSH_STOP is serialized.
16374 * check/elements/identity.c (event_func):
16375 * check/elements/fakesrc.c (event_func): No stream lock, the core
16378 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16379 stream lock taking, yay.
16381 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16382 ensure that core takes the stream lock.
16384 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16387 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16388 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16389 it already. For the flush start we do take it though so we get the
16390 right preroll state change messages.
16392 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16393 the stream lock here, the core does it for us.
16395 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16396 GST_STREAM_GET_LOCK.
16397 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16398 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16399 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16400 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16401 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16402 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16404 * gst/gstpad.c: Update for stream lock name change.
16406 * gst/base/gstbasesink.c: Update for preroll lock name change.
16408 2005-11-21 Wim Taymans <wim@fluendo.com>
16410 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16411 (gst_clock_get_master):
16413 * gst/gstsystemclock.c: (gst_system_clock_init):
16414 Convert Clock flags to object flags.
16415 Added methods to manage master/slave clocks.
16417 2005-11-21 Wim Taymans <wim@fluendo.com>
16419 * check/gst/gstsegment.c: (GST_START_TEST):
16420 * docs/design/part-TODO.txt:
16421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16422 (gst_base_sink_event), (gst_base_sink_do_sync),
16423 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16424 (gst_base_sink_query), (gst_base_sink_change_state):
16425 * gst/base/gstbasesink.h:
16426 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16427 (gst_base_src_default_newsegment),
16428 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16429 (gst_base_src_get_range), (gst_base_src_loop),
16430 (gst_base_src_change_state):
16431 * gst/base/gstbasesrc.h:
16432 * gst/base/gstbasetransform.c:
16433 (gst_base_transform_prepare_output_buf),
16434 (gst_base_transform_event), (gst_base_transform_change_state):
16435 * gst/base/gstbasetransform.h:
16436 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16437 (gst_collect_pads_event):
16438 * gst/base/gstcollectpads.h:
16439 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16440 (gst_fake_src_create):
16441 * gst/elements/gstfakesrc.h:
16442 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16443 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16444 (gst_segment_set_last_stop), (gst_segment_set_seek),
16445 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16446 (gst_segment_to_running_time), (gst_segment_clip):
16447 * gst/gstsegment.h:
16448 More segment updates, replace code in plugins with segment
16451 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16453 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16454 Don't ignore sscanf results
16456 2005-11-21 Andy Wingo <wingo@pobox.com>
16458 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16461 * *.c: Ran scripts/update-macros. Oh yes.
16463 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16464 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16467 * scripts/update-macros: New script. Run it on your files to
16468 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16471 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16473 * docs/gst/Makefile.am:
16474 * docs/gst/gstreamer-docs.sgml:
16475 * docs/gst/gstreamer-sections.txt:
16476 * docs/gst/gstreamer.types:
16478 more docs fixes, add new api to the docs
16480 2005-11-21 Andy Wingo <wingo@pobox.com>
16482 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16483 state_broadcast call.
16485 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16487 2005-11-21 Julien MOUTTE <julien@moutte.net>
16489 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16490 function calls for arrays.
16492 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16494 * docs/random/ensonic/media-device-daemon.txt:
16495 wild idea, can this be done?
16496 * docs/gst/gstreamer-sections.txt:
16501 * gst/gstpluginfeature.c:
16505 doc fixes and additions
16507 2005-11-21 Andy Wingo <wingo@pobox.com>
16509 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
16510 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
16511 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
16512 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16513 private to the basesrc implementation.
16515 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16516 behalf of event function if necessary. It should no longer be
16517 necessary to take the stream lock in pad's event functions. Fixes
16520 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16521 * docs/gst/gstreamer-sections.txt:
16522 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16523 (gst_structure_fixate_field_nearest_double),
16524 (gst_structure_fixate_field_boolean):
16525 * gst/gststructure.h:
16526 * win32/common/libgstreamer.def:
16527 * win32/gstreamer.def:
16529 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16532 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16534 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16535 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16536 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16537 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16538 (gst_fdsrc_uri_handler_init):
16539 * gst/elements/gstfdsrc.h:
16540 Port fd:// URI handler from 0.8 to fdsrc
16542 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16544 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16545 (gst_value_serialize_fourcc):
16547 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16548 consistent with our other format defines (#320324).
16550 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16552 * gst/gstvalue.c: (gst_value_is_fixed):
16553 Revert previous commit. Value lists are by definition
16554 not fixed, as they are a list of possible values.
16556 2005-11-21 Andy Wingo <wingo@pobox.com>
16558 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16559 during the stable series if we need it. Fixes #319178.
16561 * gst/gstevent.c (gst_event_new_filler): Removed.
16563 * check/gst/gstevent.c: Update comment about filler events.
16565 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16567 * gst/gstvalue.c: (gst_value_is_fixed):
16568 Should handle both value arrays and value lists.
16570 2005-11-21 Andy Wingo <wingo@pobox.com>
16572 patch by: Alessandro Dessina <alessandro nnva org>
16574 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16575 functions to access arrays. Fixes #321962.
16577 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16579 * docs/gst/gstreamer.types:
16580 gst_collectpads_get_type => gst_collect_pads_get_type.
16582 * gst/base/gstbasetransform.c:
16583 Remove unused SIGNAL_HANDOFF enum.
16585 2005-11-21 Andy Wingo <wingo@pobox.com>
16587 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16588 the event type (upstream, downstream, serialized). Renamed
16589 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16590 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16591 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16593 * gst/gstevent.c: Update for new CUSTOM event names.
16595 * check/gst/gstevent.c: Update check for new CUSTOM event names.
16598 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16601 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16603 * docs/gst/gstreamer-sections.txt:
16604 * win32/common/libgstbase.def:
16605 * win32/libgstbase.def:
16606 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16607 (gst_collect_pads_class_init), (gst_collect_pads_init),
16608 (gst_collect_pads_finalize), (gst_collect_pads_new),
16609 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16610 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16611 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16612 (gst_collect_pads_start), (gst_collect_pads_stop),
16613 (gst_collect_pads_peek), (gst_collect_pads_pop),
16614 (gst_collect_pads_available), (gst_collect_pads_read),
16615 (gst_collect_pads_flush), (gst_collect_pads_event),
16616 (gst_collect_pads_chain):
16617 * gst/base/gstcollectpads.h:
16618 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16619 unimplemented functions as unimplemented. Add padding to
16620 GstCollectData. (#320766, #320423)
16622 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16624 * gst/gstmessage.c:
16625 Improve docs for DURATION message (usage of duration parameter)
16628 2005-11-20 Wim Taymans <wim@fluendo.com>
16630 * check/Makefile.am:
16631 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16635 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16636 (gst_segment_set_seek), (gst_segment_set_newsegment),
16637 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16638 (gst_segment_clip):
16639 * gst/gstsegment.h:
16640 Added segment helper structure and methods. Not fully implemented
16642 Added segment check.
16644 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
16646 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16647 Add a deserialisation test for fractions
16648 * examples/metadata/read-metadata.c: (message_loop),
16649 (make_pipeline), (main):
16650 Fix up metadata reading sample.
16651 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16653 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16654 Don't try and fixate empty caps
16655 * gst/gst_private.h:
16656 Wrap in G_BEGIN_DECLS/G_END_DECLS
16657 * gst/gstvalue.c: (gst_value_collect_fraction),
16658 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16659 (gst_value_transform_string_fraction),
16660 (gst_value_compare_fraction):
16661 Add some extra guards to ensure that we don't end up
16662 with an invalid denominator of 0 in a gstfraction and
16663 that fractions always get reduced.
16665 2005-11-20 Wim Taymans <wim@fluendo.com>
16667 * docs/gst/gstreamer-sections.txt:
16669 * gst/gstelement.c:
16678 2005-11-20 Wim Taymans <wim@fluendo.com>
16680 * docs/design/part-TODO.txt:
16682 Make a proper enum of the flag.
16684 2005-11-19 Wim Taymans <wim@fluendo.com>
16686 * docs/design/part-TODO.txt:
16687 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16688 (gst_format_to_quark), (gst_format_register):
16690 * gst/gstquery.c: (_gst_query_initialize),
16691 (gst_query_type_get_name), (gst_query_type_to_quark),
16692 (gst_query_type_register):
16694 Add type to quark and type to string conversions.
16696 2005-11-19 Andy Wingo <wingo@pobox.com>
16698 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16701 2005-11-19 Wim Taymans <wim@fluendo.com>
16703 * docs/design/part-TODO.txt:
16704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16705 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16706 (gst_bin_handle_message_func):
16708 Make message handling overridable.
16710 2005-11-19 Andy Wingo <wingo@pobox.com>
16712 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16715 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16717 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16718 is a GstClockTime. Fixes #321710.
16720 * gst/gstclock.h (GstClock): Remove offset property. Add
16721 internal_calibration and external_calibration. Fix padding. Pad
16722 also by GstClockTime so we don't run into problems.
16724 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16725 (gst_clock_get_rate_offset): Remove.
16726 (gst_clock_set_time_adjust): Remove. Fixes #321712.
16729 * gst/gstutils.c (g_static_rec_cond_wait)
16730 (g_static_rec_cond_timed_wait): Removed, no longer needed.
16732 * gst/gstbin.c: Remove terrible continue_state prototype.
16734 * gst/gstelement.h (gst_element_continue_state): Make public.
16736 * gst/gstelement.h:
16737 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16738 by continue_state. Fixes #319389.
16740 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16741 Really fixes #168438. However I don't see anywhere where the
16742 filter function is called... stupid GStreamer...
16744 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16745 don't have a dispose function, so it won't get called when the
16746 object is unreffed, but oh well!
16748 * gst/gstindex.c (gst_index_set_filter_full): New API function,
16749 allows a destroy function to be set so user_data can be freed.
16751 (gst_index_set_filter): Call gst_index_set_filter_full.
16753 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16755 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16756 string should produce an error, given the lack of a way to
16757 represent NULL strings. Fixes #165650.
16760 * gst/gstvalue.c (gst_value_array_append_value)
16761 (gst_value_array_prepend_value, gst_value_array_get_size)
16762 (gst_value_array_get_value): New API, copied from
16763 gst_value_list_*, only operates on arrays.
16764 (gst_value_list_append_value, gst_value_list_prepend_value)
16765 (gst_value_list_concat, gst_value_list_get_size)
16766 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16768 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16769 init_list, because it works on both.
16770 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16771 (gst_value_copy_list_or_array): Renamed from copy_list.
16772 (gst_value_free_list_or_array): Renamed from free_list.
16773 (gst_value_collect_list_or_array): Renamed from collect_list.
16774 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16775 (gst_value_list_or_array_peek_pointer): Renamed from
16777 (_gst_value_array_value_table, _gst_value_list_value_table):
16778 Update value table functions.
16779 (gst_value_compare_list_or_array): Renamed from compare_list.
16781 * gsttaglist.h: Whoops, foreach function returns void. Also fix
16784 * gst/gsttaglist.c:
16785 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16786 GstTagList*. Fixes #143472.
16788 * gst/gststructure.h: Clarify what the foreach/map functions can
16789 or can't do to their arguments.
16791 2005-11-18 Wim Taymans <wim@fluendo.com>
16793 * gst/gstclock.c: (gst_clock_set_calibration),
16794 (gst_clock_get_calibration):
16796 Calibration can be set with internal time equal to current
16799 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
16805 2005-11-18 Andy Wingo <wingo@pobox.com>
16808 * pkgconfig/gstreamer-net.pc.in:
16809 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16810 * pkgconfig/Makefile.am: Add net pkgconfig files.
16812 2005-11-18 Stefan Kost <ensonic@users.sf.net>
16815 * gst/gstghostpad.c:
16821 2005-11-18 Andy Wingo <wingo@pobox.com>
16823 * gst/net/gstnetclientclock.c: Turn off debugging.
16825 * check/net/gstnetclientclock.c (test_functioning): Assert that the
16826 times connverge somewhat. Can't make a real test.
16828 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16829 integer arithmetic. Return the minimum of the domain, which can be
16830 set as "internal" for gst_clock_set_calibration.
16831 (gst_net_client_clock_observe_times): Call _set_calibration.
16832 (gst_net_client_clock_new): Call _set_calibration instead of
16835 * check/net/gstnetclientclock.c (test_functioning): Use the right
16839 * gst/gstclock.c (gst_clock_get_calibration)
16840 (gst_clock_set_calibration): New functions, obsolete the ones I
16841 added yesterday. Doh. Precision issues mean we have to extrapolate
16842 from a point in the more recent past than 1970.
16843 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16845 (gst_clock_adjust_unlocked): Use the right calibration data.
16847 2005-11-18 Edward Hervey <edward@fluendo.com>
16849 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16850 Also reset the ->current_* values in READY->PAUSED
16852 2005-11-18 Andy Wingo <wingo@pobox.com>
16854 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16855 Whoops, check the right fd. Also add some debugging.
16856 (gst_net_client_clock_observe_times): Adjust for int64 offset.
16857 (do_linear_regression): Add a crapload of debugging. Subtract off
16858 the minimum values from the input series to discard unneeded bits.
16859 Use only int arithmetic. There is still double arithmetic when
16860 calculating the intercept that needs fixing. Return boolean to
16861 indicate success; FALSE would mean the domain or range is too
16862 great. Still needs fixes.
16864 2005-11-18 Wim Taymans <wim@fluendo.com>
16866 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16867 For the current position in stream time, we need to subtract
16870 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16871 Release lock before calling the callback function of async
16874 2005-11-18 Andy Wingo <wingo@pobox.com>
16876 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16877 Port goes all the way to MAXUINT16.
16879 * gst/net/gstnettimeprovider.c: Make the port range the same as
16880 for the kernel: 0 assigns, otherwise ports are less than
16883 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16886 * check/net/gstnetclientclock.c (test_functioning): Add the start
16889 2005-11-18 Wim Taymans <wim@fluendo.com>
16891 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16892 (gst_bin_remove_func), (bin_bus_handler):
16894 Removing a clock provider from a bin, triggers a clock lost message
16895 so that a new clock will be selected.
16896 Adding a clock to a bin triggers a clock provider message.
16897 Make sure we reselect a clock when we received a clock lost message.
16898 Keep a reference to the element that provided the clock.
16900 2005-11-18 Andy Wingo <wingo@pobox.com>
16902 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16903 the clock initially so it produces values around the base time.
16904 (gst_net_client_clock_class_init): Typo fix.
16905 (gst_net_client_clock_thread): Add note on when the socket gets
16908 2005-11-17 Wim Taymans <wim@fluendo.com>
16910 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16911 Free remote and local time arrays.
16913 2005-11-17 Wim Taymans <wim@fluendo.com>
16915 * gst/net/gstnetclientclock.c: (do_linear_regression),
16916 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16917 Fix compilation, uninitialized vars and a forgotten continue.
16919 2005-11-17 Andy Wingo <wingo@pobox.com>
16921 * check/Makefile.am (check_PROGRAMS):
16922 * check/net/gstnetclientclock.c: Add a most minimal test for the
16923 net client clock. More to come later.
16925 * gst/net/gstnet.h:
16926 * gst/net/Makefile.am: Add netclientclock.
16928 * gst/net/gstnetclientclock.h:
16929 * gst/net/gstnetclientclock.c: New files, implement an untested
16930 GstClock that takes its time from a network time provider.
16931 Implements the algorithm in network-clock.scm.
16933 * tests/network-clock.scm (*window-size*): Rename from
16935 * tests/network-clock.scm (network-time):
16936 * tests/network-clock-utils.scm (q-push): Update callers.
16938 2005-11-17 Wim Taymans <wim@fluendo.com>
16940 * gst/gstbin.c: (gst_bin_provide_clock_func),
16941 (gst_bin_sort_iterator_new):
16942 And unref the child too..
16944 2005-11-17 Wim Taymans <wim@fluendo.com>
16946 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16947 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16948 Refactor the sort iterator so it can be used while holding the
16950 Make clock selection select a clock closest to the source.
16952 2005-11-17 Michael Smith <msmith@fluendo.com>
16954 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16955 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16957 Anonymous structs are a gcc (and some other compilers) extension, so
16958 don't use them. Since this is only for ABI-compatibility, and our
16959 API/ABI freeze is over in a few days, this whole thing will only
16960 last a few days, so don't bother trying to think up a meaningful
16961 name for the struct.
16963 2005-11-17 Andy Wingo <wingo@pobox.com>
16965 * gst/gstclock.h (GstClock): Add rate and offset properties,
16966 preserving ABI stability. Add rate/offset accessors. Will file bug
16967 for the freeze break.
16969 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16970 and offset, trying to keep precision and avoiding
16971 underflow/overflow.
16972 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16973 functions. Make gst_clock_set_time_adjust obsolete.
16974 (gst_clock_set_time_adjust): Note that this function is obsolete.
16975 Will file bug soon.
16977 * gst/base/gstbasetransform.h: Make the ABI-stability hack
16978 greppable by using GST_PADDING-1+1.
16980 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
16982 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16984 * gst/gstmessage.c: (gst_message_parse_clock_lost):
16985 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16987 * gst/gstpadtemplate.h:
16988 * gst/gstpluginfeature.h:
16989 Don't use c++ style comments in headers (#321638).
16991 2005-11-16 Andy Wingo <wingo@pobox.com>
16993 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16996 * check/net/gstnettimeprovider.c: Check to see that the time
16997 provider actually provides times. Works, yo!
16999 2005-11-16 Wim Taymans <wim@fluendo.com>
17001 * check/Makefile.am:
17004 * check/elements/fakesrc.c: (GST_START_TEST):
17005 Set element to NULL before disposing it.
17007 2005-11-16 Andy Wingo <wingo@pobox.com>
17009 * gst/net/Makefile.am:
17010 * gst/net/gstnet.h:
17011 * gst/net/gstnettimeprovider.c:
17012 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17013 provider, include it from gstnet.h, and add it to the build.
17015 * gst/net/gstnettimepacket.h:
17016 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17017 sending and receiving.
17019 2005-11-16 Wim Taymans <wim@fluendo.com>
17021 * check/Makefile.am:
17022 Enable valgrind check.
17024 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17025 (gst_fake_src_alloc_buffer):
17028 2005-11-16 Wim Taymans <wim@fluendo.com>
17030 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17031 Call parent finalize too.
17033 2005-11-16 Wim Taymans <wim@fluendo.com>
17035 * check/Makefile.am:
17036 Enable valgrind check that should work fine now.
17038 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17039 * gst/gstqueue.c: (gst_queue_init):
17040 Fix memleaks in pad allocation.
17042 2005-11-16 Andy Wingo <wingo@pobox.com>
17044 * gst/net/Makefile.am:
17045 * gst/net/gstnet.h: New part of core to hold network elements and
17046 objects. Put in core because it exposes API that applications want
17047 to use. The library is named libgstnet-tempname right now because
17048 of the existing libgstnet in gst-plugins-base. Solution is
17049 probably to rename the one in plugins-base; will file a bug for
17052 * gst/net/gstnettimeprovider.c:
17053 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17054 get_time call over the network.
17057 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17059 * check/Makefile.am:
17060 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17061 get additions shortly.
17063 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17065 * gst/gstpad.c: (gst_pad_new_from_static_template):
17067 add gst_pad_new_from_static_template functions
17068 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17069 (gst_check_setup_sink_pad):
17070 * gst/elements/gsttee.c: (gst_tee_init):
17073 2005-11-16 Wim Taymans <wim@fluendo.com>
17075 * gst/gstpad.c: (gst_pad_pause_task):
17076 Removed warning, it's not really an error either.
17078 2005-11-16 Wim Taymans <wim@fluendo.com>
17080 * gst/base/gstbasetransform.c:
17081 (gst_base_transform_prepare_output_buf),
17082 (gst_base_transform_event):
17083 Check if the caps are NULL, this can happen if the element
17084 is shutting down and the pad caps are set to NULL.
17086 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17088 * gst/elements/gsttee.c: (gst_tee_init):
17089 fix pad template leak in tee
17091 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17093 * gst/glib-compat.c: (g_value_dup_gst_object):
17094 * gst/glib-compat.h:
17095 * gst/gstpad.c: (gst_pad_set_property):
17096 use gst_object_ref when setting the pad template; this will
17097 trigger the pad template leaks on GLib 2.6 and the slaves
17099 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17101 * gst/glib-compat.c: (gst_flags_get_first_value):
17102 * gst/glib-compat.h:
17103 * gst/gstregistryxml.c:
17104 remove functions copied from GLib 2.6
17106 2005-11-16 Michael Smith <msmith@fluendo.com>
17109 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17110 do, but only breaks with newer valgrind versions. We're not a
17111 valgrind tool, we have no link-time dependencies on libcoregrind.
17113 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17115 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17117 * gst/gstmessage.h:
17120 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17122 * gst/base/gstbasesrc.c: (gst_base_src_init):
17123 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17124 * gst/gstqueue.c: (gst_queue_init):
17125 * gst/gstregistryxml.c: (load_feature):
17126 Revert all these unrefs, they don't even pass make check !
17128 2005-11-15 Johan Dahlin <johan@gnome.org>
17130 * gst/base/gstbasesrc.c: (gst_base_src_init):
17131 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17132 * gst/gstqueue.c: (gst_queue_init):
17133 Free pad templates, fixes a couple of leaks.
17135 2005-11-15 Daniel Fischer <dan at f3c dot com>
17137 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17139 * gst/gstpad.c: (gst_pad_get_property):
17140 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17141 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17144 2005-11-15 Wim Taymans <wim@fluendo.com>
17149 2005-11-15 Andy Wingo <wingo@pobox.com>
17151 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17153 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17154 using GST_CLOCK_TIME_NONE to disable base time management.
17155 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17156 time if it was NONE before.
17157 (gst_pipeline_change_state): Only munge the base time if
17158 stream_time != GST_CLOCK_TIME_NONE.
17160 * check/gst/gstpipeline.c (test_base_time): Punt around the
17161 problem of the probe not being called, because that's not the
17162 issue I'm looking at. Add a check that setting stream_time to NONE
17163 disables base time management.
17165 2005-11-15 Wim Taymans <wim@fluendo.com>
17167 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17168 segment_stop == -1 at startup.
17170 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17171 (gst_base_transform_change_state):
17172 Init segment values at start.
17174 2005-11-15 Wim Taymans <wim@fluendo.com>
17176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177 0 segment values are 0 in any format.
17179 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17180 * gst/base/gstbasetransform.h:
17181 Parse newsegment correctly in basetransform
17183 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17184 Sync to clock using updated segment values.
17186 2005-11-15 Andy Wingo <wingo@pobox.com>
17188 * check/gst/gstpipeline.c (test_base_time): Add check that the
17189 base time and stream time are reset correctly.
17191 2005-11-15 Wim Taymans <wim@fluendo.com>
17193 * docs/design/part-TODO.txt:
17194 Some more TODO items.
17196 2005-11-15 Andy Wingo <wingo@pobox.com>
17198 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17199 error if the user selected "no clock" as the clocking method.
17201 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17202 timestamps with live capture.
17204 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17205 is 0 but we are a live source, timestamp the buffers using the
17208 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17210 * docs/gst/gstreamer-sections.txt:
17212 * gst/gstghostpad.c:
17217 2005-11-14 Wim Taymans <wim@fluendo.com>
17220 add suppressions from Wim's Debian machine
17222 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17225 add suppressions from Andy's AMD64 Ubuntu machine
17227 2005-11-14 Andy Wingo <wingo@pobox.com>
17229 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17230 STATE_LOCK not necessary. Fixes #311489.
17232 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17235 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17236 this function is not implemented.
17238 2005-11-14 Julien MOUTTE <julien@moutte.net>
17240 * gst/base/gstbasetransform.c:
17241 (gst_base_transform_prepare_output_buf):
17242 Ref the source pad caps while we need them.
17245 2005-11-11 Wim Taymans <wim@fluendo.com>
17247 * docs/gst/gstreamer-sections.txt:
17248 Added some docs for GstCollectData.
17250 * gst/base/gstadapter.c:
17251 Some small code example fix.
17253 * gst/base/gstcollectpads.c:
17254 * gst/base/gstcollectpads.h:
17255 Document some more.
17257 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17259 * configure.ac: back to HEAD
17261 === release 0.9.5 ===
17263 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17266 releasing 0.9.5, "Bike Lunch Day"
17268 2005-11-11 Wim Taymans <wim@fluendo.com>
17270 * gst/gstbuffer.c: (_gst_buffer_copy):
17273 * gst/gstcaps.c: (gst_caps_is_equal):
17275 Make _is_equal fast in the trivial cases.
17277 * gst/gstminiobject.c:
17278 * gst/gstminiobject.h:
17279 More docs. Spifify .h file.
17284 2005-11-11 Wim Taymans <wim@fluendo.com>
17286 * gst/base/gstbasetransform.c:
17287 (gst_base_transform_prepare_output_buf),
17288 (gst_base_transform_handle_buffer):
17290 If we're processing a buffer and need to allocate an output
17291 buffer, we cannot accept a format change. If we did get a
17292 format change, we have to alloc a buffer ourselves of the
17295 2005-11-11 Wim Taymans <wim@fluendo.com>
17297 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17298 While checking the flag for reentrancy in the gstcaps function
17299 is nice to detect recursive invocations, it also makes it
17300 impossible to call getcaps from multiple threads, which must be
17301 possible. So, checking for recursive calls has to go.
17303 2005-11-11 Michael Smith <msmith@fluendo.com>
17305 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17306 Don't sync on buffers that fall partially outside our current
17307 segment. Prevents an assertion failure/abort playing some files.
17309 2005-11-10 Andy Wingo <wingo@pobox.com>
17311 * check/gst/gstbin.c (test_message_state_changed_children): Style
17314 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17315 gst_bus_poll with the signal watch. Ensures that poll and a signal
17316 watch see the same messages.
17318 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17319 a poll and a watch at the same time get the same messages.
17321 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17323 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17324 * gst/gstcaps.c: (gst_caps_intersect):
17325 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17326 and it's not needed.
17328 2005-11-10 Wim Taymans <wim@fluendo.com>
17330 * docs/design/part-TODO.txt:
17333 2005-11-10 Wim Taymans <wim@fluendo.com>
17335 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17336 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17337 (gst_base_src_do_sync), (gst_base_src_get_range):
17338 Implement clock sync in base class.
17340 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17342 patch by: Tim-Philipp Müller <tim at centricular dot net>
17344 * gst/gststructure.c: (gst_structure_parse_field),
17345 (gst_structure_from_string):
17346 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17347 so that gst_parse_launch() can deal with spaces in filtered link
17348 caps (fixes #164479)
17349 * check/gst/capslist.h:
17350 * check/gst/gststructure.c: (GST_START_TEST):
17351 add unit tests for this change
17353 2005-11-10 Wim Taymans <wim@fluendo.com>
17355 * docs/gst/gstreamer-sections.txt:
17356 * gst/gstelement.c:
17357 * gst/gstelement.h:
17358 Fix docs, move some STATE macros to private.
17360 2005-11-10 Wim Taymans <wim@fluendo.com>
17362 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17363 Added check for bug #317341
17367 Some more spiffifying.
17369 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17370 Call peer linkfunction if we are a source pad. Totally fixes
17374 Update docs, source pads should call the peer linkfunction
17375 so they can atomically perform the pad link.
17377 2005-11-09 Wim Taymans <wim@fluendo.com>
17381 Uber-spiffy-spiffify some more.
17383 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17385 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17386 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17387 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17388 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17389 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17390 * gst/gstpad.c: (gst_pad_init):
17391 Use GST_DEBUG_FUNCPTR() more extensively.
17393 2005-11-09 Wim Taymans <wim@fluendo.com>
17395 * gst/gstobject.c: (gst_object_class_init):
17397 Documentation fixes.
17399 2005-11-09 Edward Hervey <edward@fluendo.com>
17401 * gst/gsttypefindfactory.c:
17404 2005-11-09 Edward Hervey <edward@fluendo.com>
17406 * gst/base/gsttypefindhelper.c:
17407 * gst/gsttypefind.c:
17408 * gst/gsttypefind.h:
17411 2005-11-09 Wim Taymans <wim@fluendo.com>
17413 * gst/gstiterator.c:
17420 2005-11-09 Wim Taymans <wim@fluendo.com>
17426 2005-11-09 Wim Taymans <wim@fluendo.com>
17428 * docs/gst/gstreamer-sections.txt:
17429 Moved the message async delivery private lock and cond
17430 to the private section.
17432 * gst/gstmessage.c:
17433 * gst/gstmessage.h:
17436 2005-11-09 Edward Hervey <edward@fluendo.com>
17438 * docs/gst/gstreamer-sections.txt:
17441 Document GstURIHandler
17443 2005-11-09 Wim Taymans <wim@fluendo.com>
17445 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17446 (gst_iterator_find_custom):
17447 * gst/gstiterator.h:
17450 2005-11-09 Wim Taymans <wim@fluendo.com>
17453 Document another field.
17455 * gst/gststructure.c:
17456 * gst/gststructure.h:
17459 2005-11-09 Wim Taymans <wim@fluendo.com>
17462 Documented structs.
17464 2005-11-09 Wim Taymans <wim@fluendo.com>
17466 * docs/gst/gstreamer-sections.txt:
17467 Added some new macros.
17474 2005-11-09 Wim Taymans <wim@fluendo.com>
17476 * docs/design/part-TODO.txt:
17477 Some more items for the TODO
17483 2005-11-09 Andy Wingo <wingo@pobox.com>
17485 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17486 to work on something else now tho...
17488 * gst/base/gstadapter.c: More adapter docs.
17490 * gst/elements/gstfilesink.c (gst_file_sink_start)
17491 (gst_file_sink_stop): New functions, replace the state change
17493 (gst_file_sink_class_init): Hook up the start and stop functions.
17494 (gst_file_sink_base_init): Don't set the state change handler any
17495 more. It was a bit ugly too, being set from here...
17496 (gst_file_sink_get_property, gst_file_sink_set_property):
17498 (gst_file_sink_set_location): More robust check that doesn't call
17499 GST_STATE. Ugggggg.
17501 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
17503 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17504 Hold STREAM_LOCK while pushing newsegment or tag events as well.
17506 2005-11-08 Wim Taymans <wim@fluendo.com>
17508 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17509 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17510 (gst_base_sink_chain), (gst_base_sink_change_state):
17511 * gst/base/gstbasesink.h:
17512 * gst/base/gstbasesrc.h:
17513 * gst/gstelement.h:
17515 Avoid excessive typechecking in macros.
17517 * gst/gstminiobject.c: (gst_mini_object_get_type),
17518 (gst_mini_object_init), (gst_mini_object_new),
17519 (gst_mini_object_free):
17520 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17521 (gst_object_finalize):
17522 Remove cruft code, optimize alloc_trace.
17524 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
17526 * docs/faq/gst-uninstalled:
17527 fix up PS1 for systems that try to reset it
17529 2005-11-07 Wim Taymans <wim@fluendo.com>
17531 * gst/base/gstbasesrc.c: (gst_base_src_init),
17532 (gst_base_src_get_range):
17533 Set the segment_end to -1 initially. Fixed typefind.
17535 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
17537 * gst/base/gstadapter.c:
17538 Debug category should be 'adapter', not 'GstAdapter'.
17540 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17541 (gst_collectpads_class_init), (gst_collectpads_init),
17542 (gst_collectpads_peek), (gst_collectpads_pop),
17543 (gst_collectpads_event), (gst_collectpads_chain):
17544 Add debug category and some debugging output. Use boilerplate
17545 macros. Remove some extraneous words from docs.
17547 2005-11-05 Andy Wingo <wingo@pobox.com>
17549 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17552 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17554 * docs/gst/gstreamer-sections.txt:
17557 * gst/gstminiobject.h:
17562 2005-11-04 Wim Taymans <wim@fluendo.com>
17564 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17565 Small update to stop at the configured segment_end
17568 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17570 * gst/gstregistry.c:
17571 * gst/gstregistry.h:
17574 2005-11-04 Edward Hervey <edward@fluendo.com>
17576 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17577 Check if we are doing a segment seek and have arrived at the
17578 end of that segment.
17580 2005-11-04 Wim Taymans <wim@fluendo.com>
17582 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17583 Don't leak a mutex unlock in case of an error.
17588 2005-11-04 Wim Taymans <wim@fluendo.com>
17590 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17592 Get the context to wake up only once.
17594 2005-11-03 Wim Taymans <wim@fluendo.com>
17596 * check/states/sinks.c: (GST_START_TEST):
17597 Uncomment fixed check.
17599 * docs/design/part-TODO.txt:
17602 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17603 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17604 (gst_base_sink_get_position):
17605 If we are going to PLAYING, post the right pending state
17606 when we post the intermediate paused message.
17608 * gst/gstelement.c: (gst_element_continue_state),
17609 (gst_element_set_state_func), (gst_element_change_state):
17610 Don't post state changes that were between the same state
17611 and were not ASYNC.
17613 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17615 * docs/gst/gstreamer-sections.txt:
17618 * gst/gstminiobject.h:
17621 more docs and doc style fixes
17623 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17625 * docs/gst/gstreamer-sections.txt:
17626 * gst/gstelement.c:
17627 * gst/gstminiobject.c:
17630 2005-11-03 Andy Wingo <wingo@pobox.com>
17632 * check/states/sinks.c (test_livesrc_sink): Add checks that the
17633 state-changed messages actually have the right order and the right
17636 2005-11-03 Wim Taymans <wim@fluendo.com>
17638 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17639 Added some more checks. Specifically the case where NO_PREROLL
17640 elements are in the pipeline.
17642 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17643 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17644 (gst_base_sink_get_position):
17645 Post READY->PAUSED state change messages too.
17646 Fix bug where VOID was posted as pending state...
17648 * gst/gstbin.c: (gst_bin_recalc_state):
17649 use _element_continue_state() to continue the state change.
17651 * gst/gstelement.c: (gst_element_continue_state),
17652 (gst_element_commit_state), (gst_element_set_state_func),
17653 (gst_element_change_state), (gst_element_change_state_func):
17654 Lots of state change cleanups, assign the STATE_RETURN in
17655 a new continue_state() function that also propagates the
17656 last return value from a state change to the app.
17657 Update some debug statements with proper category.
17659 2005-11-03 Wim Taymans <wim@fluendo.com>
17661 * docs/design/part-events.txt:
17662 * docs/design/part-gstpipeline.txt:
17663 * docs/design/part-messages.txt:
17664 * docs/design/part-overview.txt:
17665 * docs/design/part-seeking.txt:
17666 * docs/design/part-states.txt:
17667 * docs/design/part-trickmodes.txt:
17668 * docs/manual/advanced-position.xml:
17669 Small docs updates.
17672 People think !! is ugly, this looks better.
17674 * gst/gstpad.c: (gst_pad_set_blocked_async):
17675 Remove !! since it's fixed elsewhere now.
17677 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17679 * gst/gstminiobject.h:
17681 Add !! to _FLAG_IS_SET macros to make the result boolean.
17683 2005-11-03 Edward Hervey <edward@fluendo.com>
17685 * gst/gstpad.c: (gst_pad_set_blocked_async):
17686 comparing a flag and a gboolean rarely returns coherent results...
17687 Added two characters (!!) to make that work correctly.
17689 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17691 * gst/gstbus.c: (gst_bus_class_init):
17694 * gst/gstqueue.c: (gst_queue_loop):
17695 Don't assume a miniobject that isn't a buffer is an
17696 event (it could be that there is a refcounting
17697 problem somewhere and the pointer is stale and
17698 refers to an already destroyed miniobject).
17700 2005-11-03 Julien MOUTTE <julien@moutte.net>
17702 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17704 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17706 * docs/manual/advanced-position.xml:
17707 Update seek example and explanations to current 0.9 API.
17709 * gst/elements/gsttypefindelement.c:
17710 (gst_type_find_element_activate):
17711 Remove FIXME comment now that the found caps
17714 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17716 * gst/gstregistryxml.c: (load_feature):
17717 Add another GST_STR_NULL instance
17719 2005-11-02 Edward Hervey <edward@fluendo.com>
17721 * gst/gstpad.c: (handle_pad_block):
17722 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17724 2005-11-02 Wim Taymans <wim@fluendo.com>
17729 * gst/gstelement.c: (gst_element_commit_state):
17730 Remove unused value.
17732 * gst/gstiterator.c:
17733 Mention that the returned element is reffed in the docs.
17735 2005-11-02 Wim Taymans <wim@fluendo.com>
17737 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17738 (gst_pad_push), (gst_pad_push_event):
17739 Unlock blocked pads when they are flushed.
17741 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17744 * docs/gst/gstreamer-sections.txt:
17747 * gst/gstregistry.c: (gst_registry_scan_path_level):
17748 fix for a nasty little missed situation where an installed plug-in
17749 which was in the cache did not get overridden by an uninstalled one
17750 which was earlier in the plugin path because the newly created plugin
17751 for the uninstalled one (not in the registry) didn't get its
17752 ->registered set to TRUE
17754 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17756 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17757 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17758 (gst_collectpads_is_active), (gst_collectpads_collect),
17759 (gst_collectpads_collect_range), (gst_collectpads_start),
17760 (gst_collectpads_stop), (gst_collectpads_peek),
17761 (gst_collectpads_pop), (gst_collectpads_available),
17762 (gst_collectpads_read), (gst_collectpads_flush):
17763 Guard public API with assertions.
17766 Fix docs for gst_pad_set_link_function().
17768 2005-11-02 Johan Dahlin <johan@gnome.org>
17770 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
17771 Unref found_caps after we used it.
17773 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17775 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17776 Don't try to ref NULL.
17778 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17780 * win32/common/config.h.in:
17781 provide a GST_FUNCTION that just gives a string for now
17783 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17785 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17786 (gst_object_flags_get_type), (register_gst_bin_flags),
17787 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17788 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17789 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17790 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17791 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17792 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17793 (gst_clock_flags_get_type), (register_gst_state),
17794 (gst_state_get_type), (register_gst_state_change_return),
17795 (gst_state_change_return_get_type), (register_gst_state_change),
17796 (gst_state_change_get_type), (register_gst_element_flags),
17797 (gst_element_flags_get_type), (register_gst_core_error),
17798 (gst_core_error_get_type), (register_gst_library_error),
17799 (gst_library_error_get_type), (register_gst_resource_error),
17800 (gst_resource_error_get_type), (register_gst_stream_error),
17801 (gst_stream_error_get_type), (register_gst_event_type),
17802 (gst_event_type_get_type), (register_gst_seek_type),
17803 (gst_seek_type_get_type), (register_gst_seek_flags),
17804 (gst_seek_flags_get_type), (register_gst_format),
17805 (gst_format_get_type), (register_gst_index_certainty),
17806 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17807 (gst_index_entry_type_get_type),
17808 (register_gst_index_lookup_method),
17809 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17810 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17811 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17812 (gst_index_flags_get_type), (register_gst_debug_level),
17813 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17814 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17815 (gst_iterator_result_get_type), (register_gst_iterator_item),
17816 (gst_iterator_item_get_type), (register_gst_message_type),
17817 (gst_message_type_get_type), (register_gst_mini_object_flags),
17818 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17819 (gst_pad_link_return_get_type), (register_gst_flow_return),
17820 (gst_flow_return_get_type), (register_gst_activate_mode),
17821 (gst_activate_mode_get_type), (register_gst_pad_direction),
17822 (gst_pad_direction_get_type), (register_gst_pad_flags),
17823 (gst_pad_flags_get_type), (register_gst_pad_presence),
17824 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17825 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17826 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17827 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17828 (gst_plugin_flags_get_type), (register_gst_rank),
17829 (gst_rank_get_type), (register_gst_query_type),
17830 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17831 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17832 (gst_tag_flag_get_type), (register_gst_task_state),
17833 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17834 (gst_alloc_trace_flags_get_type),
17835 (register_gst_type_find_probability),
17836 (gst_type_find_probability_get_type), (register_gst_uri_type),
17837 (gst_uri_type_get_type), (register_gst_parse_error),
17838 (gst_parse_error_get_type):
17839 * win32/common/gstversion.h:
17840 update win32 copies
17842 2005-11-01 Luca Ognibene <luogni@tin.it>
17845 fix docs. popt is dead, long live GOption.
17847 2005-10-31 Wim Taymans <wim@fluendo.com>
17852 2005-10-31 Andy Wingo <wingo@pobox.com>
17856 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17858 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17859 need to serialize property notifications on GLib 2.8. GLib 2.6 has
17860 the possibility of deadlocks here if code calling notify() or
17861 set() has a lock that can be taken in another notify handler (ABBA
17862 with class lock and e.g. python GIL state lock).
17864 2005-10-28 Julien MOUTTE <julien@moutte.net>
17866 * gst/gstbus.c: Doc updates.
17868 2005-10-28 Wim Taymans <wim@fluendo.com>
17870 * docs/design/part-TODO.txt:
17871 * gst/gstiterator.c:
17872 * gst/gstsystemclock.c:
17873 * gst/gstsystemclock.h:
17876 2005-10-28 Edward Hervey <edward@fluendo.com>
17878 * docs/gst/gstreamer-docs.sgml:
17879 * docs/gst/gstreamer-sections.txt:
17880 the GstURIType documentation page is private, it only defines GstURIType
17881 which should be defined in the GstURIHandler page
17883 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
17885 * gst/gstbin.c: (gst_bin_class_init):
17888 Documentation updates.
17890 2005-10-28 Wim Taymans <wim@fluendo.com>
17892 * docs/gst/gstreamer-sections.txt:
17895 Documented the clocks.
17897 2005-10-28 Stefan Kost <ensonic@users.sf.net>
17899 * docs/gst/gstreamer-sections.txt:
17900 move some macros to private sections
17901 * gst/gstminiobject.c:
17902 * gst/gstminiobject.h:
17903 add descriptions provided by ds and some more
17905 mark macro as to be removed
17907 2005-10-28 Wim Taymans <wim@fluendo.com>
17909 * docs/design/part-TODO.txt:
17910 Add an item to TODO.
17912 * gst/gstiterator.c: (gst_iterator_fold),
17913 (gst_iterator_find_custom):
17914 * gst/gstiterator.h:
17917 2005-10-28 Wim Taymans <wim@fluendo.com>
17919 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17920 (gst_base_transform_init):
17923 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17924 An EOS event marks the queue as completely filled.
17926 2005-10-27 Wim Taymans <wim@fluendo.com>
17928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17929 (gst_base_sink_do_sync), (gst_base_sink_get_position):
17930 Some more debugging.
17932 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17933 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17934 (gst_base_transform_event), (gst_base_transform_getrange),
17935 (gst_base_transform_chain):
17936 * gst/base/gstbasetransform.h:
17938 Protect transform and concurrent buffer alloc with a new lock.
17939 Try not to break ABI/API.
17941 2005-10-27 Wim Taymans <wim@fluendo.com>
17943 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17944 (gst_base_src_init), (gst_base_src_query),
17945 (gst_base_src_default_newsegment),
17946 (gst_base_src_configure_segment), (gst_base_src_do_seek),
17947 (gst_base_src_send_event), (gst_base_src_event_handler),
17948 (gst_base_src_pad_get_range), (gst_base_src_loop),
17949 (gst_base_src_unlock), (gst_base_src_default_negotiate),
17950 (gst_base_src_start), (gst_base_src_deactivate),
17951 (gst_base_src_activate_push), (gst_base_src_change_state):
17952 Move some stuff around and cleanup things.
17954 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
17956 * gst/base/gstbasesrc.c: (gst_base_src_query):
17957 Add missing break statements.
17959 2005-10-27 Wim Taymans <wim@fluendo.com>
17961 * check/gst/gstbin.c: (GST_START_TEST):
17962 An extra refcount is taken in basesrc.
17964 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17965 (gst_base_src_get_range), (gst_base_src_pad_get_range),
17966 (gst_base_src_loop):
17967 Small cleanups, check for flushing after being unlocked from the
17968 LIVE_LOCK. take refcounts correctly (not yet everywhere).
17969 Don't send out EOS when going to READY.
17971 2005-10-27 Wim Taymans <wim@fluendo.com>
17973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17974 (gst_base_sink_get_position):
17977 * gst/gstbin.c: (message_check), (bin_replace_message),
17978 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17979 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17980 (bin_query_duration_init), (bin_query_duration_fold),
17981 (bin_query_duration_done), (bin_query_generic_fold),
17983 * tools/gst-launch.c: (main):
17986 2005-10-26 Stefan Kost <ensonic@users.sf.net>
17988 * examples/controller/audio-example.c: (main):
17989 * examples/queue/queue.c: (event_loop):
17990 * gst/base/gstbasetransform.h:
17991 * gst/gstelement.c: (gst_element_send_event):
17993 * gst/gstpad.c: (gst_pad_send_event):
17996 changing log priority in error situations
17998 2005-10-25 Wim Taymans <wim@fluendo.com>
18000 * gst/gstbin.c: (message_check), (bin_replace_message),
18001 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18002 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18003 (bin_query_duration_init), (bin_query_duration_fold),
18004 (bin_query_duration_done), (bin_query_generic_fold),
18006 Some doc and debug updates.
18007 Cache previously requested query DURATION for speed. invalidate
18008 cached duration if element posts a DURATION message.
18010 2005-10-25 Wim Taymans <wim@fluendo.com>
18012 * docs/design/part-TODO.txt:
18015 * gst/gstbin.c: (message_check), (bin_replace_message),
18016 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18017 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18018 (bin_query_duration_init), (bin_query_duration_fold),
18019 (bin_query_duration_done), (bin_query_generic_fold),
18021 Handle SEGMENT_START/DONE messages correctly.
18022 More evolved query algorithm that handles duration queries
18025 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18026 (gst_element_get_state_func), (gst_element_abort_state),
18027 (gst_element_commit_state), (gst_element_lost_state):
18028 Some more debugging.
18030 * gst/gstmessage.h:
18033 2005-10-25 Wim Taymans <wim@fluendo.com>
18035 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18036 Don't use invalid stream_time.
18038 * gst/gstevent.c: (gst_event_new_newsegment):
18039 stream_time in newsegment cannot be undefined.
18041 2005-10-24 Wim Taymans <wim@fluendo.com>
18046 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18048 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18050 2005-10-24 Stefan Kost <ensonic@users.sf.net>
18052 * docs/libs/tmpl/gstdparam.sgml:
18053 * docs/libs/tmpl/gstdplinint.sgml:
18054 * docs/libs/tmpl/gstdpman.sgml:
18055 * docs/libs/tmpl/gstdpsmooth.sgml:
18056 * docs/libs/tmpl/gstunitconvert.sgml:
18059 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18064 === release 0.9.4 ===
18066 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18069 releasing 0.9.4, "Tyrannosaurus Rex"
18071 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18073 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18074 (gst_file_sink_get_current_offset):
18075 Use fseeko() and ftello() if available. When falling back on
18076 lseek() to get the current offset, fflush() first to make sure
18077 everything is up-to-date and we get the right offset.
18079 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18082 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18083 * gst/gsterror.c: (_gst_stream_errors_init):
18085 * gst/gstqueue.c: (gst_queue_loop):
18087 remove prematurely added error category and clean up the instances
18089 2005-10-21 Wim Taymans <wim@fluendo.com>
18091 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18092 (gst_base_sink_get_position), (gst_base_sink_query),
18093 (gst_base_sink_change_state):
18094 Simply set the right flag when going to playing, that's all
18095 we need to do instead of calling a function inside the object
18096 lock (that could take the lock as well and deadlock)
18098 2005-10-21 Wim Taymans <wim@fluendo.com>
18100 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18101 (gst_base_src_loop):
18102 Don't warn, the peer element knows what to do best when
18103 the seek failed, it might try something else.
18105 2005-10-21 Wim Taymans <wim@fluendo.com>
18107 * gst/base/gstbasesrc.c: (gst_base_src_init),
18108 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18111 2005-10-21 Wim Taymans <wim@fluendo.com>
18113 * docs/design/part-segments.txt:
18116 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18117 Correctly set caps, even on the subbufer.
18119 2005-10-21 Wim Taymans <wim@fluendo.com>
18121 * docs/gst/gstreamer-docs.sgml:
18122 * docs/gst/gstreamer-sections.txt:
18123 * gst/gstelement.h:
18126 * gst/gstmessage.h:
18129 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18133 And 2% more doc coverage.
18135 2005-10-21 Andy Wingo <wingo@pobox.com>
18137 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18138 position reporting.
18140 2005-10-20 Wim Taymans <wim@fluendo.com>
18142 * gst/gsterror.c: (gst_error_get_message):
18145 * gst/gststructure.c:
18150 2005-10-20 Wim Taymans <wim@fluendo.com>
18155 Another 1% more coverage.
18157 2005-10-20 Wim Taymans <wim@fluendo.com>
18159 * docs/gst/gstreamer-sections.txt:
18160 * gst/gstelement.c: (gst_element_get_state_func),
18161 (gst_element_abort_state), (gst_element_commit_state),
18162 (gst_element_lost_state):
18164 * gst/gstquery.c: (gst_query_set_position),
18165 (gst_query_parse_position), (gst_query_set_duration),
18166 (gst_query_parse_duration), (gst_query_new_convert):
18168 Yay! 1% more docs coverage.
18170 2005-10-20 Wim Taymans <wim@fluendo.com>
18173 * gst/gstquery.c: (gst_query_set_position),
18174 (gst_query_parse_position), (gst_query_set_duration),
18175 (gst_query_parse_duration), (gst_query_new_convert):
18177 * gst/gstutils.c: (gst_element_query_convert):
18179 Docs and consistency fixes.
18181 2005-10-20 Wim Taymans <wim@fluendo.com>
18187 2005-10-20 Wim Taymans <wim@fluendo.com>
18189 * gst/gstbin.c: (message_check), (bin_replace_message),
18190 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18191 (update_degree), (gst_bin_sort_iterator_next),
18192 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18193 Reworked the message handling a bit, cache the messages instead of
18194 only the senders. alows us to do more in the future.
18196 2005-10-20 Wim Taymans <wim@fluendo.com>
18198 * docs/design/part-TODO.txt:
18201 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18202 (gst_base_sink_query):
18203 Don't use clock time to report position when in EOS.
18205 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18207 * tools/gst-inspect.c: (print_interfaces),
18208 (print_element_properties_info), (print_element_info):
18209 Fix interface output with gst-inspect -a; don't print
18210 newlines after double/float properties.
18212 2005-10-20 Wim Taymans <wim@fluendo.com>
18214 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18215 (gst_base_sink_query):
18216 Speed up current position calculation.
18218 * gst/base/gstbasesrc.c: (gst_base_src_query),
18219 (gst_base_src_default_newsegment):
18220 Correctly set stream position in newsegment.
18222 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18223 (update_degree), (gst_bin_sort_iterator_next),
18224 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18225 * gst/gstmessage.c: (gst_message_new_custom):
18226 Clean up debugging info
18228 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18229 (gst_queue_loop), (gst_queue_handle_src_query):
18232 2005-10-19 Wim Taymans <wim@fluendo.com>
18234 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18235 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18236 Fix query handling again.
18238 2005-10-19 Wim Taymans <wim@fluendo.com>
18240 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18241 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18242 * gst/base/gstbasesrc.c: (gst_base_src_query):
18243 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18244 * gst/elements/gsttypefindelement.c:
18245 (gst_type_find_handle_src_query), (find_element_get_length),
18246 (gst_type_find_element_activate):
18249 * gst/gstquery.c: (gst_query_new_position),
18250 (gst_query_set_position), (gst_query_parse_position),
18251 (gst_query_new_duration), (gst_query_set_duration),
18252 (gst_query_parse_duration), (gst_query_set_segment),
18253 (gst_query_parse_segment):
18255 Bundling query position/duration is not a good idea since duration
18256 does not change much and we don't want to recalculate it for every
18257 position query, so they are separated again..
18258 Base value in segment query is not needed.
18260 * gst/gstqueue.c: (gst_queue_handle_src_query):
18261 * gst/gstutils.c: (gst_element_query_position),
18262 (gst_element_query_duration), (gst_pad_query_position),
18263 (gst_pad_query_duration):
18265 Updates for query API change.
18266 Added some docs here and there.
18268 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18270 * check/gst/gstbin.c: (GST_START_TEST):
18271 * check/gst/gstghostpad.c: (GST_START_TEST):
18272 * check/pipelines/cleanup.c: (GST_START_TEST):
18273 wait on thread to die so we can check refcount correctly
18275 2005-10-18 Wim Taymans <wim@fluendo.com>
18277 * check/pipelines/stress.c: (GST_START_TEST):
18278 Make check a little more time consuming.
18280 2005-10-18 Wim Taymans <wim@fluendo.com>
18282 * check/Makefile.am:
18283 * check/pipelines/stress.c: (GST_START_TEST),
18284 (simple_launch_lines_suite), (main):
18285 Small state change torture test.
18287 * docs/design/part-states.txt:
18288 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18289 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18290 (gst_base_sink_change_state):
18291 Never take state lock from streaming thread, clean up ugly
18292 hacks. Unfortunatly core does not yet support nice ways to
18293 async commit state.
18295 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18297 Start state recalc if a STATE_DIRTY message is posted, but only
18298 on the toplevel bin.
18300 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18301 (gst_element_get_state_func), (gst_element_abort_state),
18302 (gst_element_commit_state), (gst_element_lost_state),
18303 (gst_element_set_state_func), (gst_element_change_state):
18304 * gst/gstelement.h:
18305 State variables are now protected with the LOCK, the state
18306 lock is only used to serialize _set_state().
18308 2005-10-18 Wim Taymans <wim@fluendo.com>
18310 * check/gst/gstbin.c: (GST_START_TEST):
18311 * check/gst/gstmessage.c: (GST_START_TEST):
18312 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18313 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18315 * gst/gstelement.c: (gst_element_abort_state),
18316 (gst_element_commit_state), (gst_element_lost_state):
18317 * gst/gstmessage.c: (gst_message_new_state_changed),
18318 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18319 (gst_message_new_segment_done), (gst_message_new_duration),
18320 (gst_message_parse_state_changed),
18321 (gst_message_parse_segment_start),
18322 (gst_message_parse_segment_done), (gst_message_parse_duration):
18323 * gst/gstmessage.h:
18324 * tools/gst-launch.c: (event_loop):
18325 Seriously, this is better than a previous commit as we only need
18326 to notify the fact that an element changed state in a streaming
18327 thread, marking the state of the parents dirty, hence the
18328 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18331 2005-10-18 Wim Taymans <wim@fluendo.com>
18333 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18334 (gst_bin_recalc_func):
18335 * gst/gstelement.c: (gst_element_set_clock),
18336 (gst_element_abort_state), (gst_element_lost_state):
18337 Cleanups, prepare for state change fixes.
18339 2005-10-18 Wim Taymans <wim@fluendo.com>
18342 * gst/gstelement.c: (gst_element_class_init),
18343 (gst_element_set_state), (gst_element_set_state_func):
18344 * gst/gstelement.h:
18345 Pending ABI changes.
18346 GThreadPool in GstBinClass to monitor async state changes.
18347 state_cookie in GstElement to detect concurrent gst/set state.
18348 set_state is now virtual too in case a very complicated element
18349 has to be constructed.
18351 2005-10-18 Wim Taymans <wim@fluendo.com>
18353 * check/gst/gstbin.c: (GST_START_TEST):
18354 * check/gst/gstmessage.c: (GST_START_TEST):
18355 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18356 * gst/gstbin.c: (bin_bus_handler):
18357 * gst/gstelement.c: (gst_element_commit_state),
18358 (gst_element_lost_state):
18359 * gst/gstmessage.c: (gst_message_new_state_changed),
18360 (gst_message_new_segment_start), (gst_message_new_segment_done),
18361 (gst_message_new_duration), (gst_message_parse_state_changed),
18362 (gst_message_parse_segment_start),
18363 (gst_message_parse_segment_done), (gst_message_parse_duration):
18364 * gst/gstmessage.h:
18365 * tools/gst-launch.c: (event_loop):
18366 Make messages future proof.
18367 state-change gets a flag if it was a message comming from the
18369 segment-start/stop can also be specified in other formats.
18370 A message to notify an app that a pipeline changed playback
18372 Also fix a GstMessage leak in -launch
18374 2005-10-18 Andy Wingo <wingo@pobox.com>
18376 * gst/gstelement.c (gst_element_dispose): More helpful message.
18378 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18380 reviewed by: <delete if not using a buddy>
18382 * common/gtk-doc.mak:
18384 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18386 * gst/gstregistry.c: (gst_registry_scan_path_level):
18387 unref a plug-in we get that was already initialized
18389 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18391 * docs/gst/gstreamer-sections.txt:
18392 * docs/libs/gstreamer-libs-sections.txt:
18393 * gst/gstelement.h:
18394 add new api entries
18395 hide internal macro
18397 2005-10-17 Andy Wingo <wingo@pobox.com>
18399 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18402 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18404 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18406 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18407 (gst_element_get_state_func): Better debug message.
18408 (gst_element_commit_state): s/INFO/DEBUG/.
18409 (gst_element_lost_state, gst_element_change_state):
18411 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18412 (gst_message_new_custom): s/INFO/LOG/.
18414 2005-10-17 Michael Smith <msmith@fluendo.com>
18416 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18417 Check if end time is valid using end time, not start time.
18419 2005-10-17 Stefan Kost <ensonic@users.sf.net>
18421 * check/gst-libs/controller.c: (GST_START_TEST),
18422 (gst_controller_suite):
18423 * libs/gst/controller/gstcontroller.c:
18424 (gst_controlled_property_set_interpolation_mode):
18425 * libs/gst/controller/gstcontroller.h:
18426 * libs/gst/controller/gstinterpolation.c:
18427 * testsuite/controller/.cvsignore:
18428 * testsuite/controller/Makefile.am:
18429 * testsuite/controller/interpolator.c:
18430 merge controller testsuites
18432 remove mem-chunk from docs
18434 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18436 * gst/gstmemchunk.c:
18437 * gst/gstmemchunk.h:
18438 * gst/gsttrashstack.c:
18439 * gst/gsttrashstack.h:
18440 out. get out. you're fired. to the Attic !
18442 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18444 * gst/gstcaps.c: (gst_caps_intersect):
18445 fix signedness issues in a (hopefully) correct way
18446 * gst/gstelement.c: (gst_element_pads_activate):
18448 * gst/gstobject.c: (gst_object_set_parent):
18451 2005-10-17 Julien MOUTTE <julien@moutte.net>
18453 * gst/gstvalue.h: Fix prototypes.
18455 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18457 * docs/gst/gstreamer-sections.txt:
18458 * gst/gst.c: (gst_version_string):
18460 * gst/gstversion.h.in:
18461 * win32/common/libgstreamer.def:
18462 add gst_version_string ()
18464 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18468 * gst/gst.c: (init_post):
18469 * win32/common/config.h.in:
18471 * gst/gstcaps.c: (gst_caps_intersect):
18472 use gint64, the range could be bigger than a guint
18474 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18477 document potential problem in 2038
18479 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18481 * gst/gstcaps.c: (gst_caps_intersect):
18482 Fix guint j diving under 0
18484 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18487 * win32/common/config.h:
18488 * win32/common/config.h.in:
18489 check for process.h, declares getpid() on Windows
18491 include process.h if we have it
18492 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18493 * gst/gstmemchunk.h:
18494 fix signedness issues
18495 * win32/common/libgstreamer.def:
18498 2005-10-16 Julien MOUTTE <julien@moutte.net>
18500 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18501 fix. Because of unsigned ints, caps intersection was going nuts and
18502 trying to access structures with G_MAXUINT index. That fixes
18503 videotestsrc ! ffmpegcolorspace ! fakesink
18504 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18507 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18510 use the gettext macro
18511 * gst/elements/gstelements.c:
18513 * gst/indexers/gstindexers.c:
18514 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18515 * win32/common/config.h:
18517 * win32/common/config.h.in:
18518 add the template to generate config.h
18519 * win32/common/gstenumtypes.c:
18520 * win32/common/gstversion.h:
18523 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18525 * gst/gst.c: (gst_version):
18526 * gst/gstversion.h.in:
18529 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18532 Oops, add missing closing bracket.
18534 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18537 use common m4's for argument checking
18539 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18541 * docs/gst/gstreamer-sections.txt:
18543 Add GST_EVENT_TYPE_NAME() macro.
18545 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18548 * gst/gstpluginfeature.c:
18550 privatize more symbols
18552 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18555 add srcdir, builddir includes to GST_ALL_CFLAGS, since
18556 everything that uses GStreamer API should have the includes
18558 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18560 * docs/gst/gstreamer-sections.txt:
18561 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18563 give each value a _get_type, removes the DATA exports
18565 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18569 remove _gst_registry_auto_load, not used anymore
18570 * gst/gstbin.c: (gst_bin_get_type):
18572 * gst/gstelement.c: (gst_element_get_type):
18573 * gst/gstelement.h:
18574 * gst/gstobject.c: (gst_object_get_type):
18576 * gst/gstpad.c: (gst_pad_get_type):
18578 make _get_type functions similar, fixes data export from library
18580 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18583 correctly make conditionals
18584 * gst/elements/Makefile.am:
18585 * gst/elements/gstelements.c:
18586 fix typo causing fdsrc not to build
18588 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18590 * testsuite/Makefile.am:
18591 * testsuite/bytestream/.cvsignore:
18592 * testsuite/bytestream/Makefile.am:
18593 * testsuite/bytestream/filepadsink.c:
18594 * testsuite/bytestream/gstbstest.c:
18595 * testsuite/bytestream/test1.c:
18596 * testsuite/bytestream/testfile1:
18597 * testsuite/caps/normalisation.c:
18598 * testsuite/caps/random.c: (main):
18599 * testsuite/cleanup/.cvsignore:
18600 * testsuite/cleanup/Makefile.am:
18601 * testsuite/cleanup/cleanup1.c:
18602 * testsuite/cleanup/cleanup2.c:
18603 * testsuite/cleanup/cleanup3.c:
18604 * testsuite/cleanup/cleanup4.c:
18605 * testsuite/cleanup/cleanup5.c:
18606 * testsuite/controller/interpolator.c:
18607 * testsuite/debug/printf_extension.c: (main):
18608 * testsuite/elements/tee.c:
18609 * testsuite/negotiation/.cvsignore:
18610 * testsuite/negotiation/Makefile.am:
18611 * testsuite/negotiation/pad_link.c:
18612 * testsuite/pad/Makefile.am:
18613 * testsuite/pad/chainnopull.c:
18614 * testsuite/pad/getnopush.c:
18615 * testsuite/pad/link.c:
18616 * testsuite/refcounting/sched.c: (create_pipeline):
18617 * testsuite/registry/Makefile.am:
18618 * testsuite/registry/gst-print-formats.c:
18619 * testsuite/schedulers/.cvsignore:
18620 * testsuite/schedulers/142183-2.c:
18621 * testsuite/schedulers/142183.c:
18622 * testsuite/schedulers/143777-2.c:
18623 * testsuite/schedulers/143777.c:
18624 * testsuite/schedulers/147713.c:
18625 * testsuite/schedulers/147819.c:
18626 * testsuite/schedulers/147894-2.c:
18627 * testsuite/schedulers/147894.c:
18628 * testsuite/schedulers/Makefile.am:
18629 * testsuite/schedulers/group_link.c:
18630 * testsuite/schedulers/queue_link.c:
18631 * testsuite/schedulers/relink.c:
18632 * testsuite/schedulers/unlink.c:
18633 * testsuite/schedulers/unref.c:
18634 * testsuite/schedulers/useless_iteration.c:
18635 * testsuite/states/bin.c:
18636 clean out/remove some stuff from the testsuite directories
18638 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18641 check for some headers
18642 * gst/elements/Makefile.am:
18643 * gst/elements/gstelements.c:
18644 don't compile fdsrc without sys/socket.h
18645 * gst/indexers/Makefile.am:
18646 * gst/indexers/gstindexers.c: (plugin_init):
18647 don't compile fileindex without mmap
18649 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18656 * check/Makefile.am:
18657 * docs/gst/Makefile.am:
18658 * examples/helloworld/Makefile.am:
18660 * gst/base/Makefile.am:
18661 * gst/check/Makefile.am:
18662 * gst/elements/Makefile.am:
18663 * gst/indexers/Makefile.am:
18664 * gst/parse/Makefile.am:
18665 * libs/gst/controller/Makefile.am:
18666 * libs/gst/dataprotocol/Makefile.am:
18667 * examples/helloworld/helloworld.c: (event_loop):
18668 compile fixes, though it's not being compiled currently
18670 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18672 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18673 Add some simple tests for the new taglist date API.
18675 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18677 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18678 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18679 Beautify 'last-message' output: print 'none' for buffer timestamps
18680 and durations if none is set; improve alignment with next messages.
18682 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18684 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18685 * gst/gstpluginfeature.h:
18686 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18687 * gst/gstregistry.h:
18688 * docs/gst/gstreamer-sections.txt:
18689 Add new API to check plugin feature version requirements.
18691 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18692 Some basic tests for the above.
18694 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18696 * gst/gststructure.c: (gst_structure_to_string):
18697 guard against NULL printf - happens when for example
18698 a message structure with GstClock gets serialized
18700 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18702 * gst/base/gstcollectpads.c: (gst_collectpads_event):
18703 Fix presumable copy'n'pasto.
18705 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18707 * gst/elements/gstfakesrc.h:
18708 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18709 * gst/elements/gsttypefindelement.c:
18710 fix some signedness
18711 * gst/elements/gstfilesink.c: (gst_file_sink_render):
18712 I wonder if this could actually write +2GB files before
18714 2005-10-13 Andy Wingo <wingo@pobox.com>
18716 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18717 Fix Timmeke Waymans bug.
18718 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18719 string of the proper length to gst_caps_from_string. There's a
18720 potential for, before this fix, that this could cause someone
18721 connecting over the network to cause a segfault if the payload is
18722 not NUL-terminated.
18724 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18726 * docs/design/draft-push-pull.txt:
18727 * docs/design/part-overview.txt:
18728 * docs/random/TODO-pre-0.9:
18729 * docs/random/old/ChangeLog.gstreamer:
18730 * gst/base/gstpushsrc.c:
18734 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18736 * gst/glib-compat.c: (gst_flags_get_first_value):
18737 * gst/glib-compat.h:
18738 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18739 (gst_value_compare_double), (gst_value_serialize_flags):
18740 GLib 2.6 g_flags_get_first_value has a bug that triggers an
18743 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18745 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18746 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18748 * tools/gst-launch.c: (event_loop):
18749 print out clock nicely
18751 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18753 * docs/gst/gstreamer-sections.txt:
18754 * gst/gsttaglist.h:
18755 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18756 (gst_tag_list_get_date_index):
18757 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18758 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18760 2005-10-13 Julien MOUTTE <julien@moutte.net>
18762 * gst/base/gstcollectpads.c: (gst_collectpads_event),
18763 (gst_collectpads_chain):
18764 * gst/base/gstcollectpads.h: Handle newsegment and store informations
18767 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18769 * docs/gst/gstreamer-sections.txt:
18772 * tools/gst-inspect.c: (main):
18773 * tools/gst-launch.c: (main):
18774 * tools/gst-run.c: (main):
18775 * tools/gst-xmlinspect.c: (main):
18776 fix GOption context leaks
18779 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18783 * win32/common/config.h:
18785 * win32/vs6/grammar.dsp:
18786 * win32/vs6/libgstelements.dsp:
18787 * win32/vs6/libgstreamer.dsp:
18790 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18793 * gst/base/gstbasesrc.c: (gst_base_src_query):
18794 fix more guint64<->gdouble conversions
18796 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18799 add win32-update target
18800 * win32/common/gstconfig.h:
18801 * win32/common/gstenumtypes.c:
18802 * win32/common/gstenumtypes.h:
18803 * win32/common/gstversion.h:
18804 add files that visual studio can't generate
18806 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18809 add a win32-update target
18812 2005-10-12 Wim Taymans <wim@fluendo.com>
18814 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18815 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18816 * gst/gstelement.c: (gst_element_commit_state),
18817 (gst_element_set_state):
18818 Protect flags with proper lock.
18819 unref provided cached clock in dispose.
18821 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18824 * gst/gstminiobject.h:
18826 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18827 removed unused flags from miniobject
18830 2005-10-12 Wim Taymans <wim@fluendo.com>
18832 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18833 (gst_file_sink_event), (gst_file_sink_render):
18834 Flush before seeking.
18836 2005-10-12 Andy Wingo <wingo@pobox.com>
18838 * gst/gst.c (gst_init_check): Ignore unknown options, as has
18839 always been the case.
18841 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18843 * check/gst/gstbin.c: (GST_START_TEST):
18844 * docs/gst/gstreamer-sections.txt:
18845 * gst/base/gstbasesink.c: (gst_base_sink_init):
18846 * gst/base/gstbasesrc.c: (gst_base_src_init),
18847 (gst_base_src_get_range), (gst_base_src_check_get_range),
18848 (gst_base_src_start), (gst_base_src_stop):
18849 * gst/base/gstbasesrc.h:
18850 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18851 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18852 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18856 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18858 * gst/gstelement.c: (gst_element_is_locked_state),
18859 (gst_element_set_locked_state), (gst_element_commit_state),
18860 (gst_element_set_state):
18861 * gst/gstelement.h:
18862 * gst/gstindex.c: (gst_index_init):
18864 * gst/gstminiobject.h:
18865 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18866 (gst_object_set_parent):
18868 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18869 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18871 * gst/gstpadtemplate.h:
18872 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18873 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18874 * gst/gstpipeline.h:
18875 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18876 (gst_file_index_commit):
18877 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18878 * testsuite/pad/link.c: (gst_test_src_init),
18879 (gst_test_filter_init), (gst_test_sink_init):
18880 * testsuite/states/locked.c: (main):
18881 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18882 moved bitshift from macro to enum definition
18884 2005-10-12 Wim Taymans <wim@fluendo.com>
18886 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18887 * gst/elements/gstfilesink.c: (gst_file_sink_event),
18888 (gst_file_sink_render):
18889 Some more debugging info.
18891 2005-10-12 Wim Taymans <wim@fluendo.com>
18893 * docs/design/part-states.txt:
18894 * tools/gst-launch.c: (main):
18896 Revert non-intentional change.
18898 2005-10-12 Wim Taymans <wim@fluendo.com>
18900 * check/gst/gstbin.c: (GST_START_TEST):
18901 * check/gst/gstelement.c: (GST_START_TEST):
18902 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18903 * check/gst/gstghostpad.c: (GST_START_TEST):
18904 * check/gst/gstpipeline.c: (GST_START_TEST):
18905 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18906 * check/states/sinks.c: (GST_START_TEST):
18907 * gst/elements/gsttypefindelement.c: (stop_typefinding):
18908 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18909 (gst_bin_remove_func), (gst_bin_get_state_func),
18910 (gst_bin_recalc_state), (gst_bin_change_state_func),
18912 * gst/gstelement.c: (gst_element_get_state_func),
18913 (gst_element_get_state), (gst_element_abort_state),
18914 (gst_element_commit_state), (gst_element_set_state),
18915 (gst_element_change_state), (gst_element_change_state_func):
18916 * gst/gstelement.h:
18917 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18918 (gst_pipeline_provide_clock_func):
18919 * gst/gstutils.c: (gst_element_link_pads_filtered):
18920 * tools/gst-launch.c: (main):
18921 * tools/gst-typefind.c: (main):
18922 Use GstClockTime in _get_state() instead of GTimeVal.
18923 Remove old code in gstutils.c
18925 2005-10-12 Andy Wingo <wingo@pobox.com>
18927 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18930 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18931 there is no task. Shouldn't affect any code, as nothing in our
18932 plugins checks this return value.
18933 (gst_pad_stop_task): Also take the stream lock if the pad has no
18934 task. Docs updated.
18936 2005-10-12 Wim Taymans <wim@fluendo.com>
18938 * gst/gstpad.c: (pre_activate), (post_activate),
18939 (gst_pad_activate_pull), (gst_pad_activate_push):
18940 Cleanup activation code. Reset old state if
18943 2005-10-12 Wim Taymans <wim@fluendo.com>
18945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18946 (gst_base_sink_change_state):
18947 No need to prerol after receiving EOS.
18949 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18950 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18951 * gst/elements/gstidentity.c: (gst_identity_event):
18952 Print events more verbosely.
18954 2005-10-12 Wim Taymans <wim@fluendo.com>
18956 * check/Makefile.am:
18957 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18958 * check/states/sinks2.c:
18959 Moved sinks2 testcode in sinks check.
18961 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18962 (gst_bin_remove_func), (gst_bin_recalc_state),
18963 (gst_bin_change_state_func), (bin_bus_handler):
18964 Fix potential race condition when _get_state() iterated over an
18965 ASYNC element right before it posted a state completion.
18968 Do proper cast here.
18970 * gst/gstevent.c: (gst_event_new_newsegment),
18971 (gst_event_parse_newsegment):
18972 A playback rate of 0.0 is not allowed.
18974 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18976 * win32/common/config.h:
18977 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18978 (_trewinddir), (_ttelldir), (_tseekdir):
18979 * win32/common/dirent.h:
18980 * win32/common/gtchar.h:
18981 * win32/common/libgstbase.def:
18982 * win32/common/libgstreamer.def:
18983 * win32/vs6/grammar.dsp:
18984 * win32/vs6/gst_inspect.dsp:
18985 * win32/vs6/gst_launch.dsp:
18986 * win32/vs6/gstreamer.dsw:
18987 * win32/vs6/libgstbase.dsp:
18988 * win32/vs6/libgstelements.dsp:
18989 * win32/vs6/libgstreamer.dsp:
18990 Visual Studio 6 project files, and a new common directory.
18993 2005-10-11 Wim Taymans <wim@fluendo.com>
18995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18996 (gst_base_sink_do_sync), (gst_base_sink_query),
18997 (gst_base_sink_change_state):
18998 * gst/base/gstbasesink.h:
18999 Correctly parse newsegment info.
19001 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19003 * gst/gst.c: (init_post):
19004 split plugin paths correctly
19006 2005-10-11 Wim Taymans <wim@fluendo.com>
19008 * check/gst/gstevent.c: (GST_START_TEST):
19009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19010 (gst_base_sink_change_state):
19011 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19012 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19013 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19014 * gst/gstevent.c: (gst_event_new_newsegment),
19015 (gst_event_parse_newsegment):
19017 Added extra flag to newsegment for future API freeze.
19018 Updated check and base elements.
19020 2005-10-11 Julien MOUTTE <julien@moutte.net>
19022 * gst/base/gstcollectpads.c: (gst_collectpads_init),
19023 (gst_collectpads_add_pad), (gst_collectpads_pop),
19024 (gst_collectpads_event), (gst_collectpads_chain):
19025 * gst/base/gstcollectpads.h: Handle EOS correctly.
19027 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19029 * tools/gst-launch.c: (main):
19030 more null protecting
19032 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19034 * gst/gst-i18n-lib.h:
19035 check for ENABLE_NLS, not GETTEXT_PACKAGE
19036 * gst/gstregistry.c: (gst_registry_add_plugin),
19037 (gst_registry_scan_path_level),
19038 (_gst_registry_remove_cache_plugins):
19039 protect possibly NULL strings
19040 * gst/parse/types.h:
19041 config.h already included before
19042 * tools/gst-inspect.c: (main):
19043 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19044 check for ENABLE_NLS, not GETTEXT_PACKAGE
19045 * tools/gst-launch.c: (main):
19046 check for ENABLE_NLS, not GETTEXT_PACKAGE
19048 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19051 if we don't have glib, fail before testing 2.8
19052 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19053 fix a leak, should fix plugins-base testsuite
19055 2005-10-11 Andy Wingo <wingo@pobox.com>
19057 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19058 take the mode we're going to as an arg. Go head and set the mode
19059 and flushing flags now, so that if the activate function starts a
19060 thread all the flags will be in the right state.
19061 (post_activate): Renamed also. Just handle making sure streaming
19062 finishes for the deactivation case, and setting the deactivated
19064 (gst_pad_set_active): Complain loudly if deactivation fails.
19065 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19066 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19067 remove the terrible hack.
19069 2005-10-11 Wim Taymans <wim@fluendo.com>
19071 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19072 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19073 (gst_bin_recalc_state), (gst_bin_change_state_func),
19074 (gst_bin_dispose), (bin_bus_handler):
19076 Prepare to make current EOS message queue more generic.
19079 * gst/gstevent.c: (gst_event_new_newsegment),
19080 (gst_event_parse_newsegment):
19082 Rename base to stream_time.
19084 * gst/gstmessage.h:
19087 2005-10-11 Wim Taymans <wim@fluendo.com>
19089 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19090 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19091 (gst_bin_change_state_func), (bin_bus_handler):
19093 Work on proper clock selection.
19095 2005-10-11 Edward Hervey <edward@fluendo.com>
19097 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19098 * libs/gst/controller/gstcontroller.h:
19099 Added GList* version of _remove_properties() in order to be able to wrap
19102 2005-10-11 Wim Taymans <wim@fluendo.com>
19104 * docs/design/part-states.txt:
19107 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19108 (gst_bin_change_state_func), (bin_bus_handler):
19109 Doc updates. Don't distribute the same clock over and over again.
19115 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19116 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19117 (gst_pad_send_event):
19119 Make probe emission threadsafe again.
19120 Register quarks and move _get_name() from utils.
19123 * gst/gstpipeline.c: (gst_pipeline_class_init),
19124 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19125 Only redistribute the clock of it changed.
19127 * gst/gstsystemclock.h:
19132 Moved the _flow_get_name() to GstPad.
19134 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19136 * check/gst-libs/gdp.c: (GST_START_TEST):
19137 * check/gst/gstcaps.c: (GST_START_TEST):
19138 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19139 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19140 (gst_dp_packet_from_caps):
19141 fix more valgrind warnings before turning up the heat
19143 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19145 * gst/parse/grammar.y:
19146 some cleanup before the hacking
19148 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19150 * gst/base/gstbasesrc.c: (gst_base_src_query):
19152 * gst/gstutils.c: (gst_guint64_to_gdouble),
19153 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19155 externalize, basesrc uses it
19156 obviously the implementation needs testing
19158 2005-10-10 Wim Taymans <wim@fluendo.com>
19160 * tests/sched/Makefile.am:
19161 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19162 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19164 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19166 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19167 apparently converting from guint64 to double is not implemented
19170 2005-10-10 Wim Taymans <wim@fluendo.com>
19172 * check/Makefile.am:
19173 * check/generic/states.c: (GST_START_TEST):
19174 * check/gst/gstbin.c: (GST_START_TEST):
19175 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19176 * check/states/sinks.c: (GST_START_TEST):
19177 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19179 Check fixes, use API as stated in design docs, remove hacks.
19181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19182 (gst_base_sink_change_state):
19183 Catch stopping our task while we're shutting down.
19185 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19186 (gst_bin_remove_func), (gst_bin_get_state_func),
19187 (gst_bin_recalc_state), (gst_bin_change_state_func),
19190 * gst/gstelement.c: (gst_element_init),
19191 (gst_element_get_state_func), (gst_element_abort_state),
19192 (gst_element_commit_state), (gst_element_lost_state),
19193 (gst_element_set_state), (gst_element_change_state),
19194 (gst_element_change_state_func):
19195 * gst/gstelement.h:
19196 New state change algorithm (see #318116)
19198 * gst/gstpipeline.c: (gst_pipeline_class_init),
19199 (gst_pipeline_init), (gst_pipeline_set_property),
19200 (gst_pipeline_get_property), (do_pipeline_seek),
19201 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19202 * gst/gstpipeline.h:
19203 Remove crude state change hacks.
19206 Remove crude hacks.
19208 * tools/gst-launch.c: (main):
19209 Fixes for state change. Needs some more work to fully use the
19212 2005-10-10 Andy Wingo <wingo@pobox.com>
19214 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19216 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19217 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19220 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19222 * gst/gstiterator.c: (gst_iterator_new):
19223 Fix my previous commit: GTypes passed to gst_iterator_new()
19224 can be fundamental types.
19226 2005-10-10 Wim Taymans <wim@fluendo.com>
19228 * gst/gstelement.c: (gst_element_iterate_pad_list),
19229 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19230 (gst_element_iterate_sink_pads):
19231 Use src/sink pads lists for the respective iterators instead
19234 2005-10-10 Andy Wingo <wingo@pobox.com>
19236 Merged in popt removal + GOption addition patch from Ronald, bug
19239 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19240 GstElement macros around, remove popt-related symbols, add goption
19243 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19245 * docs/gst/Makefile.am:
19246 * docs/libs/Makefile.am: No POPT_CFLAGS.
19248 * examples/manual/Makefile.am:
19249 * docs/manual/basics-init.xml: Doc updates with an example.
19251 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19252 (gst_init), (parse_one_option), (parse_goption_arg):
19253 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19254 bit of hand merging and debugging to get the GOption stuff working
19257 * tests/Makefile.am:
19258 * tools/Makefile.am:
19259 * tools/gst-inspect.c: (main):
19260 * tools/gst-launch.c: (main):
19261 * tools/gst-run.c: (main):
19262 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19264 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19266 * gst/gstiterator.c: (gst_iterator_new):
19267 Add assertions to make sure passed GType is likely to really
19268 be a GType (as the compiler won't catch it if the size and
19269 GType arguments get mixed up, see #318447).
19271 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19273 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19275 * gst/gstbin.c: (gst_bin_iterate_sorted):
19276 Pass GType and size arguments to gst_iterator_new() in the right
19277 order (maybe we should make _new() take the GType as first argument
19278 just like _new_list()?) (#318447).
19281 2005-10-10 Wim Taymans <wim@fluendo.com>
19283 * gst/gstelement.c: (gst_element_finalize):
19284 And free the GStaticRecMutex too
19286 2005-10-10 Andy Wingo <wingo@pobox.com>
19288 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19289 Allocate and free the mutex properly.
19291 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19293 (GstElement): The state_lock is now recursive. Rebuild your
19294 plugins, suckers. Old macros adapted.
19296 * docs/gst/gstreamer-sections.txt: Doc updates.
19299 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19300 (g_static_rec_cond_wait): Ported from state changes patch, while
19301 we wait on bug #317802 to be solved in a well-distributed GLib.
19303 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19304 gst_element_change_state, variable name changes.
19305 (gst_element_change_state): Split out of gst_element_set_state in
19306 preparation for the state change merge. Doesn't pay attention to
19307 the 'transition' argument.
19308 (gst_element_set_state): Updates, hopefully purely cosmetic.
19309 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19310 state change patch.
19311 (gst_element_get_state_func): Renamed from get_state, cosmetic
19314 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19316 * gst/elements/gstelements.c:
19317 * win32/GStreamer.vcproj:
19319 * win32/dirent.c: (_tseekdir):
19320 * win32/gst-inspect.vcproj:
19321 * win32/gst-launch.vcproj:
19322 * win32/gstconfig.h:
19323 * win32/gstelements.vcproj:
19324 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19325 * win32/gstreamer.def:
19326 * win32/msvc71.sln:
19327 updates for the win32 build (patch from Sebastien Moutte)
19329 2005-10-10 Andy Wingo <wingo@pobox.com>
19331 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19332 gst_bin_get_state, cleaned up (but no logic changes).
19333 (bin_element_is_sink): Comment updates.
19334 (sink_iterator_filter): Remove needless cast.
19335 (gst_bin_iterate_sinks): Doc update.
19336 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19337 cleaned up (but no logic changes).
19339 * check/states/sinks.c (test_src_sink): Cleanups from the state
19341 (test_livesrc_sink): Sync on the state.
19343 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19344 the state change patch.
19346 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19349 * check/gst/gstbin.c: Merge in some style fixes and additional
19350 checks from Wim's state change patch.
19352 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19354 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19355 (gst_type_find_helper):
19356 Check whether we have the requested data already in our list of
19357 cached buffers before pulling a new buffer; also make the buffer
19358 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19360 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19365 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19366 don't use long long, it's not portable. Replacing with
19367 gint64 seems to work; let's hope no skeletons fall out of the closet.
19369 2005-10-10 Andy Wingo <wingo@pobox.com>
19371 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19373 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19375 * docs/gst/gstreamer-sections.txt:
19380 * gst/gstmessage.c: (gst_message_parse_state_changed):
19383 more docs, fix compilation
19385 2005-10-09 Philippe Khalaf <burger@speedy.org>
19386 * gst/gstmessage.c:
19387 Fixed a few forgotten variables on previous commit
19389 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19391 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19392 Fix evil typefind crasher: getrange() might return a short
19393 buffer at the end of a file, but gst_type_find_peek() must
19394 either return the full data as requested or NULL, but
19395 never a short buffer.
19397 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19399 * gst/gstmessage.c: (gst_message_new_state_changed),
19400 (gst_message_parse_state_changed):
19401 * gst/gstmessage.h:
19402 don't use "new", it's a C++ keyword
19404 2005-10-08 Wim Taymans <wim@fluendo.com>
19406 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19407 * gst/gstelement.c: (gst_element_post_message):
19408 * gst/gstpipeline.c: (gst_pipeline_change_state):
19409 Small docs and debug updates.
19411 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19413 * docs/gst/gstreamer-sections.txt:
19414 * gst/gstelementfactory.c:
19416 * gst/gsttaglist.c:
19419 2005-10-08 Wim Taymans <wim@fluendo.com>
19421 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19422 (gst_bin_dispose), (bin_bus_handler):
19423 Fix typos, add comments.
19424 Clear EOS list when going to PAUSED from any direction and do it
19425 in a threadsafe way.
19426 Get base time in a threadsafe way too.
19427 Fix confusing debug in the change_state function.
19428 Various other small cleanups.
19430 * gst/gstelement.c: (gst_element_post_message):
19431 Fix very verbose bus posting code.
19433 * gst/gstpipeline.c: (gst_pipeline_class_init),
19434 (gst_pipeline_set_property), (gst_pipeline_get_property),
19435 (gst_pipeline_change_state):
19436 Small ARG_ -> PROP_ cleanup
19438 2005-10-08 Wim Taymans <wim@fluendo.com>
19440 * gst/gstbin.c: (is_eos), (bin_bus_handler):
19441 Do a less CPU demanding EOS check because we can.
19443 2005-10-08 Wim Taymans <wim@fluendo.com>
19445 * libs/gst/dataprotocol/dataprotocol.c:
19446 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19447 (gst_dp_packet_from_event):
19448 * libs/gst/dataprotocol/dataprotocol.h:
19449 * libs/gst/dataprotocol/dp-private.h:
19450 It's about time we bump the version number.
19451 Since event types don't fit in the guint8 anymore describing
19452 the payload type, make payload type 16 bits wide.
19454 2005-10-08 Wim Taymans <wim@fluendo.com>
19456 * docs/design/part-TODO.txt:
19457 * docs/design/part-clocks.txt:
19458 * docs/design/part-events.txt:
19459 * docs/design/part-gstbin.txt:
19460 * docs/design/part-gstelement.txt:
19461 * docs/design/part-gstpipeline.txt:
19462 * docs/design/part-live-source.txt:
19463 * docs/design/part-messages.txt:
19464 * docs/design/part-overview.txt:
19465 * docs/design/part-states.txt:
19468 2005-10-08 Wim Taymans <wim@fluendo.com>
19472 Fix event quark registration.
19473 Add some space between events so we can insert them in the
19476 2005-10-08 Wim Taymans <wim@fluendo.com>
19478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19479 (gst_base_sink_handle_buffer):
19480 Better log message.
19483 * gst/gstelement.h:
19486 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19487 (gst_queue_set_property), (gst_queue_get_property):
19489 Remove old unused properties.
19491 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19492 * docs/gst/gstreamer-sections.txt:
19493 * gst/gstmessage.c:
19494 * gst/gstmessage.h:
19495 * gst/gstminiobject.c:
19496 * gst/gstminiobject.h:
19500 lots of new docs and doc fixes
19502 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19504 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19506 * gst/gstregistry.c: (gst_registry_lookup_locked),
19507 (gst_registry_scan_path_level):
19508 * gst/gstregistryxml.c: (load_plugin):
19509 Only ever load one plugin for a given plugin basename.
19510 This ensures correct overriding of GST_PLUGIN_PATH over
19511 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19512 system installed plugins.
19514 2005-10-08 Wim Taymans <wim@fluendo.com>
19516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19517 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19518 Prepare for doing QOS.
19520 2005-10-08 Wim Taymans <wim@fluendo.com>
19522 * check/gst/gstbin.c: (GST_START_TEST):
19523 * check/pipelines/cleanup.c: (GST_START_TEST):
19524 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19525 Allow new clock message too.
19527 2005-10-08 Wim Taymans <wim@fluendo.com>
19529 * gst/gstmessage.c: (gst_message_new_error),
19530 (gst_message_new_warning), (gst_message_new_tag),
19531 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19532 (gst_message_new_clock_lost), (gst_message_new_new_clock),
19533 (gst_message_new_segment_start), (gst_message_new_segment_done),
19534 (gst_message_parse_state_changed),
19535 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19536 (gst_message_parse_new_clock):
19537 * gst/gstmessage.h:
19538 Also carry the clock in question.
19540 2005-10-08 Wim Taymans <wim@fluendo.com>
19542 * gst/gstmessage.c: (gst_message_new_custom),
19543 (gst_message_new_eos), (gst_message_new_error),
19544 (gst_message_new_warning), (gst_message_new_tag),
19545 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19546 (gst_message_new_new_clock), (gst_message_new_segment_start),
19547 (gst_message_new_segment_done), (gst_message_parse_state_changed),
19548 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19549 * gst/gstmessage.h:
19551 Added clock related messages.
19553 * gst/gstpipeline.c: (gst_pipeline_change_state):
19554 Post message when the clock changed.
19556 * tools/gst-launch.c: (event_loop):
19559 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
19561 * tools/gst-inspect.c: (print_element_properties_info):
19562 Can't pass NULL strings to g_print() on windows.
19564 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19566 * docs/Makefile.am:
19567 * docs/gst/Makefile.am:
19568 * docs/gst/gstreamer-docs.sgml:
19569 * docs/gst/running.xml:
19570 * docs/version.entities.in:
19571 add a chapter on running GStreamer.
19572 document GST_DEBUG and GST_PLUGIN* env vars
19574 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19579 remove PLUGINS_BUILDDIR stuff
19580 * gst/gst.c: (init_post):
19581 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19583 remove, it was condescending and not needed
19585 2005-10-08 Wim Taymans <wim@fluendo.com>
19587 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19588 (gst_base_sink_handle_object), (gst_base_sink_event),
19589 (gst_base_sink_wait), (gst_base_sink_handle_event),
19590 (gst_base_sink_change_state):
19591 * gst/base/gstbasesink.h:
19592 Repost EOS message while going to PLAYING if still EOS.
19593 Make sure that when receiving a FLUSH_START we don't attempt
19594 to sync on the clock anymore.
19596 2005-10-08 Wim Taymans <wim@fluendo.com>
19598 * tools/gst-launch.c: (event_loop):
19599 Better message printout.
19601 2005-10-08 Wim Taymans <wim@fluendo.com>
19603 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19604 (gst_bin_child_proxy_get_children_count):
19605 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19606 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19607 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19608 (gst_child_proxy_set_valist):
19609 * gst/parse/grammar.y:
19610 Make ChildProxy threadsafe and fix mem leaks.
19612 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19614 * gst/gst.c: (init_post):
19615 debug the GST_PLUGIN_ env vars
19617 2005-10-08 Wim Taymans <wim@fluendo.com>
19619 * check/gst/gstbin.c: (GST_START_TEST):
19620 * check/gst/gstmessage.c: (GST_START_TEST):
19621 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19622 * gst/gstelement.c: (gst_element_commit_state),
19623 (gst_element_lost_state):
19624 * gst/gstmessage.c: (gst_message_new_state_changed),
19625 (gst_message_parse_state_changed):
19626 * gst/gstmessage.h:
19627 * tools/gst-launch.c: (event_loop):
19628 Added extra field to STATE_CHANGE message with the pending
19629 state, which will be different from the new state soon.
19631 2005-10-08 Wim Taymans <wim@fluendo.com>
19633 * gst/gstbus.c: (gst_bus_pop):
19635 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19636 Small cleanups and doc updates.
19638 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19640 * gst/gst.c: (init_pre):
19641 * gst/gstbin.c: (gst_bin_add_func):
19642 log distributing clocks and base time
19643 * gst/gstregistry.c: (gst_registry_add_plugin),
19644 (gst_registry_scan_path_level), (gst_registry_scan_path):
19645 clean up the debugging output a little
19646 * gst/gstutils.c: (gst_element_state_get_name):
19647 warn about a memleak (I've actually seen this be used, though
19648 it was probably a bug)
19650 2005-10-07 Wim Taymans <wim@fluendo.com>
19652 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19653 (gst_base_src_init), (gst_base_src_default_newsegment),
19654 (gst_base_src_newsegment), (gst_base_src_do_seek),
19655 (gst_base_src_loop), (gst_base_src_start):
19656 * gst/base/gstbasesrc.h:
19657 Make the newsegment event customizable by subclasses.
19659 2005-10-07 Wim Taymans <wim@fluendo.com>
19661 * gst/gstevent.c: (gst_event_new_buffersize),
19662 (gst_event_parse_buffersize):
19664 New event for future idea.
19666 2005-10-07 Andy Wingo <wingo@pobox.com>
19668 * gst/gstelement.c (gst_element_post_message): Doc update.
19670 * docs/gst/gstreamer-sections.txt: Update.
19672 * gst/gstmessage.c (gst_message_new_application): Made into a
19673 function like honest API calls.
19674 (gst_message_new_element): New message type.
19676 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19678 * check/elements/fakesrc.c (test_no_preroll): New check, checks
19679 that setting a live fakesrc to PAUSED returns NO_PREROLL both
19682 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19683 NO_PREROLL from gst_element_change_state to fall through.
19685 2005-10-07 Wim Taymans <wim@fluendo.com>
19687 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19688 (gst_ghost_pad_do_activate_push):
19689 Activating a ghostpad with no internal pad in push mode
19692 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
19695 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19696 Fixes compilation on Windows.
19698 2005-10-07 Michael Smith <msmith@fluendo.com>
19700 * tools/gst-inspect.c:
19701 Print out feature and plugin count at the end when printing out
19704 2005-10-04 Michael Smith <msmith@fluendo.com>
19706 * gst/gsterror.c: (_gst_stream_errors_init):
19707 Add another error string used in a few existing plugins.
19710 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19711 * tools/gst-inspect.c: (print_element_info):
19712 When a feature disappears from a plugin (and the feature exists in
19713 the cached registry file), things went horribly wrong. This isn't a
19714 complete fix, we should actually be removing the 'missing' features
19715 from the features list when we load the actual plugin. That's not
19718 2005-10-04 Johan Dahlin <johan@gnome.org>
19720 * check/gst/gstiterator.c: (GST_START_TEST):
19721 * gst/gstbin.c: (gst_bin_iterate_elements),
19722 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19723 * gst/gstelement.c: (gst_element_iterate_pads):
19724 * gst/gstformat.c: (gst_format_iterate_definitions):
19725 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19726 (gst_iterator_new_list), (gst_iterator_filter):
19727 * gst/gstiterator.h:
19728 * gst/gstquery.c: (gst_query_type_iterate_definitions):
19729 Add a GType to GstIterator, update callsites and tests.
19731 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19733 * gst/gstpad.c: (gst_pad_event_default_dispatch):
19734 give events a chance to be handled by event probes when the pad
19737 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19739 * gst/gstevent.c: (gst_event_type_get_name),
19740 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19742 add string representations for event types
19744 2005-10-06 Wim Taymans <wim@fluendo.com>
19746 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19747 Don't use NULL pointers.
19749 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19751 * gst/gst_private.h:
19753 * gst/gstelement.c:
19755 * gst/gstpluginfeature.c:
19756 widen the debug category in output to fit the biggest one we have
19757 add a bus category and use it
19758 play with the colors
19759 fix up some categories
19761 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19763 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19764 add push activation of sink ghost pads.
19765 Andye, please verify
19767 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19769 * gst/gstutils.c: (gst_element_link_pads):
19770 fix a bug in the case where neither element has a pad
19771 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19772 add a test for that case
19774 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19776 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19777 emit have-data before checking for peers. This allows
19778 for probe handlers to connect elements. This helps autopluggers.
19779 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19781 add six checks, linked/unlinked with no/true/false probe
19783 2005-10-04 Wim Taymans <wim@fluendo.com>
19785 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19786 (gst_fake_sink_event), (gst_fake_sink_preroll),
19787 (gst_fake_sink_render), (gst_fake_sink_change_state):
19788 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19789 (gst_fake_src_get_property), (gst_fake_src_create),
19790 (gst_fake_src_stop):
19791 * gst/elements/gstidentity.c: (gst_identity_stop):
19792 Protect last_message with lock.
19794 2005-10-04 Edward Hervey <edward@fluendo.com>
19797 Added precision in the comments for GST_FORMAT_DEFAULT
19799 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
19801 * tools/gst-launch.c: (main):
19802 Don't try to run erroneous pipelines.
19804 2005-10-04 Julien MOUTTE <julien@moutte.net>
19806 * gst/gstbus.c: We don't need this header.
19808 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19811 back to development
19813 === release 0.9.3 ===
19815 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19819 Releasing 0.9.3, "Unregistered"
19821 2005-10-03 Andy Wingo <wingo@pobox.com>
19823 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19824 whereby calling a pad's activatepush() function can start a thread
19825 that starts to push or pull before the pad gets the FLUSHING flag
19826 unset. Hack around it by holding the stream lock until the flag is
19827 set. Need to replace this with a proper solution. Together with
19828 the ghost pad fixes, this fixes mp3 playing/tagreading.
19830 * docs/design/part-gstghostpad.txt: Add a note about activation of
19831 proxy pads outside of ghost pads.
19833 * gst/gstghostpad.c: Implement the ghost pad activation design.
19835 2005-10-02 Andy Wingo <wingo@pobox.com>
19837 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19838 It is volatile, after all.
19840 * docs/design/part-gstghostpad.txt: Flesh out activation with
19843 * gst/base/gstbasesrc.c (gst_base_src_init): Use
19846 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
19849 Fix (unused) AM_CONDITIONAL tests.
19851 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
19853 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19855 * gst/gstutils.c: (gst_pad_query_convert):
19856 Add assertion that makes sure src_val is >=0, just like
19857 gst_query_new_convert() has. (#315895)
19859 2005-09-30 Edward Hervey <edward@fluendo.com>
19861 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19862 Let's not iterate pads we're not interested in, it avoids getting
19863 sky-high refcounts on sinkpad.
19865 2005-09-30 Wim Taymans <wim@fluendo.com>
19867 * gst/gstelement.c: (gst_element_set_state),
19868 (gst_element_change_state):
19869 Small tweak, element in ASYNC remains ASYNC.
19871 2005-09-30 Wim Taymans <wim@fluendo.com>
19873 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19874 Only error is an error.
19876 * gst/gstbin.c: (gst_bin_change_state):
19879 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19880 Also call pad_block in pad alloc.
19882 * gst/gstutils.c: (gst_flow_get_name):
19885 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19887 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19888 (gst_base_src_get_range):
19889 Fix documentation typos. Add some more debug info.
19891 2005-09-29 David Schleef <ds@schleef.org>
19893 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19894 more end-user friendly.
19895 * tools/gst-inspect.c: (main): Check if command-line argument is
19896 a file and attempt to load that file as a plugin.
19898 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19900 * check/gst/gstbin.c:
19901 * check/states/sinks.c:
19902 fix tests for the new warning
19903 * check/gst/gstpipeline.c:
19904 add a test for pipeline and bus interaction
19905 * gst/gstelement.c:
19906 elements should be NULL if they get disposed; add a warning if not
19908 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19911 for 2.6 refcounting, make debug log more correct by printing
19912 the actual refcounts at the time of swap (Wim)
19914 2005-09-29 Andy Wingo <wingo@pobox.com>
19916 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19917 removes signal watches previously added via
19918 gst_bus_add_signal_watch.
19919 (gst_bus_add_signal_watch): Don't return the source id, just store
19920 it on the bus if there wasn't an id already.
19922 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19923 add_signal_watch and remove_signal_watch.
19925 2005-09-29 Edward Hervey <edward@fluendo.com>
19927 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
19928 Better if we actually iterate the list :)
19930 2005-09-29 Wim Taymans <wim@fluendo.com>
19932 * check/gst/gstbin.c: (GST_START_TEST):
19933 Change for new bus API.
19935 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19936 (send_messages), (GST_START_TEST), (gstbus_suite):
19937 Change for new bus signal API.
19939 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19940 (gst_bus_source_prepare), (gst_bus_source_check),
19941 (gst_bus_create_watch), (gst_bus_add_watch_full),
19942 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19943 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19945 Remove support for multiple GSources operating on different
19946 message types as it is too complex and unneeded when using
19948 Added support for receiving signals from the bus.
19950 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19952 * docs/libs/tmpl/gstdataprotocol.sgml:
19953 * docs/manual/advanced-dataaccess.xml:
19954 * gst/elements/gstcapsfilter.c:
19956 rename filter-caps to caps property
19958 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19960 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19961 More robust fraction string parsing.
19963 * docs/pwg/appendix-porting.xml:
19964 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19966 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19968 * gst/gstcaps.c: (gst_caps_do_simplify):
19969 Thou shalt not free a structure and then continue using it
19970 in the next loop iteration.
19972 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19974 Add test case for caps simplification.
19976 2005-09-29 Wim Taymans <wim@fluendo.com>
19978 * check/gst/gstbin.c: (GST_START_TEST):
19981 2005-09-29 Wim Taymans <wim@fluendo.com>
19983 * check/gst/gstbin.c: (GST_START_TEST):
19986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19987 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19988 (find_element), (gst_bin_sort_iterator_next),
19989 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19990 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19991 (gst_bin_change_state), (gst_bin_dispose):
19992 A bin does not have a bus, it gets the bus from the parent.
19994 * gst/gstelement.c: (gst_element_requires_clock),
19995 (gst_element_provides_clock), (gst_element_is_indexable),
19996 (gst_element_is_locked_state), (gst_element_change_state),
19997 (gst_element_set_bus_func):
20000 * gst/gstpipeline.c: (gst_pipeline_class_init),
20001 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20002 The pipeline provides a bus.
20004 2005-09-28 Johan Dahlin <johan@gnome.org>
20006 * gst/gstmessage.c (gst_message_parse_state_changed): Use
20007 gst_structure_get_enum instead of gst_structure_get_int
20009 * gst/gststructure.c (gst_structure_get_enum): Impl.
20011 * gst/gststructure.h (gst_structure_get_enum): Add
20013 * docs/gst/gstreamer-sections.txt: Ditto
20015 * gst/gstmessage.c (gst_message_new_state_changed): Use
20016 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20017 which does introspection.
20018 Reviewed by Christian Schaller
20020 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20022 * gst/gstinfo.c: (gst_debug_log_default):
20023 don't do dummy g_strdup()s
20024 * libs/gst/controller/gstcontroller.c:
20025 (on_object_controlled_property_changed),
20026 (gst_controlled_property_new), (gst_controller_new_valist),
20027 (gst_controller_new_list),
20028 (gst_controller_remove_properties_valist), (gst_controller_set),
20029 (gst_controller_get), (gst_controller_sync_values),
20030 (gst_controller_get_value_array), (_gst_controller_class_init),
20031 (gst_controller_get_type):
20032 * libs/gst/controller/gstcontroller.h:
20033 * libs/gst/controller/gstinterpolation.c:
20034 (gst_controlled_property_find_timed_value_node):
20035 convert // to /**/ comments
20037 2005-09-28 Wim Taymans <wim@fluendo.com>
20039 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20040 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20041 (gst_bus_sync_signal_handler):
20043 Added async-message and sync-message signals to the bus.
20044 Added helper BusFunc to emit signals for all posted messages.
20046 * gst/gstmessage.c: (gst_message_type_get_name),
20047 (gst_message_type_to_quark), (gst_message_get_type):
20048 * gst/gstmessage.h:
20049 Register quarks for message names.
20051 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20053 * docs/libs/gstreamer-libs-sections.txt:
20054 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20055 (gst_controller_new_list):
20056 * libs/gst/controller/gstcontroller.h:
20057 added another constructor for language bindings
20059 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20061 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20065 * gst/gstinfo.c: (_gst_debug_init):
20066 slightly more readable color for refcount debugging
20068 2005-09-28 Wim Taymans <wim@fluendo.com>
20070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20071 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20072 (find_element), (gst_bin_sort_iterator_next),
20073 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20074 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20075 (gst_bin_change_state), (gst_bin_dispose):
20076 Small doc fixes. get_clock -> provide_clock.
20078 * gst/gstelement.c: (gst_element_class_init),
20079 (gst_element_provides_clock), (gst_element_provide_clock),
20080 (gst_element_get_clock), (gst_element_commit_state),
20081 (gst_element_lost_state):
20082 * gst/gstelement.h:
20083 Make get/set_clock() symetric. Add provide_clock vmethod since
20084 that is actually what this function does.
20086 * gst/gstpipeline.c: (gst_pipeline_class_init),
20087 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20088 (gst_pipeline_get_clock):
20089 get_clock -> provide_clock.
20091 2005-09-28 Andy Wingo <wingo@pobox.com>
20093 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20094 lieu of real docs...
20096 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20098 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20100 * gst/elements/gstcapsfilter.c:
20101 * gst/elements/gstfakesink.c:
20102 * gst/elements/gstfakesrc.c:
20103 * gst/elements/gstfdsink.c:
20104 * gst/elements/gstfdsrc.c:
20105 * gst/elements/gstfilesink.c:
20106 * gst/elements/gstfilesrc.c:
20107 * gst/elements/gstidentity.c:
20108 * gst/elements/gsttee.c:
20109 * gst/elements/gsttypefindelement.c:
20110 Make element details static.
20112 2005-09-28 Wim Taymans <wim@fluendo.com>
20114 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20115 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20116 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20117 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20118 (gst_bin_change_state), (gst_bin_dispose):
20119 Some documentation updates.
20120 Clean up dispose handlers.
20122 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20123 * gst/gstpad.c: (gst_pad_dispose):
20124 Clean up dispose handler.
20126 * gst/gstpipeline.c: (gst_pipeline_change_state):
20127 Removed spurious UNLOCK.
20129 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20131 * docs/gst/gstreamer-sections.txt:
20132 * gst/base/gstbasesrc.h:
20133 * gst/gstelement.h:
20137 * gst/gstpipeline.c:
20138 * gst/gstpipeline.h:
20141 added two new functions to the docs
20142 documents all undocumented GstXXXFlags
20143 completed some incomplete docs
20145 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20147 * gst/gstbin.c: (gst_bin_dispose):
20148 * gst/gstelement.c: (gst_element_dispose):
20149 remove now useless and leaky resurrection code in dispose
20150 * gst/base/gstbasesrc.c: (gst_base_src_init):
20151 * gst/gstelementfactory.c: (gst_element_factory_create):
20152 * gst/gstobject.c: (gst_object_set_parent):
20155 2005-09-27 Wim Taymans <wim@fluendo.com>
20157 * docs/design/part-TODO.txt:
20160 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20161 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20162 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20163 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20164 (gst_bin_change_state):
20165 * gst/gstelement.h:
20166 Remove element variable, we keep element info in the iterator now.
20168 2005-09-27 Andy Wingo <wingo@pobox.com>
20170 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20173 2005-09-27 Wim Taymans <wim@fluendo.com>
20175 * check/gst/gstbin.c: (GST_START_TEST):
20176 Enable check that works now.
20178 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20179 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20180 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20181 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20182 (gst_bin_change_state):
20184 Redid the state change algorithm using a topological sort algo.
20185 Handles all cases correctly.
20186 Exposed iterator for state change order.
20188 * gst/gstelement.h:
20189 Temp storage for state changes. Need to get rid of this soon.
20191 2005-09-27 Wim Taymans <wim@fluendo.com>
20193 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20194 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20195 (link_fold_func), (gst_pad_proxy_setcaps):
20196 Leak fixes, the fold functions need to unref the passed object and
20197 _get_parent_*() returns ref to parent.
20199 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20201 * check/gst/gstbuffer.c: (test_make_writable):
20202 Plug leak in test case and fix 'make check-valgrind'
20204 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20206 * gst/gstbuffer.c: (gst_subbuffer_init):
20207 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20208 works correctly in all circumstances (we could have just copied
20209 the parent buffer's readonly flag, but conceptually it seems
20210 cleaner to mark all subbuffers as read-only). (based on patch
20211 by Alessandro Decina, #314710).
20213 * check/gst/gstbuffer.c: (create_read_only_buffer),
20214 (test_make_writable), (test_subbuffer_make_writable),
20216 Add some tests for gst_buffer_make_writable().
20218 2005-09-27 Wim Taymans <wim@fluendo.com>
20220 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20221 use gst_object_has_ancestor().
20223 * gst/gstobject.c: (gst_object_has_ancestor):
20225 gst_object_has_ancestor() copied from gstbin.c as it is a
20228 * tests/instantiate/create.c: (create_all_elements):
20229 * tests/lat.c: (handoff_src), (handoff_sink):
20230 * tests/sched/runxml.c: (main):
20231 * tests/seeking/seeking1.c: (main):
20232 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20234 Fix compilation of some tests.
20236 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20239 Remove comment. GST_TYPE_G_ERROR is here to stay,
20240 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20241 (#316961, #300610).
20243 2005-09-26 Wim Taymans <wim@fluendo.com>
20245 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20246 Added check that shows error in state change order.
20248 2005-09-26 Wim Taymans <wim@fluendo.com>
20250 * gst/gstbin.c: (gst_bin_change_state):
20251 Make state change function use 3 queues again, we were
20252 adding elements in the wrong order.
20254 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20257 * gst/gstpad.c: (gst_pad_dispose):
20258 Added some debug info first.
20260 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20262 * docs/design/draft-push-pull.txt:
20263 * docs/design/part-events.txt:
20264 * docs/design/part-overview.txt:
20265 * docs/design/part-scheduling.txt:
20266 Replace all _pull_region() with _pull_range()
20268 2005-09-26 Andy Wingo <wingo@pobox.com>
20270 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20272 * check/gst-libs/controller.c: Update for controller api change.
20275 * tests/Makefile.am:
20276 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20277 over by GLib bug 118439.
20279 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20280 routines to a function.
20282 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20284 * libs/gst/controller/gsthelper.c:
20285 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20286 (gst_object_sync_values): Renamed from sink_values. Ugh.
20288 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20290 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20291 Renamed from controller_key, as it is exported.
20293 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20295 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20300 * gst/gstpadtemplate.h:
20303 * gst/gstqueryutils.c:
20304 * gst/gstqueryutils.h:
20305 remove queryutils headers after moving the two used functions
20306 to gstquery. also fixes build problem for gstsiddec
20308 2005-09-26 Michael Smith <msmith@fluendo.com>
20310 * tools/gst-launch.1.in:
20311 Correct documentation in manpage of debug syntax
20313 2005-09-26 Wim Taymans <wim@fluendo.com>
20315 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20316 (gst_base_src_is_seekable), (gst_base_src_change_state):
20317 Some more debugging info.
20319 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20321 * docs/gst/gstreamer-sections.txt:
20322 * gst/base/gstbasetransform.h:
20326 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20328 * docs/gst/.cvsignore:
20329 * docs/gst/tmpl/.cvsignore:
20330 * docs/gst/tmpl/gstpipeline.sgml:
20331 * docs/gst/tmpl/gstplugin.sgml:
20332 * gst/gstpipeline.c:
20335 inlined the last two docs files
20336 removed the tmpl directory from cvs (no more conflicts here!)
20338 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20340 * docs/gst/gstreamer-sections.txt:
20341 * docs/gst/tmpl/.cvsignore:
20342 * docs/gst/tmpl/gstpad.sgml:
20343 * docs/gst/tmpl/gstpadtemplate.sgml:
20345 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20346 (gst_pad_finalize), (gst_pad_set_pad_template):
20348 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20349 (gst_pad_template_class_init), (gst_pad_template_init),
20350 (gst_pad_template_dispose), (name_is_valid),
20351 (gst_static_pad_template_get), (gst_pad_template_new),
20352 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20353 (gst_pad_template_pad_created):
20354 * gst/gstpadtemplate.h:
20355 inlined two more docs
20356 factored gstpadtemplate out of gstpad
20358 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20360 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20361 (test_children_state_change_order_semi_sink):
20362 Fix test case: we can't rely on a fixed state change order when
20363 going from READY => PAUSED because the sink might commit its
20364 new state first when the first buffer created by the source
20365 reaches the sink before the source has finished its change state.
20366 (Test case still fails at times, see #316856, comment 5 onwards)
20368 2005-09-24 Wim Taymans <wim@fluendo.com>
20370 * docs/design/part-events.txt:
20371 * docs/design/part-gstbus.txt:
20372 * docs/design/part-gstpipeline.txt:
20373 * docs/design/part-messages.txt:
20374 * docs/design/part-overview.txt:
20375 * docs/design/part-segments.txt:
20379 * gst/gstelement.c:
20382 * gst/gstiterator.c:
20383 Various documentation updates.
20385 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20388 Well, that's embarassing. Luckily we weren't using
20389 GST_CLOCK_DIFF anywhere.
20391 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20393 * common/gtk-doc.mak:
20394 don't fail on building XML, FC4 slave shows a bunch of doc
20395 missing bits that I don't get
20397 * gst/gstpipeline.c:
20398 * gst/gststructure.c:
20401 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20403 * docs/design/part-gstbin.txt:
20404 * docs/design/part-gstbus.txt:
20406 Add blurb about how the bus goes into flushing mode and
20407 drops all messages when its bin goes from READY into NULL
20410 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20412 * docs/gst/gstreamer-sections.txt:
20413 * gst/gststructure.c: (gst_structure_get_clock_time):
20414 * gst/gststructure.h:
20415 add a method to get a GstClockTime out of a structure
20417 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20419 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20420 (test_children_state_change_order_semi_sink), (gst_bin_suite):
20421 Added test to check state change order in bins (can still be made
20422 to fail here under heavy disk load; bails out with 'Push on pad
20423 fakesink:sink0, but it was not activated in push mode').
20425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20426 Fix state change order when there is only a semi sink (#316856)
20428 * gst/gstbus.c: (gst_bus_class_init):
20429 Use _class_peek_parent(), not _class_ref(); fix docs to say
20430 'default main context' instead of 'mainloop' where that is
20433 * gst/gstelement.c: (gst_element_commit_state),
20434 (gst_element_set_state):
20435 Fix typos in debug messages
20437 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20440 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20441 * gst/gstpluginfeature.c:
20443 various doc updates
20444 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20445 change an assert into an error until it gets fixed properly
20447 2005-09-23 Stefan Kost <ensonic@users.sf.net>
20449 * docs/gst/gstreamer-sections.txt:
20450 * docs/gst/tmpl/.cvsignore:
20451 * docs/gst/tmpl/gstelement.sgml:
20452 * docs/gst/tmpl/gstinfo.sgml:
20453 * docs/gst/tmpl/gstobject.sgml:
20454 * gst/gstelement.c:
20455 * gst/gstelement.h:
20458 * gst/gstobject.c: (gst_object_class_init):
20460 inlined 3 more biiiig doc files and added some missing docs on the fly
20462 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20464 * check/gst/.cvsignore:
20465 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20466 * gst/gstregistryxml.c: (load_plugin),
20467 (gst_registry_xml_save_plugin):
20468 put back source in registry. add checks for find_plugin.
20469 * testsuite/states/bin.c: (assert_state), (empty_bin),
20470 (test_adding_one_element), (main):
20471 * testsuite/states/locked.c: (main):
20472 some compile/run fixes
20474 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
20476 * check/gst/gstvalue.c: (GST_START_TEST):
20477 fix leaks in the test itself
20479 2005-09-22 Wim Taymans <wim@fluendo.com>
20481 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20482 (gst_base_sink_send_event), (gst_base_sink_peer_query),
20483 (gst_base_sink_query):
20484 Prepare for more accurate position reporting and query
20487 * gst/gstelement.c: (gst_element_send_event),
20488 (gst_element_set_state):
20491 2005-09-22 Wim Taymans <wim@fluendo.com>
20493 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20494 (gst_query_parse_segment):
20496 More documentation.
20497 Add segment query for future use.
20499 2005-09-22 Wim Taymans <wim@fluendo.com>
20501 * gst/gstbin.c: (gst_bin_add_func):
20502 Some more debug info.
20504 * gst/gstelement.c: (gst_element_send_event):
20505 Simplify send_event
20507 * gst/gstelement.h:
20508 Don't know how flags got broken.
20513 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20515 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20516 Add simplistic test suite for GST_TYPE_DATE serialisation and
20519 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20521 * docs/gst/gstreamer-sections.txt:
20522 * gst/gststructure.c: (gst_structure_set_valist),
20523 (gst_structure_get_date):
20524 * gst/gststructure.h:
20525 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20526 (gst_date_copy), (gst_value_compare_date),
20527 (gst_value_serialize_date), (gst_value_deserialize_date),
20528 (gst_value_transform_date_string),
20529 (gst_value_transform_string_date), (_gst_value_initialize):
20531 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20532 bunch of utility functions along with a hack that checks that
20533 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20534 is required. Part of the grand scheme in #170777.
20536 2005-09-22 Andy Wingo <wingo@pobox.com>
20538 * gst/gstconfig.h.in: Psych out gtk-doc.
20540 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20542 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20544 * tools/gst-inspect.c (print_element_list): Plug some
20545 inconsequential leaks.
20547 * gst/gstregistry.c (gst_registry_get_default): Doc.
20549 * check/gst/gstplugin.c:
20550 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20551 * gst/gstelementfactory.c (gst_element_factory_create):
20552 * gst/gstindexfactory.c (gst_index_factory_create): Update for
20555 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20556 (gst_plugin_feature_load): Doc, don't eat refs.
20558 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20559 (gst_plugin_list_free): Doc.
20560 (gst_plugin_load_file): Doc updates.
20562 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20563 accessors returning refcounted objects, return a ref.
20565 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20566 accessor for caps. IDEMPOTENCE. Oh yes.
20568 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
20570 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20572 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20573 (_gst_debug_register_funcptr):
20574 Add mutex to serialise access to the hash table with
20575 the function pointer => function name string mapping;
20576 make that hash table static scope (#316809).
20578 * gst/registries/.cvsignore:
20579 Remove left-over file.
20581 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20583 * docs/pwg/appendix-porting.xml:
20584 And something about newsegment events and caps-on-buffers to
20585 the porting guide (feel free to improve).
20587 2005-09-21 Andy Wingo <wingo@pobox.com>
20589 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20590 data and event probes on the same pad.
20591 (test_buffer_probe_once): Test that removing probes from within
20592 the probe functions works.
20594 2005-09-21 Andy Wingo <wingo@pobox.com>
20596 * check/gst/gstutils.c: New file.
20597 (test_buffer_probe_n_times): A simple buffer probe test. More to
20600 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20601 have-data::buffer, not have-data.
20602 (gst_pad_add_event_probe): Likewise for have-data::event.
20603 (gst_pad_add_data_probe): More docs. The part about 'resolving the
20604 peer' isn't quite right yet though.
20605 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
20606 (gst_pad_remove_data_probe): Change to take the guint handler_id
20607 as their arg, not the function+data, which is more glib-like.
20609 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20610 the signal emission to indicate if the data is a buffer or an
20612 (gst_pad_get_type): Initialize buffer and event quarks.
20613 (gst_pad_class_init): have-data is now a detailed signal, yes it
20616 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20618 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20619 * gst/gstutils.c: (gst_util_set_value_from_string),
20620 (gst_util_set_object_arg):
20621 Don't put functional code in g_return_if_fail() or
20622 g_return_val_if_fail() statements, otherwise things will
20623 break when G_DISABLE_CHECKS is defined during compilation.
20625 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20627 * docs/gst/tmpl/.cvsignore:
20628 * docs/gst/tmpl/gstvalue.sgml:
20631 inlied another one and added some obvious docs
20633 2005-09-21 Wim Taymans <wim@fluendo.com>
20635 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20636 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20637 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20638 (gst_fdsrc_get_property), (gst_fdsrc_create):
20639 * gst/elements/gstfdsrc.h:
20640 Properly implement fdsrc. Removed signal and timeout,
20641 better implemented somewhere else.
20643 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20645 * docs/gst/tmpl/.cvsignore:
20646 * docs/gst/tmpl/gstimplementsinterface.sgml:
20647 * gst/gstinterface.c:
20650 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20652 * docs/gst/gstreamer-sections.txt:
20653 * docs/gst/tmpl/.cvsignore:
20654 * docs/gst/tmpl/gstenumtypes.sgml:
20655 remove obsolete doc file
20657 2005-09-21 David Schleef <ds@schleef.org>
20659 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20660 little beer, fix a little leak.
20662 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20664 * docs/gst/gstreamer-docs.sgml:
20665 * docs/gst/gstreamer-sections.txt:
20666 * docs/gst/tmpl/.cvsignore:
20670 * gst/gstelement.h:
20671 * gst/gstindex.c: (gst_index_class_init):
20673 * gst/gstindexfactory.c: (gst_index_factory_get_type),
20674 (gst_index_factory_class_init), (gst_index_factory_init),
20675 (gst_index_factory_finalize), (gst_index_factory_new),
20676 (gst_index_factory_destroy), (gst_index_factory_find),
20677 (gst_index_factory_create), (gst_index_factory_make):
20678 * gst/gstindexfactory.h:
20679 * gst/gstpluginfeature.c:
20680 * gst/gstpluginfeature.h:
20681 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20682 more docs inlined, splitted gstindex.{c,h}
20684 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20686 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20689 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20691 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20692 Set sync to FALSE by default.
20694 2005-09-20 Wim Taymans <wim@fluendo.com>
20696 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20697 (gst_base_sink_init):
20698 Make sync property settable from subclass.
20700 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20701 (gst_fake_sink_change_state):
20702 Set sync to FALSE by default.
20704 2005-09-20 Wim Taymans <wim@fluendo.com>
20706 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20707 * tools/gst-launch.c: (main):
20708 The timeout handler should have lower priority than the source
20709 so we don't timeout before popping a message with 0 timeout.
20710 Dump error messages after failed state change.
20712 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20714 * tools/gst-inspect.c: (print_element_properties_info):
20717 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20719 * check/gst/gstevent.c:
20720 * gst/elements/gstfakesink.c:
20721 * gst/elements/gstfakesink.h:
20722 remove the sync property from fakesink.
20723 has the side effect of setting sync TRUE
20724 for fakesink, which is a change. Anyone who knows how
20725 to fix this nicely in a GObject-y way, feel free.
20727 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20729 * docs/gst/gstreamer-docs.sgml:
20730 remove probe refsection
20732 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20734 * check/Makefile.am:
20735 disable valgrinding the controller test again
20736 * docs/gst/gstreamer-sections.txt:
20737 update for api-changes
20739 2005-09-20 Wim Taymans <wim@fluendo.com>
20741 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20742 (gst_base_sink_set_property), (gst_base_sink_get_property),
20743 (gst_base_sink_do_sync):
20744 * gst/base/gstbasesink.h:
20745 Added sync property to basesink to disable clock sync.
20747 2005-09-20 Andy Wingo <wingo@pobox.com>
20749 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20750 eating the caller's refcount.
20752 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
20753 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20756 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20757 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20758 of GLib 2.8 public, so we can know which refcount to check in
20761 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20762 (gst_object_init): Only set the gst refcount if we're going ahead
20763 with the refcount hack.
20765 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20767 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20768 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20769 more leaks plumbed, added more debug-logging
20773 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20775 * gst/gstmessage.c:
20776 remove include of gstmemchunk.h
20778 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20780 * gst/gstclock.c: (_gst_clock_id_free):
20781 Commit from the Political Party For More Atomic CVS Commits,
20782 so that people don't waste too much of their day fishing
20783 out obvious leaks out of massive commits.
20784 Oh, and fix a pretty damn obvious leak in the memchunk
20787 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20789 * check/Makefile.am:
20790 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20791 plug mem-leak, re-add to valgrindable tests
20793 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20796 unbreak the build for those who have chronic arthritis
20797 and typing "make check" is just too taxing on the hands
20799 2005-09-20 Andy Wingo <wingo@pobox.com>
20801 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20802 really want it out, you should fix plugins at the same time.
20804 2005-09-19 Stefan Kost <ensonic@users.sf.net>
20807 * docs/gst/gstreamer-sections.txt:
20809 added missing symbols to api docs
20810 disable ref-count hack if we have glib >= 2.8
20812 2005-09-19 David Schleef <ds@schleef.org>
20814 * docs/gst/Makefile.am: Ignore a few more internal headers
20815 * docs/gst/gstreamer-docs.sgml: Remove old sections
20816 * docs/gst/gstreamer-sections.txt: Remove old sections
20817 * docs/gst/tmpl/gstobject.sgml: update
20818 * docs/gst/tmpl/gstplugin.sgml: update
20819 * docs/gst/tmpl/gstpluginfeature.sgml: update
20820 * docs/random/ds/0.9-suggested-changes: update.
20821 * gst/Makefile.am: remove memchunk and trashstack, since they're
20823 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20824 * gst/gst.h: don't include some headers
20825 * gst/gstchildproxy.c: add gstmarshal.h
20826 * gst/gstclock.c: Don't use memchunks
20827 * gst/gstminiobject.c: Add some docs
20828 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20829 * gst/gstobject.h: same
20830 * gst/gstplugin.c: include gstmacros.h
20831 * gst/gstplugin.h: don't include gstmacros.h, since it's private
20832 * gst/gstquery.c: don't use memchunks
20833 * gst/gstregistry.c: rename gst_registry_deinit()
20834 * gst/gstregistry.h: same
20836 2005-09-19 David Schleef <ds@schleef.org>
20838 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20839 * docs/libs/gstreamer-libs-sections.txt:
20840 * docs/libs/tmpl/gstgetbits.sgml:
20841 * docs/libs/tmpl/gstputbits.sgml:
20843 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
20845 * win32/gstenumtypes.c:
20846 * win32/gstenumtypes.h:
20849 2005-09-19 Wim Taymans <wim@fluendo.com>
20851 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20852 Automatically PAUSE and RESUME a pipeline when a flushing seek
20855 2005-09-19 Andy Wingo <wingo@pobox.com>
20857 * gst/gstregistry.h: Spacing fixen.
20859 2005-09-19 Wim Taymans <wim@fluendo.com>
20861 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20862 Handle state change failure more correctly.
20864 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20866 * check/Makefile.am:
20867 * check/pipelines/cleanup.c: (run_pipeline):
20868 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20870 enable cleanup again after fixing the leak
20872 some more info on docs
20874 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20876 * check/Makefile.am:
20877 re-enable tests now that leaks are plugged
20879 * check/gst/gstbin.c:
20880 * check/gst/gstpipeline.c:
20881 add some more tests while fixing leaks
20882 * common/check.mak:
20883 make sure binaries are uptodate when valgrinding/gdbing
20885 * gst/gstelementfactory.c:
20886 remove a ref too many, and add a FIXME for when we get
20887 round to disposing of classes
20889 fix the refcounting when loading a plugin from a file and
20890 the code pretends that the pointer is the same even though
20891 of course it can change
20892 * gst/gstpluginfeature.c:
20893 unref plugins marked cached (a bit confusing as a name)
20894 as the docs state should be done
20895 various doc additions to explain refcounting
20896 * gst/gstregistry.c:
20897 * gst/gstregistryxml.c:
20900 2005-09-19 Wim Taymans <wim@fluendo.com>
20902 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20903 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20904 (send_messages), (GST_START_TEST), (gstbus_suite):
20905 * check/gst/gstpipeline.c: (GST_START_TEST):
20906 * check/pipelines/cleanup.c: (run_pipeline):
20907 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20909 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20910 (gst_bus_source_check), (gst_bus_source_dispatch),
20911 (gst_bus_create_watch), (gst_bus_add_watch_full),
20912 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20914 * tools/gst-launch.c: (event_loop):
20915 * tools/gst-md5sum.c: (event_loop):
20916 GstBusHandler -> GstBusFunc, return value has the same meaning as
20917 any other GSource (FALSE == remove source).
20918 _add_watch() and _add_watch_full() now take a MessageType mask to
20919 only handle specific types of messages.
20920 _poll() returns the GstMessage instead of the message type to avoid
20922 _have_pending() takes a MessageType mask now too.
20923 Added testsuite for multiple bus watches.
20924 Fix testsuites and applications for new bus API.
20926 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20928 * check/Makefile.am:
20929 mark a bunch of the tests as to fix until we fix them
20931 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20933 * common/check.mak:
20934 use GST_PLUGIN settings for valgrind tests as well, so we're
20935 valgrinding the correct thing
20936 * gst/gst.c: (init_post):
20939 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20941 * gst/gst.c: (init_post), (gst_deinit):
20942 * gst/gstelementfactory.c: (gst_element_factory_class_init),
20943 (gst_element_factory_finalize), (gst_element_factory_cleanup):
20944 * gst/gstindex.c: (gst_index_factory_class_init),
20945 (gst_index_factory_finalize):
20946 * gst/gstobject.c: (gst_object_dispose):
20947 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20948 (gst_plugin_load_file), (gst_plugin_desc_free):
20949 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20950 (gst_plugin_feature_finalize):
20951 * gst/gstregistry.c: (gst_registry_class_init),
20952 (gst_registry_init), (gst_registry_finalize),
20953 (gst_registry_get_default), (gst_registry_deinit):
20954 * gst/gstregistry.h:
20955 * gst/gstregistryxml.c: (load_feature), (load_plugin):
20956 various cleanups and memleak plugging. make valgrind is happy now.
20958 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20960 * common/check.mak:
20961 add a check-valgrind target
20963 2005-09-18 David Schleef <ds@schleef.org>
20965 * tools/gst-inspect.c: Revert the GOption code.
20967 2005-09-17 David Schleef <ds@schleef.org>
20969 * check/Makefile.am: Fix environment variables.
20970 * check/gst/gstplugin.c: Fix for API changes.
20971 * tools/gst-inspect.c: Fix for API changes.
20972 * tools/gst-xmlinspect.c: Fix for API changes.
20973 * gst/gstelementfactory.c:
20976 * gst/gstpluginfeature.c:
20977 * gst/gstpluginfeature.h:
20978 * gst/gstregistry.c:
20979 * gst/gstregistry.h:
20980 * gst/gstregistryxml.c:
20981 * gst/gsttypefind.c:
20982 * gst/gsttypefindfactory.c:
20983 * gst/indexers/gstfileindex.c:
20984 * gst/indexers/gstmemindex.c:
20985 * gst/schedulers/Makefile.am:
20986 Change registry to keep track of both plugins and features,
20987 removing the feature tracking from plugins themselves.
20989 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
20991 * check/Makefile.am:
20992 * tools/gst-register.1.in:
20993 remove gst-register
20995 2005-09-15 David Schleef <ds@schleef.org>
20997 * check/gst/gstplugin.c:
20998 * gst/gstelementfactory.c:
21000 * gst/gstpluginfeature.c:
21001 * gst/gstregistry.c:
21002 Getting tired of debugging. Disabled all the unreffing of
21003 plugins and features, which fixes the segfaults, but of
21004 course leaks like crazy. At least playbin works.
21006 2005-09-15 David Schleef <ds@schleef.org>
21008 * check/gst/gstplugin.c: (register_check_elements),
21009 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21011 * gst/elements/gsttypefindelement.c: Fix refcounting.
21012 * gst/gsttypefind.c:
21013 * gst/gsttypefindfactory.c:
21014 * gst/gsttypefindfactory.h:
21016 2005-09-15 David Schleef <ds@schleef.org>
21018 * gst/gstindex.c: get refcounting correct.
21019 * gst/gstregistry.c: Handle the case where a feature/plugin is
21022 2005-09-15 David Schleef <ds@schleef.org>
21024 * check/Makefile.am:
21025 * check/gst/gstplugin.c: Add test
21026 * gst/gstplugin.c: Fix problems noticed by testsuite
21028 * gst/gstregistry.c:
21029 * gst/gstregistry.h:
21031 2005-09-15 David Schleef <ds@schleef.org>
21033 * gst/gstplugin.c: Implement semi-decent recounting and locking
21034 in plugins and plugin features.
21036 * gst/gstpluginfeature.c:
21037 * gst/gstpluginfeature.h:
21038 * gst/gstregistry.c:
21040 2005-09-15 Michael Smith <msmith@fluendo.com>
21042 * gst/gstregistry.c: (gst_registry_get_feature_list):
21043 Implement this. Makes oggdemux work; decodebin still broken.
21045 2005-09-14 David Schleef <ds@schleef.org>
21047 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21049 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21050 * gst/check/Makefile.am:
21051 * libs/gst/controller/Makefile.am:
21052 * libs/gst/dataprotocol/Makefile.am:
21054 2005-09-14 David Schleef <ds@schleef.org>
21056 * configure.ac: Remove getbits library. Nothing uses it, and
21057 it should be in something like liboil if someone did want
21059 * libs/gst/Makefile.am:
21060 * libs/gst/getbits/Makefile.am:
21061 * libs/gst/getbits/gbtest.c:
21062 * libs/gst/getbits/getbits.c:
21063 * libs/gst/getbits/getbits.h:
21064 * libs/gst/getbits/gstgetbits_generic.c:
21065 * libs/gst/getbits/gstgetbits_i386.s:
21066 * libs/gst/getbits/gstgetbits_inl.h:
21068 2005-09-14 David Schleef <ds@schleef.org>
21070 * gst/Makefile.am: Dist glib-compat.h
21072 2005-09-14 David Schleef <ds@schleef.org>
21074 * configure.ac: Remove gst/registries, since it's no longer used.
21075 * gst/registries/Makefile.am:
21076 * gst/registries/gstlibxmlregistry.c:
21077 * gst/registries/gstlibxmlregistry.h:
21078 * gst/registries/gstxmlregistry.c:
21079 * gst/registries/gstxmlregistry.h:
21080 * gst/registries/registrytest.c:
21082 2005-09-14 David Schleef <ds@schleef.org>
21084 * gst/glib-compat.h:
21085 * gst/gstregistryxml.c:
21086 Convergence is near. Seriously.
21088 2005-09-14 David Schleef <ds@schleef.org>
21090 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21091 * gst/glib-compat.h:
21092 Attempt #4 to appease the buildbots.
21094 2005-09-14 David Schleef <ds@schleef.org>
21096 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21099 2005-09-14 David Schleef <ds@schleef.org>
21101 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21104 2005-09-14 David Schleef <ds@schleef.org>
21106 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21109 2005-09-14 David Schleef <ds@schleef.org>
21111 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21112 * gst/glib-compat.h: Add some functions that are in newer versions
21113 of glib than we care to require.
21114 * gst/gstregistryxml.c: Use them.
21116 2005-09-14 David Schleef <ds@schleef.org>
21118 * po/POTFILES.in: remove gst-register.c
21120 2005-09-14 David Schleef <ds@schleef.org>
21122 * docs/gst/gstreamer-docs.sgml:
21123 * docs/gst/gstreamer-sections.txt:
21124 * docs/gst/gstreamer.types:
21125 * docs/gst/tmpl/gstelement.sgml:
21126 * docs/gst/tmpl/gstplugin.sgml:
21127 * docs/gst/tmpl/gstpluginfeature.sgml:
21128 Documentation updates for registry changes.
21130 2005-09-14 David Schleef <ds@schleef.org>
21132 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21133 because we don't require glib-2.8.
21135 2005-09-14 David Schleef <ds@schleef.org>
21137 * gst/gstregistryxml.c: Added. Essentially moved out of the
21138 registries directory.
21140 2005-09-14 David Schleef <ds@schleef.org>
21142 * check/Makefile.am:
21143 * check/generic/states.c:
21147 * gst/gst_private.h:
21148 * gst/gstelementfactory.c:
21153 * gst/gstpluginfeature.c:
21154 * gst/gstpluginfeature.h:
21155 * gst/gstregistry.c:
21156 * gst/gstregistry.h:
21157 * gst/gstregistrypool.c: remove
21158 * gst/gstregistrypool.h: remove
21159 * gst/gsttypefind.c:
21160 * gst/gsttypefindfactory.c:
21162 * tools/Makefile.am:
21163 * tools/gst-compprep.c:
21164 * tools/gst-inspect.c:
21165 * tools/gst-register.c: remove
21166 * tools/gst-xmlinspect.c:
21167 Registry rewrite. Changes registry from being a file created
21168 by a tool into a simple cache file created automatically by
21169 libgstreamer. Removed gst-register (because it's no longer
21170 needed). Remove registry pools, because we only have one
21171 registry implementation (XML). Fix up other subsystems as
21174 2005-09-13 Michael Smith <msmith@fluendo.com>
21176 * gst/gstconfig.h.in:
21177 Don't Use windows linking attributes for MinGW. Fixes #316157
21179 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21181 * gst/gstutils.c: (set_state_async_thread_func),
21182 (gst_element_set_state_async):
21183 Apparently people think it's better if this function doesn't
21184 try to set the state to whatever state was asked for on the first
21185 call to this function for any object. Seriously.
21187 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21189 * check/gst/gstpipeline.c: (GST_START_TEST):
21190 * docs/gst/gstreamer-sections.txt:
21191 * gst/gstutils.c: (set_state_async_thread_func),
21192 (gst_element_set_state_async):
21194 add a "gst_element_set_state_async" method that
21195 sets the state and starts a thread to make sure the state
21196 change completes as best as it can
21198 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21200 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21201 codify design+behaviour in testsuite after discussion
21203 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21205 * docs/gst/tmpl/gstelement.sgml:
21206 * docs/manual/appendix-quotes.xml:
21208 * gst/gstelement.c: (gst_element_set_state):
21211 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21213 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21214 (gst_base_transform_prepare_output_buf),
21215 (gst_base_transform_handle_buffer):
21216 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21217 (gst_capsfilter_prepare_buf):
21218 Remove the requirement for sub-classes to call the parent
21219 implementation of prepare_output_buffer with a wrapper function.
21221 * gst/gsttaglist.h:
21222 * gst/gsttagsetter.h:
21223 Fix #define wrapper
21225 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21227 * docs/gst/gstreamer-sections.txt:
21230 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21232 * docs/gst/gstreamer-sections.txt:
21233 * docs/gst/tmpl/gstelement.sgml:
21234 * docs/gst/tmpl/gstplugin.sgml:
21235 * gst/gstminiobject.c:
21237 docs now stop throwing warnings
21239 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21241 * docs/gst/gstreamer-sections.txt:
21242 * docs/gst/gstreamer.types:
21243 * docs/gst/tmpl/gstpad.sgml:
21244 * docs/gst/tmpl/gsttypes.sgml:
21245 * gst/base/gstadapter.h:
21246 * gst/base/gstbasesink.h:
21247 * gst/base/gstbasesrc.h:
21253 * gst/gstelement.h:
21255 * gst/gstmessage.h:
21257 * gst/gststructure.c:
21258 * gst/registries/gstlibxmlregistry.h:
21259 various documentation fixes
21261 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21263 * docs/gst/gstreamer-sections.txt:
21264 * docs/gst/tmpl/gstvalue.sgml:
21265 rearrange gstvalue section
21266 * gst/gstutils.c: (gst_element_state_get_name):
21268 * gst/gstvalue.c: (_gst_value_initialize):
21272 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21274 * check/gst-libs/controller.c:
21275 Header include fix.
21276 * gst/base/gstbasetransform.c:
21277 (gst_base_transform_default_prepare_buf),
21278 (gst_base_transform_handle_buffer):
21279 * gst/base/gstbasetransform.h:
21280 Some more basetransform changes and fixes to enable sub-classes
21281 that modify buffer metadata only.
21282 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21283 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21284 (gst_capsfilter_prepare_buf):
21285 If the output pad has fixed allowed caps and input buffers
21286 don't have any, set the fixed caps on outgoing buffers.
21288 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21289 * check/elements/identity.c: (GST_START_TEST):
21290 Make the error a little clearer when the test fails because
21291 identity made a copy of the buffer.
21292 * docs/gst/gstreamer-sections.txt:
21293 New symbols in gstbasetransform.h
21294 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21295 (gst_base_transform_init), (gst_base_transform_transform_size),
21296 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21297 (gst_base_transform_default_prepare_buf),
21298 (gst_base_transform_get_unit_size),
21299 (gst_base_transform_buffer_alloc),
21300 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21301 (gst_base_transform_change_state),
21302 (gst_base_transform_set_passthrough),
21303 (gst_base_transform_set_in_place),
21304 (gst_base_transform_is_in_place):
21305 * gst/base/gstbasetransform.h:
21306 Change BaseTransform to separate in_place operate from same_caps
21307 output. in_place implies that the element can perform the transform
21308 on incoming buffers in-place, even if the caps on the output are
21310 Sub-class elements can now implement special buffer allocation
21311 methods for outgoing buffers if they wish to.
21312 Big documentation addition.
21313 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21314 * gst/elements/gstelements.c:
21315 Changes for basetransform modifications.
21316 * gst/elements/Makefile.am:
21317 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21318 Compile fix. Extra debug output.
21320 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21322 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21324 add tests for valid pad naming
21325 * gst/check/gstcheck.c: (gst_check_log_message_func),
21326 (gst_check_log_critical_func):
21328 remove printing of code, it is fragile when the code contains
21329 % and the line number is enough info
21330 * gst/check/gstcheck.h:
21331 * gst/gstpad.c: (gst_pad_template_new):
21334 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21337 say what CHECK flags we use
21338 * docs/libs/gstreamer-libs.types:
21339 * libs/gst/controller/Makefile.am:
21340 * libs/gst/controller/gst-controller.c:
21341 * libs/gst/controller/gst-controller.h:
21342 * libs/gst/controller/gst-helper.c:
21343 * libs/gst/controller/gst-interpolation.c:
21344 * libs/gst/controller/gstcontroller.c:
21345 * libs/gst/controller/gsthelper.c:
21346 * libs/gst/controller/gstinterpolation.c:
21347 * tools/gst-inspect.c: (print_plugin_info):
21348 we don't use dashes in header names
21350 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21352 * check/Makefile.am:
21353 * check/gst/.cvsignore:
21354 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21355 (gst_pipeline_suite), (main):
21356 adding a test for pipelines and state changes
21357 * gst/gstutils.c: (get_state_func):
21359 * gstreamer.spec.in:
21362 2005-09-08 Michael Smith <msmith@fluendo.com>
21364 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21365 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21366 (gst_file_src_is_seekable), (gst_file_src_get_size),
21367 (gst_file_src_start):
21368 * gst/elements/gstfilesrc.h:
21369 Various fixes for unseekable, unmmapable, and non-normal files, so
21370 that fallback to read() rather than mmap() works.
21371 * gst/gstevent.c: (gst_event_new_newsegment):
21372 Allow newsegment events with segment_start == segment_end, as will
21373 correctly happen if you use filesrc on a zero-size file, for
21376 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21378 * gst/gstplugin.c: (gst_plugin_load_file):
21379 Call g_module_close when we don't load the module
21381 * gst/registries/gstlibxmlregistry.c:
21382 (gst_xml_registry_get_property):
21383 Port leak fix from 0.8
21385 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21387 * docs/gst/gstreamer-docs.sgml:
21388 * docs/gst/tmpl/.cvsignore:
21389 * docs/gst/tmpl/gsttrace.sgml:
21390 * docs/gst/tmpl/gsttrashstack.sgml:
21393 * gst/gstelement.h:
21395 * gst/gstmessage.c:
21396 * gst/gstmessage.h:
21399 * gst/gsttaginterface.c:
21400 * gst/gsttaginterface.h:
21401 * gst/gsttaglist.c:
21402 * gst/gsttaglist.h:
21403 * gst/gsttagsetter.c:
21404 * gst/gsttagsetter.h:
21407 * gst/gsttrashstack.c:
21408 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21409 inlined docs for gsttrace, gsttrashstack
21411 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21414 * gst/elements/gstbufferstore.h:
21415 * gst/elements/gsttypefindelement.c:
21416 * gst/elements/gsttypefindelement.h:
21418 * gst/gsttypefind.c:
21419 * gst/gsttypefind.h:
21420 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21421 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21422 (gst_type_find_factory_dispose),
21423 (gst_type_find_factory_unload_thyself),
21424 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21425 (gst_type_find_factory_get_caps),
21426 (gst_type_find_factory_get_extensions),
21427 (gst_type_find_factory_call_function):
21428 * gst/gsttypefindfactory.h:
21429 * gst/registries/gstlibxmlregistry.c:
21430 * gst/registries/gstxmlregistry.c:
21431 splitted gsttypefind into gsttypefind, gsttypefindfactory
21433 2005-09-07 Andy Wingo <wingo@pobox.com>
21435 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21436 condition whereby the pad's task function is entered before the
21437 pad_mode variable was set.
21439 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21441 * gst/gstpad.c: (gst_pad_alloc_buffer):
21442 Catch misbehaving pad_alloc functions that don't
21443 set up caps and do it for them.
21445 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21447 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21448 test for pipe!=NULL
21449 * docs/gst/tmpl/.cvsignore:
21450 * docs/gst/tmpl/gstmemchunk.sgml:
21451 * docs/gst/tmpl/gstparse.sgml:
21452 * docs/gst/tmpl/gsttaglist.sgml:
21453 * docs/gst/tmpl/gsttagsetter.sgml:
21454 * docs/gst/tmpl/gsttypefind.sgml:
21455 * docs/gst/tmpl/gsttypefindfactory.sgml:
21456 * gst/gstmemchunk.c:
21459 * gst/gsttaginterface.c:
21460 * gst/gsttypefind.c:
21461 * gst/gsttypefind.h:
21464 === release 0.9.2 ===
21466 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
21471 releasing 0.9.2, "South"
21473 2005-09-05 Andy Wingo <wingo@pobox.com>
21475 * gst/registries/gstxmlregistry.h:
21476 * gst/registries/gstxmlregistry.c: Um... resurrect...
21478 * gst/registries/gstxmlregistry.h:
21479 * gst/registries/gstxmlregistry.c: and update to newer API.
21480 Incidentally they should be a bit faster now that they don't have
21483 2005-09-05 Andy Wingo <wingo@pobox.com>
21485 * gst/registries/gstxmlregistry.h:
21486 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21487 replaced by the libxml registry a while back
21489 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21491 * docs/gst/tmpl/gstplugin.sgml:
21492 * gst/elements/gstelements.c:
21494 * gst/gstplugin.c: (gst_plugin_register_func),
21495 (gst_plugin_desc_copy), (gst_plugin_desc_free),
21496 (gst_plugin_get_source):
21498 * gst/registries/gstlibxmlregistry.c: (load_plugin),
21499 (gst_xml_registry_save_plugin):
21500 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21501 (gst_xml_registry_save_plugin):
21502 * tools/gst-inspect.c: (print_plugin_info):
21503 add a "source" plugin description field, to represent the source
21504 module this plugin is a part of. By default GST_PLUGIN_DEFINE
21505 will set it to PACKAGE, which is automake's idea of the name of
21506 the source project.
21508 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21513 * docs/Makefile.am:
21514 * docs/faq/Makefile.am:
21515 * docs/gst/tmpl/gstelement.sgml:
21516 * docs/gst/tmpl/gsttypes.sgml:
21517 * docs/htmlinstall.mak:
21518 * docs/manual/Makefile.am:
21519 * docs/pwg/Makefile.am:
21520 reorganize doc build a little
21521 split out docbook and gtk-doc stuff
21522 have two separate --enable's and enable them through autogen
21523 but disable by default in configure (to be similar to other
21525 * gstreamer.spec.in:
21526 clean up docs install
21544 translation updates
21546 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
21548 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21551 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21552 (gst_fake_sink_change_state):
21553 Make state change function thread-safe.
21555 * gst/gstpad.c: (gst_pad_alloc_buffer):
21556 Set offset on generic buffer allocated by fallback.
21558 2005-09-03 Stefan Kost <ensonic@users.sf.net>
21560 * docs/gst/gstreamer-sections.txt:
21561 * docs/gst/tmpl/gstelement.sgml:
21563 * libs/gst/controller/gst-controller.c:
21564 (gst_controlled_property_set_interpolation_mode),
21565 (gst_controlled_property_new),
21566 (gst_controller_find_controlled_property):
21567 run the wingo-magic script against the docs
21569 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21571 * docs/gst/gstreamer-docs.sgml:
21572 * docs/gst/gstreamer-sections.txt:
21573 * docs/gst/tmpl/.cvsignore:
21574 * docs/gst/tmpl/gstelementdetails.sgml:
21575 * docs/gst/tmpl/gstelementfactory.sgml:
21578 * gst/gstelementfactory.c:
21579 * gst/gstelementfactory.h:
21580 merged elementdetails docs into elementfactory docs
21583 2005-09-02 Andy Wingo <wingo@pobox.com>
21585 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21586 consider this enum an enum and not a flags.
21588 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21590 * docs/gst/gstreamer-docs.sgml:
21591 * docs/gst/tmpl/.cvsignore:
21592 * docs/gst/tmpl/gstghostpad.sgml:
21593 * docs/gst/tmpl/gstiterator.sgml:
21594 * docs/gst/tmpl/gstmacros.sgml:
21595 * docs/gst/tmpl/gstrealpad.sgml:
21596 * docs/gst/tmpl/gstregistry.sgml:
21597 * docs/gst/tmpl/gstregistrypool.sgml:
21598 * docs/gst/tmpl/gststructure.sgml:
21599 * docs/gst/tmpl/gstsystemclock.sgml:
21600 * docs/gst/tmpl/gsttrace.sgml:
21601 * gst/gstghostpad.c:
21603 * gst/gstmemchunk.c:
21604 * gst/gstmemchunk.h:
21606 * gst/gstregistry.c:
21607 * gst/gstregistrypool.c:
21608 * gst/gststructure.c:
21609 * gst/gstsystemclock.c:
21612 2005-09-02 Andy Wingo <wingo@pobox.com>
21614 * gst/gstelement.h (GstState): Renamed from GstElementState,
21615 changed to be a normal enum instead of flags.
21616 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21617 munged to be GST_STATE_CHANGE_*.
21618 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21619 work with the new state representation.
21620 (GstStateChange): New enumeration of possible state transitions.
21621 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21622 (GstElementClass::change_state): Pass the GstStateChange along as
21623 an argument. Helps language bindings, so they don't have to use
21624 tricky lock-needing macros like GST_STATE_CHANGE ().
21626 * scripts/update-states (file): New script. Run it on a file to
21627 update it for state naming and API changes. Updates files in
21630 * All files updated for the new API.
21632 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
21634 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21635 * gst/gstutils.c: (gst_util_set_value_from_string),
21636 (gst_util_set_object_arg):
21637 fix a bunch of unchecked return values
21638 * tools/gst-complete.c: (main):
21639 * gstreamer.spec.in:
21642 2005-09-01 Wim Taymans <wim@fluendo.com>
21644 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21645 (gst_base_sink_event), (gst_base_sink_do_sync),
21646 (gst_base_sink_handle_event):
21647 * gst/base/gstbasesink.h:
21648 Handle newsegments more correctly.
21653 * gst/gstevent.c: (gst_event_new_newsegment):
21654 A newsegment cannot have a start_time of -1
21656 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
21658 * win32/gstenumtypes.c:
21659 * win32/gstenumtypes.h:
21662 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21664 * libs/gst/controller/gst-controller.c:
21665 (gst_controlled_property_set_interpolation_mode),
21666 (gst_controlled_property_new):
21667 fixed boolean again
21669 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
21671 * docs/faq/gst-uninstalled:
21676 * gst/gstutils.c: (gst_element_link_filtered):
21678 add gst_element_link_filtered
21680 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21682 * docs/gst/gstreamer-docs.sgml:
21683 * docs/gst/gstreamer-sections.txt:
21684 * docs/gst/tmpl/.cvsignore:
21685 * docs/gst/tmpl/gsterror.sgml:
21686 * docs/gst/tmpl/gstfilter.sgml:
21687 * docs/gst/tmpl/gsturihandler.sgml:
21688 * docs/gst/tmpl/gsturitype.sgml:
21689 * docs/gst/tmpl/gstutils.sgml:
21690 * docs/gst/tmpl/gstxml.sgml:
21695 * gst/gsturitype.c:
21698 inlined more docs, fixed double id-ref
21700 2005-08-31 Wim Taymans <wim@fluendo.com>
21702 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21703 (gst_base_transform_handle_buffer):
21704 Passthrough elements don't need the caps as they don't care.
21706 2005-08-31 Wim Taymans <wim@fluendo.com>
21708 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21709 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21710 Don't leak refcounts on buffers.
21712 2005-08-31 Wim Taymans <wim@fluendo.com>
21714 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21715 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21716 (gst_base_transform_chain), (gst_base_transform_change_state):
21717 * gst/base/gstbasetransform.h:
21718 Handle the case where we are not negotiated more gracefully.
21720 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
21722 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21723 (gst_file_src_map_region):
21724 Set READONLY flag on mmap'ed buffers, otherwise
21725 gst_buffer_make_writable() won't work properly (#314708).
21727 2005-08-31 Wim Taymans <wim@fluendo.com>
21729 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21730 passthrough elements can even do inplace on non writable
21731 buffers (as they don't touch them).
21733 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21735 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21736 (gst_test_mono_source_set_property),
21737 (gst_test_mono_source_class_init), (GST_START_TEST),
21738 (gst_controller_suite):
21739 more tests (hehe I have the most)
21741 describe popping messages whenusing mulltiple sources
21742 * libs/gst/controller/gst-controller.c:
21743 (gst_controlled_property_set_interpolation_mode),
21744 (gst_controlled_property_new):
21745 * libs/gst/controller/gst-controller.h:
21746 * libs/gst/controller/gst-interpolation.c:
21747 implement boolean properties
21749 2005-08-31 Wim Taymans <wim@fluendo.com>
21751 * gst/gstminiobject.c: (gst_mini_object_ref):
21752 Cannot assert that the refcount has to be positive
21753 since a disposed object can be resurrected.
21755 2005-08-31 Wim Taymans <wim@fluendo.com>
21757 * gst/gstpad.c: (gst_pad_init):
21758 Revert change, need to first fix badly behaving
21761 2005-08-30 Wim Taymans <wim@fluendo.com>
21763 * check/elements/fakesrc.c: (setup_fakesrc):
21764 * check/elements/identity.c: (setup_identity):
21765 Activate pads before using them.
21767 2005-08-30 Wim Taymans <wim@fluendo.com>
21769 * gst/base/gstadapter.c: (gst_adapter_flush):
21770 Flushing out 0 bytes is ok for this function.
21772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21773 no newsegment gives a warning and sets the start/stop to
21776 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21777 (gst_base_transform_set_passthrough):
21780 * gst/gstminiobject.c: (gst_mini_object_ref):
21781 Check refcount here too.
21783 * gst/gstpad.c: (gst_pad_init):
21784 Pads are initially flushing and refusing data.
21786 * gst/gstutils.c: (gst_element_link_pads_filtered):
21787 When adding a capsfilter element make sure it has the
21788 same state as the parent bin.
21790 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21792 * docs/gst/tmpl/.cvsignore:
21793 * docs/gst/tmpl/gstformat.sgml:
21794 * docs/gst/tmpl/gstversion.sgml:
21798 * gst/gstversion.h.in:
21799 more docs and two more inlined
21801 2005-08-30 Wim Taymans <wim@fluendo.com>
21803 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21804 Don't sync to clock.
21806 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21808 * docs/gst/gstreamer-sections.txt:
21809 ultral33t func10ns deserve to appear in the docs actually
21810 * docs/gst/tmpl/.cvsignore:
21811 * docs/gst/tmpl/gstcompat.sgml:
21812 * docs/gst/tmpl/gstconfig.sgml:
21813 * gst/check/gstcheck.c:
21815 * gst/gstconfig.h.in:
21818 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21820 * docs/gst/tmpl/.cvsignore:
21821 * docs/gst/tmpl/gstquery.sgml:
21822 * docs/gst/tmpl/gstutils.sgml:
21825 inlined and extended docs
21827 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21829 * check/gst-libs/controller.c: (GST_START_TEST),
21830 (gst_controller_suite):
21832 * docs/gst/tmpl/gstutils.sgml:
21833 * docs/libs/gstreamer-libs-sections.txt:
21834 * docs/libs/tmpl/gstdataprotocol.sgml:
21836 * examples/controller/audio-example.c: (main):
21837 controller example works now
21840 * tools/gst-inspect.c: (print_element_properties_info):
21841 show param spec flags
21843 2005-08-29 Andy Wingo <wingo@pobox.com>
21845 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21847 2005-08-28 Andy Wingo <wingo@pobox.com>
21849 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21850 as having two arguments instead of just one. Allows superclasses
21851 to access information on subclasses -- see the terrible for() loop
21852 in gtype.c:g_type_create_instance for the reason why. All callers
21855 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21857 * docs/design/part-messages.txt:
21859 * docs/gst/tmpl/.cvsignore:
21860 * docs/gst/tmpl/gstcaps.sgml:
21861 * docs/gst/tmpl/gstclock.sgml:
21867 * gst/gstmessage.c:
21868 added descriptions for bus and message
21869 inline caps and clock docs
21871 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21873 * gst/gstmessage.c:
21874 * gst/gstmessage.h:
21877 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21879 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21882 2005-08-26 Andy Wingo <wingo@pobox.com>
21884 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21885 element_set_state's return val.
21886 (test_2_elements): Add test that's been disabled for months.
21888 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21889 can-activate-pull properties.
21891 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21892 can-activate-pull properties. Implement is_seekable so fakesrc can
21893 operate in pull mode.
21895 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21897 (gst_base_sink_activate, gst_base_sink_activate_pull)
21898 (gst_base_sink_activate_push): Make activation mode choosing work.
21900 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21901 is right. Make pull mode work. Post an eos before pausing in pull
21903 (gst_base_sink_change_state): Pay attention to the core's
21904 change_state() return val.
21906 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21907 has-getrange properties. Cleanups.
21909 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21910 has_getrange and replace with can_activate_pull and
21913 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21914 locking comments. Remove has_loop, has_chain and replace with
21915 can_activate_pull and can_activate_push.
21917 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
21920 * examples/Makefile.am:
21921 * examples/metadata/Makefile.am:
21922 * examples/metadata/read-metadata.c: (message_loop),
21923 (have_pad_handler), (make_pipeline), (print_tag), (main):
21924 Add metadata reading example that loops over a list of filenames,
21925 dumping any tags found.
21927 * gst/gstbus.c: (gst_bus_dispose):
21928 * gst/gstelement.c: (gst_element_dispose):
21929 Release a few potentially-held references in dispose.
21931 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21933 * docs/gst/tmpl/gstminiobject.sgml:
21934 do *not* add tmpl/*.sgml files to CVS!
21936 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21938 * libs/gst/bytestream/.cvsignore:
21939 * libs/gst/bytestream/Makefile.am:
21940 * libs/gst/bytestream/adapter.c:
21941 * libs/gst/bytestream/adapter.h:
21942 * libs/gst/bytestream/bytestream.c:
21943 * libs/gst/bytestream/bytestream.h:
21944 * libs/gst/bytestream/filepad.c:
21945 * libs/gst/bytestream/filepad.h:
21946 removing obsolete files
21948 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21950 * docs/gst/gstreamer-docs.sgml:
21951 * docs/libs/gstreamer-libs-docs.sgml:
21952 disabed additional index entries again, as this makes docs-gen just
21953 slow and they aren't useful yet
21954 * docs/libs/gstreamer-libs-sections.txt:
21955 little -section.txt cleanup for libs
21957 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
21959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21960 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21961 fix up some debugging
21962 (gst_base_transform_get_unit_size),
21963 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21964 (gst_base_transform_handle_buffer):
21965 * gst/base/gstbasetransform.h:
21966 handle and store timed NEWSEGMENT events so that subclasses that
21967 calculate time by counting samples have a segment_start time they
21968 need to add to their timestamps - see audioresample
21970 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21973 removed ';' from the end of macro defs
21974 * docs/gst/gstreamer-docs.sgml:
21975 * docs/gst/gstreamer-sections.txt:
21976 * docs/gst/tmpl/.cvsignore:
21978 * gst/gstelement.c: (gst_element_class_init),
21979 (gst_element_set_state), (activate_pads),
21980 (gst_element_save_thyself):
21981 * gst/gstevent.c: (gst_event_new_newsegment):
21983 * gst/gstiterator.c:
21984 * gst/gstiterator.h:
21987 * gst/gstutils.c: (gst_pad_query_convert):
21989 fixed parameter name mismatches between source, header and docs
21990 added some more docs, resolved the last batch of unused elements in
21991 docs (now someone needs to doc them)
21993 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21995 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21996 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21997 don't walk through the plugins backwards. Where is all this
21998 reversed logic coming from ?
22000 2005-08-25 Wim Taymans <wim@fluendo.com>
22002 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22003 (gst_base_transform_transform_size),
22004 (gst_base_transform_configure_caps),
22005 (gst_base_transform_get_unit_size),
22006 (gst_base_transform_buffer_alloc),
22007 (gst_base_transform_change_state):
22008 * gst/base/gstbasetransform.h:
22009 Cache caps unit_size.
22010 Make sure we cannot negotiate up and downstream at the
22013 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22015 * gst/gst.c: (init_pre), (init_post):
22016 register the installed plugin path after the env var
22017 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22018 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22019 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22020 directories, so the tests can prefer uninstalled over installed
22022 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22024 * gst/base/gstbasetransform.h:
22029 2005-08-25 Wim Taymans <wim@fluendo.com>
22031 * gst/gstbin.c: (bin_bus_handler):
22032 Be a bit more conservative about the posted message.
22034 * gst/gstbus.c: (gst_bus_post):
22035 Some cleanups, warn wrong return values.
22037 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
22039 * check/gst/gstbin.c: (GST_START_TEST):
22040 * gst/gstbin.c: (bin_bus_handler):
22041 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22042 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22043 (gst_message_new_warning), (gst_message_new_tag),
22044 (gst_message_new_state_changed), (gst_message_new_segment_start),
22045 (gst_message_new_segment_done), (gst_message_new_custom):
22046 * gst/gstmessage.h:
22047 * tools/gst-launch.c: (event_loop):
22048 * tools/gst-md5sum.c: (event_loop):
22049 Revert unpopular change for GST_MESSAGE_SRC to GObject.
22051 2005-08-25 Wim Taymans <wim@fluendo.com>
22053 * check/generic/states.c: (GST_START_TEST):
22054 Cleanup can be done at the end.
22056 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22057 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22058 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22059 Oh boy.. Thanks for finding this, Thomas.
22061 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22063 * docs/gst/gstreamer.types:
22064 added missing types
22066 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22068 * docs/gst/gstreamer-docs.sgml:
22069 * docs/gst/gstreamer-sections.txt:
22070 * docs/gst/tmpl/.cvsignore:
22072 * gst/gstiterator.c:
22074 * gst/registries/gstxmlregistry.h:
22075 added missing classes and symbols (123 more to go)
22076 removed removed symbols from section file
22077 fixed many doc-comments
22079 2005-08-24 Wim Taymans <wim@fluendo.com>
22081 * check/generic/states.c: (GST_START_TEST):
22082 Make sure all tasks are stopped.
22084 * check/gst/gstbin.c: (GST_START_TEST):
22085 Unref after usage for proper valgrinding.
22087 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22088 Really wait for the task to stop before destroying the
22091 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22092 (gst_queue_src_activate_push):
22093 Small cleanups. Don't stop the task when we did not start
22096 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22097 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22098 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22101 Protect the stream lock with the object lock.
22102 Disallow setting the stream lock when running.
22103 Add cleanup_all to wait for the threadpool to finish.
22104 Remove code to autoallocate a mutex if none was provided.
22105 Add _join() to wait for a task to stop.
22106 Protect the thread pool with a global lock.
22108 2005-08-24 Wim Taymans <wim@fluendo.com>
22110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22111 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22112 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22113 * gst/base/gstbasesink.h:
22114 Handle newsegment events correctly.
22115 Drop buffers out of the segment range.
22117 2005-08-22 Andy Wingo <wingo@pobox.com>
22119 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22120 macro, implements an interface and gstimplementsinterface for a
22123 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22125 * check/Makefile.am:
22126 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22127 add a test that does a bunch of state changes on elements
22128 needs some fixing for valgrind
22129 * check/states/sinks.c: (gst_object_suite):
22132 add prototype for gst_caps_is_equal_fixed
22134 * gst/gstregistrypool.c:
22137 2005-08-24 Andy Wingo <wingo@pobox.com>
22139 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22140 convert a negative value. Doesn't make much sense. Mostly this is
22141 here to force callers to ensure -1 maps to -1.
22143 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22145 * docs/pwg/advanced-types.xml:
22146 Well done to Michael for catching my deliberate introduction
22147 of this spelling mistake.
22148 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22149 * gst/gstelement.h:
22150 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22151 unlink pads before removing the element from the bin.
22153 2005-08-24 Andy Wingo <wingo@pobox.com>
22155 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22156 the same thing as GST_DEBUG=*:4.
22157 (parse_debug_level, parse_debug_category): New helper parsers.
22159 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22162 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22163 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22164 (gst_base_transform_buffer_alloc),
22165 (gst_base_transform_handle_buffer):
22166 use gboolean return values and pointers to size so we can use the
22167 full GST_BUFFER_SIZE range (guint) for buffer sizes
22168 use GstPadDirection for transform_caps
22169 * gst/base/gstbasetransform.h:
22170 rename get_size to get_unit_size since that's what it is
22171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22172 use GstPadDirection for transform_caps
22173 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22175 cleanup and debugging
22177 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22179 * gst/gstelement.c: (gst_element_class_init),
22180 (gst_element_set_state), (activate_pads),
22181 (gst_element_save_thyself):
22182 * tools/gst-compprep.c: (main):
22183 * tools/gst-inspect.c: (print_element_properties_info):
22184 * tools/gst-xmlinspect.c: (print_element_properties):
22185 Fixed long standing mem-leak
22187 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22189 * check/gst/gstbin.c: (GST_START_TEST):
22190 * gst/gstbin.c: (bin_bus_handler):
22191 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22192 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22193 (gst_message_new_warning), (gst_message_new_tag),
22194 (gst_message_new_state_changed), (gst_message_new_segment_start),
22195 (gst_message_new_segment_done), (gst_message_new_custom):
22196 * gst/gstmessage.h:
22197 * tools/gst-launch.c: (event_loop):
22198 * tools/gst-md5sum.c: (event_loop):
22199 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22200 that applications can sensibly post custom messages with references
22201 to their own objects.
22203 2005-08-24 Andy Wingo <wingo@pobox.com>
22205 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22208 2005-08-24 Wim Taymans <wim@fluendo.com>
22210 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22211 (gst_base_transform_transform_caps),
22212 (gst_base_transform_transform_size),
22213 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22214 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22215 (gst_base_transform_handle_buffer):
22216 * gst/base/gstbasetransform.h:
22217 Many fixes and new features added by Thomas. Can now also do
22218 transforms with variable sizes and a custom fixate_caps function.
22220 2005-08-24 Wim Taymans <wim@fluendo.com>
22222 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22226 Cast to ClockTime before formatting to time.
22231 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22233 * check/gst-libs/controller.c: (GST_START_TEST),
22234 (gst_controller_suite):
22235 * docs/gst/tmpl/gstcaps.sgml:
22236 * docs/gst/tmpl/gstghostpad.sgml:
22237 * docs/gst/tmpl/gstquery.sgml:
22238 * docs/gst/tmpl/gstutils.sgml:
22239 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22240 (gst_object_sink_values), (gst_object_get_value_arrays),
22241 (gst_object_get_value_array):
22242 gracefully handle helper method calls to objects that are not beeing
22243 controlled, added test case for that
22245 2005-08-23 Wim Taymans <wim@fluendo.com>
22247 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22248 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22249 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22250 (gst_event_parse_qos), (gst_event_new_seek),
22251 (gst_event_parse_seek):
22253 Some more debugging output and doc cleanups.
22255 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22256 Fix possible deadlock.
22258 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22260 * docs/gst/gstreamer-docs.sgml:
22261 * docs/gst/gstreamer-sections.txt:
22262 * docs/gst/gstreamer.types:
22263 * docs/gst/tmpl/.cvsignore:
22266 * gst/gstelement.c:
22268 added 100 symbols from gstreamer-unused.txt to the right sections
22269 fixed more broken comments
22270 added GstBus to docs
22272 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22274 * docs/gst/gstreamer-sections.txt:
22275 * docs/gst/tmpl/.cvsignore:
22276 * docs/gst/tmpl/gstbin.sgml:
22277 * docs/gst/tmpl/gstbuffer.sgml:
22278 * gst/base/gstbasesrc.c:
22279 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22282 * tools/gst-launch.1.in:
22283 inlined more doc comments, added missing comments and fixed comments
22286 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22288 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22292 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22294 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22295 * gst/gststructure.h:
22296 add a fixate function for booleans; add a FIXME that these func
22297 names should probably be gst_structure_fixate_*
22299 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22301 * docs/gst/gstreamer-docs.sgml:
22302 * docs/gst/gstreamer-sections.txt:
22304 * gst/gstbin.c: (gst_bin_get_type),
22305 (gst_bin_child_proxy_get_child_by_index),
22306 (gst_bin_child_proxy_get_children_count),
22307 (gst_bin_child_proxy_init):
22308 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22309 (gst_child_proxy_get_child_by_index),
22310 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22311 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22312 (gst_child_proxy_get), (gst_child_proxy_set_property),
22313 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22314 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22315 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22316 * gst/gstchildproxy.h:
22317 * gst/parse/grammar.y:
22318 * tools/gst-inspect.c: (print_interfaces),
22319 (print_element_properties_info), (print_element_info):
22320 ported gstchildproxy over from 0.8
22321 ported gst-inspect fixes and enhancements over from 0.8
22323 2005-08-22 Wim Taymans <wim@fluendo.com>
22325 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22326 (gst_base_transform_handle_buffer):
22327 Also call the transform function if we have ANY caps.
22329 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22332 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22334 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22335 Don't pretend to handle seek events if the source is not seekable
22337 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22340 Remove extra parameter to debug output
22342 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22343 (gst_base_src_do_seek), (gst_base_src_activate_push):
22344 Fix seek event handling.
22346 * gst/gstpipeline.c: (gst_pipeline_change_state):
22347 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22348 (gst_queue_src_activate_push):
22349 Don't start the src pad task on FLUSH_STOP if the pad
22353 2005-08-22 Wim Taymans <wim@fluendo.com>
22355 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22356 Added check for gst_static_caps_get() refcounting.
22358 2005-08-22 Wim Taymans <wim@fluendo.com>
22360 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22361 Make _static_caps_get() refcounting sane.
22363 * gst/gstelement.c: (gst_element_set_state):
22364 Add g_return_val_if_fail() to protect against segfaults.
22366 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22368 * docs/gst/tmpl/gstevent.sgml:
22371 inlined remaining docs, added missing doc comments
22373 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22375 * check/gst/gstbin.c: (GST_START_TEST):
22376 since we don't know when preroll is done, use refcount range
22378 * gst/check/gstcheck.h:
22379 add macro for checking refcount range
22381 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22383 * check/Makefile.am:
22384 clean up environment for when registry gets built versus
22385 when actual tests are run; valgrind seems to not report
22386 leaks if GST_PLUGIN_PATH is set to some specific values
22387 * check/gst/gstbin.c: (GST_START_TEST):
22388 add more refcounting checks; maybe this exposes a
22390 * common/check.mak:
22391 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22392 * gst/check/gstcheck.h:
22393 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22394 (gst_bin_change_state):
22395 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22396 add/fix debugging/whitespace
22398 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22400 * check/gst/gstevent.c: (event_probe), (test_event),
22402 Er, don't call gst_bin_watch_for_state_change you idiot.
22404 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22406 * check/Makefile.am:
22407 Use CHECK_CFLAGS and CHECK_LIBS
22408 * check/gst/gstevent.c: (event_probe), (test_event),
22411 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22412 (gst_base_src_start), (gst_base_src_stop),
22413 (gst_base_src_activate_push), (gst_base_src_activate_pull),
22414 (gst_base_src_change_state):
22415 Sprinkle gst_base_src_stop liberally around error paths to fix
22416 problems reusing a source after failed state changes.
22417 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22418 (helper_find_suggest), (gst_type_find_helper):
22419 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22421 * docs/gst/tmpl/gstevent.sgml:
22422 Migrate part of the docs from the SGML file. Wait for ensonic to
22423 tell me how I did it wrong ;)
22424 * tools/gst-typefind.c: (main):
22425 Extra robustness to state changes between files.
22427 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22429 * check/Makefile.am:
22430 don't valgrind the controller test - it's leaking - Stefan, HELP
22431 * gst/check/gstcheck.c: (gst_check_message_error),
22432 (gst_check_chain_func), (gst_check_setup_element),
22433 (gst_check_teardown_element), (gst_check_setup_src_pad),
22434 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22435 (gst_check_teardown_sink_pad):
22436 * gst/check/gstcheck.h:
22437 add a bunch of methods to set up elements, and src and sink pads
22438 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22439 * check/elements/identity.c: (setup_identity), (cleanup_identity),
22442 * gst/gstmessage.c:
22444 whitespace/doc fixes
22446 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22448 * gst/gstelement.h:
22449 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22450 be handled by the application and not always printed as well
22452 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22454 * check/Makefile.am:
22456 * gst/check/gstcheck.c: (gst_check_message_error):
22457 * gst/check/gstcheck.h:
22458 add a fail_unless_equals_int
22459 add fail_unless for error messages
22461 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22463 * check/Makefile.am:
22465 * common/Makefile.am:
22466 * common/check.mak:
22468 factor out some of the common stuff so we can use it
22470 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22472 * check/Makefile.am:
22473 * check/gst/gstiterator.c: (GST_START_TEST):
22474 * check/gst/gstsystemclock.c: (GST_START_TEST),
22475 (gst_systemclock_suite):
22476 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22478 valgrind more tests
22480 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22482 * check/elements/.cvsignore:
22483 * check/elements/gstfakesrc.c:
22484 rename to name of element
22485 * check/elements/identity.c: (chain_func), (event_func),
22486 (setup_identity), (cleanup_identity), (GST_START_TEST),
22487 (identity_suite), (main):
22488 add a test for identity
22489 * check/Makefile.am:
22490 * pkgconfig/Makefile.am:
22491 * pkgconfig/gstreamer-check.pc.in:
22492 * pkgconfig/gstreamer-check-uninstalled.pc.in:
22496 move the check stuff to a library that gets installed
22497 * check/gst-libs/controller.c: (GST_START_TEST):
22498 * check/gst-libs/gdp.c:
22499 * check/gst/gst.c: (GST_START_TEST):
22500 * check/gst/gstbin.c:
22501 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22502 * check/gst/gstbus.c:
22503 * check/gst/gstcaps.c: (GST_START_TEST):
22504 * check/gst/gstelement.c:
22505 * check/gst/gstghostpad.c:
22506 * check/gst/gstiterator.c:
22507 * check/gst/gstmessage.c:
22508 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22509 * check/gst/gstobject.c:
22510 * check/gst/gstpad.c: (GST_START_TEST):
22511 * check/gst/gststructure.c: (GST_START_TEST):
22512 * check/gst/gstsystemclock.c: (GST_START_TEST),
22513 (gst_systemclock_suite):
22514 * check/gst/gsttag.c: (gst_tag_suite):
22515 * check/gst/gstvalue.c:
22516 * check/pipelines/cleanup.c:
22517 * check/pipelines/simple_launch_lines.c:
22518 * check/states/sinks.c:
22519 change include statement
22521 * docs/gst/gstreamer-sections.txt:
22522 * docs/gst/tmpl/gstpad.sgml:
22523 document more pad stuff
22524 * gst/gstminiobject.c: (gst_mini_object_ref),
22525 (gst_mini_object_unref):
22528 2005-08-19 Stefan Kost <ensonic@users.sf.net>
22530 * docs/gst/tmpl/gst.sgml:
22532 eliminate another tmpl file, fix spelling in the long-description
22534 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22536 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22537 (test_event), (timediff), (gstevents_suite):
22538 Should fix build on 64-bit arch's
22540 2005-08-18 Andy Wingo <wingo@pobox.com>
22542 Make sure that when a pipeline goes to PLAYING, that data has
22543 actually hit the sink.
22545 * check/states/sinks.c (test_sink): A sink that doesn't get any
22546 data shouldn't return SUCCESS for going to either PLAYING or
22547 PAUSED. Test also the return values on the way back down.
22549 * gst/gstelement.c (gst_element_set_state): When changing the
22550 state of an element currently changing state asynchronously, go to
22551 lost-state after commiting the pending state. Makes future calls
22552 to get_state continue to return ASYNC.
22554 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22555 ASYNC when going to PLAYING if we still don't have preroll, as can
22556 happen with live sources.
22558 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22560 * docs/pwg/advanced-types.xml:
22561 Hack long paragraph into 2 chunks as a workaround for buggy
22562 jadetex version in sid and breezy that loops infinitely and
22565 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22567 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22568 (test_event), (timediff), (gstevents_suite):
22569 Provide more error margin in clock measurements to allow for
22570 g_get_current_time inaccuracies.
22572 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22574 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22575 (test_event), (timediff), (gstevents_suite):
22576 Fix error message output so I might be able to tell why the
22577 test works here but fails on the build farm.
22579 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22581 * check/Makefile.am:
22582 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22583 (test_event), (timediff), (gstevents_suite), (main):
22586 * docs/design/part-seeking.txt:
22587 Spelling correction
22589 * docs/gst/tmpl/gstevent.sgml:
22590 * docs/gst/tmpl/gstfakesrc.sgml:
22593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22594 Treat a buffer-without-newsegment the same as a receiving
22595 a newsegment not in time format, and disable syncing to the clock
22598 * gst/gstbus.c: (gst_bus_set_sync_handler):
22599 Assert if anyone tries to replace the existing sync_handler for bus,
22600 as only the owner should be setting it.
22603 Have a fixed set of custom event enums with events identified by
22604 their structure name (as in 0.8), rather than a free-for-all
22605 allowing collisions between enum values from different plugins.
22607 * gst/gstpad.c: (gst_pad_class_init):
22610 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22611 Handle out-of-band downstream events from the sending thread.
22613 2005-08-17 Andy Wingo <wingo@pobox.com>
22615 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22616 play-timeout==0 to mean no timeout at all. In that case, don't
22617 bother with a get_state or a warning, just return directly, even
22620 * gst/base/gstbasetransform.c: Debug changes.
22623 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22624 ensure bins post state change messages. A bit of a hack but I can't
22625 think of a way to avoid it.
22627 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22629 2005-08-16 Andy Wingo <wingo@pobox.com>
22631 * gst/base/gstadapter.h:
22632 * gst/base/gstadapter.c (gst_adapter_take): New function, like
22633 peek() but you own the data. Not terribly efficient atm.
22635 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22637 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22638 (gst_element_found_tags):
22640 Add two utility functions for tag handling.
22642 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22644 * docs/manual/advanced-dataaccess.xml:
22645 * docs/manual/basics-helloworld.xml:
22646 Fix docs to use _bin_add() before _link(), which fixes the examples
22647 with recent core versions (reported by Madhan Raj M
22648 <raj_madan@rediffmail.com>, #313199).
22650 2005-08-16 Wim Taymans <wim@fluendo.com>
22652 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22653 Added subtract checks.
22655 * docs/design/part-events.txt:
22656 Some more docs about newsegment
22658 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22661 * gst/gstcaps.c: (gst_caps_to_string):
22662 Add comments, cleanups.
22664 * gst/gstelement.c: (gst_element_save_thyself):
22667 * gst/gstvalue.c: (gst_value_collect_int_range),
22668 (gst_string_unwrap), (gst_value_union_int_int_range),
22669 (gst_value_union_int_range_int_range),
22670 (gst_value_intersect_int_int_range),
22671 (gst_value_intersect_int_range_int_range),
22672 (gst_value_intersect_double_double_range),
22673 (gst_value_intersect_double_range_double_range),
22674 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22675 (gst_value_subtract_int_range_int),
22676 (gst_value_subtract_double_range_double),
22677 (gst_value_subtract_double_range_double_range),
22678 (gst_value_subtract_from_list), (gst_value_subtract_list),
22679 (gst_value_can_compare), (gst_value_compare_fraction):
22680 Cleanups, add comments, remove unneeded asserts.
22682 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22684 * tools/gst-launch.c: (event_loop):
22685 don't convert NULL structures to strings
22687 2005-08-15 Stefan Kost <ensonic@users.sf.net>
22689 * docs/gst/gstreamer-sections.txt:
22690 made some defines private
22691 * docs/gst/tmpl/gstconfig.sgml:
22692 * docs/gst/tmpl/gstqueue.sgml:
22693 * docs/gst/tmpl/gsttaglist.sgml:
22694 * docs/gst/tmpl/gsttypes.sgml:
22695 * docs/gst/tmpl/gstutils.sgml:
22696 * docs/pwg/appendix-porting.xml:
22697 * gst/base/gstbasesink.h:
22698 * gst/base/gstbasesrc.c:
22699 * gst/base/gstbasesrc.h:
22700 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22701 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22702 * gst/gstelement.c: (gst_element_class_init):
22703 * gst/gstpad.c: (gst_pad_class_init):
22704 * gst/gstqueue.c: (gst_queue_class_init):
22705 * gst/gstxml.c: (gst_xml_class_init):
22706 documented all undocumented signal inline
22707 * libs/gst/controller/gst-controller.h:
22710 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22712 * docs/pwg/appendix-porting.xml:
22713 Document _set_link_function -> _set_setcaps_function.
22715 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22717 * check/Makefile.am:
22718 add a .check target for running the check
22719 * check/gst-libs/controller.c: (GST_START_TEST):
22721 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22722 complete checks for gstbuffer; would be nice if I could get the
22723 gcov stuff to work so I can see if I actually completed gstbuffer.c
22724 * check/gstcheck.h:
22725 add ASSERT_BUFFER_REFCOUNT
22727 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
22729 * docs/gst/gstreamer-sections.txt:
22730 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22732 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22733 spew out a warning if a tag that is already registered
22734 is re-registered, unless it is re-registered with a
22735 different type (#308438).
22737 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
22739 * docs/pwg/appendix-porting.xml:
22740 * docs/pwg/building-state.xml:
22741 Add some paragraphs about state changes in 0.9 to the PWG
22742 and the porting guide, in particular about the new meaning
22743 of GST_STATE_PAUSED and how to write state change functions
22744 with concurrent access by multiple threads in mind.
22746 2005-08-11 Stefan Kost <ensonic@users.sf.net>
22748 * docs/gst/gstreamer-docs.sgml:
22749 * docs/libs/gstreamer-libs-docs.sgml:
22750 added deprecation and since indexes
22751 * libs/gst/controller/gst-controller.c:
22752 * libs/gst/controller/gst-helper.c:
22756 2005-08-11 Wim Taymans <wim@fluendo.com>
22758 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22759 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22760 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22761 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22762 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22763 (gst_ghost_pad_set_target):
22764 Actually implement (re)setting the target on a ghostpad
22765 as described in the docs.
22767 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22769 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22770 Check whether GST_DEBUG_NO_COLOR environment variable is
22771 set and disable coloured debug output if that is the case.
22773 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22775 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22776 (gst_type_find_helper):
22777 The memory returned by gst_type_find_peek() needs to
22778 stay valid until the end of a typefind function, and
22779 typefind functions may keep results from different
22780 offsets around, so we can't just unref the buffer from
22781 the previous _peek(), but have to save all buffers
22782 returned by _peek() until typefinding is done and only
22785 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
22787 * docs/gst/gstreamer-sections.txt:
22789 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22791 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22793 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22794 Fix a pretty good memleak.
22796 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22798 * gst/gstiterator.h:
22799 Fix wrong include and 'make distcheck'.
22801 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22803 * gst/gstbin.c: (bin_bus_handler):
22804 Use gst_element_post_message() instead.
22806 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22808 * gst/base/gstadapter.h:
22809 * gst/base/gstbasesink.h:
22810 * gst/base/gstbasesrc.h:
22811 * gst/base/gstbasetransform.h:
22812 * gst/base/gstcollectpads.h:
22813 * gst/base/gstpushsrc.h:
22814 * gst/gstiterator.h:
22815 Add padding to our base elements' class and instance structs and
22816 to GstIterator (you will need to rebuild all plugins and apps!)
22818 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22820 * gst/gstbin.c: (bin_bus_handler):
22821 Make default message forwarding from child->bus to bin->bus
22822 threadsafe and make it not emit warnings if the parent has no bus.
22824 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22826 * gst/gstelement.c: (activate_pads):
22827 On paused->ready, set pad->caps to NULL, as is the documented
22828 behaviour in this state change. Fixes playback of series of
22829 media files when visualization is enabled in Totem.
22831 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22833 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22834 Allow NULL as filter-caps (which means "any").
22836 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22838 * docs/libs/gstreamer-libs-sections.txt:
22839 * libs/gst/controller/gst-controller.c:
22840 * libs/gst/controller/gst-controller.h:
22841 * libs/gst/controller/gst-helper.c:
22842 adding more entries to the docs and fix small doc-bugs
22844 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22846 * docs/gst/gstreamer-docs.sgml:
22847 * docs/gst/gstreamer-sections.txt:
22848 * docs/gst/gstreamer.types:
22849 * docs/gst/tmpl/gstbasesink.sgml:
22850 * docs/gst/tmpl/gstbasesrc.sgml:
22851 * docs/gst/tmpl/gstbasetransform.sgml:
22852 * docs/gst/tmpl/gstfakesrc.sgml:
22853 * gst/base/gstcollectpads.c:
22854 * gst/base/gstcollectpads.h:
22855 * libs/gst/controller/gst-controller.c:
22856 * libs/gst/controller/gst-controller.h:
22857 * libs/gst/controller/gst-helper.c:
22858 * libs/gst/controller/gst-interpolation.c:
22859 * libs/gst/controller/lib.c:
22860 added long/short desc for controller docs
22861 added collectpads base class docs
22862 added correct includes to base-class docs
22864 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22866 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22867 (gst_test_mono_source_set_property),
22868 (gst_test_mono_source_class_init), (GST_START_TEST),
22869 (gst_controller_suite):
22870 * docs/gst/gstreamer-docs.sgml:
22871 * docs/gst/gstreamer-sections.txt:
22872 * docs/gst/gstreamer.types:
22873 * docs/libs/gstreamer-libs-docs.sgml:
22874 * docs/libs/gstreamer-libs-sections.txt:
22875 * gst/base/gstadapter.c:
22876 * libs/gst/controller/gst-controller.c:
22877 (gst_controlled_property_new), (gst_controlled_property_free),
22878 (gst_controller_new_valist),
22879 (gst_controller_remove_properties_valist),
22880 (gst_controller_sink_values), (_gst_controller_finalize):
22881 * libs/gst/controller/gst-controller.h:
22882 * libs/gst/controller/gst-helper.c:
22883 (gst_object_control_properties), (gst_object_uncontrol_properties),
22884 (gst_object_get_controller), (gst_object_set_controller),
22885 (gst_object_sink_values), (gst_object_get_value_arrays),
22886 (gst_object_get_value_array):
22887 more tests (and fixes) for the controller
22888 more docs for the controller
22889 integrated companies docs for the adapter
22891 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
22893 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22894 (GST_START_TEST), (fakesrc_suite):
22895 add tests for sizetype
22897 2005-08-04 Andy Wingo <wingo@pobox.com>
22899 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22900 fixes buffer_alloc proxying among other things.
22902 * gst/base/gstbasetransform.c:
22903 * gst/base/gstbasetransform.h:
22904 Revert patch to gstbasetransform from 7-28 removing
22907 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22908 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22909 Semantics changed, should return not the size of the output buffer
22910 but the byte size of a buffer with a given caps.
22912 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22914 (gst_base_transform_configure_caps): Don't set out_size here: (in,
22915 out) are not the pad caps until setcaps finishes.
22916 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22917 not-in-place case as well. Deal with changing from in-place to
22918 not-in-place within calling pad_alloc_buffer. Still a bit
22919 concerned about the overhead here...
22921 2005-08-03 Andy Wingo <wingo@pobox.com>
22923 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22924 fixating is an error.
22926 2005-08-04 Edward Hervey <edward@fluendo.com>
22928 * gst/base/gstadapter.h:
22929 Added gst_adapter_get_type() to the header
22931 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22933 * check/Makefile.am:
22934 * check/gst-libs/controller.c:
22935 * libs/gst/controller/gst-controller.c:
22936 (gst_controller_new_valist):
22937 added check test suite for the controller
22938 * gst/base/gstpushsrc.c:
22941 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22943 * docs/gst/Makefile.am:
22944 * docs/gst/gstreamer-docs.sgml:
22945 * docs/gst/gstreamer-sections.txt:
22946 * docs/gst/gstreamer.types:
22947 * docs/gst/tmpl/gstfakesrc.sgml:
22949 * gst/base/gstbasesink.c:
22950 * gst/base/gstbasesink.h:
22951 * gst/base/gstbasesrc.c:
22952 * gst/base/gstbasesrc.h:
22953 * gst/base/gstbasetransform.c:
22954 * gst/base/gstpushsrc.c:
22955 * gst/base/gstpushsrc.h:
22956 add short/long description docs to base classes
22957 add pushsrc to the docs
22958 remove consolidated doc fragments
22960 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22963 * docs/libs/Makefile.am:
22964 * docs/libs/gstreamer-libs-docs.sgml:
22965 * docs/libs/gstreamer-libs-sections.txt:
22966 * docs/libs/gstreamer-libs.types:
22967 * examples/Makefile.am:
22968 * examples/controller/.cvsignore:
22969 * examples/controller/Makefile.am:
22970 * examples/controller/audio-example.c: (main):
22971 * libs/gst/Makefile.am:
22972 * libs/gst/controller/.cvsignore:
22973 * libs/gst/controller/Makefile.am:
22974 * libs/gst/controller/gst-controller.c:
22975 (on_object_controlled_property_changed), (gst_timed_value_compare),
22976 (gst_timed_value_find),
22977 (gst_controlled_property_set_interpolation_mode),
22978 (gst_controlled_property_new), (gst_controlled_property_free),
22979 (gst_controller_find_controlled_property),
22980 (gst_controller_new_valist), (gst_controller_new),
22981 (gst_controller_remove_properties_valist),
22982 (gst_controller_remove_properties), (gst_controller_set),
22983 (gst_controller_set_from_list), (gst_controller_unset),
22984 (gst_controller_get), (gst_controller_get_all),
22985 (gst_controller_sink_values), (gst_controller_get_value_arrays),
22986 (gst_controller_get_value_array),
22987 (gst_controller_set_interpolation_mode),
22988 (_gst_controller_finalize), (_gst_controller_init),
22989 (_gst_controller_class_init), (gst_controller_get_type):
22990 * libs/gst/controller/gst-controller.h:
22991 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22992 (g_object_uncontrol_properties), (g_object_get_controller),
22993 (g_object_set_controller), (g_object_sink_values),
22994 (g_object_get_value_arrays), (g_object_get_value_array):
22995 * libs/gst/controller/gst-interpolation.c:
22996 (gst_controlled_property_find_timed_value_node),
22997 (interpolate_none_get), (interpolate_trigger_get),
22998 (interpolate_trigger_get_value_array):
22999 * libs/gst/controller/lib.c: (gst_controller_init):
23000 * pkgconfig/Makefile.am:
23001 * pkgconfig/gstreamer-control-uninstalled.pc.in:
23002 * pkgconfig/gstreamer-control.pc.in:
23003 * testsuite/Makefile.am:
23004 * testsuite/controller/.cvsignore:
23005 * testsuite/controller/Makefile.am:
23006 * testsuite/controller/interpolator.c: (main):
23007 added controller code
23008 removed dparam pc files
23010 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23011 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23012 (gst_collectpads_stop):
23013 Broadcast the condition when shutting down, to make sure we wake all
23014 threads up. Shut down pads on finalize, for safety.
23016 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23017 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23018 (gst_base_transform_handle_buffer),
23019 (gst_base_transform_change_state):
23020 Handle PAUSED->READY->PAUSED transition after negotiation
23022 * gst/gstmessage.c: (gst_message_init):
23023 Extra piece of debug for new messages.
23025 2005-08-01 Stefan Kost <ensonic@users.sf.net>
23028 * docs/gst/tmpl/gstbasesrc.sgml:
23029 * docs/gst/tmpl/gstelement.sgml:
23030 * docs/gst/tmpl/gstevent.sgml:
23031 * docs/gst/tmpl/gstfakesrc.sgml:
23032 * docs/gst/tmpl/gstformat.sgml:
23033 * docs/gst/tmpl/gstghostpad.sgml:
23034 * docs/gst/tmpl/gstpad.sgml:
23035 * docs/gst/tmpl/gstquery.sgml:
23036 * docs/gst/tmpl/gststructure.sgml:
23037 * docs/gst/tmpl/gsttaglist.sgml:
23038 * docs/gst/tmpl/gstvalue.sgml:
23039 * docs/libs/gstreamer-libs-docs.sgml:
23040 * docs/libs/gstreamer-libs-sections.txt:
23041 * docs/libs/gstreamer-libs.types:
23042 * libs/gst/Makefile.am:
23043 * libs/gst/control/.cvsignore:
23044 * libs/gst/control/Makefile.am:
23045 * libs/gst/control/control.c:
23046 * libs/gst/control/control.h:
23047 * libs/gst/control/dparam.c:
23048 * libs/gst/control/dparam.h:
23049 * libs/gst/control/dparam_smooth.c:
23050 * libs/gst/control/dparam_smooth.h:
23051 * libs/gst/control/dparamcommon.h:
23052 * libs/gst/control/dparammanager.c:
23053 * libs/gst/control/dparammanager.h:
23054 * libs/gst/control/dplinearinterp.c:
23055 * libs/gst/control/dplinearinterp.h:
23056 * libs/gst/control/unitconvert.c:
23057 * libs/gst/control/unitconvert.h:
23058 * testsuite/Makefile.am:
23059 * testsuite/dynparams/.cvsignore:
23060 * testsuite/dynparams/Makefile.am:
23061 * testsuite/dynparams/dparamstest.c:
23062 * tools/Makefile.am:
23063 * tools/gst-inspect.c: (print_element_info), (main):
23064 * tools/gst-xmlinspect.c: (print_element_info), (main):
23065 deactivate and remove dparams (libgstcontrol)
23067 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23069 * gst/elements/gsttypefindelement.c:
23070 (gst_type_find_element_have_type), (gst_type_find_element_init),
23071 (stop_typefinding), (gst_type_find_element_handle_event),
23072 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23073 * gst/elements/gsttypefindelement.h:
23074 Set caps on all outgoing buffers, not just the first one.
23076 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23078 * gst/elements/gsttypefindelement.c:
23079 (gst_type_find_element_have_type),
23080 (gst_type_find_element_check_set_buffer_caps),
23081 (gst_type_find_element_init), (stop_typefinding),
23082 (gst_type_find_element_handle_event),
23083 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23084 * gst/elements/gsttypefindelement.h:
23085 Set caps on first outgoing buffer when we've found the type.
23087 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23089 * docs/gst/gstreamer-docs.sgml:
23090 * docs/gst/gstreamer-sections.txt:
23091 * docs/gst/tmpl/gstscheduler.sgml:
23092 * docs/gst/tmpl/gstschedulerfactory.sgml:
23093 Remove some old cruft from docs.
23095 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23098 Fix inline docs for GstPadLinkReturn.
23100 * gst/gststructure.c: (gst_structure_has_name):
23101 * gst/gststructure.h:
23102 * docs/gst/gstreamer-sections.txt:
23103 New API: gst_structure_has_name().
23105 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23108 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23109 and _LARGEFILE_SOURCE in config.h as required. Do not
23110 export those flags in our .pc files any longer (#142209).
23112 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23114 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23115 (gst_file_sink_do_seek), (gst_file_sink_event),
23116 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23117 Redo seek/tell calls with large file support in mind; add some
23118 debugging messages; add log message that tells us when large
23119 file support is unavailable or not enabled for some reason.
23121 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23122 Add log message that tells us when large file support
23123 is unavailable or not enabled for some reason.
23125 2005-07-29 Wim Taymans <wim@fluendo.com>
23127 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23128 Added test for removing an element with ghostpad from a bin.
23129 Fixed test as current implementation does the right thing.
23131 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23132 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23133 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23134 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23135 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23136 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23137 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23138 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23139 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23140 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23141 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23142 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23143 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23144 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23145 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23146 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23147 * gst/gstghostpad.h:
23148 Clean up ghostpads, remove properties for internal stuff.
23151 Prepare for switching targets, not all use cases work yet.
23153 2005-07-29 Wim Taymans <wim@fluendo.com>
23155 * docs/design/part-gstghostpad.txt:
23158 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23159 (gst_bin_remove_func):
23160 Unlinking pads while holding the bin LOCK is not a good
23163 * gst/gstpad.c: (gst_pad_class_init),
23164 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23165 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23166 No prob setting template after creating the pad.
23168 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23170 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23171 (gst_bus_peek), (gst_bus_source_dispatch),
23172 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23173 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23174 gst_bus_poll may be called from other threads. Handle
23175 this nicely by not making poll_data disappear off the
23176 stack once gst_bus_poll returns.
23177 gst_bus_peek now increments the refcount on the returned
23180 2005-07-29 Wim Taymans <wim@fluendo.com>
23182 * docs/design/part-gstghostpad.txt:
23183 Overview of current GhostPad datastructures and use
23184 cases for changing the target.
23186 2005-07-28 Wim Taymans <wim@fluendo.com>
23188 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23189 Added checks for hierarchy consistency whan adding linked
23192 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23193 Added check to test element scheduling without bin/pipeline.
23195 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23196 First add elements to bin, then link.
23198 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23199 (gst_bin_remove_func):
23200 Unlink pads from elements added/removed from bin to maintain
23201 hierarchy consistency.
23203 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23205 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23206 (gst_base_transform_handle_buffer):
23207 * gst/base/gstbasetransform.h:
23208 Remove broken delay_configure (fixes renegotiation of software
23209 scaling pipelines); remove some leftover printf()s.
23211 2005-07-28 Wim Taymans <wim@fluendo.com>
23213 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23214 Added some more tests for wrong hierarchy
23216 * docs/design/part-overview.txt:
23219 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23222 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23223 (gst_element_dispose):
23224 Some more cleanups.
23226 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23227 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23228 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23229 (gst_pad_set_caps), (gst_pad_send_event):
23230 Check for correct hierarchy when linking pads. Moving to
23231 strict requirement for ghostpads when linking elements in
23235 Clean ups. Added WRONG_HIERARCHY return value.
23237 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23239 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23240 Better debug if no transform is possible.
23242 2005-07-27 Wim Taymans <wim@fluendo.com>
23244 * docs/random/wtay/network-transp:
23245 Some old doc I had.
23247 2005-07-27 Wim Taymans <wim@fluendo.com>
23249 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23250 (gst_dp_event_from_packet):
23251 Fix serialization of seek events.
23253 2005-07-27 Wim Taymans <wim@fluendo.com>
23255 * check/gst-libs/gdp.c: (GST_START_TEST):
23256 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23257 Fix compilation and fix event serialization.
23259 2005-07-27 Wim Taymans <wim@fluendo.com>
23262 * docs/design/part-TODO.txt:
23263 * docs/design/part-events.txt:
23266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23267 (gst_base_sink_event), (gst_base_sink_do_sync),
23268 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23269 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23270 (gst_base_src_do_seek), (gst_base_src_event_handler),
23271 (gst_base_src_loop):
23272 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23273 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23274 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23275 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23276 (gst_base_transform_set_passthrough),
23277 (gst_base_transform_is_passthrough):
23278 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23279 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23285 * gst/gstelement.c: (gst_element_seek):
23286 * gst/gstelement.h:
23287 Update gst_element_seek.
23289 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23290 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23291 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23292 (gst_event_new_eos), (gst_event_new_newsegment),
23293 (gst_event_parse_newsegment), (gst_event_new_tag),
23294 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23295 (gst_event_parse_qos), (gst_event_new_seek),
23296 (gst_event_parse_seek), (gst_event_new_navigation):
23298 Make GstEvent use GstStructure. Add parsing code, make sure the
23299 API is sufficiently generic.
23300 Mark possible directions of events and serialization.
23302 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23303 (_gst_message_copy), (gst_message_new_segment_start),
23304 (gst_message_new_segment_done), (gst_message_new_custom),
23305 (gst_message_parse_segment_start),
23306 (gst_message_parse_segment_done):
23309 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23310 (gst_pad_set_caps), (gst_pad_send_event):
23311 Update for new events.
23312 Catch events sent in wrong directions.
23314 * gst/gstqueue.c: (gst_queue_link_src),
23315 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23316 (gst_queue_handle_src_query):
23321 Remove event code from this file.
23323 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23324 (gst_dp_event_from_packet):
23327 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23329 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23330 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23331 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23332 Make debugging actually useful.
23334 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23336 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23337 (gst_pad_fixate_caps):
23338 Implement default fixation once again, so that gst_pad_fixate()
23339 actually does anything at all. This probably needs to be some
23340 sort of a last resort, and use profile-based fixation first, but
23341 since that doesn't exist yet, this is the best we have. Fixes
23342 visualization in Totem.
23344 2005-07-22 Wim Taymans <wim@fluendo.com>
23346 * docs/design/part-events.txt:
23349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23350 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23351 (gst_base_sink_activate_pull):
23352 Some more comments.
23354 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23355 (gst_fake_src_create):
23356 Fix handoff marshall.
23358 * gst/elements/gstidentity.c: (gst_identity_class_init),
23359 (gst_identity_transform_ip):
23360 We're a real inplace element.
23362 * gst/gstbus.c: (gst_bus_post):
23363 Added some comments.
23365 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23366 * tests/muxing/case1.c: (main):
23367 * tests/sched/dynamic-pipeline.c: (main):
23368 * tests/sched/interrupt1.c: (main):
23369 * tests/sched/interrupt2.c: (main):
23370 * tests/sched/interrupt3.c: (main):
23371 * tests/sched/runxml.c: (main):
23372 * tests/sched/sched-stress.c: (main):
23373 * tests/seeking/seeking1.c: (event_received), (main):
23374 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23376 * tests/threadstate/threadstate3.c: (main):
23377 * tests/threadstate/threadstate4.c: (main):
23378 * tests/threadstate/threadstate5.c: (main):
23381 2005-07-21 Wim Taymans <wim@fluendo.com>
23383 * docs/design/part-seeking.txt:
23384 Some small additions.
23386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23387 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23388 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23389 * gst/base/gstbasesink.h:
23390 discont values are gint64, handle the math correctly.
23392 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23393 Make the basesrc report error if the source pad is not linked.
23395 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23396 (gst_queue_loop), (gst_queue_handle_src_query),
23397 (gst_queue_src_activate_push):
23398 Make queue collect data even if the srcpad is not linked.
23399 Start pushing out data as soon as it is linked.
23401 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23403 Added gst_flow_get_name() to ease error reporting.
23405 2005-07-20 Wim Taymans <wim@fluendo.com>
23407 * gst/gstmessage.c: (gst_message_new_segment_start),
23408 (gst_message_new_segment_done), (gst_message_parse_segment_start),
23409 (gst_message_parse_segment_done):
23410 * gst/gstmessage.h:
23411 Added a bunch of messages for advanced seeking.
23413 * gst/parse/grammar.y:
23414 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23415 (gst_dpman_state_changed):
23416 Fix some new-pad -> pad-added signals
23418 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23420 * docs/manual/appendix-porting.xml:
23421 * docs/pwg/appendix-porting.xml:
23422 Document new-pad/state-change signal renames and the FixedList
23425 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23427 * docs/manual/advanced-autoplugging.xml:
23428 * docs/manual/basics-helloworld.xml:
23429 * docs/manual/basics-pads.xml:
23430 * docs/random/ds/0.9-suggested-changes:
23431 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23432 * gst/gstelement.h:
23436 * gst/gststructure.c: (gst_structure_value_get_generic_type),
23437 (gst_structure_parse_array), (gst_structure_parse_value):
23438 * gst/gstvalue.c: (gst_type_is_fixed),
23439 (gst_value_list_prepend_value), (gst_value_list_append_value),
23440 (gst_value_list_get_size), (gst_value_list_get_value),
23441 (gst_value_transform_array_string), (gst_value_serialize_array),
23442 (gst_value_deserialize_array), (gst_value_intersect_array),
23443 (gst_value_is_fixed), (_gst_value_initialize):
23445 GstElement::new-pad -> pad-added, GstElement::state-change ->
23446 state-changed, GstValueFixedList -> GstValueArray, add format and
23447 flags as their own arguments in gst_element_seek() (should improve
23448 "bindeability"), remove function generators since they don't work
23449 under a whole bunch of compilers (they were deprecated already
23452 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23454 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23455 (_gst_debug_register_funcptr):
23457 Fix illegal cast on some platforms (#309253).
23459 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23461 * gst/gstmessage.c: (gst_message_new_custom):
23462 * gst/gstmessage.h:
23463 Add _new_custom, make _new_application a macro to _new_custom.
23465 2005-07-20 Wim Taymans <wim@fluendo.com>
23467 * gst/base/gstbasesrc.c: (gst_base_src_init),
23468 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23469 * gst/base/gstbasesrc.h:
23470 Add a gboolean to decide when to push out a discont.
23472 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23473 (gst_queue_loop), (gst_queue_handle_src_query),
23474 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23475 (gst_queue_set_property), (gst_queue_get_property):
23478 * tests/threadstate/threadstate1.c: (main):
23479 Make a thread test compile and run... very silly..
23482 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23484 * docs/manual/appendix-porting.xml:
23485 Mention removal of libgstgconf-0.9.la and existence of gconf
23488 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23490 * docs/pwg/advanced-clock.xml:
23491 * docs/pwg/appendix-porting.xml:
23492 * docs/pwg/intro-preface.xml:
23493 * docs/pwg/other-base.xml:
23494 * docs/pwg/other-manager.xml:
23495 * docs/pwg/other-nton.xml:
23496 * docs/pwg/other-ntoone.xml:
23497 * docs/pwg/other-oneton.xml:
23498 * docs/pwg/pwg.xml:
23499 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23500 demuxer), remove n-to-n (was never written), fix some code examples
23501 and links and update the porting section to include all this.
23503 2005-07-19 Wim Taymans <wim@fluendo.com>
23505 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23506 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23507 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23508 (gst_queue_src_activate_push), (gst_queue_change_state),
23509 (gst_queue_get_property):
23511 Propagate GstFlowReturn more intelligently upstream and output
23512 an ERROR/EOS when streaming stopped due to fatal error.
23514 2005-07-19 Wim Taymans <wim@fluendo.com>
23516 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23517 Don't block forever for the state change to complete, the
23518 pipeline already did with a sensible timeout.
23520 2005-07-19 Wim Taymans <wim@fluendo.com>
23522 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23523 Make sure we never call the create function is we
23526 2005-07-19 Andy Wingo <wingo@pobox.com>
23528 * gst/parse/parse.l: Attempt to solve bug #172815.
23530 2005-07-19 Wim Taymans <wim@fluendo.com>
23532 * docs/design/part-clocks.txt:
23533 * docs/design/part-events.txt:
23534 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23535 Small docs updates.
23536 Only update the seeking values when we are not
23539 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23541 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23542 Oops, ignore the result of gst_pad_push_event here.
23544 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23546 * gst/base/gstbasesrc.c: (gst_base_src_loop),
23547 (gst_base_src_activate_push):
23548 Send discont event from the loop function, as pads
23549 aren't activated yet in the activate_push handler.
23551 * gst/gstbin.c: (bin_bus_handler):
23552 Don't leak element name.
23554 2005-07-18 Andy Wingo <wingo@pobox.com>
23556 * configure.ac: Use AS_LIBTOOL_TAGS.
23558 2005-07-18 Wim Taymans <wim@fluendo.com>
23560 * docs/gst/gstreamer.types:
23561 Remove deleted types.
23563 2005-07-18 Wim Taymans <wim@fluendo.com>
23565 * check/elements/gstfakesrc.c: (GST_START_TEST):
23568 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23569 (init_popt_callback):
23571 * gst/gst_private.h:
23572 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23573 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23576 * gst/gstconfig.h.in:
23577 * gst/gstelement.c: (gst_element_class_init),
23578 (gst_element_set_base_time), (gst_element_get_base_time),
23579 (iterator_fold_with_resync), (gst_element_change_state),
23580 (gst_element_dispose), (gst_element_get_bus):
23581 * gst/gstelement.h:
23582 * gst/gstelementfactory.h:
23583 * gst/gsterror.c: (_gst_core_errors_init):
23586 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23588 * gst/gstinfo.c: (_gst_debug_init):
23589 * gst/gstmessage.c: (_gst_message_copy):
23590 * gst/gstmessage.h:
23591 * gst/gstminiobject.h:
23594 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23595 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23598 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23599 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23600 (gst_pipeline_get_last_stream_time):
23601 * gst/gstpipeline.h:
23602 * gst/gstpluginfeature.h:
23604 * gst/gstscheduler.c:
23605 * gst/gstscheduler.h:
23606 * gst/gststructure.h:
23607 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23608 (gst_task_finalize), (gst_task_func), (gst_task_create),
23609 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23610 (gst_task_stop), (gst_task_pause):
23612 * gst/gsttypefind.h:
23614 * gst/registries/gstlibxmlregistry.c: (load_feature),
23615 (gst_xml_registry_load), (gst_xml_registry_save_feature):
23616 * gst/registries/gstxmlregistry.c:
23617 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23618 * gst/schedulers/threadscheduler.c:
23619 * libs/gst/control/dparammanager.h:
23620 * tools/gst-inspect.c: (print_element_list),
23621 (print_plugin_features), (print_element_features):
23622 * tools/gst-xmlinspect.c: (print_element_list),
23623 (print_plugin_info), (main):
23624 Removed plugable schedulers.
23625 Removed Scheduler/Manager from elements.
23626 Removed gsttypes.h, rearranged includes.
23627 Removed dependency pad<->element, element<>pipeline, and
23628 various others, fix includes.
23629 implement gst_pad_get_parent() with gst_object_get_parent()
23630 Make GstTask sefcontained.
23631 Fix _get_state() on GstBin, it did not return ASYNC with a 0
23633 Fix endless loop in iterator_fold_with_resync.
23636 2005-07-18 Wim Taymans <wim@fluendo.com>
23642 2005-07-18 Wim Taymans <wim@fluendo.com>
23645 No more cothreads.h
23647 2005-07-18 Wim Taymans <wim@fluendo.com>
23651 Let's remove these.
23653 2005-07-18 Wim Taymans <wim@fluendo.com>
23655 * docs/design/part-dynamic.txt:
23656 * docs/design/part-events.txt:
23657 * docs/design/part-seeking.txt:
23658 Some more docs in the works.
23660 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23661 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23662 (gst_base_transform_setcaps), (gst_base_transform_get_size),
23663 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23664 (gst_base_transform_handle_buffer),
23665 (gst_base_transform_sink_activate_push),
23666 (gst_base_transform_src_activate_pull),
23667 (gst_base_transform_set_passthrough),
23668 (gst_base_transform_is_passthrough):
23671 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23674 * gst/gstevent.c: (gst_event_finalize):
23677 * gst/gstutils.c: (gst_element_unlink),
23678 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23679 (gst_pad_proxy_setcaps):
23681 Add _get_parent_element() to get a pads parent as an element.
23683 2005-07-18 Wim Taymans <wim@fluendo.com>
23685 * check/gst/gstbin.c: (GST_START_TEST):
23688 2005-07-18 Wim Taymans <wim@fluendo.com>
23690 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23691 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23692 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23693 (gst_base_sink_event), (gst_base_sink_do_sync),
23694 (gst_base_sink_chain), (gst_base_sink_loop),
23695 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23696 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23698 Fix logic for returning ASYNC when not prerolled.
23700 2005-07-18 Wim Taymans <wim@fluendo.com>
23702 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23703 Fix nasty refcount bug.
23705 2005-07-16 Philippe Khalaf <burger@speedy.org>
23707 * gst/elements/gstfdsrc.c:
23708 * gst/elements/gstfdsrc.h:
23709 * gst/elements/gstelements.c:
23710 * gst/elements/Makefile.am:
23711 Ported fdsrc to 0.9.
23713 2005-07-16 Wim Taymans <wim@fluendo.com>
23715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23716 (gst_base_sink_do_sync):
23719 2005-07-16 Wim Taymans <wim@fluendo.com>
23721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23722 (gst_base_sink_event), (gst_base_sink_get_times),
23723 (gst_base_sink_do_sync), (gst_base_sink_change_state):
23724 * gst/base/gstbasesink.h:
23725 Store and use discont values when syncing buffers as described
23728 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23729 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23730 (gst_base_src_activate_push):
23731 Push discont event when starting.
23733 * gst/elements/gstidentity.c: (gst_identity_transform):
23736 * gst/gstbin.c: (gst_bin_change_state):
23737 Small cleanups in base_time distribution.
23739 * gst/gstelement.c: (gst_element_set_base_time),
23740 (gst_element_get_base_time), (gst_element_change_state):
23741 * gst/gstelement.h:
23742 Added methods for the base_time of the element.
23745 * gst/gstpipeline.c: (gst_pipeline_send_event),
23746 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23747 (gst_pipeline_get_last_stream_time):
23748 * gst/gstpipeline.h:
23750 Handle seeking as described in design doc, remove stream_time
23752 Cleanups clock and stream_time selection code. Added accessors
23753 for the stream_time.
23756 2005-07-16 Andy Wingo <wingo@pobox.com>
23758 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23761 2005-07-16 Wim Taymans <wim@fluendo.com>
23763 * check/gst/gstbin.c: (GST_START_TEST):
23764 Make elements silent as the deep_notify refs the
23765 parent, which might make the test fail.
23767 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23768 Don't hold the lock for too long.
23770 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
23772 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23773 Don't unref the caps we passed to gst_caps_make_writable() after
23774 passing them. gst_caps_make_writable() will do that for us.
23776 2005-07-15 Andy Wingo <wingo@pobox.com>
23778 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23781 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23782 own marshalling function for the handoff signal. Properly type the
23783 buffer as a buffer. Fixes some warnings. Should do a more general
23785 (gst_identity_class_init): Plug into the right marshaller.
23787 2005-07-15 Wim Taymans <wim@fluendo.com>
23789 * docs/design/part-TODO.txt:
23790 * docs/design/part-clocks.txt:
23791 * docs/design/part-element-sink.txt:
23792 * docs/design/part-events.txt:
23793 * docs/design/part-gstpipeline.txt:
23794 Updated docs, mostly DISCONT related.
23796 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
23798 * docs/pwg/building-pads.xml:
23799 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23801 2005-07-15 Andy Wingo <wingo@pobox.com>
23803 * tools/gst-typefind.c: Update, add copyright block.
23805 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23806 Normalize and truncate caps before fixation.
23809 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23810 discards all but the first structure from its argument.
23812 2005-07-15 Wim Taymans <wim@fluendo.com>
23814 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23815 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23816 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23817 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23818 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23819 (gst_base_transform_chain), (gst_base_transform_change_state),
23820 (gst_base_transform_set_passthrough),
23821 (gst_base_transform_is_passthrough):
23822 * gst/base/gstbasetransform.h:
23823 Make passthrough work using the bufferpools.
23824 Changed API a bit, subclasses have to write into a buffer
23825 provided by the base class.
23826 More debug info in nego functions.
23828 * gst/elements/gstidentity.c: (gst_identity_init),
23829 (gst_identity_transform):
23830 Port to new base class.
23832 2005-07-15 Wim Taymans <wim@fluendo.com>
23834 * gst/gstmessage.c: (gst_message_new_state_changed):
23835 * tools/gst-launch.c: (event_loop), (main):
23836 Totally dump messages in -launch with the -m option.
23837 Fix message name for State messages,
23839 2005-07-14 Wim Taymans <wim@fluendo.com>
23841 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23842 Post error messages on errors.
23844 2005-07-14 Wim Taymans <wim@fluendo.com>
23846 * gst/gstcaps.c: (gst_caps_do_simplify):
23850 Define error for stream stopped.
23852 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23853 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23854 Do proper return values.
23856 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23857 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23858 (gst_pad_get_range):
23859 Better return values.
23862 Reorganise return values, add macro to check for fatal errors.
23864 * gst/gstqueue.c: (gst_queue_chain):
23865 Return proper GstFlowReturn values,
23867 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
23869 * docs/gst/gstreamer-sections.txt:
23870 * docs/gst/gstreamer.types:
23871 * docs/gst/tmpl/gst.sgml:
23872 * docs/gst/tmpl/gstbasesink.sgml:
23873 * docs/gst/tmpl/gstbasesrc.sgml:
23874 * docs/gst/tmpl/gstbasetransform.sgml:
23875 * docs/gst/tmpl/gstbin.sgml:
23876 * docs/gst/tmpl/gstbuffer.sgml:
23877 * docs/gst/tmpl/gstcaps.sgml:
23878 * docs/gst/tmpl/gstclock.sgml:
23879 * docs/gst/tmpl/gstcompat.sgml:
23880 * docs/gst/tmpl/gstconfig.sgml:
23881 * docs/gst/tmpl/gstelement.sgml:
23882 * docs/gst/tmpl/gstelementdetails.sgml:
23883 * docs/gst/tmpl/gstelementfactory.sgml:
23884 * docs/gst/tmpl/gstenumtypes.sgml:
23885 * docs/gst/tmpl/gsterror.sgml:
23886 * docs/gst/tmpl/gstevent.sgml:
23887 * docs/gst/tmpl/gstfakesink.sgml:
23888 * docs/gst/tmpl/gstfakesrc.sgml:
23889 * docs/gst/tmpl/gstfilesink.sgml:
23890 * docs/gst/tmpl/gstfilesrc.sgml:
23891 * docs/gst/tmpl/gstfilter.sgml:
23892 * docs/gst/tmpl/gstformat.sgml:
23893 * docs/gst/tmpl/gstghostpad.sgml:
23894 * docs/gst/tmpl/gstimplementsinterface.sgml:
23895 * docs/gst/tmpl/gstindex.sgml:
23896 * docs/gst/tmpl/gstindexfactory.sgml:
23897 * docs/gst/tmpl/gstinfo.sgml:
23898 * docs/gst/tmpl/gstiterator.sgml:
23899 * docs/gst/tmpl/gstmacros.sgml:
23900 * docs/gst/tmpl/gstmemchunk.sgml:
23901 * docs/gst/tmpl/gstminiobject.sgml:
23902 * docs/gst/tmpl/gstobject.sgml:
23903 * docs/gst/tmpl/gstpad.sgml:
23904 * docs/gst/tmpl/gstpadtemplate.sgml:
23905 * docs/gst/tmpl/gstparse.sgml:
23906 * docs/gst/tmpl/gstpipeline.sgml:
23907 * docs/gst/tmpl/gstplugin.sgml:
23908 * docs/gst/tmpl/gstpluginfeature.sgml:
23909 * docs/gst/tmpl/gstquery.sgml:
23910 * docs/gst/tmpl/gstqueue.sgml:
23911 * docs/gst/tmpl/gstregistry.sgml:
23912 * docs/gst/tmpl/gstregistrypool.sgml:
23913 * docs/gst/tmpl/gstscheduler.sgml:
23914 * docs/gst/tmpl/gstschedulerfactory.sgml:
23915 * docs/gst/tmpl/gststructure.sgml:
23916 * docs/gst/tmpl/gstsystemclock.sgml:
23917 * docs/gst/tmpl/gsttaglist.sgml:
23918 * docs/gst/tmpl/gsttagsetter.sgml:
23919 * docs/gst/tmpl/gsttrace.sgml:
23920 * docs/gst/tmpl/gsttrashstack.sgml:
23921 * docs/gst/tmpl/gsttypefind.sgml:
23922 * docs/gst/tmpl/gsttypefindfactory.sgml:
23923 * docs/gst/tmpl/gsttypes.sgml:
23924 * docs/gst/tmpl/gsturihandler.sgml:
23925 * docs/gst/tmpl/gsturitype.sgml:
23926 * docs/gst/tmpl/gstutils.sgml:
23927 * docs/gst/tmpl/gstvalue.sgml:
23928 * docs/gst/tmpl/gstversion.sgml:
23929 * docs/gst/tmpl/gstxml.sgml:
23930 * docs/libs/tmpl/gstcontrol.sgml:
23931 * docs/libs/tmpl/gstdataprotocol.sgml:
23932 * docs/libs/tmpl/gstdparam.sgml:
23933 * docs/libs/tmpl/gstdplinint.sgml:
23934 * docs/libs/tmpl/gstdpman.sgml:
23935 * docs/libs/tmpl/gstdpsmooth.sgml:
23936 * docs/libs/tmpl/gstgetbits.sgml:
23937 * docs/libs/tmpl/gstunitconvert.sgml:
23938 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23939 (gst_push_src_base_init), (gst_push_src_class_init),
23940 (gst_push_src_init), (gst_push_src_create):
23941 * gst/base/gstpushsrc.h:
23942 * gst/elements/gstelements.c:
23943 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23944 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23945 (gst_fake_sink_init), (gst_fake_sink_set_property),
23946 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23947 (gst_fake_sink_event), (gst_fake_sink_preroll),
23948 (gst_fake_sink_render), (gst_fake_sink_change_state):
23949 * gst/elements/gstfakesink.h:
23950 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23951 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23952 (gst_fake_src_base_init), (gst_fake_src_class_init),
23953 (gst_fake_src_init), (gst_fake_src_event_handler),
23954 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23955 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23956 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23957 (gst_fake_src_create_buffer), (gst_fake_src_create),
23958 (gst_fake_src_start), (gst_fake_src_stop):
23959 * gst/elements/gstfakesrc.h:
23960 * gst/elements/gstfilesink.c: (_do_init),
23961 (gst_file_sink_base_init), (gst_file_sink_class_init),
23962 (gst_file_sink_init), (gst_file_sink_dispose),
23963 (gst_file_sink_set_location), (gst_file_sink_set_property),
23964 (gst_file_sink_get_property), (gst_file_sink_open_file),
23965 (gst_file_sink_close_file), (gst_file_sink_query),
23966 (gst_file_sink_event), (gst_file_sink_render),
23967 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23968 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23969 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23970 * gst/elements/gstfilesink.h:
23971 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23972 (gst_file_src_class_init), (gst_file_src_init),
23973 (gst_file_src_finalize), (gst_file_src_set_location),
23974 (gst_file_src_set_property), (gst_file_src_get_property),
23975 (gst_file_src_map_region), (gst_file_src_map_small_region),
23976 (gst_file_src_create_mmap), (gst_file_src_create_read),
23977 (gst_file_src_create), (gst_file_src_is_seekable),
23978 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23979 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23980 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23981 (gst_file_src_uri_handler_init):
23982 * gst/elements/gstfilesrc.h:
23983 more autistic cleanliness in functions/names/defines
23985 2005-07-13 Andy Wingo <wingo@pobox.com>
23987 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23988 source couldn't negotiate.
23990 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23994 * gst/gstutils.c (gst_element_link_pads_filtered): New old
23995 function. I am channeling Hades. Put your boots on suckers!!!
23997 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
23999 * testsuite/caps/Makefile.am:
24000 * testsuite/caps/value_compare.c:
24001 * testsuite/caps/value_intersect.c:
24002 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24003 move two testsuite apps over to the check dir
24005 2005-07-12 Wim Taymans <wim@fluendo.com>
24007 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24008 Added more debug info in the negotiate process.
24010 * gst/gstmessage.h:
24011 Prepare for segment playback.
24013 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24019 * tools/gst-launch.c: (main):
24020 NULL pipeline on errors.
24022 2005-07-12 Andy Wingo <wingo@pobox.com>
24024 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24025 not it comes from a malloc region. Make sure our copy gets freed.
24027 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24029 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24030 * check/gst/gstmessage.c: (GST_START_TEST):
24031 * check/gst/gststructure.c: (GST_START_TEST),
24032 (gst_structure_suite), (main):
24034 * gst/gstelement.c: (gst_element_message_full):
24035 clean up GError and debug string now that they get copied
24036 * gst/gstmessage.c: (gst_message_new_error),
24037 (gst_message_new_warning), (gst_message_parse_error),
24038 (gst_message_parse_warning):
24039 use GST_TYPE_G_ERROR for structure_new, and take copies of
24040 arguments, so that we don't mess up refcounting
24042 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24044 * check/Makefile.am:
24045 add per-test valgrind targets
24046 * check/gst-libs/gdp.c: (GST_START_TEST),
24047 (gst_data_protocol_suite), (main):
24050 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24052 * check/Makefile.am:
24053 instate more valgrindable tests
24054 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24055 (GST_START_TEST), (fakesrc_suite):
24056 * check/gst/gstpad.c: (GST_START_TEST):
24057 * check/gst/gststructure.c: (GST_START_TEST):
24059 * docs/gst/tmpl/gstminiobject.sgml:
24060 * gst/gstpad.c: (gst_pad_finalize):
24061 fix the static mutex leak
24063 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24065 * check/Makefile.am:
24066 add two more tests for valgrinding
24067 * check/gst/gstvalue.c: (GST_START_TEST):
24068 test refcount of deserialized buffer, found a leak
24069 * docs/gst/gstreamer-docs.sgml:
24070 * docs/gst/gstreamer-sections.txt:
24071 * docs/gst/gstreamer.types:
24072 * docs/gst/tmpl/gstminiobject.sgml:
24073 add miniobject to docs
24074 * gst/gstminiobject.c:
24076 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24077 (gst_string_unwrap):
24078 fix a hard-to-find invalid write for one of the tests
24079 fix a leak for deserialized buffers
24081 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24083 * docs/pwg/advanced-events.xml:
24084 * docs/pwg/advanced-request.xml:
24085 * docs/pwg/advanced-scheduling.xml:
24086 * docs/pwg/appendix-porting.xml:
24087 * docs/pwg/building-boiler.xml:
24088 * docs/pwg/intro-preface.xml:
24089 * docs/pwg/other-ntoone.xml:
24090 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24091 of example code and explanation for pad activation, loop() and
24092 getrange() functions and a bit more. Remove old comments pointing
24094 * examples/pwg/Makefile.am:
24095 Add loop/getrange examples.
24097 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24100 check for valgrind binary + some fixes
24102 valgrind suppressions for the tests
24103 * check/Makefile.am:
24104 add a valgrind: target that valgrinds the unit tests
24105 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24106 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24107 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24108 * check/gst/gstghostpad.c:
24110 * check/gst/gstdata.c:
24112 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24113 (thread_unref), (gst_mini_object_suite), (main):
24115 * gst/gst.c: (gst_deinit):
24117 add a method to clean up.
24118 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24119 (gst_system_clock_obtain):
24120 allow for disposing the system clock.
24121 * tools/gst-launch.c: (main):
24124 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24126 * docs/gst/tmpl/gstbasesrc.sgml:
24127 * docs/gst/tmpl/gstfakesrc.sgml:
24128 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24129 (gst_base_src_init), (gst_base_src_set_property),
24130 (gst_base_src_get_property), (gst_base_src_get_range),
24131 (gst_base_src_start):
24132 * gst/base/gstbasesrc.h:
24133 add num-buffers property
24134 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24135 (gst_fakesrc_init), (gst_fakesrc_set_property),
24136 (gst_fakesrc_get_property), (gst_fakesrc_create),
24137 (gst_fakesrc_start):
24138 remove num-buffers property
24140 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24142 * docs/gst/gstreamer-sections.txt:
24143 * docs/gst/tmpl/gstbasesink.sgml:
24144 * docs/gst/tmpl/gstbasesrc.sgml:
24145 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24146 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24147 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24148 (gst_base_sink_set_property), (gst_base_sink_get_property),
24149 (gst_base_sink_handle_object), (gst_base_sink_event),
24150 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24151 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24152 (gst_base_sink_loop), (gst_base_sink_deactivate),
24153 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24154 (gst_base_sink_change_state):
24155 * gst/base/gstbasesink.h:
24156 * gst/base/gstbasesrc.h:
24157 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24158 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24159 (gst_filesink_init):
24160 more macro splitting
24162 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24164 * gst/gstelement.c: (gst_element_get_bus):
24166 * tools/gst-launch.c: (check_intr), (event_loop):
24169 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24171 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24174 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24176 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24177 (gst_base_src_finalize):
24178 add finalize method and clean up properly
24179 * gst/gstpipeline.c: (gst_pipeline_dispose):
24182 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24184 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24186 add more things to check
24187 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24188 * gst/gstelement.c:
24191 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24193 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24194 (GST_START_TEST), (fakesrc_suite):
24195 * check/gst-libs/gdp.c: (GST_START_TEST):
24196 * check/gst/gst.c: (GST_START_TEST):
24197 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24198 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24199 * check/gst/gstbus.c: (GST_START_TEST):
24200 * check/gst/gstcaps.c: (GST_START_TEST):
24201 * check/gst/gstdata.c: (GST_START_TEST):
24202 * check/gst/gstelement.c: (GST_START_TEST):
24203 * check/gst/gstghostpad.c: (GST_START_TEST):
24204 * check/gst/gstiterator.c: (GST_START_TEST):
24205 * check/gst/gstmessage.c: (GST_START_TEST):
24206 * check/gst/gstobject.c: (GST_START_TEST):
24207 * check/gst/gstpad.c: (GST_START_TEST):
24208 * check/gst/gststructure.c: (GST_START_TEST):
24209 * check/gst/gstsystemclock.c: (GST_START_TEST),
24210 (gst_systemclock_suite):
24211 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24212 * check/gst/gstvalue.c: (GST_START_TEST):
24213 * check/pipelines/cleanup.c: (GST_START_TEST):
24214 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24215 * check/states/sinks.c: (GST_START_TEST):
24216 * check/gstcheck.c: (gst_check_init):
24217 * check/gstcheck.h:
24218 add debugging category
24219 use GST_START_TEST now, so we add a debug line
24221 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24223 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24224 add test for state change message on a bin
24225 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24227 * gst/gstbin.c: (gst_bin_init):
24228 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24229 * gst/gstelement.c: (gst_element_post_message),
24230 (gst_element_set_state):
24231 * gst/gstelementfactory.c: (gst_element_factory_create):
24232 * gst/gstmessage.c: (gst_message_new):
24233 * gst/gstscheduler.c:
24234 various debugging additions and cleanups
24236 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24238 * check/Makefile.am:
24239 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24241 adding tests for elements
24242 * gst/gstelement.c: (gst_element_dispose):
24244 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24246 * gst/registries/gstlibxmlregistry.c: (load_feature):
24247 plug more leaks. A simple gst_init() now is leakfree, yay.
24249 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24251 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24252 (gst_xml_registry_load):
24253 plug another memleak
24255 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24258 use GST_SET_ERROR_CFLAGS
24259 * docs/faq/cvs.xml:
24260 change to ERROR_CFLAGS
24262 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24265 make GST_ERROR_CFLAGS overridable and re-enable Werror
24266 * docs/faq/cvs.xml:
24267 add a note about error CFLAGS
24268 * docs/gst/tmpl/gstfakesrc.sgml:
24269 * gst/elements/gstfakesrc.c:
24270 comment out some unused code
24271 * gst/gst.c: (split_and_iterate):
24272 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24276 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24278 * common/Makefile.am:
24279 * common/gtk-doc.mak:
24280 * docs/gst/Makefile.am:
24281 factor out gtk-doc.mak
24283 2005-07-07 Wim Taymans <wim@fluendo.com>
24285 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24286 (gst_thread_scheduler_dispose):
24287 Unlock the STREAM_LOCK completely.
24289 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24291 * check/Makefile.am:
24292 * check/elements/.cvsignore:
24293 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24294 (START_TEST), (fakesrc_suite), (main):
24295 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24296 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24297 (gst_fakesrc_create), (gst_fakesrc_start):
24298 * gst/elements/gstfakesrc.h:
24299 adding a first element test
24301 2005-07-07 Andy Wingo <wingo@pobox.com>
24303 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24306 2005-07-07 Wim Taymans <wim@fluendo.com>
24312 2005-07-07 Wim Taymans <wim@fluendo.com>
24314 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24315 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24316 Allow subclasses to implement their own negotiation.
24318 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24320 * docs/design/part-gstbin.txt:
24321 * docs/design/part-gstpipeline.txt:
24322 Update design notes to reflect the movement of
24323 responsibility for bus handling from GstPipeline to
24326 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24329 Remove unnecessary queue2/3/4 examples.
24331 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24333 * examples/Makefile.am:
24334 * examples/helloworld/helloworld.c: (event_loop), (main):
24335 * examples/queue/queue.c: (event_loop), (main):
24336 * examples/queue2/queue2.c: (main):
24337 Update a couple of the examples to work again.
24339 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24340 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24341 Spelling corrections and extra debug.
24343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24344 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24345 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24347 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24348 (gst_pipeline_change_state):
24349 * gst/gstpipeline.h:
24350 Move the bus handler for children to the GstBin, and create a
24351 separate bus for receiving messages from children to the one the
24352 bus sends 'upwards' on.
24354 2005-07-06 Wim Taymans <wim@fluendo.com>
24357 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24358 (gst_base_sink_handle_object), (gst_base_sink_loop),
24359 (gst_base_sink_change_state):
24360 * gst/base/gstbasesink.h:
24361 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24362 (gst_base_src_init), (gst_base_src_setcaps),
24363 (gst_base_src_getcaps), (gst_base_src_loop),
24364 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24365 (gst_base_src_start), (gst_base_src_change_state):
24366 * gst/base/gstbasesrc.h:
24367 Make basesrc negotiate.
24368 Handle the case where preroll fails in basesink.
24371 2005-07-06 Wim Taymans <wim@fluendo.com>
24373 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24374 Implement the fixate function.
24375 Clean up acceptcaps.
24377 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24379 * docs/pwg/building-filterfactory.xml:
24380 * docs/pwg/pwg.xml:
24381 Remove never-written filter-factory chapter; I'll add the various
24382 base classes to part 4 ("other element types") later on.
24384 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24386 * docs/pwg/advanced-negotiation.xml:
24387 * docs/pwg/building-boiler.xml:
24388 * docs/pwg/building-pads.xml:
24389 * docs/pwg/pwg.xml:
24390 * examples/pwg/Makefile.am:
24391 Add a chapter on caps negotiation, simplify the original code
24392 samples a bit w.r.t. caps negotiation, add link to the advanced
24393 section. Add a bunch of examples showing different use cases of
24394 different types of caps negotiation. Upstream renegotiation isn't
24395 fully documented yet since nobody knows how that works.
24397 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24399 * check/gst/gstpad.c:
24400 * check/gstcheck.c:
24401 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24402 if pad has no parent, return NULL as list of internal links
24404 2005-07-05 Andy Wingo <wingo@pobox.com>
24406 * gst/elements/gstfilesrc.c:
24407 * gst/elements/gstfakesrc.c:
24408 * gst/base/gstpushsrc.c:
24409 * gst/base/gstbasesrc.h:
24410 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24412 2005-07-05 Stefan Kost <ensonic@users.sf.net>
24415 better report generation target (lcov needs a patch)
24417 2005-07-05 Andy Wingo <wingo@pobox.com>
24419 * gst/elements, testsuite: Null if we got it...
24421 2005-07-05 Wim Taymans <wim@fluendo.com>
24424 * libs/gst/dataprotocol/Makefile.am:
24425 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24426 * libs/gst/dataprotocol/dataprotocol.h:
24427 * pkgconfig/Makefile.am:
24428 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24429 * pkgconfig/gstreamer-dataprotocol.pc.in:
24430 Ported dataprotol to 0.9.
24431 Added pkgconfig files.
24433 2005-07-05 Andy Wingo <wingo@pobox.com>
24435 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24436 Default to returning TRUE for the case when tranform_caps returns
24437 a fixed caps, like for identity or volume.
24439 * check/gst/gstbus.c (pound_bus_with_messages):
24440 * check/gst/gstmessage.c (START_TEST):
24441 * check/pipelines/simple_launch_lines.c (got_handoff): Application
24442 message API change.
24444 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24445 logic weaks here: always run transform_caps, trying passthrough
24446 operation only if the original caps intersects with the transform.
24448 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24449 source and sink caps.
24451 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24452 Intersect the peer caps with the pad template before going into
24454 (gst_base_transform_transform_caps): More debugging.
24456 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24459 2005-07-04 Edward Hervey <edward@fluendo.com>
24463 (gst_pad_add_*_probe): now returns the signal id for better wrapping
24466 2005-07-04 Andy Wingo <wingo@pobox.com>
24468 * check/gst/gstpad.c: Only set explicit caps on pads.
24470 2005-07-01 Andy Wingo <wingo@pobox.com>
24472 * tests/network-clock.scm: Commentary update.
24474 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24475 Didn't really make sense, not implementable with basetransform,
24477 (gst_identity_transform): Unref inbuf via make_writable. Feeble
24478 attempt at implementing the sync property, needs an unlock method.
24480 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24481 New func, by default returns the same caps (the identity
24483 (gst_base_transform_getcaps): Uses transform_caps to return
24484 something sensible.
24485 (gst_base_transform_setcaps): Complicated logic to get caps on
24486 both pads, even if they are different, and to call set_caps once
24487 for every time both pads get their caps set.
24488 (gst_base_transform_handle_buffer): Give the ref to the transform
24489 function. Allows in-place modification of the buffer.
24491 * gst/base/gstbasetransform.h (transform_caps): New class method.
24492 Given caps on one side, what can I do on the other.
24493 (set_caps): Take two caps, one for each side of the element.
24496 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24497 caps in place. This is safe because we can check the mutability of
24498 the caps, and a good idea because fixate functions are just called
24499 as a matter of last resort. (Not actually implemented.)
24500 (gst_pad_set_caps): If the caps we're setting is actually the same
24501 as the existing pad caps, just update the pointer without calling
24502 setcaps. Assert that caps is either NULL or fixed, as per the
24505 * gst/gstghostpad.c: Update for fixate changes.
24507 2005-07-02 Andy Wingo <wingo@pobox.com>
24510 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24511 two refcounts makes it immutable, which is enough. Doc more.
24513 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
24515 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24516 Put the mini_object into GValue as a mini_object,
24517 not a gpointer, since that's how we declared
24520 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24522 * examples/pwg/Makefile.am:
24523 Fix buildbot again.
24525 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24527 * docs/pwg/building-testapp.xml:
24529 * examples/pwg/Makefile.am:
24532 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24535 * examples/Makefile.am:
24536 * examples/pwg/Makefile.am:
24537 * examples/pwg/extract.pl:
24538 Enable building the PWG examples.
24539 * docs/pwg/advanced-interfaces.xml:
24540 Add URI interface stub.
24541 * docs/pwg/advanced-types.xml:
24542 * docs/pwg/other-autoplugger.xml:
24543 * docs/pwg/appendix-porting.xml:
24544 * docs/pwg/pwg.xml:
24545 Add porting guide (mostly stubs), remove autoplugging (see ADM).
24546 * docs/pwg/building-boiler.xml:
24547 * docs/pwg/building-chainfn.xml:
24548 * docs/pwg/building-pads.xml:
24549 * docs/pwg/building-props.xml:
24550 * docs/pwg/building-state.xml:
24551 * docs/pwg/building-testapp.xml:
24552 Update the building-*.xml parts for 0.9 changes. All examples
24553 code blocks compile in examples/pwg/*.
24555 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24557 * docs/manual/advanced-autoplugging.xml:
24558 * docs/manual/appendix-checklist.xml:
24559 * docs/manual/appendix-integration.xml:
24560 * docs/manual/highlevel-components.xml:
24561 Fix playbin/decodebin examples, update docs a bit, mention bus
24562 instead of signals in various places, mention kmplayer and
24563 kaffeine since they have a working GStreamer backend in the KDE
24566 2005-06-30 Wim Taymans <wim@fluendo.com>
24569 * docs/design/draft-ghostpads.txt:
24570 * docs/design/draft-push-pull.txt:
24571 * docs/design/draft-query.txt:
24572 * docs/design/part-TODO.txt:
24573 * docs/design/part-query.txt:
24574 Added CHANGES-0.9 doc, updated status of other docs.
24579 2005-06-30 Wim Taymans <wim@fluendo.com>
24581 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24582 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24583 (gst_base_sink_change_state):
24584 * gst/base/gstbasesink.h:
24585 Some tweaks, only EOS and a buffer complete a preroll.
24587 2005-06-30 Andy Wingo <wingo@pobox.com>
24589 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24590 activate_push down to the internal pad as well.
24592 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
24594 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24596 * gst/gsttaginterface.c:
24597 Some documentation fixes (#307394 and #307397).
24599 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
24601 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24603 * gst/gstvalue.c: (gst_value_intersect_list):
24604 Fix memleak (#309125).
24606 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24608 * docs/manual/advanced-dataaccess.xml:
24609 Fix fakesrc example to compile; doesn't work, bug somewhere...?
24610 * docs/manual/basics-pads.xml:
24611 Add reference for filtered caps to above chapter.
24613 2005-06-30 Wim Taymans <wim@fluendo.com>
24615 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24616 (gst_bin_change_state):
24618 Lame attempt at making the state change function a bit
24621 2005-06-30 Wim Taymans <wim@fluendo.com>
24623 * docs/design/part-clocks.txt:
24624 * docs/design/part-element-sink.txt:
24625 * docs/design/part-events.txt:
24626 * docs/design/part-preroll.txt:
24627 * docs/design/part-states.txt:
24628 Some more tweeks and additions to the docs.
24630 2005-06-30 Wim Taymans <wim@fluendo.com>
24632 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24633 (default_have_data), (gst_pad_class_init), (gst_pad_init),
24634 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24635 (gst_pad_check_pull_range), (gst_pad_get_range),
24636 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24638 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24639 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24640 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24641 (gst_pad_remove_buffer_probe):
24642 Removed atomic operations, use existing LOCK.
24643 Move exception handling out of main code path.
24645 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24647 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24648 (silly_return_true_function), (gst_pad_class_init),
24649 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24650 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24651 (gst_pad_send_event):
24652 Fix accumulator, add default value by using _emitv() instead
24653 of _emit() for signal emission.
24655 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24657 * docs/manual/advanced-dataaccess.xml:
24658 * examples/manual/Makefile.am:
24660 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24663 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
24665 * gst/elements/gstfilesink.c: (gst_filesink_render):
24666 Simplify code so that we don't have to handle short
24667 writes and return GST_FLOW_ERROR if an error occured.
24669 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24671 * docs/gst/gstreamer-docs.sgml:
24672 Remove probes more.
24674 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24676 * docs/gst/gstreamer-sections.txt:
24677 * docs/gst/tmpl/gstpad.sgml:
24678 * docs/gst/tmpl/gstprobe.sgml:
24680 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24681 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24682 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24683 (gst_pad_push_event), (gst_pad_send_event):
24685 * gst/gstutils.c: (gst_pad_add_data_probe),
24686 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24687 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24688 (gst_pad_remove_buffer_probe):
24690 Remove old probes, add new g-signal-based probes and some utility
24693 2005-06-29 Edward Hervey <edward@fluendo.com>
24695 * gst/gstelementfactory.c:
24698 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24699 the definition to the header file.
24701 2005-06-29 Andy Wingo <wingo@pobox.com>
24703 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24704 plugins from the source directory.
24706 2005-06-29 Wim Taymans <wim@fluendo.com>
24708 * docs/gst/tmpl/gstbuffer.sgml:
24709 * docs/gst/tmpl/gstclock.sgml:
24710 Some fixings for blantently wrong text.
24712 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24714 * check/Makefile.am:
24715 * gst/gst.c: (add_path_func), (init_pre):
24716 * gst/gstregistry.c: (gst_registry_add_path):
24717 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24718 only scan the GST_PLUGIN_PATH locations, and not add
24721 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24723 * docs/gst/gstreamer-sections.txt:
24724 * docs/gst/tmpl/gstbasesrc.sgml:
24725 * gst/gstelement.c:
24726 * gst/gstelement.h:
24731 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24733 * docs/manual/advanced-autoplugging.xml:
24734 Fix autoplugging example.
24736 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24738 * docs/manual/advanced-autoplugging.xml:
24739 * docs/manual/mime-world.fig:
24740 Try to get autoplugging working, fix type detection. Fix text
24741 in hello-world image.
24743 2005-06-29 Wim Taymans <wim@fluendo.com>
24745 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24746 (gst_base_sink_change_state):
24750 map SIGNAL and BROADCAST to the right function.
24753 Remove redundant braces.
24755 * gst/gstpad.c: (gst_pad_set_caps):
24756 Don't call setcaps function when reseting caps to NULL.
24758 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24759 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24760 (gst_system_clock_id_unschedule):
24761 Use BROADCAST as this is what we do.
24763 2005-06-29 Wim Taymans <wim@fluendo.com>
24765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24766 We are actually prerolling before commiting the state
24769 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24771 * docs/manual/advanced-clocks.xml:
24772 * docs/manual/advanced-interfaces.xml:
24773 * docs/manual/advanced-metadata.xml:
24774 * docs/manual/advanced-position.xml:
24775 * docs/manual/advanced-schedulers.xml:
24776 * docs/manual/advanced-threads.xml:
24777 * docs/manual/appendix-porting.xml:
24778 * docs/manual/basics-bins.xml:
24779 * docs/manual/basics-bus.xml:
24780 * docs/manual/basics-elements.xml:
24781 * docs/manual/basics-helloworld.xml:
24782 * docs/manual/basics-pads.xml:
24783 * docs/manual/highlevel-components.xml:
24784 * docs/manual/manual.xml:
24785 * docs/manual/thread.fig:
24786 Update (until threads/scheduling) Application Development Manual;
24787 remove GstThread, add GstBus, add simple porting checklist, add
24788 documentation for tag writing, clocks, make all examples until this
24789 part compile and run.
24790 * examples/manual/Makefile.am:
24791 Update from changes to Application Development Manual; add bus
24792 example, remove thread example.
24794 2005-06-28 Wim Taymans <wim@fluendo.com>
24796 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24797 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24798 (gst_bus_source_dispatch):
24799 Add debugging messages.
24800 Make internal methods static.
24801 Handle the case where the bus is flushed in the handler.
24803 * gst/gstelement.c: (gst_element_get_bus):
24804 Fix refcount in _get_bus();
24806 * gst/gstpipeline.c: (gst_pipeline_change_state),
24807 (gst_pipeline_get_clock_func):
24808 Clock refcounting fixes.
24809 Handle the case where preroll timed out more gracefully.
24811 * gst/gstsystemclock.c: (gst_system_clock_dispose):
24812 Clean up the internal thread in dispose. This is needed
24813 for subclasses that actually get disposed.
24815 * gst/schedulers/threadscheduler.c:
24816 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24817 (gst_thread_scheduler_dispose):
24818 Free thread pool in dispose.
24820 2005-06-28 Andy Wingo <wingo@pobox.com>
24822 * tests/network-clock-utils.scm (debug, print-event): New utils.
24824 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24825 (*packet-loss*): Unified loss probability.
24826 (network-time): Report out-of-band events.
24828 * tests/plot-data: Add support for out-of-band events. Hack it
24829 into this script instead of passing it down the pipe; should fix
24832 2005-06-28 Wim Taymans <wim@fluendo.com>
24834 * docs/gst/gstreamer.types:
24835 * docs/gst/tmpl/gstbasesrc.sgml:
24836 * docs/gst/tmpl/gstpad.sgml:
24839 2005-06-28 Wim Taymans <wim@fluendo.com>
24841 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24842 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24843 (gst_proxy_pad_do_fixatecaps):
24844 Correctly proxy the check_pull_range function.
24846 2005-06-28 Andy Wingo <wingo@pobox.com>
24848 * tests/network-clock.scm: Removed need for slib.
24850 2005-06-28 Wim Taymans <wim@fluendo.com>
24852 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24853 (gst_basesink_preroll_queue_flush):
24854 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24855 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24856 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24857 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24858 (gst_proxy_pad_set_property):
24861 * gst/gstqueue.c: (gst_queue_init):
24862 The deprecated pad loop function is removed now.
24864 2005-06-28 Andy Wingo <wingo@pobox.com>
24866 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24867 New parameters, simulate network packet loss.
24869 * tests/network-clock-utils.scm: Initialize the RNG.
24871 2005-06-28 Wim Taymans <wim@fluendo.com>
24873 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24874 (gst_basesink_event), (gst_basesink_deactivate):
24875 Flushing the preroll queue always needs to unlock the waiters.
24877 2005-06-28 Edward Hervey <edward@fluendo.com>
24879 * gst/gstpipeline.c: (gst_pipeline_send_event):
24880 Wheen a seek was successful on a pipeline, set the stream_time to the
24881 seek offset in order to have a synchronized stream_time.
24883 2005-06-28 Wim Taymans <wim@fluendo.com>
24885 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24886 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24887 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24888 (gst_proxy_pad_do_fixatecaps):
24889 Call wrapper function instead of just calling the function
24890 pointers. This takes care of any locking and whatmore.
24892 2005-06-28 Wim Taymans <wim@fluendo.com>
24894 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24895 (gst_pad_pull_range):
24897 CONNECTED -> LINKED.
24899 2005-06-28 Andy Wingo <wingo@pobox.com>
24901 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24902 source-munging commit!!!
24904 * gst/gstobject.c (gst_object_unref, gst_object_ref)
24905 (gst_object_sink): Take gpointer arguments, not GstObject --
24906 avoids casts. Like GLib.
24908 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24911 2005-06-27 Andy Wingo <wingo@pobox.com>
24913 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24916 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24917 returns a sorted copy of the trace list.
24918 (gst_alloc_trace_print_live): New API, only prints traces with
24919 live objects. Sort the list.
24920 (gst_alloc_trace_print_all): Sort the list.
24921 (gst_alloc_trace_print): Align columns.
24923 * gst/elements/gstttypefindelement.c:
24924 * gst/elements/gsttee.c:
24925 * gst/base/gstbasesrc.c:
24926 * gst/base/gstbasesink.c:
24927 * gst/base/gstbasetransform.c:
24928 * gst/gstqueue.c: Adapt for pad activation changes.
24930 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24932 (gst_pipeline_dispose): Drop ref on sched.
24934 * gst/gstpad.c (gst_pad_init): Set the default activate func.
24935 (gst_pad_activate_default): Push mode by default.
24936 (pre_activate_switch, post_activate_switch): New stubs, things to
24937 do before and after switching activation modes on pads.
24938 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24939 the pad's activate function to choose which mode to activate.
24940 Shortcut on deactivation and call the right function directly.
24941 (gst_pad_activate_pull): New API, (de)activates a pad in pull
24943 (gst_pad_activate_push): New API, same for push mode.
24944 (gst_pad_set_activate_function)
24945 (gst_pad_set_activatepull_function)
24946 (gst_pad_set_activatepush_function): Setters for new API.
24948 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24949 Trace all miniobjects.
24950 (gst_mini_object_make_writable): Unref the arg if we copy, like
24951 gst_caps_make_writable.
24953 * gst/gstmessage.c (_gst_message_initialize): No trace init.
24955 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
24956 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24957 Adapt for new pad API.
24959 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24961 * gst/gstelement.h:
24962 * gst/gstelement.c (gst_element_iterate_src_pads)
24963 (gst_element_iterate_sink_pads): New API functions.
24965 * gst/gstelement.c (iterator_fold_with_resync): New utility,
24966 should fold into gstiterator.c in some form.
24967 (gst_element_pads_activate): Simplified via use of fold and
24968 delegation of decisions to gstpad->activate.
24970 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24973 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24974 class once in init, like gstmessage. Didn't run into this issue
24975 but it seems correct. Don't initialize a trace, gstminiobject does
24978 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24979 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24981 (assert_live_count): New util function, uses alloc traces to check
24984 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24985 To be modified when unlink drops the internal pad.
24987 2005-06-27 Wim Taymans <wim@fluendo.com>
24989 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24990 (gst_bin_change_state):
24991 Cleanup the get_state() function a little, make sure it
24992 iterates the same set of elements.
24993 Added stub iterate_state_order().
24995 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
24997 * docs/gst/gstreamer-docs.sgml:
24998 * docs/gst/gstreamer-sections.txt:
24999 * docs/gst/gstreamer.types:
25000 * docs/gst/tmpl/gstbasesink.sgml:
25001 * docs/gst/tmpl/gstbasesrc.sgml:
25002 * docs/gst/tmpl/gstbasetransform.sgml:
25003 * docs/gst/tmpl/gstelement.sgml:
25004 * docs/gst/tmpl/gstiterator.sgml:
25005 * gst/base/gstbasesrc.c:
25006 * gst/base/gstbasesrc.h:
25007 * gst/base/gstbasetransform.h:
25008 * gst/gstelement.c:
25009 * gst/gstiterator.h:
25010 adding basetransform and iterator docs
25012 2005-06-27 Andy Wingo <wingo@pobox.com>
25014 * docs/design/part-activation.txt: Notes on how activation should
25015 work -- not quite implemented yet.
25017 2005-06-25 Wim Taymans <wim@fluendo.com>
25019 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25020 At least get the chain function correct, needs more
25023 2005-06-25 Wim Taymans <wim@fluendo.com>
25025 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25026 (gst_basesink_handle_object), (gst_basesink_event),
25027 (gst_basesink_do_sync), (gst_basesink_handle_event),
25028 (gst_basesink_change_state):
25030 Right, two problems here: ghostpads don't take locks and
25031 glib _rec_mutex_lock_full() with depth==0 still locks.
25032 Catch illegal locking and g_warn them.
25034 2005-06-25 Wim Taymans <wim@fluendo.com>
25036 * check/states/sinks.c: (START_TEST), (gst_object_suite):
25037 Have to check for completion now...
25039 2005-06-25 Wim Taymans <wim@fluendo.com>
25041 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25042 (gst_basesink_handle_object), (gst_basesink_event),
25043 (gst_basesink_do_sync), (gst_basesink_handle_event),
25044 (gst_basesink_change_state):
25046 Unlock STREAM_LOCK whatever the recursion was.
25048 2005-06-25 Wim Taymans <wim@fluendo.com>
25050 * gst/base/gstbasesink.c: (gst_basesink_set_property),
25051 (gst_basesink_preroll_queue_empty),
25052 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25053 (gst_basesink_event), (gst_basesink_do_sync),
25054 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25055 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25056 (gst_basesink_change_state):
25057 Reworked the base sink, handle event and buffer serialisation
25058 correctly and removed possible deadlock.
25059 Handle EOS correctly.
25061 2005-06-25 Wim Taymans <wim@fluendo.com>
25063 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25064 (gst_pipeline_change_state):
25065 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25066 Allow elements to post EOS in the state change function.
25067 Fix up -launch, make it exit the poll loop when the
25068 pipeline actually changed state.
25069 Fix up warning parsing in -launch.
25071 2005-06-25 Wim Taymans <wim@fluendo.com>
25073 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25074 (gst_tee_sink_activate):
25075 Core takes STREAM_LOCK for us now.
25077 2005-06-25 Wim Taymans <wim@fluendo.com>
25079 * gst/gstelement.c: (gst_element_get_state_func),
25080 (gst_element_set_state):
25081 * gst/gstelement.h:
25082 * gst/gstmessage.c: (gst_message_parse_error),
25083 (gst_message_parse_warning):
25084 Keep track of current target state while performing a state
25085 change so that subclasses can do something interesting.
25086 Fix parsing of warning/error messages when GError is NULL.
25088 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25090 * docs/gst/Makefile.am:
25091 * docs/gst/gstreamer-docs.sgml:
25092 * docs/gst/gstreamer-sections.txt:
25093 * docs/gst/gstreamer.types:
25094 * docs/gst/tmpl/gstbasesink.sgml:
25095 * docs/gst/tmpl/gstbasesrc.sgml:
25096 * docs/gst/tmpl/gstbin.sgml:
25097 * docs/gst/tmpl/gstcompat.sgml:
25098 * docs/gst/tmpl/gstfakesink.sgml:
25099 * docs/gst/tmpl/gstfakesrc.sgml:
25100 * docs/gst/tmpl/gstfilesink.sgml:
25101 * docs/gst/tmpl/gstfilesrc.sgml:
25102 * docs/gst/tmpl/gstindex.sgml:
25103 * docs/manual/appendix-quotes.xml:
25104 * gst/base/gstbasesrc.h:
25105 * gst/elements/gstfakesrc.h:
25106 * gst/gstmessage.h:
25107 start pulling in base classes and elements in our docs
25109 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25111 * docs/gst/Makefile.am:
25112 * docs/libs/Makefile.am:
25113 fixed make distcheck with gtk-doc 1.3
25115 2005-06-23 Wim Taymans <wim@fluendo.com>
25117 * gst/gstelement.c: (gst_element_get_state_func),
25118 (gst_element_set_state), (gst_element_change_state):
25119 When the state did not change, also report NO_PREROLL
25122 2005-06-23 Wim Taymans <wim@fluendo.com>
25124 * gst/gstpad.c: (gst_pad_event_default):
25125 * gst/gstqueue.c: (gst_queue_loop):
25126 No unsafe task pausing please.
25128 2005-06-23 Wim Taymans <wim@fluendo.com>
25130 * gst/schedulers/threadscheduler.c:
25131 (gst_thread_scheduler_task_start),
25132 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25133 Ref the task before pushing it on the threadpool. This
25134 makes sure that we have a ref when the threadfunction is
25137 2005-06-23 Andy Wingo <wingo@pobox.com>
25139 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25140 offset is greater than the file's size.
25142 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25143 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25144 * gst/gstobject.c (gst_object_class_init): Make the class lock
25145 recursive. Wim won't let me drop deep_notify. Decodebin works
25146 again, whoopdy doo.
25148 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25149 internal pad, and hacks accordingly. Doesn't do it on the target
25150 pad because we change its caps. Probably catches all cases of
25152 (gst_ghost_pad_set_property): Connect to notify::caps as
25155 * tests/network-clock.scm (plot-simulation): Pipe data to the
25156 elite python skript.
25158 * tests/network-clock-utils.scm (define-parameter): New macro,
25159 defines a parameter that can be set via the command line.
25160 (set-parameter!, parse-parameter-arguments): Command line args
25163 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25166 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25168 * gst/elements/gsttypefindelement.c:
25169 (gst_type_find_element_handle_event):
25170 Don't restart typefinding on a discont.
25171 * gst/gstelement.c: (gst_element_set_state):
25172 Debug spelling fix.
25173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25174 Allow changing mode of an active pad.
25175 Debug output fixes.
25176 * gst/registries/gstlibxmlregistry.c: (load_feature):
25177 Don't cast a static pad template to a normal pad template.
25179 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25181 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25182 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25183 remove gst_strtoll completely, since it didn't actually do
25184 anything more than what g_ascii_strtoull already does.
25185 check for range errors when deserializing
25186 do a cast for the unsigned cases; but further fixing needs
25187 a decision on what the interpretation of "(int)" and
25188 deserialization should be for values that fall outside the
25189 type's boundaries (ie, refuse, or interpret as casting)
25191 2005-06-23 Wim Taymans <wim@fluendo.com>
25193 * check/Makefile.am:
25194 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25195 * docs/design/part-live-source.txt:
25196 * docs/design/part-states.txt:
25197 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25198 (gst_basesrc_set_live), (gst_basesrc_is_live),
25199 (gst_basesrc_get_range), (gst_basesrc_activate),
25200 (gst_basesrc_change_state):
25201 * gst/base/gstbasesrc.h:
25202 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25203 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25204 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25205 * gst/gstelement.c: (gst_element_get_state_func),
25206 (gst_element_set_state):
25207 * gst/gstelement.h:
25209 * tools/gst-launch.c: (event_loop), (main):
25210 Added support for live sources and other elements that
25212 Updated design docs, added live-source design doc.
25213 Implemented live source functionality in basesrc
25214 Fix error condition in _bin_get_state()
25215 Implement live source handling in -launch.
25216 Added check for live sources.
25217 Fixed case in GstBin where elements were changed state
25221 2005-06-23 Andy Wingo <wingo@pobox.com>
25223 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25224 borken refcounting.
25226 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25227 gst_caps_replace takes care of this for us.
25229 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25230 gst_pad_set_caps on the target, not just its setcaps() function.
25232 * tests/network-clock.scm:
25233 * tests/network-clock-utils.scm: A network clock simulator.
25234 Something of an algorithmic testbed before doing something in C.
25236 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25238 * check/Makefile.am:
25239 * check/gst/capslist.h:
25240 copy over from 0.8, and add two with bitmasks specified with
25242 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25243 add test to parse everything from capslist.h
25244 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25246 add test for structure deserialization
25247 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25248 add tests for deserialization of strings to int types
25249 * gst/gststructure.c: (gst_structure_nth_field_name):
25250 * gst/gststructure.h:
25251 add a way to get the name of a field referenced by index
25252 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25253 instead of checking if the resulting long long lies between
25254 min and max, we check if the long long would fit into
25255 a number of bytes for the final type.
25256 This fixes cases where a string represents 2^32 - 1, which
25257 when cast to int would be the (valid) -1, but is bigger than
25260 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25262 * gst/parse/grammar.y:
25263 add a log line for type deserialization
25265 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25267 * check/gst/gstvalue.c: (START_TEST):
25268 * gst/gstvalue.c: (gst_value_deserialize):
25269 return long long, not int, so gint64 deserialization actually
25270 works. Is there any flag that makes the compiler check this ?
25273 2005-06-22 Wim Taymans <wim@fluendo.com>
25276 Added convenience macros for setting buffers in GValue.
25278 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25280 * check/gst/.cvsignore:
25281 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25282 add a test deserializing int64, and comment part out because
25285 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25287 * check/Makefile.am:
25288 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25289 * testsuite/Makefile.am:
25290 * testsuite/caps/Makefile.am:
25291 * testsuite/caps/value_serialize.c:
25292 * testsuite/test_gst_init.c:
25293 move a value_serialize test over
25295 2005-06-20 Wim Taymans <wim@fluendo.com>
25300 * gst/gstvalue.c: (gst_value_compare_buffer),
25301 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25302 (gst_value_compare_flags), (gst_value_serialize_flags),
25303 (gst_value_deserialize_flags), (_gst_value_initialize):
25304 Fix serialisation of buffers, they are not boxed types anymore
25306 2005-06-20 Wim Taymans <wim@fluendo.com>
25308 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25309 Testcase to show error in buffer-on-caps serialisation.
25311 2005-06-20 Andy Wingo <wingo@pobox.com>
25313 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25314 will be adding to later.
25316 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25317 if its socks fill with rocks.
25318 (gst_system_clock_obtain): Set the name on object construction.
25319 Avoid double-checked locking.
25321 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25323 * gst/gsturi.c: (gst_element_make_from_uri):
25324 Fix potential endless loop.
25326 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25328 * check/Makefile.am:
25330 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25332 move over from testsuite dir and clean up
25335 * testsuite/Makefile.am:
25336 * testsuite/tags/.cvsignore:
25337 * testsuite/tags/Makefile.am:
25338 * testsuite/tags/merge.c:
25339 remove testsuite/tags
25341 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25343 * docs/gst/gstreamer-sections.txt:
25344 * docs/gst/tmpl/gstenumtypes.sgml:
25345 * win32/gstenumtypes.c:
25346 clean up documentation build a little
25348 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25350 * check/gstcheck.h:
25351 add macros for checking refcounts on objects and caps
25352 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25353 add some more unit tests
25354 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25355 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25356 fix leaked refcounts (I hope :)) so unittest works
25360 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25362 * configure.ac: back to HEAD
25364 === release 0.9.1 ===
25366 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25372 2005-06-17 Andy Wingo <wingo@pobox.com>
25374 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25375 assert; it's always possible that the pad gets deactivated in
25376 between the checks in gstpad.c and the implementation. Rely on
25377 finish_preroll() to return a FLUSHING or similar instead of on the
25380 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25381 clock and post an EOS message if we come out of finish_preroll in
25384 2005-06-16 David Schleef <ds@schleef.org>
25386 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25387 (gst_capsfilter_set_property): Allow NULL as possible value
25388 for filter_caps property, indicating GST_CAPS_ANY.
25390 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25392 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25394 * gst/schedulers/Makefile.am:
25396 * gstreamer.spec.in:
25399 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25401 * gstreamer.spec.in:
25404 2005-06-08 Andy Wingo <wingo@pobox.com>
25406 * gst/gstutils.c: RPAD fixes all around.
25407 (gst_element_link_pads): Refcounting fixes.
25409 * tools/gst-inspect.c:
25410 * tools/gst-xmlinspect.c:
25412 * gst/base/gsttypefindhelper.c:
25413 * gst/base/gstbasesink.c:
25414 * gst/gstqueue.c: RPAD fixes.
25416 * gst/gstghostpad.h:
25417 * gst/gstghostpad.c: New ghost pad implementation as full proxy
25418 pads. The tricky thing is they provide both source and sink
25419 interfaces, since they proxy the internal pad for the external
25420 pad, and vice versa. Implement with lower-level ProxyPad objects,
25421 with the interior proxy pad as a child of the exterior ghost pad.
25422 Should write a doc on this.
25424 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25425 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25428 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25429 pads are real pads. No ghost pads in this file. Not documenting
25430 the myriad s/RPAD/PAD/ and REALIZE fixes.
25431 (gst_pad_class_init): Add properties for "direction" and
25432 "template". Both are construct-only, so they can't change during
25433 the life of the pad. Fixes properly deriving from GstPad.
25434 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25435 derived objects, just set properties when creating the objects via
25437 (gst_pad_get_parent): Implement as a function, return NULL if the
25438 parent is not an element.
25439 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25440 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25442 * gst/gstobject.c (gst_object_class_init): Make name a construct
25443 property. Don't set it in the object init.
25445 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25446 with UNKNOWN direction.
25447 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25448 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25449 (gst_element_remove_pad): Remove ghost-pad special cases.
25450 (gst_element_pads_activate): Remove rpad cruft.
25452 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25453 catch the pad's-parent-not-an-element case.
25455 * gst/gst.h: Include gstghostpad.h.
25457 * gst/gst.c (init_post): No more real, ghost pads.
25459 * gst/Makefile.am: Add gstghostpad.[ch].
25461 * check/Makefile.am:
25462 * check/gst/gstbin.c:
25463 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25464 into a bin creates ghost pads, and that the refcounts are right.
25465 Partly moved from gstbin.c.
25467 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25469 * check/gst-libs/.cvsignore:
25470 * check/gst/.cvsignore:
25471 * check/pipelines/.cvsignore:
25473 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25474 (START_TEST), (cleanup_suite), (main):
25475 add some tests related to cleanup after running pipelines
25477 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25479 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25480 add a testsuite for GstBuffer
25482 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25484 * gst/gstminiobject.h:
25485 add defines for accessing the refcount
25487 2005-06-03 Stefan Kost <ensonic@users.sf.net>
25489 * Makefile.am: added support for html unit test coverage reports
25491 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
25493 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25494 Free existing caps if the capsfilter changes. Add a FIXME about
25495 setting those caps on the pads.
25497 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25498 Before adding a ghost pad to a parent bin, check that there isn't
25499 already one for the element on the bin. Prevents infinite recursion
25500 when using decodebin in parse pipelines. Andy says he'll rewrite the
25501 way this works anyway, so ignore the hack.
25503 2005-06-02 Andy Wingo <wingo@pobox.com>
25505 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25506 file size, pass it on to the type find helper.
25508 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25509 segment_start and segment_end properly according to the seek
25510 method. Segment_end is still a bit flaky because offset can be
25511 negative for CUR and END cases, but it takes -1 as an "unset"
25514 2005-06-02 Wim Taymans <wim@fluendo.com>
25516 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25517 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25518 (gst_basesink_activate):
25519 * gst/base/gstbasesink.h:
25520 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25521 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25522 (gst_pad_query), (gst_pad_start_task):
25524 * gst/gstqueue.c: (gst_queue_bufferalloc),
25525 (gst_queue_handle_sink_event), (gst_queue_chain):
25526 Bufferalloc: return GstFlowReturn to more accuratly report
25527 why allocation failed.
25529 2005-06-02 Wim Taymans <wim@fluendo.com>
25531 * gst/gstpipeline.c: (gst_pipeline_send_event):
25532 Take snapshot of state without blocking.
25534 2005-06-02 Wim Taymans <wim@fluendo.com>
25536 * docs/design/part-TODO.txt:
25537 * docs/design/part-caps.txt:
25538 * docs/design/part-clocks.txt:
25539 * docs/design/part-negotiation.txt:
25540 * docs/design/part-preroll.txt:
25543 2005-05-30 Wim Taymans <wim@fluendo.com>
25545 * gst/elements/gstidentity.c: (gst_identity_event),
25546 (gst_identity_transform), (gst_identity_get_property):
25547 Protect last_message property as it is accessed from
25550 2005-05-30 Wim Taymans <wim@fluendo.com>
25552 * gst/gstelement.c: (gst_element_init),
25553 (gst_element_pads_activate), (gst_element_change_state):
25554 Slicker pad activation code.
25556 2005-05-30 Wim Taymans <wim@fluendo.com>
25559 * gst/gstelement.h:
25560 * gst/gstelementfactory.h:
25562 Move elementfactory methods to separate .h file.
25564 2005-05-30 Wim Taymans <wim@fluendo.com>
25566 * docs/design/part-overview.txt:
25567 * gst/gstsystemclock.h:
25568 Small typo fixes, doc updates.
25570 2005-05-30 Wim Taymans <wim@fluendo.com>
25572 * gst/gst.c: (gst_init_get_popt_table), (init_post),
25573 (init_popt_callback):
25574 Remove cpu-opt flag.
25576 2005-05-30 Wim Taymans <wim@fluendo.com>
25578 * gst/gstbuffer.c: (gst_subbuffer_finalize),
25579 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25581 Avoid typechecking in places where not needed.
25582 Added accessor for malloc_data.
25584 2005-05-30 Wim Taymans <wim@fluendo.com>
25586 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25587 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25588 (gst_pad_configure_sink), (gst_pad_configure_src),
25589 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25590 (gst_pad_start_task):
25591 Propagate errors from _set_caps() in configure_src/sink
25592 functions instead of returning TRUE.
25593 FLUSH events can travel up and downstream
25596 2005-05-30 Wim Taymans <wim@fluendo.com>
25598 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25599 (gst_basesink_activate):
25600 Handle EOS in preroll.
25602 2005-05-30 Wim Taymans <wim@fluendo.com>
25604 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25605 (gst_queue_loop), (gst_queue_handle_src_event):
25606 Remove old pieces of code
25607 Flushing the queue in an upstream event is a very bad idea.
25609 2005-05-26 Andy Wingo <wingo@pobox.com>
25611 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25612 gst_value_set_mini_object so as to add a ref on the object (which
25613 will be removed when the value is unset).
25615 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25616 arg type in ::handoff.
25618 * gst/gstelement.c (gst_element_change_state): Also deactivate
25619 pads in READY->NULL, just in case the element didn't make it to
25620 PAUSED. Wingo tested, Wim approved.
25622 2005-05-26 Wim Taymans <wim@fluendo.com>
25624 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25625 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25626 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25627 A flushing pad cannot be used to alloc_buffer from.
25629 2005-05-26 Wim Taymans <wim@fluendo.com>
25631 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25632 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25633 (gst_bus_source_dispatch), (gst_bus_source_finalize),
25634 (gst_bus_create_watch), (gst_bus_add_watch_full):
25636 Implement a real GSource and use g_main_context_wakeup() to
25637 signal new messages instead of the socketpair.
25639 2005-05-25 Wim Taymans <wim@fluendo.com>
25641 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25642 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25643 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25644 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25645 (gst_pad_send_event), (gst_pad_start_task):
25646 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25647 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25648 (gst_queue_sink_activate), (gst_queue_src_activate),
25649 (gst_queue_change_state):
25651 Fix state changes for non sinks. We now change sinks, then elements
25652 with unconnected srcpads, then the rest.
25653 More efficient queue unlocking in flush and state changes.
25654 Set the pad activate mode even if it does not have an activate
25657 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25659 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25660 Don't go in pull mode for non-seekable sources.
25661 * gst/elements/gsttypefindelement.h:
25662 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25663 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25664 (free_entry), (stop_typefinding),
25665 (gst_type_find_element_handle_event), (find_peek),
25666 (gst_type_find_element_chain), (do_pull_typefind),
25667 (gst_type_find_element_change_state):
25668 Allow typefinding (w/o seeking) in push-mode, simplified version
25669 of what was in 0.8.
25670 * gst/gstutils.c: (gst_buffer_join):
25672 gst_buffer_join() from 0.8.
25674 2005-05-25 Wim Taymans <wim@fluendo.com>
25676 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25677 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25678 (gst_pad_send_event), (gst_pad_start_task):
25679 Disable attempt at mode switching until it is figured out.
25681 2005-05-25 Wim Taymans <wim@fluendo.com>
25683 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25684 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25685 (gst_basesink_finish_preroll), (gst_basesink_chain),
25686 (gst_basesink_loop), (gst_basesink_activate),
25687 (gst_basesink_change_state):
25688 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25689 (gst_basesrc_get_range), (gst_basesrc_loop),
25690 (gst_basesrc_activate):
25691 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25692 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25693 (gst_real_pad_init), (gst_real_pad_set_property),
25694 (gst_real_pad_get_property), (gst_pad_set_active),
25695 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25696 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25697 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25698 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25699 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25700 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25701 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25702 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25703 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25704 (gst_pad_stop_task):
25706 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25707 (gst_queue_loop), (gst_queue_src_activate):
25708 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25709 (gst_task_get_state):
25711 * gst/schedulers/threadscheduler.c:
25712 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25713 Implement gst_pad_pause/start/stop_task(), take STREAM lock
25715 Remove ACTIVE pad flag, use FLUSHING everywhere
25716 Added _pad_chain(), _pad_get_range() to call chain/getrange
25718 Add locks around IS_FLUSHING when reading.
25719 Take STREAM lock in chain(), get_range() functions so plugins
25720 don't need to take it anymore.
25724 2005-05-25 Wim Taymans <wim@fluendo.com>
25726 * tools/gst-launch.c: (event_loop):
25727 Unref message after using its contents instead of
25730 2005-05-24 Wim Taymans <wim@fluendo.com>
25732 * docs/design/draft-ghostpads.txt:
25733 * docs/design/draft-push-pull.txt:
25734 * docs/design/draft-query.txt:
25735 * docs/design/part-overview.txt:
25736 Docs updates, added general overview doc.
25738 2005-05-21 David Schleef <ds@schleef.org>
25740 * docs/gst/tmpl/old/GstBin.sgml:
25741 * docs/gst/tmpl/old/GstBuffer.sgml:
25742 * docs/gst/tmpl/old/GstCaps.sgml:
25743 * docs/gst/tmpl/old/GstClock.sgml:
25744 * docs/gst/tmpl/old/GstCompat.sgml:
25745 * docs/gst/tmpl/old/GstData.sgml:
25746 * docs/gst/tmpl/old/GstElement.sgml:
25747 * docs/gst/tmpl/old/GstEvent.sgml:
25748 * docs/gst/tmpl/old/GstIndex.sgml:
25749 * docs/gst/tmpl/old/GstStructure.sgml:
25750 * docs/gst/tmpl/old/GstTag.sgml:
25751 * docs/gst/tmpl/old/cothreads.sgml:
25752 * docs/gst/tmpl/old/cothreads_compat.sgml:
25753 * docs/gst/tmpl/old/gettext.sgml:
25754 * docs/gst/tmpl/old/gobject2gtk.sgml:
25755 * docs/gst/tmpl/old/grammar.tab.sgml:
25756 * docs/gst/tmpl/old/gst-i18n-app.sgml:
25757 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25758 * docs/gst/tmpl/old/gst_private.sgml:
25759 * docs/gst/tmpl/old/gstaggregator.sgml:
25760 * docs/gst/tmpl/old/gstarch.sgml:
25761 * docs/gst/tmpl/old/gstatomic_impl.sgml:
25762 * docs/gst/tmpl/old/gstbufferstore.sgml:
25763 * docs/gst/tmpl/old/gstdata_private.sgml:
25764 * docs/gst/tmpl/old/gstdisksink.sgml:
25765 * docs/gst/tmpl/old/gstdisksrc.sgml:
25766 * docs/gst/tmpl/old/gstelementfactory.sgml:
25767 * docs/gst/tmpl/old/gstextratypes.sgml:
25768 * docs/gst/tmpl/old/gstfakesink.sgml:
25769 * docs/gst/tmpl/old/gstfakesrc.sgml:
25770 * docs/gst/tmpl/old/gstfdsink.sgml:
25771 * docs/gst/tmpl/old/gstfdsrc.sgml:
25772 * docs/gst/tmpl/old/gstfilesink.sgml:
25773 * docs/gst/tmpl/old/gstfilesrc.sgml:
25774 * docs/gst/tmpl/old/gsthttpsrc.sgml:
25775 * docs/gst/tmpl/old/gstidentity.sgml:
25776 * docs/gst/tmpl/old/gstindexfactory.sgml:
25777 * docs/gst/tmpl/old/gstmarshal.sgml:
25778 * docs/gst/tmpl/old/gstmd5sink.sgml:
25779 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25780 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25781 * docs/gst/tmpl/old/gstpadtemplate.sgml:
25782 * docs/gst/tmpl/old/gstpipefilter.sgml:
25783 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25784 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25785 * docs/gst/tmpl/old/gstshaper.sgml:
25786 * docs/gst/tmpl/old/gstspider.sgml:
25787 * docs/gst/tmpl/old/gstspideridentity.sgml:
25788 * docs/gst/tmpl/old/gststatistics.sgml:
25789 * docs/gst/tmpl/old/gsttee.sgml:
25790 * docs/gst/tmpl/old/gsttimecache.sgml:
25791 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25792 * docs/gst/tmpl/old/gstxmlregistry.sgml:
25793 * docs/gst/tmpl/old/gthread-cothreads.sgml:
25794 * docs/gst/tmpl/old/types.sgml:
25795 I didn't intend to add these or check them in.
25797 2005-05-19 David Schleef <ds@schleef.org>
25799 * configure.ac: Use -no-common everywhere. In a sane world, it
25800 would be the default in libtool, because without it, you can't
25801 build DLLs on Windows.
25802 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25803 * docs/gst/gstreamer-sections.txt:
25804 * docs/gst/tmpl/gstcpu.sgml:
25805 * docs/gst/tmpl/gstdata.sgml:
25806 * docs/gst/tmpl/gstthread.sgml:
25808 2005-05-19 David Schleef <ds@schleef.org>
25810 * gst/gstminiobject.c: (gst_value_set_mini_object),
25811 (gst_value_take_mini_object), (gst_value_get_mini_object):
25812 * gst/gstminiobject.h: Add GValue set/get functions.
25814 2005-05-19 Wim Taymans <wim@fluendo.com>
25816 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25817 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25818 (gst_subbuffer_init), (gst_buffer_is_span_fast):
25820 * gst/gstbus.c: (gst_bus_post):
25821 * gst/gstelement.c: (gst_element_get_random_pad):
25822 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25823 Make subbufer unref the parent in finalize.
25824 some more debugging info.
25827 2005-05-19 Wim Taymans <wim@fluendo.com>
25829 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25830 (gst_basesink_init), (gst_basesink_finalize),
25831 (gst_basesink_activate), (gst_basesink_change_state):
25832 Don't free preroll queue too early.
25834 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25838 Hi, I'm outdated. Please shoot me.
25840 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25842 * gst/gstpipeline.c: (gst_pipeline_send_event):
25843 Do not access variables after they have been deleted.
25845 2005-05-19 Wim Taymans <wim@fluendo.com>
25847 * tools/gst-inspect.c: (print_plugin_features):
25848 A plugin feature does unfortunatly not use the
25851 2005-05-18 Wim Taymans <wim@fluendo.com>
25853 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25854 Port _span() functions to new subbuffers.
25856 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25858 * gst/gstbin.c: (gst_bin_add_func):
25859 Fix clock settery in bins when adding kids after the clock has
25862 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25864 * gst/elements/gstidentity.c: (gst_identity_class_init):
25865 Workaround until signals support GstMiniObject.
25867 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
25870 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25872 2005-05-18 Wim Taymans <wim@fluendo.com>
25874 * gst/base/Makefile.am:
25875 * gst/base/gstadapter.c: (gst_adapter_base_init),
25876 (gst_adapter_class_init), (gst_adapter_init),
25877 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25878 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25879 (gst_adapter_flush), (gst_adapter_available),
25880 (gst_adapter_available_fast):
25881 * gst/base/gstadapter.h:
25882 Ported and added adapter to the base classes.
25884 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25887 * gst/gstmessage.c:
25888 Make sure the class is reffed/unreffed once before threads can be
25889 used. Fixes #304551.
25891 2005-05-17 Wim Taymans <wim@fluendo.com>
25893 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25894 (gst_basesink_chain_unlocked), (gst_basesink_activate):
25895 * gst/gstminiobject.c: (gst_mini_object_get_type),
25896 (gst_mini_object_free):
25897 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25898 (gst_pad_push), (gst_pad_push_event):
25899 * gst/gstqueue.c: (gst_queue_change_state):
25900 Don't queue buffers in basesink when we are flushing.
25901 Unref buffer when flushing in basesink.
25902 Flush queue when going to READY
25903 Unref buffer when _push() returns an error.
25904 Don't free MiniObject instance when refcount is incremented
25905 in _finalize() so that we can recover objects.
25907 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
25909 * docs/manual/advanced-schedulers.xml:
25910 * docs/manual/appendix-checklist.xml:
25911 * docs/pwg/advanced-clock.xml:
25912 * docs/pwg/advanced-interfaces.xml:
25913 * docs/pwg/advanced-request.xml:
25914 * docs/pwg/advanced-types.xml:
25915 * docs/pwg/intro-preface.xml:
25916 * examples/plugins/example.c: (gst_example_get_type),
25917 (gst_example_class_init), (gst_example_chain),
25918 (gst_example_set_property), (gst_example_get_property),
25919 (gst_example_change_state), (plugin_init):
25920 * examples/plugins/example.h:
25923 2005-05-17 Wim Taymans <wim@fluendo.com>
25925 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25926 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25927 * gst/gstqueue.c: (gst_queue_change_state):
25928 Clear queue when going to READY.
25929 Remove IN_SETCAPS flag too.
25931 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
25933 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25934 Remove implicit cast from gboolean to GstElementStateReturn;
25935 make sure we still return failure in paused => ready case if
25936 the parent class fails to change state and our own stop
25939 2005-05-17 Wim Taymans <wim@fluendo.com>
25941 * tools/gst-launch.c: (event_loop):
25942 Message was unreffed too soon.
25944 2005-05-16 Andy Wingo <wingo@pobox.com>
25946 * gst/gstbin.c (sink_iterator_filter): Err... um...
25948 * check/gst/gstbin.c (test_ghost_pads): New test for the
25949 ghosting-if-elements-not-in-same-bin behavior.
25951 2005-05-16 David Schleef <ds@schleef.org>
25953 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25954 accessing refcount directly.
25956 2005-05-15 David Schleef <ds@schleef.org>
25958 * check/Makefile.am: remove GstData checks
25959 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25960 * gst/Makefile.am: add miniobject, remove data
25961 * gst/gst.h: add miniobject, remove data
25962 * gst/gstdata.c: remove
25963 * gst/gstdata.h: remove
25964 * gst/gstdata_private.h: remove
25965 * gst/gsttypes.h: remove GstEvent and GstMessage
25966 * gst/gstelement.c: (gst_element_post_message): fix for API changes
25967 * gst/gstmarshal.list: change BOXED -> OBJECT
25969 Implement GstMiniObject.
25970 * gst/gstminiobject.c:
25971 * gst/gstminiobject.h:
25973 Modify to be subclasses of GstMiniObject.
25974 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25975 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25976 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25977 (gst_subbuffer_get_type), (gst_subbuffer_init),
25978 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25981 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25982 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25983 (_gst_event_copy), (gst_event_new):
25985 * gst/gstmessage.c: (_gst_message_initialize),
25986 (gst_message_get_type), (gst_message_class_init),
25987 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25988 (gst_message_new), (gst_message_new_error),
25989 (gst_message_new_warning), (gst_message_new_tag),
25990 (gst_message_new_state_changed), (gst_message_new_application):
25991 * gst/gstmessage.h:
25992 * gst/gstprobe.c: (gst_probe_perform),
25993 (gst_probe_dispatcher_dispatch):
25995 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25996 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25997 (_gst_query_copy), (gst_query_new):
25999 Update elements for GstData -> GstMiniObject changes
26001 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26002 (gst_queue_chain), (gst_queue_loop):
26003 * gst/elements/gstbufferstore.c:
26004 (gst_buffer_store_add_buffer_func),
26005 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26006 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26007 (gst_fakesink_render):
26008 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26009 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26010 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26011 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26012 (gst_filesrc_create_read):
26013 * gst/elements/gstidentity.c: (gst_identity_class_init):
26014 * gst/elements/gsttypefindelement.c:
26015 (gst_type_find_element_src_event), (free_entry_buffers),
26016 (gst_type_find_element_handle_event):
26017 * libs/gst/dataprotocol/dataprotocol.c:
26018 (gst_dp_header_from_buffer):
26019 * libs/gst/dataprotocol/dataprotocol.h:
26020 * libs/gst/dataprotocol/dp-private.h:
26022 2005-05-15 David Schleef <ds@schleef.org>
26024 * gst/elements/gstelements.c: Don't include headers that were
26027 2005-05-15 David Schleef <ds@schleef.org>
26029 * gst/elements/Makefile.am: Remove some elements that don't
26030 need to be in the core (or even exist at all).
26031 * gst/elements/gstaggregator.c:
26032 * gst/elements/gstaggregator.h:
26033 * gst/elements/gstmd5sink.c:
26034 * gst/elements/gstmd5sink.h:
26035 * gst/elements/gstmultifilesrc.c:
26036 * gst/elements/gstmultifilesrc.h:
26037 * gst/elements/gstpipefilter.c:
26038 * gst/elements/gstpipefilter.h:
26039 * gst/elements/gstshaper.c:
26040 * gst/elements/gstshaper.h:
26041 * gst/elements/gststatistics.c:
26042 * gst/elements/gststatistics.h:
26043 * po/POTFILES.in: Remove above files.
26045 2005-05-14 Andy Wingo <wingo@pobox.com>
26047 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26048 so as to get the refs right.
26049 (sink_iterator_filter): New function, wraps bin_element_is_sink,
26050 unreffing objects that don't pass the filter.
26052 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26053 gst_element_set_bus.
26054 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26055 normal cases, this will destroy the bus.
26057 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26060 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26063 2005-05-13 Andy Wingo <wingo@pobox.com>
26065 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26066 gst_pad_link, call pad_link_maybe_ghosting,
26067 (pad_link_maybe_ghosting): Links pads, making sure that the
26068 elements being linked are in the same bin.
26069 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26070 Helpers for pad_link_maybe_ghosting.
26072 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26075 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26077 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26079 * docs/design/part-element-source.txt:
26082 2005-05-12 Wim Taymans <wim@fluendo.com>
26084 * gst/base/gstbasesink.c: (gst_basesink_init),
26085 (gst_basesink_activate):
26086 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26087 (gst_basesrc_is_seekable):
26088 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26089 (bin_element_is_sink), (gst_bin_change_state):
26090 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26091 * gst/gstelement.h:
26092 Identify sinks by their flag to avoid overly complicated
26094 Do state changes even for elements not reachable from the
26096 BaseSink is a sink now :)
26097 Some more debugging info in the basesrc.
26100 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26102 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26103 Implement _query on a bin, similar to _send_event.
26105 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26107 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26108 Discont event offset format should be GST_FORMAT_BYTES,
26109 not GST_FORMAT_TIME.
26111 2005-05-12 Wim Taymans <wim@fluendo.com>
26113 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26114 Same fix as Ronald's but without the signal.
26116 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26118 * gst/gstutils.c: (gst_element_query_position):
26119 No, an element is not a pad.
26121 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26123 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26124 (gst_bin_get_state):
26125 If a child is removed from a bin while we remove the child from
26126 the bin and while we're retrieving its state, signal this to the
26127 get_state function so we abort the wait (instead of waiting for
26128 a timeout) and can immediately re-iterate over all other elements.
26130 2005-05-12 Wim Taymans <wim@fluendo.com>
26132 * gst/base/Makefile.am:
26133 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26134 (gst_basesrc_start):
26135 * gst/base/gstbasesrc.h:
26136 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26137 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26138 (gst_pushsrc_init), (gst_pushsrc_create):
26139 * gst/base/gstpushsrc.h:
26140 Added is_seekable to BaseSrc
26141 Added simple PushSrc.
26143 2005-05-11 Wim Taymans <wim@fluendo.com>
26145 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26146 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26147 (gst_element_link_pads), (gst_element_query_position),
26148 (gst_element_query_convert), (intersect_caps_func),
26149 (gst_pad_query_position), (gst_pad_query_convert):
26150 Fix refcounting in utils function.
26151 No point in trying to activate a pad when it's added, it could
26152 be added from the state change function and then we deadlock, the
26153 element has to decide what to do.
26155 2005-05-10 Andy Wingo <wingo@pobox.com>
26157 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26158 *all* the arguments.
26160 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26161 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26162 lock (according to the docs -- if this is wrong change the docs).
26164 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26165 flush messages in the NULL state.
26167 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26168 message immediately and return.
26169 (gst_bus_set_flushing): New function. If a bus is flushing, it
26170 flushes out any queued messages and immediately unrefs new
26171 messages. This is so when an element goes to NULL, all of the
26172 unhandled messages coming from it can be freed, and their
26173 references to the element dropped. In other words: message source
26174 ref considered harmful :P
26176 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26177 we're finished with it.
26179 * gst/gstmessage.c (gst_message_new_state_changed):
26181 2005-05-10 Wim Taymans <wim@fluendo.com>
26183 * gst/gstvalue.c: (gst_value_compare_flags),
26184 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26185 (_gst_value_initialize):
26186 Added flags serialize/deserialize/compare code.
26188 2005-05-09 Andy Wingo <wingo@pobox.com>
26190 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26191 Intersect the peer's caps with our caps.
26193 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26195 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26196 * gst/elements/gsttypefindelement.c: (find_peek):
26197 Handle negative offsets better. Fixes decodebin.
26199 2005-05-09 Wim Taymans <wim@fluendo.com>
26201 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26202 (gst_base_transform_event):
26203 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26204 Implement accept_caps.
26205 Fix silly lock/unlock mismatch in base class.
26207 2005-05-09 Wim Taymans <wim@fluendo.com>
26209 * docs/design/draft-push-pull.txt:
26210 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26211 * gst/elements/gstfilesink.c: (gst_filesink_init),
26212 (gst_filesink_query):
26213 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26214 (gst_type_find_handle_src_query), (find_element_get_length):
26215 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26216 * gst/gstelement.h:
26217 * gst/gstmessage.c:
26218 * gst/gstmessage.h:
26219 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26220 (gst_real_pad_get_caps_unlocked),
26221 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26222 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26223 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26224 (gst_real_pad_dispose), (gst_real_pad_finalize),
26225 (gst_pad_load_and_link), (gst_pad_save_thyself),
26226 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26227 (gst_pad_check_pull_range), (gst_pad_pull_range),
26228 (gst_pad_template_get_type), (gst_pad_template_class_init),
26229 (gst_pad_template_init), (gst_pad_template_dispose),
26230 (name_is_valid), (gst_static_pad_template_get),
26231 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26232 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26233 (gst_pad_get_element_private), (gst_pad_start_task),
26234 (gst_pad_pause_task), (gst_pad_stop_task),
26235 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26236 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26237 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26238 (gst_ghost_pad_new):
26240 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26241 (gst_query_new_position), (gst_query_set_position),
26242 (gst_query_parse_position), (gst_query_new_convert),
26243 (gst_query_set_convert), (gst_query_parse_convert):
26245 * gst/gstqueryutils.c:
26246 * gst/gstqueryutils.h:
26247 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26248 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26249 (gst_queue_handle_src_query):
26250 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26251 (gst_element_query_position), (gst_element_query_convert),
26252 (intersect_caps_func), (gst_pad_query_position),
26253 (gst_pad_query_convert):
26255 * tools/gst-inspect.c: (print_pad_info):
26256 * tools/gst-xmlinspect.c: (print_element_info):
26257 Remove old query functions. Ported old code.
26258 Added position/convert helper functions to gstutils.
26259 Reordered gstpad.c code, grouping relevant things.
26260 Remove gst_message_new(), always need to speficy a specific
26264 2005-05-09 Andy Wingo <wingo@pobox.com>
26266 * gst/gstiterator.h: Add some includes.
26268 * gst/gstqueryutils.h: Include more headers.
26271 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26272 some uses of gst_pad_query.
26274 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26275 NULL out parameters.
26276 (gst_query_new_position): New proc, allocates a new position
26279 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26280 gstqueryutils.c to the build.
26282 * gst/gststructure.c (gst_structure_set_valist): Implement with
26283 the generic G_VALUE_COLLECT.
26285 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26287 * gst/Makefile.am: (gst_headers):
26288 Added gstqueryutils.h to the list of headers to install, that was
26289 a 'nachty' move wingo :)
26291 2005-05-06 Andy Wingo <wingo@pobox.com>
26294 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26295 GstData, init a memchunk.
26296 (standard_definitions): Add a few query types, deprecate a few.
26297 (gst_query_get_type): New proc.
26298 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26300 (gst_query_new_application, gst_query_get_structure): New public
26303 * docs/design/draft-query.txt: Removed LINKS from the query types,
26304 because all the rest can be dispatched to other pads -- seemed
26305 ugly to have a query that couldn't be dispatched. internal_links
26306 is fine as a pad method.
26308 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26309 in gstpad.c, but maintain binary compatibility for the moment.
26310 Will fix before 0.9 is out.
26312 * gst/gstqueryutils.c:
26313 * gst/gstqueryutils.h: New files, implement 3 methods for each
26314 query type: parse_query, parse_response, and set. Probably need an
26317 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26319 * gst/elements/gstfilesink.c (gst_filesink_query2):
26320 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26321 query_types, and formats methods.
26323 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26324 (gst_pad_set_query2_function): New functions.
26325 (gst_real_pad_init): Set query2_default as the default query2
26326 function. Basically just dispatches to internally linked pads.
26330 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26331 without using the atomic operations. Only one thread can possibly
26332 be accessing the data at this point. Changed so as to avoid
26333 gst_atomic operations.
26335 2005-05-06 Wim Taymans <wim@fluendo.com>
26337 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26338 Also set caps if we use the fallback buffer alloc.
26340 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26342 * docs/gst/Makefile.am:
26343 * docs/gst/gstreamer-docs.sgml:
26344 * docs/gst/gstreamer-sections.txt:
26345 * docs/gst/tmpl/gstatomic.sgml:
26346 * docs/gst/tmpl/gstmemchunk.sgml:
26347 * testsuite/elements/struct_i386.h:
26348 * win32/GStreamer.vcproj:
26350 Purge GstAtomic stuff from docs and win32 makefiles as well
26352 2005-05-06 Wim Taymans <wim@fluendo.com>
26354 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26355 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26356 * gst/gstpad.c: (gst_pad_peer_get_caps):
26357 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26358 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26359 (gst_queue_src_activate), (gst_queue_change_state):
26361 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26362 (intersect_caps_func):
26363 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26364 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26365 Some fixes for the peer_get_caps() change.
26367 2005-05-06 Wim Taymans <wim@fluendo.com>
26369 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26370 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26371 (gst_basesink_activate):
26372 Actually do something with error codes returned from the push
26375 2005-05-06 Wim Taymans <wim@fluendo.com>
26377 * docs/design/part-element-sink.txt:
26378 * docs/design/part-element-source.txt:
26379 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26380 (gst_basesink_event), (gst_basesink_activate):
26381 * gst/base/gstbasesink.h:
26382 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26383 (gst_basesrc_activate):
26384 * gst/base/gstbasesrc.h:
26385 * gst/gstelement.c: (gst_element_pads_activate):
26386 Some more documentation.
26387 Fixed scheduling decision in _pads_activate().
26389 2005-05-05 Andy Wingo <wingo@pobox.com>
26391 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26394 2005-05-05 Wim Taymans <wim@fluendo.com>
26396 * gst/base/Makefile.am:
26397 * gst/base/gstbasesink.h:
26398 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26399 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26400 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26401 (gst_collectpads_class_init), (gst_collectpads_init),
26402 (gst_collectpads_finalize), (gst_collectpads_new),
26403 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26404 (find_pad), (gst_collectpads_remove_pad),
26405 (gst_collectpads_is_active), (gst_collectpads_collect),
26406 (gst_collectpads_collect_range), (gst_collectpads_start),
26407 (gst_collectpads_stop), (gst_collectpads_peek),
26408 (gst_collectpads_pop), (gst_collectpads_available),
26409 (gst_collectpads_read), (gst_collectpads_flush),
26410 (gst_collectpads_chain):
26411 * gst/base/gstcollectpads.h:
26412 * gst/elements/Makefile.am:
26413 * gst/elements/gstelements.c:
26414 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26415 (gst_fakesink_get_times), (gst_fakesink_event),
26416 (gst_fakesink_preroll), (gst_fakesink_render):
26417 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26418 (gst_filesink_init), (gst_filesink_set_location),
26419 (gst_filesink_open_file), (gst_filesink_close_file),
26420 (gst_filesink_pad_query), (gst_filesink_event),
26421 (gst_filesink_render), (gst_filesink_change_state):
26422 * gst/elements/gstfilesink.h:
26423 Added object to help in making collect pad based elements.
26425 Make event function in sink baseclass return gboolean.
26427 2005-05-05 Wim Taymans <wim@fluendo.com>
26429 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26430 (gst_bin_get_by_name):
26432 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26433 (gst_clock_finalize):
26434 * gst/gstdata.c: (gst_data_replace):
26436 * gst/gstelement.c: (gst_element_request_pad),
26437 (gst_element_pads_activate):
26438 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26439 (gst_object_unref):
26440 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26441 (gst_pad_set_checkgetrange_function),
26442 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26443 (gst_pad_check_pull_range), (gst_pad_pull_range),
26444 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26445 (gst_pad_pause_task), (gst_pad_stop_task):
26446 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26447 (gst_element_request_pad), (gst_pad_proxy_getcaps):
26448 Fix name lookup in GstBin.
26449 Added _data_replace() function and _buffer_replace()
26450 Use finalize method to clean up clock.
26451 Fix refcounting on request pads.
26452 Fix pad schedule mode error.
26453 Some more object refcounting debug info,
26456 2005-05-04 Andy Wingo <wingo@pobox.com>
26458 * check/Makefile.am:
26459 * docs/gst/tmpl/gstatomic.sgml:
26460 * docs/gst/tmpl/gstplugin.sgml:
26461 * gst/base/gstbasesink.c: (gst_basesink_activate):
26462 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26463 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26464 (gst_basesrc_query), (gst_basesrc_set_property),
26465 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26466 (gst_basesrc_activate):
26467 * gst/base/gstbasesrc.h:
26468 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26469 (gst_base_transform_src_activate):
26470 * gst/elements/gstelements.c:
26471 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26472 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26473 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26474 * gst/elements/gsttypefindelement.c: (find_element_get_length),
26475 (gst_type_find_element_checkgetrange),
26476 (gst_type_find_element_activate):
26477 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26478 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26479 (gst_caps_load_thyself):
26480 * gst/gstelement.c: (gst_element_pads_activate),
26481 (gst_element_save_thyself), (gst_element_restore_thyself):
26482 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26483 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26485 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26486 (gst_xml_parse_file), (gst_xml_parse_memory),
26487 (gst_xml_get_element), (gst_xml_make_element):
26488 * gst/indexers/gstfileindex.c: (gst_file_index_load),
26489 (_file_index_id_save_xml), (gst_file_index_commit):
26490 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26491 (read_enum), (load_pad_template), (load_feature), (load_plugin),
26493 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26494 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26495 * tools/gst-complete.c: (main):
26496 * tools/gst-compprep.c: (main):
26497 * tools/gst-inspect.c: (print_element_properties_info):
26498 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26499 * tools/gst-xmlinspect.c: (print_element_properties):
26502 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
26504 * gst/gstplugin.c: (gst_plugin_check_module),
26505 (gst_plugin_check_file), (gst_plugin_load_file):
26506 apply patch from #172526 to make register work on MacOSX
26508 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26510 * docs/gst/tmpl/gstconfig.sgml:
26511 * gst/gstconfig.h.in:
26512 move documentation for some symbols. Add doc for GST_PTR_FORMAT
26513 * testsuite/debug/printf_extension.c: (main):
26514 Do not use GST_PTR_FORMAT on pointers to types with
26515 sizeof < sizeof(gpointer). Fixes test on 64-bit
26516 * testsuite/elements/property.h:
26517 use correct printf format
26519 2005-05-02 Wim Taymans <wim@fluendo.com>
26521 * docs/design/draft-push-pull.txt:
26522 * docs/design/draft-query.txt:
26523 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26524 (gst_basesrc_start):
26525 Added draft for new query API.
26526 Added draft for better selecting scheduling methods.
26527 Make basesrc ignore length if the subclass does not support
26530 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26533 possible fixes for automake-1.5 - _LIBADD is reserved
26535 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26537 * docs/faq/Makefile.am:
26538 * docs/manual/Makefile.am:
26539 * docs/manuals.mak:
26540 * docs/pwg/Makefile.am:
26542 possible fixes for automake-1.5
26544 2005-04-28 Wim Taymans <wim@fluendo.com>
26546 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26547 (gst_basesink_pad_getcaps), (gst_basesink_init),
26548 (gst_basesink_do_sync):
26549 * gst/gstclock.c: (gst_clock_entry_new):
26550 * gst/gstevent.c: (gst_event_discont_get_value):
26551 * gst/gstpipeline.c: (pipeline_bus_handler),
26552 (gst_pipeline_change_state):
26553 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26554 Better debugging of clocking info.
26555 Allow NULL values when getting discont values.
26557 2005-04-27 Wim Taymans <wim@fluendo.com>
26559 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26560 * check/gst/gstpad.c: (gst_pad_suite):
26561 Increase timeout for checks.
26563 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26565 * check/Makefile.am:
26566 fix the broken rule for cleanup. Apparently this rule is
26567 only needed on FC2, so maybe this warrants further autotool
26570 2005-04-26 Wim Taymans <wim@fluendo.com>
26572 * gst/gsttrashstack.h:
26573 Ooohh. a nasty one! After having a failed pop() from the stack,
26574 it's possible that the stack is empty. In that case, don't
26575 follow the NULL pointer.
26577 2005-04-25 Wim Taymans <wim@fluendo.com>
26579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26580 (gst_pad_set_checkgetrange_function),
26581 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26582 (gst_pad_check_pull_range), (gst_pad_pull_range),
26583 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26584 (gst_pad_pause_task), (gst_pad_stop_task):
26585 * gst/gstplugin.c: (gst_plugin_load):
26587 Remove gst_library_load as it does more harm than good with
26588 the new g_module flags.
26589 Revert bogus caps template check in pad linking, pad caps
26590 are important when linking not the template, which is more
26591 general than the current caps.
26593 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26595 * gst/autoplug/.cvsignore:
26596 * gst/autoplug/Makefile.am:
26597 * gst/autoplug/gstsearchfuncs.c:
26598 * gst/autoplug/gstsearchfuncs.h:
26599 * gst/autoplug/gstspider.c:
26600 * gst/autoplug/gstspider.h:
26601 * gst/autoplug/gstspideridentity.c:
26602 * gst/autoplug/gstspideridentity.h:
26603 * gst/autoplug/spidertest.c:
26606 2005-04-25 Wim Taymans <wim@fluendo.com>
26608 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26609 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26610 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26611 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26613 Added stubs for unimplemented functions.
26615 2005-04-24 David Schleef <ds@schleef.org>
26617 * gst/gstpad.h: Disable some unimplemented functions. Wim,
26620 2005-04-24 David Schleef <ds@schleef.org>
26622 Convert everything from GstAtomicInt to g_atomic_int_*, and
26627 * gst/gstatomic_impl.h:
26635 * gst/gstdata_private.h:
26639 * gst/gstmessage.c:
26642 * gst/gststructure.c:
26643 * gst/gststructure.h:
26644 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26647 2005-04-24 David Schleef <ds@schleef.org>
26649 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26650 make the regressions tests work. Remove some code that is no
26652 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26653 Disable warning for pads without templates.
26655 2005-04-24 David Schleef <ds@schleef.org>
26657 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
26658 functions that handle filtered links.
26659 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26661 * gst/gstutils.c: Fix/remove utility functions that handle
26664 * gst/gstvalue.c: Add serialization/deserialization of caps
26665 * gst/parse/grammar.y: Ignore filtered caps when linking. This
26666 requires fixing so that the filter caps notation creates
26667 a capsfilter element and sets the filter_caps property. I
26668 think everyone probably wants to keep the shorthand notation.
26669 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26670 * docs/gst/tmpl/gstpad.sgml:
26672 * gst/elements/gstelements.c: Register capsfilter element.
26673 * gst/Makefile.am: fix spacing
26674 * docs/random/ds/0.9-suggested-changes: random
26676 2005-04-23 David Schleef <ds@schleef.org>
26678 * gst/elements/Makefile.am:
26679 * gst/elements/gstcapsfilter.c: New element that acts like an
26680 identity, but filters caps. Will eventually replace filtered
26681 caps in pad linking.
26682 * gst/gstutils.c: (gst_element_create_all_pads): New function
26683 to create all the ALWAYS pads that are registered with an
26684 element class. This functionality should eventually be
26685 merged in with GstElement initialization.
26687 * testsuite/trigger/README: part of trigger test code that should
26688 have been checked in a long time ago.
26690 2005-04-23 David Schleef <ds@schleef.org>
26692 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
26693 needed with new versions of libtool (nobody will confirm this),
26694 and hard to carry around.
26695 * gst/autoplug/Makefile.am:
26696 * gst/base/Makefile.am:
26697 * gst/elements/Makefile.am:
26698 * gst/indexers/Makefile.am:
26699 * gst/schedulers/Makefile.am:
26700 * libs/gst/bytestream/Makefile.am:
26701 * libs/gst/control/Makefile.am:
26702 * libs/gst/dataprotocol/Makefile.am:
26703 * libs/gst/getbits/Makefile.am:
26705 2005-04-21 Wim Taymans <wim@fluendo.com>
26707 * docs/design/draft-push-pull.txt:
26708 * docs/design/part-MT-refcounting.txt:
26709 * docs/design/part-TODO.txt:
26710 * docs/design/part-caps.txt:
26711 * docs/design/part-events.txt:
26712 * docs/design/part-gstbus.txt:
26713 * docs/design/part-gstpipeline.txt:
26714 * docs/design/part-messages.txt:
26715 * docs/design/part-push-pull.txt:
26716 * docs/design/part-query.txt:
26719 2005-04-21 Wim Taymans <wim@fluendo.com>
26721 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26722 (gst_message_new), (gst_message_new_error),
26723 (gst_message_new_warning), (gst_message_new_tag),
26724 (gst_message_new_state_changed), (gst_message_new_application),
26725 (gst_message_get_structure):
26726 * gst/gstmessage.h:
26727 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26728 (gst_structure_copy_conditional):
26729 Use parent refcount in GstMessage to ensure GstStructure
26731 Cleaned up headers a bit.
26734 2005-04-20 Wim Taymans <wim@fluendo.com>
26736 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26737 (gst_basesink_pad_getcaps), (gst_basesink_init),
26738 (gst_basesink_chain_unlocked):
26739 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26740 (gst_type_find_helper):
26741 * gst/elements/gsttypefindelement.c:
26742 (gst_type_find_element_have_type), (gst_type_find_element_init),
26743 (stop_typefinding), (gst_type_find_element_handle_event),
26744 (find_suggest), (gst_type_find_element_chain),
26745 (gst_type_find_element_checkgetrange),
26746 (gst_type_find_element_getrange), (do_typefind),
26747 (gst_type_find_element_activate):
26748 * gst/gstbuffer.c: (_gst_buffer_sub_free),
26749 (gst_buffer_default_free), (gst_buffer_default_copy),
26750 (gst_buffer_set_caps):
26751 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26752 (gst_caps_replace):
26753 * gst/gstmessage.c: (gst_message_new),
26754 (gst_message_new_state_changed):
26755 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26756 (gst_pad_set_checkgetrange_function),
26757 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26758 (gst_pad_set_caps), (gst_pad_check_pull_range),
26759 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26761 * gst/gsttypefind.c: (gst_type_find_register):
26762 Make gst_caps_replace() work like other _replace() functions.
26763 Use _caps_replace() where possible.
26764 Make sure _message_new() initialises its field.
26765 Add gst_static_pad_template_get_caps()
26768 2005-04-18 Andy Wingo <wingo@pobox.com>
26770 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26771 on the peer, not the pad. I think that was a typo. Pass an extra
26772 arg to see if random access is possible. Activate the pads as
26773 PULL_RANGE if possible.
26775 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26777 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
26778 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26781 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26783 * docs/faq/using.xml:
26784 Add note on gstreamer-properties (#154996).
26786 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26788 * docs/random/bbb/optional-properties:
26789 Some analysis on optional properties.
26791 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26793 * docs/gst/tmpl/gstelementfactory.sgml:
26794 * gst/gstelement.h:
26795 * gst/gstelementfactory.c: (gst_element_factory_init),
26796 (gst_element_factory_cleanup), (gst_element_register),
26797 (__gst_element_factory_add_static_pad_template),
26798 (gst_element_factory_get_static_pad_templates),
26799 (gst_element_factory_can_src_caps),
26800 (gst_element_factory_can_sink_caps):
26801 * gst/registries/Makefile.am:
26802 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26803 (gst_xml_registry_class_init), (gst_xml_registry_init),
26804 (gst_xml_registry_new), (gst_xml_registry_set_property),
26805 (gst_xml_registry_get_property), (get_time), (make_dir),
26806 (gst_xml_registry_get_perms_func),
26807 (plugin_times_older_than_recurse), (plugin_times_older_than),
26808 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26809 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26810 (add_to_char_array), (read_string), (read_uint), (read_enum),
26811 (load_pad_template), (load_feature), (load_plugin), (load_paths),
26812 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26813 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26814 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26815 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26816 (gst_xml_registry_rebuild):
26817 * gst/registries/gstlibxmlregistry.h:
26818 * tools/gst-compprep.c: (main):
26819 * tools/gst-inspect.c: (print_pad_templates_info):
26820 * tools/gst-xmlinspect.c: (print_element_info):
26821 Use libxml2 for registry parsing, use staticpadtemplates in
26822 elementfactories. Makes gst_init() +/- 10x faster.
26824 2005-04-12 Wim Taymans <wim@fluendo.com>
26826 * gst/base/Makefile.am:
26827 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26828 (gst_basesink_pad_getcaps), (gst_basesink_init),
26829 (gst_basesink_event), (gst_basesink_change_state):
26830 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26831 (gst_basesrc_init), (gst_basesrc_query),
26832 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26833 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26834 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26835 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26836 (gst_basesrc_stop), (gst_basesrc_activate),
26837 (gst_basesrc_change_state):
26838 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26839 (helper_find_suggest), (gst_type_find_helper):
26840 * gst/base/gsttypefindhelper.h:
26841 * gst/elements/Makefile.am:
26842 * gst/elements/gstelements.c:
26843 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26844 (gst_fakesink_get_times), (gst_fakesink_event),
26845 (gst_fakesink_preroll), (gst_fakesink_render):
26846 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26847 (gst_fakesrc_init), (gst_fakesrc_event_handler),
26848 (gst_fakesrc_get_property), (gst_fakesrc_create),
26849 (gst_fakesrc_start), (gst_fakesrc_stop):
26850 * gst/elements/gstfakesrc.h:
26851 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26852 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26853 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26854 (gst_filesrc_create_read), (gst_filesrc_create),
26855 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26856 (gst_filesrc_start):
26857 * gst/elements/gsttypefindelement.c:
26858 (gst_type_find_element_have_type), (gst_type_find_element_init),
26859 (start_typefinding), (stop_typefinding), (push_buffer_store),
26860 (gst_type_find_element_handle_event),
26861 (gst_type_find_element_chain),
26862 (gst_type_find_element_checkgetrange),
26863 (gst_type_find_element_getrange), (do_typefind),
26864 (gst_type_find_element_activate),
26865 (gst_type_find_element_change_state):
26866 * gst/elements/gsttypefindelement.h:
26867 * gst/gstpipeline.c: (pipeline_bus_handler):
26868 Added typefind helper.
26869 Small preroll fix in the base sink.
26870 Disable typefind code in basesrc.
26871 Crude port of typefindelement.
26875 2005-04-11 Wim Taymans <wim@fluendo.com>
26877 * check/gst/gstbus.c: (gstbus_suite):
26878 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26879 * check/gstcheck.h:
26880 Fix up the timeout so that the test does not fail.
26882 2005-04-06 Wim Taymans <wim@fluendo.com>
26885 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26886 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26887 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26888 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26889 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26890 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26891 (gst_basesrc_stop), (gst_basesrc_activate),
26892 (gst_basesrc_change_state), (basesrc_find_peek),
26893 (basesrc_find_suggest), (gst_basesrc_type_find):
26894 * gst/base/gstbasesrc.h:
26895 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26896 (gst_filesrc_class_init), (gst_filesrc_init),
26897 (gst_filesrc_finalize), (gst_filesrc_set_location),
26898 (gst_filesrc_set_property), (gst_filesrc_get_property),
26899 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26900 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26901 (gst_filesrc_create_read), (gst_filesrc_create),
26902 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26903 * gst/elements/gstfilesrc.h:
26904 * gst/gstelement.c: (gst_element_get_state_func),
26905 (gst_element_lost_state), (gst_element_pads_activate):
26906 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26907 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26908 (gst_pad_pull_range):
26910 More work on the generic source base class, implement seeking,
26912 Make filesrc extend the base source class.
26913 Added gst_pad_set_checkgetrange_function to GstPad.
26915 2005-04-06 Andy Wingo <wingo@pobox.com>
26917 * pkgconfig/gstreamer-base.pc.in:
26918 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26920 * pkgconfig/Makefile.am:
26921 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26923 2005-04-04 Wim Taymans <wim@fluendo.com>
26925 * gst/base/Makefile.am:
26927 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26928 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26929 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26930 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26931 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26932 (gst_basesrc_base_init), (gst_basesrc_class_init),
26933 (gst_basesrc_init), (gst_basesrc_get_formats),
26934 (gst_basesrc_get_query_types), (gst_basesrc_query),
26935 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26936 (gst_basesrc_set_property), (gst_basesrc_get_property),
26937 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26938 (gst_basesrc_loop), (gst_basesrc_activate),
26939 (gst_basesrc_change_state):
26940 * gst/base/gstbasesrc.h:
26941 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26942 (gst_fakesrc_class_init), (gst_fakesrc_init),
26943 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26944 (gst_fakesrc_get_property), (gst_fakesrc_create):
26945 * gst/elements/gstfakesrc.h:
26946 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26947 (gst_filesrc_open_file), (gst_filesrc_loop),
26948 (gst_filesrc_activate), (filesrc_find_peek),
26949 (gst_filesrc_type_find):
26950 Made base source class, make fakesrc extend it.
26951 Add comments to basesink class.
26952 Some filesrc cleanup.
26954 2005-03-31 David Schleef <ds@schleef.org>
26956 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26957 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26958 expected to link against libgstreamer.
26959 * gst/base/Makefile.am: link against libgstreamer
26960 * gst/elements/Makefile.am: same
26962 2005-03-31 Andy Wingo <wingo@pobox.com>
26964 * tests/instantiate/Makefile.am:
26965 * tests/instantiate/caps.c: Add test to test speed of caps copy
26968 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26969 GMemChunk to be fair.
26971 * gst/gsttrashstack.h: Remove warning about using the fallback
26972 trash stack implementation, it's still faster than malloc.
26974 2005-03-30 Andy Wingo <wingo@pobox.com>
26976 * tests/complexity.c: Add a copyright.
26978 2005-03-31 Wim Taymans <wim@fluendo.com>
26980 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26981 (gst_base_transform_class_init), (gst_base_transform_init),
26982 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26983 (gst_base_transform_get_property),
26984 (gst_base_transform_sink_activate),
26985 (gst_base_transform_src_activate),
26986 (gst_base_transform_change_state):
26987 * gst/base/gstbasetransform.h:
26988 * gst/elements/gstidentity.c: (gst_identity_class_init),
26989 (gst_identity_event), (gst_identity_check_perfect),
26990 (gst_identity_transform), (gst_identity_start),
26991 (gst_identity_stop):
26992 Added start/stop methods to transform base class so subclasses
26993 don't need to deal with state changes even.
26995 2005-03-31 Wim Taymans <wim@fluendo.com>
26997 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26998 (gst_event_new_discontinuous), (gst_event_discont_get_value):
27000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27001 (gst_pad_pull_range):
27002 Added rate to the discont event to prepare for variable speed
27003 and reverse playback.
27005 2005-03-29 David Schleef <ds@schleef.org>
27008 * testsuite/trigger/Makefile.am:
27009 * testsuite/trigger/trigger.c: A little example program to show
27010 how trigger-based elements can work.
27012 2005-03-29 Wim Taymans <wim@fluendo.com>
27014 * gst/base/Makefile.am:
27016 * gst/base/gstbasesink.c: (gst_basesink_get_type),
27017 (gst_basesink_base_init), (gst_basesink_class_init),
27018 (gst_basesink_pad_getcaps), (gst_basesink_init),
27019 (gst_basesink_activate), (gst_basesink_change_state):
27020 * gst/base/gstbasesink.h:
27021 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27022 (gst_base_transform_base_init), (gst_base_transform_finalize),
27023 (gst_base_transform_class_init), (gst_base_transform_init),
27024 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27025 (gst_base_transform_event), (gst_base_transform_getrange),
27026 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27027 (gst_base_transform_set_property),
27028 (gst_base_transform_get_property),
27029 (gst_base_transform_sink_activate),
27030 (gst_base_transform_src_activate),
27031 (gst_base_transform_change_state):
27032 * gst/base/gstbasetransform.h:
27033 * gst/elements/gstidentity.c: (gst_identity_finalize),
27034 (gst_identity_class_init), (gst_identity_init),
27035 (gst_identity_event), (gst_identity_check_perfect),
27036 (gst_identity_transform), (gst_identity_set_property),
27037 (gst_identity_get_property), (gst_identity_change_state):
27038 * gst/elements/gstidentity.h:
27039 * gst/gstelement.c: (gst_element_get_state_func),
27040 (gst_element_lost_state), (gst_element_pads_activate):
27041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27042 (gst_pad_check_pull_range), (gst_pad_pull_range):
27044 Simplify pad activation.
27045 Added function to check if pull_range can be performed.
27046 Error out when pulling inactive or flushing pads.
27047 Removed const from refcounted types as it does not make sense.
27048 Simplify pad templates in basesink
27049 Added base class for simple 1-to-1 transforms.
27050 Make identity subclass the base transform.
27052 2005-03-29 Andy Wingo <wingo@pobox.com>
27054 * docs/libs/gstreamer-libs-overrides.txt:
27055 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27056 really don't understand what's going on, but like whatever. I want
27059 * docs/gst/Makefile.am:
27060 * docs/libs/Makefile.am: Dist the overrides files.
27062 * check/Makefile.am (clean-local): Remove .libs directories.
27064 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27065 elements to EXTRA_DIST, so po/ files are happy.
27067 * po/POTFILES.in: Er, remove it here.
27069 * po/POTFILES: Remove gstspider.c.
27071 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27073 * docs/libs/gstreamer-libs-docs.sgml:
27074 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27077 * tests/complexity.c (main): Set the length of the preroll queue
27078 on the sinks to prevent a lockup.
27080 * libs/gst/dataprotocol/Makefile.am:
27081 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27082 the same as the one in check/gst-libs/gdp.c.
27084 * po/, docs/gst/: Commit automatic changes to docs and po files.
27086 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27087 the versioned libgstbase.
27089 * check/Makefile.am: Depend on an unversioned gst-register, seems
27090 to make autoconf happier.
27092 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27094 2005-03-28 Wim Taymans <wim@fluendo.com>
27097 * docs/design/part-gstelement.txt:
27098 * docs/design/part-negotiation.txt:
27099 * docs/design/part-preroll.txt:
27100 * docs/design/part-scheduling.txt:
27101 * docs/design/part-states.txt:
27103 * gst/base/Makefile.am:
27105 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27106 (gst_basesink_base_init), (gst_basesink_class_init),
27107 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27108 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27109 (gst_basesink_set_pad_functions),
27110 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27111 (gst_basesink_set_property), (gst_basesink_get_property),
27112 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27113 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27114 (gst_basesink_preroll_queue_push),
27115 (gst_basesink_preroll_queue_empty),
27116 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27117 (gst_basesink_event), (gst_basesink_get_times),
27118 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27119 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27120 (gst_basesink_loop), (gst_basesink_activate),
27121 (gst_basesink_change_state):
27122 * gst/base/gstbasesink.h:
27123 * gst/elements/Makefile.am:
27124 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27125 (gst_fakesink_class_init), (gst_fakesink_init),
27126 (gst_fakesink_set_property), (gst_fakesink_get_property),
27127 (gst_fakesink_get_times), (gst_fakesink_event),
27128 (gst_fakesink_preroll), (gst_fakesink_render),
27129 (gst_fakesink_change_state):
27130 * gst/elements/gstfakesink.h:
27131 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27132 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27133 * gst/gstelement.c: (gst_element_add_pad),
27134 (gst_element_get_state_func), (gst_element_abort_state),
27135 (gst_element_commit_state), (gst_element_lost_state),
27136 (gst_element_set_state), (gst_element_pads_activate):
27137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27138 * gst/gstpipeline.c: (gst_pipeline_send_event),
27139 (gst_pipeline_change_state):
27140 Added state change code.
27141 Added/updated docs.
27142 Added sink base class, make fakesink extend the base class.
27143 Small cleanups in GstPipeline.
27145 2005-03-26 David Schleef <ds@schleef.org>
27147 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27148 is broken and should be implemented in a different library.
27149 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27150 * gst/gst.h: remove gstcpu.h
27151 * gst/gstcpu.c: remove
27152 * gst/gstcpu.h: remove
27153 * gst/Makefile.am.future: Remove this file. It's ancient.
27155 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27157 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27158 (gst_bin_send_event):
27159 Add default event/set_manager handlers. The set_manager handler
27160 takes care that the manager is distributed over kids that were
27161 already in the bin before the manager was set. The event handler
27162 is a utility virtual function that sends the event over all sinks,
27163 so that gst_element_send_event (bin, event); has the expected
27165 * gst/gstpad.c: (gst_pad_event_default):
27166 Re-install default event handling for discontinuities, so that
27167 seeking works without requiring hacks in applications or extra
27169 * gst/gstpipeline.c: (gst_pipeline_class_init),
27170 (gst_pipeline_send_event):
27171 Half hack, half utility: set a pipeline to PAUSED for seek events,
27172 since that is the only way we can guarantee a/v sync. Means that
27173 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27174 and it "just works".
27176 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27178 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27179 Lock/unlock mismatch.
27181 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27183 * docs/faq/gst-uninstalled:
27184 add gst-plugins-base
27185 * docs/gst/Makefile.am:
27186 don't error out until docs are fixed
27187 * docs/gst/gstreamer.types:
27190 2005-03-22 Wim Taymans <wim@fluendo.com>
27192 * check/Makefile.am:
27193 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27194 * gst/gststructure.c: (gst_structure_set_valist),
27195 (gst_structure_copy_conditional):
27196 Activated more tests.
27197 Added message test.
27198 Added G_TYPE_POINTER to GstStructure.
27201 2005-03-22 Wim Taymans <wim@fluendo.com>
27203 * docs/design/part-TODO.txt:
27204 * docs/design/part-events.txt:
27205 * docs/design/part-gstbin.txt:
27206 * docs/design/part-gstbus.txt:
27207 * docs/design/part-gstpipeline.txt:
27208 * docs/design/part-messages.txt:
27210 * gst/gstmessage.c:
27213 2005-03-21 Wim Taymans <wim@fluendo.com>
27215 * gst/gstbus.c: (gst_bus_post):
27216 Fix copy-and-paste error.
27218 2005-03-21 Wim Taymans <wim@fluendo.com>
27220 * check/Makefile.am:
27222 * gst/elements/Makefile.am:
27223 * gst/elements/gstelements.c:
27224 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27225 (gst_fakesink_event), (gst_fakesink_chain):
27226 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27227 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27228 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27229 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27230 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27231 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27232 (gst_fakesrc_loop), (gst_fakesrc_activate),
27233 (gst_fakesrc_change_state):
27234 * gst/elements/gstfakesrc.h:
27235 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27236 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27237 (gst_filesrc_open_file), (gst_filesrc_loop),
27238 (gst_filesrc_activate), (gst_filesrc_change_state),
27239 (filesrc_find_peek), (filesrc_find_suggest),
27240 (gst_filesrc_type_find):
27241 * gst/elements/gstidentity.c: (gst_identity_finalize),
27242 (gst_identity_class_init), (gst_identity_init),
27243 (gst_identity_proxy_getcaps), (identity_queue_push),
27244 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27245 (gst_identity_getrange), (gst_identity_chain),
27246 (gst_identity_sink_loop), (gst_identity_src_loop),
27247 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27248 (gst_identity_set_property), (gst_identity_get_property),
27249 (gst_identity_change_state):
27250 * gst/elements/gstidentity.h:
27251 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27252 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27253 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27254 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27255 (gst_tee_sink_activate):
27256 * gst/elements/gsttee.h:
27257 * gst/gst.c: (gst_register_core_elements), (init_post):
27259 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27260 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27261 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27262 (gst_bin_change_state):
27264 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27265 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27266 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27267 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27268 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27269 (bus_watch_callback), (bus_watch_destroy),
27270 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27271 (poll_timeout), (gst_bus_poll):
27275 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27276 (gst_element_post_message), (gst_element_message_full),
27277 (gst_element_get_state_func), (gst_element_get_state),
27278 (gst_element_abort_state), (gst_element_commit_state),
27279 (gst_element_lost_state), (gst_element_set_state),
27280 (gst_element_pads_activate), (gst_element_change_state),
27281 (gst_element_dispose), (gst_element_set_manager_func),
27282 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27283 (gst_element_set_manager), (gst_element_get_manager),
27284 (gst_element_set_bus), (gst_element_get_bus),
27285 (gst_element_set_scheduler), (gst_element_get_scheduler):
27286 * gst/gstelement.h:
27287 * gst/gstevent.c: (gst_event_new_segment_seek),
27288 (gst_event_new_flush):
27290 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27291 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27292 (gst_message_new_eos), (gst_message_new_error),
27293 (gst_message_new_warning), (gst_message_new_tag),
27294 (gst_message_new_state_changed), (gst_message_new_application),
27295 (gst_message_get_structure), (gst_message_parse_tag),
27296 (gst_message_parse_state_changed), (gst_message_parse_error),
27297 (gst_message_parse_warning):
27298 * gst/gstmessage.h:
27299 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27300 (gst_real_pad_set_property), (gst_pad_set_active),
27301 (gst_pad_is_active), (gst_pad_set_blocked_async),
27302 (gst_pad_set_blocked), (gst_pad_is_blocked),
27303 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27304 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27305 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27306 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27307 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27308 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27309 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27310 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27311 (gst_pad_set_caps), (gst_pad_configure_sink),
27312 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27313 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27314 (gst_real_pad_dispose), (gst_real_pad_finalize),
27315 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27316 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27317 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27319 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27320 (pipeline_bus_handler), (gst_pipeline_change_state),
27321 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27322 * gst/gstpipeline.h:
27324 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27325 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27326 (gst_queue_link_src), (gst_queue_bufferalloc),
27327 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27328 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27329 (gst_queue_loop), (gst_queue_handle_src_event),
27330 (gst_queue_handle_src_query), (gst_queue_src_activate),
27331 (gst_queue_change_state):
27333 * gst/gstscheduler.c: (gst_scheduler_init),
27334 (gst_scheduler_dispose), (gst_scheduler_create_task),
27335 (gst_scheduler_factory_create):
27336 * gst/gstscheduler.h:
27337 * gst/gststructure.c: (gst_structure_get_type),
27338 (gst_structure_copy_conditional):
27339 * gst/gststructure.h:
27340 * gst/gsttaginterface.h:
27341 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27342 (gst_task_init), (gst_task_dispose), (gst_task_create),
27343 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27349 * gst/schedulers/Makefile.am:
27350 * gst/schedulers/cothreads_compat.h:
27351 * gst/schedulers/entryscheduler.c:
27352 * gst/schedulers/faircothreads.c:
27353 * gst/schedulers/faircothreads.h:
27354 * gst/schedulers/fairscheduler.c:
27355 * gst/schedulers/gstbasicscheduler.c:
27356 * gst/schedulers/gstoptimalscheduler.c:
27357 * gst/schedulers/gthread-cothreads.h:
27358 * gst/schedulers/threadscheduler.c:
27359 (gst_thread_scheduler_task_get_type),
27360 (gst_thread_scheduler_task_class_init),
27361 (gst_thread_scheduler_task_init),
27362 (gst_thread_scheduler_task_start),
27363 (gst_thread_scheduler_task_stop),
27364 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27365 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27366 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27367 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27369 * libs/gst/Makefile.am:
27370 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27371 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27372 (gst_file_pad_parent_set):
27373 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27374 (gst_dp_event_from_packet):
27375 * tests/complexity.c: (main):
27376 * tests/mass_elements.c: (main):
27377 * testsuite/states/locked.c: (message_received), (main):
27378 * testsuite/states/parent.c: (main):
27379 * tools/gst-inspect.c: (print_element_flag_info),
27380 (print_implementation_info), (print_pad_info):
27381 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27383 * tools/gst-md5sum.c: (event_loop), (main):
27384 * tools/gst-typefind.c: (main):
27385 * tools/gst-xmlinspect.c: (print_element_info):
27387 Added GstBus for mainloop integration.
27388 Added GstMessage for sending notifications on the bus.
27389 Added GstTask as an abstraction for pipeline entry points.
27391 Removed Schedulers.
27392 Simplified GstQueue for multithreaded core.
27393 Made _link threadsafe, removed old capsnego.
27394 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27395 Added pad blocking functions.
27396 Reworked scheduling functions in GstPad to prepare for
27397 scheduling updates soon.
27398 Moved events out of data stream.
27399 Simplified GstEvent types.
27400 Added return values to push/pull.
27401 Removed clocking from GstElement.
27402 Added prototypes for state change function for next merge.
27403 Removed iterate from bins and state change management.
27404 Fixed some elements, disabled others for now.
27405 Fixed -inspect and -launch.
27406 Added check for GstBus.
27408 2005-03-10 Wim Taymans <wim@fluendo.com>
27410 * docs/design/part-MT-refcounting.txt:
27411 * docs/design/part-clocks.txt:
27412 * docs/design/part-gstelement.txt:
27413 * docs/design/part-gstobject.txt:
27414 * docs/design/part-standards.txt:
27415 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27416 (gst_bin_remove_func), (gst_bin_remove):
27420 * testsuite/clock/clock1.c: (main):
27421 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27423 * testsuite/dlopen/loadgst.c: (do_test):
27424 * testsuite/refcounting/bin.c: (add_remove_test1),
27425 (add_remove_test2), (main):
27426 * testsuite/refcounting/element.c: (main):
27427 * testsuite/refcounting/element_pad.c: (main):
27428 * testsuite/refcounting/pad.c: (main):
27429 * tools/gst-launch.c: (sigint_handler_sighandler):
27430 * tools/gst-typefind.c: (main):
27432 Added doc about clock.
27433 removed gst_bin_iterate_recurse_up(), marked methods
27435 Fix more testsuites.
27437 2005-03-09 Wim Taymans <wim@fluendo.com>
27439 * gst/gstpad.c: (gst_pad_get_direction),
27440 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27441 (gst_pad_collect_valist):
27442 * testsuite/bins/interface.c: (main):
27443 * testsuite/caps/audioscale.c: (test_caps):
27444 * testsuite/caps/caps.c: (test1), (test2), (test3):
27445 * testsuite/caps/deserialize.c: (main):
27446 * testsuite/caps/enumcaps.c: (main):
27447 * testsuite/caps/filtercaps.c: (main):
27448 * testsuite/caps/intersect2.c: (main):
27449 * testsuite/caps/random.c: (main):
27450 * testsuite/caps/renegotiate.c: (my_fixate), (main):
27451 * testsuite/caps/sets.c: (check_caps):
27452 * testsuite/caps/simplify.c: (check_caps), (main):
27453 * testsuite/caps/subtract.c: (check_caps):
27454 Fix _pad_get_direction wrt ghostpads.
27455 Fix caps testsuite.
27457 2005-03-09 Wim Taymans <wim@fluendo.com>
27459 * check/Makefile.am:
27460 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27461 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27462 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27463 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27464 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27465 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27466 (gst_bin_remove), (gst_bin_iterate_recurse_up),
27467 (bin_element_is_sink), (gst_bin_iterate_sinks),
27468 (gst_bin_iterate_all_by_interface):
27470 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27471 (gst_element_change_state), (gst_element_dispose),
27472 (gst_element_finalize), (gst_element_set_loop_function):
27473 * gst/gstelement.h:
27474 * gst/gstiterator.c: (find_custom_fold_func):
27475 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27476 (gst_pad_collectv), (gst_pad_collect_valist),
27477 (gst_pad_template_new):
27478 * gst/gstpipeline.c: (gst_pipeline_class_init),
27479 (gst_pipeline_dispose), (gst_pipeline_set_property),
27480 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27481 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27482 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27484 * gst/schedulers/entryscheduler.c:
27485 * gst/schedulers/gstbasicscheduler.c:
27486 (gst_basic_scheduler_cothreaded_chain),
27487 (gst_basic_scheduler_chain_add_element):
27488 * testsuite/bins/interface.c: (main):
27490 Added GstSystemClock test.
27491 Implemented clock distribution code in GstBin.
27492 Implemented iterate sinks method for future use.
27493 Rearranged gstelement.h
27494 Fix GstIterator comparison bug.
27495 Moved some code to GstPipeline, mostly clocking related.
27497 2005-03-09 Wim Taymans <wim@fluendo.com>
27500 * gst/gst_private.h:
27501 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27502 (gst_bin_remove_func), (gst_bin_remove),
27503 (gst_bin_get_by_name_recurse_up):
27504 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27505 (gst_clock_id_compare_func), (gst_clock_id_wait),
27506 (gst_clock_id_wait_async), (gst_clock_init),
27507 (gst_clock_adjust_unlocked), (gst_clock_get_time):
27508 * gst/gstelement.h:
27509 * gst/gstinfo.c: (_gst_debug_init):
27511 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27512 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27514 Bump version number, we're now 0.9.0
27515 Add future debugging category.
27516 Fix NULL _unref() in _get_by_name_recurse_up
27517 Rearrange gstpad.h.
27520 2005-03-08 Wim Taymans <wim@fluendo.com>
27522 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27523 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27524 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27525 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27526 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27527 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27528 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27529 * gst/elements/gstidentity.c: (gst_identity_class_init):
27530 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27531 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27532 * gst/elements/gstshaper.c: (gst_shaper_class_init):
27533 * gst/elements/gststatistics.c: (gst_statistics_class_init):
27534 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27536 * gst/gstelement.c: (gst_element_class_init),
27537 (gst_element_base_class_init), (gst_element_init),
27538 (gst_element_get_random_pad), (gst_element_wait_state_change),
27539 (gst_element_change_state), (gst_element_dispose),
27540 (gst_element_finalize), (gst_element_set_loop_function):
27541 * gst/gstelement.h:
27542 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27543 * gst/gstthread.c: (gst_thread_class_init),
27544 (gst_thread_release_children_locks), (gst_thread_change_state):
27545 * gst/schedulers/gstbasicscheduler.c:
27546 (gst_basic_scheduler_loopfunc_wrapper),
27547 (gst_basic_scheduler_chain_wrapper),
27548 (gst_basic_scheduler_src_wrapper),
27549 (gst_basic_scheduler_remove_element):
27550 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27551 Remove threadsafe properties. Fix elements because GObject
27552 complains when installing a property before declaring a
27553 set/get_property handler.
27554 Rearrange gstelement.h file, use STATE macros for state locks.
27555 Free mutexes in the finalize method instead of dispose.
27557 2005-03-08 Wim Taymans <wim@fluendo.com>
27559 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27560 * gst/gstthread.c: (gst_thread_release_children_locks):
27561 Added parentage check.
27562 Fix build og GstThread again.
27564 2005-03-08 Wim Taymans <wim@fluendo.com>
27566 * docs/design/part-MT-refcounting.txt:
27567 * docs/design/part-conventions.txt:
27568 * docs/design/part-gstobject.txt:
27569 * docs/design/part-relations.txt:
27570 * docs/design/part-standards.txt:
27571 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27572 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27573 (gst_bin_get_by_name), (gst_bin_get_by_interface),
27574 (gst_bin_iterate_all_by_interface):
27577 * gst/gstelement.c: (gst_element_class_init),
27578 (gst_element_change_state), (gst_element_set_loop_function):
27579 * gst/gstelement.h:
27580 * gst/gstiterator.c:
27581 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27582 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27583 (gst_object_dispatch_properties_changed), (gst_object_set_name),
27584 (gst_object_set_parent), (gst_object_unparent),
27585 (gst_object_check_uniqueness):
27587 Docs updates, clean up some headers.
27589 2005-03-07 Wim Taymans <wim@fluendo.com>
27591 * check/.cvsignore:
27592 * check/Makefile.am:
27593 * check/gst-libs/.cvsignore:
27594 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27595 * check/gst/.cvsignore:
27596 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27597 (START_TEST), (gstbus_suite), (main):
27598 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27599 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27600 (gst_data_suite), (main):
27601 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27602 (add_fold_func), (gstiterator_suite), (main):
27603 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27604 (thread_name_object), (thread_name_object_default),
27605 (gst_object_name_compare), (gst_object_suite), (main):
27606 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27607 (gst_pad_suite), (main):
27608 * check/gstcheck.c: (gst_check_log_message_func),
27609 (gst_check_log_critical_func), (gst_check_init):
27610 * check/gstcheck.h:
27611 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27612 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27615 2005-03-07 Wim Taymans <wim@fluendo.com>
27617 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27618 (gst_list_iterator_next), (gst_list_iterator_resync),
27619 (gst_list_iterator_free), (gst_iterator_new_list),
27620 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27621 (gst_iterator_free), (gst_iterator_push), (filter_next),
27622 (filter_resync), (filter_uninit), (filter_free),
27623 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27624 (gst_iterator_foreach), (find_custom_fold_func),
27625 (gst_iterator_find_custom):
27626 * gst/gstiterator.h:
27627 Added missing files.
27629 2005-03-07 Wim Taymans <wim@fluendo.com>
27633 * docs/design/part-MT-refcounting.txt:
27634 * docs/design/part-conventions.txt:
27635 * docs/design/part-gstobject.txt:
27636 * docs/design/part-relations.txt:
27637 * examples/mixer/mixer.c: (main):
27638 * examples/thread/thread.c: (eos), (main):
27640 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27641 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27642 (gst_spider_plug_from_srcpad):
27643 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27644 (gst_spider_identity_change_state),
27645 (gst_spider_identity_sink_loop_type_finding):
27646 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27647 * gst/elements/gstidentity.c: (gst_identity_init):
27648 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27649 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27650 * gst/elements/gsttypefindelement.c: (free_entry):
27653 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27654 (gst_bin_set_clock_func), (gst_bin_auto_clock),
27655 (gst_bin_set_index), (gst_bin_set_element_sched),
27656 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27657 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27658 (gst_bin_iterate_elements), (iterate_child_recurse),
27659 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27660 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27661 (compare_interface), (gst_bin_get_by_interface),
27662 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27664 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27665 (gst_buffer_default_free), (gst_buffer_default_copy),
27666 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27667 (gst_buffer_create_sub):
27669 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27670 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27671 (gst_caps_unref), (gst_static_caps_get),
27672 (gst_caps_remove_and_get_structure), (gst_caps_append),
27673 (gst_caps_append_structure), (gst_caps_remove_structure),
27674 (gst_caps_copy_nth), (gst_caps_set_simple),
27675 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27676 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27677 (gst_caps_structure_intersect_field), (gst_caps_intersect),
27678 (gst_caps_structure_subtract_field), (gst_caps_subtract),
27679 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27680 (gst_caps_structure_figure_out_union),
27681 (gst_caps_switch_structures), (gst_caps_do_simplify),
27682 (gst_caps_replace), (gst_caps_from_string),
27683 (gst_caps_copy_conditional):
27685 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27686 (_gst_clock_id_free), (gst_clock_id_unref),
27687 (gst_clock_id_compare_func), (gst_clock_id_wait),
27688 (gst_clock_id_wait_async), (gst_clock_class_init),
27689 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27690 (gst_clock_get_time), (gst_clock_set_time_adjust),
27691 (gst_clock_set_property), (gst_clock_get_property):
27694 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27695 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27697 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27698 (gst_element_requires_clock), (gst_element_provides_clock),
27699 (gst_element_set_clock), (gst_element_clock_wait),
27700 (gst_element_wait), (gst_element_set_time_delay),
27701 (gst_element_is_indexable), (gst_element_add_pad),
27702 (gst_element_add_ghost_pad), (gst_element_remove_pad),
27703 (pad_compare_name), (gst_element_get_static_pad),
27704 (gst_element_request_pad), (gst_element_get_request_pad),
27705 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27706 (gst_element_class_get_pad_template_list),
27707 (gst_element_class_get_pad_template), (gst_element_error_func),
27708 (gst_element_get_random_pad), (gst_element_get_event_masks),
27709 (gst_element_send_event), (gst_element_seek),
27710 (gst_element_get_query_types), (gst_element_query),
27711 (gst_element_get_formats), (gst_element_convert),
27712 (gst_element_is_locked_state), (gst_element_set_locked_state),
27713 (gst_element_sync_state_with_parent), (gst_element_change_state),
27714 (gst_element_finalize), (gst_element_yield),
27715 (gst_element_interrupt), (gst_element_set_scheduler),
27716 (gst_element_get_scheduler), (gst_element_set_loop_function):
27717 * gst/gstelement.h:
27719 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27720 (gst_format_get_by_nick), (gst_format_get_details),
27721 (gst_format_iterate_definitions):
27723 * gst/gstindex.c: (gst_index_gtype_resolver):
27726 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27727 (gst_mem_chunk_free):
27728 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27729 (gst_object_ref), (gst_object_unref), (gst_object_sink),
27730 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27731 (gst_object_dispatch_properties_changed),
27732 (gst_object_set_name_default), (gst_object_set_name),
27733 (gst_object_get_name), (gst_object_set_name_prefix),
27734 (gst_object_get_name_prefix), (gst_object_set_parent),
27735 (gst_object_get_parent), (gst_object_unparent),
27736 (gst_object_check_uniqueness), (gst_object_save_thyself),
27737 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27738 (gst_object_set_property), (gst_object_get_property),
27739 (gst_object_get_path_string):
27741 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27742 (gst_real_pad_init), (gst_real_pad_get_property),
27743 (gst_pad_custom_new), (gst_pad_get_direction),
27744 (gst_pad_set_active), (gst_pad_is_active),
27745 (gst_pad_set_event_function), (gst_pad_is_linked),
27746 (gst_pad_link_free), (gst_pad_link_intersect),
27747 (gst_pad_link_fixate), (gst_pad_set_caps),
27748 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27749 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27750 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27751 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27752 (gst_pad_get_caps), (gst_pad_peer_get_caps),
27753 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27754 (gst_pad_realize), (gst_pad_get_allowed_caps),
27755 (gst_real_pad_dispose), (gst_real_pad_finalize),
27756 (gst_pad_collectv), (gst_pad_collect_valist),
27757 (gst_pad_template_dispose), (gst_pad_template_new),
27758 (gst_pad_get_internal_links):
27760 * gst/gstpipeline.c: (gst_pipeline_dispose),
27761 (gst_pipeline_change_state):
27762 * gst/gstpipeline.h:
27764 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27765 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27766 * gst/gstpluginfeature.h:
27767 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27768 * gst/gstquery.c: (_gst_query_type_initialize),
27769 (gst_query_type_register), (gst_query_type_get_by_nick),
27770 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27772 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27773 * gst/gstscheduler.c: (gst_scheduler_add_element),
27774 (gst_scheduler_factory_create):
27775 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27776 (gst_structure_free), (gst_structure_set_name),
27777 (gst_structure_id_set_value), (gst_structure_set_value),
27778 (gst_structure_set_valist), (gst_structure_remove_field),
27779 (gst_structure_remove_fields),
27780 (gst_structure_remove_fields_valist),
27781 (gst_structure_remove_all_fields), (gst_structure_foreach),
27782 (gst_structure_map_in_place),
27783 (gst_caps_structure_fixate_field_nearest_int),
27784 (gst_caps_structure_fixate_field_nearest_double):
27785 * gst/gststructure.h:
27786 * gst/gstsystemclock.c: (gst_system_clock_class_init),
27787 (gst_system_clock_init), (gst_system_clock_dispose),
27788 (gst_system_clock_async_thread),
27789 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27790 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27791 * gst/gstsystemclock.h:
27792 * gst/gsttag.c: (gst_tag_list_add_value_internal),
27793 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27794 * gst/gsttaginterface.c:
27795 * gst/gstthread.c: (gst_thread_dispose),
27796 (gst_thread_release_children_locks), (gst_thread_change_state),
27797 (gst_thread_main_loop):
27798 * gst/gsttrashstack.h:
27799 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27801 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27802 (gst_element_request_pad), (gst_element_get_pad_from_template),
27803 (gst_element_request_compatible_pad),
27804 (gst_element_get_compatible_pad_filtered),
27805 (gst_element_get_compatible_pad), (gst_element_state_get_name),
27806 (gst_element_link_pads_filtered), (gst_element_link_filtered),
27807 (gst_element_link_many), (gst_element_link),
27808 (gst_element_link_pads), (gst_element_unlink_pads),
27809 (gst_element_unlink_many), (gst_element_unlink),
27810 (gst_pad_can_link_filtered), (gst_pad_can_link),
27811 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27812 (gst_object_default_error), (gst_bin_add_many),
27813 (gst_bin_remove_many), (gst_element_populate_std_props),
27814 (gst_element_class_install_std_props), (gst_buffer_merge),
27815 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27816 (link_fold_func), (gst_pad_proxy_setcaps):
27818 * gst/gstvalue.c: (gst_value_deserialize_string):
27819 * gst/parse/grammar.y:
27820 * gst/schedulers/gstbasicscheduler.c:
27821 (gst_basic_scheduler_cothreaded_chain),
27822 (gst_basic_scheduler_chain_recursive_add),
27823 (gst_basic_scheduler_pad_link):
27824 * gst/schedulers/gstoptimalscheduler.c:
27825 (get_group_schedule_function),
27826 (gst_opt_scheduler_state_transition),
27827 (gst_opt_scheduler_add_element), (element_get_reachables_func):
27828 * libs/gst/bytestream/bytestream.c:
27829 * libs/gst/dataprotocol/dataprotocol.c:
27830 (gst_dp_header_from_buffer):
27833 * tests/threadstate/threadstate2.c: (eos):
27834 * tools/gst-compprep.c: (main):
27835 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27836 (print_pad_info), (print_children_info):
27837 * tools/gst-launch.c: (idle_func), (main):
27838 * tools/gst-md5sum.c: (idle_func), (main):
27839 * tools/gst-xmlinspect.c: (print_element_info):
27840 First THREADED backport attempt, focusing on adding locks and
27841 making sure the API is threadsafe. Needs more work. More docs
27844 2005-02-24 Andy Wingo <wingo@pobox.com>
27846 * tests/bench-complexity.scm:
27847 * tests/complexity.gnuplot: New files, good for running complexity
27850 * tests/Makefile.am:
27851 * tests/complexity.c: New test, sets up N elements, at each level
27852 teeing into M streams per element. Eeeenteresting.
27854 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27855 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27856 running bench-mass_elements.scm.
27858 * tests/bench-mass_elements.scm: New script, runs mass_elements
27859 for various numbers of identities, outputting the results to a
27860 file. Requires guile 1.6. Just for testing.
27862 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
27864 * gst/schedulers/fairscheduler.c:
27865 compile with debug disabled
27867 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
27870 hunting season on 0.9 is now OPEN