1 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4 * win32/common/config.h:
7 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
9 Patch by: Ole André Vadla Ravnås
10 <ole dot andre dot ravnas at tandberg dot com>
12 * docs/gst/gstreamer-sections.txt:
13 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
14 (gst_poll_update_winsock_event_mask),
15 (gst_poll_prepare_winsock_active_sets),
16 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
17 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
18 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
19 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
20 (gst_poll_check_ctrl_commands), (gst_poll_wait):
22 * win32/common/libgstreamer.def:
23 Add new function gst_poll_fd_ignored() for improved Windows
25 Various minor fixes and cleanups. See #520808.
27 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
29 * gst/gstindex.c: (gst_index_entry_free):
31 Don't free key strings which we don't own. Fixes crash in
32 gst_index_entry_free() (#522741).
34 * tests/check/Makefile.am:
35 * tests/check/gst/.cvsignore:
36 * tests/check/gst/gstindex.c: (test_index_entries),
37 (gst_index_suite), (gst_index):
38 Add unit test for the above.
40 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
42 * win32/common/libgstreamer.def:
43 Remove symbols that were removed recently. Fixes bug #521740.
45 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
48 * win32/common/config.h:
51 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
53 Patch by: Ole André Vadla Ravnås
54 <ole dot andre dot ravnas at tandberg dot com>
56 * docs/gst/gstreamer-sections.txt:
57 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
58 (gst_poll_update_winsock_event_mask), (gst_poll_new),
59 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
60 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
61 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
62 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
63 (gst_poll_fd_can_write), (gst_poll_wait),
64 (gst_poll_set_controllable), (gst_poll_restart),
65 (gst_poll_set_flushing):
67 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
68 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
69 (gst_net_time_provider_new):
70 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
71 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
72 * tests/benchmarks/gstpollstress.c: (main):
73 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
74 Remove GstPollMode from the API, it does not make sense to let the
75 application control this.
76 Add support for Win32.
77 Fix the testsuite. Fixes #520671.
79 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
81 Patch by: Ole André Vadla Ravnås
82 <ole dot andre dot ravnas at tandberg dot com>
84 * gst/gstregistrybinary.c:
85 Include io.h for write() and close() when building with MSVC. Fixes
88 2008-03-07 Stefan Kost <ensonic@users.sf.net>
94 * gst/gstregistrybinary.c:
95 * win32/common/gstconfig.h:
96 Move registry backend API to private headers where we can. Add
97 fixme-0.11 comments for the others. Add stubs for the xml backend when
98 using the binary to ensure they functions exists (they should not be
99 used though). Fixes #520756.
101 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
104 * win32/common/config.h:
107 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
109 * gst/gstregistrybinary.c: (gst_registry_binary_write),
110 (gst_registry_binary_read_cache):
111 * gst/gstregistryxml.c: (gst_registry_save):
112 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
113 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
114 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
115 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
116 Switch to using portabl gsize/gssize instead of size_t/ssize_t
119 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
121 * gst/gstminiobject.c:
122 Import gst_private.h before any other header that might include other
123 glib headers. This fixes the build on windows using native compilers.
125 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
127 * win32/common/gstconfig.h:
128 Add here too, just for completeness.
130 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
133 * gst/gstconfig.h.in:
135 Fix broken use of config.h-defined preprocessor directive in a public
136 header file. Add a corresponding define to gstconfig.h, since we can't
137 really remove those function declarations from the header file now
138 (or can we? and why are they there in the first place?).
140 2008-03-03 Andy Wingo <wingo@pobox.com>
142 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
145 * gst/gststructure.c (gst_structure_from_string): Warn if
146 structure_from_string didn't consume the whole string, but the
147 caller did not provide an end pointer.
149 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
151 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
153 * gst/gstregistryxml.c: (read_string), (load_feature):
154 Strings allocated by libxml2 should be freed with xmlFree(), not
155 with g_free(). Fixes issues on windows in certain contexts (#519698).
157 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
159 * gst/gstinterface.c: (gst_element_implements_interface):
160 Don't crash if the element supports the interface queried, but does
161 not implement GstImplementsInterface. Fixes #519584.
163 * tests/check/Makefile.am:
164 * tests/check/gst/.cvsignore:
165 * tests/check/gst/gstinterface.c:
166 Add unit test for the above.
168 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
170 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
173 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
175 * gst/gstsegment.c: (gst_segment_set_seek),
176 (gst_segment_to_stream_time):
177 Improve some comment.
178 Update variables where it makes more sense.
180 2008-02-29 Rene Stadler <mail@renestadler.de>
182 * gst/gsturi.c: (gst_uri_handler_get_protocols):
183 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
184 URIHandlers implemented using language bindings.
186 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
188 * gst/gstelementfactory.h:
189 * tests/check/elements/fakesink.c:
190 * tests/check/elements/fakesrc.c: (setup_fakesrc):
191 * tests/check/elements/fdsrc.c: (setup_fdsrc):
192 * tests/check/elements/filesink.c: (setup_filesink):
193 * tests/check/elements/filesrc.c: (setup_filesrc):
194 * tests/check/elements/identity.c: (setup_identity):
195 * tests/check/elements/tee.c:
196 * tests/check/generic/sinks.c:
197 * tests/check/generic/states.c: (setup), (teardown):
198 * tests/check/gst/gst.c:
199 * tests/check/gst/gstabi.c:
200 * tests/check/gst/gstbin.c:
201 * tests/check/gst/gstbus.c: (pull_messages):
202 * tests/check/gst/gstcaps.c:
203 * tests/check/gst/gstelement.c:
204 * tests/check/gst/gstevent.c:
205 * tests/check/gst/gstghostpad.c:
206 * tests/check/gst/gstiterator.c:
207 * tests/check/gst/gstmessage.c:
208 * tests/check/gst/gstminiobject.c: (my_foo_init):
209 * tests/check/gst/gstobject.c: (thread_name_object),
211 * tests/check/gst/gstpad.c:
212 * tests/check/gst/gstplugin.c:
213 * tests/check/gst/gstpoll.c:
214 * tests/check/gst/gstquery.c:
215 * tests/check/gst/gstsegment.c:
216 * tests/check/gst/gststructure.c:
217 * tests/check/gst/gstsystemclock.c:
218 * tests/check/gst/gsttask.c:
219 * tests/check/gst/gstutils.c:
220 * tests/check/gst/gstvalue.c:
221 * tests/check/gst/struct_hppa.h:
222 * tests/check/gst/struct_i386.h:
223 * tests/check/gst/struct_ppc32.h:
224 * tests/check/gst/struct_ppc64.h:
225 * tests/check/gst/struct_x86_64.h:
226 * tests/check/libs/adapter.c: (create_and_fill_adapter):
227 * tests/check/libs/basesrc.c:
228 * tests/check/libs/controller.c: (GST_START_TEST):
229 * tests/check/libs/gdp.c:
230 * tests/check/libs/gstnetclientclock.c:
231 * tests/check/libs/gstnettimeprovider.c:
232 * tests/check/libs/libsabi.c:
233 * tests/check/libs/struct_hppa.h:
234 * tests/check/libs/struct_i386.h:
235 * tests/check/libs/struct_ppc32.h:
236 * tests/check/libs/struct_ppc64.h:
237 * tests/check/libs/struct_x86_64.h:
238 * tests/check/pipelines/cleanup.c:
239 * tests/check/pipelines/simple-launch-lines.c:
240 * tests/check/pipelines/stress.c:
241 And correct even more valid sparse warnings.
243 * win32/common/libgstreamer.def:
244 Add gst_poll_fd_init to the list of symbols.
246 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
248 * gst/gstconfig.h.in:
249 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
250 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
251 (gst_check_log_critical_func), (gst_check_drop_buffers),
252 (gst_check_element_push_buffer_list):
253 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
254 (gst_controller_get_type):
255 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
256 (gst_object_get_controller), (gst_object_get_control_source):
257 * libs/gst/controller/gstinterpolationcontrolsource.c:
258 (gst_interpolation_control_source_new):
259 * libs/gst/controller/gstlfocontrolsource.c:
260 (gst_lfo_control_source_new):
261 * libs/gst/dataprotocol/dataprotocol.c:
262 (gst_dp_event_from_packet_0_2):
263 * plugins/elements/gstfdsrc.c:
264 * plugins/elements/gstmultiqueue.c:
265 * plugins/elements/gsttee.c:
266 * plugins/elements/gsttypefindelement.c:
267 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
268 (gst_file_index_add_association):
269 * plugins/indexers/gstmemindex.c:
270 * tests/benchmarks/gstpollstress.c: (mess_some_more):
271 * tests/check/elements/queue.c: (setup_queue):
272 * tests/check/gst/gstpipeline.c:
273 * tests/check/libs/collectpads.c: (setup), (teardown),
274 (gst_collect_pads_suite):
275 * tests/examples/adapter/adapter_test.c:
276 * tests/examples/metadata/read-metadata.c: (make_pipeline):
277 * tests/examples/xml/createxml.c:
278 * tests/examples/xml/runxml.c:
279 * tools/gst-inspect.c:
281 Correct all relevant warnings found by the sparse semantic code
282 analyzer. This include marking several symbols static, using
283 NULL instead of 0 for pointers, not using variable sized arrays
284 on the stack, moving variable declarations to the beginning of
285 a block and using "foo (void)" instead of "foo ()" for declarations.
287 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
289 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
290 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
291 Don't reset GstPollFDs, this is not necessary at all.
293 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
294 (delayed_restart), (delayed_control):
295 Use GST_POLL_FD_INIT.
297 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
299 * gst/gstpoll.c: (gst_poll_fd_init):
303 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
304 Use some more init macros.
306 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
308 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
309 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
310 Use init macros and functions.
312 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
314 * docs/gst/gstreamer-sections.txt:
315 * gst/gstpoll.c: (gst_poll_fd_init):
317 Add INIT macro and _init method for initializing the GstPollFD.
319 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
321 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
322 (gst_fd_sink_update_fd):
323 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
324 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
325 (delayed_restart), (delayed_control):
326 Initialize some uninitialized variables as spotted by valgrind.
328 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
330 * tests/benchmarks/Makefile.am:
331 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
333 Add poll stress test.
335 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
337 Patch by: Peter Kjellerstedt <pkj at axis dot com>
339 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
340 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
341 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
342 * plugins/elements/gstfdsink.h:
343 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
344 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
345 (gst_fd_src_unlock_stop), (gst_fd_src_create),
346 (gst_fd_src_uri_set_uri):
347 * plugins/elements/gstfdsrc.h:
348 Port to GstPoll. See #505417.
350 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
352 * win32/common/libgstreamer.def:
353 Add new gst_poll_ symbols to win32 defs.
355 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
357 * docs/libs/gstreamer-libs-sections.txt:
358 * libs/gst/net/gstnetclientclock.c:
359 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
360 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
361 (gst_net_client_clock_thread), (gst_net_client_clock_start),
362 (gst_net_client_clock_stop), (gst_net_client_clock_new):
363 * libs/gst/net/gstnetclientclock.h:
364 * libs/gst/net/gstnettimeprovider.c:
365 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
366 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
367 (gst_net_time_provider_start), (gst_net_time_provider_stop),
368 (gst_net_time_provider_new):
369 * libs/gst/net/gstnettimeprovider.h:
370 Use a private stuct to not break ABI.
372 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
374 Patch by: Peter Kjellerstedt <pkj at axis dot com>
376 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
377 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
378 (gst_net_client_clock_thread), (gst_net_client_clock_start),
379 (gst_net_client_clock_stop), (gst_net_client_clock_new):
380 * libs/gst/net/gstnetclientclock.h:
381 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
382 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
383 (gst_net_time_provider_start), (gst_net_time_provider_stop),
384 (gst_net_time_provider_new):
385 * libs/gst/net/gstnettimeprovider.h:
386 Massive code removal and cleanups because of GstPoll.
389 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
392 Add checks for poll, ppoll and pselect.
394 * docs/gst/gstreamer-docs.sgml:
395 * docs/gst/gstreamer-sections.txt:
396 Add docs for GstPoll.
400 * gst/gstpoll.c: (find_index), (selectable_fds),
401 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
402 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
403 (gst_poll_set_mode), (gst_poll_get_mode),
404 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
405 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
406 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
407 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
408 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
409 (gst_poll_fd_can_write), (gst_poll_wait),
410 (gst_poll_set_controllable), (gst_poll_restart),
411 (gst_poll_set_flushing):
413 Add generic poll abstraction. We ideally don't want to have this in core
414 here but in glib intead...
415 This code will be used in various network elements and ultimately for
416 the nanosecond precision monotonic clock (that's why it's here in core).
417 It'll allow us to implement cancelable socket operations for windows too.
419 * tests/check/Makefile.am:
420 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
421 (delayed_stop), (delayed_restart), (delayed_flush),
422 (delayed_control), (gst_poll_suite):
423 Add GstPoll unit test.
425 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
428 Improve documentation of gst_filter_run(). Fixes #518627.
430 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
433 Add a few lines about the new 'check-inspected-versions' target.
435 2008-02-21 Stefan Kost <ensonic@users.sf.net>
437 * tests/check/gst/gstevent.c:
438 Add qos to the event test. Rename tcase/tsuite; is not only about
441 2008-02-21 Stefan Kost <ensonic@users.sf.net>
443 * plugins/elements/gstqueue.c:
444 Ensure that buffer metadata is writeable, before modifying. Spotted by
447 2008-02-20 Stefan Kost <ensonic@users.sf.net>
449 * plugins/elements/gstqueue.c:
450 * plugins/elements/gstqueue.h:
451 When dropping buffers in leaky modes, mark next buffers we sent as
454 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
456 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
457 Also, if mmap() fails that would be a READ error, not OPEN_READ.
459 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
461 * plugins/elements/Makefile.am:
462 * plugins/elements/gstbufferstore.c:
463 * plugins/elements/gstbufferstore.h:
464 * plugins/elements/gsttypefindelement.h:
465 Remove GstBufferStore, no idea why we were still building it.
466 It's not used anywhere and superseded by GstAdapter.
468 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
469 (gst_file_src_create_mmap):
470 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
471 Printf format fixes for 64-bit integers.
473 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
476 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
477 We're not in 0.8 times anymore.
479 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
481 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
482 (gst_check_element_push_buffer_list):
483 * libs/gst/check/gstcheck.h:
484 Make the declaration in the header for
485 gst_check_element_push_buffer_list match the implementation.
487 Fix up spelling, grammar and wording of the documentation in a few
488 places, and add the Since keyword to new API functions.
489 Use g_list_delete_link instead of g_list_remove in
490 gst_check_drop_buffers, since it's immeasurably more efficient.
492 * tests/check/elements/fakesrc.c: (GST_START_TEST):
493 Use new gst_check_drop_buffers function where appropriate.
495 * win32/common/libgstbase.def:
496 * win32/common/libgstreamer.def:
497 Add new symbols gst_collect_pads_take_buffer,
498 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
501 Changelog surgery to add API keyword to new gst_check API.
503 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
505 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
506 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
507 Update pre-generated flex files with flex 2.3.34.
509 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
511 * gst/gstminiobject.c:
512 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
513 friendly to subclasses and not require them to know all internals
514 of their parent class.
516 2008-02-15 Stefan Kost <ensonic@users.sf.net>
518 * docs/libs/gstreamer-libs-sections.txt:
519 * libs/gst/base/gstcollectpads.c:
520 * libs/gst/base/gstcollectpads.h:
521 Add sub-buffer functions to collectpads. Fixes #516187.
522 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
524 2008-02-15 Stefan Kost <ensonic@users.sf.net>
527 Copy selected buffer-flags when creating subbuffers.
530 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
532 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
533 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
534 * gst/gstmessage.c: (gst_message_class_init),
535 (gst_message_finalize):
536 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
537 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
538 (gst_mmap_buffer_finalize):
539 Properly chain up finalize functions to the parent class.
541 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
543 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
545 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
546 (gst_index_set_resolver_full):
548 Add new function with option to dispose of user_data in resolver.
549 Actually call the dispose function when finalizing the object and not
550 just when changing the resolver/filter.
551 API: GstIndex::gst_index_set_resolver_full()
553 * docs/gst/gstreamer-sections.txt:
554 Add new function to docs. Fixes #515469.
556 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
558 * gst/gstindex.c: (gst_index_finalize):
559 Chain up finalize to the parent class. Fixes leaking the GstObject
560 name and other things.
562 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
565 Make DISABLE_DEPRECATED defined *only* during CVS, not during
566 pre-releases or releases.
568 * docs/faq/gst-uninstalled:
571 * docs/random/release:
572 Change one of the steps - we only upload core & base to Gnome FTP
574 2008-02-06 Stefan Kost <ensonic@users.sf.net>
576 * gst/gstconfig.h.in:
577 Add 'id' for example.
581 * plugins/elements/gstfdsink.c:
582 Link to signals. Doc and comment fixes.
584 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
586 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
587 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
588 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
589 unused and unimplemented; finally, it is plugin features, not
590 plugins, that have ranks.
592 2008-02-05 Stefan Kost <ensonic@users.sf.net>
594 * gst/gstpluginfeature.h:
595 Clarify GstRank range docs.
597 2008-02-05 David Schleef <ds@schleef.org>
599 * gst/gst.c: Add a separate gst_deinitialized that prevents
600 gst_init() from being called after gst_deinit(). Fixes #509559
602 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
604 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
605 (gst_bin_class_init):
606 * gst/gstelement.c: (gst_element_base_class_init),
607 (gst_element_class_add_pad_template):
608 * gst/gstpadtemplate.c: (gst_pad_template_init):
609 * gst/gstpipeline.c: (gst_pipeline_get_type),
610 (gst_pipeline_base_init), (gst_pipeline_class_init):
611 * libs/gst/base/gstbasesink.c:
612 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
613 (gst_base_src_base_init), (gst_base_src_class_init):
614 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
615 (gst_capsfilter_class_init):
616 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
617 (gst_fake_sink_class_init):
618 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
619 (gst_fake_src_class_init):
620 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
621 (gst_fd_sink_class_init):
622 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
623 (gst_fd_src_class_init):
624 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
625 (gst_file_sink_class_init):
626 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
627 (gst_file_src_class_init):
628 * plugins/elements/gstidentity.c: (gst_identity_base_init),
629 (gst_identity_class_init):
630 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
631 (gst_multi_queue_class_init):
632 * plugins/elements/gstqueue.c: (gst_queue_base_init),
633 (gst_queue_class_init):
634 * plugins/elements/gsttee.c: (gst_tee_base_init),
635 (gst_tee_class_init):
636 * plugins/elements/gsttypefindelement.c:
637 (gst_type_find_element_base_init),
638 (gst_type_find_element_class_init):
639 * tests/check/gst/gstelement.c: (gst_element_suite):
640 Revert previous changes to the behaviour of GstPadTemplates, etc
641 and the possiblity to call them in class_init as it breaks too
642 many elements. Reopens bug #491501.
644 Should be applied again for 0.11, thus added a few FIXME 0.11 at
647 2008-02-05 Stefan Kost <ensonic@users.sf.net>
649 * tools/gst-launch.c:
650 Dump one graph per pipeline state-change and state change name
651 (if GST_DEBUG_DUMP_DOT_DIR is set).
653 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
656 * tests/check/gst/gstpad.c:
657 Be sure that we have a new copy of the caps and not
658 reffed caps from a template
660 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
662 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
663 * gst/gstpipeline.c: (gst_pipeline_get_type),
664 (gst_pipeline_class_init):
665 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
666 (gst_base_sink_class_init):
667 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
668 (gst_base_src_class_init):
669 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
670 (gst_base_transform_class_init):
671 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
672 (gst_collect_pads_class_init):
673 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
674 * libs/gst/net/gstnettimeprovider.c:
675 (gst_net_time_provider_base_init),
676 (gst_net_time_provider_class_init):
677 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
678 (gst_capsfilter_class_init):
679 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
680 (gst_fake_sink_class_init):
681 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
682 (gst_fake_src_class_init):
683 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
684 (gst_fd_sink_class_init):
685 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
686 (gst_fd_src_class_init):
687 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
688 (gst_file_sink_class_init):
689 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
690 (gst_file_src_class_init):
691 * plugins/elements/gstidentity.c: (gst_identity_base_init),
692 (gst_identity_class_init):
693 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
694 (gst_multi_queue_class_init):
695 * plugins/elements/gstqueue.c: (gst_queue_base_init),
696 (gst_queue_class_init):
697 * plugins/elements/gsttee.c: (gst_tee_base_init),
698 (gst_tee_class_init):
699 * plugins/elements/gsttypefindelement.c:
700 (gst_type_find_element_base_init),
701 (gst_type_find_element_class_init):
702 Don't use base_init where not absolutely necessary. For example it's
703 not necessary anymore for adding pad templates or setting element
706 Leave empty base_init functions in several places as GST_BOILERPLATE
707 still defines and uses them.
709 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
711 * gst/gstelement.c: (gst_element_base_class_init),
712 (gst_element_class_add_pad_template):
713 * gst/gstpadtemplate.c:
714 Make it possible (and recommended) to set element details and add
715 pad templates in the class_init functions by copying the details/pad
716 templates in GstElement's base_init.
718 Also make it possible to replace existing pad templates by adding
719 a new one with the same name. This was done in a hackish fashion
720 in same elements before already.
722 Don't reference pad templates that are added a second time. A
723 new pad template has a refcount of one and is not floating anymore
724 and to be owned by the element's class. Make this more explicit by
725 mentioning it in the docs of gst_element_class_add_pad_template().
727 These changes are backwards compatible. Fixes bug #491501.
729 * tests/check/gst/gstelement.c:
730 Add unit test for setting element details, adding pad templates and
731 replacing them in a subclass.
733 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
735 * tools/gst-inspect.c: (print_interfaces),
736 (print_element_properties_info), (print_pad_info),
737 (print_signal_info), (print_element_info):
738 Fix a few memory leaks.
740 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
742 * docs/libs/gstreamer-libs-sections.txt:
743 * libs/gst/check/gstcheck.c:
744 * libs/gst/check/gstcheck.h:
745 Add more functions for unit testing: gst_check_drop_buffers,
746 gst_check_caps_equal, gst_check_element_push_buffer_list,
747 gst_check_element_push_buffer
748 API: gst_check_drop_buffers
749 API: gst_check_caps_equal
750 API: gst_check_element_push_buffer_list
751 API: gst_check_element_push_buffer
753 2008-02-01 Julien Moutte <julien@fluendo.com>
755 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
756 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
757 (gst_index_finalize), (gst_index_entry_free),
758 (gst_index_add_association): Fix memory leaks.
759 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
760 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
761 (gst_mem_index_free_format), (gst_mem_index_free_id),
762 (gst_mem_index_finalize): Fix memory leaks.
763 * win32/common/config.h: Updated to CVS HEAD.
765 2008-02-01 Stefan Kost <ensonic@users.sf.net>
768 Some more details about how the plugin docs works.
770 * docs/plugins/gstreamer-plugins-sections.txt:
773 2008-02-01 Stefan Kost <ensonic@users.sf.net>
775 * gst/parse/grammar.tab.pre.c:
776 * gst/parse/grammar.tab.pre.h:
777 * gst/parse/grammar.y:
778 * gst/parse/lex._gst_parse_yy.pre.c:
779 Add delayed set-property. This allows to set properties on dynamicaly
780 created objects (pads in videomxer).
782 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
785 Check if caps are not NULL (fix bug #510194)
787 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
789 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
790 (gst_base_sink_get_position_paused):
791 Add fixme regarding EOS in pull mode.
792 Fix position reporting in PAUSED for negative rates.
794 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
796 * gst/gstminiobject.c: (gst_mini_object_replace):
797 When replacing a miniobject, do a quick equality check first so that we
798 can avoid a ref/unref pair.
800 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
802 * docs/design/part-synchronisation.txt:
805 * docs/plugins/Makefile.am:
806 * docs/plugins/gstreamer-plugins-docs.sgml:
807 * docs/plugins/gstreamer-plugins-sections.txt:
808 * plugins/elements/gstmultiqueue.c:
809 Add multiqueue to the docs.
811 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
816 === release 0.10.17 ===
818 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
821 releasing 0.10.17, "Due Negligence"
823 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
826 Revert caps != NULL check temporarily for 0.10.17 release.
828 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
831 Check if caps are not NULL (fix bug #510194)
833 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
836 Fix compilation on systems that have posix timers but no
839 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
842 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
844 * tools/gst-inspect.c:
845 Revert previous commit in preparation for an impromptu 0.10.17 release
847 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
849 * tools/gst-inspect.c: (print_interfaces),
850 (print_element_properties_info), (print_pad_info),
851 (print_signal_info), (print_element_info):
852 Fix a few memory leaks.
854 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
859 === release 0.10.16 ===
861 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
864 releasing 0.10.16, "Special Dispensation"
866 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
869 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
870 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
871 not fail when trying to crosscompile on OpenEmbedded (#511750).
873 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
876 Use $(MAKE) instead of make to fix the build if GNU make is
877 called different. Fixes bug #510747.
879 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
881 * gst/gstplugin.c: (_gst_plugin_initialize):
882 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
883 again, which I broke two commits ago when changing the API
884 of gst_plugin_register_static(): the g_list_foreach() in
885 _gst_plugin_register_static still assumed the old function
886 signature and would therefore fail (re-fixes #510187).
888 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
889 (_gst_plugin_register_static), (gst_plugin_register_static):
890 Revert the (technically correct) change to call g_thread_init() from
891 the pre-main() constructor. This will break programs which call
892 g_thread_init() without an if (!g_thread_supported()) guard in their
893 main function. We could just blame it on GLib or the application, but
894 it's probably best to just avoid this altogether and simply not use
895 any GLib functions here and use plain old malloc() with a simple
896 array to store the plugins to register later when gst_init() is
897 finally called (re-fixes #510187).
899 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
900 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
901 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
902 (GST_START_TEST), (gst_plugin_suite):
903 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
906 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
908 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
909 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
910 This makes gtk-doc complain, but results in slightly better
911 compiler errors. The old _gst_plugin_register_static() is
912 still guarded, so there'll be a compiler warning about that
913 instead. Fixes #510187 too.
915 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
917 * gst/gst.c: (init_post):
918 * gst/gstplugin.c: (_gst_plugin_register_static),
919 (gst_plugin_register_static), (_gst_plugin_initialize):
920 * gst/gstplugin.h: (GstPluginFilter):
921 Change API of gst_plugin_register_static() to not take
922 a GstPluginDesc, but rather just take all the arguments
923 in a GstPluginDesc directly. This is more intuitive and
924 avoids certain mistakes when porting code from
925 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
928 * tests/check/gst/gstplugin.c:
929 Fix up for changed API.
931 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
933 * docs/faq/legal.xml:
934 Update FAQ, Totem actually has an exception these days.
936 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
938 * win32/common/libgstreamer.def:
939 Add new API declarations
941 2008-01-14 Stefan Kost <ensonic@users.sf.net>
943 * gst/gstminiobject.c:
944 Spelling fixes for the API docs.
946 2008-01-14 Stefan Kost <ensonic@users.sf.net>
948 * libs/gst/base/gstbasetransform.c:
949 Fix long property description for QoS.
951 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
954 _gst_trace_on is already provided by gsttrace.h, no need to declare
957 * docs/libs/gstreamer-libs-sections.txt:
958 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
959 and remove strange tcase_add_test which is outputting a warning.
961 * libs/gst/check/gstcheck.c:
962 * libs/gst/check/gstcheck.h:
963 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
964 and define them in gstcheck.c instead of having every .c file whcih
965 includes gstcheck.h be defining its own copy and relying on symbol
966 interposing to marry them all, which doesn't work on Solaris.
968 * tests/check/elements/identity.c: (GST_START_TEST):
969 Don't define 'buffers' locally, it comes from libgstcheck.
971 * tests/check/generic/sinks.c: (send_buffer):
972 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
974 * tests/check/gst/gststructure.c: (GST_START_TEST):
975 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
976 * tests/check/gst/gstutils.c: (GST_START_TEST):
977 * tests/check/gst/gstvalue.c: (GST_START_TEST):
978 Add a bunch of casts to make various constants fit the types
979 they're being assigned to.
981 2008-01-10 Stefan Kost <ensonic@users.sf.net>
983 * gst/gstchildproxy.c:
984 Improve docs and add some ideas for making this more general-purpose.
986 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
988 * gst/gst_private.h: (GST_CAT_TYPES):
989 Add GST_CAT_TYPES, for consistency, and so that the other
990 debug categories don't make fun of it. Spotted by Saur on IRC.
992 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
994 * gst/parse/Makefile.am:
995 Move types.h from EXTRA_DIST to noinst_HEADERS.
997 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1000 Add -Wno-portability to the automake parameters to stop warnings
1001 about GNU make extensions being used. We require GNU make in almost
1002 every Makefile anyway.
1005 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1006 at the same time is required for per target flags.
1008 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1011 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1012 __GNUC__ is defined before using it.
1014 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1016 * docs/gst/gstreamer-sections.txt:
1017 * gst/gst.c: (init_post):
1018 * gst/gstplugin.c: (_gst_plugin_register_static),
1019 (gst_plugin_register_static), (_gst_plugin_initialize),
1020 (gst_plugin_register_func):
1021 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1022 API: add gst_plugin_register_static() and deprecate
1023 GST_PLUGIN_DEFINE_STATIC, since it's not portable
1025 Also, in _gst_plugin_register_static(), make sure to call
1026 g_thread_init() before calling GLib functions such as
1027 g_list_append() if we're not initialised yet, since that
1028 may lead to random crashes with older GSlice/GLib versions.
1030 * tests/check/gst/gstplugin.c:
1031 Adapt unit test to above changes.
1033 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1035 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1036 * gst/gstcaps.c: (gst_caps_to_string):
1037 * gst/gststructure.c: (GST_ASCII_IS_STRING),
1038 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1039 Yet another gratuitous GString micro-optimisation: add a (private)
1040 function that serialises a structure appending to an existing
1041 GString, so that when we serialise caps we don't need to alloc+free
1042 a throwaway GString for each structure (each of which also entailing
1043 multiple reallocs on the way); also use g_string_sized_new() in
1044 various places with an approximate string length to avoid reallocs
1045 within GString. See #500143.
1047 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1049 * gst/gststructure.c: (gst_structure_id_set_value):
1050 Always check UTF-8 conformance of structure strings and not only
1051 if the debugging system is enabled; reasoning: the behaviour of
1052 the actual code shouldn't really change depending on whether the
1053 debugging system is enabled or not (#508291).
1055 2008-01-09 Stefan Kost <ensonic@users.sf.net>
1058 Remove old coverage target in favour of "make lcov".
1060 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1062 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1063 (gst_base_src_loop):
1064 The start segment for reverse playback goes from start to last_stop.
1066 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1068 Patch by: Peter Kjellerstedt <pkj axis com>
1071 Cast the results from the timeval/spec_to_time macros to what the
1072 docs say it casts to, a GstClockTime. fixes #508175.
1074 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1077 Update some comments.
1079 * tools/gst-inspect.c: (print_element_properties_info):
1080 Improve printing of flags.
1082 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
1084 * libs/gst/base/gstbasetransform.c:
1085 (gst_base_transform_transform_size):
1086 Print element name with g_warning() if there's a problem
1089 2008-01-07 David Schleef <ds@schleef.org>
1091 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1093 * libs/gst/controller/gstcontroller.h:
1094 * libs/gst/controller/gstcontrolsource.h:
1095 * libs/gst/controller/gstinterpolationcontrolsource.h:
1096 * libs/gst/controller/gstlfocontrolsource.h:
1097 * libs/gst/dataprotocol/dataprotocol.h:
1098 Fix empty prototypes. Fixes bug #507957.
1100 2008-01-07 David Schleef <ds@schleef.org>
1102 * docs/faq/dependencies.xml: Fix typo.
1104 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
1106 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1107 (gst_base_src_loop):
1108 Don't update the last_stop position in do_seek, that's the position we
1110 Read backwards when we have a negative rate.
1112 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1113 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1115 Add check for reverse reading.
1117 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
1119 Patch by: Alexis Ballier <aballier at gentoo org>
1121 * tests/check/gst/gstabi.c:
1122 * tests/check/gst/struct_ppc64.h:
1123 * tests/check/libs/libsabi.c:
1124 * tests/check/libs/struct_ppc64.h:
1125 Decide which header to include based on the userland ABI target
1126 and not the kernel/cpu. Fix up structure sizes of ppc64 header
1127 for 64-bit userland (#503590). Might need something similar for
1130 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
1132 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1133 Log the reason why fopen fails in addition to the fact that it failed.
1135 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
1137 * gst/parse/parse.l:
1138 Use "%option never-interactive" to prevent useless calls to isatty()
1139 on every input when parsing. Also use "%option noinput" to not define
1140 the static input/yyinput functions which we don't use anyway. This
1141 removes a compiler warning with gcc 4.3 and saves some bytes in the
1144 * gst/parse/lex._gst_parse_yy.pre.c:
1145 Regenerated for the above change.
1147 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
1149 * gst/gstpad.c: (fixate_value):
1150 Don't crash when trying to fixate and empty list.
1153 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
1155 * docs/faq/gst-uninstalled:
1156 Clarify the comments to make the usage of this script and what it
1157 does easier to understand.
1159 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
1161 * tools/gst-plot-timeline.py:
1162 Add more options to gst-plot-timeline
1164 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
1166 * docs/design/part-synchronisation.txt:
1167 Some more info on how the stream_time in GstBaseSink is done.
1169 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
1171 * tests/check/generic/sinks.c: (gst_sinks_suite):
1172 Put back the tcase_set_timeout(), apparently it's needed after
1173 all; fix it up in a way that makes things work with valgrind too.
1175 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
1177 * gst/gstdebugutils.c:
1178 Add warning when failed to open file for writing.
1180 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1182 Based on patch by: Laurent Glayal <spglegle yahoo fr>
1184 * gst/gstvalue.c: (gst_value_is_fixed):
1185 Optimisation: bail out of the loop as early as possible (#500143).
1187 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1189 * gst/gstcaps.c: (gst_caps_to_string):
1190 * gst/gstinfo.c: (gst_debug_construct_term_color):
1191 * gst/gstparse.c: (gst_parse_launchv):
1192 * gst/gstutils.c: (gst_util_dump_mem):
1193 * gst/gstvalue.c: (gst_value_serialize_any_list),
1194 (gst_value_transform_any_list_string):
1195 Bunch of gratuitous nano-optimisations.
1197 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1199 * tests/check/generic/sinks.c: (async_done_func),
1200 (async_done_eos_func):
1201 Fix leak in unit test (bus sync handler must unref the message
1202 if it returns GST_BUS_DROP). Don't fiddle with the default test
1203 timeout, this is smaller than the current preconfigured value
1204 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1205 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1207 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1209 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1212 Check for stdio_ext.h for the filesink changes.
1214 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1215 (gst_file_sink_class_init), (gst_file_sink_init),
1216 (gst_file_sink_dispose), (gst_file_sink_set_property),
1217 (gst_file_sink_get_property), (gst_file_sink_open_file),
1218 (gst_file_sink_close_file):
1219 * plugins/elements/gstfilesink.h:
1220 Add two properties to control the buffering mode and size.
1221 API: GstFileSink::buffer-mode
1222 API: GstFileSink::buffer-size
1225 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1227 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1228 Add some more docs to explain why a FIXME was wrongly added.
1230 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1233 Fix typo in the gst_object_{ref,unref} documentation.
1235 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1237 * tests/check/libs/controller.c:
1238 * tests/check/libs/typefindhelper.c:
1239 * tests/check/pipelines/parse-launch.c:
1240 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1241 going to be deprecated (see #498924).
1243 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1245 * gst/gsttypefind.c: (gst_type_find_register):
1246 Make gst_type_find_register work for static typefind functions,
1247 ie. allow passing plugin == NULL (prerequisite for #498924).
1249 * gst/gstelementfactory.c: (gst_element_register):
1250 Small docs addition.
1252 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1254 * gst/gstpad.c: (gst_pad_dispose):
1255 Really unlink the peer pad instead of setting the peer pointer to NULL
1256 when we dispose the pad.
1257 This correctly calls the unlink functions and makes sure that the peer
1258 does not have a handle to invalid memory. See #504671.
1260 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1261 Add testsuite for above case.
1263 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1265 Patch by: Peter Kjellerstedt <pkj axis com>
1267 * libs/gst/check/gstcheck.h:
1268 Fix detection of the check version we're compiling against (would
1269 otherwise break if check goes v0.10.0); correctly report the
1270 name of the failed test again in case of failure, instead of
1271 just 'tf' (fixes #504499).
1273 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1275 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1276 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1277 (gst_base_src_loop), (gst_base_src_set_flushing),
1278 (gst_base_src_change_state):
1279 Allow sending EOS to the source to make it send out an EOS event from
1280 the streaming thread.
1281 Update docs and deprecate the old NULL/READY shutdown method.
1283 * tests/check/libs/basesrc.c: (GST_START_TEST),
1284 (gst_basesrc_suite):
1285 Add unit test for controlled shutdown.
1287 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1289 * docs/design/part-synchronisation.txt:
1292 * gst/gstsegment.c: (gst_segment_set_seek),
1293 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1294 (gst_segment_to_running_time):
1295 The seek format can be different from the segment format when the start
1296 and stop values are not to be updated, when we only do a rate change for
1299 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1300 (gst_segment_suite):
1301 Add a testcase for the rate-only seeks, checking that the format is
1302 correctly ignored when start and stop are not updated.
1304 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1306 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1308 * win32/vs8/grammar.vcproj:
1309 * win32/vs8/libgstcontroller.vcproj:
1310 * win32/vs8/libgstreamer.vcproj:
1311 Fix compilation with VS8 and include some missing files.
1313 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1316 Small docs addition: mention that the strings returned by
1317 gst_tag_list_get_string*() are in UTF-8 encoding.
1319 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1322 The check-exports stuff moved to common/win32.mak, so include that.
1324 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1326 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1327 (gst_base_src_perform_seek), (gst_base_src_get_range),
1328 (gst_base_src_set_playing), (gst_base_src_change_state):
1329 Make _wait_playing() not check any variables so that we can call this
1330 function from subclasses. Move the checks elsewhere similar to
1331 _wait_preroll() in basesink.
1333 Only signal the LIVE cond when we are going back to PLAYING.
1335 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1337 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1338 Use g_remove() and g_rename(). Check result of g_rename(), and
1339 don't leak the open file descriptor if we error out when writing.
1341 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1342 Must check the return value of close() after writing out the new
1343 registry file. Sometimes write problems such as out-of-diskspace
1344 are only reported when the file is closed and not already during
1345 the write. This may have caused partial/broken registry files in
1346 some rare circumstances. Should fix #503675.
1348 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1350 * docs/gst/.cvsignore:
1351 * docs/libs/.cvsignore:
1352 * docs/plugins/.cvsignore:
1353 Ignore files generated by new common/* modifications
1355 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1357 * win32/common/libgstbase.def:
1358 Yes, you can also have a <TAB> if you want.
1360 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1362 * win32/common/libgstbase.def:
1363 Add new basetransform API to win export file.
1365 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1367 * tests/check/gst/gstbin.c:
1368 Adjust the test to the refcount change two days ago.
1370 2007-12-14 David Schleef <ds@schleef.org>
1372 * docs/faq/getting.xml: Fix typo.
1374 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1376 * docs/libs/gstreamer-libs-sections.txt:
1377 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1378 (gst_base_transform_prepare_output_buffer),
1379 (gst_base_transform_set_gap_aware):
1380 * libs/gst/base/gstbasetransform.h:
1381 API: Add gst_base_transform_set_gap_aware() to control whether
1382 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1383 get buffers with this flag at all. Fixes #503231.
1385 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1387 * libs/gst/base/gstbasesink.c:
1388 * libs/gst/base/gstbasesrc.c:
1389 * libs/gst/base/gstbasetransform.c:
1390 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1391 thread. Correct log message in gstbasesrc.c.
1393 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1395 * gst/gstutils.c: (element_find_unconnected_pad):
1396 Fix possible compiler warning (#503417).
1398 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1400 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1401 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1403 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1405 * tools/gst-inspect.c: (print_element_properties_info):
1406 Add support for GstFraction properties.
1408 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1411 Add check-exports target and run it as part of 'make check'
1412 (see #499140 and #493983).
1414 * gst/gst_private.h:
1415 * gst/gstelementfactory.h:
1416 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1417 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1418 (_priv_gst_in_valgrind):
1419 * gst/gstinfo.h: (GstLogFunction):
1420 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1421 (gst_type_find_register):
1422 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1423 (gst_type_find_factory_get_type):
1424 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1425 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1426 (gst_controller_new_valist), (gst_controller_new_list),
1427 (_gst_controller_dispose), (_gst_controller_class_init):
1428 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1429 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1430 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1431 (gst_object_get_controller), (gst_object_set_controller),
1432 (gst_object_suggest_next_sync), (gst_object_sync_values),
1433 (gst_object_set_control_source), (gst_object_get_control_source),
1434 (gst_object_get_value_arrays), (gst_object_get_value_array),
1435 (gst_object_get_control_rate), (gst_object_set_control_rate):
1436 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1437 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1438 Make some functions that should be static static; rename some
1439 private symbols so that they don't get exported; add some FIXME
1440 comments so we can move accidentally exported functions into
1441 our private section in 0.11.
1443 * win32/common/libgstreamer.def:
1444 Add gst_utils_get_timestamp().
1446 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1450 Add more missing "Since:" tags to docs.
1452 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1455 Add mising "Since:" to docs.
1457 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1460 Include "glib-compat-private.h" to fix the build on system with
1461 glib < 2.10. Fixes #503131.
1463 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1467 Actually its not PURE as it gets the time from elsewhere.
1469 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1471 * docs/gst/gstreamer-sections.txt:
1473 * gst/gstdebugutils.c:
1477 * libs/gst/base/gstbasesink.c:
1478 * tools/gst-launch.c:
1479 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1480 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1481 Thanks Tim for spotting.
1482 API: gst_util_get_timestamp
1484 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1487 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1489 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1491 * gst/gststructure.c: (gst_structure_validate_name),
1492 (gst_structure_new_valist), (gst_structure_parse_value),
1493 (gst_structure_from_string):
1494 Don't crash in _from_string() if the structure name is not valid
1495 (fixes #501560). Allow structure names to start with a number
1496 again (this apparently broke the ubuntu codec installer).
1498 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1500 Add unit test for the crash; update unit tests for new behaviour.
1502 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1505 Clarify gst_element_get_compatible_pad() documentation.
1508 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1510 * tests/check/Makefile.am:
1511 Don't forget to dist {gst,libs}/struct_hppa.h.
1513 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1515 * libs/gst/base/gstbasesink.c:
1516 Use new API to get elapsed time.
1518 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1520 * gst/gstdebugutils.c:
1522 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1524 * tools/gst-launch.c:
1525 Use new API to get elapsed time.
1527 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1529 * docs/gst/gstreamer-sections.txt:
1531 * gst/gstdebugutils.c:
1533 Rename new API + ChangeLog surgery to remove old name from last entry..
1535 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1537 * docs/gst/gstreamer-sections.txt:
1539 * gst/gstdebugutils.c:
1541 Now hide the different clock stuff behind a macro.
1543 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1546 * gst/gstdebugutils.c:
1548 Apply the posix-timer check from #361155. Conditionally use the posix
1549 timer for logging. This gives better timestamp precission, less
1550 overhead and no ntp jitter.
1552 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
1554 * gst/gstminiobject.c: (gst_mini_object_get_type),
1555 (gst_mini_object_class_init), (gst_mini_object_copy_default),
1556 (gst_mini_object_finalize), (gst_mini_object_copy),
1557 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1558 (gst_mini_object_replace), (param_mini_object_validate),
1559 (gst_param_spec_mini_object_get_type):
1560 Some cleanup and checking against invalid function parameters.
1562 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
1564 * docs/gst/gstreamer-sections.txt:
1566 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1567 (gst_systemclock_suite):
1568 Start merging in the easy bits of #361155, the monotonic clock patch.
1569 This one adds a few handy macros with docs and a testsuite.
1571 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
1573 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1574 Be a bit smarter when seeking, like, don't try to do a seek when it's
1575 not needed. This avoids errors when the file is not seekable.
1578 2007-11-26 Stefan Kost <ensonic@users.sf.net>
1580 * docs/gst/gstreamer-docs.sgml:
1581 * docs/gst/gstreamer-sections.txt:
1582 * docs/gst/gstreamer.types.in:
1587 * plugins/elements/gstqueue.c:
1588 Due to popular request remove preset interface again. :-(.
1590 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1592 * tools/gst-inspect.c:
1593 Print 'default value' for enums and flags too.
1595 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1597 * docs/random/ensonic/profiling.txt:
1601 Fix typo and give better log output.
1603 * gst/gstdebugutils.c:
1604 * gst/gstdebugutils.h:
1605 More ideas, make graphs a bit smaller and fix param name in macro.
1607 2007-11-22 Stefan Kost <ensonic@users.sf.net>
1610 Try harder to use the return value from fgets().
1612 2007-11-21 Stefan Kost <ensonic@users.sf.net>
1615 For theses two fgets we handle the error below.
1617 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1619 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1620 Only send upstream events upstream. Fixes #498746.
1622 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
1624 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1626 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1627 (gst_identity_init), (gst_identity_transform_ip),
1628 (gst_identity_set_property), (gst_identity_get_property):
1629 * plugins/elements/gstidentity.h:
1630 Add property to disable handoff signal emission. Fixes #498694.
1631 API: GstIdentity::signal-handoffs
1633 2007-11-21 Julien Moutte <julien@fluendo.com>
1635 * docs/faq/gst-uninstalled: Yet another missing library for the
1636 uninstalled script (fft)
1638 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
1640 * docs/faq/developing.xml:
1641 Add a question about how to submit new translations.
1643 * docs/random/release:
1644 Update the contact email address for the Translation Project
1646 * plugins/elements/gstfdsrc.c:
1647 The parent_class for fdsrc is pushsrc, not GstElement.
1649 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1652 Plug a leak and fix saving.
1654 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
1656 * docs/gst/gstreamer-sections.txt:
1657 Add new gst_preset__get_property_names() function to the docs
1660 2007-11-20 Stefan Kost <ensonic@users.sf.net>
1664 Change _get_preset_names API to return a strv with copies. Add
1665 _get_property_names to allow implementations to filter and provide
1666 good default implementation.
1668 2007-11-20 Julien MOUTTE <julien@moutte.net>
1670 * docs/faq/gst-uninstalled: Add another library to the uninstalled
1673 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1676 More cleanups, docs, and TODOs from comments that now slowly come in.
1678 2007-11-19 Julien MOUTTE <julien@moutte.net>
1680 * docs/faq/gst-uninstalled: Add new base libraries in the LD
1683 2007-11-19 Stefan Kost <ensonic@users.sf.net>
1686 Fix bogus warning and make the property type specific code more
1689 2007-11-19 Julien MOUTTE <julien@moutte.net>
1691 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1694 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
1696 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1697 (gst_bin_add_func), (gst_bin_remove_func),
1698 (gst_bin_change_state_func), (gst_bin_continue_func):
1699 Change email, cleanups add some more debug and comments.
1700 Also set bus and clock on new elements when the pipeline was in error.
1702 2007-11-18 Stefan Kost <ensonic@users.sf.net>
1705 * gst/gstdebugutils.c:
1706 Fix build with --disable-gst-debug. Fixes #497859.
1707 Spotted by Sameer Naik.
1709 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1712 Little documentation improvment.
1715 More TODO cleanups. Remove c++ comments.
1717 * libs/gst/controller/gstcontroller.c:
1718 Add TODO and use quark from static string.
1720 * tests/check/gst/gstmessage.c:
1721 * tests/check/gst/gststructure.c:
1722 Use quark from static string.
1724 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1727 Add some comments and TODOs.
1730 Add padding for future changes.
1732 * plugins/elements/gstqueue.c:
1733 Implement the iface.
1735 2007-11-17 Stefan Kost <ensonic@users.sf.net>
1737 * docs/gst/gstreamer-docs.sgml:
1738 * docs/gst/gstreamer-sections.txt:
1739 * docs/gst/gstreamer.types.in:
1744 Add the preset interface (Fixes #396779). Do some doc cleanups along.
1746 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
1752 === release 0.10.15 ===
1754 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
1757 releasing 0.10.15, "October"
1759 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
1761 * win32/vs6/libgstreamer.dsp:
1762 Convert line endings back to DOS.
1764 2007-11-13 Stefan Kost <ensonic@users.sf.net>
1766 * docs/design/draft-tagreading.txt:
1767 * docs/random/ensonic/profiling.txt:
1768 Update fast tagreading draft and performance profiling ideas.
1770 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1772 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1773 Don't hold the object lock when unreffing a buffer because it could
1774 cause a deadlock when the finalize function wants to grab the object
1775 lock too. Fixes #495133.
1777 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
1779 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1780 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1781 Also accumulate time correctly when doing reverse playback. Fixes
1783 When converting to running and stream time, use default values for
1784 start/stop/time/accum when comparing different formats. Fixes #494245.
1786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1787 Do running/stream time in TIME format.
1789 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1790 (gst_segment_suite):
1791 2 new unit tests for segment accumulation.
1793 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
1795 * gst/gst.c: (init_pre):
1796 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1797 (_gst_debug_bin_to_dot_file):
1798 Move getenv() back into gst_init, so everyone can live happily
1799 ever after. Make sure the symbol isn't exported though.
1801 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1803 Patch by: Sebastien Moutte <sebastien moutte net>
1805 * win32/common/gstenumtypes.c:
1806 * win32/common/gstenumtypes.h:
1809 * win32/vs6/libgstreamer.dsp:
1810 Update vs6 project files (#494343).
1812 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1814 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1815 (gst_base_src_perform_seek), (gst_base_src_default_event),
1816 (gst_base_src_set_flushing), (gst_base_src_activate_push),
1817 (gst_base_src_activate_pull):
1818 Unify flushing code, remove some old unlock code that is no longer used.
1819 Take the streaming lock when seeking to avoid races. Fixes #492729.
1820 Added some more comments.
1822 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1824 * gst/gst.c: (_gst_disable_segtrap):
1825 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
1826 we can use gst_segtrap_is_enabled() there now that we have that API.
1827 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1828 to do the getenv here (and export the variable).
1830 * gst/gstdebugutils.c: (debug_dump_element),
1831 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1832 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1834 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1835 (gst_debug_log_default):
1836 Rename _gst_info_start_time to priv_gst_info_start_time so it
1837 doesn't get exported (was never in any header).
1839 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1840 (gst_plugin_loading_mutex):
1841 Make static mutex gst_plugin_loading_mutex really static (was never
1842 in any header), and use gst_segtrap_is_enabled() instead of
1843 _gst_disable_segtrap.
1845 * gst/gsttrace.c: (_gst_trace_default):
1846 Make local _gst_trace_default static (was never in any header).
1848 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1850 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1852 * win32/common/libgstbase.def:
1853 * win32/common/libgstcontroller.def:
1854 * win32/common/libgstdataprotocol.def:
1855 * win32/common/libgstnet.def:
1856 * win32/common/libgstreamer.def:
1857 Add more missing symbols, remove some duplicates, and sort
1858 as the 'sort' command sorts it (partially fixes #493983).
1860 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1862 * gst/gstelement.c: (gst_element_set_state_func):
1863 Only change the state cookie if a different state was set on the
1864 element. See #492729.
1866 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1869 Remove unused and uninitialised type variables that were still
1870 exported for some reason (they were never in any header files
1873 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1875 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1876 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1877 (gst_base_sink_event), (gst_base_sink_get_position_last),
1878 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1879 (gst_base_sink_change_state):
1880 Don't try to report a 0 position when we don't know, return -1 and FALSE
1881 instead. This mostly happens when we are prerolling.
1882 Make sure we can report the right position before we post the ASYNC_DONE
1883 message so that a message handler can query position without races.
1885 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1886 (async_done_handoff), (async_done_func), (send_buffer),
1887 (async_done_eos_func), (gst_sinks_suite):
1888 Add two tests for the above.
1890 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1893 Update with new email address.
1895 * docs/design/part-TODO.txt:
1896 Add some more info about future pad-block and negotiation changes.
1898 * docs/design/part-buffering.txt:
1899 Add some ideas about buffering reporting.
1901 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
1903 * tests/check/gst/gstobject.c:
1904 Disable silly racy test that always fails on this combination of CPU
1907 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
1909 Patch by: Murray Cumming <murrayc@murrayc.com>
1912 Corrected the registration of the parent-set and parent-unset
1913 signals: The parameter is a GstObject, not a GObject (#493134).
1915 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1917 * gst/gst_private.h:
1926 Move declaration of private _gst_foo_initialize() functions into
1927 our private header file where they should have been all along.
1929 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1931 * docs/plugins/gstreamer-plugins-sections.txt:
1932 * gst/gstdebugutils.h:
1934 * plugins/elements/gstqueue.c:
1935 gtk-doc fixes; trailing-comma-in-enum fix.
1937 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1939 * gst/gst.c: (gst_deinit):
1940 Clean up on deinit (not the external ones though, doesn't seem to be
1941 needed for some reason).
1943 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1945 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1946 Remove __declspec(dllimport) for MSVC that was copied over into core
1947 from a plugin, obviously without ever having been tested (note the
1948 single underscore in _declspec in the initial commit), and that doesn't
1949 really make sense. See #492077.
1951 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1953 * gst/gst.c: (init_post):
1954 * gst/gstevent.c: (_gst_event_initialize):
1955 * gst/gstquery.c: (_gst_query_initialize):
1956 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1957 g_type_class_ref() other types as well, see #349410 and #64764.
1959 * gst/gstbuffer.c: (_gst_buffer_initialize):
1960 * gst/gstmessage.c: (_gst_message_initialize):
1961 Simplify existing g_type_class_ref().
1963 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1965 * gst/gstformat.c: (_gst_format_initialize):
1966 g_type_class_ref() our GstFormat type to make sure we avoid the
1967 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1968 bug #64764. Should fix intermittent tee unit test failures (#474823).
1970 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1972 * tests/check/elements/tee.c: (test_num_buffers):
1973 Simplify, simplify, simplify - or not. Rewrite unit test
1974 not to use gst_parse_launch(); allow N sub-streams. Increasing
1975 the number of sub-streams seems to reproduce #474823 more easily.
1977 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1979 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1982 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1983 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1984 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1985 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1986 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1987 so use _pipe() directly (#492077).
1989 * win32/common/dirent.c: (_treaddir):
1990 Add a couple of casts to make it build without warnings with MSVC.
1992 * win32/common/libgstreamer.def:
1993 Add some more symbols that need to be exported.
1995 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1997 * tests/examples/metadata/read-metadata.c: (message_loop):
1998 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1999 arriving in a second or third tag message are added to
2000 the tag list as well.
2002 2007-10-31 Stefan Kost <ensonic@users.sf.net>
2004 * libs/gst/base/gstbasesrc.c:
2005 Its "Since:" and not "@Since:". And remove an superflous cast.
2007 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
2009 * docs/libs/gstreamer-libs-sections.txt:
2010 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2011 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2012 (gst_base_sink_get_property), (gst_base_sink_render_object),
2013 (gst_base_sink_preroll_object),
2014 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2015 (gst_base_sink_change_state):
2016 * libs/gst/base/gstbasesink.h:
2017 Add a new last-buffer property that contains the last buffer used in
2018 basesink for preroll or rendering. useful for making snapshots.
2019 API: gst_base_sink_get_last_buffer()
2020 API: GstBaseSink::last-buffer
2022 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2024 * docs/gst/running.xml:
2026 * gst/gstdebugutils.c:
2027 * gst/gstdebugutils.h:
2028 * tools/gst-launch.c:
2029 Improve bin graph dumping, by using the envvar to specify a path.
2030 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2032 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
2034 * plugins/elements/gsttypefindelement.c:
2035 (gst_type_find_element_handle_event),
2036 (gst_type_find_element_activate):
2037 Post special error message if we can't determine the type of a stream
2040 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2042 * docs/gst/running.xml:
2043 * gst/gstdebugutils.c:
2044 Document new env-var. Add one log-line after dumpng a graph.
2046 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
2049 Ugly hack to put the (recently removed and non-portable, apparently)
2050 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2051 GNU ld, because without that 'make check' fails miserably on my debian
2052 stable box. Someone with more knowledge of linker intricacies and
2053 portability issues than me fix this properly please.
2055 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
2057 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2058 Reset last seen position after flushing so that we don't report the old
2061 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2063 * gst/gstelementfactory.c: (gst_element_register):
2065 Patch from Alessandro Decina adding get_type_full and
2066 get_protocols_full private vfuncs to the URIHandler interface
2067 to allow bindings to support creating URI handlers.
2068 Partially fixes: #339279
2069 API: GstURIHandlerInterface::get_type_full
2070 API: GstURIHandlerInterface::get_protocols_full
2072 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2074 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2075 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2076 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2077 Make it so that pads are considered linked until a buffer is pushed
2078 and discovered otherwise. This avoids problems with decodebin2 hanging
2079 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2082 Make sure we lock the multiqueue when updating the max-size properties.
2084 Fix a crash on Solaris in a debug statement in get_request_pad that
2085 passes a NULL string to GST_DEBUG.
2087 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2088 (run_output_order_test):
2089 Fix the test to allow the first buffer on not-linked pads to come out
2090 of sequence while multiqueue discovers that they are not-linked.
2092 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2095 * libs/gst/check/Makefile.am:
2096 Use a custom export symbol regex for libgstcheck, as it needs
2097 to export symbols that don't match the standard GStreamer gst_*
2098 pattern, and --export-dynamic is not portable (only works on
2101 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2102 (gst_check_setup_sink_pad):
2103 Make sure to pass a message parameter to the fail_* macros.
2105 * tests/check/gst/gstinfo.c: (GST_START_TEST):
2106 Fix some compiler warnings.
2108 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
2110 * tests/check/gst/gststructure.c: (test_to_string):
2111 Disable test that checks that white spaces are not allowed
2112 in structure names or field names, since we need to
2113 support that for now for backwards compatibility reasons.
2115 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2117 * docs/gst/gstreamer-sections.txt:
2120 API: add GST_TAG_ARTIST_SORTNAME
2121 API: add GST_TAG_ALBUM_SORTNAME
2122 API: add GST_TAG_TITLE_SORTNAME
2123 Add tag variants for sorting (#414539).
2125 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2127 * gst/gststructure.c:
2128 Also allow white space for names so we don't break
2129 backwards compatibility.
2131 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
2133 * docs/design/part-TODO.txt:
2134 * docs/design/part-segments.txt:
2135 * docs/design/part-streams.txt:
2138 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2140 * docs/gst/gstreamer-sections.txt:
2141 Fixed documentation from my previous commit (added new API add
2142 gst_value_set_structure(), add gst_value_get_structure() and
2143 GST_VALUE_HOLDS_STRUCTURE).
2145 2007-10-22 Stefan Kost <ensonic@users.sf.net>
2147 * gst/gstdebugutils.c:
2148 Reflow code to fix uninitialized variable warning.
2150 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2152 * gst/gstcaps.c: (gst_caps_to_string),
2153 (gst_caps_from_string_inplace):
2154 * gst/gststructure.c: (gst_structure_get_abbrs),
2155 (gst_structure_to_string), (gst_structure_from_string):
2156 * gst/gstvalue.c: (gst_value_set_structure),
2157 (gst_value_get_structure), (gst_value_serialize_structure),
2158 (gst_value_deserialize_structure), (_gst_value_initialize):
2160 * tests/check/gst/gststructure.c: (GST_START_TEST),
2161 (gst_structure_suite):
2162 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2163 Added GstStructure to gst_value_table and its related functions.
2164 Changed gst_structure_to_string to print ';' in the end.
2165 Changed gst_caps_to_string to not print ';' beteween its
2166 fields (structures) anymore and remove the lastes ';' from latest
2167 structure. Now it is possible to have nested structures.
2168 In addition, backward compatibilty is assured by accepting '\0' as
2169 end delimiter. Fixes: #487969.
2170 API: add gst_value_set_structure()
2171 API: add gst_value_get_structure()
2172 API: add GST_VALUE_HOLDS_STRUCTURE
2174 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
2177 When no GSource callback has been set up, tell developer
2178 to use a function that actually exists.
2180 2007-10-17 Stefan Kost <ensonic@users.sf.net>
2182 * docs/gst/gstreamer-sections.txt:
2186 * gst/gstdebugutils.c:
2187 * gst/gstdebugutils.h:
2190 * tools/gst-launch.c:
2191 Allow dumping pipelines as dot graphs. Fixes #456573.
2193 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2195 * gst/gststructure.c:
2196 Allow '+' as well, it can be part of media or mime types
2197 such as image/svg+xml.
2199 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2201 * docs/gst/gstreamer-sections.txt:
2204 API: add gst_bus_pop_filtered
2205 API: add gst_bus_timed_pop_filtered
2206 Two new functions for waiting for specific message types on the
2207 bus for a specified amount of time without iterating any main
2208 loops or main contexts.
2210 * tests/check/gst/gstbus.c:
2211 Some tests for the new functions.
2213 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2215 * docs/libs/gstreamer-libs-sections.txt:
2216 Make gtk-doc ignore stuff it should ignore.
2218 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2220 * libs/gst/check/gstcheck.c:
2221 * libs/gst/check/gstcheck.h:
2222 Allow runtime selection of unit tests to run via the GST_CHECKS
2223 environment variable (test case function names, comma-separated).
2225 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2227 * gst/gststructure.c:
2228 * tests/check/gst/gststructure.c:
2229 Revert serialisation change and constrain structure-names after
2230 consensus on irc. Update api documentation to reflect the change.
2232 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2234 * gst/gststructure.c:
2235 Improve serialization and fix tests.
2237 * tests/check/gst/gststructure.c:
2238 Add another test that covers why I actually did the previous structure
2241 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2243 * tools/gst-inspect.c: (print_element_info):
2244 Don't crash when inspecting an element.
2246 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2248 * tests/check/gst/gststructure.c:
2249 Add unit test for escaping of structure name when serialising
2250 and deserialising to/from strings.
2252 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2254 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2255 (gst_single_queue_new):
2256 * plugins/elements/gstqueue.c: (gst_queue_init),
2257 (gst_queue_push_one):
2258 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2259 upstream is tricked into thinking it can suggest a format downstream
2260 while downstream does not support that format. The real problem is that
2261 core calls acceptcaps when pushing a buffer with new caps, for which we
2262 do a little workaround by setting the caps on the srcpad ourselves
2263 before pushing the buffer (until this is figured out). Fixes #486758.
2265 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2267 * gst/gststructure.c:
2269 Add some more comments and debug output. Quote structure name to fix
2270 deserialisation of some strings.
2272 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2275 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2276 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2278 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2280 * tools/gst-inspect.c:
2281 Save approx. 400 1 byte allocs when printing. Use API to acces element
2287 * tools/gst-xmlinspect.c:
2288 Use API to acces element details.
2290 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2293 Fix some spelling errors.
2295 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2297 * gst/gstbin.c: (bin_handle_async_done):
2298 Correctly set the next state if all of our async children commited their
2299 state. This makes sure we can actually cancel the state change in
2300 progress. Fixes a regression in Rhythmbox when seeking.
2302 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2305 Don't shadow local variable.
2308 Don't shadow global function name.
2310 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2312 * gst/gstelementfactory.c:
2313 * gst/gstpluginfeature.c:
2314 * gst/gstpluginfeature.h:
2315 * gst/gstregistrybinary.c:
2316 * gst/gstregistryxml.c:
2317 * gst/gsttypefind.c:
2318 Use already-interned string for the private GstPluginFeature
2321 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2323 * docs/libs/gstreamer-libs-sections.txt:
2324 Add new API to docs; fixes the build.
2326 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2328 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2330 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2331 (gst_base_sink_event):
2332 * libs/gst/base/gstbasesink.h:
2333 Add function to wait for EOS, subclasses can use this to correctly wait
2334 for devices to drain before performing the EOS logic. Fixes #485343.
2335 API: gst_base_sink_wait_eos()
2337 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2340 Cast description string constants in GST_PLUGIN_DEFINE macros
2341 to a (gchar*) to make C++ code using these macros compile
2342 without warning with g++-4.2 (see #462737). Even if slightly
2343 ugly, this seems preferable to putting the description strings
2344 into the GLib quark table or making the structure member a
2345 const gchar * and doing casts in core code that allocs and
2346 frees these strings, or requiring a cast in the C++ code.
2348 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2351 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2352 to print the entire class/function signature into the log
2353 file for C++ code. This only affects C++ code, for C code
2354 everything remains the same.
2356 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2358 * gst/gstbin.c: (remove_from_queue):
2359 Work around a problem with pipelines containing (semi)loops until a
2360 proper, more complicated solution is ready. See #475455.
2362 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2366 * gst/gstregistrybinary.c:
2367 * gst/gstregistryxml.c:
2368 Put more strings into the GLib quark table. No need to keep
2369 a hundred-something copies of identical version strings,
2370 license strings, package name strings and package origin
2373 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2375 * docs/manual/advanced-dataaccess.xml:
2376 Don't imply that it's okay to unconditionally change
2377 buffer data or buffer metadata in a pad probe callback,
2378 and a bunch of other comments. Fixes #430031.
2380 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2382 * win32/common/gstenumtypes.c:
2383 * win32/common/gstenumtypes.h:
2384 * win32/common/gstversion.h:
2385 Update generated files.
2387 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2389 * docs/manual/advanced-autoplugging.xml:
2390 Prefix section with broken code with a warning (see #342432).
2392 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2394 * docs/manual/appendix-integration.xml:
2395 * docs/manual/basics-init.xml:
2396 Call g_thread_init() before g_option_context_new() to
2397 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2399 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2401 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2402 (gst_base_sink_queue_object_unlocked),
2403 (gst_base_sink_queue_object), (gst_base_sink_event),
2404 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2405 When we received EOS and are waiting for when to post the EOS message,
2406 our state is prerolled and we should not return ASYNC.
2407 Reorganize some code paths to implement this behavior.
2409 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2411 Add unit test to verify above EOS fix.
2413 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2415 * plugins/elements/gsttypefindelement.c:
2416 (gst_type_find_element_have_type), (gst_type_find_element_init),
2417 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2418 Move detecting the input caps of the sinkpad to the setcaps function.
2419 This allows us to update the output caps when we receive new input caps
2420 instead of always using the first detected caps.
2422 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2424 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2425 (gst_base_sink_get_position):
2426 Don't try to preroll non-async elements after a flush.
2427 Subtract latency form clock times when reporting position.
2429 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2431 * gst/gstpad.c: (gst_pad_pause_task):
2433 Small comment and documentation update.
2435 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2437 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2438 (gst_base_src_set_live), (gst_base_src_is_live),
2439 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2440 (gst_base_src_default_event), (gst_base_src_wait),
2441 (gst_base_src_do_sync), (gst_base_src_get_range),
2442 (gst_base_src_pad_get_range), (gst_base_src_loop),
2443 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2444 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2445 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2446 (gst_base_src_change_state):
2447 Rework the locking of basesrc in a similar fashion to basesink. We
2448 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2449 us to handle live sources and semi live ones much better.
2451 Fix unlocking when seeking, shutting down and pausing in live sources.
2453 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2455 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2456 Fix compilation again.
2458 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2461 Use meaningful categories for the logs to clean the default one.
2463 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2465 * tests/check/pipelines/cleanup.c:
2466 Print message name and not just number.
2468 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2470 * docs/design/draft-tagreading.txt:
2471 Add some more thoughts.
2473 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2475 * tests/check/pipelines/simple-launch-lines.c:
2476 Print message name and not just number.
2478 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2480 * libs/gst/base/gsttypefindhelper.c:
2481 Speedup typefinding. This is work in progress (see #459862).
2483 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2486 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2487 Spotted by Josep Torra Valles <josep@fluendo.com>.
2489 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2492 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2493 field has moved to GstObject.
2495 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2497 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2498 (gst_base_src_get_range), (gst_base_src_change_state):
2499 Call unlock for live sources so that they can't get stuck in _create and
2500 produce a buffer before they are set back to PLAYING.
2502 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2504 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2505 (gst_queue_locked_dequeue):
2506 Comment the segment-related code... in the PROPER function.
2507 See #482147 and my commit from yesterday.
2509 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2511 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2512 Also initialize the counter that calculates the first timestamp on a
2513 buffer correctly for non-live sources.
2515 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2517 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2518 Disable code that's breaking the current-time-level reporting.
2521 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2523 * docs/gst/gstreamer-sections.txt:
2524 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2525 as they shouldn't show up. Fixes the docs build.
2527 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2530 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2531 Define M_PI which is used in files which are including gstinfo.h.
2532 VS6 includes doesn't define it.
2533 * win32/common/libgstbase.def:
2534 * win32/common/libgstcontroller.def:
2535 * win32/common/libgstreamer.def:
2536 Add new exported functions and variables.
2537 * win32/vs6/libgstcontroller.dsp:
2538 * win32/vs6/libgstreamer.dsp:
2539 Update the list of files to build.
2541 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2543 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2545 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2546 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2547 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2548 Improve debugging. Fixes #480858.
2550 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2552 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2554 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2555 First patch of code cleanups, use the macros and right arguments in the
2556 macros to signal and lock the queue. See #480858.
2558 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
2560 * gst/gstbus.c: (poll_func):
2561 Improve debugging when dealing with _poll().
2563 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
2565 * gst/gstregistryxml.c:
2566 Fix memory leak I introduced a few days ago.
2568 2007-09-26 Michael Smith <msmith@fluendo.com>
2570 * gst/gstbuffer.c: (gst_buffer_finalize):
2571 Make it once again possible to free GstBuffers in the default
2573 The poisoning scribbles on parts of the miniobject we need in
2577 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
2579 * docs/gst/gstreamer-sections.txt:
2582 API: add GST_TAG_COMPOSER, fixes #459809.
2584 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
2588 Add the 3-clause BSD license and the MIT/X11 license to the license
2589 list. Fixes #479784.
2591 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
2593 * docs/faq/getting.xml:
2594 Add Q+A about different GStreamer versions (#364056).
2596 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2598 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2599 (gst_base_sink_event), (gst_base_sink_change_state):
2600 Return correct gboolean from query function.
2602 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2604 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2605 (gst_base_sink_event), (gst_base_sink_query),
2606 (gst_base_sink_change_state):
2607 Simplify latency query.
2608 When not synchronizing, we can report latency without querying the peer
2611 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2615 Fix small typos in the docs.
2617 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
2619 * docs/design/draft-latency.txt:
2620 * docs/design/draft-push-pull.txt:
2621 * docs/design/draft-tagreading.txt:
2622 * docs/design/part-MT-refcounting.txt:
2623 * docs/design/part-activation.txt:
2624 * docs/design/part-block.txt:
2625 * docs/design/part-element-source.txt:
2626 * docs/design/part-events.txt:
2627 * docs/design/part-gstbin.txt:
2628 * docs/design/part-gstelement.txt:
2629 * docs/design/part-gstobject.txt:
2630 * docs/design/part-gstpipeline.txt:
2631 * docs/design/part-messages.txt:
2632 * docs/design/part-preroll.txt:
2633 * docs/design/part-push-pull.txt:
2634 * docs/design/part-qos.txt:
2635 * docs/design/part-query.txt:
2636 * docs/design/part-scheduling.txt:
2637 * docs/design/part-seeking.txt:
2638 * docs/design/part-segments.txt:
2639 * docs/design/part-states.txt:
2640 Documentation updates and typo fixes.
2642 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
2644 * plugins/elements/gstfakesink.c:
2645 Add some debug text to error message to indicate that
2646 we errored out on request.
2648 * tools/gst-launch.c:
2649 When the state change to PLAYING fails, check for an
2650 error message on the bus and print it.
2652 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2654 translated by: Jorge González González <aloriel@gmail.com>
2658 Added Spanish translation.
2660 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
2662 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2663 Fix printf arguments.
2665 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2667 * tests/check/generic/states.c:
2668 Improved state change unit test.
2670 2007-09-20 Stefan Kost <ensonic@users.sf.net>
2673 Move priv to the right place.
2675 * gst/gstsystemclock.c:
2676 Add FIXME: and improve log.
2678 * tests/check/Makefile.am:
2679 * tests/examples/manual/Makefile.am:
2680 Work with all types of registries.
2682 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
2684 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2685 Don't unref the event after pushing it. Fixes #478401.
2687 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2690 * tests/examples/manual/.cvsignore:
2691 Ignore registries in any format.
2693 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
2695 * gst/glib-compat-private.h:
2696 Add compatibility macro for g_intern_string() for
2697 GLib-2.8 (any reason we can't just bump the
2698 requirement to at least 2.10?)
2700 * gst/gstpadtemplate.h:
2701 * gst/gstelementfactory.c:
2702 * gst/gstregistryxml.c:
2703 * gst/gstregistrybinary.c:
2704 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2705 up the internal code accordingly. This shouldn't be a problem, since
2706 there is no reason external code could ever assume the string in such
2707 a structure is dynamically allocated unless it did that itself; the
2708 use of g_strdup() is private to element factories. The new code also
2709 saves some memory by putting pad template name strings into the GLib
2710 quark table instead of allocating them dynamically.
2711 Declaring this field constant fixes warnings with g++-4.2 when using
2712 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2714 2007-09-19 Stefan Kost <ensonic@users.sf.net>
2716 * gst/gstelementfactory.c:
2717 Release static caps. Fixes #475723.
2719 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
2723 Make some internal API take const gchar * instead of just
2724 gchar * to avoid compiler warnings with g++-4.2.2 when
2725 passing string constants (partially fixes #478092).
2727 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2729 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2730 A latency query fails when one of the sinks fail.
2732 * gst/gstelement.c: (gst_element_set_base_time):
2735 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2737 * gst/gstbin.c: (gst_bin_continue_func):
2738 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2739 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2740 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2742 Fix minor compilation warnings shown with Forte.
2744 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
2746 * plugins/elements/gstqueue.c: (apply_buffer),
2747 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2748 Measure queue level based on the diff between head and tail timestamps
2749 even when pushing the first buffer.
2751 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2753 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2754 (gst_base_sink_event), (gst_base_sink_change_state):
2755 Sinks that don't preroll can always be queried for the latency.
2756 Don't post ASYNC start when we are not async.
2758 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2760 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2761 (gst_queue_handle_sink_event), (gst_queue_chain),
2762 (gst_queue_push_one), (gst_queue_handle_src_query),
2763 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2764 * plugins/elements/gstqueue.h:
2765 When downstream returns UNEXPECTED from pushing a buffer, don't try to
2766 push more buffers but allow pushing of EOS and NEWSEGMENT.
2767 Add some more debug info here and there. Fixes #476514.
2769 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
2771 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2772 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2773 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2774 (gst_base_sink_set_flushing), (gst_base_sink_query),
2775 (gst_base_sink_change_state):
2776 Latency query is allowed after we are prerolled. Introduce a new flag
2777 for this and stop abusing other variables.
2779 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2781 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2782 Push OOB events downstream when we get them in send_event. This allows
2783 the application to insert events in the pipeline.
2784 Add some more comments.
2786 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2788 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2789 (do_bin_latency), (gst_bin_change_state_func):
2790 * gst/gstpipeline.c: (gst_pipeline_change_state):
2791 Move latency query from GstPipeline to GstBin so that we can also
2792 use it when async-handling is enabled on bins.
2794 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2796 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2797 (gst_base_src_do_sync), (gst_base_src_change_state):
2799 Clean up the timestamping and syncing code for pseudo live sources.
2801 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
2803 Patch by: Steve Fink <sphink gmail com>
2805 * docs/manual/appendix-checklist.xml:
2806 Mention less -R switch in the section about debug output (#474055).
2808 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
2810 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2811 Queue can latency to the pipeline up to the configured max size in time.
2812 Report this fact in the latency query.
2814 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2816 Patch by: Sebastien Moutte <sebastien at moutte dot net>
2818 * libs/gst/controller/gstinterpolation.c:
2819 * libs/gst/controller/gstlfocontrolsource.c:
2820 Use gst_guint64_to_gdouble() when converting from a uint64 or
2821 GstClockTime to double to fix the build on win32. Fixes #474371.
2823 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2825 * gst/gstbuffer.c: (gst_buffer_finalize):
2826 Implement poisoning for GstBuffer if --enable-poisoning is specified.
2827 When finalizing a buffer the complete struct is filled with 0xff,
2828 thus making a use of the buffer after the final unref impossible.
2830 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2832 * tests/check/libs/controller.c: (GST_START_TEST):
2833 Use fail_unless_equals_int(a, b) instead of
2834 fail_unless_equals (a == b) to get better output on failures.
2836 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2838 * tests/check/gst/gsturi.c:
2839 Also check for the other file URI variant on win32.
2841 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2843 * gst/gsturi.c: (gst_uri_get_location):
2844 If there's no hostname, we want to return 'c:/foo/bar.txt'
2845 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2847 * tests/check/gst/gsturi.c:
2848 Unit test for the above and a few more things.
2850 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2852 * docs/design/part-live-source.txt:
2853 Add docs on how live sources should timestamp.
2855 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2856 Add some more debug info.
2857 For subclasses that are live and like to sync, add aditional startup
2858 latency to sync time and timestamps so that we timstamp according to the
2861 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2864 Also do a g_type_class_ref() for the subbuffer type in
2867 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2869 * docs/gst/gstreamer-sections.txt:
2870 * gst/gstpad.c: (gst_pad_peer_query):
2872 Add function to perform a query on the peer of a pad.
2873 API: gst_pad_peer_query()
2875 2007-09-11 Stefan Kost <ensonic@users.sf.net>
2877 * tests/check/gst/gstsystemclock.c:
2878 Cleanup the test a little (use gst-logging and not g_message). Improve
2879 test to check if a wait reached the target.
2881 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2883 * docs/libs/gstreamer-libs-sections.txt:
2884 Add new API to docs and fix the build.
2886 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
2888 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2889 (gst_base_src_init), (gst_base_src_set_do_timestamp),
2890 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2891 (gst_base_src_get_property), (gst_base_src_do_sync):
2892 * libs/gst/base/gstbasesrc.h:
2893 Add property to make the basesrc timestamp buffers based on the current
2895 API: GstBaseSrc::do-timestamp
2896 API: gst_base_src_set_do_timestamp()
2897 API: gst_base_src_get_do_timestamp()
2899 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
2901 * docs/random/release:
2902 Really make sure translations are up-to-date before
2903 a release (#465010).
2905 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
2907 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2908 Always destroy the timer, also in error cases.
2910 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2912 * docs/manual/highlevel-xml.xml:
2913 Fix XML example code. Fixes #472714.
2915 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2917 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2918 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2919 (gst_base_sink_query):
2920 Protect eos and have_preroll with the OBJECT lock so we don't need to
2921 take the PREROLL lock when querying the latency. Fixes #473846.
2923 2007-09-05 Stefan Kost <ensonic@users.sf.net>
2926 Give some log-messages a category.
2928 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
2930 * gst/gststructure.c:
2931 (gst_structure_fixate_field_nearest_fraction):
2932 Fix fraction list fixation code. Take the fraction with the smallest
2933 difference with the target instead of the first one in the list.
2935 * tests/check/gst/gststructure.c: (GST_START_TEST),
2936 (gst_structure_suite):
2937 Added test to verify correct fraction list fixation behaviour.
2939 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
2941 * win32/common/libgstreamer.def:
2942 Export gst_bus_add_signal_watch too.
2944 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
2946 * docs/libs/gstreamer-libs-sections.txt:
2947 Add new methods to docs.
2949 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2950 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2951 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2952 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2953 * libs/gst/base/gstbasesink.h:
2954 Add ts-offset property to fine-tune the synchronisation.
2955 API: GstBaseSink::ts-offset property
2956 API: gst_base_sink_set_ts_offset()
2957 API: gst_base_sink_get_ts_offset()
2959 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
2961 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2962 (gst_base_sink_init), (gst_base_sink_set_sync),
2963 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2964 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2965 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2966 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2967 (gst_base_sink_get_property), (gst_base_sink_change_state):
2968 * libs/gst/base/gstbasesink.h:
2969 Add async property to instruct the sink never to inform the parent about
2970 ASYNC state changes, update docs.
2971 Check argument with g_return_* for the public functions.
2972 API: GstBaseSink::async property
2973 API: gst_base_sink_set_async_enabled()
2974 API: gst_base_sink_is_async_enabled()
2976 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
2978 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2981 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2982 (gst_base_src_default_query), (gst_base_src_wait),
2983 (gst_base_src_do_sync), (gst_base_src_change_state):
2984 Rearrange some code so that we can add support for measuring the
2987 2007-08-27 Stefan Kost <ensonic@users.sf.net>
2989 * docs/random/ensonic/dynlink.txt:
2990 More thoughs on this.
2992 * plugins/elements/gstcapsfilter.c:
2993 Add bugzilla ticket number to FIXME comment.
2995 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
2997 * docs/design/part-TODO.txt:
2998 * docs/design/part-block.txt:
3001 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3004 Revert patch which uses $(gst_headers) instead of $^ because it
3007 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3009 * tests/check/gst/gstbin.c: (GST_START_TEST):
3010 Fix leaks in the new unit test.
3012 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
3015 Don't use GST_INFO before the debug system is actually initialised
3016 (shouldn't do any harm, but won't print anything either, so we can
3017 just as well remove it).
3020 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3021 compilers that don't support variadic macros (such as MSVC), should
3022 check for debug_level <= __gst_debug_min as well, since that's the
3023 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3024 inline helper functions. Should improve performance a bit, but also
3025 makes sure uses of GST_INFO et.al are ignored if the debugging
3026 system isn't initialised yet (instead of printing an assertion
3029 2007-08-23 Stefan Kost <ensonic@users.sf.net>
3031 patch by: David Nečas <yeti@physics.muni.cz>
3034 Replace some non portable makefile constructs.
3036 2007-08-21 Stefan Kost <ensonic@users.sf.net>
3038 * common/gtk-doc-plugins.mak:
3039 Grrrrr. Don't remove the types file on make clean.
3041 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
3043 * tools/gst-launch.1.in:
3044 Add colorspace to example pipeline. Fixes #458274.
3046 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
3048 * docs/random/release:
3049 The release manager should run 'make download-po' before making a
3050 release to make sure translations are up-to-date.
3056 Add some new translations.
3058 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
3060 * tools/gst-launch.c: (event_loop), (main):
3061 Don´t try to do any state management when a live pipeline posts
3063 Also make the buffering string translatable.
3065 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3067 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3068 (bin_handle_async_start), (gst_bin_handle_message_func):
3070 When adding elements, insert messages into the bus of the newly added
3071 element and make sure the element is the source of the message. This
3072 allows the parent bin to intercept the message and do the
3073 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3074 messages to the app (which is not allowed).
3077 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3078 Fix testsuite so that is does not work around messages that should not
3079 have been posted in the first place.
3081 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3083 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3084 (update_degree), (gst_bin_sort_iterator_next):
3085 Fix annoying bug in the sorted iterator where a sink that is not really
3086 a sink (when it has downstream links) screwed up the iterator.
3088 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3089 Unit test to verify the fix.
3091 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3094 Add some more docs for the messages.
3096 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3097 (gst_base_sink_query):
3098 Add some more debugging.
3100 * tools/gst-launch.c: (event_loop):
3101 When interrupting, don't try to set pipeline to PAUSED twice.
3103 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3106 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3107 (bin_handle_async_start), (gst_bin_handle_message_func):
3108 Move ASYNC_START message posting to where it belongs, similar to
3110 Don't post ASYNC_START when we are in error.
3111 Post ASYNC_START when we added an async element to a bin.
3113 2007-08-14 Julien MOUTTE <julien@moutte.net>
3115 * gst/gstindex.c: (gst_index_add_association): Fix index entry
3116 generation from vargs. Fixes #466595.
3118 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3120 * gst/gstbin.c: (gst_bin_element_set_state):
3121 Always change the state of a NO_PREROLL element even if it has ASYNC
3122 elements inside (in case of a bin).
3124 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3125 Unit test for this case.
3127 2007-08-13 Stefan Kost <ensonic@users.sf.net>
3129 * libs/gst/check/gstbufferstraw.c:
3130 * libs/gst/check/gstcheck.h:
3131 * libs/gst/controller/gstcontroller.c:
3132 * libs/gst/controller/gstcontrolsource.h:
3133 * libs/gst/controller/gstlfocontrolsource.h:
3134 * plugins/elements/gstcapsfilter.h:
3135 * plugins/elements/gstfdsink.h:
3136 * plugins/elements/gstfdsrc.h:
3137 Add more missing docs.
3139 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3141 * gst/gststructure.c:
3142 Add Since tag to docs.
3144 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3146 * docs/gst/gstreamer-sections.txt:
3147 * gst/gststructure.c: (gst_structure_get_uint):
3148 * gst/gststructure.h:
3149 Add function to get uint from a structure.
3150 API: gst_structure_get_uint()
3152 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3154 * gst/gstcaps.c: (gst_caps_set_simple_valist),
3155 (gst_caps_intersect):
3156 Fix proper check for simple caps.
3158 2007-08-10 Stefan Kost <ensonic@users.sf.net>
3160 * docs/gst/Makefile.am:
3161 * docs/libs/Makefile.am:
3162 Remove cruft and do some cleanups.
3164 * docs/gst/gstreamer-docs.sgml:
3165 * docs/libs/gstreamer-libs-docs.sgml:
3166 Prepare for comming gtkdoc features (rebase against online docs).
3168 2007-08-10 Michael Smith <msmith@fluendo.com>
3170 * docs/gst/gstreamer-sections.txt:
3171 Add gst_registry_add_path to docs.
3173 2007-08-10 Michael Smith <msmith@fluendo.com>
3175 * gst/gstregistry.h:
3176 Add gst_registry_add_path, which was missing from this header.
3178 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
3180 * libs/gst/controller/gstlfocontrolsource.c:
3183 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3185 * libs/gst/base/gstbasesink.c:
3186 Don't send an async_start message during downwards state change if
3187 target state is less than READY
3189 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3191 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3195 Added Hungarian translation.
3197 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3204 Updated translations.
3206 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3208 * libs/gst/controller/Makefile.am:
3209 Dist gstlfocontrolsourceprivate.h
3211 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3213 * docs/libs/gstreamer-libs.types:
3214 Don't register the enum type gst_lfo_waveform_get_type() in the
3215 .types file - only GObject derived types belong.
3217 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3219 Patch by: <arenevier at fdn dot fr>
3222 Remove comma from last element in enum to avoid compile errors when
3223 using -pendantic. Fixes #464366.
3225 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3227 * docs/design/part-TODO.txt:
3228 Add some more TODO items
3230 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3233 * gst/gstcaps.c: (gst_caps_intersect):
3234 Optimize trivial intersection case between identical caps pointers.
3236 * gst/gstelement.c: (gst_element_continue_state),
3237 (gst_element_set_state_func):
3239 Fix spelling and grammar mistakes.
3241 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3245 Update POTFILES. Fixes #461599.
3247 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3250 Fix confusing typo in debug output.
3252 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3254 reviewed by: Stefan Kost <ensonic@users.sf.net>
3256 * libs/gst/controller/Makefile.am:
3257 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3258 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3259 (gst_lfo_control_source_new),
3260 (gst_lfo_control_source_set_waveform),
3261 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3262 (gst_lfo_control_source_finalize),
3263 (gst_lfo_control_source_dispose),
3264 (gst_lfo_control_source_set_property),
3265 (gst_lfo_control_source_get_property),
3266 (gst_lfo_control_source_class_init):
3267 * libs/gst/controller/gstlfocontrolsource.h:
3268 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3269 API: Add GstLFOControlSource, a control source that gives values
3270 for specific timestamps based on several periodic waveforms.
3273 * tests/check/libs/controller.c: (GST_START_TEST),
3274 (gst_controller_suite):
3275 * docs/libs/gstreamer-libs-docs.sgml:
3276 * docs/libs/gstreamer-libs-sections.txt:
3277 * docs/libs/gstreamer-libs.types:
3278 Add documentation and unit tests for GstLFOControlSource.
3280 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3285 === release 0.10.14 ===
3287 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3290 releasing 0.10.14, "Breathing Vacuum"
3292 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3294 * gst/gstelement.c: (gst_element_class_set_details_simple):
3296 Make strings passed to gst_element_class_set_details_simple()
3297 constant, as they should be (#462752).
3299 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3301 * gst/gstbin.c: (gst_bin_change_state_func),
3302 (bin_handle_async_done), (gst_bin_handle_message_func):
3303 Don't forget about the fact that some element went ASYNC even after a
3304 resync. This makes us post the ASYNC_DONE message correctly.
3307 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3309 * gst/gstregistry.c: (gst_registry_add_feature):
3310 When replacing an existing feature in the registry, make sure to
3311 continue holding a reference until we've replaced the name string
3312 within our feature hash table. Make sure to use g_hash_table_replace
3313 instead of g_hash_table_insert to ensure the new name string is used
3314 as a key instead of the old one that we're about to free.
3317 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3319 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3320 (gst_plugin_feature_set_name):
3321 Revert patch from #459466 until after the release and we can work
3322 out exactly what the problem is (if any).
3324 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3326 * docs/gst/gstreamer-sections.txt:
3329 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3331 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3333 * docs/libs/Makefile.am:
3334 Include our build-prefix libs and includes before the generic ones to
3335 avoid linking against the installed libs when we want the build-tree
3338 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3340 Patch by: Steve Fink <sphink gmail com>
3342 * docs/pwg/building-testapp.xml:
3343 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3344 if people try to build or install the example from the plugin
3345 template against a GStreamer from package using the configure
3348 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3350 Patch by: Steve Fink <sphink gmail com>
3352 * tools/gst-inspect.1.in:
3353 Document --print-all and --print-plugin-auto-install-info command
3354 line options in man page.
3356 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3358 * docs/gst/gstreamer-sections.txt:
3359 Add docs for new api function.
3361 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3363 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3364 * gst/gstelementfactory.h:
3365 API: gst_element_factory_has_interface()
3366 Added method to check if an element factory implements a named
3369 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3372 * docs/gst/gstreamer.types.in:
3373 Another conditional doc check.
3376 * gst/gstparamspecs.h:
3377 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3382 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3384 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3385 (gst_registry_binary_load_feature),
3386 (gst_registry_binary_load_plugin),
3387 (gst_registry_binary_read_cache):
3388 Print error just once and with additional info.
3390 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3392 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3393 (helper_find_suggest), (helper_find_get_length),
3394 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3395 (gst_type_find_helper_for_buffer):
3396 Cleanup the typefindhelper code and add private doc comments.
3398 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3400 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3401 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3402 Fix capsfilter for cases where the caps set on capsfilter will provide
3403 additional information.
3406 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3408 * gst/gsttypefindfactory.c:
3409 Fix docs that recommened wrong function to use.
3411 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3413 * tools/gst-inspect.c: (print_plugin_features):
3414 Also give media-type for typefinders in element output.
3416 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3418 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3419 (gst_registry_remove_features_for_plugin_unlocked),
3420 (gst_registry_add_feature), (gst_registry_remove_feature),
3421 (gst_registry_lookup_feature_locked):
3422 * gst/gstregistry.h:
3423 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3426 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3428 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3429 (gst_plugin_feature_set_name):
3430 Avoid double memory usage for pluginfeature names. Fixes #459466.
3432 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3435 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3436 driving the pipeline may need to explicitly check for NOT_LINKED as
3437 well, since IS_FATAL doesn't cover that.
3439 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3441 * docs/pwg/advanced-types.xml:
3442 Fix typo and duplicate entry in video formats list.
3444 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3446 * libs/gst/controller/gstinterpolation.c:
3447 Also round to the nearest int when using cubic interpolation.
3449 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3451 * libs/gst/controller/gstinterpolation.c:
3452 When linearly interpolating integer types, round to the nearest int
3453 by adding 0.5. Don't do it for float/double types.
3454 Fixes the failing controller test on my machine, which is somehow
3455 rounding differently than on the buildbots.
3457 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3459 * tools/gst-plot-timeline.py:
3460 Better log parsing (categories can have -). Adjust text vs. lines, so
3461 that they span the same y-range.
3463 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3465 * docs/random/ensonic/audiobaseclasses.txt:
3466 * docs/random/ensonic/dynlink.txt:
3467 * docs/random/ensonic/profiling.txt:
3470 * docs/random/moving-plugins:
3471 Add note to use g_assert type macros.
3473 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3476 * libs/gst/check/Makefile.am:
3477 Add libm check as we use in for plugins.
3479 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3481 * gst/gstbin.c: (gst_bin_continue_func):
3482 Check that the state_cookie hasn't changed since the continue_func
3483 was scheduled. Avoids problems where the state changes back to
3484 something it shouldn't be because it was changed in the meantime.
3486 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3488 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3489 (gst_registry_binary_save_string),
3490 (gst_registry_binary_save_pad_template),
3491 (gst_registry_binary_save_feature),
3492 (gst_registry_binary_save_plugin),
3493 (gst_registry_binary_load_feature),
3494 (gst_registry_binary_load_plugin),
3495 (gst_registry_binary_read_cache):
3496 Fix memory leak. Be less verbose in the log.
3498 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3500 * tests/check/elements/.cvsignore:
3501 Add file to cvsignore as commanded.
3503 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3505 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3506 (mq_dummypad_event), (run_output_order_test):
3507 Use a GStaticMutex to protect all cases where libcheck
3508 fail_if/fail_unless macros might be called from multiple threads
3509 simultaneously to avoid errors like:
3510 "check_pack.c:107: :-1081725400:Bad message type arg"
3512 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3514 * tests/check/pipelines/stress.c: (GST_START_TEST):
3515 Make sure we set the pipeline back to the NULL state before
3516 dropping our final reference.
3518 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3520 * tests/check/elements/tee.c: (GST_START_TEST):
3521 Make the tee stress-test a little less stressful so it doesn't just
3522 time out on slow-machines, and remove a small race when it's starting
3523 up by adding a get_state() call.
3525 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3528 Avoid reading registry twice on startup. Fixes #457322.
3530 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3532 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3533 * pkgconfig/gstreamer-check.pc.in:
3534 Substitute the CFLAGS for libcheck into our .pc file too so that
3535 dependent modules will pick it up properly if libcheck is installed
3536 into some other prefix.
3538 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3541 Revert the pkg-config check for libcheck, since it pulls in the
3542 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3543 a proper solution, either from the check project, or something else.
3545 2007-07-12 Stefan Kost <ensonic@users.sf.net>
3548 Use pkg-config to locate check.
3550 2007-07-10 Stefan Kost <ensonic@users.sf.net>
3557 Add deprecation guards.
3559 * libs/gst/base/gstcollectpads.h:
3560 Don't document object (this is implicitly private).
3562 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3564 * gst/gststructure.c: (gst_structure_parse_value):
3565 When deserialising foo=bar without a type cast, check if it's a
3566 boolean before falling back to a string type, otherwise things like
3567 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3568 because the filtercaps end up having a signed=(string)true field,
3569 which causes problems later when intersection caps.
3571 * tests/check/gst/gststructure.c: (GST_START_TEST):
3572 Add a unit test for this.
3574 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
3576 Reviewed by: Stefan Kost <ensonic@users.sf.net>
3578 * libs/gst/controller/Makefile.am:
3579 * libs/gst/controller/gstcontroller.c:
3580 (gst_controlled_property_add_interpolation_control_source),
3581 (gst_controlled_property_new), (gst_controlled_property_free),
3582 (gst_controller_find_controlled_property),
3583 (gst_controller_new_valist), (gst_controller_new_list),
3584 (gst_controller_new), (gst_controller_remove_properties_valist),
3585 (gst_controller_remove_properties_list),
3586 (gst_controller_remove_properties),
3587 (gst_controller_set_property_disabled),
3588 (gst_controller_set_disabled), (gst_controller_set_control_source),
3589 (gst_controller_get_control_source), (gst_controller_get),
3590 (gst_controller_sync_values), (gst_controller_get_value_array),
3591 (_gst_controller_dispose), (gst_controller_get_type),
3592 (gst_controlled_property_set_interpolation_mode),
3593 (gst_controller_set), (gst_controller_set_from_list),
3594 (gst_controller_unset), (gst_controller_unset_all),
3595 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3596 * libs/gst/controller/gstcontroller.h:
3597 * libs/gst/controller/gstcontrollerprivate.h:
3598 * libs/gst/controller/gstcontrolsource.c:
3599 (gst_control_source_class_init), (gst_control_source_init),
3600 (gst_control_source_get_value),
3601 (gst_control_source_get_value_array), (gst_control_source_bind):
3602 * libs/gst/controller/gstcontrolsource.h:
3603 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3604 (gst_object_get_control_source):
3605 * libs/gst/controller/gstinterpolation.c:
3606 (gst_interpolation_control_source_find_control_point_node),
3607 (gst_interpolation_control_source_get_first_value),
3608 (_interpolate_none_get), (interpolate_none_get),
3609 (interpolate_none_get_boolean_value_array),
3610 (interpolate_none_get_enum_value_array),
3611 (interpolate_none_get_string_value_array),
3612 (_interpolate_trigger_get), (interpolate_trigger_get),
3613 (interpolate_trigger_get_boolean_value_array),
3614 (interpolate_trigger_get_enum_value_array),
3615 (interpolate_trigger_get_string_value_array):
3616 * libs/gst/controller/gstinterpolationcontrolsource.c:
3617 (gst_control_point_free), (gst_interpolation_control_source_reset),
3618 (gst_interpolation_control_source_new),
3619 (gst_interpolation_control_source_set_interpolation_mode),
3620 (gst_interpolation_control_source_bind),
3621 (gst_control_point_compare), (gst_control_point_find),
3622 (gst_interpolation_control_source_set_internal),
3623 (gst_interpolation_control_source_set),
3624 (gst_interpolation_control_source_set_from_list),
3625 (gst_interpolation_control_source_unset),
3626 (gst_interpolation_control_source_unset_all),
3627 (gst_interpolation_control_source_get_all),
3628 (gst_interpolation_control_source_get_count),
3629 (gst_interpolation_control_source_init),
3630 (gst_interpolation_control_source_finalize),
3631 (gst_interpolation_control_source_dispose),
3632 (gst_interpolation_control_source_class_init):
3633 * libs/gst/controller/gstinterpolationcontrolsource.h:
3634 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3635 API: Refactor GstController into the core controller which can take
3636 a GstControlSource for providing actual values for timestamps.
3637 Implement a interpolation control source and use this for backward
3638 compatibility, deprecate a bunch of functions that are now handled
3639 by GstControlSource or GstInterpolationControlSource.
3640 Make it possible to disable the controller completely or only for
3641 specific properties. Fixes #450711.
3642 * docs/libs/gstreamer-libs-docs.sgml:
3643 * docs/libs/gstreamer-libs-sections.txt:
3644 * docs/libs/gstreamer-libs.types:
3645 Add new functions and classes to the docs.
3646 * tests/check/libs/controller.c: (GST_START_TEST),
3647 (gst_controller_suite):
3648 * tests/examples/controller/audio-example.c: (main):
3649 Port unit test and example to the new API and add some new
3652 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
3654 Patch by: Mark Nauwelaerts <manauw at skynet be>
3656 * plugins/elements/gstmultiqueue.c:
3657 (gst_multi_queue_get_internal_links), (apply_buffer),
3658 (single_queue_overrun_cb), (gst_single_queue_new):
3659 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3660 the pipeline layout can be tracked correctly. Fixes #453732.
3662 2007-07-05 Stefan Kost <ensonic@users.sf.net>
3664 * docs/gst/Makefile.am:
3665 * docs/libs/Makefile.am:
3666 * docs/plugins/Makefile.am:
3667 Simplify --extra-dir as gtkdoc scans recursively.
3669 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3671 * tools/gst-launch.c: (main):
3672 When we got an error, there is no point in waiting for preroll when
3675 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
3677 * plugins/elements/gsttee.c: (gst_tee_base_init),
3678 (gst_tee_request_new_pad), (gst_tee_release_pad),
3679 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3680 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3682 Be a lot smarter when deciding what srcpad to use for proxying
3683 the buffer_alloc. Also handle pad added/removed when doing so.
3685 Keep track of what pads we already pushed on in case we have pads
3686 added/removed while pushing. Fixes #374639
3688 * tests/check/Makefile.am:
3689 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3691 Added unit test for pad resync.
3693 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3697 Updated translations.
3699 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
3701 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3705 Added new Finnish translation.
3707 2007-06-28 Wim Taymans <wim@fluendo.com>
3709 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3710 (single_queue_overrun_cb):
3711 When figuring out when a queue is filled, use our internal time estimate
3712 based on segments, just like check_full does.
3714 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3716 * gst/gstminiobject.c: (gst_mini_object_get_type):
3717 Remove 3 do-nothing methods.
3719 2007-06-27 Wim Taymans <wim@fluendo.com>
3721 Patch by: Tim Angus <tim at ngus dot net>
3723 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3724 (gst_capsfilter_set_property):
3725 Take a reference instead of a copy when setting "caps".
3726 Fix documentation to clarify this behaviour. Fixes #449414.
3728 2007-06-27 Stefan Kost <ensonic@users.sf.net>
3730 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3731 * gst/gstplugin.c: (gst_plugin_init):
3732 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3733 * gst/gstquery.c: (gst_query_get_type):
3734 * gst/gstregistry.c: (gst_registry_init):
3735 * gst/gsturi.c: (gst_uri_handler_base_init):
3736 Remove empty instance_init() functions to save relocs and lessen the
3737 noise. Remove some of the function prototypes that are doubled by
3740 2007-06-27 Wim Taymans <wim@fluendo.com>
3742 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3744 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3745 Add peer and direction in the XML serialisation of ghostpads.
3748 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3751 Preserve useful information, thanks Tim.
3753 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
3755 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3756 (gst_single_queue_flush), (apply_segment), (apply_buffer),
3757 (gst_single_queue_push_one), (gst_multi_queue_loop),
3758 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3759 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3760 (compute_high_id), (gst_single_queue_new):
3761 * plugins/elements/gstmultiqueue.h:
3762 Take the multiqueue lock when updating the fill level so we don't get
3765 After applying a buffer or event on the src pad segment, make sure to
3766 call gst_data_queue_limits_changed() to get the data queue to unblock
3767 and check the filled state again.
3769 Rework the not-linked pad handling so the logic is that not-linked
3770 pads can push as fast as they like, but only so they never get
3771 ahead of any linked pads.
3773 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3774 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3775 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3777 Add a test to check that not-linked pads always stay behind
3782 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
3784 * docs/random/release:
3785 Some updates to the release procedure.
3787 2007-06-26 Stefan Kost <ensonic@users.sf.net>
3789 * gst/gstelementfactory.c: (__gst_element_details_clear):
3790 Microoptimization that saves stunning 80 bytes.
3792 2007-06-25 Stefan Kost <ensonic@users.sf.net>
3794 * docs/plugins/gstreamer-plugins.args:
3795 * docs/plugins/inspect/plugin-coreelements.xml:
3796 * docs/plugins/inspect/plugin-coreindexers.xml:
3797 Update docs with caps info.
3799 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3802 Updated Italian translation.
3804 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3808 Update Vietnamese translations.
3810 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3812 * libs/gst/base/gstbasesink.c:
3813 Remove unused signal enum.
3815 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3817 * docs/gst/gstreamer-sections.txt:
3819 * gst/gstutils.c: (gst_type_register_static_full):
3820 Beef up and include the docs for gst_type_register_static_full and
3821 gst_element_class_set_details_simple and add the API keyword
3824 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
3826 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3827 (update_time_level), (gst_single_queue_push_one),
3828 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3829 (single_queue_overrun_cb), (single_queue_underrun_cb),
3830 (single_queue_check_full):
3831 Fix setting max-* properties after adding queues.
3832 Use IS_FILLED for checking visible items.
3833 Signal overrun if multiple queues overrun.
3834 Add extra debug output.
3835 Patch by: Wim Taymans <wim@fluendo.com>
3837 2007-06-21 Stefan Kost <ensonic@users.sf.net>
3839 * gst/gstelement.c: (gst_element_class_set_details_simple):
3841 * gst/gstutils.c: (gst_type_register_static_full):
3843 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3844 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3845 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3846 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3847 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3848 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3849 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3850 * plugins/elements/gstidentity.c: (gst_identity_base_init):
3851 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3852 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3853 (apply_buffer), (gst_queue_chain):
3854 * plugins/elements/gsttee.c: (gst_tee_base_init):
3855 * plugins/elements/gsttypefindelement.c:
3856 (gst_type_find_element_base_init),
3857 (gst_type_find_element_class_init):
3858 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3859 API: add gst_type_register_static_full
3860 API: add gst_element_class_set_details_simple
3862 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3864 * docs/pwg/advanced-types.xml:
3865 Fix typo in iana.org URI.
3867 2007-06-19 Andy Wingo <wingo@pobox.com>
3869 * tests/check/pipelines/simple-launch-lines.c
3870 (test_state_change_returns): Enable pull-mode tests now that
3871 basesink has been fixed.
3873 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3874 Changed from gst_base_sink_is_prerolled, reversing the sense of
3875 the return value. Returns FALSE also if the sink is in pull mode,
3876 in which case it needs no preroll.
3877 (gst_base_sink_query, gst_base_sink_change_state): Update for
3878 needs_preroll change.
3879 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3880 chaining up, in which we return SUCCESS directly if we activated
3881 in pull mode instead of ASYNC. Involves countering an async_start
3882 message sent before chaining up; not sure if this is correct, in
3883 an ideal world we only send async-start when activating in push
3886 * tests/check/pipelines/simple-launch-lines.c
3887 (test_state_change_returns): New test, partially disabled until
3890 2007-06-19 Wim Taymans <wim@fluendo.com>
3892 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3893 (gst_multi_queue_sink_event):
3896 2007-06-19 Wim Taymans <wim@fluendo.com>
3898 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3899 (gst_bin_change_state_func), (bin_push_state_continue),
3900 (bin_handle_async_start), (bin_handle_async_done),
3901 (gst_bin_handle_message_func):
3902 Move the common code for posting state-change messages into
3904 Broadcast the state signal after we posted the messages.
3905 Mark the bin as busy when it's doing a state-change.
3906 Make sure async-start/done messages don't interfere with the bin's
3907 state when it's busy.
3908 After the state change, let the bin check which elements completed the
3909 state change while it was busy so that it can update its state.
3911 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
3913 * docs/random/release:
3914 Add a note about updating the doap file to the release checklist
3916 2007-06-18 Wim Taymans <wim@fluendo.com>
3918 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3919 (gst_single_queue_push_one), (gst_multi_queue_chain),
3920 (gst_multi_queue_sink_event):
3921 Make sure we don't reference the buffer/event after we have given away
3922 ownership in the queue.
3924 2007-06-18 Wim Taymans <wim@fluendo.com>
3926 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3927 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3928 Update queue state _after_ adding the item in the queue because else we
3929 could end up being full without the element added yet.
3931 2007-06-18 Wim Taymans <wim@fluendo.com>
3933 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3934 (gst_bin_remove_func), (gst_bin_get_state_func),
3935 (gst_bin_element_set_state), (gst_bin_continue_func),
3936 (bin_push_state_continue), (bin_handle_async_start),
3937 (bin_handle_async_done), (gst_bin_handle_message_func):
3939 Immediatly commit the toplevel bin state when receiving an async-done
3940 message. This enables us to avoid spawning a thread to commit the state
3941 in some common cases and it also avoids some races.
3942 Avoid spawning a state thread when adding/removing async elements to a
3943 toplevel bin. Instead we immediatly update the bin state.
3944 Get rid of iterating all the children when getting the state in the bin
3945 because it is now always up-to-date.
3946 Fix bug where locked elements would always return _SUCCESS even it they
3947 returned NO_PREROLL before being locked.
3948 Fix the order of the state_change, async-start/done messages that was
3949 sometimes incorrect.
3950 Mark the state_dirty field as deprecated, we don't need it anymore as we
3951 are always up-to-date.
3953 * gst/gstelement.c: (gst_element_get_state_func),
3954 (gst_element_continue_state):
3955 Small debug inprovements.
3956 Return the previous element state return when nothing is pending instead
3957 of blindly returning SUCCESS.
3959 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3961 Add a whole bunch of new testcases.
3963 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
3967 Update translations.
3969 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
3972 Fix typo in the docs.
3974 2007-06-15 Wim Taymans <wim@fluendo.com>
3976 * docs/libs/gstreamer-libs-sections.txt:
3977 Add docs for new methods.
3979 2007-06-15 Wim Taymans <wim@fluendo.com>
3981 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3982 (gst_multi_queue_item_new):
3983 Don't use GSlice because we don't depend on >= 2.10 yet.
3985 2007-06-15 Wim Taymans <wim@fluendo.com>
3987 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3988 (update_time_level), (apply_segment), (apply_buffer),
3989 (gst_single_queue_push_one), (gst_multi_queue_item_new),
3990 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3991 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3992 (single_queue_underrun_cb), (single_queue_check_full):
3993 Remove debug printf.
3995 2007-06-15 Wim Taymans <wim@fluendo.com>
3997 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3998 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3999 (gst_data_queue_set_flushing), (gst_data_queue_push),
4000 (gst_data_queue_pop), (gst_data_queue_drop_head),
4001 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4002 * libs/gst/base/gstdataqueue.h:
4004 Added methods to get the current levels and to inform the queue that the
4005 'full' limits changed.
4007 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4008 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4009 (gst_single_queue_flush), (update_time_level), (apply_segment),
4010 (apply_buffer), (gst_single_queue_push_one),
4011 (gst_multi_queue_item_steal_object),
4012 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4013 (gst_multi_queue_loop), (gst_multi_queue_chain),
4014 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4015 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4016 (gst_multi_queue_src_query), (single_queue_overrun_cb),
4017 (single_queue_underrun_cb), (single_queue_check_full),
4018 (gst_single_queue_new):
4019 Keep track of time in the queue by measuring the difference between
4020 running_time on input and output. This gives more accurate results and
4021 can compensate for segments correctly.
4022 Make a queue by default only 5 buffers deep. We will now increase the
4023 buffer size depending on the filledness of the other queues.
4024 Factor out commong flush code.
4025 Make sure we don't add additional refcounts to buffers when we can avoid
4027 Propagate GstFlowReturn differently.
4028 Use GSlice for intermediate GstMultiQueueItems.
4030 Resize queues on over and underruns based on filled level of other
4032 When checking if the queue is filled, prefer to measure in time if we
4033 can and fall back to bytes when no time is known.
4035 * plugins/elements/gstqueue.c:
4038 2007-06-15 Wim Taymans <wim@fluendo.com>
4040 * libs/gst/base/gstbasetransform.c:
4041 (gst_base_transform_sink_event):
4042 Work around the brokenness of the event vmethod in basetransform. Prefer
4043 to return TRUE when the subclass returned FALSE (meaning don't forward
4046 * libs/gst/base/gstbasetransform.h:
4049 2007-06-15 Wim Taymans <wim@fluendo.com>
4051 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4052 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4053 (gst_base_src_default_query), (gst_base_src_get_range),
4054 (gst_base_src_start):
4055 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4058 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4060 * docs/pwg/advanced-types.xml:
4061 Added more formats to caps table.
4063 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4065 * tools/gst-launch.c: (main):
4066 Remove crufy code. GOption does not need this workaround.
4068 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4070 * libs/gst/controller/gstcontroller.c:
4071 (gst_controlled_property_set_interpolation_mode):
4072 Fix wrong getter for enums in controller.
4074 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4076 * libs/gst/check/gstcheck.c: (gst_check_init):
4077 Intercept criticals and warnings in the Gst-Phonon log domain, so
4078 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4081 2007-06-14 Edward Hervey <edward@fluendo.com>
4083 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4084 Since this file doesn't include "gst.h" it will not go through the
4085 macros that disable GST_LOG if debugging was disabled.
4087 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4089 * libs/gst/check/Makefile.am:
4090 * libs/gst/check/gstcheck.h:
4091 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4092 * pkgconfig/gstreamer-check.pc.in:
4093 Ugly 'fix' for the controller unit test on the p5 bot: in
4094 fail_unless_equals_float() check whether the values are 'almost
4095 equal' by allowing a small absolute error, which should be good
4096 enough for our use cases (normal numbers and values close to 0).
4097 Proper fixage left to floating point arithmetic aficionados.
4099 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4101 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4102 (gst_base_sink_render_object), (gst_base_sink_get_position):
4103 Add two breaks thats where missing.
4105 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4107 * docs/libs/gstreamer-libs-sections.txt:
4108 * libs/gst/check/gstcheck.h:
4109 API: add fail_unless_equals_float() and assert_equals_float().
4110 Add documentation for some of the macros.
4112 * tests/check/libs/controller.c: (GST_START_TEST):
4113 Use newly-added asserts.
4115 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4117 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4118 Show the caps change in the log to help spotting the case of not
4119 exactly matching caps.
4121 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4123 * docs/pwg/building-boiler.xml:
4124 Fix typos, spotted by Thijs Vermeir (#447190).
4126 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4128 * docs/plugins/tmpl/.cvsignore:
4129 Ignore file to keep the buildbots happy
4131 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4133 * docs/plugins/Makefile.am:
4134 * docs/plugins/gstreamer-plugins-docs.sgml:
4135 * docs/plugins/gstreamer-plugins-sections.txt:
4136 Pull fdsink into the docs too.
4138 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
4140 * libs/gst/controller/gstinterpolation.c:
4141 Actually use the new functions with min/max checks for the trigger and
4142 none interpolation modes for get() and get_value_array() instead of
4145 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
4147 * libs/gst/controller/gstcontroller.c:
4148 (gst_controlled_property_free):
4149 Unset the minimum and maximum GValues when freeing the corresponding
4150 GstControllerProperty struct.
4152 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
4154 * libs/gst/controller/gstcontroller.c:
4155 (gst_controlled_property_new):
4156 * libs/gst/controller/gstcontrollerprivate.h:
4157 * libs/gst/controller/gstinterpolation.c:
4158 (gst_controlled_property_find_control_point_node),
4159 (interpolate_none_get), (interpolate_none_get_enum_value_array),
4160 (interpolate_none_get_string_value_array),
4161 (interpolate_trigger_get),
4162 (interpolate_trigger_get_enum_value_array),
4163 (interpolate_trigger_get_string_value_array):
4164 Protect against values larger or smaller than the minimum or maximum
4165 allowed value for the property when using values that can be compared.
4167 Optimize trigger interpolator a bit by taking the last requested value
4168 into account instead of always looping through the complete list.
4170 Fix coding style a bit, everywhere else we use "return foo" instead
4173 * tests/check/libs/controller.c: (GST_START_TEST),
4174 (gst_controller_suite):
4175 Add unit test for the protection against too large or too small
4178 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
4180 * docs/random/slomo/controller.txt:
4181 Add some thoughts about the future of the controller.
4183 2007-06-08 Wim Taymans <wim@fluendo.com>
4185 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4186 Don't overflow in retimestamping code.
4188 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4190 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4191 Use gst_util_guint64_to_gdouble for conversions.
4192 * win32/common/libgstreamer.def:
4193 Add new exported functions.
4195 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4198 Small docs addition.
4200 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4203 Remove that test line again.
4205 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4208 Test commit mail sending.
4210 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4213 Fix typo and test commit mail sending.
4215 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4217 * tests/examples/controller/audio-example.c:
4218 Improve comment and test commit mail sending.
4220 2007-06-07 Wim Taymans <wim@fluendo.com>
4222 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4223 (gst_bin_remove_func), (gst_bin_element_set_state),
4224 (bin_handle_async_start), (bin_handle_async_done),
4225 (gst_bin_handle_message_func):
4226 Add helper function to find messages.
4227 Generate the async-done messages together with the state change
4229 Small cleanups in handling toplevel bins.
4231 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4233 * libs/gst/base/gstdataqueue.c:
4234 * libs/gst/base/gstdataqueue.h:
4235 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4236 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4237 (gst_multi_queue_sink_event):
4238 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4239 Fix multiqueue leaking buffers and events when downstream or the
4240 queue are flushing. Make refcounting assumptions explicit and
4241 document them (shouldn't break existing code that uses it other than
4242 maybe leak miniobjects, but that already happens anyway). Add unit
4243 test for the most common flushing case. Fixes #423700.
4245 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4247 * libs/gst/controller/gstcontroller.c:
4248 Clarify docs: The get_all, get_value_array(s) functions
4249 don't modify the GObject properties.
4251 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4253 * libs/gst/controller/gstcontroller.c:
4254 (gst_controlled_property_set_interpolation_mode),
4255 (gst_controlled_property_prepend_default),
4256 (gst_controlled_property_new), (gst_controller_set_unlocked),
4257 (gst_controller_set), (gst_controller_set_from_list),
4258 (gst_controller_unset), (gst_controller_unset_all):
4259 * libs/gst/controller/gstcontrollerprivate.h:
4260 * libs/gst/controller/gstinterpolation.c:
4261 Factor out the 'set' logic into gst_controller_set_unlocked for the
4262 gst_controller_set and gst_controller_set_from_list functions.
4264 To make life of the interpolators easier always add a control point
4265 at timestamp zero with the default value.
4267 In the linear interpolator make things more obvious by better variable
4270 Implement cubic interpolation mode (by using a natural cubic spline)
4271 and map the quadratic interpolation mode to this too (as quadratic
4272 doesn't make much sense, see discussion on the list).
4274 * tests/check/libs/controller.c: (GST_START_TEST),
4275 (gst_controller_suite):
4276 Add unit test for the cubic interpolation mode and check everywhere
4277 if the interpolation mode could be set as expected.
4279 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4281 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4282 Don't use GLib-2.10 functions, we still depend on
4283 GLib-how-old-is-it-again-2.8.
4285 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4287 * docs/gst/gstreamer-sections.txt:
4291 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4292 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4293 (_gst_param_fraction_values_cmp),
4294 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4295 * gst/gstparamspecs.h:
4297 * tests/check/Makefile.am:
4298 * tests/check/gst/.cvsignore:
4299 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4300 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4301 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4302 (GST_START_TEST), (gst_param_spec_suite):
4303 API: add GstParamSpecFraction, so elements can have fraction
4304 properties without lots of painful string parsing (#444648).
4306 2007-06-05 Wim Taymans <wim@fluendo.com>
4308 * gst/gstobject.c: (gst_object_class_init):
4309 Fix signal signature.
4312 Add small clarification in the api docs.
4314 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4315 States are protected with object lock.
4317 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4320 I should probably be listed as an author by now.
4322 * docs/random/release:
4323 Update the release doc
4325 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4328 Make docs for gst_value_compare() mention return enums that
4331 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4336 === release 0.10.13 ===
4338 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4341 releasing 0.10.13, "With or without you"
4343 2007-05-25 Wim Taymans <wim@fluendo.com>
4345 * gst/gstbin.c: (bin_handle_async_done):
4346 Make sure that the child bin stops after completing the async state
4347 change so that the parent can continue the state change to PLAYING.
4350 2007-05-25 Wim Taymans <wim@fluendo.com>
4352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4353 (unref_data), (gst_collect_pads_remove_pad),
4354 (gst_collect_pads_check_pads):
4355 Use additional refcounting to avoid crashes when dynamically adding and
4356 removing pads. Fixes #420206.
4358 2007-05-24 Wim Taymans <wim@fluendo.com>
4360 * tools/gst-launch.c: (event_loop):
4361 When buffering goes from a two digit to a single digit number, make sure
4362 to remove the old second digit by writing a blank over it.
4364 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4366 * libs/gst/base/gstdataqueue.c:
4367 Eliminate tabs and trailing comma in enum list; fix some typos.
4369 2007-05-24 Wim Taymans <wim@fluendo.com>
4371 * tests/check/gst/gstbin.c: (GST_START_TEST):
4372 Allow refcount of 3 and 4 because some state thread might still be busy
4375 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4377 * plugins/elements/Makefile.am:
4378 * plugins/elements/gstmultiqueue.h:
4379 * plugins/elements/gstqueue.h:
4380 These are not installed headers, no need for padding.
4382 2007-05-24 Wim Taymans <wim@fluendo.com>
4384 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4385 (gst_bin_continue_func):
4386 Enable latency for next release.
4387 Restore STATE_LOCK around recalc_state that was left out during the
4388 rewrite and could result in racy behaviour when _get_state and
4389 recalc_state are run concurrently. See #440463.
4391 2007-05-23 Wim Taymans <wim@fluendo.com>
4393 * tests/check/gst/gstsystemclock.c: (store_callback),
4395 Improve test_async_order to also work when both timers are already
4396 expired when we get scheduled to check it.
4398 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4400 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4401 (gst_bin_set_property), (gst_bin_get_property),
4402 (gst_bin_remove_func), (gst_bin_handle_message_func):
4404 'private' is a c++ keyword, let's not use that in header files,
4405 otherwise c++ compilers will throw a tantrum.
4407 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4409 * plugins/elements/gstelements.c:
4410 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4411 (gst_file_sink_get_current_offset):
4412 * plugins/indexers/gstindexers.c: (plugin_init):
4413 Use #ifdef for HAVE_XYZ for consistency.
4415 * tests/check/Makefile.am:
4416 * tests/check/elements/.cvsignore:
4417 * tests/check/elements/filesink.c: (setup_filesink),
4418 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4419 Add some unit tests for filesink.
4421 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4423 Patch by: Mark Nauwelaerts <manauw at skynet be>
4425 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4426 (gst_file_sink_query), (gst_file_sink_do_seek),
4427 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4428 * plugins/elements/gstfilesink.h:
4429 Fix position reporting; rename data_written member to current_pos to
4430 reflect its real meaning (fixes #412648).
4432 2007-05-22 Edward Hervey <edward@fluendo.com>
4434 * docs/gst/gstreamer-sections.txt:
4435 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4436 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4437 (gst_bin_remove_func), (gst_bin_handle_message_func):
4439 Add a property for bins that handle the state change of their childs.
4442 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4444 * libs/gst/controller/gstinterpolation.c:
4445 Use an array of the correct type when using _get_value_array with
4446 linear interpolation.
4448 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4450 * gst/gstelement.c (gst_element_requires_clock,
4451 gst_element_provides_clock, gst_element_request_pad,
4452 gst_element_class_set_details, gst_element_class_set_details_simple,
4453 gst_element_default_send_event, gst_element_abort_state,
4454 gst_element_continue_state, gst_element_set_state,
4455 gst_element_set_state_func, iterator_activate_fold_with_resync):
4456 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4457 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4458 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4459 gst_pad_get_range, gst_pad_pull_range):
4460 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4461 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4462 GstPadActivateModeFunction, GstPadChainFunction,
4463 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4464 GstPadFixateCapsFunction, GstPadTemplate):
4465 * gst/gstpipeline.c (gst_pipeline_change_state,
4466 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4467 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4468 gst_pipeline_get_delay):
4469 Whitespace and docs fixes.
4471 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4473 * libs/gst/controller/gstinterpolation.c:
4474 (interpolate_trigger_get_enum_value_array),
4475 (interpolate_trigger_get_string_value_array):
4476 Add support for retrieving value arrays when using the trigger
4479 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4481 * libs/gst/controller/gstcontroller.c:
4482 (gst_controller_get_value_array):
4483 * libs/gst/controller/gstcontroller.h:
4484 Clarify the docs of gst_controller_get_value_array(): The array where
4485 the values should be written to must be allocated as there seems to be
4486 no way to get the size of a random GType. This doesn't change any
4487 behaviour. Also fix some typos all over the place and remove an unused,
4488 commented function that is not necessary as g_object_set() could be
4490 * tests/check/libs/controller.c: (GST_START_TEST),
4491 (gst_controller_suite):
4492 Add unit test for gst_controller_get_value_array().
4494 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4496 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4498 Disable part of the gst_buffer_try_new_and_alloc test, because
4499 it can happily succeed on 64-bit systems where there's more address
4502 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4504 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4505 Add unit test for the improved caps checking from bug #421543.
4507 2007-05-21 Wim Taymans <wim@fluendo.com>
4509 * docs/design/part-synchronisation.txt:
4512 * gst/gstbin.c: (gst_bin_query):
4513 * plugins/elements/gstqueue.c: (apply_segment):
4519 2007-05-21 Wim Taymans <wim@fluendo.com>
4521 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4522 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4523 (gst_pad_configure_src):
4524 Added simple version of improved caps checking. It was previously
4525 assumed that a setcaps function would check the validity of the caps but
4526 people prefer us to check caps against the template automatically.
4529 2007-05-21 Wim Taymans <wim@fluendo.com>
4531 * libs/gst/base/gstbasetransform.h:
4532 Fix macro for locking/unlocking the transform lock.
4534 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
4536 * docs/plugins/tmpl/.cvsignore:
4539 2007-05-18 Edward Hervey <edward@fluendo.com>
4541 * plugins/elements/gstqueue.c: (gst_queue_loop):
4542 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4543 for the subtle art of warning a potentially blocking thread that it
4544 should check the source pad return value, and relay the information
4547 2007-05-18 Edward Hervey <edward@fluendo.com>
4549 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4550 Release the queue lock !
4552 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4554 * docs/libs/gstreamer-libs-sections.txt:
4555 Add the two new controller functions to the appropiate places.
4557 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4559 reviewed by: Stefan Kost <ensonic@users.sf.net>
4561 * libs/gst/controller/gstcontroller.c:
4562 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4563 (_gst_controller_get_property), (_gst_controller_set_property),
4564 (_gst_controller_init), (_gst_controller_class_init):
4565 * libs/gst/controller/gstcontroller.h:
4566 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4567 (gst_object_get_control_rate), (gst_object_set_control_rate):
4568 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4569 Add API that provides sync suggestion timestamps for elements that
4570 call gst_object_sync_values() from which those elements can subdivide
4571 their processing loop to get the best results for the controlled
4572 properties. For now it just suggests last_sync + control_rate as
4573 new timestamp but this will be improved in the future.
4575 While doing that change the control-rate property to a GstClockTime
4576 from guint and change it's meaning from samples to nanoseconds as
4577 the GstController doesn't know anything about sampling rate. Strictly
4578 speaking this breaks ABI but as the control-rate property didn't do
4579 anything in the past and as such couldn't be used this should be no
4582 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4584 reviewed by: Stefan Kost <ensonic@users.sf.net>
4586 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4587 (gst_controller_unset_all):
4588 * libs/gst/controller/gstcontrollerprivate.h:
4589 * libs/gst/controller/gstinterpolation.c:
4590 (gst_controlled_property_find_control_point_node):
4591 Save last synced value from the list to continue searching from there
4592 in future syncs. This speeds everything up a bit.
4594 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4596 reviewed by: Stefan Kost <ensonic@users.sf.net>
4598 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4599 (gst_control_point_find), (gst_controlled_property_new),
4600 (gst_control_point_free), (gst_controlled_property_free),
4601 (gst_controller_set), (gst_controller_set_from_list),
4602 (gst_controller_unset), (gst_controller_unset_all),
4603 (gst_controller_sync_values):
4604 * libs/gst/controller/gstcontroller.h:
4605 * libs/gst/controller/gstcontrollerprivate.h:
4606 * libs/gst/controller/gstinterpolation.c:
4607 (gst_controlled_property_find_control_point_node),
4608 (interpolate_none_get), (interpolate_trigger_get):
4609 Add a new private GstControlPoint struct which "inherits" from
4610 GstTimedValue to allow different interpolators to store internal
4611 values next to each control point. From the outside everything is
4612 still a GstControlPoint so we don't loose binary compatibility.
4613 Also fixup all the GValue handling to not leak GValues or list nodes.
4614 * tests/check/libs/controller.c: (GST_START_TEST):
4615 Free the list nodes and GValues in the controller_misc test.
4617 2007-05-17 Edward Hervey <edward@fluendo.com>
4622 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
4624 * gst/gstplugin.c: (gst_plugin_load_file):
4625 If we fail to load a plugin because of unresolved symbols or missing
4626 libraries and spew a warning to stderr, we may just as well mention
4627 which plugin it was that failed to load.
4629 2007-05-13 David Schleef <ds@schleef.org>
4631 * docs/Makefile.am: the gtk-doc makefile snippet correctly
4632 handles the case when ENABLE_GTK_DOC is false, and installs
4633 the prebuilt documentation. So gtk-doc subdirs are
4634 unconditionally enabled. Fixes: #349099.
4636 2007-05-13 David Schleef <ds@schleef.org>
4638 * gst/gstutils.h: Reword some documentation.
4640 2007-05-12 David Schleef <ds@schleef.org>
4642 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4643 do anything with the passed "module" parameter, so remove it.
4644 Allows removal of additional vestigal code.
4646 2007-05-12 David Schleef <ds@schleef.org>
4649 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4650 Switch to using g_stat() because it's more portable.
4652 2007-05-12 David Schleef <ds@schleef.org>
4655 Add GST_DISABLE_OPTION_PARSING, in order to disable option
4656 parsing for embedded systems.
4657 * gst/gstelementfactory.c:
4658 Allow gst_element_register() to be called with plugin==NULL.
4659 Did nobody notice that static elements were broken?
4661 2007-05-12 Wim Taymans <wim@fluendo.com>
4663 * tools/gst-launch.c: (event_loop):
4664 Give more interesting info when buffering starts and stops.
4665 Fix case where buffering starts but we fail to update the buffering flag
4666 because the target state is not PLAYING.
4668 2007-05-12 Wim Taymans <wim@fluendo.com>
4670 * plugins/elements/gstqueue.c: (gst_queue_init),
4671 (gst_queue_finalize), (update_time_level), (apply_segment),
4672 (apply_buffer), (gst_queue_locked_flush),
4673 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4674 (gst_queue_handle_sink_event), (gst_queue_chain),
4675 (gst_queue_push_one), (gst_queue_loop):
4676 * plugins/elements/gstqueue.h:
4677 Refactor an cleanup queue a bit.
4678 Do better time level calculations that also work when the srcpad is not
4680 Remove some unneeded debug lines.
4682 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4683 Added testcase for time level measurement.
4684 Try to make some stuff more racefree.
4686 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4688 * gst/gsturi.c: (gst_element_make_from_uri):
4689 Don't leak plugin feature.
4691 * tests/check/Makefile.am:
4692 * tests/check/gst/.cvsignore:
4693 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4694 Add brain-dead unit test.
4696 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
4698 Patch by: Jeroen Wouters <woutersj at gmail com>
4700 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4701 Treat protocol strings in a case-insensitive way (#437563).
4703 2007-05-11 Michael Smith <msmith@fluendo.com>
4705 * gst/gstplugin.c: (gst_plugin_load_file):
4706 * gst/gstregistry.c: (gst_registry_scan_path_level):
4707 Don't print a g_warning for any failure to load a shared object.
4708 Instead, push this down into gstplugin.c, and warn _only_ if we
4709 failed to open the module (i.e. failure to link).
4710 Avoids warnings on normal, working, non-plugin .so files.
4712 2007-05-11 Stefan Kost <ensonic@users.sf.net>
4714 * gst/gstplugin.c (gst_plugin_load_file):
4715 * gst/gstregistry.c (GST_CAT_DEFAULT,
4716 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4717 Print a g_warning if there was an error when loading a plugins during
4718 registry scan. The shuld help beginners starting with gst-plugin
4721 2007-05-10 Wim Taymans <wim@fluendo.com>
4723 * plugins/elements/gstqueue.c: (gst_queue_class_init),
4724 (update_time_level), (gst_queue_locked_flush),
4725 (gst_queue_handle_sink_event), (gst_queue_chain),
4726 (gst_queue_push_one), (gst_queue_loop):
4727 * plugins/elements/gstqueue.h:
4728 Be smarter when calculating the current amount of data in the queue by
4729 measuring the difference between start and end timestamps (in running
4730 time) inside the queue. Fixes #432876.
4731 API: GstQueue::pushing to notify elements that we are pushing data again
4732 since the running signal is rather broken for this purpose.
4734 2007-05-10 Stefan Kost <ensonic@users.sf.net>
4736 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4737 gst_queue_base_init, gst_queue_init):
4740 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
4742 * win32/common/libgstreamer.def:
4743 Add new exported functions.
4744 * win32/vs6/grammar.dsp:
4745 Use grammar pre-generated files.
4747 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4749 Based on patch by: Peter Kjellerstedt <pkj at axis com>
4752 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4754 * gst/gstutils.c: (gst_parse_bin_from_description):
4756 Maintain API and ABI when --disable-parse is used. Now that
4757 we have an appropriate error code, we can just return NULL and the
4758 appropriate error when gst_parse_launch() is used despite it having
4759 been disabled (#342564).
4761 * tests/check/Makefile.am:
4762 * tests/check/pipelines/.cvsignore:
4763 * tests/check/pipelines/parse-disabled.c:
4764 Make sure these functions exist and return NULL plus a GError when
4765 --disable-parse is used.
4767 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
4769 * tests/benchmarks/complexity.c: (main):
4770 * tests/benchmarks/mass-elements.c: (main):
4771 Set a good example and don't leak messages.
4773 2007-05-06 Stefan Kost <ensonic@users.sf.net>
4775 * docs/gst/Makefile.am:
4776 * docs/libs/Makefile.am:
4777 Correct fixxrefs options.
4779 * docs/plugins/Makefile.am:
4780 * docs/plugins/gstreamer-plugins-docs.sgml:
4781 * docs/plugins/gstreamer-plugins-sections.txt:
4782 * plugins/elements/Makefile.am:
4783 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4784 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4785 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4786 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4787 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4788 _GstCapsFilterClass, trans_class):
4789 * plugins/elements/gstelements.c (name, rank, type, _elements):
4790 * plugins/elements/gstidentity.c
4791 (gst_identity_check_imperfect_timestamp,
4792 gst_identity_check_imperfect_offset):
4793 Document capsfilter and add doc-blurb to identity.
4795 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
4797 * libs/gst/controller/gstcontroller.c:
4798 (gst_controlled_property_set_interpolation_mode):
4799 * libs/gst/controller/gstinterpolation.c:
4800 Don't crash if someone tries to set an interpolation mode that
4801 is invalid or that isn't supported yet. Fixes #422295.
4803 * tests/check/libs/controller.c: (GST_START_TEST),
4804 (gst_controller_suite):
4805 Add a test case for the above.
4807 2007-05-03 Edward Hervey <edward@fluendo.com>
4809 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4810 Properly set the last_stop position on GstSegment. This will only happen
4811 if there is a buffer to push out.
4813 2007-05-03 Wim Taymans <wim@fluendo.com>
4815 * libs/gst/base/gstbasetransform.c:
4816 (gst_base_transform_buffer_alloc):
4817 always_in_place does not mean that the sink and source caps are the
4818 same! Make sure we don't blindly proxy the buffer_alloc in this case.
4820 2007-05-03 Wim Taymans <wim@fluendo.com>
4822 * docs/libs/gstreamer-libs-sections.txt:
4823 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4824 (gst_base_src_default_query), (gst_base_src_get_range):
4825 * libs/gst/base/gstbasesrc.h:
4826 API: gst_base_src_query_latency(). Added method so that subclasses can
4827 easily get the latency values of the base source class.
4829 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
4831 * tools/gst-inspect.c (print_implementation_info):
4834 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
4836 * tools/Makefile.am:
4837 * tools/gst-launch.1.in:
4838 Don't create a customised man page based on the host architecture,
4839 describe the default registry path generically. That way the man
4840 page is the same for all architectures and packagers have one
4841 multilib issue less to deal with. Fixes #434926.
4843 2007-05-02 Wim Taymans <wim@fluendo.com>
4846 Fix documentation as spotted by rg on IRC.
4848 2007-04-29 Stefan Kost <ensonic@users.sf.net>
4851 Improve docs for gst_element_{link,unlink}.
4853 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
4855 * docs/design/part-events.txt:
4856 * docs/design/part-overview.txt:
4860 * libs/gst/base/gstbasesink.c:
4861 Typo fixes; minor docs addition.
4863 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4865 * docs/gst/gstreamer-sections.txt:
4866 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4867 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4869 API: Add gst_uri_protocol_is_supported(), which checks if a sink
4870 or src that supports a given URI protocol exists.
4872 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4874 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4875 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4876 Set the location to NULL if "file://" is set as URI. Otherwise
4877 some random previous URI would still be set if "file://" is
4878 set on an already used filesink/filesrc.
4880 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4882 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4883 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4884 Special case the "file://" URI as as this is used by some
4885 applications to test with gst_element_make_from_uri if there's
4886 an element that supports the URI protocol.
4887 Also move the g_path_is_absolute() check for the location part
4888 of the URI to also check this for "file://localhost/bla" URIs.
4890 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
4892 * docs/gst/gstreamer-sections.txt:
4893 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4895 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4897 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4899 2007-04-26 Stefan Kost <ensonic@users.sf.net>
4901 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4902 (gst_registry_binary_load_pad_template),
4903 (gst_registry_binary_load_plugin),
4904 (gst_registry_binary_read_cache):
4905 * gst/gstregistrybinary.h:
4906 Implement no-mmap alternative for registry reading. Do code cleanups.
4907 Add more comments about avoiding strdups for all text data. Comments
4910 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4912 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4913 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4914 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4915 Comment structs and reformat to fix the build (that stuff should go
4916 into a priv. header).
4918 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4920 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4921 (gst_registry_binary_load_feature):
4922 * gst/gstregistrybinary.h:
4923 Refactor so that we can implement multiple features. Add support for
4924 TypeFindFactory features.
4926 2007-04-24 Stefan Kost <ensonic@users.sf.net>
4928 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4931 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4933 2007-04-23 Stefan Kost <ensonic@users.sf.net>
4935 * gst/gstbin.c: (gst_bin_element_set_state),
4936 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4937 (bin_handle_async_done), (gst_bin_handle_message_func):
4938 Fix build with --gst-disable-gst-debug
4940 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
4942 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4943 Make sure streaming has finished before calling the ::stop() vfunc,
4944 since that vfunc might clear state which is being used in the
4945 streaming thread. This fixes a race that caused crashes in
4946 audioresample when shutting down a pipeline (#420106).
4948 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4950 * docs/gst/gstreamer-sections.txt:
4951 That was one byte missing.
4953 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4956 * docs/gst/gstreamer-sections.txt:
4958 * gst/gstconfig.h.in:
4959 * gst/gstobject.c: (gst_object_class_init),
4960 (gst_signal_object_class_init):
4962 2nd attempt to have a xml-less build as a joined effort of #413123
4965 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4967 * docs/design/draft-tagreading.txt:
4968 Added open issues/thoughts to draft.
4970 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4972 * gst/parse/grammar.tab.pre.c:
4973 * gst/parse/grammar.tab.pre.h:
4974 * gst/parse/lex._gst_parse_yy.pre.c:
4975 Update the prebuild parser sources.
4977 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4979 * gst/parse/Makefile.am:
4980 And now fix the building of the flex sources. Now everything should
4983 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4985 * gst/parse/Makefile.am:
4986 Now hopefully fix the build failures by setting proper rule
4987 dependencies and moving instead of copying.
4989 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4991 * tests/benchmarks/complexity.gnuplot:
4992 * tests/benchmarks/complexity.scm:
4993 * tests/benchmarks/mass-elements.gnuplot:
4994 * tests/benchmarks/mass-elements.scm:
4995 Total licensification.
4997 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4999 * gst/parse/Makefile.am:
5000 Fix the build by correcting the rule that gave wrong files to flex.
5002 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5004 * tests/benchmarks/complexity.c:
5005 * tests/benchmarks/mass-elements.c:
5006 Change licence to LGPL as granted by Benjamin and Andy.
5008 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5010 * gst/parse/Makefile.am:
5011 Add correct grammar.tab.h dependency if compiling without new enough
5012 flex. Fixes #431150.
5014 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5016 * gst/parse/Makefile.am:
5017 Fix typo and use outdated sources if the flex/bison sources are newer
5018 than the pregenerated ones but flex is too old. Print a warning in
5019 that case. This should fix the build on the build bot.
5021 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5023 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5024 * gst/parse/Makefile.am:
5025 * gst/parse/grammar.y:
5026 * gst/parse/parse.l:
5027 Make the parser reentrant and recursively callable. This requires flex
5028 >= 2.5.31, for older versions pregenerated sources are used as we
5029 can't bump the build dependency. Finally fixes #349180.
5031 * gst/gstparse.c: (gst_parse_launch):
5032 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5035 * docs/gst/Makefile.am:
5036 * docs/gst/Makefile.am:
5037 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5038 (__gst_parse_strfree), (__gst_parse_link_new),
5039 (__gst_parse_link_free), (__gst_parse_chain_new),
5040 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5041 (gst_parse_element_set), (gst_parse_free_link),
5042 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5043 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5044 (_gst_parse_launch):
5045 * gst/parse/grammar.tab.pre.h:
5046 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5047 (yy_get_previous_state), (yy_try_NUL_trans), (input),
5048 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5049 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5050 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5051 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5052 (_gst_parse_yypop_buffer_state),
5053 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5054 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5055 (yy_fatal_error), (_gst_parse_yyget_extra),
5056 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5057 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5058 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5059 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5060 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5061 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5062 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5063 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5064 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5065 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5066 (_gst_parse_yyfree):
5067 If the installed flex version is too old use pre-generated parser
5068 sources. These pre-generated parser sources are always updated when
5069 the actual flex/bison sources change but require everybody who wants
5070 to change something in the parser to have flex >= 2.5.31 installed.
5072 2007-04-18 Stefan Kost <ensonic@users.sf.net>
5074 * common/m4/gst-gettext.m4:
5075 * gst/gst-i18n-lib.h:
5076 Make --disable-nls to work
5078 2007-04-17 Wim Taymans <wim@fluendo.com>
5080 * gst/gstconfig.h.in:
5081 Revert previous change that broke the build.
5083 2007-04-17 Stefan Kost <ensonic@users.sf.net>
5087 * gst/gstconfig.h.in:
5088 Drop libxml2 dependency when building with
5089 --enable-binary-registry --disable-loadsave
5091 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
5093 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5094 (gst_registry_binary_read_cache):
5095 * gst/gstregistrybinary.h:
5096 Remove unnecessary <sys/mman.h> include which broke the win32 build
5097 with MingW; move includes from header file to .c file, even if the
5098 header file isn't installed; use g_strerror() where UTF-8 strings
5099 are expected, such as in GST_DEBUG messages.
5101 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5103 * docs/libs/gstreamer-libs-sections.txt:
5104 Remove bogus addition for API I didn't end up keeping.
5106 * libs/gst/base/gstbasesrc.h:
5107 Mention Since: 0.10.13 in the documentation.
5109 Add the API keyword to the previous ChangeLog entry.
5111 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5113 * docs/libs/gstreamer-libs-sections.txt:
5114 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5115 (gst_base_src_default_prepare_seek_segment),
5116 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5117 * libs/gst/base/gstbasesrc.h:
5118 Allow basesrc derived classes to execute seeks in other formats
5119 by providing a prepare_seek_segment vmethod. Sub-classes can choose
5120 to prepare the GstSegment in any format that their perform_seek method
5121 will be able to understand. The default implementation provides the
5122 old behaviour of attempting to convert the seek offsets to the
5123 configured native format.
5125 API: basesrc::prepare_seek_segment vmethod.
5127 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5129 * gst/gstelement.c: (gst_element_get_state_func):
5130 Don't output the same debug statement twice.
5132 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5133 (gst_adapter_peek), (gst_adapter_take_buffer):
5134 Optimise the case where we have buffers at the head of the queue that
5135 can be joined quickly (because they're contiguous sub-buffers) by
5136 merging them together rather than copying data out into new memory.
5138 * gst/parse/grammar.y:
5139 * tests/check/pipelines/parse-launch.c:
5140 Fix a leak in an error path for parse_launch, and add a check
5141 for it to the testsuite.
5143 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5145 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5146 Don't deadlock when releasing a pad - gst_pad_set_active may try
5147 and take the multiqueue lock too.
5149 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
5151 * gst/gsterror.c: (_gst_core_errors_init):
5153 API: add GST_CORE_ERROR_DISABLED (#392804).
5155 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5157 * docs/faq/gst-uninstalled:
5158 don't get empty paths on the PATH variables
5159 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5160 Don't format for the uncommon terminal width of 84 characters.
5162 2007-04-06 Wim Taymans <wim@fluendo.com>
5164 * gst/gstpipeline.c: (reset_stream_time),
5165 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5166 Only try to select a different pipeline clock when we went back to
5167 PAUSED and not when we merely got flushed.
5169 2007-04-05 Michael Smith <msmith@fluendo.com>
5171 * tools/gst-launch.1.in:
5172 fractions are better supported in gstreamer than ractions, so
5173 suggest using those.
5175 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
5177 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5181 Added Danish translation.
5183 2007-04-05 Wim Taymans <wim@fluendo.com>
5185 * libs/gst/base/gstbasesink.c:
5186 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5187 Fix leak caused when refusing newsegment after EOS.
5189 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5190 (gst_fake_sink_init), (gst_fake_sink_set_property),
5191 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5192 (gst_fake_sink_render), (gst_fake_sink_change_state):
5193 * plugins/elements/gstfakesink.h:
5194 Add num-buffers property to make the element generate EOS after a
5195 configurable amount of buffers.
5196 API: fakesink::num-buffers property.
5198 * tests/check/elements/fakesink.c: (GST_START_TEST),
5200 Fix GstBus leak in test.
5201 Test for fakesink num-buffers.
5203 2007-04-05 Wim Taymans <wim@fluendo.com>
5205 * libs/gst/base/gstbasesink.c:
5206 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5207 (gst_base_sink_change_state):
5208 Don't accept anything after an EOS, return UNEXPECTED instead.
5210 * tests/check/elements/fakesink.c: (GST_START_TEST),
5212 Unit test for new EOS behaviour.
5214 2007-04-05 Wim Taymans <wim@fluendo.com>
5216 * gst/gstelement.c: (gst_element_get_request_pad):
5217 Make padtemplates also work when they don't contain %s or %d.
5219 2007-04-05 Wim Taymans <wim@fluendo.com>
5221 * docs/gst/gstreamer-sections.txt:
5222 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5223 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5225 Improve _adjust_unlocked() so that it overflows less.
5226 Add gst_clock_unadjust_unlocked to convert from external time to
5227 internal time based on calibration.
5228 Add some more debug.
5229 API: GstClock::gst_clock_unadjust_unlocked()
5231 2007-04-03 Wim Taymans <wim@fluendo.com>
5233 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5235 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5236 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5237 when releasing sink pad. Fixes #425400.
5239 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5241 * docs/random/ensonic/dynlink.txt:
5242 More work on proposal for new core api.
5244 * docs/libs/gstreamer-libs-sections.txt:
5245 * libs/gst/base/gstbasetransform.h:
5246 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5248 * libs/gst/controller/gstcontroller.c:
5249 (on_object_controlled_property_changed),
5250 (gst_controller_sync_values),
5251 (gst_controller_set_interpolation_mode):
5252 * libs/gst/controller/gstcontroller.h:
5253 Less verbose logging add docs for unimplemented parts and correctly
5254 return when using unavailable parts.
5256 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5258 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5259 Move all the debug to the CLOCK category, and associate it with
5262 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5264 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5265 Make take_buffer a bit quicker by removing redundant checks
5266 caused by calling gst_adapter_take.
5268 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5270 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5273 * tests/check/Makefile.am:
5274 * tests/check/elements/.cvsignore:
5275 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5276 (GST_START_TEST), (multiqueue_suite):
5277 Add some dead simple unit tests for the 'multiqueue' element
5278 (some bits don't work yet and are disabled for now).
5280 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5282 * gst/gstelement.c: (gst_element_get_request_pad),
5283 (gst_element_class_get_request_pad_template):
5284 Make gst_element_get_request_pad() create request pads only for
5285 request pad templates and not for, say, sometimes pad templates.
5287 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5289 * docs/design/draft-klass.txt:
5290 Add example that needs more thinking.
5292 * docs/design/draft-missing-plugins.txt:
5293 More thoughts about wrapper plugins.
5295 * docs/random/ensonic/embedded.txt:
5296 * docs/random/ensonic/profiling.txt:
5299 2007-03-25 Wim Taymans <wim@fluendo.com>
5301 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5302 (gst_base_src_loop):
5303 Only push the segment events in the PLAYING state for live sources.
5305 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5307 * gst/gstpipeline.c: (gst_pipeline_change_state):
5308 Modify the clock distribution path in PAUSED->PLAYING so that we
5309 never attempt to choose a new clock unless we're actually leaving
5310 the PAUSED state for the first time. This prevents choosing a
5311 different clock when the state_change gets called for a 2nd time due
5312 to some element doing an async state change.
5314 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5316 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5317 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5318 (gst_pad_chain_unchecked), (gst_pad_push):
5319 Revert last commit. This needs some more thoughts.
5321 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5323 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5324 (gst_pad_chain_unchecked), (gst_pad_push):
5325 Check in set_caps if the caps are compatible with the pad and remove
5326 two functions that are redundant now. Fixes #421543.
5328 2007-03-22 Wim Taymans <wim@fluendo.com>
5330 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5331 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5332 Unref some more to make valgrind happy.
5334 2007-03-22 Wim Taymans <wim@fluendo.com>
5336 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5337 (gst_system_clock_id_wait_jitter),
5338 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5339 Fix anoying regression that survived a few releases. When adding an
5340 async entry while blocking on a sync entry, the sync entry will unblock
5341 but still be busy, so it should continue to wait instead of returning
5343 Add some comments here and there.
5345 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5346 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5347 Add testcase for this.
5349 2007-03-22 Wim Taymans <wim@fluendo.com>
5351 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5352 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5353 WRONG_STATE and can silently pause the task. All other cases should
5356 2007-03-22 Wim Taymans <wim@fluendo.com>
5358 Patch by: Ville Syrjala <syrjala at sci dot fi>
5360 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5361 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5364 2007-03-21 Michael Smith <msmith@fluendo.com>
5366 * docs/pwg/advanced-types.xml:
5367 Fix some errors in the typefinding docs pointed out on irc.
5369 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5371 * libs/gst/base/gstbasesrc.c:
5372 Clarify FIXME comment in the face of having added unlock_stop()
5374 2007-03-21 Wim Taymans <wim@fluendo.com>
5376 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5377 Prepare for release where we warn against possible app breakage in the
5378 case of live pipelines along with an env var to enable/disable live
5379 preroll mode (GST_COMPAT=[no-]live-preroll).
5381 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5383 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5384 So we should use correct constants for checking for None offset.
5386 2007-03-20 Wim Taymans <wim@fluendo.com>
5388 * docs/design/part-block.txt:
5389 Mention the fact that the newly switched element should be set to at
5392 2007-03-20 Wim Taymans <wim@fluendo.com>
5395 Fix compilation with registry disabled as spotted by Saur.
5397 2007-03-20 Wim Taymans <wim@fluendo.com>
5399 Patch by: Olivier Crete <tester at tester dot ca>
5401 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5402 Look at the pending state too when syncing the element state to the
5403 parent. Fixes #420133.
5405 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5407 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5408 (gst_base_sink_change_state):
5409 * libs/gst/base/gstbasesink.h:
5410 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5411 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5412 (gst_base_src_deactivate):
5413 * libs/gst/base/gstbasesrc.h:
5414 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5415 for sub-classes to correctly clear any state they set trying to
5416 unlock, such as clearing out unlock commands from a command fd.
5417 API: basesrc::unlock_stop
5418 API: basesink::unlock_stop
5420 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5421 (gst_fd_sink_render), (gst_fd_sink_unlock),
5422 (gst_fd_sink_unlock_stop):
5423 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5424 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5425 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5427 Implement unlock_stop in fdsrc and fdsink.
5428 Implement seeking in fdsrc when a seekable fd is passed, as in
5429 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5431 2007-03-19 Wim Taymans <wim@fluendo.com>
5433 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5435 * gst/gstelement.c: (gst_element_class_init):
5436 Fix pad-added and pad-removed signal signatures so that the pad type is
5437 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5439 2007-03-19 Wim Taymans <wim@fluendo.com>
5441 * docs/gst/gstreamer-sections.txt:
5442 Add new element field and method.
5444 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5445 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5446 (gst_bin_recalc_state), (gst_bin_get_state_func),
5447 (gst_bin_element_set_state), (gst_bin_change_state_func),
5448 (gst_bin_continue_func), (bin_bus_handler),
5449 (bin_push_state_continue), (bin_handle_async_start),
5450 (bin_handle_async_done), (gst_bin_handle_message_func):
5451 Make async state changes a bit smarter by using new ASYNC_START and
5452 ASYNC_DONE messages. This reduces the number of times we run the state
5453 recalculation thread.
5454 Don't change state of element with a pending ASYNC_START message.
5455 Deprecate STATE_DIRTY messages.
5457 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5458 (gst_element_get_state_func), (gst_element_continue_state),
5459 (gst_element_lost_state), (gst_element_set_state_func),
5460 (gst_element_change_state):
5462 Keep the state that was last set by the app in a new element field.
5463 Don't allow state changes when handling an element event.
5464 Post ASYNC_START and ASYNC_DONE messages.
5465 Change lost_state so that we go to PAUSED and wait for the parent to set
5466 us to PLAYING again (so latency calculation can be performed)
5467 Export gst_element_change_state() method so that subclasses can use it.
5468 API: gst_element_change_state()
5469 API: GST_STATE_TARGET
5471 * gst/gstpipeline.c: (gst_pipeline_class_init),
5472 (reset_stream_time), (gst_pipeline_change_state),
5473 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5474 Using the new ASYNC_START message we can reset the base_time when
5475 needed. This can then be used to implement base_time redistribution in
5476 flushing seeks so that we can remove the explicit seek handling.
5477 Perform latency query and configuration when going to PLAYING.
5479 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5480 (gst_base_sink_query), (gst_base_sink_change_state):
5481 Post new ASYNC_START/ASYNC_DONE messages.
5483 * tests/check/generic/sinks.c: (GST_START_TEST):
5484 Fix test because the bin will not set the async element to PLAYING right
5487 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5488 Make the message check a little stronger.
5489 Handle ASYNC messages.
5491 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5492 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5493 Expect ASYNC_DONE messages.
5495 2007-03-19 Wim Taymans <wim@fluendo.com>
5497 * docs/gst/gstreamer-sections.txt:
5498 * gst/gstmessage.c: (gst_message_new_async_start),
5499 (gst_message_new_async_done), (gst_message_parse_info),
5500 (gst_message_parse_async_start):
5502 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5505 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5507 * tools/gst-inspect.c:
5508 (print_plugin_automatic_install_info_codecs):
5509 Now that we don't check for the 'Codec' keyword any longer in the
5510 klass, we shouldn't spew a warning if the klass isn't a decoder or
5511 encoder (since it might be a Source/Network, for example).
5513 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5515 * tools/gst-inspect.c:
5516 (print_plugin_automatic_install_info_codecs):
5517 Don't require decoder/demuxer/depayloader elements or
5518 encoder/muxer/paylader elements to have 'Codec' as part of their
5519 factory class string when introspecting a plugin's capabilities.
5520 draft-klass.txt mentions that it might be removed in future, and
5521 flump3dec doesn't have it as part of its class string, so chances
5522 are others might also not have it.
5524 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
5546 Update translations from translation project
5548 2007-03-14 Stefan Kost <ensonic@users.sf.net>
5550 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5551 (gst_child_proxy_set_property):
5552 Invert precondition check to be alike the ones in the mimiced gobject
5555 2007-03-13 Stefan Kost <ensonic@users.sf.net>
5557 * docs/design/draft-tagreading.txt:
5558 * docs/random/ensonic/audiobaseclasses.txt:
5559 Do some Architect work.
5561 * gst/gstobject.c: (gst_object_set_name):
5565 Add docs that point from gst_pad_get_range to gst_pad_pull_range
5567 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
5569 * gst/gstsystemclock.c: (gst_system_clock_init),
5570 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5571 Defer starting the async system clock thread until the first async
5572 wait is scheduled. Fixes #414986.
5574 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
5576 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5577 (gst_single_queue_free):
5578 Fix small leak (free GstSingleQueue structure too, not only contents).
5580 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
5582 * gst/gstbin.c:(gst_bin_add):
5583 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5584 * win32/common/libgstbase.def:
5585 * win32/common/libgstreamer.def:
5586 Add new exported functions.
5588 2007-03-09 Wim Taymans <wim@fluendo.com>
5590 * docs/plugins/gstreamer-plugins-sections.txt:
5593 2007-03-09 Wim Taymans <wim@fluendo.com>
5595 * docs/gst/gstreamer-sections.txt:
5596 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5598 Add metadata copy functions. Fixes #393099.
5599 API: gst_buffer_copy_metadata()
5601 * gst/gstutils.c: (gst_buffer_stamp):
5602 * libs/gst/base/gstbasetransform.c:
5603 (gst_base_transform_prepare_output_buffer):
5604 Use new metadata copy functions.
5606 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
5608 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5609 (gst_identity_init), (gst_identity_check_perfect),
5610 (gst_identity_check_imperfect_timestamp),
5611 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5612 (gst_identity_set_property), (gst_identity_get_property):
5613 * plugins/elements/gstidentity.h:
5614 Separate out check-imperfect-timestamp and check-imperfect-offset.
5615 Put back check-perfect as it was to keep compatibility.
5617 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
5619 * gst/gstelement.c: (gst_element_dispose):
5620 There's no need to warn if VOID_PENDING is not NONE here, as
5621 long as the state is NULL it's ok, and that's checked immediately
5624 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5626 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5627 Fix check for perfect stream to ignore buffers with -1
5628 offsets/offset ends when checking data contiguity.
5630 2007-03-08 Wim Taymans <wim@fluendo.com>
5632 * tools/gst-launch.c: (event_loop):
5633 Print INFO messages.
5635 2007-03-08 Wim Taymans <wim@fluendo.com>
5637 * libs/gst/base/gstbasetransform.c:
5638 (gst_base_transform_sink_eventfunc),
5639 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5640 (gst_base_transform_activate):
5641 * libs/gst/base/gstbasetransform.h:
5642 Add support for dropping buffers with custom GstFlowReturn.
5643 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5644 buffers or dropped buffers.
5646 * docs/libs/gstreamer-libs-sections.txt:
5647 docs for new custom return code.
5649 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5650 Use drop support in base class to implement drop-probability.
5652 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
5654 * gst/gst.c: (load_plugin_func):
5655 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5656 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5657 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5658 Remove newlines at end of debug log strings.
5660 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5662 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5663 Only post bus message at max, once per buffer received.
5665 2007-03-07 Wim Taymans <wim@fluendo.com>
5667 * docs/design/Makefile.am:
5668 * docs/design/part-synchronisation.txt:
5669 Add doc about synchronisation
5671 * docs/design/draft-latency.txt:
5672 * docs/design/part-TODO.txt:
5673 * docs/design/part-clocks.txt:
5674 * docs/design/part-events.txt:
5675 * docs/design/part-gstbus.txt:
5676 * docs/design/part-gstpipeline.txt:
5677 * docs/design/part-live-source.txt:
5678 * docs/design/part-messages.txt:
5679 * docs/design/part-overview.txt:
5680 * docs/design/part-streams.txt:
5681 * docs/design/part-trickmodes.txt:
5682 Documentation updates.
5684 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5687 Update the doap file.
5689 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5691 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5692 Rename non-perfect to imperfect for Mike and for the sanctity of the
5694 Also make sure bus message gets emitted for data-incontiguities.
5696 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5698 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5699 (gst_identity_start):
5700 * plugins/elements/gstidentity.h:
5701 Emit bus message if check-perfect is true and we encounter a
5702 non-perfect stream between 2 consecutive buffers.
5705 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5710 === release 0.10.12 ===
5712 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
5715 releasing 0.10.12, "Inevitable Demise"
5717 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
5720 Version 0.10.11.2 (0.10.12 pre-release)
5721 Bump libtool versioning.
5723 2007-03-01 Stefan Kost <ensonic@users.sf.net>
5725 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5726 Log flow-names and not numbers.
5728 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5731 Convert to new AG_GST style.
5733 2007-02-28 Wim Taymans <wim@fluendo.com>
5735 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5736 Don't unref query twice.
5738 2007-02-28 Wim Taymans <wim@fluendo.com>
5740 * gst/gstvalue.c: (gst_value_transform_object_string),
5741 (_gst_value_initialize):
5742 Implement GstObject -> string transform so we print object names
5743 when serializing GValues containing GstObjects.
5745 2007-02-28 Wim Taymans <wim@fluendo.com>
5747 * docs/gst/gstreamer-sections.txt:
5748 Add new stuff to docs.
5750 2007-02-28 Wim Taymans <wim@fluendo.com>
5752 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5753 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5754 (gst_base_sink_change_state):
5755 Improve latency query code.
5756 Don't leak latency events.
5758 * tests/check/gst/gstbin.c: (GST_START_TEST):
5761 2007-02-28 Wim Taymans <wim@fluendo.com>
5763 * gst/gstelement.c: (gst_element_message_full),
5764 (gst_element_get_state_func):
5766 Improve docs a little. Added Since: for new macro.
5768 * gst/gstobject.c: (gst_object_sink):
5769 * gst/gstpipeline.c: (gst_pipeline_change_state),
5770 (gst_pipeline_set_new_stream_time):
5771 * gst/gstpipeline.h:
5772 Improve debugging and docs.
5774 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5777 2007-02-28 Wim Taymans <wim@fluendo.com>
5779 * gst/gstelement.c: (gst_element_message_full),
5780 (gst_element_set_locked_state), (gst_element_get_state_func),
5781 (gst_element_change_state):
5782 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5783 Documentation updates.
5784 Small code cleanups.
5786 * gst/gstmessage.c: (gst_message_new_info),
5787 (gst_message_parse_info):
5789 API: gst_message_new_info()
5790 API: gst_message_parse_info()
5791 Add INFO message create and parse code.
5793 2007-02-28 Wim Taymans <wim@fluendo.com>
5795 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5796 (bin_query_latency_done):
5797 Also report the live parameter of a latency query.
5799 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
5801 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5802 Copy the current generic/states example from -base and adapt so
5803 we can use the exact same code everywhere.
5804 Check a STATES_IGNORE_ELEMENTS env var which can be used
5805 to ignore certain element factories for this test, which is
5806 what is being done in -base
5807 * tests/check/Makefile.am:
5808 Mention this environment variable.
5810 2007-02-27 Wim Taymans <wim@fluendo.com>
5812 * docs/gst/gstreamer-sections.txt:
5813 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5814 (gst_bus_timed_pop), (gst_bus_pop):
5816 API: gst_bus_timed_pop()
5817 Implement gst_bus_timed_pop() to do a blocking timed wait for a
5818 message to arrive on the bus.
5820 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5822 Two unit tests for new _timed_pop() function.
5824 2007-02-23 Wim Taymans <wim@fluendo.com>
5826 * gst/gstpipeline.c: (gst_pipeline_change_state),
5827 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5828 Don't ref a NULL clock in _provide_clock_func().
5829 Don't allow an INVALID delay.
5830 Don't try to calculate base_time with an invalid start_time.
5831 Also distribute and notify a NULL clock when it was selected.
5833 * tools/gst-launch.c: (event_loop):
5834 Don't crash when a NULL clock was selected in the pipeline.
5836 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
5838 * docs/design/Makefile.am:
5839 * docs/design/draft-missing-plugins.txt:
5840 * docs/random/draft-missing-plugins.txt:
5841 Some small updates: update plugin system identifier prefix
5842 ('gstreamer.net' to 'gstreamer'), mention our new install
5843 API in libgstbaseutils rather than libgimme-codec, add
5844 reference to the online docs.
5846 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5848 * win32/common/config.h:
5849 Pretty sure Bill never made a powerpc version. Powerpc hackers,
5850 use moap cl ci to only check in what is mentioned in the ChangeLog.
5852 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * docs/gst/gstreamer-sections.txt:
5856 Fix up documentation to link to the correct GstGError section.
5857 Add GST_ELEMENT_INFO macro since someone else added a Info message.
5859 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5861 * tools/gst-launch.c: (event_loop):
5862 Make sure that we actually show the important message part of a
5864 No need to check if the gerror is not NULL to free; first of all
5865 g_free accepts NULL; and second the default error handler would
5866 segfault if gerror was NULL.
5868 2007-02-21 Wim Taymans <wim@fluendo.com>
5870 * docs/gst/gstreamer-sections.txt:
5871 Removed docs as well.
5873 2007-02-21 Wim Taymans <wim@fluendo.com>
5875 * gst/gstmessage.c: (gst_message_parse_duration):
5877 Remove new messages for release.
5879 2007-02-20 Wim Taymans <wim@fluendo.com>
5881 * docs/design/part-gstghostpad.txt:
5882 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5883 (gst_ghost_pad_new_full):
5884 Make the ghostpad a parent of the internal pad again for better backward
5885 compatibility. Don't write code that relies on this however.
5887 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5888 (gst_pad_link_check_hierarchy):
5889 Require that parents should be GstElements in the hierarchy check.
5891 2007-02-20 Wim Taymans <wim@fluendo.com>
5893 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5894 (gst_bin_change_state_func), (bin_query_min_max_init),
5895 (bin_query_latency_fold), (bin_query_latency_done),
5898 Implement latency query.
5900 2007-02-20 Wim Taymans <wim@fluendo.com>
5902 * docs/design/part-gstghostpad.txt:
5903 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5904 (gst_ghost_pad_internal_do_activate_push),
5905 (gst_ghost_pad_internal_do_activate_pull),
5906 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5907 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5908 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5909 Do not set the internal pad as a parent anymore so we can avoid
5910 hierarchy linking errors when the ghostpad has no parent yet. This also
5911 fixes failed activation because of unlinked internal pads, which in
5912 turn fixes the impossible case where you have to activate a pad before
5913 you can add it to a running element.
5916 * gst/gstpad.c: (pre_activate), (post_activate),
5917 (gst_pad_set_active), (gst_pad_activate_pull),
5918 (gst_pad_activate_push), (gst_pad_check_pull_range):
5919 Add some more debug info.
5920 Mark activation mode in pre_activate so that we don't try to activate in
5921 endless loops. Fixes #385084.
5923 2007-02-19 Wim Taymans <wim@fluendo.com>
5925 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5926 (gst_base_transform_check_get_range):
5927 Implement a checkgetrange function instead of relying on the default
5928 core behaviour that assumes we can operate in pull mode if we have a
5929 getrange function. First step at fixing #385084.
5931 2007-02-15 Stefan Kost <ensonic@users.sf.net>
5933 * gst/gstchildproxy.h:
5934 * libs/gst/base/gstbasesink.h:
5935 * libs/gst/base/gstbasesrc.h:
5936 * libs/gst/base/gstbasetransform.h:
5937 More docs coverage and some ChangeLog surgery (add missing names)
5939 2007-02-15 Wim Taymans <wim@fluendo.com>
5941 * docs/design/part-TODO.txt:
5942 * docs/design/part-activation.txt:
5943 * docs/design/part-block.txt:
5944 * docs/design/part-buffering.txt:
5945 * docs/design/part-clocks.txt:
5946 * docs/design/part-element-source.txt:
5947 * docs/design/part-events.txt:
5948 * docs/design/part-gstbin.txt:
5949 * docs/design/part-gstbus.txt:
5950 * docs/design/part-gstpipeline.txt:
5951 * docs/design/part-live-source.txt:
5952 * docs/design/part-messages.txt:
5953 * docs/design/part-overview.txt:
5954 * docs/design/part-qos.txt:
5955 * docs/design/part-query.txt:
5956 * docs/design/part-states.txt:
5957 * docs/design/part-trickmodes.txt:
5958 Some doc updates. Start renaming from stream_time to running_time where
5959 it was used wrongly.
5961 2007-02-15 Wim Taymans <wim@fluendo.com>
5963 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5964 Answer LATENCY query.
5966 2007-02-15 Wim Taymans <wim@fluendo.com>
5968 * tests/check/gst/gstevent.c: (event_probe), (test_event),
5972 2007-02-15 Wim Taymans <wim@fluendo.com>
5974 * gst/gstpad.c: (gst_pad_get_internal_links_default),
5975 (gst_pad_dispatcher):
5976 Improve debugging of default pad dispatcher and query functions.
5978 2007-02-15 Wim Taymans <wim@fluendo.com>
5980 * docs/gst/gstreamer-sections.txt:
5981 Remove old unused method.
5983 2007-02-13 Wim Taymans <wim@fluendo.com>
5985 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5988 2007-02-13 Wim Taymans <wim@fluendo.com>
5990 * docs/design/part-seeking.txt:
5993 * gst/gstsegment.c: (gst_segment_set_seek):
5994 Revert old bogus change that should make seeking work again.
5996 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5998 * docs/random/ensonic/dynlink.txt:
5999 * docs/random/ensonic/interfaces.txt:
6000 * docs/random/ensonic/receipies.txt:
6001 Possible dynamic reconnection api, plus some type fixes the other two
6004 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
6006 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6007 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6008 Also check for an absolute path following file:// in the filesrc
6009 element. Remove redundant check and call g_path_is_absolute() on the
6012 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6014 * docs/design/draft-klass.txt:
6015 Add existing category analysis.
6018 Fix doc example, framerate is a fraction.
6020 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6023 * docs/gst/Makefile.am:
6024 * docs/gst/gstreamer-sections.txt:
6025 * docs/libs/Makefile.am:
6026 Erm, forgot a bunch of --extra-dir.
6028 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6031 * docs/gst/Makefile.am:
6032 * docs/libs/Makefile.am:
6033 * docs/plugins/Makefile.am:
6034 Add crossreferences to glib/gobject docs.
6036 2007-02-12 Wim Taymans <wim@fluendo.com>
6038 * docs/design/draft-latency.txt:
6041 * docs/libs/gstreamer-libs-sections.txt:
6042 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6043 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6044 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6045 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6046 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6047 (gst_base_sink_get_position), (gst_base_sink_query),
6048 (gst_base_sink_change_state):
6049 * libs/gst/base/gstbasesink.h:
6050 API: gst_base_sink_query_latency() to let subclasses query the upstream
6052 API: gst_base_sink_get_latency() to let subclasses query the configured
6053 latency in the sink.
6054 Implement query and set latency.
6056 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6057 don't continue preroll when we are flushing. Fixes #405284.
6059 * tests/check/pipelines/stress.c: (change_state_timeout),
6060 (quit_timeout), (GST_START_TEST), (stress_suite):
6063 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
6065 Patch by: René Stadler <mail at renestadler de>
6067 * docs/gst/gstreamer-sections.txt:
6068 * gst/gsttaglist.c: (_gst_tag_initialize):
6070 API: add GST_TAG_REFERENCE_LEVEL (#403597).
6072 2007-02-11 Stefan Kost <ensonic@users.sf.net>
6074 * docs/libs/Makefile.am:
6075 Fix path to core docs.
6077 * gst/gstbin.c: (gst_bin_get_by_interface),
6078 (gst_bin_iterate_all_by_interface):
6079 Refix docs by also renaming 'interface' to 'iface' in implementation.
6081 * docs/gst/gstreamer-sections.txt:
6083 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6084 * gst/gstchildproxy.h:
6085 * gst/gstelementfactory.c:
6086 * gst/gstpadtemplate.h:
6087 * libs/gst/controller/gstcontroller.c:
6088 (gst_controlled_property_new):
6091 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
6093 * gst/gstbin.h:(gst_bin_get_by_interface),
6094 (gst_bin_iterate_all_by_interface):
6095 Replace interface parameter name by iface as interface is
6096 a reserved keyword in Visual Studio for C++ projects so it removes
6097 a build error for application developpers using VS.
6098 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6099 Fix a bug on Windows in uri format check. Now the prefix checked
6100 is file:// and next we check if the path after file:// is absolute.
6101 * win32/common/libgstbase.def:
6102 * win32/common/libgstdataprotocol.def:
6103 * win32/common/libgstgstreamer.def:
6104 Add new exported functions.
6106 2007-02-09 Andy Wingo <wingo@pobox.com>
6108 * tests/check/pipelines/simple-launch-lines.c
6109 (simple_launch_lines_suite, test_tee): Disable tee test until I
6110 have time to fix it :-(
6112 * tests/check/Makefile.am (noinst_HEADERS):
6113 * tests/check/libs/libsabi.c:
6114 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6115 * tests/check/gst/gstabi.c:
6116 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6118 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6119 tests for push and pull tee behavior.
6121 * plugins/elements/gsttee.h:
6122 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6123 mark as deprecated as well as unimplemented. It was a crack idea.
6124 Add support for tee operating in pull mode, off by default.
6126 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6127 normal-case logs down to LOG, raise errors to WARNING.
6128 (gst_registry_xml_read_cache): Don't log before calling a function
6131 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6132 exit (registry finalize).
6133 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6134 DEBUG log when we emit signals that people don't even have the
6135 chance to connect to.
6136 (gst_registry_scan_path_level): Less logging in the normal case.
6138 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6140 Patch by: Michal Benes <michal dot benes at itonis dot tv>
6142 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6143 Correctly generate EOS for non-seekable files. We don't have a total
6144 length for them and would get an unexpected end of file if we only
6145 special-cased for regular files. (Fixes: #404569)
6147 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6149 * tests/check/elements/filesrc.c: (GST_START_TEST),
6151 Add unit test for the GstURIHandler interface in filesrc. This also
6152 tests the newly added file://localhost/foo/bar support.
6154 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
6156 * gst/gstelementfactory.h:
6157 The klass string is not a hierarchy. Add reference to the design doc
6158 for more information and common types.
6160 2007-02-02 Wim Taymans <wim@fluendo.com>
6162 * gst/gstquery.c: (gst_query_new_latency):
6163 Remove old structure field.
6165 2007-02-02 Stefan Kost <ensonic@users.sf.net>
6167 * tools/gst-launch.1.in:
6168 Give example for network streaming (#351998)
6170 2007-02-02 Wim Taymans <wim@fluendo.com>
6172 * docs/gst/gstreamer-sections.txt:
6173 Add docs for new methods.
6175 * gst/gstevent.c: (gst_event_new_latency),
6176 (gst_event_parse_latency):
6178 Add new LATENCY event to configure latency in a pipeline.
6179 API: gst_event_new_latency
6180 API: gst_event_parse_latency
6182 * gst/gstmessage.c: (gst_message_new_buffering),
6183 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6184 (gst_message_new_latency), (gst_message_parse_buffering),
6185 (gst_message_parse_lost_preroll):
6187 Added messages used in draft-latency.
6188 API: gst_message_new_lost_preroll
6189 API: gst_message_parse_lost_preroll
6190 API: gst_message_new_prerolled
6191 API: gst_message_new_latency
6193 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6194 (gst_query_parse_latency):
6196 Implemented new latency query as in design doc.
6197 API: gst_query_new_latency
6198 API: gst_query_set_latency
6199 API: gst_query_parse_latency
6201 2007-02-02 Wim Taymans <wim@fluendo.com>
6203 * docs/design/draft-latency.txt:
6204 Slight redesign to allow for dynamic latency adjustments.
6206 * docs/design/part-negotiation.txt:
6209 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6211 reviewed by: Wim Taymans <wim@fluendo.com>
6213 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6214 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6215 Allow file://localhost/foo/bar URLs and correctly fail for every other
6216 hostname that one sets. This was gnomevfssrc is linked for those if
6217 installed as it can handle it (#403172)
6219 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6221 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6224 (unref_data), (gst_collect_pads_add_pad_full):
6225 * libs/gst/base/gstcollectpads.h:
6226 Don't put the previously added destroy notify in the GstCollectData
6227 struct as all it's padding is already used and we don't want to break
6228 ABI. Instead put in the pad's GObject data for now. This should be
6229 cleaned up for 0.11 (#402393).
6231 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6233 reviewed by: Wim Taymans <wim@fluendo.com>
6235 * docs/libs/gstreamer-libs-sections.txt:
6236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6237 (unref_data), (gst_collect_pads_add_pad),
6238 (gst_collect_pads_add_pad_full):
6239 * libs/gst/base/gstcollectpads.h:
6240 API: Add function to specify a destroy notification for custom
6241 GstCollectData when adding new pads in GstCollectPads (#402393).
6243 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6246 Update Swedish translation (#378255).
6248 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6250 * docs/design/draft-klass.txt:
6251 Fix the previous change, this is a list of categories and not a hierarchy.
6253 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6255 * docs/design/draft-klass.txt:
6256 Add info about how to get a list of used classes.
6258 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6260 * plugins/elements/gsttypefindelement.c:
6261 (gst_type_find_element_chain_do_typefinding),
6262 (gst_type_find_element_change_state):
6263 Don't leak found caps in chain function (no idea why that never
6264 showed up as a leak anywhere).
6266 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6269 Fix and expand GstPluginDesc API docs.
6271 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6274 * gst/gstelementfactory.c:
6275 * gst/gstpadtemplate.h:
6278 * libs/gst/controller/gstcontroller.c:
6279 (gst_controlled_property_new):
6280 * tests/examples/controller/audio-example.c:
6283 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6286 comment about refining the xml deps
6289 comments about moving away from jade for docs
6292 recommit the ifdefs to use the binary registry
6294 * gst/gstbin.c: (gst_bin_change_state_func):
6295 this break is obsolete
6297 * gst/gstelementfactory.h:
6298 better GST_ELEMENT_DETAILS docs, add comment about translation
6303 * gst/gstobject.c: (gst_signal_object_get_type):
6304 add G_UNLIKELY as usual
6306 * gst/gstpad.c: (gst_pad_event_default):
6307 add fall trhu comment
6309 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6310 (gst_registry_binary_initialize_magic),
6311 (gst_registry_binary_save_string),
6312 (gst_registry_binary_save_pad_template),
6313 (gst_registry_binary_save_feature),
6314 (gst_registry_binary_save_plugin),
6315 (gst_registry_binary_write_cache),
6316 (gst_registry_binary_check_magic),
6317 (gst_registry_binary_load_pad_template),
6318 (gst_registry_binary_load_feature),
6319 (gst_registry_binary_load_plugin),
6320 (gst_registry_binary_read_cache):
6321 comment typo and formatting
6323 * gst/gstutils.c: (gst_element_state_get_name),
6324 (gst_element_state_change_return_get_name):
6325 remove obsolete breaks
6327 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6328 add FIXME 0.11 and remove cpp comment
6330 2007-01-29 Edward Hervey <edward@fluendo.com>
6332 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6333 Fix print statement in an even more portable way.
6335 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6337 * docs/gst/gstreamer-sections.txt:
6339 API: add GST_ROUND_DOWN_* macros (#401781).
6341 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6343 * docs/gst/gstreamer.types.in:
6344 * gst/gstregistry.c: (gst_registry_class_init):
6345 Document registry signals and make gtk-doc pick them up (#401381).
6347 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6349 * docs/pwg/building-testapp.xml:
6350 Add some audioconverts and audioresample to the pipeline, and some
6351 more comments and error handling.
6353 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6355 * docs/manual/manual.xml:
6359 2007-01-26 Wim Taymans <wim@fluendo.com>
6361 * gst/gstcaps.c: (gst_static_caps_get):
6362 Init caps flags too.
6364 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6366 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6368 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6369 If not using mmap'ed files try to seek to the end instead of the
6370 start to determine whether we can seek at all. This fixes the case
6371 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6372 seeks for everything afterwards fail. Fixes #400656
6374 2007-01-25 Wim Taymans <wim@fluendo.com>
6376 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6377 Add some refcount debugging.
6378 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6379 in multiple streaming threads.
6381 2007-01-25 Wim Taymans <wim@fluendo.com>
6383 Patch by: David Schleef <ds at schleef dot org>
6385 * docs/libs/gstreamer-libs-sections.txt:
6386 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6387 * libs/gst/base/gstadapter.h:
6388 API: gst_adapter_copy() that can reduce the amount of memcpy when
6389 getting data from the adapter. Fixes #388201.
6391 2007-01-25 Edward Hervey <edward@fluendo.com>
6393 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6394 In print statements, "%x" is for guint. Fixes build on macosx.
6396 2007-01-24 Edward Hervey <edward@fluendo.com>
6398 * plugins/elements/gstmultiqueue.c:
6399 (gst_multi_queue_loop):
6401 (single_queue_overrun_cb), (single_queue_underrun_cb),
6402 (single_queue_check_full), (gst_single_queue_new):
6403 Implement single queue growth system.
6404 This uses the extra-size properties, and will grow single queues by
6405 that much if one goes full whereas there are others empty. This is
6406 called extra-mode in the code.
6407 When a single queue's levels go back below the initial max-size
6408 limits, it is no longer in extra-mode. This is to ensure we don't
6409 consume too much memory.
6412 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6414 * gst/gst.c: (gst_init_get_option_group):
6415 Make warning about late g_thread_init() calls a bit more explicit,
6416 so that it's more obvious to application developers what they need
6417 to do if a user files a bug against their application.
6419 2007-01-22 Edward Hervey <edward@fluendo.com>
6421 * plugins/elements/gstmultiqueue.c:
6422 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6423 Remove previous hack of unsetting the flushing flag for the source pad
6424 instead of activating it. Instead, fix the source pad activate function
6425 so that it no longer depends on having a parent set or not.
6427 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6429 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6431 * docs/manual/basics-bus.xml:
6432 Fix example code, gst_element_unref() doesn't exist any longer.
6434 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6436 Patch by: Mark Nauwelaerts <manauw at skynet be>
6439 Fix two docs typoes (#399094).
6441 2007-01-19 Edward Hervey <edward@fluendo.com>
6443 * docs/faq/gst-uninstalled:
6444 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6445 depending on libgstbaseutils can work in uninstalled environment.
6447 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6450 * gst/gsttagsetter.c:
6451 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6452 statement for new tag.
6454 2007-01-17 Edward Hervey <edward@fluendo.com>
6456 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6457 When dynamically creating single queues, activate sinkpad before adding
6459 We should be doing the same thing for the source pad, but we can't
6460 since it would call a method which needs the parent to be set in order
6461 to work propertly. Instead of activating the source pad, we just unset
6462 the flushing flag, which is the minimal requirement for adding a pad
6463 to an element in a state greater than READY.
6465 2007-01-17 Edward Hervey <edward@fluendo.com>
6467 * docs/faq/gst-uninstalled:
6468 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6471 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6473 * tests/check/gst/gstabi.c:
6474 * tests/check/gst/struct_hppa.h:
6475 * tests/check/libs/libsabi.c:
6476 * tests/check/libs/struct_hppa.h:
6477 Add ABI structs for HPPA (see #393796).
6479 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6481 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6482 Actually write ABI structs to the file specified in the GST_ABI
6483 environment variable, as the message we print claims we would.
6485 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6487 * tests/check/gst/gsttask.c:
6490 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6492 * gst/gsttaglist.c: (_gst_tag_initialize):
6493 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6494 previous two entries.
6496 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6498 * docs/gst/gstreamer-sections.txt:
6499 * gst/gsttaglist.c: (_gst_tag_initialize):
6501 Add tag support for beat-per-minute.
6503 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6505 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6506 (gst_registry_binary_initialize_magic),
6507 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6508 (gst_registry_binary_save_pad_template),
6509 (gst_registry_binary_save_feature),
6510 (gst_registry_binary_save_plugin),
6511 (gst_registry_binary_write_cache),
6512 (gst_registry_binary_check_magic),
6513 (gst_registry_binary_load_pad_template),
6514 (gst_registry_binary_load_feature),
6515 (gst_registry_binary_load_plugin),
6516 (gst_registry_binary_read_cache):
6517 * gst/gstregistrybinary.h:
6518 Use glib types, cleanup comments, impement interfaces and uri-types.
6520 2007-01-13 Andy Wingo <wingo@pobox.com>
6522 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6523 getrange() to return buffers with other caps, while we fix
6524 demuxers and typefind, or otherwise change part-negotiation.txt.
6526 2007-01-12 Andy Wingo <wingo@pobox.com>
6528 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6529 Factor start/stop into this private function instead of partially
6530 in activate functions and partially in the change_state function.
6531 Fixes setup before the element has changed from READY->PAUSED, as
6532 is the case in pull-mode pipelines.
6533 (gst_base_transform_sink_activate_push)
6534 (gst_base_transform_src_activate_pull): Refactor to use
6535 gst_base_transform_activate().
6536 (gst_base_transform_change_state): Removed, not needed any more.
6538 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6539 Truncate before fixating.
6541 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6542 Don't set_caps() if the result of fixating is ANY, as it's not
6543 supported, and not necessary in the case of a link with no
6544 template caps on either side. Fixes tests/check/libs/basesrc in
6545 some pull-mode tests.
6547 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6548 (gst_base_transform_init, gst_base_transform_sink_activate_push)
6549 (gst_base_transform_src_activate_pull):
6550 Track the activation mode.
6551 (gst_base_transform_setcaps): In pull mode, when activating the
6552 src pad, after activating the sink pad, activate the sink pad's
6553 peer, as discussed in part-negotiation.txt.
6555 * libs/gst/base/gstbasesrc.h:
6556 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6557 vmethod, as in basesink.
6559 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6561 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6562 mode, first proxy the setcaps to the peer pad.
6563 (gst_base_sink_pad_fixate): Add a fixate function that calls the
6565 (gst_base_sink_default_activate_pull): Rename from
6566 gst_base_sink_activate_pull.
6567 (gst_base_sink_negotiate_pull): New function, performs negotiation
6568 in pull mode before calling ::activate_pull().
6569 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6570 vmethod instead of the default implementation. I have no idea how
6571 this worked before. Negotiate before calling activate_pull.
6573 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6574 sink pads in pull mode. In addition to being correct, fixes
6575 filesrc ! decodebin ! identity ! fakesink.
6576 (gst_pad_get_range, gst_pad_pull_range): Don't call
6577 gst_pad_set_caps() if the caps changes; instead error out with
6578 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6580 2007-01-12 Andy Wingo <wingo@pobox.com>
6582 * docs/design/part-negotiation.txt: Update with more policy.
6584 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6586 * libs/gst/check/gstbufferstraw.h:
6587 * libs/gst/check/gstcheck.h:
6588 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6591 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6593 * tests/check/Makefile.am:
6594 * tests/check/gst/.cvsignore:
6595 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6596 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6597 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6598 (GST_START_TEST), (gst_tag_setter_suite):
6599 Add minimal unit test for beforementioned GstTagSetter bug.
6601 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
6603 Patch by: René Stadler <mail at renestadler dot de>
6605 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6606 gst_tag_list_merge() returns a new list, so it's not the best idea
6607 to ingore its return value. Effectively meant that tags could only
6608 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6609 Also add function guard to require a non-NULL taglist as input (has
6610 always been so due to gst_tag_list_copy(), just making it explicit).
6612 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6614 * docs/random/draft-missing-plugins.txt:
6615 Some additions: mention new API that is supposed to be used at the
6616 various stages; short blob about new gst-inspect introspection
6617 option; mention potential future problem with plugins that have
6618 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6620 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6622 * tools/gst-inspect.c:
6623 (print_plugin_automatic_install_info_codecs),
6624 (print_plugin_automatic_install_info_protocols),
6625 (print_plugin_automatic_install_info), (main):
6626 Add --print-plugin-auto-install-info option to gst-inspect, so we can
6627 introspect plugin files and get machine-parsable output that corresponds
6628 to the last bit of the missing-plugin installer string (small gotcha:
6629 doesn't take into account ranks).
6631 2007-01-11 Stefan Kost <ensonic@users.sf.net>
6634 * docs/gst/gstreamer-sections.txt:
6636 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6637 (gst_registry_lookup_locked):
6638 * gst/gstregistry.h:
6639 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6640 (gst_registry_binary_initialize_magic),
6641 (gst_registry_binary_save_string),
6642 (gst_registry_binary_save_pad_template),
6643 (gst_registry_binary_save_feature),
6644 (gst_registry_binary_save_plugin),
6645 (gst_registry_binary_write_cache),
6646 (gst_registry_binary_check_magic),
6647 (gst_registry_binary_load_pad_template),
6648 (gst_registry_binary_load_feature),
6649 (gst_registry_binary_load_plugin),
6650 (gst_registry_binary_read_cache):
6651 * gst/gstregistrybinary.h:
6652 * gst/gstregistryxml.c: (load_feature),
6653 (gst_registry_xml_read_cache):
6654 commit binary registry (disabled by default, see #359653)
6656 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
6658 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6659 Fix 'make check' too.
6661 2007-01-10 Andy Wingo <wingo@pobox.com>
6663 * docs/design/part-negotiation.txt: Fix a typo, add a couple
6666 * docs/design/part-negotiation.txt: Update with, um, one way that
6667 pull-mode negotiation might work?
6670 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6671 that the pad must be a src pad; makes sense to call it the other
6672 way in pull mode, and the logic is symmetric anyway.
6674 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
6676 * plugins/elements/gstfilesink.c:
6677 Include <stdio.h> for fseeko().
6679 2007-01-10 Wim Taymans <wim@fluendo.com>
6683 Reserve LATENCY event.
6685 2007-01-09 Wim Taymans <wim@fluendo.com>
6687 * docs/design/draft-latency.txt:
6690 2007-01-09 Wim Taymans <wim@fluendo.com>
6692 * docs/design/draft-latency.txt:
6696 * gst/gststructure.c:
6700 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
6702 * tests/check/.cvsignore:
6703 Ignore test-registry.xml as well.
6705 2007-01-09 Wim Taymans <wim@fluendo.com>
6707 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6708 unref data at the end when we are done with the pad.
6710 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6712 * docs/gst/gstreamer-sections.txt:
6713 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6714 (init_post), (gst_deinit), (gst_update_registry):
6716 API: add gst_update_registry() (#391296).
6718 * tests/check/Makefile.am:
6719 * tests/check/gst/gstregistry.c:
6720 * tests/check/gst/.cvsignore:
6721 Simple unit test for the above.
6723 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
6725 * gst/gstregistry.c: (gst_registry_scan_path_level):
6726 Plugin extension on HP-UX is .sl, add that to the list of approved
6727 plugin extensions (see #393796).
6729 * tests/check/gst/gstpad.c: (GST_START_TEST):
6730 ulong => gulong. Fixes compilation with HP-UX compiler.
6732 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6733 Fix compilation if valgrind headers are not available.
6735 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
6737 * win32/common/libgstreamer.def:
6738 Add new exported function.
6739 * win32/vs6/libgstbase.dsp:
6740 Add gstdataqueue.c to the build.
6741 * win32/vs6/libgstcoreelements.dsp:
6742 Add gstmultiqueue.c to the build.
6744 2007-01-06 Andy Wingo <wingo@pobox.com>
6746 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6747 activate_pull(), providing for a way to specialize the process of
6748 spawning a thread to pull on the sink pad. There is a default
6751 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6752 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6753 (gst_base_sink_init): Renamed pad activation functions (inserting
6754 "_pad" in their names). Refactor to use the new activate_pull
6755 vmethod, as appropriate.
6756 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6757 default activate_pull function to start a task pulling from the
6758 sink pad, as before.
6760 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6761 on the pads if necessary, as in push()/chain(). Update docs.
6762 Shouldn't affect existing pull() usage as it is currently only
6763 being used on buffers without caps.
6765 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6767 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6769 Call g_thread_init() first thing in gst_init() / gst_check_init().
6770 When initialisation is done via gst_init_get_option_group() and
6771 GOption parsing, issue a warning if the GLib thread system has not
6772 been initialised yet by the time gst_init_get_option_group() is
6773 called, as it's quite likely other GLib functions such as
6774 g_option_context_new() have been called already then, and
6775 g_thread_init() must be called before any other GLib function. The
6776 application in question must be fixed in that case, since memory
6777 corruption might happen otherwise.
6778 We issue the warning because even if the GLib folks decide to work
6779 around the problem on their end in future, this is still an issue
6780 with all GLib versions >= 2.10.0, so we should warn until we depend
6781 on a GLib version we know to be safe.
6782 Update documentation as well.
6785 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6787 * tools/gst-inspect.c: (main):
6788 * tools/gst-launch.c: (main):
6789 * tools/gst-typefind.c: (main):
6790 * tools/gst-xmlinspect.c: (main):
6791 Call g_thread_init() really really early, before any other GLib
6792 function (see #342564 and recent discussion on gtk-devel-list).
6794 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6796 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
6798 * gst/gst_private.h:
6799 * gst/gstconfig.h.in:
6801 On win32, all the __declspec stuff for symbol exporting is
6802 apparently only needed with MSVC, but doesn't work with MingW.
6803 Fixes compilation with MingW and #391909.
6805 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
6807 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6808 Change some GST_ERROR_OBJECT that aren't really errors to
6809 GST_WARNING_OBJECT in order to reduce terminal spam.
6811 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6813 * tests/check/Makefile.am:
6814 disable test again, as there seem to be still race problems
6816 2007-01-04 Stefan Kost <ensonic@users.sf.net>
6818 * tests/check/Makefile.am:
6819 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6820 (GST_START_TEST), (queue_suite):
6821 enable queue test again, add tests for the leaky behaviour
6823 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
6826 * tests/examples/Makefile.am:
6827 Compile adapter test/example only if the required headers are
6828 available (fixes #391915).
6830 2007-01-01 David Schleef <ds@schleef.org>
6833 Restore the previous signal handler for SIGSEGV instead of
6834 setting to default, since we may have stolen it away from
6835 someone. (i.e., Mono)
6837 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6839 * docs/random/draft-missing-plugins.txt:
6840 Some small additions and clarifications.
6842 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6844 * gst/gstregistryxml.c: (gst_registry_save_escaped):
6845 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6846 since that can lead to random memory corruptions and crashes
6847 (may or may not be related to #383244, #386711, and #386711).
6849 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6851 * tests/check/.cvsignore:
6852 * tests/check/Makefile.am:
6853 sync .cvsignome and CLEANFILES
6855 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6857 * tests/check/Makefile.am:
6860 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6862 * docs/design/part-states.txt:
6863 two tiny additional comments
6865 * gst/gststructure.c:
6868 * tests/check/Makefile.am:
6869 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6871 disable test for now, unless it gets fixed
6873 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6875 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6877 fix race in underrun test
6879 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6881 * tests/check/elements/.cvsignore:
6884 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6886 try to narrow test failure
6888 2006-12-21 David Schleef <ds@schleef.org>
6890 * plugins/elements/gstfakesrc.c:
6891 Use g_random_int_range(), since it produces better random
6892 numbers in a range than almost-correct floating point code.
6894 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6896 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6897 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6898 (gst_check_teardown_sink_pad):
6899 do not automatically (de)activate pads
6901 * tests/check/Makefile.am:
6902 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6903 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6904 add new, yet simple tests for queue
6906 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6907 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6908 * tests/check/elements/filesrc.c: (cleanup_filesrc),
6910 * tests/check/elements/identity.c: (cleanup_identity):
6911 consistent pad (de)activation
6913 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
6915 Patch by: Sebastian Dröge <slomo ubuntu com>
6917 * libs/gst/base/gstcollectpads.c:
6918 Fix two doc typos (#387866).
6920 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6922 * docs/manual/advanced-dparams.xml:
6923 Fix typo (g_object_control_properties() doesn't exist).
6925 2006-12-19 Edward Hervey <edward@fluendo.com>
6927 * gst/gstsegment.c: (gst_segment_set_seek):
6928 Fine tune the cases where the segment start/stop values are really
6930 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6931 Add tests for the return values of gst_segment_set_seek().
6933 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6938 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6940 Fix incorrect documentation and flesh it out a bit more.
6941 Set default values for the max properties on the GParamSpec as well,
6942 so it shows up correctly in gst-inspect.
6944 2006-12-18 Stefan Kost <ensonic@users.sf.net>
6946 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6947 Correct docs of queue, add more detail and crosslink it more.
6949 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6951 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6952 Print additional debug info when the stream isn't perfectly
6953 timestamped; don't try to use invalid durations.
6955 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6957 * docs/design/Makefile.am:
6958 Dist new design docs.
6960 2006-12-16 Wim Taymans <wim@fluendo.com>
6962 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6964 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6965 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6966 (gst_collect_pads_stop), (gst_collect_pads_event),
6967 (gst_collect_pads_chain):
6968 * libs/gst/base/gstcollectpads.h:
6969 Add refcounting to the collectpads data so we can track when it's safe
6970 to free the data. Fixes #383382.
6972 2006-12-15 Wim Taymans <wim@fluendo.com>
6974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6975 (gst_collect_pads_remove_pad):
6976 Automatically activate/deactivate pads when they are added to a
6977 started/stoped collectpads.
6979 2006-12-15 Wim Taymans <wim@fluendo.com>
6981 * gst/gstelement.c: (gst_element_add_pad):
6982 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6983 * gst/gstpad.c: (gst_pad_init):
6984 Set pads to FLUSHING when they are created. Check, warn and fix when a
6985 demuxer adds an inactive pad to itself when running. Fixes #339326.
6987 2006-12-15 Wim Taymans <wim@fluendo.com>
6989 * gst/gstelement.c: (gst_element_class_init),
6990 (gst_element_default_send_event), (gst_element_send_event),
6991 (gst_element_default_query), (gst_element_query):
6992 Expose default element send_event and query handling as vmethods that
6993 subclasses can chain up to.
6995 2006-12-15 Wim Taymans <wim@fluendo.com>
6997 * gst/gstelement.c: (gst_element_set_state_func):
6998 Small documentation fixes.
7000 2006-12-15 Wim Taymans <wim@fluendo.com>
7002 * docs/design/draft-latency.txt:
7003 Checked in draft for handling latency in pipelines.
7005 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
7009 * gstreamer.spec.in:
7012 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
7014 * gst/gst.c: (init_pre), (init_post):
7015 init_pre() and init_post() might be called via our GOptionGroup or
7016 from gst_init(), and we should skip both of them if we've already
7017 been initialised, otherwise we will init some things twice or add
7018 two default log functions.
7020 2006-12-13 Edward Hervey <edward@fluendo.com>
7022 * docs/manual/basics-bus.xml:
7023 No, gst_main_loop does not exist. Its g_main_loop.
7024 Discovered by somebody who abused the copy-paste technique of coding :)
7026 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
7028 * gst/gstghostpad.c:
7029 Log ghostpad debug stuff to the GST_PADS category as well rather
7030 than just to the default category.
7032 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
7035 * gst/gst.c: (init_pre):
7036 Add some basic system details such as OS and architecture
7037 to the debug output if possible, courtesy of uname().
7039 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
7041 * docs/gst/running.xml:
7042 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7043 environment variables.
7045 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7047 * tests/check/gst/gstbin.c: (GST_START_TEST):
7048 It is acceptable to have a refcount of 2 or 3 at this point in the
7049 test, because the pipeline might be just posting its state_change
7050 message. The next line then waits for that message to appear using
7051 bus_poll, so that should be fine too.
7053 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7055 * gst/gst.c: (ensure_current_registry_forking):
7056 Ignore EINTR when reading from the child registry pipe.
7057 Explicitly ignore the return value from close, since it makes no
7060 * gst/gstminiobject.c: (gst_mini_object_ref),
7061 (gst_mini_object_unref):
7062 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7064 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7065 When removing cached plugins, remove their features too, so they're
7066 not visible after they've disappeared.
7068 * gst/gstutils.c: (prepare_link_maybe_ghosting):
7069 In the unlikely case that we are linking pads with no parents, don't
7070 crash trying to get the non-existent parent bin.
7072 * gst/parse/grammar.y:
7073 Output debug in the PIPELINE category
7075 2005-03-08 Wim Taymans <wim@fluendo.com>
7077 Patch by: René Stadler <mail at renestadler dot de>
7079 * gst/gstclock.c: (gst_clock_new_periodic_id):
7080 Reject invalid clock times for interval of periodic ids.
7083 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7085 * gst/gstelementfactory.c: (gst_element_factory_create):
7086 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7087 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7088 * tools/gst-inspect.c: (print_element_info):
7089 Fix refcounting of gst_plugin_feature_load to match the docs.
7092 2006-12-07 Wim Taymans <wim@fluendo.com>
7094 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7095 (gst_base_sink_get_position):
7096 Improve debugging of events.
7098 2006-12-07 Wim Taymans <wim@fluendo.com>
7100 Patch by: René Stadler <mail at renestadler dot de>
7102 * gst/gstclock.c: (gst_clock_id_wait):
7103 Make period ids add the interval to the origial requested time instead
7104 of the possibly updated time which can be wrong when there are multiple
7105 waiters for the same id. Fixes #382592.
7107 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7108 (gst_system_clock_id_wait_jitter_unlocked),
7109 (gst_system_clock_id_wait_jitter):
7110 Fix restart in the async notify thread when an async entry is added to
7111 the front of the list. Fixes #381492.
7113 * tests/check/gst/gstsystemclock.c: (store_callback),
7114 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7115 Added test for multiple async waits.
7116 Added test for async wait order.
7118 2006-12-07 Wim Taymans <wim@fluendo.com>
7120 * gst/gstbin.c: (gst_bin_query):
7121 Add some more docs about the POSITION query.
7123 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7126 Bump version nano - back to CVS.
7128 === release 0.10.11 ===
7130 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
7133 releasing 0.10.11, "Love never runs on time"
7135 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
7137 * win32/common/libgstbase.def:
7138 * win32/common/libgstreamer.def:
7139 * win32/vs8/libgstbase.vcproj:
7140 * win32/vs8/libgstcoreelements.vcproj:
7141 * win32/vs8/libgstreamer.vcproj:
7142 Fix compilation on win32 under VS8
7143 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7144 Partially fixes #381175
7146 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7148 * gst/gstvalue.c: (gst_value_compare_fraction):
7149 If someone is foolish enough to compare 2 fractions with denominator =
7150 0, return UNORDERED rather than aborting.
7152 2006-11-28 Edward Hervey <edward@fluendo.com>
7154 * libs/gst/base/Makefile.am:
7155 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7156 (gst_data_queue_base_init), (gst_data_queue_class_init),
7157 (gst_data_queue_init), (gst_data_queue_new),
7158 (gst_data_queue_cleanup), (gst_data_queue_finalize),
7159 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7160 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7161 (gst_data_queue_is_empty), (gst_data_queue_is_full),
7162 (gst_data_queue_set_flushing), (gst_data_queue_push),
7163 (gst_data_queue_pop), (gst_data_queue_drop_head),
7164 (gst_data_queue_set_property), (gst_data_queue_get_property):
7165 * libs/gst/base/gstdataqueue.h:
7166 New GstDataQueue object for threadsafe queueing. Most useful for
7167 elements that need some queueing functionnality.
7168 * docs/libs/gstreamer-libs-docs.sgml:
7169 * docs/libs/gstreamer-libs-sections.txt:
7170 Insert documentation for GstDataQueue
7171 * plugins/elements/Makefile.am:
7172 * plugins/elements/gstelements.c:
7173 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7174 (gst_multi_queue_class_init), (gst_multi_queue_init),
7175 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7176 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7177 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7178 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7179 (gst_multi_queue_loop), (gst_multi_queue_chain),
7180 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7181 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7182 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7183 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7184 (wake_up_next_non_linked), (compute_next_non_linked),
7185 (single_queue_overrun_cb), (single_queue_underrun_cb),
7186 (single_queue_check_full), (gst_single_queue_new):
7187 * plugins/elements/gstmultiqueue.h:
7188 New multiqueue element, using GstDataQueue. Used for queuing multiple
7190 Closes #344639 and #347785
7192 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7194 * docs/pwg/advanced-types.xml:
7195 add more missing type details
7197 * tools/gst-run.c: (main):
7198 remove unused variable
7200 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7202 * docs/libs/Makefile.am:
7203 * docs/libs/gstreamer-libs.types:
7204 add types of base classes to enable gobject specific stuff in the docs
7206 * docs/random/ensonic/embedded.txt:
7207 more ideas about isolating platform specific things
7209 2006-11-20 Wim Taymans <wim@fluendo.com>
7211 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7213 * libs/gst/check/gstcheck.h:
7214 Fix compilation and running against 0.9.4. Fixes #377332.
7216 2006-11-20 Wim Taymans <wim@fluendo.com>
7218 * gst/gstsegment.c: (gst_segment_set_seek),
7219 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7220 (gst_segment_to_running_time):
7221 Fix boundary checking in to_running_time() and to_stream_time().
7224 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7225 stream and running time can now be calculated for the complete
7228 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7230 * gst/gstpad.c: (gst_pad_push_event):
7231 Can't access event structure after giving away ownership of
7234 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7236 * docs/random/ensonic/embedded.txt:
7237 * docs/random/ensonic/profiling.txt:
7238 * docs/random/ensonic/receipies.txt:
7241 2006-11-13 Wim Taymans <wim@fluendo.com>
7243 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7246 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7248 2006-11-13 Wim Taymans <wim@fluendo.com>
7250 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7252 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7253 Store new length in segment duration so we don't keep on calling the
7254 potentially expensize get_size() call. Fixes #370865.
7256 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7258 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7260 * win32/common/libgstreamer.def:
7261 Add two missing symbols (#366492).
7263 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7265 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7266 (gst_adapter_take_buffer):
7267 Fix format string to use all its arguments.
7268 Remove useless >= check on a guint
7270 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7272 * tests/examples/adapter/.cvsignore:
7273 Ignore build file as commanded by the build-bot
7275 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7277 * tests/examples/adapter/Makefile.am:
7278 * tests/examples/adapter/adapter_test.c: (run_test_take),
7279 (run_test_take_buffer), (run_tests), (main):
7281 Add new files from the previous commit
7283 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7287 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7288 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7289 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7290 * libs/gst/base/gstadapter.h:
7291 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7292 (GST_START_TEST), (gst_adapter_suite):
7293 * tests/examples/Makefile.am:
7294 Do some optimisation work in GstAdapter to avoid copies in more cases.
7295 It could still do slightly better by merging buffers when
7296 gst_buffer_is_span_fast is true, but is already faster.
7298 Also, avoid traversing a single-linked list to append each incoming
7299 buffer inside the adapter.
7301 Add simple test app that times the adapter behaviour in different
7302 situations, and extend the unit test to check that bytes enter and
7303 exit the adapter in their original order.
7305 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7307 * docs/random/draft-missing-plugins.txt:
7308 Update: use element message instead of adding a new message
7309 type to the core; don't provide GStreamer API to initiate the
7310 plugin download, just provide API to compose the strings needed
7311 and let an external libgimmestuff handle the rest.
7313 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7315 * tools/gst-inspect.c: (print_element_properties_info):
7316 Print a string instead of 'unknown type' for GValueArray properties
7318 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7320 * docs/random/draft-missing-plugins.txt:
7323 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7325 * tests/examples/typefind/typefind.c: (type_found), (main):
7326 Make typefind element example work again (#371894); add a
7329 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7331 * docs/random/draft-missing-plugins.txt:
7332 Commit initial draft about how to deal with missing plugins,
7333 needs work (API too).
7335 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7337 * docs/pwg/advanced-types.xml:
7338 documents the new caps elements (see #363118)
7340 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7342 * gst/gstplugin.c: (gst_plugin_load_file):
7343 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7344 (gst_file_src_map_region), (gst_file_src_start):
7345 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7346 (gst_file_index_commit):
7347 Use g_strerror() instead of strerror() - we want UTF-8.
7349 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7351 Patch by: Peter Kjellerstedt <pkj at axis com>
7353 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7354 Another printf fix (#371493).
7356 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7358 * tests/check/gst/gsttag.c:
7359 relicence (okay with author=company)
7361 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7363 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7364 (gst_pad_push_event):
7365 Enhance debug and improve docs
7370 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7372 * docs/random/ensonic/distributed.txt:
7373 * docs/random/ensonic/profiling.txt:
7376 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7378 * docs/gst/gstreamer-sections.txt:
7379 add new API and fix the build
7381 * gst/gstbin.c: (gst_bin_recalc_state):
7382 * gst/gstelement.c: (gst_element_message_full),
7383 (gst_element_get_state_func), (gst_element_set_state_func):
7384 use new API and improve logging
7386 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7388 API: add function to get StateChangereturn names to improve logs
7390 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7392 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7393 I'm considering shooting the next person to put strerror stuff
7394 in the translateable part of the message.
7396 2006-11-03 Wim Taymans <wim@fluendo.com>
7398 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7399 Get the type and printf conversion specifiers right.
7401 2006-11-03 Wim Taymans <wim@fluendo.com>
7403 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7405 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7406 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7407 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7408 Some small cleanups. Improve debugging.
7410 Signal all waiting threads with a broadcast instead of just one.
7413 2006-11-03 Wim Taymans <wim@fluendo.com>
7415 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7416 (gst_fd_src_create):
7418 Only update fd when it's different from the old.
7420 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7422 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7423 Printf fixes for PPC/OSX, take two (#369366).
7425 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7427 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7429 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7430 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7431 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7432 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7433 don't cast to long long for portability reasons, but use
7434 GLib's types instead.
7436 2006-10-30 Michael Smith <msmith@fluendo.com>
7438 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7439 Get the arguments to lseek() the right way around.
7442 2006-10-30 Wim Taymans <wim@fluendo.com>
7444 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7447 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7449 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7451 Patch by: Kjartan Maraas <kmaraas at gnome org>
7453 * docs/design/part-MT-refcounting.txt:
7454 * docs/random/wtay/capsnego2-docs:
7457 Typo fixes (#366212).
7459 2006-10-28 Wim Taymans <wim@fluendo.com>
7461 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7464 * win32/common/libgstbase.def:
7465 * win32/common/libgstreamer.def:
7466 * win32/vs8/libgstbase.vcproj:
7467 * win32/vs8/libgstcontroller.vcproj:
7468 Add needed entries in .def files.
7470 Rearrange def files in vs8 solutions. Fixes #366286.
7472 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7474 * win32/common/gstconfig.h:
7475 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7476 hand-made win32 gstconfig.h. Fixes #366321.
7478 2006-10-27 Wim Taymans <wim@fluendo.com>
7480 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7481 (gst_ghost_pad_new_full):
7482 Make acceptcaps return TRUE when we don't have a target, just like
7485 2006-10-27 Wim Taymans <wim@fluendo.com>
7487 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7488 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7490 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7492 * gst/gststructure.c: (gst_structure_id_set_value):
7493 If someone tries to set a non-UTF8 string field on a structure,
7494 don't just print a warning, but also ignore the request and do
7495 not change/add that field to the structure.
7497 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7500 2006-10-25 David Schleef <ds@schleef.org>
7503 g_hash_table_insert() needs a cast to a non-const pointer duh.
7505 2006-10-25 David Schleef <ds@schleef.org>
7509 Change name parameter of _gst_debug_register_funcptr to const
7510 to reflect the constness of its use in the function as well
7511 as to quiet a gcc warning.
7513 2006-10-25 Edward Hervey <edward@fluendo.com>
7515 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7516 Don't push the buffer if it's empty.
7519 2006-10-24 Wim Taymans <wim@fluendo.com>
7524 * libs/gst/base/gstbasetransform.c:
7525 (gst_base_transform_sink_eventfunc):
7526 Debug segment values *after* updating them as this is more
7529 2006-10-23 Wim Taymans <wim@fluendo.com>
7531 * docs/design/part-events.txt:
7534 * docs/design/part-block.txt:
7535 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7536 (gst_pad_push_event):
7537 Revert BLOCKING patch, it tries to be smart without really having a
7538 clear idea what or how. So, now we discard all FLUSHING events again on
7539 a blocking pad. Should fix gnonlin again.
7541 2006-10-23 Wim Taymans <wim@fluendo.com>
7543 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7545 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7546 (gst_base_src_start), (gst_base_src_activate_push):
7547 Make sure size is always initialized. Fixes #364388.
7549 2006-10-20 Stefan Kost <ensonic@users.sf.net>
7551 * docs/random/ensonic/distributed.txt:
7552 add some ideas about doing distributed processing
7554 * docs/random/ensonic/profiling.txt:
7555 get_rusage look promising
7557 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7559 * docs/manual/basics-helloworld.xml:
7560 Add a cast in example to fix compile warning
7562 2006-10-18 Wim Taymans <wim@fluendo.com>
7564 * gst/gstsegment.c: (gst_segment_set_last_stop),
7565 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7566 Relax arg checking again, -1 is allowed.
7568 2006-10-18 Wim Taymans <wim@fluendo.com>
7570 * gst/gstsegment.c: (gst_segment_set_last_stop),
7571 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7572 _set_last_stop() must be with a value != -1
7573 A _TYPE_SET to -1 means seek to 0.
7574 Calc last_stop correctly for negative rates.
7575 Make sure we work with positive durations when updating a segment.
7577 2006-10-18 Wim Taymans <wim@fluendo.com>
7579 * docs/design/part-live-source.txt:
7583 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
7586 Add an explicit cast to GstBuffer** to keep old code that added an
7587 explicit cast to GstMiniObject** for gst_mini_object_replace()
7588 compiling without warning.
7590 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7592 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7593 check for validity of dates
7595 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7597 * docs/gst/gstreamer-sections.txt:
7598 Forgot this one, makes gtk-doc shut up.
7600 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7602 Patch by: Peter Kjellerstedt <pkj at axis com>
7605 Don't define xmlNodePtr to gpointer if the core was built with
7606 --disable-loadsave and --disable-registry, this will break
7607 applications that want to use libxml2 but are buildling against a
7608 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7609 instead so we don't have to mess with the libxml2 namespace
7612 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
7615 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7616 type-punned pointer warnings.
7618 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
7621 Add casts to the correct return type to state <=> state transition
7624 2006-10-16 Stefan Kost <ensonic@users.sf.net>
7626 * docs/design/part-live-source.txt:
7627 describe howto handle latency
7629 * docs/random/ensonic/profiling.txt:
7632 * tools/gst-plot-timeline.py:
7633 fix log parsing for solaris, remove unused function
7635 2006-10-16 Wim Taymans <wim@fluendo.com>
7637 * docs/design/part-trickmodes.txt:
7639 Update some docs regarding reverse playback.
7641 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
7643 Patch by: Marcus Granado <mrc dot gran at gmail com>
7645 * win32/vs8/grammar.vcproj:
7646 Error out with a warning if glib-genmarshal.exe is not in path,
7647 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7649 2006-10-13 Wim Taymans <wim@fluendo.com>
7651 * gst/gstsegment.c: (gst_segment_set_seek):
7652 When seeking to stop -1, set last_stop (current position) to the
7653 duration of the segment.
7655 2006-10-13 Wim Taymans <wim@fluendo.com>
7658 Clarify _NO_PREROLL a bit more.
7663 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7664 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7665 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7666 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7667 due to wrong locking order. Fixes #361769.
7668 Remove some redundant/misplaced checks in pad_block.
7670 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7671 For negative rates, count backwards from the duration.
7673 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
7675 * gst/gsterror.c: (_gst_library_errors_init):
7676 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7677 up with something better).
7679 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7681 * win32/vs6/libgstreamer.dsp:
7682 * win32/vs7/libgstreamer.vcproj:
7683 * win32/vs8/libgstreamer.vcproj:
7684 Don't reference glib-compat.c which is currently not used and not
7685 disted; add gstquark.c which was recently added. Fixes #361730.
7687 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
7689 * win32/common/libgstbase.def:
7690 * win32/common/libgstcontroller.def:
7691 * win32/common/libgstreamer.def:
7692 Add gst_caps_merge() and a bunch of other recently-added functions.
7695 2006-10-11 Wim Taymans <wim@fluendo.com>
7697 * docs/plugins/gstreamer-plugins.args:
7698 * docs/plugins/inspect/plugin-coreelements.xml:
7699 * docs/plugins/inspect/plugin-coreindexers.xml:
7700 Update element args.
7702 * gst/gstsystemclock.c:
7703 Small comment update.
7705 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7706 (gst_tee_request_new_pad), (gst_tee_release_pad),
7707 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7708 (gst_tee_sink_activate_pull):
7709 * plugins/elements/gsttee.h:
7711 Add default property defines.
7712 Implement release pad function.
7713 Give properties better blubs etc.
7714 Activate pads before adding them to a running tee.
7715 Do simple buffer_alloc on the first requested pad.
7716 Post error when activation fails.
7718 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7720 * gst/gst.c: (ensure_current_registry_forking):
7721 Check return value of write() to make compiler happy.
7723 2006-10-11 Wim Taymans <wim@fluendo.com>
7725 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7727 * plugins/elements/gstqueue.c: (gst_queue_chain):
7728 Recheck queue filledness after signalling the overrun when we're about
7729 to leak downstream because we released the lock when emitting the signal
7730 and the queue could be empty again. Fixes #352345.
7732 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
7734 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7735 Fix refcounting here too, just like we did for _new_valist() a few
7736 days ago (#357180) (thanks to René Stadler). Also remove all those
7737 'Since: 0.9' from the gtk-doc blobs.
7739 * tests/check/libs/controller.c: (controller_refcount_new_list),
7740 (gst_controller_suite):
7741 Unit test for the above.
7743 2006-10-10 Wim Taymans <wim@fluendo.com>
7745 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7747 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7748 (gst_pad_save_thyself):
7750 Write pad direction in XML output. Fixes #345496.
7752 2006-10-10 Wim Taymans <wim@fluendo.com>
7754 Patch by: René Stadler <mail at renestadler dot de>
7756 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7757 (gst_controller_new_list), (_gst_controller_dispose),
7758 (_gst_controller_finalize), (_gst_controller_class_init):
7759 Take ref to controlled object so that it cannot disappear.
7762 2006-10-10 Wim Taymans <wim@fluendo.com>
7764 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7765 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7766 (gst_check_teardown_sink_pad):
7767 Activate/deactivate pads in setup/teardown respectively.
7769 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7771 Patch by: Josep Torra Valles <josep@fluendo.com>
7774 Cast values when making gstenumtypes.h. This pacifies Forte
7775 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7778 2006-10-09 Wim Taymans <wim@fluendo.com>
7780 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7781 Rename some more @cur to @start to fix docs.
7783 * gst/gstsegment.c: (gst_segment_set_seek):
7785 time and start must always stay in sync as defined in design doc.
7787 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7788 Rename param to fix docs.
7790 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7791 Check that start and time are in sync.
7793 * tests/check/pipelines/parse-launch.c:
7794 (gst_parse_test_element_change_state):
7795 Activate pad before adding to the element.
7797 2006-10-09 Wim Taymans <wim@fluendo.com>
7799 * docs/design/part-qos.txt:
7804 Update seek event docs regarding negative rates.
7805 Rename @cur to @start.
7807 * gst/gstsegment.c: (gst_segment_set_seek):
7809 Update set_seek docs regarding negative rates.
7810 Correctly update last_stop to @stop when dealing with negative
7812 Rename @cur to @start.
7814 * tests/check/gst/gstpad.c: (GST_START_TEST):
7815 Activate pads before trying to use them.
7817 * tests/check/gst/gstsegment.c: (GST_START_TEST),
7818 (gst_segment_suite):
7819 Add simple check for segments and negative rates.
7821 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
7823 * gst/gsttaglist.c: (gst_tag_list_is_empty):
7825 * docs/gst/gstreamer-sections.txt:
7826 API: add gst_tag_list_is_empty() (#360467).
7828 * tests/check/gst/gsttag.c: (GST_START_TEST):
7831 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7834 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7835 a value that doesn't fit on enumeration.
7837 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7839 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7840 Remove local debugging system and use Gstreamer's instead.
7842 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7844 Patch by: Josep Torra Valles <josep@fluendo.com>
7846 * common/m4/gst-error.m4:
7847 Disable warning of statement not reached on Forte.
7849 Fix warning on Forte (value doesn't fit on enumeration).
7850 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7851 Fix warning on Forte (value doesn't fit on enumeration).
7852 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7853 DEBUG macro says it takes minimum of 2 args and so Forte
7854 complains about the use with just 1 arg.
7855 * plugins/elements/gstfdsink.c:
7856 * plugins/elements/gstfdsrc.c:
7857 * plugins/elements/gstfilesink.c:
7858 * plugins/elements/gstfilesrc.c:
7859 Use correct return type for the uri handler implementations.
7861 All these fix warnings in Forte. Fixes bug #360860.
7863 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
7866 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7867 format string, so don't use G_GNUC_PRINTF for those versions.
7869 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7871 * gst/gsttaglist.c: (gst_is_tag_list):
7873 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7875 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7876 Small test for the above.
7878 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7881 Less tabs, more spaces.
7883 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
7886 Those two function declarations do actually belong there, revert
7887 commit from yesterday that turned them intro macros.
7889 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7891 Patch by: Josep Torra Valles <josep@fluendo.com>
7893 * gst/gst.c: (gst_init_get_option_group):
7894 Fix empty declaration and type mismatch.
7895 * gst/gstbin.c: (gst_bin_change_state_func):
7897 * gst/gstelement.c: (gst_element_continue_state),
7898 (gst_element_set_state_func), (gst_element_change_state),
7899 (gst_element_change_state_func):
7900 Fix type mismatches.
7901 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7902 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7903 Cast as appropriate.
7904 * gst/gstobject.c: (gst_class_signal_connect):
7905 Cast as appropriate. The function pointer parameter really
7906 has the wrong type but would break API if we change it.
7908 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7909 order of including string.h.
7910 * gst/gstutils.c: (gst_element_state_get_name):
7911 Remove unreachable line.
7912 * gst/gstxml.c: (gst_xml_parse_doc):
7914 All these caught by Forte.
7916 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7918 Patch by: Josep Torra Valles <josep@fluendo.com>
7920 * common/m4/gst-error.m4:
7922 We need to disable warnings on Forte for empty declarations
7923 due to gst-indent adding ;s to lines that just use macros
7924 where the macro actually doesn't need a ; at end to end
7927 2006-10-06 Wim Taymans <wim@fluendo.com>
7929 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7930 (gst_file_sink_close_file), (gst_file_sink_event),
7931 (gst_file_sink_render):
7932 Add some FIXME for the NEWSEGMENT handling.
7934 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7936 * gst/parse/grammar.y:
7937 Remove static function gst_parse_element_lock as all it does
7938 is return. Looks like cruft from 0.8.
7940 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7942 Patch by: Josep Torra Valles <josep@fluendo.com>
7944 * common/m4/gst-error.m4:
7946 * libs/gst/net/Makefile.am:
7947 Fix a compilation issue with Forte on Solaris. inet_aton is in
7950 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7952 * gst/gstpad.c: (pre_activate):
7953 * gst/gstregistry.c: (gst_registry_scan_path_level):
7954 * gst/gstregistryxml.c: (load_plugin):
7955 * libs/gst/controller/gstcontroller.c:
7956 (gst_controlled_property_set_interpolation_mode):
7957 * libs/gst/dataprotocol/dataprotocol.c:
7958 (gst_dp_packet_from_event_1_0):
7959 * libs/gst/net/gstnetclientclock.c:
7960 (gst_net_client_clock_observe_times):
7961 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7964 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7967 * docs/gst/gstreamer-sections.txt:
7968 * gst/gstconfig.h.in:
7971 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7972 whether we can use G_GNUC_PRINTF in other header files and at
7973 least check the printf format/arguments of debug messages and
7974 GST_ELEMENT_ERROR messages when the printf extension is not
7976 Replace more tabs with spaces in gstinfo.h and remove two spurious
7977 function declarations in GST_DISABLE_DEBUG part with macros.
7979 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
7981 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7982 More docs for the sync-message signal (mention that it is not
7983 emitted by default); log message structures of messages posted on
7986 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
7988 * gst/gst.c: (ensure_current_registry_forking):
7989 Use a pipe pair to receive status results from the forked child, and
7990 ignore the result from waitpid. Fixes #355499
7992 2006-10-02 Wim Taymans <wim@fluendo.com>
7994 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7995 (gst_ghost_pad_suite):
7998 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8001 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8003 2006-10-02 Edward Hervey <edward@fluendo.com>
8005 * docs/design/part-block.txt:
8006 Further explain the use of flushing on blocked pads.
8007 * docs/gst/gstreamer-sections.txt:
8008 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8009 (gst_pad_push_event):
8011 Added new GstPadFlag : GST_PAD_BLOCKING.
8012 Adds the notion of pads really blocking, which enables to properly
8013 handle FLUSH_START/FLUSH_STOP events on blocked pads.
8015 API: gst_pad_is_blocking()
8016 API: GST_PAD_IS_BLOCKING() macro
8017 API: GST_PAD_BLOCKING GstPadFlag
8019 2006-10-02 Wim Taymans <wim@fluendo.com>
8021 Patch by: mrcgran <mrc.gran at gmail dot com>
8023 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8024 Filter the proxied caps against the padtemplate if we have one.
8026 * gst/gstquery.c: (gst_query_new_segment):
8027 Add include for gstinfo.h so that compilation with
8028 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8030 2006-10-02 Wim Taymans <wim@fluendo.com>
8032 Patch by: Alessandro Decina <alessandro at nnva org>
8034 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8035 (gst_file_sink_set_location), (gst_file_sink_open_file),
8036 (gst_file_sink_close_file), (gst_file_sink_event),
8037 (gst_file_sink_render):
8038 Set file to NULL when closing filesink so that we can set a new filename
8039 in READY. Fixes #358613.
8041 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8043 Patch by: Alessandro Decina <alessandro at nnva org>
8045 * gst/gstevent.c: (_gst_event_copy):
8046 Fix gst_mini_object_make_writable() and gst_event_copy() for events
8047 with event structures by setting the parent refcount address of the
8048 copied structure to the address of the refcount member of the newly
8049 copied event rather than the address of the refcount member of the
8050 original event. Fixes #358737.
8052 * tests/check/gst/gstevent.c: (GST_START_TEST):
8053 Unit test for the above.
8055 2006-09-29 Stefan Kost <ensonic@users.sf.net>
8057 * docs/design/Makefile.am:
8058 Dist some more files.
8060 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8062 * tests/check/libs/controller.c: (GST_START_TEST),
8063 (gst_controller_suite):
8064 Add test for the previous fix; add some more tests
8065 for correct refcounting behaviour; fix a few leaks
8066 in test cases; call gst_controller_init() at start
8069 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8071 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8072 (gst_controller_set_from_list):
8073 Don't g_return_val_if_fail() on timed values with invalid timestamps
8074 inside a critical section without unlocking the mutex. Spotted by
8075 René Stadler. (#357617)
8076 Also, fix up refcounting properly: when returning an existing
8077 controller, we should increase the reference only once and not
8078 once per property and when trying to control a property again
8079 we should also increase the refcount.
8081 2006-09-29 Wim Taymans <wim@fluendo.com>
8083 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8084 * libs/gst/net/gstnettimeprovider.c:
8085 (gst_net_time_provider_thread):
8086 Stop reading commands when EOF as well.
8088 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8089 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8090 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8091 Unify description of the dump property.
8093 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8095 * tests/examples/manual/.cvsignore:
8096 OK, so it's actually cvsignore that needs changing. Stop laughing.
8098 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8100 * tests/examples/manual/Makefile.am:
8101 Gah, declare vars *before* using them
8103 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8105 * gst/gst.c: (init_pre), (scan_and_update_registry),
8106 (ensure_current_registry_nonforking),
8107 (ensure_current_registry_forking), (ensure_current_registry),
8108 (init_post), (gst_debug_help), (gst_deinit):
8109 * gst/gst_private.h:
8110 * gst/gstregistry.c: (gst_registry_finalize),
8111 (gst_registry_remove_features_for_plugin_unlocked),
8112 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8113 (gst_registry_scan_path),
8114 (_priv_gst_registry_remove_cache_plugins),
8115 (_priv_gst_registry_cleanup):
8116 * gst/gstregistry.h:
8117 Re-commit the registry changes, along with an extra fix:
8118 When a cached plugin is encountered at a different file path,
8119 update the stored path in the registry cache so that the parent
8120 process knows where it actually is now when it re-reads the registry
8121 cache. Fixes the thing that broke distcheck with the previous commit.
8123 * tests/check/Makefile.am:
8124 Clean up files named 'core' too when running make clean.
8126 * tests/examples/manual/Makefile.am:
8127 Set up a registry path for running these tests, and clean it properly
8130 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8133 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8134 want gmodule-no-export-2.0.pc instead so that we don't drag in
8135 --export-dynamic on every project that links to GStreamer.
8137 Also, make our export regex only match the start of symbols, rather
8138 than any symbol that contains '_gst' somewhere.
8140 * libs/gst/check/Makefile.am:
8141 The libgstcheck we build does however need export-dynamic, as it
8142 produces some symbols that don't match our _gst... style regex.
8145 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8147 * gst/gst.c: (init_pre), (scan_and_update_registry),
8148 (ensure_current_registry_nonforking),
8149 (ensure_current_registry_forking), (ensure_current_registry),
8150 (init_post), (gst_debug_help), (gst_deinit):
8151 * gst/gst_private.h:
8152 * gst/gstregistry.c: (gst_registry_finalize),
8153 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8154 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8155 (_gst_registry_cleanup):
8156 * gst/gstregistry.h:
8157 Revert previous change until I figure out why it breaks distcheck.
8159 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8161 * gst/gst.c: (init_pre), (scan_and_update_registry),
8162 (ensure_current_registry_nonforking),
8163 (ensure_current_registry_forking), (ensure_current_registry),
8164 (init_post), (gst_debug_help), (gst_deinit):
8166 Make init_pre and init_post take the full complement of GOptionFunc
8167 args so they can return useful GErrors. Make the registry updating
8170 Call _priv_gst_registry_remove_cache_plugins after scanning files to
8171 ensure that the registry we're about to write out doesn't contain
8172 stale information about old-deleted plugin files.
8174 Make _priv_gst_registry_remove_cache_plugins return a boolean so
8175 that deletion of plugin files is considered a registry change.
8177 * gst/gst_private.h:
8178 * gst/gstregistry.c: (gst_registry_finalize),
8179 (gst_registry_remove_features_for_plugin_unlocked),
8180 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8181 (gst_registry_scan_path),
8182 (_priv_gst_registry_remove_cache_plugins),
8183 (_priv_gst_registry_cleanup):
8184 * gst/gstregistry.h:
8185 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8186 by adding _priv prefix, so that they won't appear in the global
8187 symbol table. They still do atm though because of #318031. Move the
8188 prototypes to gst_private.h
8190 When removing a plugin, remove all features for that plugin too.
8193 2006-09-27 Wim Taymans <wim@fluendo.com>
8195 * docs/random/moving-plugins:
8196 Make it clear that the "compiled-in descriptions" really mean
8197 the element details.
8199 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8200 (gst_base_sink_wait_preroll):
8203 * docs/libs/gstreamer-libs-sections.txt:
8204 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8205 (gst_base_src_get_range), (gst_base_src_activate_push):
8206 * libs/gst/base/gstbasesrc.h:
8207 Added function to block while waiting for PLAYING, this function
8208 is used by live sources that block on the clock.
8209 API: gst_base_src_wait_playing()
8211 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8213 Patch by: Peter Kjellerstedt <pkj at axis com>
8216 gst-element-check.m4 is generated and should therefore be
8217 copied from the build dir rather than the source dir (#357593).
8218 'make distcheck' hasn't noticed this because we were disting
8219 the file as well, so stop doing that.
8221 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8223 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8224 Add some tests for gst_caps_intersect().
8226 * tools/gst-launch.c: (event_loop):
8227 Print all buffering percentages we get, even the 100% one.
8229 2006-09-26 Wim Taymans <wim@fluendo.com>
8231 * tools/gst-inspect.c: (print_element_properties_info),
8232 (print_signal_info):
8233 Fix printing of flags to match the look of enums.
8235 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8237 * gst/gstelementfactory.c:
8238 Fix typo in docs blurb.
8240 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8242 * gst/gsturi.c: (search_by_entry):
8243 Don't assert/crash here if a uri handler doesn't return any
8244 supported protocols. The list of protocols could be generated
8245 dynamically at runtime or at plugin registration, and an error
8246 in the underlying library shouldn't be fatal (#353301).
8248 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8251 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8252 (spotted by Peter Kjellerstedt).
8254 2006-09-23 Wim Taymans <wim@fluendo.com>
8256 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8258 * libs/gst/base/gstbasesrc.c:
8259 (gst_base_src_default_check_get_range), (gst_base_src_start),
8260 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8261 (gst_base_src_change_state):
8262 Match _start/_stop calls in the activate functions. Remove redundant
8263 _stop call from the state change function. Fixes #356910.
8264 Turn failure DEBUG into ERROR.
8266 2006-09-22 Wim Taymans <wim@fluendo.com>
8268 * docs/design/part-buffering.txt:
8269 * gst/gstmessage.c: (gst_message_new_buffering),
8270 (gst_message_parse_buffering):
8271 Update docs about buffering.
8273 * docs/design/part-trickmodes.txt:
8276 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8278 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8279 (gst_controller_new_list):
8280 Ref instances when returning them again (fixes #357180)
8282 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8284 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8285 Don't forget to release proxy lock when there's an error.
8287 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8290 Add extra initialisers for Caps things, to fix some plugin warnings
8293 2006-09-18 Wim Taymans <wim@fluendo.com>
8295 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8296 Also set template on the internal pad so that a getcaps from the
8297 target pad returns the template caps.
8299 2006-09-18 Wim Taymans <wim@fluendo.com>
8301 * gst/gstelement.c: (gst_element_post_message),
8302 (gst_element_dispose):
8303 Use _DEBUG_OBJECT some more.
8305 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8308 * tools/gst-launch.c: (main):
8309 If the toplevel element is not a GstPipeline, it must be put in a
8310 pipeline so that a bus and clock is selected.
8312 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8314 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8315 JITTER, RATE, and LATENCY query should be handled by the
8316 default case and not by the CONVERT query code.
8318 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8320 * gst/gstformat.c: (gst_format_register):
8321 Fix locking order (must take lock before using n_values).
8323 * gst/gstvalue.c: (gst_value_serialize_enum),
8324 (gst_value_deserialize_enum_iter_cmp),
8325 (gst_value_deserialize_enum):
8326 Fix serialisation/deserialisation of custom registered GstFormats.
8328 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8329 Unit test for custom format serialisation/deserialisation.
8331 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8333 * docs/pwg/building-boiler.xml:
8334 * plugins/elements/gstcapsfilter.c:
8335 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8338 2006-09-16 Edward Hervey <edward@fluendo.com>
8340 * libs/gst/base/gstbasetransform.c:
8341 (gst_base_transform_buffer_alloc):
8342 Check if requested caps are the same as the sinks caps IF
8343 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8345 This fixes the renegotiation issues stated in #352827.
8347 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8350 * docs/manual/advanced-autoplugging.xml:
8351 * tests/examples/Makefile.am:
8352 * tests/examples/manual/.cvsignore:
8353 * tests/examples/manual/Makefile.am:
8354 * tests/examples/manual/extract.pl:
8355 Extract the manual examples again like we used to do.
8358 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8360 * win32/common/config.h:
8363 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8366 Documents how to receive errors.
8368 2006-09-15 Wim Taymans <wim@fluendo.com>
8370 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8371 (event_loop), (main):
8372 Added some comments here and there.
8373 Post an application message when an interrupt is caught instead of doing
8374 an uncontrolled state change.
8375 Clean up the event loop.
8376 Handle buffering messages, pause/resume the pipeline.
8377 Make shutdown because of an interrupt more reliable.
8379 2006-09-15 Wim Taymans <wim@fluendo.com>
8381 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8382 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8383 (gst_base_sink_preroll_object):
8384 Make sure that our internal state is correct when we commit our state
8385 asynchronously. This solves a race where a state change to PLAYING
8386 could cause the sink to remain blocked in preroll in some situations.
8388 2006-09-15 Wim Taymans <wim@fluendo.com>
8390 * tools/gst-inspect.c: (print_element_properties_info),
8391 (print_signal_info):
8392 List flags as hex so it's easier to deal with.
8394 2006-09-15 Wim Taymans <wim@fluendo.com>
8396 * docs/libs/gstreamer-libs-sections.txt:
8397 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8398 (gst_base_sink_do_sync):
8399 * libs/gst/base/gstbasesink.h:
8400 Expose logic to wait for preroll so that subclasses such as audiosink
8401 can also use this method.
8402 API: gst_base_sink_wait_preroll()
8404 2006-09-15 Wim Taymans <wim@fluendo.com>
8406 * gst/gstobject.c: (gst_object_set_parent):
8407 * gst/gstpipeline.c: (do_pipeline_seek):
8408 Small cleanups in docs and code.
8410 * gst/gstsegment.c: (gst_segment_clip):
8411 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8412 if stop == start and start is in the segment, no clipping should be
8413 done. Also add a test for this.
8415 2006-09-15 Wim Taymans <wim@fluendo.com>
8417 * docs/design/part-buffering.txt:
8418 * docs/gst/gstreamer-sections.txt:
8419 * gst/gstmessage.c: (gst_message_new_buffering),
8420 (gst_message_parse_buffering):
8422 Added methods to create and parse BUFFERING messages.
8423 Added preliminary docs about buffering.
8424 API: gst_message_new_buffering
8425 API: gst_message_parse_buffering
8427 2006-09-06 Wim Taymans <wim@fluendo.com>
8430 Update documentation.
8432 * gst/gstelement.c: (gst_element_class_init),
8433 (gst_element_release_request_pad), (gst_element_set_clock),
8434 (gst_element_get_index), (gst_element_add_pad),
8435 (gst_element_remove_pad), (gst_element_get_random_pad),
8436 (gst_element_send_event), (gst_element_get_query_types),
8437 (gst_element_query), (gst_element_post_message),
8438 (gst_element_message_full), (gst_element_continue_state),
8439 (gst_element_lost_state), (gst_element_save_thyself),
8440 (gst_element_restore_thyself):
8441 Documentation updates.
8442 Rename last bit of the new-pad -> pad-added signal rename.
8443 Fix the case where an element query would only work if the source
8445 Avoid some useless type checking in message handling.
8450 Documentation updates.
8452 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8454 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8455 add an INFO line for when we actually update the fd
8457 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8462 === release 0.10.10 ===
8464 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8467 releasing 0.10.10, "Pais"
8469 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8471 * docs/manual/advanced-position.xml:
8472 Fix typo in sample code.
8474 2006-09-05 Wim Taymans <wim@fluendo.com>
8476 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8477 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8478 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8479 * libs/gst/net/gstnetclientclock.h:
8480 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8481 * libs/gst/net/gstnettimepacket.h:
8482 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8483 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8484 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8485 * libs/gst/net/gstnettimeprovider.h:
8486 Make stuff compile on windows. Fixes #345295.
8488 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8490 * gst/gst.c: (ensure_current_registry_forking):
8491 Print better details when child was terminated by signal.
8493 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8495 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8496 Print a warning rather than g_assert() if a plugin feature
8497 is a URI handler but returns no protocols (#353976).
8499 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8501 * docs/random/moving-plugins:
8504 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8506 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8507 Fix locking order, handle NULL function values properly.
8512 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8513 Initialise variable before using it and fix debug statement to
8514 print the address of the function rather than the address of the
8515 variable on the stack holding the address of the function.
8517 2006-09-01 Wim Taymans <wim@fluendo.com>
8519 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8520 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8521 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8522 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8523 (gst_ghost_pad_parent_unset),
8524 (gst_ghost_pad_internal_do_activate_push),
8525 (gst_ghost_pad_internal_do_activate_pull),
8526 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8527 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8528 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8529 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8530 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8531 (gst_ghost_pad_new_no_target_from_template),
8532 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8534 Avoid needless typechecking in macros.
8535 Since the internal pad is always present and never changes, there is
8536 no need to locking or ref when retrieving it.
8537 Improve debugging a bit.
8538 Handle link errors when setting the target. Fixes #341029.
8540 2006-09-01 Wim Taymans <wim@fluendo.com>
8542 * docs/libs/gstreamer-libs-sections.txt:
8543 * docs/plugins/gstreamer-plugins-sections.txt:
8546 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8547 (gst_collect_pads_event):
8548 * libs/gst/base/gstcollectpads.h:
8549 Documentation updates.
8550 Free queued buffer when removing a pad.
8552 2006-08-31 Michael Smith <msmith@fluendo.com>
8554 * gst/gstutils.c: (gst_element_link_pads),
8555 (gst_element_link_pads_filtered):
8556 Ensure that we set a capsfilter to NULL if we failed to link it
8557 when doing filtered linking, to avoid criticals.
8559 No need to check for unreffing srcpad, which is explicly NULLed
8560 above (a trivial code cleanup).
8562 2006-08-31 Wim Taymans <wim@fluendo.com>
8564 * docs/design/part-gstghostpad.txt:
8565 Update ascii art in documentation.
8567 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8568 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8569 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8570 (gst_ghost_pad_internal_do_activate_push),
8571 (gst_ghost_pad_internal_do_activate_pull),
8572 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8573 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8574 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8575 (gst_ghost_pad_set_target):
8576 Small cleanups and leak fixes.
8577 Remove some checks now that the internal pad is never NULL.
8578 Fix the case where linking pads without a target would create nasty
8579 criticals. Fixes #341029.
8580 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8581 value of _set_target().
8583 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8584 (gst_ghost_pad_suite):
8585 Some more tests for creating and linking untargeted ghostpads.
8587 2006-08-31 Edward Hervey <edward@fluendo.com>
8589 * docs/gst/gstreamer-sections.txt:
8590 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8591 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8592 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8593 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8594 (gst_ghost_pad_new_from_template),
8595 (gst_ghost_pad_new_no_target_from_template):
8596 * gst/gstghostpad.h:
8597 Refactored *_new() functions.
8598 Templates are now used as a g_object_new() parameter.
8599 Use template in _do_getcaps() if we don't have a target.
8600 Small documentation cleanups.
8601 Added two new constructors:
8602 gst_ghost_pad_new_from_template()
8603 gst_ghost_pad_new_no_target_from_template()
8604 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8605 (gst_ghost_pad_suite):
8606 Added tests for new ghostpad instanciation functions.
8608 API additions: gst_ghost_pad_new_from_template,
8609 gst_ghost_pad_new_no_target_from_template
8611 2006-08-30 Stefan Kost <ensonic@users.sf.net>
8613 * docs/random/ensonic/profiling.txt:
8614 Ideas about qos profiling.
8616 2006-08-29 Wim Taymans <wim@fluendo.com>
8618 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8622 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
8625 Improve and detypofy docs.
8627 * tests/check/Makefile.am:
8628 * tests/check/gst/.cvsignore:
8629 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8630 Add a basic test suite for GstXML.
8632 2006-08-29 Wim Taymans <wim@fluendo.com>
8634 * gst/gstelement.c: (activate_pads), (clear_caps),
8635 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8636 Clear the pad caps when the element shut down all of the pads and
8637 is not streaming data that could modify the caps.
8640 2006-08-28 Michael Smith <msmith@fluendo.com>
8642 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8643 Revert previous change; I misunderstood single-segment mode.
8645 2006-08-28 Michael Smith <msmith@fluendo.com>
8647 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8648 Unset DISCONT on buffers when using single-segment mode.
8650 2006-08-28 Wim Taymans <wim@fluendo.com>
8652 * gst/gstcaps.c: (gst_caps_merge_structure):
8654 Fix docs and indentation again.
8656 * tests/check/gst/gstquery.c: (GST_START_TEST):
8657 Fix leak in tests and add some more tests.
8659 2006-08-28 Edward Hervey <edward@fluendo.com>
8661 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8662 Inform GstSegment of the last stop position in order for the current
8663 segment to have a proper duration if it doesn't have a specific stop
8664 position from which a duration could be calculated.
8665 This bug was noticeable when a non-flushing, non-update new segment was
8666 followed by another segment (all buffers from the new segment were being
8669 2006-08-28 Wim Taymans <wim@fluendo.com>
8671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8672 Small comment update.
8674 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8675 (gst_identity_transform_ip):
8676 Drop-probability is broken, mention this in the code with a
8677 FIXME and also in the property description.
8678 Make silent also be silent about the drop messages.
8680 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
8682 * docs/manual/appendix-win32.xml:
8683 Remove mention of popt, we don't depend on that any
8684 longer (#353136). Add some comments pointing out that
8685 this section is slightly outdated.
8687 2006-08-28 Wim Taymans <wim@fluendo.com>
8689 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8691 * gst/gstquery.c: (gst_query_new_segment):
8692 * tests/check/gst/gstquery.c: (GST_START_TEST):
8693 Initialize variables when creating a new segment query.
8696 2006-08-28 Wim Taymans <wim@fluendo.com>
8698 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8700 * gst/gstelement.c: (gst_element_get_bus):
8701 * tests/check/gst/gstelement.c: (GST_START_TEST):
8702 Check for NULL before _reffing the bus. Fixes #353122.
8704 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
8706 * docs/manual/basics-bus.xml:
8707 Docs update: fix wrong callback return value explanation; add
8708 some lines about the implicit relationship between main loop
8709 and main context; remove duplicate main loop variable declaration.
8711 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
8713 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8714 Don't leak caps in unit test; add a few more simple
8717 2006-08-24 Stefan Kost <ensonic@users.sf.net>
8719 * docs/gst/gstreamer-sections.txt:
8720 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8721 (gst_caps_structure_is_subset), (gst_caps_merge),
8722 (gst_caps_merge_structure):
8724 * libs/gst/base/gstbasetransform.c:
8725 (gst_base_transform_transform_caps):
8726 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8727 implement caps merging (fixes #352580)
8729 2006-08-23 Stefan Kost <ensonic@users.sf.net>
8731 * tools/Makefile.am:
8732 * tools/gst-plot-timeline.py:
8733 add debug-log plotting developer tool (#340674)
8735 2006-08-23 Wim Taymans <wim@fluendo.com>
8737 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8738 (gst_pad_stop_task):
8739 Improve debugging for task functions.
8741 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8742 (gst_task_start), (gst_task_pause), (gst_task_join):
8743 Make sure that the task function started and finished after a
8745 Don't try to push the task function on the threadpool multiple
8747 Improve the g_warning message with some useful suggestions
8748 about how to fix the problem.
8750 2006-08-23 Wim Taymans <wim@fluendo.com>
8752 * gst/gstutils.c: (gst_pad_proxy_getcaps):
8753 Handle RESYNC correctly in _proxy_getcaps.
8755 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
8757 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8758 (gst_xml_parse_memory), (gst_xml_get_element):
8759 Chain up to parent class in dispose function and also
8760 unref the elements in the toplevel_elements GList.
8761 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8762 Always return a reference in gst_xml_get_element() rather
8763 than only sometimes.
8765 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8766 Don't leak GstXml object.
8768 2006-08-21 Stefan Kost <ensonic@users.sf.net>
8770 * docs/gst/gstreamer-sections.txt:
8771 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8774 * libs/gst/base/gstbasetransform.c:
8775 (gst_base_transform_transform_caps):
8776 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8779 2006-08-21 Edward Hervey <edward@fluendo.com>
8781 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8782 Implement GObject::dispose virtual method in GstXML so we can free the
8785 2006-08-21 Wim Taymans <wim@fluendo.com>
8787 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8788 (gst_buffer_create_sub):
8789 Copy duration/offset_end/caps when creating a subbuffer of the
8791 Make the subbuffer read-only when we make the metadata writable for
8794 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8795 Added check for metadata copy when creating subbuffers.
8797 2006-08-21 Edward Hervey <edward@fluendo.com>
8799 * libs/gst/base/gstbasetransform.c:
8800 (gst_base_transform_buffer_alloc):
8801 Only call downstream buffer_alloc if transform element is passthrough
8802 or always_in_place. Closes #350449.
8804 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8807 ChangeLog surgery to add comments to previous changes
8809 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8814 * gst/gstpad.c: (gst_pad_set_active):
8815 Be more verbose in the log
8817 * libs/gst/base/gstbasetransform.c:
8818 (gst_base_transform_transform_caps):
8819 Simplify caps to get rid of duplicates, fixes #345444
8821 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8825 Use these optimizations only internally.
8827 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8829 * gst/gstvalue.c: (gst_value_compare_list),
8830 (gst_value_compare_fraction_range),
8831 (gst_value_intersect_fraction_fraction_range),
8832 (gst_value_intersect_fraction_range_fraction_range),
8833 (gst_value_subtract_fraction_fraction_range),
8834 (gst_value_subtract_fraction_range_fraction_range),
8835 (gst_value_get_compare_func), (gst_value_compare),
8836 (gst_value_compare_with_func):
8838 Saves the expensive lookup of the compare function in many cases
8841 2006-08-18 Edward Hervey <edward@fluendo.com>
8843 * tests/check/gst/gstinfo.c: (gst_info_suite):
8844 Disable test that require gstdebug if it wasn't built in core.
8846 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8848 * docs/random/ensonic/logging.txt:
8851 * gst/gstinfo.c: (gst_debug_log_default):
8852 reorder fields, save some columns, add optional color codes for log
8855 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8857 * docs/random/ensonic/logging.txt:
8858 add ideas about making the logs a bit more useful
8860 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8862 * docs/pwg/advanced-events.xml:
8863 * docs/pwg/titlepage.xml:
8864 Update for 0.10 API (#340627). Add myself
8867 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8869 * docs/libs/gstreamer-libs-docs.sgml:
8870 * docs/libs/gstreamer-libs-sections.txt:
8871 * libs/gst/check/gstbufferstraw.c:
8872 Make gstcheck stuff show up in docs (still needs to
8873 be documented properly though).
8875 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
8877 * docs/gst/gstreamer-sections.txt:
8879 * gst/gst.c: (init_post):
8880 * gst/gst_private.h:
8881 * gst/gstquark.c: (_priv_gst_quarks_initialize):
8883 * gst/gstquery.c: (gst_query_new_position),
8884 (gst_query_set_position), (gst_query_parse_position),
8885 (gst_query_new_duration), (gst_query_set_duration),
8886 (gst_query_parse_duration), (gst_query_new_convert),
8887 (gst_query_set_convert), (gst_query_parse_convert),
8888 (gst_query_new_segment), (gst_query_set_segment),
8889 (gst_query_parse_segment), (gst_query_new_seeking),
8890 (gst_query_set_seeking), (gst_query_parse_seeking):
8891 Add internal helpers for pre-registering quarks from static strings
8892 and using the quark values directly instead of looking them up when
8893 creating and parsing queries. Can be used for event construction too.
8896 2006-08-16 Wim Taymans <wim@fluendo.com>
8901 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8903 * gst/gstutils.c: (gst_util_set_value_from_string):
8904 Fix memleak (#351502).
8906 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8907 Add unit test for most of gst_util_set_value_from_string()
8908 (not that one would want to encourage use of this function).
8910 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8912 * libs/gst/check/gstcheck.h:
8913 Use const gchar * variables in fail_unless_equals_string
8914 macro to avoid compiler warnings (and don't use tabs for
8917 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8919 * tools/gst-launch.c: (print_tag):
8920 More space on the left for the tag names, to cater
8921 for the 'extended comment' tag (not touching the
8922 string for the first line since it's translated).
8924 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8926 * libs/gst/check/gstcheck.h:
8927 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8928 print something when they fail.
8930 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8932 * docs/gst/gstreamer-sections.txt:
8933 * gst/gsttaglist.c: (_gst_tag_initialize):
8935 API: add GST_TAG_EXTENDED_COMMENT (#350935).
8936 Also change merge function for GST_TAG_COMMENT to
8939 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8941 * gst/gstinfo.c: (gst_debug_print_object):
8942 Make GST_PTR_FORMAT print messages as well.
8944 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8945 (GST_START_TEST), (gst_info_suite):
8948 2006-08-14 Edward Hervey <edward@fluendo.com>
8950 * gst/gstelementfactory.c: (gst_element_register):
8951 If the GstElementClass doesn't have a GstElementDetails with all fields
8952 filled up correctly (longname, description AND author), then error out
8953 nicely instead of crashing.
8955 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8957 * gst/gststructure.c:
8958 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8961 Expand on the difference between arrays and lists as we use them.
8963 2006-08-14 Wim Taymans <wim@fluendo.com>
8965 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8966 If the parent state change function failed, don't assume we can safely
8967 stop the source, this will be done when the pads are deactivated.
8969 2006-08-14 Wim Taymans <wim@fluendo.com>
8972 * gst/gsttask.c: (gst_task_join):
8975 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8976 (gst_pad_stop_task):
8977 When pad (de)activation failed for some reason, restore the old
8978 activation mode and set the pad to flushing instead of assuming the
8980 If the _task_join() failed, reinstall the task on the pad so that it can
8981 be stopped later and return an error.
8983 2006-08-11 Andy Wingo <wingo@pobox.com>
8986 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8987 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8988 is only for users of API that don't want to see deprecated
8989 functions in the headers; people that want to compile out
8990 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8991 CFLAGS. Fixes the build of multifdsink, or will soon..
8993 2006-08-11 Wim Taymans <wim@fluendo.com>
8995 * docs/gst/gstreamer-sections.txt:
8996 Add GstClockClass vmethod docs.
8999 Mark #endif with comment for associated #if
9001 * gst/gstclock.c: (gst_clock_id_wait):
9003 Add vmethod wait_jitter to avoid an unneeded _get_time() for
9004 most clock implementations.
9006 Flesh out docs about resolution methods.
9007 API: GstClockClass::wait_jitter
9009 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9010 (gst_system_clock_async_thread),
9011 (gst_system_clock_id_wait_jitter_unlocked),
9012 (gst_system_clock_id_wait_jitter):
9013 Use base class wait_jitter variant for improved performance
9014 due to less clock polling.
9016 2006-08-11 Edward Hervey <edward@fluendo.com>
9018 * gst/gst.c: (gst_init_check), (init_post):
9019 Set gst as being initialized before scanning/updating the registry,
9020 since there might be my python plugin loader that calls gst_init() and
9021 we don't want to loop back in.
9024 2006-08-11 Wim Taymans <wim@fluendo.com>
9026 * docs/design/part-qos.txt:
9027 Bring docs in line with the code. Mostly the sign of the jitter was
9028 wrong in the docs. Fixes #349943.
9031 Fix the docs for the jitter.
9033 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9034 (gst_event_parse_tag), (gst_event_new_buffer_size),
9035 (gst_event_parse_buffer_size), (gst_event_parse_qos),
9036 (gst_event_new_seek), (gst_event_parse_seek),
9037 (gst_event_new_navigation):
9038 Make sure the GstStructure has no parent when creating custom
9040 Add some more argument checking so that we avoid 0.0 rates.
9041 Flesh out the docs for the QoS event some more.
9043 2006-08-11 Wim Taymans <wim@fluendo.com>
9045 * docs/gst/gstreamer-sections.txt:
9046 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9047 (ensure_current_registry_forking), (ensure_current_registry),
9048 (parse_one_option), (parse_goption_arg), (gst_deinit),
9049 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9052 Added API and command line option to disable registry forking in
9053 addition to the environment variable.
9054 Constify some static arrays.
9055 Added some more debug.
9057 API: gst_registry_fork_is_enabled()
9058 API: gst_registry_fork_set_enabled()
9059 API: --gst-disable-registry-fork command line option
9062 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
9064 * gst/gst.c: (gst_init):
9065 Fix typo in error message.
9067 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9069 * libs/gst/controller/gstcontroller.h:
9070 fix ABI size-correction
9072 * tests/check/libs/gdp.c: (gst_dp_suite):
9073 make tests that use deprecated API conditional
9075 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9077 * docs/libs/gstreamer-libs-sections.txt:
9078 * libs/gst/controller/gstcontroller.c:
9079 (_gst_controller_get_property), (_gst_controller_set_property),
9080 (_gst_controller_init), (_gst_controller_class_init):
9081 * libs/gst/controller/gstcontroller.h:
9082 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9083 (gst_object_set_control_rate):
9084 API: add gst_object_{s,g}et_control_rate(), add private data section,
9087 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9088 * libs/gst/dataprotocol/dataprotocol.h:
9089 add deprecation guards to make gtk-doc happy and allow disabling cruft
9091 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
9093 * tests/check/Makefile.am:
9094 * tests/check/gst/.cvsignore:
9095 Let's enable the new unit test as well.
9097 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
9100 * docs/gst/gstreamer-sections.txt:
9101 * gst/gstconfig.h.in:
9102 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9103 (_gst_info_printf_extension_ptr),
9104 (_gst_info_printf_extension_segment):
9105 API: add GST_SEGMENT_FORMAT, which is a printf extension we
9106 register that lets us easily dump GstSegments into debug
9109 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9110 (info_segment_format_printf_extension), (gst_info_suite):
9111 Add simple unit test that logs a bunch of different segments (not
9112 valgrinded at the moment because of leaks in
9113 gst_debug_add_log_function).
9115 2006-08-09 Edward Hervey <edward@fluendo.com>
9117 * libs/gst/base/gstbasetransform.c:
9118 (gst_base_transform_buffer_alloc):
9119 Even if we can't figure out the proper format to request downstream,
9120 call buffer_alloc() downstream with the input parameters without setting
9121 the caps on the srcpad. This will force negotiation in the chain
9125 2006-08-08 Edward Hervey <edward@fluendo.com>
9127 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9128 Unlinking from a pad without a target is now a perfectly valid case
9129 which should NOT raise an assertion.
9130 This case would happen if a linked ghostpad its target set to NULL after
9131 it was previously linked.
9133 2006-08-08 Edward Hervey <edward@fluendo.com>
9135 * tests/check/libs/gdp.c:
9136 Also comment out the test (see below).
9138 2006-08-08 Edward Hervey <edward@fluendo.com>
9140 * tests/check/libs/gdp.c: (gst_dp_suite):
9141 Use the architecture information from config.h and not gcc macros
9142 in order to properly disable a test that fails on PPC64.
9144 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
9146 * gst/gstelement.c: (gst_element_remove_pad):
9147 Don't crash printing the warning if the pad has no parent.
9149 2006-08-02 Wim Taymans <wim@fluendo.com>
9151 * libs/gst/dataprotocol/dataprotocol.c:
9152 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9153 (gst_dp_crc), (gst_dp_header_payload_length),
9154 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9155 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9156 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9157 (gst_dp_event_from_packet), (gst_dp_validate_header),
9158 (gst_dp_validate_payload):
9159 Make debug category static
9160 Constify the crc table.
9161 Do some more arg checking in public functions.
9162 Fix some docs and do some small cleanups.
9164 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9165 Add some more checks to see if GDP deals with bogus input.
9167 2006-07-31 Wim Taymans <wim@fluendo.com>
9169 * gst/gstvalue.c: (gst_value_compare_list):
9170 Fix GstValueList comparison code. Fixes #347293.
9172 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9173 Check to test GstValueList comparison.
9175 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9177 * gst/gstelementfactory.c: (gst_element_factory_create):
9178 Remove unnecessary ref/unref pair
9180 * gst/parse/grammar.y:
9181 Make sure to free the parse buffer on all code paths.
9182 Move a g_free up to the error handler where it's easier to see.
9184 * tests/check/gst/gstevent.c: (test_event):
9185 Extending timeout for downstream travelling events to 10 seconds to
9186 hopefully avoid intermittent failure on the buildbots.
9188 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9189 Don't manually set the state of the src element - it will happen as a
9190 natural consequence of the pipeline changing state, and that way it
9191 will do it in the right order too.
9193 2006-07-31 Wim Taymans <wim@fluendo.com>
9195 * libs/gst/base/gstbasetransform.c:
9196 (gst_base_transform_buffer_alloc):
9197 Use OBJECT_LOCK and refcounting to get the pad caps in the
9198 buffer_alloc function because the caps could change while we are
9199 busy with them. Fixes #349105
9201 2006-07-31 Wim Taymans <wim@fluendo.com>
9203 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9204 Protect _PAD_CAPS with OBJECT_LOCK.
9206 2006-07-31 Wim Taymans <wim@fluendo.com>
9208 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9209 (gst_pad_get_property), (gst_pad_activate_pull),
9210 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9211 (gst_pad_set_activate_function),
9212 (gst_pad_set_activatepull_function),
9213 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9214 (gst_pad_set_getrange_function),
9215 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9216 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9217 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9218 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9219 (gst_pad_set_acceptcaps_function),
9220 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9221 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9222 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9223 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9224 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9225 (gst_pad_configure_sink), (gst_pad_configure_src),
9226 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9227 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9228 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9229 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9230 (gst_pad_send_event):
9231 Use _DEBUG_OBJECT when it makes sense.
9232 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9233 Small cleanups and code reflows.
9234 Avoid caps refcounting in _accept_caps.
9235 Refactor alloc_buffer so that the code performed on the peer is in a
9236 separate function. Also if the pad does not implement a buffer alloc
9237 function, we should still check if the pad is flushing before falling
9238 back to the default allocator.
9240 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9242 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9243 Make all uses of identity and fakesink have silent=true to avoid
9244 serialising every passing data structure, which is breaking tests
9245 on FC4 for some unknown reason.
9247 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9249 * gst/parse/Makefile.am:
9250 * gst/parse/grammar.y:
9251 * gst/parse/parse.l:
9252 Reverted previous patch as it required to bump the flex dependency to
9253 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9255 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9257 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9259 * gst/parse/Makefile.am:
9260 * gst/parse/grammar.y:
9261 * gst/parse/parse.l:
9262 push & pop the state of the lexer for reentrant use case
9265 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9267 * libs/gst/base/gstbasesrc.h:
9268 Note in the docs that the ::newsegment vfunc is not actually used by
9271 2006-07-28 Wim Taymans <wim@fluendo.com>
9273 * libs/gst/base/gstcollectpads.c:
9274 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9275 (gst_collect_pads_clear), (gst_collect_pads_flush),
9276 (gst_collect_pads_event), (gst_collect_pads_chain):
9277 When flushing a pad, also clear the queued buffer so that we don't
9278 accidentally use it when we shouldn't.
9279 Fix leaks by inreffing incomming buffer.
9280 Flush out queued buffers in case of errors.
9283 2006-07-28 Wim Taymans <wim@fluendo.com>
9285 * docs/random/phonon-gst:
9286 Random notes about a Phonon backend.
9288 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9290 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9292 * tests/check/libs/gdp.c: (gst_dp_suite):
9293 Take a whack at fixing the ppc compile using a different define to
9294 disable the broken test.
9296 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9297 Remove excess g_print()
9299 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9301 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9302 Oops, meant to uncomment this line too to dampen the noise a bit.
9304 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9306 * gst/parse/grammar.y:
9307 * gst/parse/parse.l:
9308 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9309 (GST_START_TEST), (parse_suite):
9310 Fix some of the leaks exposed by extending the parse-launch testsuite,
9311 and move the 3 I can't figure out into a separate test that won't run
9312 the pipelines unless the appropriate line is uncommented.
9314 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9316 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9317 Requesting 0 bytes before the end of the file should result in
9318 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9321 2006-07-27 Wim Taymans <wim@fluendo.com>
9323 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9324 Fix useless assert, a uint is always positive.
9326 * gst/gststructure.c: (gst_structure_nth_field_name),
9327 (gst_structure_foreach), (gst_structure_map_in_place):
9328 Check input arguments for public functions to avoid obvious crashes.
9330 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9331 * plugins/elements/gstfakesink.h:
9332 Do less useless typechecking.
9334 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9336 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9337 Do not use mmap() by default since there are a number of error
9338 conditions that we would like to handle in a non-fatal way that
9339 will result in a SIGBUS if we use mmap(). Examples: external
9340 devices (USB harddrive, portable music player) being unplugged
9341 while in use; file on mounted CD/DVD that can't be read because
9342 the medium is partly damaged. Fixes #348455 and #348475.
9344 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9347 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9350 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9352 * gst/gstregistry.c:
9353 Move big documentation comment into class section header, so that it
9354 appears in the API docs.
9356 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9358 * docs/gst/gstreamer-sections.txt:
9359 Oops. Commit the docs additions too for new API.
9360 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9362 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9364 * gst/gststructure.c: (gst_structure_id_set),
9365 (gst_structure_id_set_valist):
9366 * gst/gststructure.h:
9367 Add API for setting values into structures without performing
9368 a quark lookup, if the appropriate quark is already known.
9370 API: gst_structure_id_set
9371 API: gst_structure_id_set_valist
9373 * gst/parse/grammar.y:
9374 * gst/parse/parse.l:
9375 Remove some dead code shown by the coverage information.
9376 Don't throw a critical g_warning when encountering a syntax error,
9377 just warn and let the normal error path handle it.
9379 * plugins/elements/gstelements.c:
9380 Bump the rank of filesink up to PRIMARY so that it is preferred over
9381 gnomevfssink for file:// sink uri's
9383 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9384 (GST_START_TEST), (run_delayed_test),
9385 (gst_parse_test_element_base_init),
9386 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9387 (gst_parse_test_element_change_state),
9388 (gst_register_parse_element), (parse_suite):
9389 Beef up the tests for parse syntax to check that more error cases
9390 fail as they are supposed to. Increases the test coverage a bit.
9392 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9394 * docs/manual/basics-elements.xml:
9395 Fix gst_element_link() example.
9398 Mention in API docs that one should usually gst_bin_add()
9399 elements to a bin or pipeline before doing the linking.
9401 2006-07-26 Wim Taymans <wim@fluendo.com>
9403 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9404 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9405 Avoid function call for known types by keeping the buffer and
9406 subbuffer GType global.
9408 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9409 Random silly optimisations in read() path.
9411 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9413 * tools/gst-launch.c: (main):
9414 If the top-level of the parse is a normal bin, it doesn't do the
9415 right logic to run as a top-level element, so place it inside a
9418 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9420 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9421 Remove superfluous g_object_notify() calls, GObject does
9422 that for us automatically.
9424 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9427 on Win32, use dllspec to export the debug category symbols
9429 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9431 * gst/gsttaglist.c: (_gst_tag_initialize):
9432 Allow more than one GST_TAG_IMAGE per taglist.
9434 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9436 * gst/gstminiobject.c:
9438 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9439 (gst_fd_src_create):
9440 log recurring events at LOG level
9441 add more debug for when the fd gets set
9443 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9445 * gst/gstparse.c: (gst_parse_launch):
9446 Also remove reentrance checks if flex is MT safe (#348179)
9447 Fix my empty ChangeLog entry below
9449 2006-07-21 Andy Wingo <wingo@pobox.com>
9451 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9453 * libs/gst/check/Makefile.am
9454 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9455 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9456 * libs/gst/check/gstbufferstraw.h:
9457 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9458 functions, thus proving I am still a GStreamer haxor. OK I wrote
9459 them a long time ago, but anyways.
9461 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9464 * gst/gstparse.c: (gst_parse_launch):
9465 Check for flex version and omit mutex if we have a MT save flex
9468 2006-07-21 Wim Taymans <wim@fluendo.com>
9470 * gst/gstparse.c: (gst_parse_launch):
9471 Protect recursive calls to _parse with a recursive mutex
9474 2006-07-21 Wim Taymans <wim@fluendo.com>
9476 * tests/check/gst/gstpad.c: (GST_START_TEST):
9479 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9481 * gst/gstparse.c: (gst_parse_launch):
9482 Do not hang on recursive usage of gst_parse_launch()
9484 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9487 Add some more docs, comments and FIXME 0.11s here and there
9488 and also fix some typos.
9490 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9493 Convert tabs to spaces for better readability.
9495 2006-07-20 Edward Hervey <edward@fluendo.com>
9497 * tests/check/libs/gdp.c: (gst_dp_suite):
9498 the test_buffer test fails at line 140 on ppc64 at the following
9500 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9501 GST_BUFFER_FLAG_IN_CAPS),
9502 "GST_BUFFER_IN_CAPS flag should have been copied !");
9503 See bug #348114 for more details.
9505 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9507 * docs/pwg/advanced-scheduling.xml:
9509 Fix typos (#348000).
9511 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9513 * docs/pwg/intro-basics.xml:
9514 Fix wrong links (#347927).
9516 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9518 * gst/gstregistry.h:
9519 * gst/gstregistryxml.c: (load_feature),
9520 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9521 * win32/common/config.h:
9522 make --disable-index work (#342564)
9524 2006-07-18 Wim Taymans <wim@fluendo.com>
9526 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9530 The attached patch adds two missing defines to gsttrace.h when tracing
9531 is disabled. It also corrects one existing define.
9534 2006-07-17 Wim Taymans <wim@fluendo.com>
9536 * docs/gst/gstreamer-sections.txt:
9537 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9539 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9540 Add two functions to check and change the SIGSEGV behaviour
9541 when loading plugins.
9542 Don't mess with the SIGSEGV handler when we were told not to.
9544 API: gst_segtrap_is_enabled
9545 API: gst_segtrap_set_enabled
9547 2006-07-14 Wim Taymans <wim@fluendo.com>
9549 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9550 * tests/check/elements/filesrc.c: (GST_START_TEST):
9551 Revert fix for regression in #347408 after release.
9553 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
9555 Patch by: Antoine Tremblay <hexa00 at gmail com>
9557 * gst/gstutils.c: (gst_element_unlink):
9558 Free iterator when done (#347311).
9560 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9561 And add a test case for this.
9563 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
9566 Bump nano back to CVS
9568 === release 0.10.9 ===
9570 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
9573 releasing 0.10.9, "On the road again"
9575 2006-07-13 Wim Taymans <wim@fluendo.com>
9577 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9578 * tests/check/elements/filesrc.c: (GST_START_TEST):
9579 Revert pull-0 fix for release. Disable check. Fixes #347408.
9581 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9583 * libs/gst/dataprotocol/dataprotocol.c:
9584 (gst_dp_event_from_packet_1_0):
9585 Fixes #347337: failure to deserialize event packets with
9586 empty payload (only event type)
9588 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9591 do not install a .c file in the header directory
9593 2006-07-13 Edward Hervey <edward@fluendo.com>
9595 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9596 GhostPad no longer implicitely use the padtemplates of the targets.
9599 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
9601 * gst/gstvalue.c: (gst_value_compare_list),
9602 (gst_value_compare_array), (_gst_value_initialize):
9603 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9604 Make GstValueArray comparison be order dependent as designed.
9605 Add checks for value lists and value array comparisons.
9608 2006-07-11 Edward Hervey <edward@fluendo.com>
9610 * gst/gstbin.c: (activate_pads),
9611 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9612 (gst_bin_change_state_func):
9613 (de)activate src pads before calling state_change on the childs.
9614 This is to avoid the case where a src ghostpad is blocked (holding the
9615 stream lock), which would block the deactivation of the ghostpad's
9617 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9618 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9619 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9620 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9621 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9622 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9623 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9624 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9625 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9626 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9627 (gst_ghost_pad_class_init),
9628 (gst_ghost_pad_internal_do_activate_push),
9629 (gst_ghost_pad_internal_do_activate_pull),
9630 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9631 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9632 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9633 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9634 GhostPads now create their internal GstProxyPad at creation (and not
9635 when they're linked, as it was being done previously).
9636 The internal and target pads are linked straight away.
9637 The data will also travel through the other pad in order to make
9638 pad blocking and probes non-hackish (the probe/block now really happens
9639 on the GhostPad and not on the target).
9640 * gst/gstpad.c: (gst_pad_set_blocked_async),
9641 (gst_pad_link_prepare), (gst_pad_push_event):
9642 Remove previous ghostpad cruft.
9643 * gst/gstutils.c: (gst_pad_add_data_probe),
9644 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9645 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9646 (gst_pad_remove_buffer_probe):
9647 Remove previous ghost pad cruft.
9648 Added more detailed debug statements.
9649 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9650 Fix the testsuite for refcounting changes.
9651 The comments about who has references were correct, but the refcount
9652 being checked wasn't the same (!?!).
9656 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9658 * docs/gst/gstreamer-sections.txt:
9659 * gst/gstconfig.h.in:
9660 More docs for configuration options, add docs to gtk-doc.
9662 2006-07-10 Stefan Kost <ensonic@users.sf.net>
9665 * gst/gstconfig.h.in:
9666 * win32/common/config.h:
9667 Fix build when disabling tracing (fixes #344016). Also start to document
9668 the defines that disable the sub-systems.
9670 2006-07-10 Edward Hervey <edward@fluendo.com>
9672 * gst/gst.c: (ensure_current_registry_forking):
9673 let's make valgrind happy...
9675 2006-07-09 Wim Taymans <wim@fluendo.com>
9677 * gst/gstelement.c: (activate_pads),
9678 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9679 Better pad activation code: Reset the collect value too on resync.
9682 2006-07-09 Wim Taymans <wim@fluendo.com>
9684 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9685 (gst_pad_activate_push):
9686 Use some more macros where it makes sense.
9687 Allow pad mode switching instead of asserting. When a pad
9688 is activated in one mode and we activate it in another,
9689 deactivate it first before activating it in a different mode.
9692 2006-07-08 Andy Wingo <wingo@pobox.com>
9694 * tools/gst-launch.c (main): Handle err == NULL.
9696 * gst/gst.c (init_post, ensure_current_registry)
9697 (ensure_current_registry_forking)
9698 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9699 factoring out the registry scanning into separate functions. Don't
9700 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9701 Better environment var name/interface suggestions accepted.
9703 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9705 * gst/gstobject.c: (gst_object_set_name_default),
9706 (gst_object_set_name):
9707 Random micro-optimisation: don't use a hash table
9708 with strings as keys and the usual strdup/strcmp
9709 involved, but rather just use the GQuark of the
9710 type name as key, since it needs to be looked up
9711 anyway to get the type name string.
9713 * tests/check/gst/gstobject.c: (GST_START_TEST):
9716 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9718 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9719 (gst_bin_iterate_all_by_interface):
9720 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9721 GTypes are gulongs and thus the top 4 bytes might be cut
9722 off on some platforms when doing GPOINTER_TO_INT, leading
9723 to invalid GTypes and bad things happening (see RH bug #179654).
9724 Also add a check to make sure the type passed in is really
9727 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9732 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
9736 * gst-element-check.m4:
9737 * gst-element-check.m4.in:
9738 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9739 instead of the unversioned gst-inspect (#324176, #168659).
9741 2006-07-06 Wim Taymans <wim@fluendo.com>
9744 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9747 2006-07-06 Wim Taymans <wim@fluendo.com>
9749 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9750 (gst_base_src_wait), (gst_base_src_update_length),
9751 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9752 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9753 (gst_base_src_loop), (gst_base_src_start),
9754 (gst_base_src_activate_pull):
9756 blocksize == 0 now means the default blocksize when working in push
9758 Remove some pointless asserts in _wait function.
9759 Fix offset/length calculations and EOS handling. We can now pull 0
9760 bytes as well, which is allowed.
9761 use _check_get_range() to decide if we can operate in _pull based
9763 Fix refcounting leak when check_get_range function was not
9765 API GstBaseSrc::blocksize range can be 0 too now (default)
9767 * tests/check/elements/filesrc.c: (GST_START_TEST),
9769 Added check to test _get_range() behaviour.
9771 2006-07-06 Wim Taymans <wim@fluendo.com>
9773 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9774 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9775 (gst_pad_pull_range):
9777 Lots of comments and docs added to the pad functions.
9778 Flesh out the expected behaviour of the get_range() functions.
9780 2006-07-06 Wim Taymans <wim@fluendo.com>
9785 * gst/gstiterator.h:
9789 Remove comma at end of enumerator list.
9791 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
9793 * win32/common/libgstbase.def:
9794 * win32/common/libgstdataprotocol.def:
9795 * win32/common/libsgtreamer.def:
9796 Add new exported functions.
9798 2006-07-05 Wim Taymans <wim@fluendo.com>
9800 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9801 Add some more docs here and there.
9803 2006-07-05 Wim Taymans <wim@fluendo.com>
9805 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9806 (gst_base_sink_loop), (gst_base_sink_get_position):
9807 When operating in pull mode update the offset so that we
9810 2006-07-05 Wim Taymans <wim@fluendo.com>
9812 * gst/gstregistryxml.c: (read_string):
9813 Avoid strdup. (will happen in libxml, but hey!)
9818 2006-07-05 Wim Taymans <wim@fluendo.com>
9820 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9821 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9823 No point in checking if the size of the subbuffer > 0, the
9824 code handles it correclty as demonstrated by unit test.
9825 Also add a unit test for the zero sized _new_and_alloc and
9826 _copy. Fixes #346663.
9828 2006-07-05 Wim Taymans <wim@fluendo.com>
9830 * libs/gst/base/gstbasetransform.c:
9831 (gst_base_transform_prepare_output_buffer),
9832 (gst_base_transform_buffer_alloc),
9833 (gst_base_transform_handle_buffer):
9834 Make sure the buffer we pass to transform_ip has a refcount of
9835 1 and thus is writable. Fixes #343196
9837 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
9839 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9840 (gst_file_src_init), (gst_file_src_set_property),
9841 (gst_file_src_get_property), (gst_file_src_map_region):
9842 * plugins/elements/gstfilesrc.h:
9843 Add "sequential" property, off by default, to use madvise and hint
9844 to the kernel that sequential access is desired.
9845 Touch all retrieved pages by default to ensure they are pulled
9846 into memory. (Closes #345720)
9848 2006-07-03 Wim Taymans <wim@fluendo.com>
9850 * docs/design/part-block.txt:
9851 * docs/design/part-dynamic.txt:
9854 2006-07-03 Wim Taymans <wim@fluendo.com>
9856 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9857 (gst_caps_unref), (gst_static_caps_get),
9858 (gst_caps_append_structure):
9859 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9860 Use GSlice when the glib we build against is >= 2.10
9862 2006-07-03 Wim Taymans <wim@fluendo.com>
9864 * gst/gstelement.c: (gst_element_pads_activate):
9865 Small cleanup in pad activation code.
9867 2006-07-03 Wim Taymans <wim@fluendo.com>
9869 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9871 * gst/gst-i18n-app.h:
9872 * gst/gst-i18n-lib.h:
9873 * tools/gst-inspect.c: (print_signal_info):
9874 The attached patch will make the inclusion of gettext.h unconditional in
9875 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9876 libintl.h in tools/gst-inspect.c.
9877 This allows use of --disable-nls again and fixes #344642.
9879 2006-07-03 Edward Hervey <edward@fluendo.com>
9881 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9882 Implement pad blocking on events according to part-block.txt.
9883 More comments on behaviour.
9884 * tests/check/gst/gstevent.c: (test_event):
9885 Send event to peer pad of blocked pad (else it will block).
9887 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9889 * libs/gst/check/gstcheck.c: (gst_check_message_error),
9890 (gst_check_run_suite):
9891 if we get the wrong message, give us the types as string
9892 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9894 * tests/check/elements/filesrc.c: (GST_START_TEST):
9895 add a test for trying to open a non-existing file
9897 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9899 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9900 add a test for adding self
9902 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9904 * libs/gst/check/gstcheck.h:
9905 add some assert_ as alias for fail_unless_*
9906 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9907 increase test coverage
9909 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9912 include lcov.mak for lcov coverage generation
9913 * tools/Makefile.am:
9916 2006-07-02 Edward Hervey <edward@fluendo.com>
9918 * tests/check/elements/.cvsignore:
9921 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9924 don't set CFLAGS and friends for gcov, done from GST_GCOV now
9925 * tests/check/Makefile.am:
9928 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9930 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9931 remove gst_caps_simplify; it was not declared and not used
9932 and deprecated in 0.8
9934 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9936 * docs/faq/gst-uninstalled:
9937 don't put empty paths on PYTHONPATH
9938 * docs/gst/gstreamer-sections.txt:
9939 remove some symbols that are not there
9941 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9943 * gst/gstcaps.c: (gst_caps_compare_structures):
9945 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9946 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9949 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9951 * libs/gst/dataprotocol/Makefile.am:
9952 build dataprotocol test by linking to the lib, instead of
9953 compiling the source, so we get coverage
9954 * tests/check/Makefile.am:
9955 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9956 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9957 add a test for filesrc
9959 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9961 * tests/check/gst/gststructure.c: (GST_START_TEST),
9962 (gst_structure_suite):
9963 Push coverage from 59.04% to 70.00%
9965 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9967 * tests/check/Makefile.am:
9968 gst-inspect every element; this makes sure that we also get
9969 coverage on element's get/set functions
9971 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9974 set CFLAGS and friends to -O0 if gcov is being used
9977 * libs/gst/base/Makefile.am:
9978 * libs/gst/check/Makefile.am:
9979 * libs/gst/controller/Makefile.am:
9980 * libs/gst/dataprotocol/Makefile.am:
9981 * libs/gst/net/Makefile.am:
9982 * plugins/elements/Makefile.am:
9983 * plugins/indexers/Makefile.am:
9984 add makefile rules to generate gcov data and clean up
9985 * tests/check/Makefile.am:
9986 add a coverage target that generates an html overview
9989 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9991 * tests/check/elements/fakesink.c:
9992 * tests/check/elements/fakesrc.c:
9993 * tests/check/elements/fdsrc.c:
9994 * tests/check/elements/identity.c:
9995 * tests/check/generic/sinks.c: (gst_sinks_suite):
9996 * tests/check/generic/states.c:
9997 * tests/check/gst/gst.c:
9998 * tests/check/gst/gstabi.c:
9999 * tests/check/gst/gstbin.c:
10000 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10001 * tests/check/gst/gstbus.c: (gst_bus_suite):
10002 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10003 * tests/check/gst/gstelement.c:
10004 * tests/check/gst/gstevent.c: (gst_event_suite):
10005 * tests/check/gst/gstghostpad.c:
10006 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10007 * tests/check/gst/gstmessage.c: (gst_message_suite):
10008 * tests/check/gst/gstminiobject.c:
10009 * tests/check/gst/gstobject.c:
10010 * tests/check/gst/gstpad.c:
10011 * tests/check/gst/gstpipeline.c:
10012 * tests/check/gst/gstplugin.c:
10013 * tests/check/gst/gstquery.c: (gst_query_suite):
10014 * tests/check/gst/gstsegment.c: (gst_segment_suite):
10015 * tests/check/gst/gststructure.c:
10016 * tests/check/gst/gstsystemclock.c:
10017 * tests/check/gst/gsttag.c:
10018 * tests/check/gst/gsttask.c: (gst_task_suite):
10019 * tests/check/gst/gstutils.c:
10020 * tests/check/gst/gstvalue.c:
10021 * tests/check/libs/adapter.c:
10022 * tests/check/libs/basesrc.c:
10023 * tests/check/libs/collectpads.c:
10024 * tests/check/libs/controller.c:
10025 * tests/check/libs/gdp.c: (gst_dp_suite):
10026 * tests/check/libs/gstnetclientclock.c:
10027 * tests/check/libs/gstnettimeprovider.c:
10028 * tests/check/libs/libsabi.c: (libsabi_suite):
10029 * tests/check/libs/typefindhelper.c:
10030 * tests/check/pipelines/cleanup.c:
10031 * tests/check/pipelines/parse-launch.c:
10032 * tests/check/pipelines/simple-launch-lines.c:
10033 * tests/check/pipelines/stress.c: (stress_suite):
10036 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10039 * libs/gst/check/gstcheck.h:
10040 create a macro and function so that the simple unit test
10041 case can be just one macro to create main()
10043 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
10045 * gst/gstbin.c: (gst_bin_restore_thyself):
10046 * gst/gstxml.c: (gst_xml_make_element):
10047 Fix deserialisation from XML. Set parent manually
10048 instead of using gst_bin_add(), since gst_bin_add()
10049 will unlink all pads of the element being added.
10052 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
10054 Patch by: Peter Kjellerstedt <pkj at axis com>
10056 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10057 Fix missing g_strdup() and double free when using the
10058 --gst-plugin-load command line option (#346097).
10060 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10063 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10065 * libs/gst/net/gstnetclientclock.c:
10066 * libs/gst/net/gstnettimeprovider.c:
10067 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10069 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10071 * docs/manual/advanced-dataaccess.xml:
10072 Fix buffer probe example compilation in
10075 2006-06-22 Edward Hervey <edward@fluendo.com>
10077 * gst/gstelement.c: (gst_element_pads_activate):
10078 We need to deactivate src pads first and then sink pads.
10079 The reason is the src pads might be blocking while holding the streaming
10080 lock, so we need to deactivate them first so that deactivating the sink
10081 pads doesn't block (since it will require the streaming lock).
10083 2006-06-22 Wim Taymans <wim@fluendo.com>
10085 * libs/gst/base/gstbasetransform.c:
10086 (gst_base_transform_buffer_alloc):
10087 Forgot to remove two unneeded unrefs.
10088 Simplify a check _is_equal allready checks the obvious case.
10090 2006-06-22 Wim Taymans <wim@fluendo.com>
10092 * docs/design/part-block.txt:
10093 Some docs about what pad_block should do.
10095 2006-06-22 Wim Taymans <wim@fluendo.com>
10097 * gst/gstcaps.c: (gst_caps_replace):
10098 Fix crasher when passed NULL. Doc clarification.
10099 Optimize for the trivial case.
10101 * gst/gstpipeline.c: (gst_pipeline_change_state):
10104 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10105 Small documentation cleanup.
10107 * libs/gst/base/gstbasetransform.c:
10108 (gst_base_transform_buffer_alloc):
10109 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10110 is what we need and it avoids a whole lot of redundant
10111 refcount operations.
10113 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
10115 Patch by: Philip Jägenstedt <philip at lysator liu se>
10117 * docs/manual/advanced-dataaccess.xml:
10118 Fix 'Embedding static elements' section to use
10119 GST_PLUGIN_DEFINE_STATIC (#345607).
10121 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10123 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10124 Attempt to 'fix' spuriously failing test case: it seems like the
10125 timeout of half a second is simply too small when the system is under
10126 load otherwise, and the timeout doesn't really seem to serve any
10127 particular purpose here. Give the pipeline a few seconds to preroll
10128 first, and then give it another half a second to go from PAUSED to
10129 PLAYING and marshal the message into the main thread.
10131 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10133 * tools/gst-feedback-m.m:
10134 Don't only use unversioned tools, try versioned tools as well
10137 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10139 * gst/gstbus.c: (gst_bus_class_init):
10140 Fix some typos, make docs more explicit.
10142 2006-06-20 Wim Taymans <wim@fluendo.com>
10144 * tests/check/gst/gstghostpad.c: (block_callback),
10145 (GST_START_TEST), (gst_ghost_pad_suite):
10146 Added some more ghostpad tests, mainly blocking
10149 2006-06-16 Wim Taymans <wim@fluendo.com>
10151 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10152 (gst_file_sink_close_file), (gst_file_sink_do_seek),
10153 (gst_file_sink_event), (gst_file_sink_render):
10154 * plugins/elements/gstfilesink.h:
10155 Check if we can seek in the file instead of assuming
10156 we always can. Post an error when we are asked to seek in a
10157 non-seekable file (like a fifo). Fixes #343312.
10160 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10162 * tools/gst-launch.1.in:
10163 Un-garble (fourcc) bit in filtered caps section.
10165 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10167 * docs/manual/advanced-autoplugging.xml:
10168 * docs/manual/basics-helloworld.xml:
10169 * docs/manual/highlevel-components.xml:
10170 Don't leak bus reference in sample code.
10172 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
10175 Add default for new --enable-plugin-docs switch.
10178 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10181 * docs/Makefile.am:
10182 Use new ENABLE_PLUGIN_DOCS conditional.
10184 2006-06-14 Wim Taymans <wim@fluendo.com>
10186 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10187 Make it clear with a FIXME and a real define what the #if 0
10188 previously disabled.
10190 2006-06-14 Wim Taymans <wim@fluendo.com>
10192 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10193 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10194 * libs/gst/base/gstbasetransform.c:
10195 (gst_base_transform_sink_eventfunc):
10196 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10197 Don't randomly and silently reset a segment when the format
10198 changes as this is a bug somewhere upstream. Fixes #330379.
10200 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10202 Patch by: Wouter Paesen <wouter at kangaroot net>
10204 * libs/gst/controller/gstcontroller.c:
10205 (gst_controlled_property_new):
10206 Fix controlling of float properties (#344849).
10208 * tests/check/libs/controller.c:
10209 (gst_test_mono_source_get_property),
10210 (gst_test_mono_source_set_property),
10211 (gst_test_mono_source_class_init), (GST_START_TEST):
10212 While we're at it, add some float stuff to unit test.
10214 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10217 * docs/images/gdp-header.svg:
10219 * docs/libs/Makefile.am:
10220 * docs/libs/gdp-header.png:
10221 * libs/gst/dataprotocol/dataprotocol.c:
10222 add it to the API docs
10223 * docs/manual/intro-motivation.xml:
10226 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10228 * gst/gst.c: (scan_and_update_registry), (init_post):
10229 If the fork()'ed child process can't write the updated registry cache
10230 file to disk for some reason, make it exit with a failure exit code,
10231 so that the parent can then re-scan the plugins itself and update the
10232 registry structures in memory and work with that (rather than failing
10233 when creating elements because seemingly no plugins are available).
10234 Refactor registry scanning code into separate function for this and
10235 also separate fork() and non-fork() code paths. Fixes #344748.
10237 2006-06-13 Wim Taymans <wim@fluendo.com>
10239 * docs/manual/advanced-dataaccess.xml:
10240 Fix wrong PluginDesc. Fixes #344755.
10242 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10244 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10245 Fix silly bug that prevented us from creating
10246 ~/.gstreamer-0.10 and writing the registry in one
10247 go (the first call to g_mkstemp() would overwrite the
10248 placeholder in the template string, so the second call
10249 to g_mkstemp() after creating the missing directory
10250 would then error out with 'invalid argument').
10252 2006-06-13 Edward Hervey <edward@fluendo.com>
10254 * gst/gst.c: (init_post):
10257 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10259 * gst/glib-compat-private.h:
10260 * gst/glib-compat.c:
10261 * gst/glib-compat.h:
10262 * gst/gstvalue.c: (gst_value_serialize_flags):
10263 remove GLib 2.6 compatibility code
10265 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10267 * gst/parse/Makefile.am:
10268 Fix build with 'make -j N' even more (#340016).
10270 2006-06-12 Wim Taymans <wim@fluendo.com>
10272 * docs/gst/gstreamer-sections.txt:
10275 2006-06-12 Wim Taymans <wim@fluendo.com>
10277 * gst/gstsegment.c: (gst_segment_set_duration),
10278 (gst_segment_set_last_stop), (gst_segment_set_seek),
10279 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10280 (gst_segment_to_running_time), (gst_segment_clip):
10281 Use G_UNLIKELY to help the compiler a bit.
10283 2006-06-12 Wim Taymans <wim@fluendo.com>
10285 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10287 * gst/gstevent.c: (gst_event_get_type):
10288 * gst/gstmessage.c:
10289 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10291 constify quark registration strings. Fixes #344115
10292 Avoid unneeded type checking is _pad_push() by internally
10293 calling gst_pad_chain_unchecked().
10295 2006-06-12 Wim Taymans <wim@fluendo.com>
10297 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10298 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10299 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10300 (gst_buffer_is_span_fast), (gst_buffer_span):
10301 Init _type for consistency.
10302 Use _FLAGS macro to avoid type check.
10303 Avoid unneeded type checks in subbufer code.
10305 2006-06-12 Wim Taymans <wim@fluendo.com>
10307 * gst/gst.c: (gst_debug_help):
10308 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10309 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10310 (gst_plugin_feature_list_free):
10311 * gst/gstregistry.c: (gst_registry_add_plugin),
10312 (gst_registry_add_feature), (gst_registry_plugin_filter),
10313 (gst_registry_feature_filter), (gst_registry_find_plugin),
10314 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10315 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10316 * gst/gstregistryxml.c: (load_feature),
10317 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10318 * gst/gstminiobject.c: (gst_mini_object_unref),
10319 (gst_mini_object_replace), (gst_value_mini_object_free),
10320 (gst_value_mini_object_copy):
10321 Use _CAST macros to avoid unneeded type checking.
10322 Added some more G_UNLIKELY.
10324 2006-06-12 Wim Taymans <wim@fluendo.com>
10327 Avoid unneeded type checking.
10328 API: GST_BUFFER_IS_DISCONT
10330 * gst/gstminiobject.h:
10331 Avoid type check in flag accessor.
10333 * gst/gstelementfactory.h:
10335 * gst/gstpluginfeature.h:
10337 API: GST_ELEMENT_FACTORY_CAST
10338 API: GST_PLUGIN_CAST
10339 API: GST_PLUGIN_FEATURE_CAST
10341 2006-06-12 Wim Taymans <wim@fluendo.com>
10343 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10344 (gst_object_unref):
10345 Add G_UNLIKELY in type registration.
10346 Avoid type check in _ref/_unref since that is also
10349 2006-06-12 Wim Taymans <wim@fluendo.com>
10351 * gst/gsterror.c: (gst_g_error_get_type):
10352 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10353 (gst_static_pad_template_get_type):
10354 * gst/gsttaglist.c: (gst_tag_list_get_type):
10355 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10356 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10357 * gst/gsturi.c: (gst_uri_handler_get_type):
10358 * gst/gstvalue.c: (gst_date_get_type):
10359 * gst/gstxml.c: (gst_xml_get_type):
10360 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10361 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10362 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10363 Add G_UNLIKELY in type registration.
10365 2006-06-12 Wim Taymans <wim@fluendo.com>
10367 * tools/gst-inspect.c: (print_signal_info):
10368 Properly print enum values.
10370 2006-06-12 Wim Taymans <wim@fluendo.com>
10372 * gst/gstinfo.c: (gst_debug_set_active),
10373 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10375 Add some G_[UN]LIKELY.
10376 Maintain __gst_debug_min to avoid formatting the arguments of
10377 debug messages that will be dropped anyway to avoid a lot of
10378 overhead from the debugging system.
10380 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10383 * po/POTFILES.skip:
10384 add missing files containing translatable strings, tell intltool about
10387 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10389 * tests/check/libs/.cvsignore:
10390 add test-binary to ignore list
10392 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10394 * docs/libs/gstreamer-libs-docs.sgml:
10395 reorder (put dp into a chapter) and indent
10397 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10402 === release 0.10.8 ===
10404 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10407 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10409 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10411 * gst/gst.c: (init_post):
10412 move pid declaration to declaration block
10414 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10416 * gst/gst.c: (init_post):
10417 use _exit() instead of exit() in our forked child; this ensures
10418 that none of the registered exit handlers from whatever is using
10419 GStreamer get executed. This fixes gnome-mixer-applet failing
10420 to load, because ORBit would shut down.
10421 Spotted by: Edward Hervey <edward@fluendo.com>
10422 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10425 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10430 === release 0.10.7 ===
10432 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10435 releasing 0.10.7, "Soepeke, ik zie ou"
10437 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10460 * win32/common/config.h:
10461 0.10.6.2 prerelease
10463 2006-06-07 Wim Taymans <wim@fluendo.com>
10465 * gst/gstindex.c: (gst_index_gtype_resolver):
10466 * tools/gst-xmlinspect.c: (print_plugin_info):
10467 Fix leak spotted by coverity checker. Fixes #343827
10468 Fix another other leak found by paolo borelli.
10470 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10472 * libs/gst/dataprotocol/dataprotocol.c:
10473 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10474 (gst_dp_version_get_type), (gst_dp_init),
10475 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10476 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10477 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10478 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10479 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10480 (gst_dp_packetizer_free):
10481 * libs/gst/dataprotocol/dataprotocol.h:
10482 API: add a GstDPPacketizer object, and create/free functions
10483 API: add GstDPVersion enum
10484 Add 1.0 event function that uses the string serialization
10485 Serialize more useful buffer flags
10488 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10490 * tests/check/Makefile.am:
10491 * tests/check/gst/gstabi.c:
10492 * tests/check/gst/struct_ppc64.h:
10493 * tests/check/libs/libsabi.c:
10494 * tests/check/libs/struct_ppc64.h:
10495 add ppc64 structure sizes
10497 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10499 * tests/check/Makefile.am:
10500 * tests/check/gst/gstabi.c:
10501 * tests/check/gst/struct_x86_64.h:
10502 * tests/check/libs/libsabi.c:
10503 * tests/check/libs/struct_x86_64.h:
10504 generate and add structure size lists for x86_64
10506 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10508 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10509 * libs/gst/check/gstcheck.h:
10510 factor out the method from tests that checks size of structures,
10511 and add code to generate the header containing these sizes
10512 * tests/check/gst/gstabi.c: (GST_START_TEST):
10513 * tests/check/gst/struct_i386.h:
10514 * tests/check/libs/libsabi.c: (GST_START_TEST):
10515 * tests/check/libs/struct_i386.h:
10518 2006-06-06 Michael Smith <msmith@fluendo.com>
10520 * gst/gstsegment.h:
10521 Don't use c++-style comments, fixes #343929
10523 2006-06-05 Edward Hervey <edward@fluendo.com>
10526 plugin_paths is not used if we build without registry support.
10528 * gst/gstsegment.c: (gst_segment_copy):
10529 _copy() was always returning NULL...
10531 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10533 * libs/gst/dataprotocol/dataprotocol.c:
10534 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10535 (gst_dp_packet_from_event):
10536 factor out CRC code
10538 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10540 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10541 make sure we unset caps
10543 2006-06-02 Michael Smith <msmith@fluendo.com>
10545 * libs/gst/check/gstcheck.c: (gst_check_init),
10546 (gst_check_chain_func):
10547 * libs/gst/check/gstcheck.h:
10548 Add a cond/mutex to the check support lib, signal this whenever we
10549 add to the buffers list. This will allow tests to not busy-wait on
10552 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10554 * libs/gst/dataprotocol/dataprotocol.c:
10555 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10556 (gst_dp_packet_from_event):
10557 factor out some common header init code
10559 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10561 * docs/libs/gstreamer-libs-sections.txt:
10562 * docs/libs/tmpl/gstdataprotocol.sgml:
10563 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10564 * libs/gst/dataprotocol/dataprotocol.h:
10565 API: make gst_dp_crc() public
10567 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10569 * plugins/indexers/gstindexers.c: (plugin_init):
10570 conditionally register fileindexer (fixes #343598)
10572 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10574 * gst/gsttagsetter.h:
10575 Can't cast ifaces to a class
10577 * libs/gst/net/gstnetclientclock.h:
10578 * libs/gst/net/gstnettimeprovider.h:
10579 * plugins/elements/gstfakesink.h:
10580 * plugins/elements/gstfakesrc.h:
10581 * plugins/elements/gstfdsink.h:
10582 * plugins/elements/gstfdsrc.h:
10583 * plugins/elements/gstfilesink.h:
10584 * plugins/elements/gstfilesrc.h:
10585 * plugins/elements/gstidentity.h:
10586 * plugins/elements/gstqueue.h:
10587 * plugins/elements/gsttee.h:
10588 * plugins/indexers/gstfileindex.c:
10589 * plugins/indexers/gstmemindex.c:
10590 * tests/old/examples/plugins/example.h:
10591 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10593 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
10595 * libs/gst/dataprotocol/dataprotocol.c:
10596 (gst_dp_header_from_buffer):
10597 make sure we zero the whole ABI-compatible area
10599 2006-06-01 Wim Taymans <wim@fluendo.com>
10601 Patch by: Alessandro Decina <alessandro at nnva dot org>
10603 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10604 Make sure the EOS flag is cleared from pads after a flush
10605 or stop. Fixes #343538.
10607 * tests/check/libs/collectpads.c: (GST_START_TEST),
10608 (gst_collect_pads_suite):
10609 Added test for collectpads reusage after EOS.
10611 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
10614 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10615 * win32/common/libgstbase.def:
10616 export gst_collect_pads_set_flushing
10617 * win32/common/libgstreamer.def:
10618 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10619 gst_value_fraction_multiply
10620 * win32/vs6/gst_inspect.dsp:
10621 add a link to intl.lib
10623 2006-05-30 Wim Taymans <wim@fluendo.com>
10625 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10626 (gst_collect_pads_chain):
10627 Handle the case where a pad is removed from the collection
10628 that could cause the other pads to become collectable.
10630 2006-05-30 Wim Taymans <wim@fluendo.com>
10632 * gst/gstelement.c:
10633 Clarify the use of _release_request_pad() and
10634 _get_request_pad() a bit better.
10636 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10637 (gst_adapter_take_buffer):
10638 Fix some doc and comment typos.
10640 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10642 * docs/gst/gstreamer-sections.txt:
10643 * docs/libs/gstreamer-libs-sections.txt:
10644 add declared symbols
10646 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
10648 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10649 Add debug that can be enabled using a #define at the top of the file,
10650 for dumping stats about how late/early we were when waking up from
10651 waiting on the clock.
10653 2006-05-30 Wim Taymans <wim@fluendo.com>
10655 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10656 When rebuilding the pad list, don't leak the previous list.
10658 2006-05-30 Wim Taymans <wim@fluendo.com>
10660 Patch by: Lutz Mueller <lutz at topfrose dot de>
10662 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10663 (gst_base_src_get_query_types), (gst_base_src_update_length):
10664 Publish supported query types.
10665 Update last_stop field in get_range mode so the position
10666 query works. Fixes #342321.
10668 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
10670 * docs/gst/gstreamer-sections.txt:
10671 * gst/gsttaglist.c: (_gst_tag_initialize):
10672 * gst/gsttaglist.h:
10673 API: add GST_TAG_PREVIEW_IMAGE (#343341).
10675 2006-05-30 Wim Taymans <wim@fluendo.com>
10677 Patch by: Alessandro Decina <alessandro at nnva dot org>
10679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10680 Unlock mutex when removing an unknown pad.
10683 * tests/check/Makefile.am:
10684 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10685 (push_event), (setup), (teardown), (GST_START_TEST),
10686 (gst_collect_pads_suite), (main):
10687 Added collecpads check, disabled for now as check crashes for
10690 2006-05-29 Wim Taymans <wim@fluendo.com>
10692 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10693 Don't leak pads lists.
10695 2006-05-29 Wim Taymans <wim@fluendo.com>
10697 * docs/libs/gstreamer-libs-sections.txt:
10698 * libs/gst/base/gstcollectpads.c:
10699 (gst_collect_pads_set_flushing_unlocked),
10700 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10701 (gst_collect_pads_stop):
10702 * libs/gst/base/gstcollectpads.h:
10703 API: gst_collect_pads_set_flushing()
10704 Added api to set the pads to flushing, useful for seeking
10705 code in elements using collectpads.
10706 Clear segment when receiving a flush.
10708 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
10710 * gst/gst.c: (add_path_func), (init_post):
10711 Don't scan registry paths passed via --gst-plugin-path immediately
10712 (will crash, because absolutely nothing is set up and no types are
10713 registered etc.); do this later in init_post(). Fixes #343057.
10715 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
10717 * gst/gst.c: (init_post):
10718 if we have fork, fork while reading/rebuilding the registry
10719 so the parent doesn't take the hit of having all plugins loaded
10720 in memory. Fixes #342777.
10722 Check if we have fork()
10723 * win32/common/config.h.in:
10726 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10728 * plugins/elements/gstelements.c:
10729 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10730 (gst_file_src_init), (gst_file_src_set_property),
10731 (gst_file_src_get_property), (gst_file_src_start):
10732 * plugins/elements/gstfilesrc.h:
10733 API: GstFileSrc::use-mmap
10735 Add a use-mmap property to enable easier testing of all code paths.
10736 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10737 in the absence of gnomevfssrc. (Closes #340501)
10739 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10741 * tools/gst-inspect.c:
10742 Add missing include, removes warning of ngettext not being defined on
10745 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
10747 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10748 Handle NULL input and output pointers silently as a failed conversion,
10749 rather than g_warnings.
10751 2006-05-25 Wim Taymans <wim@fluendo.com>
10753 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10754 Initialize variable before using. Fixes #342820.
10756 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
10758 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10759 Fix off-by-one bug that would only allow peeks of N-1 bytes
10760 from the start even if the buffer to typefind on contains
10761 in fact N bytes of data (makes vorbis typefinding from a
10762 vorbis identification header buffer work).
10764 * tests/check/Makefile.am:
10765 * tests/check/libs/.cvsignore:
10766 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10767 (gst_typefindhelper_suite), (main), (foobar_typefind),
10769 Add very basic unit test for gst_type_find_helper_for_buffer()
10770 that checks for the problem fixed above.
10772 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
10774 * tools/gst-inspect.c: (print_interfaces),
10775 (print_element_properties_info), (print_element_list), (main):
10776 add more translatable strings
10778 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
10780 Patch by: Julien Moutte <julien at moutte net>
10782 * docs/gst/gstreamer-sections.txt:
10783 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10785 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10786 (gst_fake_sink_preroll):
10787 * plugins/elements/gstfakesink.h:
10788 API: Add new GstFakeSink::preroll-handoff signal (#337100).
10790 2006-05-23 Wim Taymans <wim@fluendo.com>
10792 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10794 Added _CUSTOM error and success GstFlowReturn that can be
10795 used be elements internally.
10796 Added macro to check for SUCCESS flowreturns.
10797 API: GST_FLOW_CUSTOM_SUCCESS
10798 API: GST_FLOW_CUSTOM_ERROR
10799 API: GST_FLOW_IS_SUCCESS
10801 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10802 Added check for GstFlowReturn sanity.
10804 2006-05-23 Wim Taymans <wim@fluendo.com>
10806 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10808 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10809 (gst_collect_pads_event):
10810 clear/reset segment info in FLUSH_STOP.
10813 2006-05-22 Stefan Kost <ensonic@users.sf.net>
10815 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10816 (gst_collect_pads_check_collected):
10817 Flush queued buffer on _stop(), fixes playing again (#342454)
10819 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
10821 * tests/check/gst/gststructure.c: (GST_START_TEST),
10822 (gst_structure_suite):
10823 add a test for a complete structure
10825 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10827 * docs/faq/developing.xml:
10828 * docs/faq/faq.xml:
10829 * docs/faq/troubleshooting.xml:
10830 * docs/faq/using.xml:
10831 Some minor FAQ updates that won't change the fact that
10832 our FAQ is badly structured, full of information hardly
10833 anyone new to GStreamer needs to know and lacking lots
10834 of information people constantly ask for.
10836 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
10838 * gst/gstpad.c: (gst_pad_set_caps):
10839 Short-circuit gst_pad_set_caps if setting the existing
10840 caps pointer again, and avoid printing debug and
10841 reffing/unreffing the caps.
10843 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10844 There's actually no need to set the caps before pushing -
10845 the acceptcaps method will handle it anyway.
10847 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10849 * docs/gst/gstreamer-sections.txt:
10850 * win32/common/libgstreamer.def:
10851 * gst/gstutils.c: (gst_element_seek_simple):
10853 API: add gst_element_seek_simple() (#342238).
10855 2006-05-18 Edward Hervey <edward@fluendo.com>
10857 * gst/gsttypefind.c: (gst_type_find_get_type):
10858 * gst/gsttypefind.h:
10859 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10860 registered for GstTypeFind pointers. This allows wrapping the structure
10861 in bindings (i.e. gst-python).
10863 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10865 * gst/gsttagsetter.c:
10866 Docs additions and fixes (see #339918).
10868 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10870 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10871 The caps intersection algorithm can produce multiple copies of the
10872 caps. Until that is fixed, we need to simplify the result to be
10873 sure whether the allowed caps are fixed or not.
10875 * plugins/elements/gstqueue.c: (gst_queue_init),
10876 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10877 (gst_queue_push_one):
10878 Proxied buffer alloc should not set the caps on the source pad.
10879 When pushing buffers, we always accept the caps change that triggers.
10880 This prevents negotiation errors caused by caps changing mid-stream
10881 and then being refused on our source pad (because upstream is now
10882 refusing those caps).
10884 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10886 * tests/examples/helloworld/helloworld.c: (main):
10887 Must plug audioconvert and audioresample between decoder
10890 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
10892 * gst/gstregistryxml.c: (read_string), (load_pad_template),
10893 (load_feature), (load_plugin):
10894 Allow empty strings for some of the plugin fields so we don't
10895 drop valid plugin entries that were written out correctly
10898 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
10900 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10901 Use g_remove and g_rename instead of remove and rename that don't
10902 handle utf8 characters. rename was failing for users who had specific
10903 characters in their name then the registry was built at each
10905 * win32/vs6/gst_inspect.dsp:
10906 * win32/vs6/gst_launch.dsp:
10907 * win32/vs6/libgstbase.dsp:
10908 * win32/vs6/libgstcoreelements.dsp:
10909 * win32/vs6/libgstreamer.dsp:
10910 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
10911 build of libgstreamer and clean unused libraries in projects link
10914 2006-05-17 Edward Hervey <edward@fluendo.com>
10916 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10917 The queue is not responsible for pushing an EOS when receiving a fatal
10918 flow error. It's up to the real element driving the pipeline to do that.
10920 2006-05-16 Edward Hervey <edward@fluendo.com>
10922 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10923 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10924 buffer returned a fatal error. It should just send an EOS and stop
10926 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10927 when pushing buffers on the queue and will be able to handle the event.
10929 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
10931 * docs/manual/basics-bins.xml:
10932 * docs/manual/basics-init.xml:
10933 Fix typos and minor errors in sample code (#341856).
10935 2006-05-16 Wim Taymans <wim@fluendo.com>
10937 * docs/design/part-qos.txt:
10938 Fix indexes in formulas to make more sense.
10940 2006-05-15 Wim Taymans <wim@fluendo.com>
10942 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10943 Don't report POSITION based on clock time if sync is
10944 disabled in a sink.
10946 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
10949 Add cast to make compiler happy - refcount variable was a gint
10950 in GstObject but is a guint in GObject and g_atomic_int_get()
10953 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
10955 * gst/parse/Makefile.am:
10956 chain commands using &&, which also makes parallel make work
10958 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
10960 * docs/gst/gstreamer-sections.txt:
10963 * gst/gstmessage.h:
10966 === release 0.10.6 ===
10968 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
10971 releasing 0.10.6, "Take the cannoli"
10973 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
10975 * tools/gst-launch.c: (print_tag):
10976 Fix use of uninitialized variable in the hypothetical
10977 case that some broken plugin creates a GST_TAG_IMAGE
10978 tag containing a NULL buffer (#341667).
10980 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
10982 * tools/gst-launch.c: (print_tag):
10983 Print something more intelligible for image tags when
10984 using the -t switch (#341556).
10986 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
10991 define GST_MAJORMINOR so we have it available in win32/common/config.h
10992 Possibly remove it from our Makefile.am files later
10993 * win32/common/config.h:
10994 * win32/common/config.h.in:
10995 added GST_MAJORMINOR
10996 * win32/common/gstenumtypes.c: (register_gst_resource_error):
10997 * win32/common/gstversion.h:
11000 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
11003 Update win32 files listing.
11004 * win32/common/gstversion.h:
11005 Add GST_MAJORMINOR definition.
11006 * win32/common/libgstreamer.def:
11007 Add new exported functions.
11009 2006-05-12 Michael Smith <msmith@fluendo.com>
11011 * gst/gstplugin.c: (gst_plugin_load_file):
11012 If an so file has no plugin entry point, unload the module.
11014 2006-05-11 Wim Taymans <wim@fluendo.com>
11016 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11017 (gst_queue_set_property):
11018 Don't forget to signal the _chain or _loop function
11019 when the queue size or thresholds change since that might
11020 cause them to make progres again.
11022 2006-05-11 Stefan Kost <ensonic@users.sf.net>
11024 * gst/gstclock.c: (gst_clock_class_init):
11025 * gst/gstindex.c: (gst_index_class_init):
11026 * gst/gstobject.c: (gst_object_class_init):
11027 * gst/gstpad.c: (gst_pad_class_init):
11028 * gst/gstpipeline.c: (gst_pipeline_class_init):
11029 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11030 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11031 * libs/gst/base/gstbasetransform.c:
11032 (gst_base_transform_class_init):
11033 * libs/gst/net/gstnetclientclock.c:
11034 (gst_net_client_clock_class_init):
11035 * libs/gst/net/gstnettimeprovider.c:
11036 (gst_net_time_provider_class_init):
11037 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11038 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11039 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11040 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11041 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11042 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11043 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11044 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11045 * plugins/elements/gsttee.c: (gst_tee_class_init):
11046 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11047 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11048 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11050 2006-05-11 Wim Taymans <wim@fluendo.com>
11052 * gst/gstbuffer.c: (_gst_buffer_initialize):
11053 Register subbufer along with the buffer type so that
11054 it does not accidentally gets registered from N
11055 different streaming threads in a non threadsafe way.
11057 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11061 * gst/gstmessage.h:
11062 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11063 gst_event_ref() and gst_message_ref() functions again
11064 (ugly hack, please do fix if there's a better way besides
11065 overrides.txt, which doesn't seem to work).
11067 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11069 * libs/gst/check/gstcheck.h:
11070 add an assert for setting state to avoid lots of repetitive code
11073 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11075 * gst/gstvalue.c: (gst_value_serialize_flags):
11076 fix a leak if no flags are set
11077 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11080 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11082 * docs/manual/basics-pads.xml:
11083 Expand a bit on caps and filtered links and update
11084 examples that were still using the no longer existing
11085 gst_pad_link_filtered() (#338206).
11087 2006-05-10 Wim Taymans <wim@fluendo.com>
11089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11090 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11091 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11092 (gst_collect_pads_stop):
11093 * libs/gst/base/gstcollectpads.h:
11094 No need to call _stop in _finalize.
11095 Iterate the main pad list in _finalize.
11096 Added some more debug.
11097 Free lists and data in the right order.
11098 Also free data whem doing _remove_pad when stopped for
11099 backward compatibility protect ::started with PAD_LOCK as
11102 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11104 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11105 (gst_structure_parse_value):
11107 rename a method so that it actually says what it does better
11109 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11111 * gst/gstevent.c: (_gst_event_initialize):
11112 * gst/gstformat.c: (_gst_format_initialize):
11113 make sure some essential types used by events are registered
11114 as part of gst_init()
11115 * gst/gstvalue.c: (gst_value_serialize_flags):
11116 if no flags are set, serialize them to a value that represents NONE
11117 so that deserializing them works
11118 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11119 add tests for serialization and deserialization of flags
11121 2006-05-10 Wim Taymans <wim@fluendo.com>
11123 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11124 (gst_collect_pads_collect_range), (gst_collect_pads_available),
11125 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11126 (gst_collect_pads_event), (gst_collect_pads_chain):
11129 Catch and return errors from the collect function
11130 Refuse data on eos pads.
11132 2006-05-10 Edward Hervey <edward@fluendo.com>
11134 * gst/gstinterface.h:
11135 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11136 GInterface type checking.
11137 They were previously using non-defined macros.
11139 2006-05-09 Wim Taymans <wim@fluendo.com>
11141 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11142 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11143 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11144 (gst_collect_pads_start), (gst_collect_pads_stop),
11145 (gst_collect_pads_peek), (gst_collect_pads_pop),
11146 (gst_collect_pads_available), (gst_collect_pads_read),
11147 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11148 (gst_collect_pads_is_collected), (gst_collect_pads_event),
11149 (gst_collect_pads_chain):
11150 * libs/gst/base/gstcollectpads.h:
11151 Clean up the mess that is collectpads, add comments and
11152 FIXMEs where needed.
11153 Maintain a separate pad list so we can add pads while
11154 collecting the other ones. For this we need a new separate
11156 Fix memory leak in finalize.
11157 Refactor some weird code to set/unset pad flushing flags, mark
11159 Don't crash in _available, _read, _flush when we're EOS.
11161 * tests/check/libs/.cvsignore:
11162 Ignore adapter check binary.
11164 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11166 * gst/gstindex.c: (gst_index_resolver_get_type):
11167 * plugins/elements/gstfakesink.c:
11168 (gst_fake_sink_state_error_get_type):
11169 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11170 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11171 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11172 Const-ify GEnumValue arrays.
11174 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11176 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11177 Add test case for flags + gst_buffer_make_metadata_writable().
11179 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11181 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11182 gst_buffer_make_metadata_writable() should maintain the
11183 buffer flags (those that make sense at least) (see #340859).
11185 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11187 * tools/gst-inspect.c:
11188 * tools/gst-launch.c:
11189 * tools/gst-typefind.c:
11190 * tools/gst-xmlinspect.c:
11192 Fix up includes: need to include stdlib.h in tools.h for exit().
11194 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11196 * gst/gsttaglist.c: (_gst_tag_initialize):
11197 * gst/gsttaglist.h:
11198 API: add GST_TAG_IMAGE tag (#340721).
11200 2006-05-08 Wim Taymans <wim@fluendo.com>
11203 Added some docs for the segment query.
11205 2006-05-08 Wim Taymans <wim@fluendo.com>
11207 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11208 (gst_base_src_loop), (gst_base_src_change_state):
11209 Always push non-flushing serialized events in the streaming
11212 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11214 * gst/gsterror.c: (_gst_stream_errors_init):
11215 Add a missing error string.
11217 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11219 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11220 Add applied_rate to the debug
11222 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11223 Copy applied_rate into the outgoing NEWSEGMENT event
11225 2006-05-08 Wim Taymans <wim@fluendo.com>
11227 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11229 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11230 (gst_base_sink_change_state):
11231 call ::unlock before taking the PREROLL_LOCK so we can safely
11232 handle elements that lock in ::render.
11235 2006-05-08 Edward Hervey <edward@fluendo.com>
11237 * autogen.sh: (CONFIGURE_DEF_OPT):
11238 Darwin's libtoolize is in fact called glibtoolize.
11239 Adding glibtoolize to the list of accepted names for libtoolize.
11241 2006-05-08 Wim Taymans <wim@fluendo.com>
11243 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11244 Unify error handling, don't post an error message
11245 when a push() returns EOS but perform our normal EOS
11246 handling code. Fixes #340772.
11248 2006-05-08 Wim Taymans <wim@fluendo.com>
11250 * docs/design/part-overview.txt:
11251 Make upsteam/downstream concepts more clear.
11252 Give an example of serialized/non-serialized events.
11254 * docs/design/part-events.txt:
11255 * docs/design/part-streams.txt:
11256 Mention applied_rate.
11258 * docs/design/part-trickmodes.txt:
11259 Mention applied rate, flesh out some more use cases.
11261 * gst/gstevent.c: (gst_event_new_new_segment),
11262 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11263 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11264 (gst_event_parse_tag), (gst_event_new_buffer_size),
11265 (gst_event_parse_buffer_size), (gst_event_new_qos),
11266 (gst_event_parse_qos), (gst_event_parse_seek),
11267 (gst_event_new_navigation):
11269 Add applied_rate field to NEWSEGMENT event.
11270 API: gst_event_new_new_segment_full()
11271 API: gst_event_parse_new_segment_full()
11273 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11274 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11275 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11276 * gst/gstsegment.h:
11277 Add applied_rate to GstSegment structure.
11278 Make calculation of stream_time and running_time more correct
11279 wrt rate/applied_rate.
11280 Add some more docs.
11281 API: GstSegment::applied_rate field
11282 API: gst_segment_set_newsegment_full();
11284 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11285 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11286 * libs/gst/base/gstbasetransform.c:
11287 (gst_base_transform_sink_eventfunc),
11288 (gst_base_transform_handle_buffer):
11289 Parse and use applied_rate in the GstSegment field.
11291 * tests/check/gst/gstevent.c: (GST_START_TEST):
11292 Add check for applied_rate field.
11294 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11295 (gstsegments_suite):
11296 Add more checks for various GstSegment operations.
11298 2006-05-08 Wim Taymans <wim@fluendo.com>
11300 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11301 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11302 (gst_base_sink_get_position), (gst_base_sink_change_state):
11303 Store the sync time of the buffer end position separatly in a
11304 new variable eos_rtime so we can properly sync the EOS event.
11306 Fix the docs for gst_base_sink_set_qos_enabled().
11307 Don't set segment start to invalid value when we receive a
11308 non TIME newsegment.
11309 get closer to handling position reporting for negative rates
11312 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11315 Docs about how to print caps for debug purposes.
11317 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11318 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11320 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11322 * gst/gstelement.c:
11323 use full enum names and preprend a '%' in docs strings to make recent
11324 gtk-doc turn that into a link
11326 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11328 * docs/manual/basics-bins.xml:
11329 * docs/manual/basics-bus.xml:
11330 * docs/manual/basics-pads.xml:
11331 Some typo fixes, some additions, some clarifications.
11333 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11335 * tools/gst-inspect.c: (main):
11336 * tools/gst-launch.c: (main):
11337 * tools/gst-run.c: (main):
11338 * tools/gst-typefind.c: (main):
11339 * tools/gst-xmlinspect.c: (main):
11340 Use the string passed to g_option_context_new() for
11341 what it's intended for - the program name is already
11344 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11346 * tools/Makefile.am:
11347 * tools/gst-inspect.c: (main):
11348 * tools/gst-launch.c: (main):
11349 * tools/gst-xmlinspect.c: (main):
11351 Add back --version command line option (#340460).
11353 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11354 Add --version option and use GOption for argument parsing; refactor a
11355 bit; accept directories as arguments and recurse into them; lastly,
11356 print a decent error message when things go wrong.
11358 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11360 * docs/manual/basics-bins.xml:
11361 Don't mention GstThread (#340611)
11362 * docs/manual/basics-elements.xml:
11363 Update link to GObject tutorial (#340607)
11365 2006-05-05 Wim Taymans <wim@fluendo.com>
11368 * gst/gstminiobject.c:
11369 Add note about refcounting and miniobject/buffer writeability
11370 to docs. Fixes #340604
11372 * gst/gstelementfactory.h:
11373 Added some explanation about @klass.
11375 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11377 * docs/manual/intro-motivation.xml:
11378 * docs/manual/manual.xml:
11379 Avoid CORBA & Bonobo references (#340598)
11381 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11383 * docs/manual/basics-bus.xml:
11384 * docs/manual/basics-pads.xml:
11385 Fix up some inaccuracies and omissions (#340609)
11387 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11389 * gst/gstghostpad.c:
11390 Small typo in docs (#340625)
11392 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11394 * gst/parse/Makefile.am:
11395 Make 'make -j' proof (see #340698).
11397 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11400 Require GLib-2.8 here as well.
11402 2006-05-05 Wim Taymans <wim@fluendo.com>
11404 * gst/glib-compat.c:
11405 * gst/gst.c: (init_pre):
11406 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11407 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11408 (gst_object_dispatch_properties_changed):
11410 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11411 * gst/gststructure.c: (gst_structure_set_valist):
11412 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11413 Remove pre glib2.8 compatibility, fixes #340508
11415 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11417 * gst/gsttaglist.h:
11418 Mention type of tags in doc blurbs.
11420 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11422 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11423 (gst_pad_configure_src), (gst_pad_push):
11424 Restore acceptcaps checking behaviour now that good plugins have
11427 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11429 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11436 * gst/gstmessage.c:
11440 * gst/parse/Makefile.am:
11441 * libs/gst/base/gstadapter.c:
11442 * libs/gst/base/gstbasesrc.c:
11443 * libs/gst/base/gstpushsrc.c:
11444 * libs/gst/base/gsttypefindhelper.c:
11445 * plugins/elements/gstfakesrc.c:
11446 * plugins/elements/gstidentity.c:
11447 Make sure gstprivate.h and/or config.h are
11448 always included first, otherwise some of our
11449 defines (like _FILE_OFFSET_BITS) might be
11450 redefined in the system headers. Fixes build
11451 on opensolaris (#340016).
11453 2006-05-04 Wim Taymans <wim@fluendo.com>
11455 * docs/libs/gstreamer-libs-sections.txt:
11456 API: addition: gst_adapter_take_buffer()
11458 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11459 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11460 (gst_adapter_available_fast):
11461 * libs/gst/base/gstadapter.h:
11462 Prepare for optimizing the hell out of this hugely inefficient
11464 Added gst_adapter_take_buffer() so we can at least start thinking
11465 about subbuffering and merging.
11466 Added some comments.
11468 * tests/check/Makefile.am:
11469 * tests/check/libs/adapter.c: (GST_START_TEST),
11470 (gst_adapter_suite), (main):
11471 Added GstAdapter check.
11473 2006-05-04 Wim Taymans <wim@fluendo.com>
11475 * docs/design/part-overview.txt:
11476 Fix some typos, add blurb about buffer flags.
11478 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11480 * docs/libs/gstreamer-libs-sections.txt:
11481 make sure GstBaseTransformClass shows up in the docs
11482 * libs/gst/base/gstbasetransform.c:
11483 * libs/gst/base/gstbasetransform.h:
11484 move docs so gtk-doc picks it up now
11486 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11488 * docs/libs/gstreamer-libs-sections.txt:
11489 add missing symbols to docs
11491 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11494 back out the newsegment handling change, see #340060 for ongoing
11497 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11499 * tools/gst-run.c: (get_candidates), (main):
11500 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11501 work); fix typo in error message. Fixes #340079.
11503 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11505 * common/Makefile.am:
11506 * docs/Makefile.am:
11507 * docs/faq/Makefile.am:
11508 * docs/gst/Makefile.am:
11509 * docs/libs/Makefile.am:
11510 * docs/manual/Makefile.am:
11511 * docs/plugins/Makefile.am:
11512 * docs/pwg/Makefile.am:
11513 * docs/slides/Makefile.am:
11515 * common/upload.mak:
11516 move upload.mak to common
11518 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11520 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11521 add more asserts on refcounts
11522 do more cleanup at end of tests
11523 fix test leaks showing in FC5
11525 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11527 * plugins/elements/gsttypefindelement.c:
11528 (gst_type_find_element_handle_event):
11529 reverted wrong change and reflowed code to avoid others falling into
11532 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11535 fix changelog entry about last collectpads change,
11536 add notes about proper fix
11538 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11541 * gst/gstregistry.c: (gst_registry_scan_path_level),
11542 (gst_registry_scan_path):
11543 * gst/gstregistry.h:
11544 only write out registry if it has changed, fixes #338339
11546 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11549 * gst/gstpipeline.c:
11550 * plugins/elements/gstcapsfilter.c:
11551 * plugins/elements/gstfakesink.c:
11552 * plugins/elements/gstfakesrc.c:
11553 * plugins/elements/gstfdsink.c:
11554 * plugins/elements/gstfdsrc.c:
11555 * plugins/elements/gstfilesink.c:
11556 * plugins/elements/gstfilesrc.c:
11557 * plugins/elements/gstidentity.c:
11558 * plugins/elements/gstqueue.c:
11559 * plugins/elements/gsttee.c:
11560 * plugins/elements/gsttypefindelement.c:
11561 (gst_type_find_element_handle_event):
11562 make GstElementDetails const
11564 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11566 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11567 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11568 (gst_collect_pads_is_collected), (gst_collect_pads_event):
11569 more detailed debug and formatting cleanup,
11570 forward newsegments to src-pad (so that e.g. adder not eats them)
11572 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11574 * gst/gstutils.c: (gst_element_link_pads):
11575 cleanup double code
11577 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11579 * libs/gst/controller/gstcontroller.c:
11580 (gst_controller_sync_values):
11582 * tests/check/libs/controller.c: (GST_START_TEST),
11583 (gst_controller_suite):
11584 a new test for live value handling
11586 2006-04-28 Wim Taymans <wim@fluendo.com>
11588 * gst/gstutils.c: (push_and_ref):
11589 Added some more docs.
11590 Fix refcount issue whith gst_element_found_tags() helper
11591 function. Fixes #338335
11593 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11594 Added testsuite for gst_element_found_tags().
11596 2006-04-28 Michael Smith <msmith@fluendo.com>
11598 * gst/gstvalue.c: (gst_value_serialize_flags):
11599 Avoid NULL dereference when trying to serialize flags containing
11602 2006-04-28 Michael Smith <msmith@fluendo.com>
11604 * plugins/elements/gsttypefindelement.c:
11605 (gst_type_find_element_handle_event):
11606 If we get EOS before any data is accumulated, don't use
11607 uninitialised local variables.
11609 2006-04-28 Michael Smith <msmith@fluendo.com>
11611 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11612 (gst_dp_event_from_packet):
11613 Fixes in reading/writing events over GDP (not currently used?) -
11614 dereferencing NULL events for unknown/invalid event types, memory
11615 leak, and change g_warning to GST_WARNING.
11617 2006-04-28 Wim Taymans <wim@fluendo.com>
11619 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11620 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11621 (gst_base_sink_get_position), (gst_base_sink_change_state):
11622 When frame dropping is enabled, we should not ignore frames
11623 without a duration.
11624 Update some documentation.
11626 2006-04-28 Wim Taymans <wim@fluendo.com>
11628 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11629 (gst_base_src_send_event), (gst_base_src_change_state):
11630 Documentation updates.
11632 2006-04-28 Wim Taymans <wim@fluendo.com>
11634 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11635 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11636 handle EAGAIN, EINTR and short writes correctly. Also clean
11637 up some error cases, avoid a deadlock on bad file descriptors and
11638 use GST_DEBUG_OBJECT.
11641 2006-04-28 Wim Taymans <wim@fluendo.com>
11643 * gst/gstvalue.c: (gst_value_serialize_buffer),
11644 (gst_value_deserialize_buffer):
11645 Don't try to serialize a GValue with a NULL buffer.
11648 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11649 Added check for serialisation of NULL buffers.
11651 2006-04-28 Wim Taymans <wim@fluendo.com>
11653 * gst/gstminiobject.c: (gst_value_take_mini_object):
11654 Taking a NULL miniobject is valid, fix the case where
11655 we try to unref the NULL miniobject.
11657 2006-04-28 Wim Taymans <wim@fluendo.com>
11659 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11661 * gst/gstbin.c: (gst_bin_handle_message_func):
11663 Don't leak bin refcount when a state recalc is
11664 in progress and we delay another one #339808.
11666 2006-04-28 Wim Taymans <wim@fluendo.com>
11668 * docs/design/part-TODO.txt:
11669 Mention QoS as an ongoing work item.
11671 * docs/design/part-buffering.txt:
11672 New doc about buffering that needs to be fleshed out
11675 * docs/design/part-qos.txt:
11676 More QoS policy for decoders/demuxers/transforms
11678 * docs/design/part-trickmodes.txt:
11681 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11686 === release 0.10.5 ===
11688 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
11691 releasing 0.10.5, "Fogo"
11693 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
11695 patch by: Wim Taymans
11697 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11698 (gst_pad_configure_src), (gst_pad_push):
11699 * gst/gstpipeline.c: (gst_pipeline_init):
11700 Fix internal data flow errors. Fixes #338711.
11702 2006-04-12 Wim Taymans <wim@fluendo.com>
11704 * tests/check/gst/gstelement.c: (GST_START_TEST):
11705 Don't leak the factory.
11707 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
11710 * win32/common/config.h:
11713 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
11715 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11716 (gst_controller_unset_all):
11717 Free allocated GstTimedValues when freeing list nodes.
11718 Should fix leaks 'make check-valgrind' complains about.
11720 * win32/common/libgstcontroller.def:
11721 Add gst_controller_unset_all.
11723 2006-04-11 Stefan Kost <ensonic@users.sf.net>
11725 * docs/libs/gstreamer-libs-sections.txt:
11726 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11727 (gst_controller_unset_all):
11728 * libs/gst/controller/gstcontroller.h:
11729 API: Added new method gst_controller_unset_all()
11730 fixed gst_controller_unset()
11731 * tests/check/libs/controller.c: (GST_START_TEST),
11732 (gst_controller_suite):
11733 Added two testcases for new and fixed method
11735 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
11737 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11738 MSG_DONTWAIT is not defined on Cygwin, so work
11739 around that (fixes #317048).
11741 2006-04-11 Wim Taymans <wim@fluendo.com>
11743 * gst/gstelementfactory.c: (gst_element_register),
11744 (gst_element_factory_create), (gst_element_factory_make):
11747 Updated docs (Fixes #131079)
11749 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11752 * tests/check/gst/gstelement.c: (GST_START_TEST),
11753 (gst_element_suite):
11754 Added testcase for elementfactory class field.
11756 2006-04-10 Wim Taymans <wim@fluendo.com>
11758 * gst/gstsegment.c:
11759 Added some more docs.
11761 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11762 (gst_base_sink_reset_qos):
11763 Calculate more accurate rate values.
11765 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
11767 * gst/gst_private.h:
11768 add a new #ifdef to use __declspec(dllimport) only for
11769 other modules and not for gstreamer core
11770 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11771 use gst_guint64_to_gdouble for conversion
11772 * win32/common/libgstreamer.def:
11773 add new exported functions
11774 * win32/vs6/gst_inspect.dsp:
11775 * win32/vs6/gst_launch.dsp:
11776 * win32/vs6/libgstbase.dsp:
11777 * win32/vs6/libgstcontroller.dsp:
11778 * win32/vs6/libgstcoreelements.dsp:
11779 * win32/vs6/libgstdataprotocol.dsp:
11780 * win32/vs6/libgstnet.dsp:
11781 update project files
11783 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11785 * gst/gstbuffer.c: (gst_subbuffer_class_init):
11786 * gst/gstclock.c: (gst_clock_class_init):
11787 * gst/gstelement.c: (gst_element_class_init):
11788 * gst/gstindex.c: (gst_index_class_init):
11789 * gst/gstindexfactory.c: (gst_index_factory_class_init):
11790 * gst/gstobject.c: (gst_object_class_init),
11791 (gst_signal_object_class_init):
11792 * gst/gstpad.c: (gst_pad_class_init):
11793 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11794 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11795 * gst/gstregistry.c: (gst_registry_class_init):
11796 * gst/gstsystemclock.c: (gst_system_clock_class_init):
11797 * gst/gsttask.c: (gst_task_class_init):
11798 * gst/gstxml.c: (gst_xml_class_init):
11799 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11800 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11801 (gst_base_src_loop):
11802 * libs/gst/controller/gstcontroller.c:/
11803 (_gst_controller_class_init):
11804 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11805 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11806 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11807 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11808 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11809 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11811 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
11813 * gst/gstpad.c: (gst_pad_link):
11814 Must set peer pads before calling the link function, otherwise
11815 a task started from a link function might get a flow-not-linked
11816 result when trying to push because the other thread where the
11817 linking happens hasn't had a chance to set the peers yet. This
11818 might happen for example when a queue gets linked to a downstream
11819 element, as queue starts a streaming task when its source pad
11820 gets linked. Happens in real life when playing back flac/musepack
11821 files in playbin (#332390).
11823 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11827 * libs/gst/base/gstadapter.h:
11828 * libs/gst/base/gstbasesink.h:
11829 * libs/gst/base/gstbasesrc.h:
11830 * libs/gst/base/gstbasetransform.h:
11831 * libs/gst/base/gstcollectpads.h:
11832 * libs/gst/base/gstpushsrc.h:
11833 Fix broken GObject macros
11835 2006-04-07 Wim Taymans <wim@fluendo.com>
11837 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11838 Initialize start and stop times, thanks valgrind.
11840 2006-04-07 Wim Taymans <wim@fluendo.com>
11842 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11843 Be a bit nicer to badly behaving upstream elements that expect
11844 us to deal with non TIME segments and timestamps (such as fakesrc
11847 2006-04-07 Wim Taymans <wim@fluendo.com>
11850 Small documentation clarification about the signal watch.
11852 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11853 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11854 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11855 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11856 (gst_base_sink_get_position_last),
11857 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11858 Convert and store timestamps in stream time and running time, the
11859 raw timestamps are not useful, also document this better.
11860 Use different window sizes for good and bad QoS observations so
11861 we react to badness a little quicker.
11862 Keep track of the amount of rendered and dropped buffers.
11863 Send QoS timestamps in running time.
11865 * libs/gst/base/gstbasetransform.c:
11866 (gst_base_transform_sink_eventfunc),
11867 (gst_base_transform_handle_buffer):
11868 Compare QoS timestamps against running time.
11870 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11873 Typo fixes in docs.
11875 2006-04-06 Michael Smith <msmith@fluendo.com>
11877 * gst/gstpad.c: (gst_pad_set_property):
11878 Use g_value_get_object() instead of g_value_dup_gst_object(),
11879 to avoid double-reffing the pad template (which we then sink,
11880 so this worked previously if (and only if) the pad template
11883 * gst/gstpadtemplate.c: (gst_pad_template_init),
11884 (gst_pad_template_pad_created):
11885 Never return floating references to pad templates, create
11886 them as initially-sunken.
11888 Document an extra function (and make this stop sinking our
11889 pad template, since that is now guaranteed to do nothing,
11890 since we created it sunken).
11892 * gst/gstghostpad.c:
11895 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11897 * gst/gstinfo.c: (__gst_in_valgrind):
11900 * plugins/elements/gsttypefindelement.c:
11901 (gst_type_find_element_chain):
11902 Don't leak buffer caps.
11904 2006-04-06 Michael Smith <msmith@fluendo.com>
11906 * gst/parse/grammar.y:
11907 Fix a leak in parse-launch for any source-or-sink named element
11910 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11911 Unref the pipeline if it exists after we've failed parsing.
11913 2006-04-05 Michael Smith <msmith@fluendo.com>
11915 * gst/gstpipeline.c: (gst_pipeline_init):
11916 When we create a pipeline bus, initially create it in flushing mode.
11917 Fixes leaks in at least one test, and makes a new pipeline work the
11918 same as one that has gone to READY and then back to NULL.
11920 * gst/gstelement.c:
11923 2006-04-05 Michael Smith <msmith@fluendo.com>
11925 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11926 Unref a pad we reffed.
11927 * tests/check/gst/gstutils.c: (GST_START_TEST):
11930 2006-04-05 Michael Smith <msmith@fluendo.com>
11932 * gst/gstquery.c: (gst_query_set_formats),
11933 (gst_query_set_formatsv):
11934 Fix leaking GValues in queries, as shown by valgrind/testsuite.
11936 2006-04-05 Michael Smith <msmith@fluendo.com>
11938 * tests/check/generic/sinks.c: (GST_START_TEST):
11939 Fix a variety of memleaks in sinks check, which are only sometimes
11940 shown by running the tests under valgrind (weird?).
11942 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
11944 * docs/version.entities.in:
11945 Fix the substituted entity name after thomas' changes on the
11948 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11950 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11953 2006-04-05 Andy Wingo <wingo@pobox.com>
11955 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11957 * libs/gst/base/gstbasetransform.c
11958 (gst_base_transform_sink_eventfunc): When resetting our segment on
11959 FLUSH_STOP, also update the flag saying we haven't seen a
11962 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11964 Patch by: Paolo Borelli <pborelli at katamail dot com>
11966 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11967 (gst_plugin_check_license):
11968 minor clean-ups: G_DEFINE_TYPE already takes care of the
11969 parent_class stuff, no need to do it twice. Mark array of
11970 license strings as constant. (#337103)
11972 2006-04-04 Michael Smith <msmith@fluendo.com>
11974 * tools/gst-inspect.c: (print_element_list):
11975 Free the right plugin list; fixes a memory leak.
11977 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11979 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11981 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11982 Don't error out on empty buffers (#336945).
11984 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
11986 * docs/libs/gstreamer-libs-sections.txt:
11987 * gst/gsttaglist.c:
11988 * libs/gst/base/gstbasesink.c:
11989 * libs/gst/base/gstbasesink.h:
11990 * libs/gst/base/gstbasesrc.c:
11991 * libs/gst/base/gstbasesrc.h:
11992 Documentation updates. Make BaseSink and BaseSrc docs contain the
11993 class structure so that people can actually see the prototypes for
11994 virtual functions they're supposed to be overriding.
11996 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11998 * plugins/elements/gsttypefindelement.c:
11999 (gst_type_find_element_chain):
12000 More debug info; when skipping typefinding, send cached
12001 events in all cases.
12003 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
12006 use new AS_VERSION and AS_NANO macros
12007 * gst/gst-i18n-lib.h:
12010 * gst/gstversion.h.in:
12011 * win32/common/config.h:
12012 * win32/common/config.h.in:
12015 2006-03-31 Michael Smith <msmith@fluendo.com>
12017 * plugins/elements/gsttypefindelement.c:
12018 (gst_type_find_element_chain):
12019 Do not typefind content if the buffers already have caps.
12020 Neccesary for icydemux (#333657), and the right thing to do anyway.
12022 2006-03-30 Wim Taymans <wim@fluendo.com>
12024 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12025 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12026 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12027 (gst_base_sink_record_qos_observation),
12028 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12029 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12030 (gst_base_sink_change_state):
12031 More QoS measurements as described in the design doc.
12032 Get rid of ringbuffer with observations, running average is
12033 more simple and equally good.
12034 Calculates valid proportion now.
12035 Added beginning of flood measurement.
12037 2006-03-29 Wim Taymans <wim@fluendo.com>
12039 * docs/design/part-qos.txt:
12041 Small documentation updates and additions.
12043 2006-03-29 Wim Taymans <wim@fluendo.com>
12045 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12046 (gst_base_src_send_event), (gst_base_src_loop),
12047 (gst_base_src_change_state):
12048 Perform the EOS logic when we reach the segment stop position.
12049 Fix compilation on gcc4.1
12051 2006-03-29 Wim Taymans <wim@fluendo.com>
12053 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12055 * plugins/elements/gstqueue.c: (gst_queue_init),
12056 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12057 (gst_queue_set_property):
12058 * plugins/elements/gstqueue.h:
12059 In queue, when EOS is received, if minimum threshold > max_size -
12060 current_level, there is chance that queue blocks forever in conditional
12061 item del wait. This is because the queue is not emptied completely due
12062 to minimum threshold. Here is another approach. Instead of setting
12063 cur_levels to max in EOS, just zero all minimum threshold levels. This
12064 should make sure that queue gives out all data. When going to READY
12065 (stop) state, just reset the original minimum threshold levels.
12068 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
12070 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12071 (gst_type_find_element_handle_event),
12072 (gst_type_find_element_send_cached_events),
12073 (gst_type_find_element_change_state):
12074 * plugins/elements/gsttypefindelement.h:
12075 When typefinding is done in push mode, we should cache
12076 events we receive during typefinding instead of just
12077 dropping them (e.g. newsegment, custom events from
12078 dvdreadsrc etc.) and then send them out once we've
12079 determined the type of the stream (and decodebin
12080 has had a chance to plug in a decoder/demuxer).
12082 2006-03-27 Wim Taymans <wim@fluendo.com>
12084 * docs/design/part-qos.txt:
12087 2006-03-27 Wim Taymans <wim@fluendo.com>
12089 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12091 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12092 (gst_base_src_send_event), (gst_base_src_change_state):
12093 Handle element seek correctly when we are streaming.
12096 2006-03-24 Michael Smith <msmith@fluendo.com>
12098 * docs/faq/gst-uninstalled:
12099 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12100 allow you to correctly run intalled applications built against old
12101 core, using plugins that require updated core (e.g. running
12102 installed totem against a full uninstalled gstreamer stack)
12104 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12106 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12109 2006-03-24 Wim Taymans <wim@fluendo.com>
12111 * docs/gst/gstreamer-sections.txt:
12112 Rearrange the order of the methods so that related methods
12113 are grouped together in sections.
12115 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12117 * gst/gstelement.c:
12118 Little clarification in the docs
12120 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12124 * plugins/elements/gstidentity.c:
12125 * plugins/elements/gstqueue.c:
12126 * plugins/elements/gsttee.c:
12127 * plugins/elements/gsttypefindelement.c:
12128 GST_ELEMENT_DETAILS formatting
12130 2006-03-24 Wim Taymans <wim@fluendo.com>
12132 * libs/gst/base/gstbasesink.h:
12133 Only add fields, not insert or we break ABI.
12135 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12137 * win32/common/libgstbase.def:
12138 * win32/common/libgstreamer.def:
12139 Update, add recently added functions.
12141 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12143 * docs/gst/gstreamer-sections.txt:
12144 * gst/gstutils.c: (gst_pad_query_peer_position),
12145 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12147 API: add some new utility functions:
12148 - gst_pad_query_peer_position()
12149 - gst_pad_query_peer_duration()
12150 - gst_pad_query_peer_convert()
12152 2006-03-23 Wim Taymans <wim@fluendo.com>
12154 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12155 (gst_base_sink_init), (gst_base_sink_finalize),
12156 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12157 (gst_base_sink_set_property), (gst_base_sink_get_property),
12158 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12159 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12160 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12161 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12162 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12163 (gst_base_sink_preroll_object), (gst_base_sink_event),
12164 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12165 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12166 (gst_base_sink_query), (gst_base_sink_change_state):
12167 Decouple max-lateness and the fact that QoS messages are generated
12168 with a new property (qos).
12169 added API: GstBaseSink::async_play()
12170 Add vmethod so subclasses can be notified of ASYNC playing
12172 Collect timestamp start and stop to report better current
12173 position in EOS/PLAYING/PAUSED/READY/NULL.
12174 Refactor QoS/frame dropping and other measurements.
12175 API: GstBaseSrc::qos
12178 * libs/gst/base/gstbasesink.h:
12179 Added Private struct.
12180 API: gst_base_sink_set_qos_enabled()
12181 API: gst_base_sink_is_qos_enabled()
12183 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12185 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12186 If compiling against GLib-2.8 or newer, try to read the
12187 registry file using GMappedFile first before falling back
12188 to fopen() + fread() (#332151).
12190 2006-03-22 Wim Taymans <wim@fluendo.com>
12192 * gst/gstinfo.c: (gst_debug_set_active),
12193 (gst_debug_category_set_threshold):
12194 Disable debugging unless explicitly activated.
12197 2006-03-22 Wim Taymans <wim@fluendo.com>
12199 * gst/gstelement.c: (gst_element_set_locked_state),
12200 (gst_element_dispose):
12201 Cleanup the error case.
12203 * gst/gstobject.c: (gst_object_dispose):
12204 print a critical when some object was disposed with
12205 a parent, also revive the object since it might
12208 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12210 * tools/gst-launch.1.in:
12213 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12216 * tests/check/Makefile.am:
12217 disable some tests when we don't have a registry
12218 * tests/check/gst/gstutils.c: (gst_utils_suite):
12219 don't build the part that needs parsing
12221 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12224 * tests/examples/Makefile.am:
12225 fix --disable-parse build
12227 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12229 * tools/gst-feedback.1.in:
12230 Fix typo: s/feeback/feedback/ (#133494).
12232 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12234 * tools/Makefile.am:
12235 * tools/gst-launch.1.in:
12236 Add FILES section and correct entry about GST_REGISTRY_PATH
12237 environment variable (#133495; #133494).
12239 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12241 * tools/Makefile.am:
12242 * tools/gst-md5sum.1.in:
12243 * tools/gst-md5sum.c:
12244 Remove gst-md5sum and man page (the md5sink element
12245 required was removed ages ago)
12247 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12249 * gst/gststructure.c: (gst_structure_id_set_value):
12250 Make sure that string fields in structures/taglists
12251 contain valid UTF-8 - we don't want to pass rubbish to
12252 applications because of a buggy plugin (cp. #334167).
12254 2006-03-21 Edward Hervey <edward@fluendo.com>
12256 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12257 (gst_bin_handle_message_func):
12258 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12259 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12260 (gst_element_set_bus_func):
12261 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12262 * gst/gstminiobject.c: (gst_value_set_mini_object),
12263 (gst_value_take_mini_object):
12264 * gst/gstpad.c: (gst_pad_set_pad_template):
12265 * gst/gstpipeline.c: (gst_pipeline_dispose),
12266 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12267 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12268 (gst_collect_pads_chain):
12269 * libs/gst/net/gstnettimeprovider.c:
12270 (gst_net_time_provider_set_property):
12271 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12272 It's in fact all issues with gst_*object_replace().
12274 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12276 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12278 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12279 * pkgconfig/gstreamer-check.pc.in:
12280 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12282 2006-03-21 Edward Hervey <edward@fluendo.com>
12286 * gst/gstmessage.h:
12287 gst_[buffer|event|message]_ref() macros are replaced by a static
12288 inline functions because gcc-4.1 will about if the return value
12290 * tests/check/gst/gstevent.c: (event_probe):
12291 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12293 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12296 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12297 the type' case. (Closes: #335195 for now). In the future, when we
12298 depend on GLib 2.10, we could also intern the type name using
12299 g_intern_static_string()
12301 2006-03-20 Wim Taymans <wim@fluendo.com>
12303 * gst/gstbin.c: (gst_bin_handle_message_func),
12304 (bin_query_max_init), (bin_query_position_fold),
12305 (bin_query_position_done), (gst_bin_query):
12306 Position query should also take max of all streams.
12308 2006-03-20 Wim Taymans <wim@fluendo.com>
12310 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12311 (gst_fake_src_finalize):
12312 Fix leaks in fakesrc.
12314 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12315 Fix leaks in the testcase.
12317 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12319 * gst/gst_private.h:
12320 add win32 specific import decoration(__declspec(dllimport))
12321 for all extern GstDebugCategory * variables
12322 * win32/common/libgstbase.def:
12323 * win32/common/libgstcontroller.def:
12324 * win32/common/libgstreamer.def:
12325 Add some exports, remove empty lines
12326 * win32/common/libgstdataprotocol.def:
12327 * win32/common/libgstdataprotocol.dsp:
12328 * win32/common/libgstnet.def:
12329 * win32/common/libgstnet.dsp:
12330 new project files and exportation files added
12332 2006-03-19 Wim Taymans <wim@fluendo.com>
12334 * tests/check/libs/basesrc.c: (eos_event_counter):
12335 Use proper return value for probe.
12337 2006-03-17 Wim Taymans <wim@fluendo.com>
12339 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12341 Don't leak buffers, caps and pads on negotiation errors.
12343 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12345 * docs/faq/cvs.xml:
12346 * docs/faq/dependencies.xml:
12347 * docs/faq/developing.xml:
12348 * docs/faq/faq.xml:
12349 * docs/faq/general.xml:
12350 * docs/faq/getting.xml:
12351 * docs/faq/legal.xml:
12352 * docs/faq/troubleshooting.xml:
12353 * docs/faq/using.xml:
12354 Faq review and update.
12356 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12358 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12360 Don't pound the cpu to pieces by checking get_caps when accept_caps
12361 is called with the same caps as the pad already has.
12362 Use GST_DEBUG_OBJECT when outputting caps change information.
12364 2006-03-15 Wim Taymans <wim@fluendo.com>
12366 * gst/gstclock.c: (gst_clock_class_init):
12369 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12374 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12375 (gst_pad_accept_caps), (gst_pad_configure_sink),
12376 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12377 Make the default acceptcaps behaviour be to check the requested
12378 caps against the gst_pad_get_caps output.
12380 Ensure that gst_pad_accept_caps is used to check caps when a pad
12381 doesn't have a setcaps function, so that pads automatically refuse
12382 caps that they don't allow in their pad template. (Fixes #332986)
12384 When a buffer with attached caps is pushed, ensure that the source
12385 pad receives those caps even if the element didn't call
12386 gst_pad_set_caps first.
12388 2006-03-15 Wim Taymans <wim@fluendo.com>
12390 * libs/gst/base/gstadapter.c:
12393 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12395 * win32/common/libgstbase.def:
12396 * win32/common/libgstcontroller.def:
12397 * win32/common/libgstreamer.def:
12398 Add a whole bunch of missing functions (#334434).
12400 2006-03-14 Wim Taymans <wim@fluendo.com>
12402 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12403 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12404 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12405 Better debug info when we receive a segment event.
12406 Reorganize a bit so we can pass the get_times() results around.
12407 Use the segment format when calculating the running time.
12408 Don't do QoS is sync is disabled or we have no clock or the
12409 element does not want us to sync to the clock.
12410 Don't drop buffers if QoS is disabled for now.
12412 2006-03-14 Wim Taymans <wim@fluendo.com>
12414 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12415 Marked the stats property as unimplemented so people don't get
12417 Add debug message when regression goes wrong.
12418 Added some more docs.
12420 2006-03-14 Wim Taymans <wim@fluendo.com>
12422 * gst/gstsegment.c: (gst_segment_to_stream_time):
12423 Return correct return type in case of errors.
12425 2006-03-14 Wim Taymans <wim@fluendo.com>
12427 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12428 Don't segfault on invalid formats.
12430 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12432 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12433 Can't use gst_segment_to_running_time() when the segment
12434 is not in GST_TIME_FORMAT (like with filesink, for example).
12435 Stops flac encoding pipelines from spewing critical warnings
12438 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12440 * gst/gstpipeline.c: (gst_pipeline_class_init):
12441 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12443 * plugins/elements/gsttypefindelement.c:
12444 (gst_type_find_element_handle_event):
12445 Don't try to typefind empty streams.
12447 2006-03-14 Wim Taymans <wim@fluendo.com>
12449 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12450 (gst_base_sink_do_qos):
12451 Separate QoS calculation.
12452 Only drop buffers when lateness is bigger than the
12453 duration of the buffer.
12455 2006-03-13 Wim Taymans <wim@fluendo.com>
12457 * gst/gstpipeline.c: (gst_pipeline_set_property),
12458 (gst_pipeline_get_property), (do_pipeline_seek),
12459 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12460 (gst_pipeline_get_delay):
12461 Don't deadlock when reading properties.
12463 2006-03-13 Wim Taymans <wim@fluendo.com>
12465 * libs/gst/base/gstbasetransform.c:
12466 (gst_base_transform_class_init), (gst_base_transform_init),
12467 (gst_base_transform_sink_event),
12468 (gst_base_transform_sink_eventfunc),
12469 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12470 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12471 (gst_base_transform_set_property),
12472 (gst_base_transform_get_property),
12473 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12474 (gst_base_transform_set_qos_enabled),
12475 (gst_base_transform_is_qos_enabled):
12476 * libs/gst/base/gstbasetransform.h:
12477 Make basetransform virtual method for src events too.
12478 Handle QOS in basetransform.
12479 API: gst_base_transform_update_qos()
12480 API: gst_base_transform_set_qos_enabled()
12481 API: gst_base_transform_is_qos_enabled()
12483 2006-03-13 Wim Taymans <wim@fluendo.com>
12485 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12486 (gst_base_sink_do_sync):
12488 Use QOS debug category.
12490 2006-03-13 Wim Taymans <wim@fluendo.com>
12492 * plugins/elements/gstqueue.c:
12493 Very small doc update.
12495 2006-03-13 Wim Taymans <wim@fluendo.com>
12497 * gst/gst_private.h:
12498 * gst/gstinfo.c: (_gst_debug_init):
12499 Added QOS debug category
12501 2006-03-13 Wim Taymans <wim@fluendo.com>
12503 * docs/gst/gstreamer-sections.txt:
12504 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12506 * gst/gstbus.c: (gst_bus_class_init):
12509 * gst/gstelement.c: (gst_element_set_locked_state):
12510 * gst/gstsegment.c:
12511 Documentation updates.
12513 * gst/gstpipeline.c: (gst_pipeline_get_type),
12514 (gst_pipeline_class_init), (gst_pipeline_init),
12515 (gst_pipeline_dispose), (gst_pipeline_set_property),
12516 (gst_pipeline_get_property), (do_pipeline_seek),
12517 (gst_pipeline_send_event), (gst_pipeline_change_state),
12518 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12519 (gst_pipeline_get_delay):
12520 * gst/gstpipeline.h:
12521 Added methods for setting the delay.
12522 API: gst_pipeline_set_delay()
12523 API: gst_pipeline_get_delay()
12524 Add pipeline debug category
12527 Don't reset stream time when seek failed.
12529 2006-03-13 Wim Taymans <wim@fluendo.com>
12531 * docs/design/draft-klass.txt:
12532 * docs/design/part-clocks.txt:
12533 * docs/design/part-events.txt:
12534 * docs/design/part-gstbin.txt:
12535 * docs/design/part-gstpipeline.txt:
12536 * docs/design/part-messages.txt:
12537 * docs/design/part-negotiation.txt:
12538 * docs/design/part-overview.txt:
12539 * docs/design/part-preroll.txt:
12540 * docs/design/part-seeking.txt:
12541 * docs/design/part-states.txt:
12542 * docs/design/part-streams.txt:
12543 Documentation updates.
12545 2006-03-12 Julien MOUTTE <julien@moutte.net>
12547 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12548 us to leak strings...
12550 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
12552 * libs/gst/net/gstnettimeprovider.c:
12554 * win32/common/config.h:
12557 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
12559 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12562 Don't check for libgnomeui (leftover from old examples
12563 that aren't built or disted any longer) (#334303).
12565 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
12567 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12568 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12569 Emit RESOURCE_NO_SPACE_LEFT error here as well when
12570 there's no space left on the device.
12572 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
12575 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12576 to cast the input to GstClockTime before comparing with
12577 another GstClockTime value.
12579 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12584 === release 0.10.4 ===
12586 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
12589 releasing 0.10.4, "Light"
12591 2006-03-10 Michael Smith <msmith@fluendo.com>
12593 * libs/gst/dataprotocol/dataprotocol.c:
12594 Fix docs for dataprocotol to not get the return types completely
12595 wrong for a few functions.
12597 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12599 * docs/gst/gstreamer-sections.txt:
12600 * gst/gstpipeline.c: (gst_pipeline_class_init),
12601 (gst_pipeline_init), (gst_pipeline_set_property),
12602 (gst_pipeline_get_property), (gst_pipeline_change_state),
12603 (gst_pipeline_set_auto_flush_bus),
12604 (gst_pipeline_get_auto_flush_bus):
12605 * gst/gstpipeline.h:
12606 Add new API: gst_pipeline_set_auto_flush_bus() and
12607 gst_pipeline_get_auto_flush_bus() to disable automatic
12608 flushing of the pipeline's GstBus when going from READY
12609 to NULL state (#332045).
12611 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12613 * docs/gst/gstreamer-sections.txt:
12614 * gst/gsturi.c: (gst_uri_has_protocol):
12616 Add new API: gst_uri_has_protocol() (#333779).
12618 2006-03-09 Wim Taymans <wim@fluendo.com>
12620 * gst/gstclock.c: (gst_clock_entry_new),
12621 (gst_clock_id_compare_func), (gst_clock_id_wait),
12622 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12623 (gst_clock_init), (gst_clock_get_internal_time),
12624 (gst_clock_set_master), (do_linear_regression),
12625 (gst_clock_add_observation), (gst_clock_set_property):
12629 Fix a possible segfault when the window-size is made smaller.
12630 Calculate jitter before performing the clock wait. Ideally
12631 the clock implementation should calculate jitter but we need
12632 API breakage for that.
12634 * gst/gstsystemclock.c: (gst_system_clock_init):
12637 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12638 Remove leftover else
12640 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12641 (gst_systemclock_suite):
12642 Added check to test GST_CLOCK_DIFF.
12644 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
12646 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12647 (gst_type_find_helper_get_range):
12648 If we are provided with the size, we should implement
12649 GstTypeFind::get_length, so that typefind functions who
12650 want to can actually peek at the middle of a file.
12652 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
12654 * docs/manual/advanced-dataaccess.xml:
12655 Add some very very basic error checking.
12657 * docs/pwg/appendix-checklist.xml:
12658 Some updates to the list of things to check when writing an element.
12660 2006-03-08 Wim Taymans <wim@fluendo.com>
12662 * docs/design/part-element-transform.txt:
12663 Added some docs about the design of tranform elements.
12665 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12666 (gst_base_src_loop), (gst_base_src_change_state):
12667 Mark buffers with the DISCONT flag.
12669 2006-03-08 Michael Smith <msmith@fluendo.com>
12671 * gst/gstregistry.h:
12672 * gst/gstregistryxml.c: (gst_registry_save),
12673 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12674 (gst_registry_xml_save_pad_template),
12675 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12676 (gst_registry_xml_write_cache):
12677 Rewrite registry-saving to avoid race conditions and check for
12680 2006-03-08 Wim Taymans <wim@fluendo.com>
12682 * libs/gst/base/gstbasetransform.c:
12683 (gst_base_transform_transform_caps),
12684 (gst_base_transform_transform_size),
12685 (gst_base_transform_prepare_output_buffer),
12686 (gst_base_transform_get_unit_size),
12687 (gst_base_transform_buffer_alloc),
12688 (gst_base_transform_handle_buffer),
12689 (gst_base_transform_change_state):
12690 Cleanups, separate normal flow from errors, add sensible
12692 Don't try to renegotiate when allocating an output buffer.
12693 Also copy DISCONT buffer flag when copying a buffer.
12694 Reset the transform after we finish streaming, not during.
12696 2006-03-08 Wim Taymans <wim@fluendo.com>
12698 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12699 Use last buffer timestamp in qos message.
12701 2006-03-07 Wim Taymans <wim@fluendo.com>
12703 Patch by: Christophe Fergeau
12705 * docs/pwg/advanced-tagging.xml:
12706 * docs/pwg/building-pads.xml:
12709 2006-03-07 Wim Taymans <wim@fluendo.com>
12711 * docs/libs/gstreamer-libs-sections.txt:
12712 Added basesink new methods.
12716 Docs updates. Flesh out the QoS docs.
12718 * libs/gst/base/gstadapter.c:
12719 Small doc clarification about ownership and flushing.
12721 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12722 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12723 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12724 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12725 * libs/gst/base/gstbasesink.h:
12727 Added new methods to allow subclass to control max-lateness
12729 Generate very basic QoS events based on last sync observation.
12730 Updated docs, fix typo, added some QoS blurb.
12732 * libs/gst/base/gstbasesrc.c:
12733 Remove obsolete _get_state() calls from docs.
12735 2006-03-07 Wim Taymans <wim@fluendo.com>
12737 * docs/libs/gstreamer-libs-sections.txt:
12738 * libs/gst/base/gstbasetransform.h:
12739 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12740 Fix docs for GstBaseSrc.
12742 2006-03-07 Wim Taymans <wim@fluendo.com>
12744 * docs/gst/gstreamer-sections.txt:
12747 * libs/gst/base/gstbasetransform.h:
12748 Small documentation fixes.
12750 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12753 Document thread-unsafety of gst_value_register_foo_func()
12754 when used at the same time as gst_value_foo() (#322628).
12756 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
12758 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12759 (gst_push_src_check_get_range):
12760 Push sources don't support pull mode by default.
12762 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12764 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12765 (gst_base_src_init), (gst_base_src_pad_check_get_range),
12766 (gst_base_src_default_check_get_range):
12767 * libs/gst/base/gstbasesrc.h:
12768 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12769 provide default implementation, and rename
12770 gst_base_src_check_get_range() to
12771 gst_base_src_pad_check_get_range() for clarity.
12773 2006-03-06 Wim Taymans <wim@fluendo.com>
12775 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12776 Make property overridable.
12778 2006-03-06 Wim Taymans <wim@fluendo.com>
12780 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12781 (gst_base_sink_init), (gst_base_sink_set_property),
12782 (gst_base_sink_get_property), (gst_base_sink_do_sync):
12783 * libs/gst/base/gstbasesink.h:
12784 API addition: Make max-lateness a property.
12786 2006-03-06 Wim Taymans <wim@fluendo.com>
12788 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12789 (gst_base_sink_do_sync), (gst_base_sink_render_object):
12790 Don't ever draw a frame that is >10ms late.
12792 2006-03-06 Michael Smith <msmith@fluendo.com>
12794 * gst/gstmessage.c: (_gst_message_copy):
12795 When copying a message, set the parent_refcount of the enclosed
12796 structure to point at the copy, not the original message.
12798 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
12800 Patch by: Christophe Fergeau
12803 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12804 usable in c++ code (#333417)
12806 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
12809 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12811 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
12813 * libs/gst/base/gstbasetransform.c:
12814 (gst_base_transform_transform_caps):
12815 Make sure caps are writable before passing them to
12818 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12821 Fix some minor docs errors.
12823 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
12825 Patch by: Ross Burton <ross at burtonini dot com>
12827 * gst/gsterror.c: (_gst_resource_errors_init):
12829 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12831 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12834 Add a check and output a g_warning when GStreamer is built
12835 against GLib 2.6 but running against 2.8 or higher, and vice
12836 versa. (Closes: #323542)
12838 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12840 * gst/parse/parse.l:
12841 Commit patch for parse_launch syntax from #331255. Removes
12842 support for quoted strings and mimetypes when writing filtered
12843 caps. See the bug report for more details - I'm pretty sure this
12844 obscure feature is not in use by _anyone_ anywhere.
12846 With this simple change, the size of the gstreamer.so here
12847 drops from 2193KB to 1565KB.
12849 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12851 * plugins/elements/gsttypefindelement.h:
12852 * plugins/elements/gsttypefindelement.c:
12853 (gst_type_find_element_src_event), (start_typefinding),
12854 (stop_typefinding), (gst_type_find_element_handle_event),
12855 (gst_type_find_element_chain),
12856 (gst_type_find_element_chain_do_typefinding):
12857 Use gst_type_find_helper_for_buffer() for chain-based
12860 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12862 * plugins/elements/gsttypefindelement.c:
12863 (gst_type_find_element_class_init),
12864 (gst_type_find_element_set_property),
12865 (gst_type_find_element_get_property):
12866 Deprecate "maximum" property (not only was it only taken into
12867 account for typefinding in push-mode anyway, it also was never
12868 actually possible to set it in the first place because the
12869 property was registered with the numeric property ID for the
12870 "minimum" property). Register "maximum" property correctly,
12871 for the sake of future copy'n'pasters. Remove some cruft
12872 from property get/set functions.
12874 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12876 * plugins/elements/gsttypefindelement.c:
12877 (gst_type_find_element_activate):
12878 Use gst_type_find_helper_get_range() here, so we
12879 can honour the "minimum" property and also emit
12880 the signal with the correct probability of the found caps.
12882 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
12884 * docs/libs/gstreamer-libs-sections.txt:
12885 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12886 (helper_find_suggest), (gst_type_find_helper_get_range),
12887 (gst_type_find_helper):
12888 * libs/gst/base/gsttypefindhelper.h:
12889 New API: gst_type_find_helper_get_range() (#333042).
12891 2006-03-02 Michael Smith <msmith@fluendo.com>
12893 * gst/gstregistryxml.c: (load_feature):
12894 Asserting on a failure to read part of the registry is Not Cool.
12895 Just log a warning and return NULL (which is already handled)
12897 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
12899 * win32/common/libgstbase.def:
12900 added export of gst_type_find_helper_for_buffer
12901 * win32/common/libgstbase.def:
12902 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12903 gst_ghost_pad_get_target
12905 2006-02-28 Wim Taymans <wim@fluendo.com>
12907 * docs/design/draft-klass.txt:
12909 Added Connector to mark elements that are only used to
12910 allow pipeline connections.
12911 Moved Debug to extra feature since most of them are
12912 functionally something else.
12914 2006-02-28 Wim Taymans <wim@fluendo.com>
12916 * docs/design/draft-klass.txt:
12917 Some updates and clarifications.
12919 2006-02-28 Wim Taymans <wim@fluendo.com>
12921 * docs/design/draft-klass.txt:
12922 Proposal for klass field values.
12924 * docs/design/part-streams.txt:
12925 Start of a doc describing stream anatomy.
12927 2006-02-28 Wim Taymans <wim@fluendo.com>
12929 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12930 Help the compiler a bit with type registration.
12931 Use existing forward cod path instead of duplicating it when
12932 handling a message.
12934 * gst/gstbus.c: (gst_bus_get_type):
12935 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12936 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12937 * gst/gstclock.c: (gst_clock_get_type):
12938 * gst/gstelement.c: (gst_element_get_type),
12939 * gst/gstelementfactory.c: (gst_element_factory_get_type):
12940 * gst/gstindexfactory.c: (gst_index_factory_get_type):
12941 * gst/gstminiobject.c: (gst_mini_object_get_type):
12942 * gst/gstpad.c: (gst_pad_get_type):
12943 * gst/gstsegment.c: (gst_segment_get_type):
12944 * gst/gststructure.c: (gst_structure_get_type):
12945 * gst/gstsystemclock.c: (gst_system_clock_get_type):
12946 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12948 Help compiler with type registration.
12950 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12953 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12955 * plugins/elements/gsttypefindelement.c:
12956 (gst_type_find_element_handle_event):
12957 When we get an EOS event and have not found a type yet
12958 (most likely because we had not yet accumulated
12959 TYPE_FIND_MIN_SIZE of data yet), try to determine the
12960 type given the data we have so far. Fixes typefinding
12961 for very short streams again, most notably quicktime
12962 redirections as used on Apple's trailer site (#331701).
12964 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12966 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12967 (gst_type_find_helper):
12968 Try typefinding factories with the highest rank first.
12970 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12972 * docs/libs/gstreamer-libs-docs.sgml:
12973 * docs/libs/gstreamer-libs-sections.txt:
12974 * libs/gst/base/gsttypefindhelper.c:
12975 Add section for typefind helper and add documentation
12976 for the old and the new function.
12978 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12980 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12981 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12982 (gst_type_find_helper_for_buffer):
12983 * libs/gst/base/gsttypefindhelper.h:
12984 New API: gst_type_find_helper_for_buffer() (#332723).
12986 2006-02-27 Michael Smith <msmith@fluendo.com>
12988 Patch by: Loïc Minier
12991 * docs/Makefile.am:
12992 * docs/slides/Makefile.am:
12993 prevent CVS directories getting disted.
12995 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12997 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12998 Use the REFCOUNTING category for caps refcounting.
13000 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13002 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13003 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13005 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13007 * plugins/elements/gsttypefindelement.c:
13008 (gst_type_find_element_activate):
13009 Use gst_pad_check_pull_range() before _activate_pull()
13010 to avoid unnecessary open/close (see #331690).
13012 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13015 Docs enhancement: make it crystal clear what the
13016 gst_pad_add_*_probe() callbacks should look like.
13018 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13020 * libs/gst/base/gstbasesrc.c:
13021 Document how applications can stop recording from
13022 live sources (see #330996).
13024 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13026 * tests/check/Makefile.am:
13027 * tests/check/libs/basesrc.c: (eos_event_counter),
13028 (basesrc_eos_events_pull), (basesrc_eos_events_push),
13029 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13030 (gst_basesrc_suite), (main):
13031 ... and add some tests for the base source EOS stuff.
13033 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13035 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13036 Test case originally showed the problem fixed below,
13037 but was then amended. Add checks back at the place
13038 where they used to be.
13040 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13042 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13043 (gst_base_src_init), (gst_base_src_loop),
13044 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13045 (gst_base_src_change_state):
13046 * libs/gst/base/gstbasesrc.h:
13047 Don't unconditionally send EOS when going from PAUSED to
13048 READY state, esp. make sure we don't send two EOS events
13049 in some cases (e.g. one when reaching EOS and one when
13050 going from PAUSED to READY). Also, we don't want to send
13051 EOS events when operating in pull mode. However, we do
13052 want to send an EOS event when shutting down a live
13053 source explicitly, for example (fixes #330996).
13055 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13057 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13058 Update src->read_position after a seek when not using mmap.
13059 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13061 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
13067 Make things work with --disable-parse as they do with
13068 --disable-load-save - the symbols involved disappear, but the
13069 header is still installed and GST_DISABLE_PARSE is included via
13072 2006-02-20 Julien MOUTTE <julien@moutte.net>
13074 * libs/gst/base/gstbasetransform.c:
13075 (gst_base_transform_change_state): Fix a stupid bug. I was
13076 sure I compiled that.
13078 2006-02-20 Julien MOUTTE <julien@moutte.net>
13080 * gst/gstpad.c: (gst_pad_set_blocked_async):
13081 * gst/gstutils.c: (gst_pad_add_data_probe),
13082 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13083 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13084 (gst_pad_remove_buffer_probe): Make those function act on the
13085 ghostpad target when it's a ghostpad. (Closes #331727)
13087 2006-02-20 Julien MOUTTE <julien@moutte.net>
13089 * libs/gst/base/gstbasetransform.c:
13090 (gst_base_transform_change_state): Make basetransform reusable.
13093 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
13095 * docs/random/release:
13096 Move the current documentation of how to do a release to the top
13099 * gst/gstbin.c: (gst_bin_class_init),
13100 (gst_bin_handle_message_func):
13101 Allow multiple state-recalculation threads. (Closes #328873)
13103 2006-02-19 Julien MOUTTE <julien@moutte.net>
13105 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13106 * gst/gstpad.c: (gst_pad_set_event_function),
13107 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13108 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13109 2 strings. You can't use the STR_NULL macro on that.
13111 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
13113 * gst/gstpad.c: (gst_pad_set_event_function),
13114 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13115 (gst_pad_set_getcaps_function)
13116 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13117 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13118 So now, we can use --gst-debug-level=5 on Windows
13119 * win32/common/libgstcontroller.def:
13120 Added export of gst_controller_init
13121 * win32/vs6/libgstcontroller.dsp:
13122 Fixed Release post build configuration
13124 2006-02-17 Wim Taymans <wim@fluendo.com>
13126 * tests/check/gst/gstquery.c: (GST_START_TEST):
13127 Added another check.
13129 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
13131 * plugins/elements/gsttypefindelement.c: (find_peek):
13132 We can do peeks at non-zero offsets, as long as they
13133 fall within the buffer we have.
13135 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
13137 * tests/check/Makefile.am:
13138 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13139 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13140 (parse_suite), (main):
13141 Add testsuite for parse launch syntax
13143 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
13145 * plugins/elements/gsttypefindelement.c:
13146 (gst_type_find_element_chain):
13147 When typefinding is unsuccessful in the chain function, don't
13148 error out immediately. Only error out with NO_CAPS_FOUND if
13149 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13150 otherwise simply wait for more data so we can try typefinding
13151 again with more data later. Also, don't attempt to typefind
13152 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13153 this should improve typefinding from network sources where the
13154 size of the first buffer can be somewhat random.
13156 2006-02-14 Wim Taymans <wim@fluendo.com>
13158 * docs/gst/gstreamer-sections.txt:
13159 * gst/gstpadtemplate.c:
13160 * gst/gstpadtemplate.h:
13161 Fix padtemplate docs, fixes #328805.
13163 2006-02-14 Wim Taymans <wim@fluendo.com>
13165 * tools/gst-launch.c: (main):
13166 NO_PREROLL is not an ERROR so don't send confusing messages
13169 2006-02-14 Wim Taymans <wim@fluendo.com>
13171 Patch by: Torsten Schoenfeld
13173 * gst/gstregistry.c: (gst_registry_get_default),
13174 (_gst_registry_cleanup):
13175 Protect default registry with lock and ref/sink it.
13178 2006-02-14 Wim Taymans <wim@fluendo.com>
13181 * gst/gstquery.c: (gst_query_list_add_format),
13182 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13183 (gst_query_parse_formats_nth):
13184 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13187 2006-02-14 Wim Taymans <wim@fluendo.com>
13189 * docs/gst/gstreamer-sections.txt:
13190 Reworked query docs.
13192 * gst/gstquery.c: (gst_query_new_formats),
13193 (gst_query_list_add_format), (gst_query_set_formats),
13194 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13195 (gst_query_parse_formats_nth):
13197 Flesh out formats query, added some new methods.
13198 Fix part of #324398.
13200 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13201 Added query creation tests.
13203 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13205 * gst/gstpad.c: (fixate_value):
13206 Add a default fixation for fraction lists.
13208 2006-02-13 Wim Taymans <wim@fluendo.com>
13210 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13211 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13214 Detect and warn for obvious deadlocks. fixes #320340
13215 Fix error case where lock was not released.
13217 * tests/check/Makefile.am:
13218 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13219 (task_func), (gst_element_suite), (main):
13222 2006-02-13 Wim Taymans <wim@fluendo.com>
13224 * docs/gst/gstreamer-sections.txt:
13226 Add new functions to docs.
13228 2006-02-13 Wim Taymans <wim@fluendo.com>
13230 * docs/design/part-TODO.txt:
13231 Updated TODO list, basesrc supports seeking to non-bytes
13234 * docs/design/part-element-sink.txt:
13237 * gst/gstbin.c: (bin_replace_message),
13238 (gst_bin_handle_message_func):
13239 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13240 * gst/gstevent.c: (gst_event_finalize):
13241 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13242 (gst_pad_send_event):
13243 Use shiny new _TYPE_NAME macros.
13245 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13246 Move debug statement up.
13248 * gst/gstelement.c: (gst_element_set_locked_state):
13249 Add some debugging.
13251 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13253 * docs/gst/gstreamer-sections.txt:
13254 * gst/gstmessage.h:
13256 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13257 macros (#330906). Also, document the already existing
13258 GST_QUERY_TYPE macro.
13260 2006-02-13 Wim Taymans <wim@fluendo.com>
13262 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13263 (event_probe), (GST_START_TEST):
13264 Only events up to the pipeline EOS are counted, there are
13265 some more when going to NULL currently which we don't care
13268 2006-02-13 Wim Taymans <wim@fluendo.com>
13270 * gst/gstpad.c: (gst_pad_send_event):
13271 Correctly check flushing and emit probes. fixes #330125
13273 2006-02-10 Andy Wingo <wingo@pobox.com>
13275 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13277 (gst_bus_init): Cache the location of the private data in the
13278 instance structure.
13279 (gst_bus_enable_sync_message_emission)
13280 (gst_bus_disable_sync_message_emission): Implement new public
13282 (gst_bus_post): Emit the sync-message signal if the user asked for
13285 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13286 location of the bus-private structure.
13287 (gst_bus_enable_sync_message_emission)
13288 (gst_bus_disable_sync_message_emission): API addition
13290 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13292 Patch by: Vincent Torri
13294 * docs/pwg/building-boiler.xml:
13295 PWG patch from #326800
13297 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13300 * docs/Makefile.am:
13301 * docs/design/Makefile.am:
13304 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13309 === release 0.10.3 ===
13311 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13314 releasing 0.10.3, "Like a virgin"
13316 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13319 2nd prerelease of 0.10.3
13320 Bump libtool versioning.
13322 2006-02-07 Andy Wingo <wingo@pobox.com>
13324 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13325 update last_stop if we're in TIME format and the timestamp is
13328 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13329 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13330 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13331 If we get a new newsegment with a different format, adapt
13334 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13335 of 0. Not a problem, really.
13337 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13340 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13345 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13348 project files updated to the default vs7 configuration
13349 * win32/common/libgstbase.def:
13350 * win32/common/libgstreamer.def:
13352 removed empty lines,
13353 sorted all exported symbols alphabetically
13354 * win32/common/dirent.c:
13355 * win32/common/dirent.h:
13356 * win32/common/gchar.h:
13357 use windows line end.
13359 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13361 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13362 Send EOS event when stopping.
13364 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13367 Tell folks what to do if the plugin-foobar.xml file
13368 hasn't been generated for a newly-added plugin.
13370 2006-02-05 Julien MOUTTE <julien@moutte.net>
13372 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13373 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13374 (gst_collect_pads_start), (gst_collect_pads_stop),
13375 (gst_collect_pads_event): Collectpads now holds a reference
13376 to the GstPad that was added. Indeed we don't want to look
13377 at pads that might just go away with no warning...
13379 2006-02-05 Julien MOUTTE <julien@moutte.net>
13381 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13382 (gst_collect_pads_start), (gst_collect_pads_stop),
13383 (gst_collect_pads_event), (gst_collect_pads_chain):
13384 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13385 Mark Nauwelaerts's patch on bug #328491.
13387 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13389 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13391 Add some simple tests for gst_parse_bin_from_description() and
13392 gst_bin_find_unconnected_pad() (#329069).
13394 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13396 * tools/gst-launch.c: (event_loop), (main):
13397 Catch errors during preroll (#320084).
13399 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13401 * plugins/elements/gsttypefindelement.c:
13402 (gst_type_find_element_activate):
13403 Post TYPE_NOT_FOUND error message when typefinding
13404 is unsuccessful in the activate function as well.
13406 2006-02-02 Wim Taymans <wim@fluendo.com>
13408 * docs/design/part-element-sink.txt:
13411 2006-02-02 Wim Taymans <wim@fluendo.com>
13413 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13414 (gst_base_sink_render_object),
13415 (gst_base_sink_queue_object_unlocked):
13416 Only keep track of prerollable items when we are
13418 Before rendering after preroll, always check if we
13420 Added some more debugging.
13422 2006-02-02 Wim Taymans <wim@fluendo.com>
13424 * gst/gstelement.c: (gst_element_continue_state),
13425 (gst_element_set_state_func), (gst_element_change_state):
13426 Fixed #326576, been running this for quite some time with
13427 no regressions at all.
13429 2006-02-02 Wim Taymans <wim@fluendo.com>
13432 Added more suppressions
13434 2006-02-02 Wim Taymans <wim@fluendo.com>
13436 * docs/design/part-element-sink.txt:
13439 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13440 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13441 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13442 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13443 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13444 (gst_base_sink_preroll_object),
13445 (gst_base_sink_queue_object_unlocked),
13446 (gst_base_sink_queue_object), (gst_base_sink_event),
13447 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13448 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13449 (gst_base_sink_get_position), (gst_base_sink_change_state):
13450 * libs/gst/base/gstbasesink.h:
13451 Totally refactored matching the design doc.
13452 Use two segments, one to clip incomming buffers and another to
13454 Handle queueing correctly, bypass the queue when playing.
13455 Make EOS cancelable.
13456 Handle errors correctly when operating in pull based mode.
13458 * tests/check/elements/fakesink.c: (GST_START_TEST),
13460 Added new check for sinks.
13462 2006-02-02 Wim Taymans <wim@fluendo.com>
13464 * gst/gstsegment.c: (gst_segment_clip):
13465 No reason to refuse to clip when start == -1
13467 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13470 * docs/manual/intro-basics.xml:
13471 * docs/manual/intro-preface.xml:
13472 * docs/manual/manual.xml:
13473 * docs/pwg/advanced-dparams.xml:
13474 * docs/pwg/intro-basics.xml:
13475 * docs/pwg/intro-preface.xml:
13476 * docs/pwg/pwg.xml:
13477 describe dparams (controller) for plugins
13478 unify docs a little more
13480 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13482 * docs/gst/gstreamer-sections.txt:
13483 * gst/gstutils.c: (element_find_unconnected_pad),
13484 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13486 Add new API: gst_parse_bin_from_description() and
13487 gst_bin_find_unconnected_pad() (#329069).
13489 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13491 * docs/manual/README:
13492 uncover a nasty detail of the docs build
13494 2006-01-31 Wim Taymans <wim@fluendo.com>
13496 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13497 Don't cache duration messages if we're not going to use or
13500 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13502 * docs/manual/advanced-dparams.xml:
13503 * docs/pwg/advanced-dparams.xml:
13507 * libs/gst/controller/lib.c: (gst_controller_init):
13510 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13512 * gst/gstelement.c: (gst_element_message_full):
13513 also show file/line/func if no additional debug was given
13515 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13517 * win32/vs7/grammar.vcproj:
13518 activate copy of autogenerated files for Release mode
13520 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13522 * win32/common/libgstreamer.def:
13523 export gst_value_compare
13525 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13527 * plugins/elements/Makefile.am:
13528 * plugins/elements/gstelements.c:
13529 * plugins/elements/gstfdsink.c: (_do_init),
13530 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13531 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13532 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13533 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13534 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13535 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13536 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13537 * plugins/elements/gstfdsink.h:
13538 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13540 2006-01-30 Stefan Kost <ensonic@users.sf.net>
13542 * docs/manual/advanced-dparams.xml:
13543 describe controller
13544 * docs/manual/advanced-position.xml:
13545 * docs/manual/basics-init.xml:
13546 * docs/manual/manual.xml:
13547 * docs/manual/titlepage.xml:
13548 * docs/pwg/pwg.xml:
13549 * docs/pwg/titlepage.xml:
13550 cleanup xml (more to come)
13551 * libs/gst/controller/gstcontroller.c:
13554 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13556 * win32/vs6/grammar.dsp:
13557 add autogen of gstmarshal.c,h for Release mode
13559 2006-01-30 Wim Taymans <wim@fluendo.com>
13561 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13562 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13563 (gst_base_sink_handle_object), (gst_base_sink_event),
13564 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13565 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13566 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13567 (gst_base_sink_deactivate), (gst_base_sink_activate),
13568 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13569 (gst_base_sink_query), (gst_base_sink_change_state):
13570 Basesink cleanups, remove some old code.
13571 Handle the case where a subclass can preroll in the render
13572 method (mostly audiosinks).
13573 Handle more events.
13574 Remove some locks around variables that are now protected
13575 with the PREROLL_LOCK (clock_id, flushing, ..).
13576 Optimize position query some more, do correct locking.
13577 Remove old code to push queue in state change, this is not
13578 needed anymore since preroll blocks on all prerollable items
13580 Almost implemented as described in design doc.
13582 2006-01-30 Wim Taymans <wim@fluendo.com>
13584 * tests/check/gst/gstbin.c: (GST_START_TEST):
13585 Wait for refcount to settle down before checking.
13587 2006-01-30 Wim Taymans <wim@fluendo.com>
13589 * docs/design/part-element-sink.txt:
13590 Pseudo code overview of desired sink behaviour regarding
13593 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13594 * win32/vs6/grammar.dsp:
13595 fix some bugs in Release mode for autogenerated files
13597 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13598 * win32/common/libgstbase.def:
13599 * win32/common/libgstreamer.def:
13600 export some new symbols: gst_base_src_set_format,
13601 gst_iterator_next, gst_structure_set_valist
13603 2006-01-29 Julien MOUTTE <julien@moutte.net>
13605 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13606 Set pad functions unconditionally. Fixes #329105.
13608 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
13610 add vs8 project files created by Sergey Scobich
13612 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
13614 * gst/gstutils.c: (gst_element_unlink_pads):
13615 Don't leak pad references.
13617 * tests/check/elements/fakesink.c: (GST_START_TEST):
13618 * tests/check/generic/sinks.c: (GST_START_TEST):
13619 * tests/check/generic/states.c: (GST_START_TEST):
13620 * tests/check/gst/gstbin.c: (GST_START_TEST):
13621 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13622 * tests/check/gst/gstelement.c: (GST_START_TEST):
13623 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13624 * tests/check/gst/gstiterator.c: (GST_START_TEST):
13625 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13626 Fix a bunch of leaks. Make generic/sinks.c
13627 use a bit less cpu by slowing the buffer rate
13628 between fakesrc and fakesink.
13630 2006-01-27 Stefan Kost <ensonic@users.sf.net>
13632 * gst/gstelement.c: (gst_element_send_event):
13635 * gst/gstiterator.c:
13636 * gst/gstiterator.h:
13637 * gst/gstpad.c: (gst_pad_send_event):
13638 * gst/gststructure.c:
13642 * libs/gst/base/gstadapter.c:
13643 doc fixes, to link to function, just write gst_cool_function(), don't
13646 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13648 * plugins/elements/gsttee.c: (gst_tee_do_push),
13649 (gst_tee_handle_buffer):
13650 Always prefer an actual return value from a src
13651 pad in place of NOT_LINKED. This means we return
13652 WRONG_STATE when all src pads are WRONG_STATE
13653 instead of NOT_LINKED.
13655 Lock when replacing the last message to prevent
13656 racing with the get_property method.
13660 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13662 * tests/check/Makefile.am:
13663 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13665 Add a very simple check that should have caught the memleak I fixed
13666 last night (if not for the slice allocator hiding it)
13668 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
13670 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13671 (gst_bin_remove_func), (gst_bin_handle_message_func),
13672 (bin_query_duration_fold), (bin_query_generic_fold):
13673 Clean up references to the clock provider when disposed or when
13674 handling a clock-lost message from it.
13676 Unref sinks when performing a query via gst_iterator_fold, as the
13677 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13679 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13680 (gst_clock_set_master):
13681 Drop our reference to the master clock, if any, when we are disposed.
13683 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13684 Chain up in dispose.
13686 2006-01-26 Wim Taymans <wim@fluendo.com>
13688 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13689 Add some debugging.
13691 2006-01-26 Julien MOUTTE <julien@moutte.net>
13693 * plugins/elements/gsttee.c: (gst_tee_do_push),
13694 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13695 handles pad being NOT_LINKED or in WRONG_STATE.
13697 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13702 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13705 remove obsolete entry
13707 2006-01-26 Stefan Kost <ensonic@users.sf.net>
13709 * docs/gst/gstreamer-sections.txt:
13710 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13711 (gst_bin_iterate_sources), (gst_bin_send_event):
13713 * gst/gstelement.c: (gst_element_send_event):
13715 * gst/gstpad.c: (gst_pad_send_event):
13716 added code for downstream events, reviewed docs in gstevent.c
13718 2006-01-25 Julien MOUTTE <julien@moutte.net>
13720 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13721 We only query position using the clock in the playing state.
13722 Query peer in the other cases.
13723 * win32/common/config.h: Updates.
13725 2006-01-24 Wim Taymans <wim@fluendo.com>
13727 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13728 A clock entry that is scheduled for the exact time of the
13729 clock is still in time.
13731 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13732 (gst_base_sink_do_sync):
13733 Add some more debug info.
13735 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13738 Add new vs7 project files and solution.
13740 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
13743 all files removed as they were out-dated.
13745 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * docs/random/release:
13749 * gst/gstbin.c: (gst_bin_init):
13750 * gst/gstbus.c: (gst_bus_new):
13752 * gst/gstpipeline.c: (gst_pipeline_init):
13753 use gst_bus_new(), improve logging, fix docs
13754 * win32/common/config.h:
13755 update for cvs build
13757 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13760 up required version of automake to 1.7
13762 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
13764 * win32/common/libgstreamer.def:
13765 export gst_buffer_is_metadata_writable
13767 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
13769 * docs/gst/gstreamer-sections.txt:
13771 Add gst_event_replace() (#327001)
13773 2006-01-20 Wim Taymans <wim@fluendo.com>
13775 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13776 Make it actually compile too..
13778 2006-01-20 Wim Taymans <wim@fluendo.com>
13781 Clarify behaviour of _is_equal() when passing NULL parameters.
13783 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13784 (gst_pad_set_caps):
13785 Cleanups. Don't unref NULL caps.
13786 When setting the same caps, protect caps of the pad with
13788 Use full functionality of _is_equal() when comparing caps.
13790 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13793 Don't loop infinitely if there are no buffers to present. Partially
13794 fixes #327197, but collectpads is just broken for reusing elements
13795 to do multiple encodes atm.
13797 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
13799 * tools/gst-inspect.c: (print_element_features):
13800 * tools/gst-xmlinspect.c: (main):
13801 URL_HANDLER is not a plugin feature we can search for in
13804 2006-01-19 Edward Hervey <edward@fluendo.com>
13806 * gst/gstelement.c: (gst_element_pads_activate):
13807 When activating, do src pads first, then sink pads.
13808 When de-activating, do sink pads first, then src pads.
13810 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13812 * docs/gst/gstreamer-sections.txt:
13813 Add gst_index_add_associationv to the docs
13815 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13820 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13821 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13822 Do some refactoring. Doesn't actually change functionality,
13823 but makes landing the DRAIN event easier later.
13825 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
13827 * docs/pwg/advanced-scheduling.xml:
13828 Update from 0.9.x to 0.10 API and make example a bit
13831 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13833 * docs/gst/gstreamer-sections.txt:
13834 Add gst_buffer_(is|make)_metadata_writable methods.
13836 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13838 * docs/design/part-sparsestreams.txt:
13839 Update sparse streams doc, hopefully for greater clarity
13841 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
13843 * docs/design/part-events.txt:
13844 Remove mention of FILLER events.
13847 * docs/design/part-sparsestreams.txt:
13848 Write some things about using NEWSEGMENT to keep sparse streams
13851 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13853 * gst/gstbin.c: (gst_bin_dispose):
13854 Guard gst_object_unref call against a NULL object (dispose
13855 can theoretically be called multiple times).
13857 2006-01-18 Wim Taymans <wim@fluendo.com>
13859 * gst/gstbin.c: (gst_bin_element_set_state):
13860 * gst/gstclock.c: (gst_clock_id_wait):
13861 Added some more debug info.
13863 * libs/gst/base/gstadapter.c:
13866 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13867 (gst_base_sink_do_sync), (gst_base_sink_chain):
13868 Added some comments.
13870 2006-01-18 Wim Taymans <wim@fluendo.com>
13872 * tests/check/Makefile.am:
13873 * tests/check/elements/fakesink.c: (chain_async_buffer),
13874 (chain_async), (chain_async_return), (GST_START_TEST),
13875 (fakesink_suite), (main):
13876 Added fakesink test that checks prerolling and clipping
13879 * tests/check/gst/gstutils.c: (GST_START_TEST):
13880 Make check run faster so that buildbots don't timeout.
13882 2006-01-18 Wim Taymans <wim@fluendo.com>
13884 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13885 (gst_base_sink_do_sync):
13887 When the sink finishes blocking on the preroll buffer, it can
13888 immediatly render it instead of rendering when the next buffer
13891 2006-01-18 Wim Taymans <wim@fluendo.com>
13893 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13894 (gst_base_sink_get_property), (gst_base_sink_do_sync),
13895 (gst_base_sink_chain):
13897 GST_ELEMENT_CLOCK and sync are protected with LOCK.
13898 Don't store _last_stop if the buffer is dropped.
13900 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13902 * plugins/elements/gsttypefindelement.c:
13903 (gst_type_find_element_class_init):
13904 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13905 object method handler that sets the caps on the pad and we want
13906 that to happen before we emit the signal (fixes e.g. feeding a
13907 plain text file to decodebin).
13909 2006-01-18 Christian Schaller <Christian@fluendo.com>
13911 * gst/gstplugin.c: Add MPL and Proprietary as license options
13913 2006-01-18 Andy Wingo <wingo@pobox.com>
13915 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13916 symbol was exported before, it appears this was just an oversight.
13918 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13920 * gst/gstindex.c (gst_index_add_associationv): Changed int in
13921 prototype to gint. OK since this prototype was not in the header.
13923 2006-01-17 Andy Wingo <wingo@pobox.com>
13925 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13926 registry while we remove plugins.
13928 * tools/gst-inspect.c (print_element_info): Don't unref the
13929 factory arg, that should be the responsibility of whatever code
13930 received the ref. Fixes a double-free when called from
13931 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13932 (main): Unref the factory if we have one.
13933 (print_element_list): No change -- relies on the
13934 plugin_feature_list_free to free the list of features.
13936 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
13938 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13939 (gst_buffer_make_metadata_writable):
13941 * libs/gst/base/gstbasetransform.c:
13942 (gst_base_transform_prepare_output_buf):
13943 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13944 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13945 Replace gst_buffer_(make|is)_metadata_writable patch now
13946 that the release is out.
13948 2006-01-17 Andy Wingo <wingo@pobox.com>
13950 * gst/gstregistry.c: Reflow design comment. Update so as to speak
13951 in the present tense without reference to versions.
13953 * gst/gstregistry.c (gst_registry_add_plugin)
13954 (gst_registry_remove_plugin, gst_registry_remove_feature)
13955 (gst_registry_find_feature, gst_registry_get_feature_list)
13956 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13957 (gst_registry_lookup, gst_registry_scan_path)
13958 (_gst_registry_remove_cache_plugins)
13959 (gst_registry_get_feature_list_by_plugin): Add argument
13962 === release 0.10.2 ===
13964 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
13967 releasing 0.10.2, "If man is five"
13969 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13973 * libs/gst/base/gstbasetransform.c:
13974 (gst_base_transform_prepare_output_buf):
13975 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13976 * tests/check/gst/gstbuffer.c: (gst_test_suite):
13977 Back out patch until after the release.
13979 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13981 * gst/gstminiobject.c:
13982 Spelling fix in docs.
13983 * ChangeLog - remove conflict indicator
13985 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13987 Reviewed By: Andy Wingo
13989 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13990 (gst_buffer_make_metadata_writable):
13992 Add gst_buffer_(is|make)_metadata_writable as analogues of
13993 gst_buffer_(is|make)_writable.
13995 * libs/gst/base/gstbasetransform.c:
13996 (gst_base_transform_prepare_output_buf):
13997 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13998 Use name gst_buffer_(is|make)_metadata_writable functions.
14000 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14001 Test gst_buffer_(is|make)_metadata_writable
14005 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
14007 * docs/manual/Makefile.am:
14008 don't do parallel make
14011 * win32/common/config.h.in:
14012 add generations for HOST_CPU and GST_MAJORMINOR
14013 * win32/common/config.h:
14014 commit generated result
14016 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
14018 * docs/manual/appendix-integration.xml:
14019 Update GNOME integration section to use gst_init_get_option_group()
14020 instead of the old popt stuff (#322911). Also, GNOME applications
14021 should now use gconf*sink and gconf*src instead of the old gconf
14024 2006-01-13 Stefan Kost <ensonic@users.sf.net>
14027 * docs/gst/gstreamer-docs.sgml:
14028 * docs/gst/gstreamer-sections.txt:
14029 * docs/libs/gstreamer-libs-sections.txt:
14030 add new API entries to the docs
14031 * libs/gst/controller/Makefile.am:
14032 * libs/gst/controller/gstcontroller.c:
14033 * libs/gst/controller/gstcontroller.h:
14034 * libs/gst/controller/gstcontrollerprivate.h:
14035 * libs/gst/controller/gsthelper.c:
14036 * libs/gst/controller/gstinterpolation.c:
14037 move private structs to private header
14039 gstreamer-0.7 -> gstreamer-0.10
14040 * tests/check/libs/struct_i386.h:
14041 remove private structs
14043 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14045 * plugins/indexers/Makefile.am:
14046 Fixes as part of #317048
14048 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14050 * plugins/indexers/Makefile.am:
14051 fix #316086 - compilation when mmap is missing
14053 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
14055 * libs/gst/base/gstbasesink.c:
14056 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
14057 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14058 * win32/common/config.h:
14059 added some defines GST_MAJORMINOR and HOST_CPU
14060 * win32/common/libgstbase.def:
14061 * win32/common/libgstreamer.def:
14062 added some exported functions.
14064 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14066 * libs/gst/controller/gstcontroller.c:
14067 (gst_controlled_property_set_interpolation_mode),
14068 (gst_controlled_property_new):
14069 * libs/gst/controller/gstcontroller.h:
14070 * libs/gst/controller/gstinterpolation.c:
14071 (interpolate_none_get_string_value_array):
14072 make G_TYPE_STRING controlable
14074 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14077 * tools/gst-feedback.1.in:
14078 * tools/gst-inspect.1.in:
14079 * tools/gst-launch.1.in:
14080 * tools/gst-md5sum.1.in:
14081 * tools/gst-typefind.1.in:
14082 * tools/gst-xmlinspect.1.in:
14083 * tools/gst-xmllaunch.1.in:
14084 cleanup man-pages, remove reference to gst-register, document env-vars
14086 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
14088 * gst/gstbuffer.c: (gst_buffer_span):
14089 gst_buffer_span should copy the timestamp of the first buffer
14090 if they were both originally overlapping subbuffers of the
14091 same parent, using the same logic as the 'slow copy' case.
14093 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
14095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14096 Need to awaken ALL the pads when we pop a buffer, otherwise
14097 collectpads only works when there is 2 input streams.
14099 2006-01-11 Stefan Kost <ensonic@users.sf.net>
14101 * docs/random/ensonic/media-device-daemon.txt:
14104 fix doc example, add clarification
14105 * tools/gst-launch.1.in:
14106 add initial info about GST_PLUGIN_PATH, needs more work
14108 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
14110 * docs/manual/basics-bins.xml:
14111 * docs/manual/basics-elements.xml:
14112 * docs/manual/intro-basics.xml:
14113 Some more minor docs additions and updates.
14115 2006-01-11 Wim Taymans <wim@fluendo.com>
14117 * docs/manual/basics-bins.xml:
14118 * docs/manual/basics-elements.xml:
14119 Some small fixes as pointed out by Ser-ver on IRC.
14121 2006-01-10 Edward Hervey <edward@fluendo.com>
14123 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14124 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14125 the single-segment mode.
14127 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
14129 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14131 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14132 (gst_base_src_perform_seek), (gst_base_src_send_event),
14133 (gst_base_src_set_property), (gst_base_src_get_property),
14134 (gst_base_src_loop), (gst_base_src_start),
14135 (gst_base_src_activate_push):
14136 * libs/gst/base/gstbasesrc.h:
14137 Name (private) union; makes Sun's Forte compiler happy (#324900).
14139 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
14142 gst-register is gone.
14144 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
14146 * gst/gstvalue.c: (_gst_value_initialize):
14147 make the G_TYPE_DATE instantiation work if debug is disabled
14149 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
14151 * gst/gstmessage.c: (gst_message_parse_tag),
14152 (gst_message_parse_error), (gst_message_parse_warning):
14153 Don't crash when return location for error/warning debug
14154 string is NULL; add fact that return locations can be
14155 NULL to docs where appropriate.
14157 2006-01-05 Wim Taymans <wim@fluendo.com>
14159 * gst/gstplugin.c: (gst_plugin_load_file):
14160 Replace strdup by g_strdup.
14162 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14164 * docs/pwg/advanced-types.xml:
14167 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14169 submitted by: Abel Cheung
14173 Added Chinese (traditional) translation
14175 2006-01-04 Wim Taymans <wim@fluendo.com>
14177 * docs/manual/basics-pads.xml:
14178 * docs/plugins/Makefile.am:
14179 * docs/plugins/gstreamer-plugins-docs.sgml:
14180 * docs/plugins/gstreamer-plugins-sections.txt:
14181 * docs/pwg/advanced-clock.xml:
14182 * docs/pwg/advanced-scheduling.xml:
14183 * docs/pwg/advanced-types.xml:
14184 * plugins/elements/gstfdsink.c:
14185 * plugins/elements/gstfdsrc.c:
14186 * plugins/elements/gstfdsrc.h:
14187 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14188 * plugins/elements/gstidentity.h:
14189 * plugins/elements/gstqueue.h:
14190 * plugins/elements/gsttee.c:
14191 * plugins/elements/gsttee.h:
14192 * plugins/elements/gsttypefindelement.c:
14193 (gst_type_find_element_class_init):
14194 * plugins/elements/gsttypefindelement.h:
14195 Small updates to various docs.
14196 Added core plugins to docs.
14198 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14201 add a suppression for liboil's uninitialized variable
14203 2006-01-02 James Livingston <jrl at ids dot org dot au>
14205 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14208 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14209 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14210 compiler switch is being used (#325429).
14212 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14214 * gst/gstbin.c: (gst_bin_query):
14215 Disable duration query caching in bins until it gets
14216 fixed (see #324807).
14218 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14220 * tools/gst-inspect.c: (print_element_properties_info):
14221 Handle properties of POINTER and BOXED type.
14223 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14225 * gst/gst.c: (init_post):
14226 Init tags stuff and some other things before loading
14227 any static plugins (there may be other static plugins
14228 than just the GStreamer ones, and they may want to
14229 register their own tags or formats or whatever, and
14230 preferably without segfaulting).
14232 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14233 Print at least a warning in the debug logs if we drop a
14234 query just because we don't know how to adjust the value
14235 in the particular format.
14237 2005-12-24 David Schleef <ds@schleef.org>
14239 * tools/gstreamer-completion:
14240 Replacement for gst-complete written in sh and sed. Only
14241 completes names of features, but that's 90% of what I want
14242 it for. Properties are not available in registry.xml. (Maybe
14245 === release 0.10.1 ===
14247 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14250 releasing 0.10.1, "Nollaig chridheil"
14252 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14254 * docs/faq/cvs.xml:
14255 Add missing quote, should be make ERROR_CFLAGS="".
14257 2005-12-20 Wim Taymans <wim@fluendo.com>
14259 * docs/design/part-trickmodes.txt:
14260 More documentation on trickmodes.
14262 2005-12-20 Edward Hervey <edward@fluendo.com>
14264 * gst/gstcaps.c: (gst_static_caps_get_type):
14266 API addition: GST_TYPE_STATIC_CAPS
14267 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14268 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14269 * gst/gstpadtemplate.h:
14270 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14271 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14274 2005-12-18 Wim Taymans <wim@fluendo.com>
14276 * libs/gst/base/gstadapter.c:
14277 * libs/gst/base/gstadapter.h:
14278 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14279 (gst_base_sink_get_position):
14280 * libs/gst/base/gstbasesink.h:
14281 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14282 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14283 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14284 (gst_base_src_send_event), (gst_base_src_update_length),
14285 (gst_base_src_get_range), (gst_base_src_loop),
14286 (gst_base_src_start):
14287 * libs/gst/base/gstbasesrc.h:
14288 * libs/gst/base/gstbasetransform.h:
14289 * libs/gst/base/gstcollectpads.h:
14290 * libs/gst/base/gstpushsrc.c:
14291 * libs/gst/base/gstpushsrc.h:
14292 * libs/gst/dataprotocol/dataprotocol.c:
14293 * libs/gst/dataprotocol/dataprotocol.h:
14294 * libs/gst/net/gstnetclientclock.h:
14295 * libs/gst/net/gstnettimeprovider.h:
14296 Documentation updates.
14298 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14300 * docs/manual/basics-helloworld.xml:
14301 Remove superfluous closing bracket in helloworld example.
14303 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14305 * tools/gst-launch.1.in:
14306 Update gst-launch man page; add a section with useful
14307 environment variables. Fixes #323882.
14309 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14312 * gst/gst_private.h:
14313 change some char* into char[]
14315 2005-12-16 Wim Taymans <wim@fluendo.com>
14317 * gst/gstregistryxml.c: (load_feature):
14319 Don't use g_object_unref on GstObjects so that we avoid
14320 leaks on unsafe glibs.
14322 2005-12-16 Wim Taymans <wim@fluendo.com>
14324 * gst/gstbin.c: (gst_bin_recalc_state):
14327 2005-12-16 Wim Taymans <wim@fluendo.com>
14329 * common/check.mak:
14330 Added make forever target for check.
14332 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14334 * gst/gst.c: (init_post):
14335 make the registry cache file HOST_CPU-dependent
14337 2005-12-16 Andy Wingo <wingo@pobox.com>
14339 * plugins/elements/gstbufferstore.c
14340 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14343 * tests/check/gst/gstobject.c
14344 (test_fake_object_name_threaded_unique): Pay attention to
14345 g_list_sort return value.
14347 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14349 * tools/gst-feedback-m.m:
14350 Update for 0.9/0.10 (fixes #323870).
14352 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14354 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14355 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14357 * tests/check/gst/gstminiobject.c: (my_foo_init),
14358 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14359 (test_value_collection), (gst_mini_object_suite):
14360 Add test to ensure refcounts end up as expected when passing
14361 GstMiniObjects through g_object_get() and g_object_set().
14363 2005-12-14 Julien MOUTTE <julien@moutte.net>
14365 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14366 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14367 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14368 of collectpads. This version removes a lot of races without
14369 touching API/ABI. Yay !
14371 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14373 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14374 Don't allow activation of a srcpad in pull_range if it has no
14376 Change some debug statements to be a little clearer
14378 * plugins/elements/gsttypefindelement.c:
14379 (gst_type_find_handle_src_query):
14380 Check that we have a peer before executing queries thereupon.
14382 * tests/examples/metadata/read-metadata.c: (message_loop):
14383 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14384 immediately return us any available message with 0 timeout.
14386 2005-12-12 Michael Smith <msmith@fluendo.com>
14388 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14389 Don't unref factories after calling them.
14390 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14391 * plugins/elements/gsttypefindelement.c:
14392 (gst_type_find_element_chain):
14393 Free lists of factories after using them. Fixing typefinding memory
14396 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14398 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14399 (gst_plugin_feature_load):
14400 more meaningful debug output
14402 * tests/Makefile.am:
14403 * tests/old/examples/Makefile.am:
14404 make make distcheck happy again
14406 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14408 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14409 Catch the special case where we are operating chain-based,
14410 but the downstream peer pad has no chain function. Emit a
14411 custom error message in this case instead of letting the
14412 core generate one implying that this is some sort of core
14413 bug. It's not, it just means that whatever got plugged
14414 into the pipeline downstream when we announced the type
14415 can only operate pull-based, while our source can only
14416 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14417 Error string has not been marked for translation yet, as
14418 it probably needs some more work first.
14420 (gst_type_find_element_get_best_possibility):
14421 Add helper function to find the best of all available
14422 found possibilities that qualify given the min. threshold.
14424 (gst_type_find_element_handle_event):
14425 Fix the case where we get an EOS while still in TYPEFIND
14426 mode (we want to chose the best of all possible types,
14427 not just the first type that happens to be in our unsorted
14428 list of possible types).
14430 (gst_type_find_element_chain):
14431 Make sure we return GST_FLOW_ERROR when we errored out
14432 in stop_typefinding(); also, don't just find the best of
14433 all found type entries and then use the last examined
14434 type entry, but actually use the best entry.
14436 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14438 * tests/examples/typefind/typefind.c: (type_found):
14439 * tests/examples/xml/runxml.c: (xml_loaded):
14440 More gcc4 fixes and a mem leak fix.
14442 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14444 * tests/examples/xml/createxml.c: (object_saved):
14447 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14449 * tests/Makefile.am:
14450 enable the examples even more
14452 2005-12-12 Andy Wingo <wingo@pobox.com>
14454 * libs/gst/net/gstnettimeprovider.c
14455 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14456 (gst_net_time_provider_set_property)
14457 (gst_net_time_provider_get_property):
14458 API addition: Export "active" as a GObject property.
14459 (gst_net_time_provider_thread): Only respond to time queries if
14460 the time provider is active.
14462 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14463 NetTimeProvider, preserving binary compat.
14465 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14467 * tests/examples/controller/audio-example.c: (main):
14468 * tests/examples/launch/Makefile.am:
14469 convert comments again
14471 2005-12-12 Wim Taymans <wim@fluendo.com>
14473 * libs/gst/base/gstpushsrc.c:
14476 2005-12-12 Wim Taymans <wim@fluendo.com>
14478 * docs/libs/gstreamer-libs-sections.txt:
14479 Added new symbol to docs.
14481 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14482 (gst_base_src_init), (gst_base_src_set_format),
14483 (gst_base_src_default_query), (gst_base_src_query),
14484 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14485 (gst_base_src_perform_seek), (gst_base_src_send_event),
14486 (gst_base_src_default_event), (gst_base_src_event_handler),
14487 (gst_base_src_set_property), (gst_base_src_get_property),
14488 (gst_base_src_wait), (gst_base_src_do_sync),
14489 (gst_base_src_update_length), (gst_base_src_get_range),
14490 (gst_base_src_check_get_range), (gst_base_src_loop),
14491 (gst_base_src_default_negotiate), (gst_base_src_start),
14492 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14493 (gst_base_src_change_state):
14494 * libs/gst/base/gstbasesrc.h:
14495 Implement seeking to other formats than _BYTES.
14496 Implement more seeking methods correctly.
14498 Added query vmethod.
14499 Added do_seek vmethod to make life easier for subclasses
14501 API addition: gst_base_src_set_format()
14503 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14505 * tests/examples/Makefile.am:
14508 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14511 * docs/random/ensonic/media-device-daemon.txt:
14512 * tests/examples/controller/.cvsignore:
14513 * tests/examples/controller/Makefile.am:
14514 * tests/examples/controller/audio-example.c: (main):
14515 * tests/examples/helloworld/.cvsignore:
14516 * tests/examples/helloworld/Makefile.am:
14517 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14518 * tests/examples/launch/.cvsignore:
14519 * tests/examples/launch/Makefile.am:
14520 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14521 * tests/examples/metadata/.cvsignore:
14522 * tests/examples/metadata/Makefile.am:
14523 * tests/examples/metadata/read-metadata.c: (message_loop),
14524 (make_pipeline), (print_tag), (main):
14525 * tests/examples/queue/.cvsignore:
14526 * tests/examples/queue/Makefile.am:
14527 * tests/examples/queue/queue.c: (event_loop), (main):
14528 * tests/examples/typefind/.cvsignore:
14529 * tests/examples/typefind/Makefile.am:
14530 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14532 * tests/examples/xml/.cvsignore:
14533 * tests/examples/xml/Makefile.am:
14534 * tests/examples/xml/createxml.c: (object_saved), (main):
14535 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14536 * tests/old/examples/Makefile.am:
14537 * tests/old/examples/TODO:
14538 * tests/old/examples/controller/.cvsignore:
14539 * tests/old/examples/controller/Makefile.am:
14540 * tests/old/examples/controller/audio-example.c:
14541 * tests/old/examples/helloworld/.cvsignore:
14542 * tests/old/examples/helloworld/Makefile.am:
14543 * tests/old/examples/helloworld/helloworld.c:
14544 * tests/old/examples/launch/.cvsignore:
14545 * tests/old/examples/launch/Makefile.am:
14546 * tests/old/examples/launch/mp3parselaunch.c:
14547 * tests/old/examples/launch/mp3play:
14548 * tests/old/examples/manual/Makefile.am:
14549 * tests/old/examples/metadata/Makefile.am:
14550 * tests/old/examples/metadata/read-metadata.c:
14551 * tests/old/examples/queue/.cvsignore:
14552 * tests/old/examples/queue/Makefile.am:
14553 * tests/old/examples/queue/queue.c:
14554 * tests/old/examples/typefind/.cvsignore:
14555 * tests/old/examples/typefind/Makefile.am:
14556 * tests/old/examples/typefind/typefind.c:
14557 * tests/old/examples/xml/.cvsignore:
14558 * tests/old/examples/xml/Makefile.am:
14559 * tests/old/examples/xml/createxml.c:
14560 * tests/old/examples/xml/runxml.c:
14561 applied some simple fixing to some examples
14562 re-enabled the working examples
14564 2005-12-12 Wim Taymans <wim@fluendo.com>
14566 * gst/gstsegment.c: (gst_segment_init),
14567 (gst_segment_set_last_stop), (gst_segment_set_seek),
14568 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14569 (gst_segment_to_running_time):
14570 Added more documentation.
14571 Make sure the last_pos value is updated properly.
14572 Make sure to_stream_time and to_running_time don't
14573 operate on wrong values.
14575 * tests/check/gst/gstsegment.c: (GST_START_TEST):
14578 2005-12-12 Michael Smith <msmith@fluendo.com>
14580 * plugins/elements/gsttypefindelement.c: (free_entry),
14581 (gst_type_find_element_chain):
14582 Now that we're not leaking factories, make sure we keep references
14583 to them while we need them.
14585 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14587 * tests/check/gst/struct_i386.h:
14588 ifdef out the XML structs
14590 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
14592 * gst/gstvalue.c: (gst_value_transform_double_fraction):
14593 floor is not needed, F is always positive; this obviates the
14594 need for adding -lm when building without libxml
14596 2005-12-12 Wim Taymans <wim@fluendo.com>
14598 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14599 Take current playback rate into account when reporting
14602 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14604 * docs/manual/mime-world.fig:
14605 Let's try this again, this time with a file that is
14606 actually in XFig format.
14608 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14610 * docs/manual/mime-world.fig:
14611 Add audioconvert element to diagram so that it
14612 matches the text and the code (fixes #319526).
14614 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14616 * docs/pwg/building-chainfn.xml:
14617 * docs/pwg/building-pads.xml:
14618 * docs/pwg/building-state.xml:
14619 * docs/pwg/other-source.xml:
14620 Update state change stuff for 0.10 (fixes #322969).
14622 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14624 * docs/manual/advanced-dataaccess.xml:
14625 * docs/manual/appendix-checklist.xml:
14626 * docs/manual/appendix-programs.xml:
14627 * docs/manual/basics-pads.xml:
14628 * docs/manual/highlevel-components.xml:
14629 * docs/manual/manual.xml:
14630 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14631 add converters in front of pipelines; remove curly
14632 brackets for threads stuff, they no longer exist; use
14633 GST_TYPE_FRACTION for framerates; update some pieces of
14634 code to 0.10, but there's plenty more to do.
14636 * docs/manual/appendix-porting.xml:
14637 Expand on asynchroneous state changes; s/0.9/0.10/;
14638 mention disappearance of gst_init_get_popt_table()
14641 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
14643 * docs/faq/using.xml:
14644 Spider no longer exists, and neither does gst-launch-ext.
14645 Update examples to use decodebin and playbin and put
14646 converters in front of sinks (fixes #323726).
14648 2005-12-09 Michael Smith <msmith@fluendo.com>
14650 * plugins/elements/gsttypefindelement.c: (find_peek),
14651 (gst_type_find_element_chain):
14652 Fix leaking element factories in typefinding.
14653 Fix problem where we forgot about a probable type on non-seekable
14654 files, and thus later mis-typefound it.
14656 2005-12-09 Michael Smith <msmith@fluendo.com>
14658 * common/m4/gst-makecontext.m4:
14659 * common/m4/gst-mcsc.m4:
14661 * win32/common/config.h:
14662 * win32/common/config.h.in:
14663 Remove makecontext stuff; not used in 0.10 and causes problems on
14664 HPUX according to bug #322441
14666 2005-12-07 Wim Taymans <wim@fluendo.com>
14668 * tests/check/Makefile.am:
14669 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14671 * tests/check/libs/struct_i386.h:
14672 Added ABI check for libs
14674 2005-12-07 Wim Taymans <wim@fluendo.com>
14676 * tests/check/Makefile.am:
14677 And add the struct_i386.h to dist.
14679 2005-12-07 Wim Taymans <wim@fluendo.com>
14681 * tests/check/Makefile.am:
14682 * tests/check/gst/.cvsignore:
14683 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14685 * tests/check/gst/struct_i386.h:
14686 Added check for ABI compatibility.
14688 2005-12-07 Wim Taymans <wim@fluendo.com>
14690 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14691 (gst_fake_src_get_times), (gst_fake_src_create):
14692 Fix broken sync option, fixes #323259
14694 2005-12-07 Wim Taymans <wim@fluendo.com>
14699 * gst/gstcaps.c: (gst_caps_is_equal):
14700 Don't assert on NULL <--> X. Fixes #323260
14702 * gst/gstminiobject.c: (gst_mini_object_replace):
14703 If we're doing atomic operations, we might just as well use
14704 the proper way to get an atomic pointer.
14706 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14707 Clean up debugging.
14709 2005-12-07 Michael Smith <msmith@fluendo.com>
14711 * gst/parse/grammar.y:
14712 Remove handling of { } for threads.
14714 2005-12-06 David Schleef <ds@schleef.org>
14716 * libs/gst/base/gstbasetransform.c: speling fix.
14718 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
14720 * docs/libs/tmpl/gstdataprotocol.sgml:
14721 * docs/random/omega/testing/gstobject.c:
14724 * gst/gstelement.c:
14725 * gst/gstelementfactory.c:
14728 * gst/gstghostpad.c:
14730 * gst/gstpadtemplate.c:
14731 * gst/gstregistryxml.c:
14732 * gst/gsttaglist.c:
14733 * gst/gsttagsetter.c:
14734 * gst/gsttypefind.c:
14736 * libs/gst/base/gstbasesrc.c:
14737 * libs/gst/net/gstnetclientclock.c:
14738 * libs/gst/net/gstnettimeprovider.c:
14739 * plugins/elements/gstfakesrc.c:
14740 * plugins/elements/gstfdsrc.c:
14741 * plugins/elements/gstfilesrc.c:
14742 * plugins/elements/gstidentity.c:
14743 * plugins/elements/gstqueue.c:
14744 * plugins/elements/gsttypefindelement.c:
14745 * plugins/indexers/gstfileindex.c:
14746 * plugins/indexers/gstmemindex.c:
14747 * tests/check/gst/gsttag.c:
14748 * tests/old/examples/cutter/cutter.c:
14749 * tests/old/examples/mixer/mixer.c:
14750 * tests/old/examples/xml/runxml.c: (main):
14751 * tests/old/testsuite/caps/normalisation.c:
14752 * tests/old/testsuite/debug/global.c:
14753 * tests/old/testsuite/parse/parse1.c:
14754 * tools/gst-xmlinspect.c:
14755 * win32/common/dirent.c:
14758 === release 0.10.0 ===
14760 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14763 releasing 0.10.0, "Maroilles"
14765 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14767 submitted by: Funda Wang <fundawang@linux.net.cn>
14771 added Chinese (Traditional) translation
14773 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14775 * docs/gst/gstreamer-sections.txt:
14776 * docs/libs/tmpl/gstdataprotocol.sgml:
14777 * docs/random/thomasvs/TODO:
14782 2005-12-05 Andy Wingo <wingo@pobox.com>
14784 patch by: Wim Taymans <wim@fluendo.com>
14786 * libs/gst/base/gstbasetransform.c
14787 (gst_base_transform_prepare_output_buf)
14788 (gst_base_transform_buffer_alloc):
14789 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14790 alloc_buffer_and_set_caps.
14792 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14793 set_caps on the source pad.
14794 (gst_pad_alloc_buffer_and_set_caps): New function, does what
14795 alloc_buffer used to do. Fixes #322874.
14797 * docs/gst/gstreamer-sections.txt:
14798 * docs/design/part-negotiation.txt:
14799 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14802 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
14804 patch by: Sebastien Moutte
14807 * win32/common/config.h.in:
14808 * win32/vs6/libgstcontroller.dsp:
14811 2005-12-05 Wim Taymans <wim@fluendo.com>
14813 * gst/gstcaps.c: (gst_caps_is_equal):
14814 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14815 (gst_fake_src_create):
14816 Back out previous code changes, leave doc updates, file bugs
14819 2005-12-05 Wim Taymans <wim@fluendo.com>
14821 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14822 (gst_fake_src_get_times), (gst_fake_src_create):
14823 * plugins/elements/gstfakesrc.h:
14824 Fix broken sync code.
14826 2005-12-05 Wim Taymans <wim@fluendo.com>
14828 * gst/gstcaps.c: (gst_caps_is_equal):
14829 Comparing NULL against !NULL yields different caps, not a
14832 2005-12-05 Wim Taymans <wim@fluendo.com>
14834 * gst/gstpipeline.c:
14835 Fix small typo in docs.
14837 2005-12-05 Andy Wingo <wingo@pobox.com>
14839 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
14841 * gst/gst.c (init_post): remove hard-coded 0.9 location for
14842 registries/plugins with a MAJORMINOR one.
14843 (plugin_desc): Rename library from gstcoreleements to
14844 staticelements. Fixes #323222.
14846 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
14848 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14849 Change debug category to 'collectpads' from 'collect_pads'
14852 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14854 patch by: Sebastien Moutte
14856 * libs/gst/controller/gstinterpolation.c:
14857 use convert function for uint64/double
14858 * win32/vs6/libgstcontroller.dsp:
14861 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14863 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14864 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14866 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14867 add tests that seem to show that the guint64/gdouble conversions
14870 2005-12-02 Wim Taymans <wim@fluendo.com>
14872 * gst/gstregistry.c: (gst_registry_add_path):
14873 * gst/gstregistry.h:
14874 * gst/gstregistryxml.c:
14877 2005-12-02 Wim Taymans <wim@fluendo.com>
14879 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14880 (gst_util_uint64_scale_int):
14883 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14884 Add debug log line.
14886 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14889 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14892 * win32/common/config.h:
14893 * win32/vs6/gstreamer.dsw:
14894 * win32/vs6/libgstcoreelements.dsp:
14895 * win32/vs6/libgstelements.dsp:
14896 renamed core elements plugin
14898 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14900 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14902 do piece-wise major/minor comparison so 0.9 < 0.10
14903 also allow .exe extensions for tools
14905 2005-12-02 Michael Smith <msmith@fluendo.com>
14908 Escape a % to make gtkdoc happier; bug 322958.
14910 === release 0.9.7 ===
14912 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14915 releasing 0.9.7, "My Dog Has No Nose"
14917 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14919 * common/gst-xmlinspect.py:
14921 * docs/libs/tmpl/gstdataprotocol.sgml:
14922 * docs/random/release:
14941 * win32/common/config.h:
14942 * win32/common/config.h.in:
14943 * win32/vs6/gst_inspect.dsp:
14944 * win32/vs6/gst_launch.dsp:
14945 * win32/vs6/libgstbase.dsp:
14946 * win32/vs6/libgstelements.dsp:
14947 * win32/vs6/libgstreamer.dsp:
14948 * win32/vs7/GStreamer.vcproj:
14949 * win32/vs7/gst-inspect.vcproj:
14950 * win32/vs7/gst-launch.vcproj:
14951 * win32/vs7/libgstbase.vcproj:
14952 bump GST_MAJORMINOR to 0.10
14953 reset libtool version
14955 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14959 Added Bulgarian translation by (Alexander Shopov)
14961 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14963 * tests/check/gst/gstplugin.c:
14966 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14968 * common/gst-xmlinspect.py:
14969 * common/gtk-doc-plugins.mak:
14971 * docs/Makefile.am:
14972 * docs/gst/Makefile.am:
14973 * docs/gst/gstreamer-docs.sgml:
14974 * docs/gst/gstreamer-sections.txt:
14975 * docs/gst/gstreamer.types:
14976 * docs/gst/gstreamer.types.in:
14977 * docs/plugins/Makefile.am:
14978 * docs/plugins/gstreamer-plugins-docs.sgml:
14979 * docs/plugins/gstreamer-plugins-sections.txt:
14980 * docs/plugins/gstreamer-plugins.types:
14981 * docs/plugins/inspect.stamp:
14982 * docs/plugins/inspect/plugin-coreelements.xml:
14983 * docs/plugins/inspect/plugin-coreindexers.xml:
14984 * docs/plugins/scanobj-build.stamp:
14985 * gstreamer.spec.in:
14986 * plugins/elements/Makefile.am:
14987 * plugins/elements/gstelements.c:
14988 * plugins/elements/gstfakesink.c:
14989 * plugins/elements/gstfakesrc.c:
14990 * plugins/elements/gstfilesink.c:
14991 * plugins/elements/gstfilesrc.c:
14992 * plugins/elements/gstqueue.c:
14993 * plugins/indexers/Makefile.am:
14994 * plugins/indexers/gstindexers.c:
14995 document core plugins in a separate document just like all the
14997 rename these plugins to something starting with core
14999 2005-12-01 Andy Wingo <wingo@pobox.com>
15001 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15002 padding here before, but it missed the commit.
15004 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15006 * libs/gst/controller/gstinterpolation.c:
15007 whitespace prices have crashed, we should feel free to use some now
15008 use gst_guint64_to_gdouble
15010 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15012 * libs/gst/controller/gstcontroller.c:
15013 * libs/gst/controller/gsthelper.c:
15014 * libs/gst/controller/gstinterpolation.c:
15015 * libs/gst/controller/lib.c:
15016 wrap config.h include
15018 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15020 * docs/gst/gstreamer-sections.txt:
15023 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15025 * plugins/elements/gstelements.c:
15026 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15027 (gst_fd_sink__class_init), (gst_fd_sink__init),
15028 (gst_fd_sink__chain), (gst_fd_sink__set_property),
15029 (gst_fd_sink__get_property):
15030 * plugins/elements/gstfdsink.h:
15031 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15032 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15033 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15034 (gst_fd_src_unlock), (gst_fd_src_set_property),
15035 (gst_fd_src_get_property), (gst_fd_src_create),
15036 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15037 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15038 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15039 (gst_fd_src_uri_handler_init):
15040 * plugins/elements/gstfdsrc.h:
15041 * plugins/elements/gstqueue.c: (gst_queue_get_type):
15044 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15046 * docs/gst/Makefile.am:
15047 * docs/gst/gstreamer.types.in:
15051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15057 * gst/gstregistry.h:
15058 * tests/benchmarks/complexity.c:
15059 * tests/benchmarks/mass-elements.c:
15060 * tests/check/Makefile.am:
15061 * tools/Makefile.am:
15062 * tools/gst-inspect.c:
15063 * tools/gst-xmlinspect.c:
15064 various fixes to make
15065 --disable-nls --disable-registry --disable-loadsave
15066 --disable-parse --disable-gst-debug
15067 work and get the core .so down to 360444 bytes after stripping
15069 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15074 * docs/random/thomasvs/TODO:
15075 * tests/Makefile.am:
15079 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15081 * win32/GStreamer.vcproj:
15084 * win32/Makefile.inspect:
15085 * win32/Makefile.launch:
15086 * win32/Makefile.register:
15087 * win32/README.txt:
15088 * win32/gst-inspect.vcproj:
15089 * win32/gst-launch.vcproj:
15090 * win32/gst-register.vcproj:
15091 * win32/gstelements.vcproj:
15092 * win32/gstgetbits.def:
15093 * win32/gstgetbits.vcproj:
15094 * win32/gstreamer-dbg.def:
15095 * win32/gstreamer.def:
15096 * win32/libgstbase.def:
15097 * win32/libgstbase.vcproj:
15098 * win32/link_oldruntime.c:
15102 * win32/msvc71.sln:
15103 move even more stuff, win32/ is nice and clean now
15105 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15107 * libs/gst/control/.cvsignore:
15112 * win32/gstbytestream.def:
15113 * win32/gstbytestream.vcproj:
15114 * win32/gstconfig.h:
15115 * win32/gstenumtypes.c:
15116 * win32/gstenumtypes.h:
15117 * win32/gstoptimalscheduler.vcproj:
15118 * win32/gstversion.h:
15120 * win32/testsuite/bins.vcproj:
15121 * win32/testsuite/bytestream.vcproj:
15122 * win32/testsuite/caps.vcproj:
15123 * win32/testsuite/cleanup.vcproj:
15124 * win32/testsuite/clock.vcproj:
15125 * win32/testsuite/debug.vcproj:
15126 * win32/testsuite/dlopen.vcproj:
15127 * win32/testsuite/dynparams.vcproj:
15128 * win32/testsuite/elements.vcproj:
15129 * win32/testsuite/ghostpads.vcproj:
15130 * win32/testsuite/indexers.vcproj:
15131 * win32/testsuite/negotiation.vcproj:
15132 * win32/testsuite/parse.vcproj:
15133 * win32/testsuite/plugin.vcproj:
15134 * win32/testsuite/refcounting.vcproj:
15135 * win32/testsuite/schedulers.vcproj:
15136 * win32/testsuite/states.vcproj:
15137 * win32/testsuite/tags.vcproj:
15138 * win32/testsuite/threads.vcproj:
15139 remove old win32 stuff that isn't maintained and should be
15142 2005-11-30 Andy Wingo <wingo@pobox.com>
15144 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15145 loading the gst.interfaces python module bork.
15147 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15148 available since GLib 2.2. Fixes #318031.
15150 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15153 * check/.cvsignore:
15154 * check/Makefile.am:
15155 * check/elements/.cvsignore:
15156 * check/elements/fakesrc.c:
15157 * check/elements/fdsrc.c:
15158 * check/elements/identity.c:
15159 * check/generic/.cvsignore:
15160 * check/generic/states.c:
15161 * check/gst-libs/.cvsignore:
15162 * check/gst-libs/controller.c:
15163 * check/gst-libs/gdp.c:
15164 * check/gst/.cvsignore:
15165 * check/gst/capslist.h:
15167 * check/gst/gstbin.c:
15168 * check/gst/gstbuffer.c:
15169 * check/gst/gstbus.c:
15170 * check/gst/gstcaps.c:
15171 * check/gst/gstelement.c:
15172 * check/gst/gstevent.c:
15173 * check/gst/gstghostpad.c:
15174 * check/gst/gstiterator.c:
15175 * check/gst/gstmessage.c:
15176 * check/gst/gstminiobject.c:
15177 * check/gst/gstobject.c:
15178 * check/gst/gstpad.c:
15179 * check/gst/gstpipeline.c:
15180 * check/gst/gstplugin.c:
15181 * check/gst/gstsegment.c:
15182 * check/gst/gststructure.c:
15183 * check/gst/gstsystemclock.c:
15184 * check/gst/gsttag.c:
15185 * check/gst/gstutils.c:
15186 * check/gst/gstvalue.c:
15187 * check/net/.cvsignore:
15188 * check/net/gstnetclientclock.c:
15189 * check/net/gstnettimeprovider.c:
15190 * check/pipelines/.cvsignore:
15191 * check/pipelines/cleanup.c:
15192 * check/pipelines/simple_launch_lines.c:
15193 * check/pipelines/stress.c:
15194 * check/states/.cvsignore:
15195 * check/states/sinks.c:
15197 * examples/Makefile.am:
15198 * examples/appreader/.cvsignore:
15199 * examples/appreader/Makefile.am:
15200 * examples/appreader/appreader.c:
15201 * examples/controller/.cvsignore:
15202 * examples/controller/Makefile.am:
15203 * examples/controller/audio-example.c:
15204 * examples/cutter/.cvsignore:
15205 * examples/cutter/Makefile.am:
15206 * examples/cutter/cutter.c:
15207 * examples/cutter/cutter.h:
15208 * examples/events/Makefile.am:
15209 * examples/events/seek.c:
15210 * examples/helloworld/.cvsignore:
15211 * examples/helloworld/Makefile.am:
15212 * examples/helloworld/helloworld.c:
15213 * examples/helloworld2/.cvsignore:
15214 * examples/helloworld2/Makefile.am:
15215 * examples/helloworld2/helloworld2.c:
15216 * examples/launch/.cvsignore:
15217 * examples/launch/Makefile.am:
15218 * examples/launch/mp3parselaunch.c:
15219 * examples/launch/mp3play:
15220 * examples/manual/.cvsignore:
15221 * examples/manual/Makefile.am:
15222 * examples/manual/extract.pl:
15223 * examples/metadata/Makefile.am:
15224 * examples/metadata/read-metadata.c:
15225 * examples/mixer/.cvsignore:
15226 * examples/mixer/Makefile.am:
15227 * examples/mixer/mixer.c:
15228 * examples/mixer/mixer.h:
15229 * examples/pingpong/.cvsignore:
15230 * examples/pingpong/Makefile.am:
15231 * examples/pingpong/pingpong.c:
15232 * examples/plugins/.cvsignore:
15233 * examples/plugins/Makefile.am:
15234 * examples/plugins/example.c:
15235 * examples/plugins/example.h:
15236 * examples/pwg/.cvsignore:
15237 * examples/pwg/Makefile.am:
15238 * examples/pwg/extract.pl:
15239 * examples/queue/.cvsignore:
15240 * examples/queue/Makefile.am:
15241 * examples/queue/queue.c:
15242 * examples/queue2/.cvsignore:
15243 * examples/queue2/Makefile.am:
15244 * examples/queue2/queue2.c:
15245 * examples/queue3/.cvsignore:
15246 * examples/queue3/Makefile.am:
15247 * examples/queue3/queue3.c:
15248 * examples/queue4/.cvsignore:
15249 * examples/queue4/Makefile.am:
15250 * examples/queue4/queue4.c:
15251 * examples/retag/.cvsignore:
15252 * examples/retag/Makefile.am:
15253 * examples/retag/retag.c:
15254 * examples/retag/transcode.c:
15255 * examples/thread/.cvsignore:
15256 * examples/thread/Makefile.am:
15257 * examples/thread/thread.c:
15258 * examples/typefind/.cvsignore:
15259 * examples/typefind/Makefile.am:
15260 * examples/typefind/typefind.c:
15261 * examples/xml/.cvsignore:
15262 * examples/xml/Makefile.am:
15263 * examples/xml/createxml.c:
15264 * examples/xml/runxml.c:
15265 * tests/Makefile.am:
15266 * tests/check/Makefile.am:
15267 * testsuite/.cvsignore:
15268 * testsuite/Makefile.am:
15270 * testsuite/caps/.cvsignore:
15271 * testsuite/caps/Makefile.am:
15272 * testsuite/caps/app_fixate.c:
15273 * testsuite/caps/audioscale.c:
15274 * testsuite/caps/caps.c:
15275 * testsuite/caps/caps.h:
15276 * testsuite/caps/caps_strings:
15277 * testsuite/caps/compatibility.c:
15278 * testsuite/caps/deserialize.c:
15279 * testsuite/caps/enumcaps.c:
15280 * testsuite/caps/eratosthenes.c:
15281 * testsuite/caps/filtercaps.c:
15282 * testsuite/caps/fixed.c:
15283 * testsuite/caps/fraction-convert.c:
15284 * testsuite/caps/fraction-multiply-and-zero.c:
15285 * testsuite/caps/intersect2.c:
15286 * testsuite/caps/intersection.c:
15287 * testsuite/caps/normalisation.c:
15288 * testsuite/caps/random.c:
15289 * testsuite/caps/renegotiate.c:
15290 * testsuite/caps/sets.c:
15291 * testsuite/caps/simplify.c:
15292 * testsuite/caps/string-conversions.c:
15293 * testsuite/caps/structure.c:
15294 * testsuite/caps/subtract.c:
15295 * testsuite/caps/union.c:
15296 * testsuite/debug/.cvsignore:
15297 * testsuite/debug/Makefile.am:
15298 * testsuite/debug/category.c:
15299 * testsuite/debug/commandline.c:
15300 * testsuite/debug/global.c:
15301 * testsuite/debug/output.c:
15302 * testsuite/debug/printf_extension.c:
15303 * testsuite/dlopen/.cvsignore:
15304 * testsuite/dlopen/Makefile.am:
15305 * testsuite/dlopen/dlopen_gst.c:
15306 * testsuite/dlopen/loadgst.c:
15307 * testsuite/elements/.cvsignore:
15308 * testsuite/elements/Makefile.am:
15309 * testsuite/elements/gst-inspect-check.in:
15310 * testsuite/elements/struct_i386.h:
15311 * testsuite/elements/struct_size.c:
15312 * testsuite/indexers/.cvsignore:
15313 * testsuite/indexers/Makefile.am:
15314 * testsuite/indexers/cache1.c:
15315 * testsuite/indexers/indexdump.c:
15316 * testsuite/parse/.cvsignore:
15317 * testsuite/parse/Makefile.am:
15318 * testsuite/parse/parse1.c:
15319 * testsuite/parse/parse2.c:
15320 * testsuite/plugin/.cvsignore:
15321 * testsuite/plugin/Makefile.am:
15322 * testsuite/plugin/README:
15323 * testsuite/plugin/dynamic.c:
15324 * testsuite/plugin/linked.c:
15325 * testsuite/plugin/loading.c:
15326 * testsuite/plugin/registry.c:
15327 * testsuite/plugin/static.c:
15328 * testsuite/plugin/static2.c:
15329 * testsuite/plugin/testplugin.c:
15330 * testsuite/plugin/testplugin2.c:
15331 * testsuite/plugin/testplugin2_s.c:
15332 * testsuite/plugin/testplugin_s.c:
15333 * testsuite/refcounting/.cvsignore:
15334 * testsuite/refcounting/Makefile.am:
15335 * testsuite/refcounting/bin.c:
15336 * testsuite/refcounting/element.c:
15337 * testsuite/refcounting/element_pad.c:
15338 * testsuite/refcounting/mainloop.c:
15339 * testsuite/refcounting/mem.c:
15340 * testsuite/refcounting/mem.h:
15341 * testsuite/refcounting/object.c:
15342 * testsuite/refcounting/pad.c:
15343 * testsuite/refcounting/sched.c:
15344 * testsuite/refcounting/thread.c:
15345 * testsuite/states/.cvsignore:
15346 * testsuite/states/Makefile.am:
15347 * testsuite/states/bin.c:
15348 * testsuite/states/locked.c:
15349 * testsuite/states/parent.c:
15350 * testsuite/threads/.cvsignore:
15351 * testsuite/threads/159566.c:
15352 * testsuite/threads/159852.c:
15353 * testsuite/threads/Makefile.am:
15354 * testsuite/threads/queue.c:
15355 * testsuite/threads/signals.c:
15356 * testsuite/threads/staticrec.c:
15357 * testsuite/threads/thread.c:
15358 * testsuite/threads/threadb.c:
15359 * testsuite/threads/threadc.c:
15360 * testsuite/threads/threadd.c:
15361 * testsuite/threads/threade.c:
15362 * testsuite/threads/threadf.c:
15363 * testsuite/threads/threadg.c:
15364 * testsuite/threads/threadh.c:
15365 * testsuite/threads/threadi.c:
15366 move all of these under tests
15368 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15371 * tests/Makefile.am:
15374 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15376 * docs/gst/gstreamer-sections.txt:
15377 * tests/sched/.cvsignore:
15378 * tests/sched/Makefile.am:
15379 * tests/sched/cases/(fs-fs).xml:
15380 * tests/sched/cases/(fs-i-fs).xml:
15381 * tests/sched/cases/(fs-i-i-fs).xml:
15382 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15383 * tests/sched/dynamic-pipeline.c:
15384 * tests/sched/interrupt1.c:
15385 * tests/sched/interrupt2.c:
15386 * tests/sched/interrupt3.c:
15387 * tests/sched/runtestcases:
15388 * tests/sched/runxml.c:
15389 * tests/sched/sched-stress.c:
15390 * tests/sched/sort.c:
15391 * tests/sched/testcases:
15392 * tests/sched/testcases1.tc:
15393 * tests/seeking/.cvsignore:
15394 * tests/seeking/Makefile.am:
15395 * tests/seeking/seeking1.c:
15396 * tests/threadstate/.cvsignore:
15397 * tests/threadstate/Makefile.am:
15398 * tests/threadstate/test1.c:
15399 * tests/threadstate/test2.c:
15400 * tests/threadstate/threadstate1.c:
15401 * tests/threadstate/threadstate2.c:
15402 * tests/threadstate/threadstate3.c:
15403 * tests/threadstate/threadstate4.c:
15404 * tests/threadstate/threadstate5.c:
15405 remove obsolete tests
15407 * tests/bench-complexity.scm:
15408 * tests/bench-mass_elements.scm:
15409 * tests/complexity.c:
15410 * tests/complexity.gnuplot:
15411 * tests/instantiate/.cvsignore:
15412 * tests/instantiate/Makefile.am:
15413 * tests/instantiate/caps.c:
15414 * tests/mass_elements.c:
15415 * tests/network-clock-utils.scm:
15416 * tests/network-clock.scm:
15418 First pass at cleaning up tests/ dir before moving the rest
15419 Combined with CVS surgery
15421 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15424 queue has moved, update
15426 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15428 * docs/gst/gstreamer-sections.txt:
15429 remove double entries from the docs
15430 * gst/gst_private.h:
15431 * gst/gstinfo.c: (_gst_debug_init):
15432 remove the THREAD debug category
15436 * docs/gst/gstreamer.types:
15437 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15438 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15439 completely move queue and fix up debugging categories
15441 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15443 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15444 make initialization portable, using LL is not
15446 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15448 * win32/common/gstconfig.h:
15451 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15453 * win32/common/libgstreamer.def:
15454 rename symbols; sort base section
15456 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15458 * gst/gstclock.c: (do_linear_regression):
15459 remove crack non-portable handrolled DEBUG macro
15461 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15463 * docs/random/release:
15465 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15466 (gst_object_flags_get_type), (register_gst_bin_flags),
15467 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15468 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15469 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15470 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15471 (gst_caps_flags_get_type), (register_gst_clock_return),
15472 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15473 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15474 (gst_clock_flags_get_type), (register_gst_state),
15475 (gst_state_get_type), (register_gst_state_change_return),
15476 (gst_state_change_return_get_type), (register_gst_state_change),
15477 (gst_state_change_get_type), (register_gst_element_flags),
15478 (gst_element_flags_get_type), (register_gst_core_error),
15479 (gst_core_error_get_type), (register_gst_library_error),
15480 (gst_library_error_get_type), (register_gst_resource_error),
15481 (gst_resource_error_get_type), (register_gst_stream_error),
15482 (gst_stream_error_get_type), (register_gst_event_type_flags),
15483 (gst_event_type_flags_get_type), (register_gst_event_type),
15484 (gst_event_type_get_type), (register_gst_seek_type),
15485 (gst_seek_type_get_type), (register_gst_seek_flags),
15486 (gst_seek_flags_get_type), (register_gst_format),
15487 (gst_format_get_type), (register_gst_index_certainty),
15488 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15489 (gst_index_entry_type_get_type),
15490 (register_gst_index_lookup_method),
15491 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15492 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15493 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15494 (gst_index_flags_get_type), (register_gst_debug_level),
15495 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15496 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15497 (gst_iterator_result_get_type), (register_gst_iterator_item),
15498 (gst_iterator_item_get_type), (register_gst_message_type),
15499 (gst_message_type_get_type), (register_gst_mini_object_flags),
15500 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15501 (gst_pad_link_return_get_type), (register_gst_flow_return),
15502 (gst_flow_return_get_type), (register_gst_activate_mode),
15503 (gst_activate_mode_get_type), (register_gst_pad_direction),
15504 (gst_pad_direction_get_type), (register_gst_pad_flags),
15505 (gst_pad_flags_get_type), (register_gst_pad_presence),
15506 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15507 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15508 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15509 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15510 (gst_plugin_flags_get_type), (register_gst_rank),
15511 (gst_rank_get_type), (register_gst_query_type),
15512 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15513 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15514 (gst_tag_flag_get_type), (register_gst_task_state),
15515 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15516 (gst_alloc_trace_flags_get_type),
15517 (register_gst_type_find_probability),
15518 (gst_type_find_probability_get_type), (register_gst_uri_type),
15519 (gst_uri_type_get_type), (register_gst_parse_error),
15520 (gst_parse_error_get_type):
15521 * win32/common/gstenumtypes.h:
15522 * win32/common/gstversion.h:
15523 update visual studio generated files
15525 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15527 * win32/vs6/libgstbase.dsp:
15528 * win32/vs6/libgstelements.dsp:
15529 update project files for new locations
15531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15536 reinstate and update
15541 * docs/random/LICENSE:
15544 2005-11-30 Edward Hervey <edward@fluendo.com>
15546 * gst/gsttypefind.c: (gst_type_find_register):
15547 * gst/gsttypefind.h:
15548 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15549 (gst_type_find_factory_dispose):
15550 * gst/gsttypefindfactory.h:
15551 Fix memory leak in GstTypeFindFactory.
15553 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15556 * plugins/elements/Makefile.am:
15557 * plugins/elements/gstelements.c:
15558 * plugins/elements/gstqueue.c:
15559 move queue from core to the elements plugin
15561 2005-11-29 Andy Wingo <wingo@pobox.com>
15563 * libs/gst/base/gstbasetransform.h:
15564 * libs/gst/base/gstbasesrc.h:
15565 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15567 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15568 of pointers by which to pad very extensible base classes (like the
15569 ones in libs/gst/base).
15571 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15573 * docs/gst/gstreamer-docs.sgml:
15574 * docs/gst/gstreamer-sections.txt:
15575 * docs/libs/gstreamer-libs-docs.sgml:
15576 * docs/libs/gstreamer-libs-sections.txt:
15577 moving documentation from core to lib
15579 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15581 * check/Makefile.am:
15583 * docs/gst/Makefile.am:
15585 * gst/base/.cvsignore:
15586 * gst/base/Makefile.am:
15588 * gst/base/gstadapter.c:
15589 * gst/base/gstadapter.h:
15590 * gst/base/gstbasesink.c:
15591 * gst/base/gstbasesink.h:
15592 * gst/base/gstbasesrc.c:
15593 * gst/base/gstbasesrc.h:
15594 * gst/base/gstbasetransform.c:
15595 * gst/base/gstbasetransform.h:
15596 * gst/base/gstcollectpads.c:
15597 * gst/base/gstcollectpads.h:
15598 * gst/base/gstpushsrc.c:
15599 * gst/base/gstpushsrc.h:
15600 * gst/base/gsttypefindhelper.c:
15601 * gst/base/gsttypefindhelper.h:
15602 * gst/check/Makefile.am:
15603 * gst/check/gstcheck.c:
15604 * gst/check/gstcheck.h:
15605 * gst/net/Makefile.am:
15606 * gst/net/gstnet.h:
15607 * gst/net/gstnetclientclock.c:
15608 * gst/net/gstnetclientclock.h:
15609 * gst/net/gstnettimepacket.c:
15610 * gst/net/gstnettimepacket.h:
15611 * gst/net/gstnettimeprovider.c:
15612 * gst/net/gstnettimeprovider.h:
15613 * libs/gst/Makefile.am:
15614 * libs/gst/base/Makefile.am:
15615 * libs/gst/base/gstbasetransform.c:
15616 * libs/gst/check/Makefile.am:
15617 * plugins/elements/Makefile.am:
15619 CVS surgery + support to move base, check, and net out of gst
15622 2005-11-29 Andy Wingo <wingo@pobox.com>
15624 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15626 * gst/gststructure.h (struct _GstStructure): Only one pointer of
15629 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15631 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15633 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15635 * gst/gstobject.h: (struct _GstObject): Only one pointer of
15636 padding; reduces object size by about 30%. We don't expect
15637 anything else to go into gstobject.
15639 * gst/gstminiobject.h (struct _GstMiniObject)
15640 (struct _GstMiniObjectClass): Only one pointer of padding; the
15641 payload is only a pointer and two ints anyway. For the class there
15642 are only two methods as well.
15644 * gst/gstelement.h (struct _GstElementClass): Removed
15645 the state_changed signal callback, it is not used.
15647 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15649 * docs/gst/gstreamer.types:
15650 fix includes, though they are a little dinky
15652 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15654 * check/Makefile.am:
15655 look in the right place for elements, a lot more chance of
15658 remove indexers and elements subdirs
15659 * plugins/Makefile.am:
15660 make indexers conditional
15662 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15666 * plugins/elements/Makefile.am:
15667 * plugins/elements/gstcapsfilter.c:
15668 * plugins/elements/gstfilesink.c:
15669 * plugins/elements/gstfilesrc.c:
15670 * plugins/elements/gstidentity.c:
15671 * plugins/indexers/Makefile.am:
15672 do CVS surgery and related build fixery to move elements
15673 and indexers in a new gstreamer/plugins directory, out of the
15676 2005-11-29 Andy Wingo <wingo@pobox.com>
15678 * check/Makefile.am:
15679 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15680 * pkgconfig/gstreamer-net.pc.in:
15681 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15684 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15686 * tools/Makefile.am:
15687 * tools/gst-complete.1.in:
15688 * tools/gst-complete.c:
15689 * tools/gst-compprep.1.in:
15690 * tools/gst-compprep.c:
15691 removing -compprep and -complete
15693 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
15695 * gst/gstevent.c: (gst_event_new_new_segment),
15696 (gst_event_parse_new_segment):
15698 fix #320529 - clean up new_segment API and structure.
15699 Let's hope everyone was using the methods, and not the structure.
15701 2005-11-29 Edward Hervey <edward@fluendo.com>
15703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15704 (gst_base_sink_event), (gst_base_sink_do_sync),
15705 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15706 Properly handle non GST_FORMAT_TIME segment
15707 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15708 Properly handle non GST_FORMAT_TIME segment
15709 * gst/gstsegment.c:
15710 This function is valid if the accumulator is 0 and the format
15711 is different from the requested format.
15713 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15715 * docs/gst/gstreamer-sections.txt:
15716 Add gst_query_new_seeking and gst_query_parse_seeking to the
15719 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
15721 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15722 Treat a pad alloc with new caps the same as if we were not
15723 negotiated, in order to allow a changing upstream output
15724 to produce a new format of data.
15726 2005-11-29 Edward Hervey <edward@fluendo.com>
15728 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15729 (gst_base_transform_event), (gst_base_transform_eventfunc):
15730 The event virtual method is now properly implemented, with a default
15732 Sub classes should call the parent_class event method. They should
15733 return FALSE if they had a problem handling the given event, or don't
15734 want GstBaseTransform to send that even downstream
15735 * gst/elements/gstidentity.c: (gst_identity_class_init),
15736 (gst_identity_init), (gst_identity_event),
15737 (gst_identity_transform_ip), (gst_identity_set_property),
15738 (gst_identity_get_property):
15739 * gst/elements/gstidentity.h:
15740 Added the single-segment boolean property.
15741 If set to TRUE, it will output a single segment of data, starting from
15742 0, will eat up all incoming newsegment, and modify the timestamp of the
15743 buffers accordingly
15745 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
15747 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15748 Don't ref NULL target pad (#322751). Improve docs.
15750 2005-11-29 Michael Smith <msmith@fluendo.com>
15752 * gst/gstregistryxml.c: (load_plugin):
15753 Don't crash if we failed to load a feature from a plugin.
15755 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15757 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15759 use more check API and less GLib API
15761 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15764 don't run checks if we don't have check
15765 * common/check.mak:
15766 remove the registry when running make torture
15767 * docs/gst/gstreamer-sections.txt:
15768 remove second multiply
15769 * gst/gstqueue.c: (gst_queue_loop):
15770 fix a compile warning when disabling debug
15772 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15775 Hey! Let's print the pad name if the pointer != NULL instead
15776 of when it == NULL :-)
15778 2005-11-28 Wim Taymans <wim@fluendo.com>
15780 * check/gst/gstutils.c: (GST_START_TEST):
15781 Updated check, add some scaling accuracy checking code.
15783 * gst/gstutils.c: (gst_util_div128_64),
15784 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15785 (gst_util_uint64_scale_int):
15786 Fix 6 times faster division code. Optimize for common
15787 1/1 and less common X/1 cases.
15789 2005-11-28 Wim Taymans <wim@fluendo.com>
15791 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15794 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15795 (do_linear_regression), (gst_clock_add_observation):
15797 Release lock when the clock cannot be slaved.
15798 Catch the case where the regression returned an invalid denominator.
15800 * gst/gstutils.c: (gst_util_div128_64_iterate),
15801 (gst_util_div128_64), (gst_util_uint64_scale_int64),
15802 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15803 Add protentially more performant non-iterative 128/64 divide function
15804 that unfortunatly does not work yet.
15805 Shortcut the trivial 0/X = 0 case.
15806 Remove the warnings on overflow.
15808 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15810 * gst/gstplugin.c: (gst_plugin_register_func):
15811 everything causing a plugin not to load should be at least a WARNING
15813 2005-11-28 Stefan Kost <ensonic@users.sf.net>
15815 * docs/random/ensonic/dparams.txt:
15816 some TODOs for the next dev cycle
15817 * libs/gst/controller/gstcontroller.c:
15818 (gst_controlled_property_set_interpolation_mode),
15819 (gst_controlled_property_new):
15820 * libs/gst/controller/gstcontroller.h:
15821 use base type to assign acccessor functions
15823 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15825 * check/Makefile.am:
15826 Oops, that should have been top_srcdir
15828 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15830 * check/Makefile.am:
15831 * check/elements/fdsrc.c: (GST_START_TEST):
15832 Use a cmdline define to specify the location of a file to use for
15833 testing, to avoid breaking distcheck.
15835 2005-11-28 Andy Wingo <wingo@pobox.com>
15837 * gst/gstpad.c (fixate_value): Use array functions for arrays.
15839 2005-11-28 Edward Hervey <edward@fluendo.com>
15841 * tools/gst-launch.c: (main):
15842 Clarify the output strings, makes it easier to translate.
15845 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15848 don't try and build net if we don't even have <sys/socket.h>
15850 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15852 * check/Makefile.am:
15853 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15854 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15855 Add tests for fdsrc seekability
15857 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15858 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15859 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15860 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15861 * gst/elements/gstfdsrc.h:
15862 fdsrc should not be a 'live' source.
15863 Implement seeking on seekable fd's.
15865 * gst/gstquery.c: (gst_query_new_seeking),
15866 (gst_query_parse_seeking):
15868 Implement SEEKING query functions:
15869 *_new_seeking and *_parse_seeking
15871 2005-11-27 Stefan Kost <ensonic@users.sf.net>
15873 * gst/gstelement.c: (gst_element_dispose):
15876 * gst/gstiterator.c:
15877 * gst/gststructure.c:
15880 * libs/gst/controller/gstcontroller.c:
15881 (gst_controlled_property_set_interpolation_mode):
15882 * libs/gst/controller/gstcontroller.h:
15883 * libs/gst/controller/gstinterpolation.c:
15884 (interpolate_none_get_enum_value_array):
15885 support controlling enums
15887 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15890 Improve documentation for gst_value_union().
15893 Change return value for union, intersect and subtract functions
15894 from gint to gboolean.
15896 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15898 * gst/gstvalue.c: (gst_value_serialize_any_list),
15899 (gst_value_transform_any_list_string),
15900 (gst_value_deserialize_list), (gst_value_deserialize_array),
15901 (gst_value_set_int_range), (gst_value_deserialize_int_range),
15902 (gst_value_set_double_range), (gst_value_deserialize_double_range),
15903 (gst_value_set_fraction_range_full),
15904 (gst_value_deserialize_fraction_range),
15905 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15906 (gst_value_deserialize_boolean),
15907 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15908 (gst_value_serialize_float), (gst_value_deserialize_float),
15909 (gst_string_wrap), (gst_value_deserialize_string),
15910 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15911 (gst_value_union_int_range_int_range),
15912 (gst_value_intersect_int_range_int_range),
15913 (gst_value_intersect_double_range_double_range),
15914 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15915 (gst_value_subtract_int_range_int_range),
15916 (gst_value_subtract_double_double_range),
15917 (gst_value_subtract_double_range_double_range),
15918 (gst_value_deserialize_fraction):
15920 Use gint, gdouble and gchar in our API instead of int, double and
15921 char (and make usage in gstvalue.c more consistent).
15923 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15925 * check/Makefile.am:
15926 * libs/gst/controller/Makefile.am:
15927 * libs/gst/dataprotocol/Makefile.am:
15928 fix up Makefile.am and remove GST_ENABLE_NEW
15930 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15934 * gst/base/Makefile.am:
15935 * gst/check/Makefile.am:
15936 * gst/elements/Makefile.am:
15937 * gst/net/Makefile.am:
15938 update LDFLAGS use some more
15940 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15942 * common/m4/gst-doc.m4:
15945 2005-11-26 Edward Hervey <edward@fluendo.com>
15947 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15948 This shouldn't issue a g_warning since it returns NULL if it
15949 couldn't find the plugin, and all functions using this behave
15950 properly on a NULL return. Switching to a GST_WARNING.
15952 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
15954 * gst/gstbin.c: (gst_bin_handle_message_func):
15955 Don't leak clock messages.
15957 2005-11-25 Wim Taymans <wim@fluendo.com>
15959 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15960 (gst_util_uint64_scale_int):
15961 Optimisations, remove unneeded vars.
15963 2005-11-25 Wim Taymans <wim@fluendo.com>
15965 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15966 Added more checks for the high precision uint64 cases.
15968 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15969 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15970 Implement high precision (guint64 * guint64) / guint64.
15972 2005-11-24 Wim Taymans <wim@fluendo.com>
15974 * gst/base/gstbasesrc.c: (gst_base_src_query):
15975 Fix wrong percentage query.
15977 * gst/gstutils.c: (gst_util_uint64_scale),
15978 (gst_util_uint64_scale_int):
15979 Add some more common cases that can be handled
15980 efficiently to _scale.
15982 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15984 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15985 (gst_mini_object_suite):
15986 don't use check calls from threads; check probably isn't
15987 threadsafe and using a lock to make it threadsafe would
15988 defeat the purpose of this check
15989 * gst/check/gstcheck.c:
15990 * gst/check/gstcheck.h:
15991 use GST_DEBUG some more
15993 2005-11-24 Wim Taymans <wim@fluendo.com>
15995 * gst/gstutils.c: (gst_util_uint64_scale),
15996 (gst_util_uint64_scale_int):
15997 Chain trivial case to _scale_int.
15999 2005-11-24 Wim Taymans <wim@fluendo.com>
16001 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16002 Added test for scaling.
16007 * gst/gstutils.c: (gst_util_uint64_scale_int):
16008 Implemented high precision scaling code.
16010 2005-11-24 Stefan Kost <ensonic@users.sf.net>
16013 do not crash on pad==NULL
16015 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16017 Patch by: Stefan Kost
16019 * common/gtk-doc.mak:
16020 * docs/gst/Makefile.am:
16021 * docs/libs/Makefile.am:
16022 Fix distcheck issues for the libraries docs build
16025 2005-11-24 Michael Smith <msmith@fluendo.com>
16027 * docs/manual/basics-helloworld.xml:
16028 Fix bug #315027: memory leak in example code in docs.
16030 2005-11-24 Michael Smith <msmith@fluendo.com>
16032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16033 Unlock the PREROLL_LOCK in a failure case.
16035 2005-11-24 Wim Taymans <wim@fluendo.com>
16037 * docs/gst/gstreamer-sections.txt:
16038 * gst/base/gstadapter.h:
16039 * gst/base/gstbasesink.h:
16040 * gst/base/gstbasesrc.h:
16041 * gst/base/gstbasetransform.h:
16042 * gst/base/gstpushsrc.h:
16043 * gst/elements/gstfakesink.h:
16044 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16045 * gst/elements/gstfakesrc.h:
16046 * gst/elements/gstfilesink.h:
16047 * gst/elements/gstfilesrc.h:
16050 * gst/gstbuffer.c: (_gst_buffer_copy):
16053 * gst/gstchildproxy.c:
16055 * gst/gstelement.c:
16056 * gst/gstelementfactory.c:
16057 * gst/gstelementfactory.h:
16059 * gst/gstghostpad.h:
16061 * gst/gstinterface.h:
16062 * gst/gstminiobject.c:
16063 * gst/gstminiobject.h:
16066 * gst/gstpadtemplate.h:
16067 * gst/gstpipeline.h:
16068 * gst/gstpluginfeature.h:
16071 * gst/gsttaglist.c:
16072 * gst/gsttaglist.h:
16073 * gst/gsttagsetter.c:
16074 * gst/gsttagsetter.h:
16077 * gst/gsttypefind.h:
16080 * gst/net/gstnetclientclock.c:
16081 * gst/net/gstnetclientclock.h:
16082 * gst/net/gstnettimepacket.c:
16083 * gst/net/gstnettimeprovider.c:
16084 * gst/net/gstnettimeprovider.h:
16087 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16089 * configure.ac: back to HEAD
16091 === release 0.9.6 ===
16093 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16096 releasing 0.9.6, "Always On Time"
16098 2005-11-23 Wim Taymans <wim@fluendo.com>
16100 * docs/gst/gstreamer-sections.txt:
16101 * gst/glib-compat.c:
16102 * gst/gsttagsetter.c:
16104 * gst/net/gstnetclientclock.c:
16105 * gst/net/gstnettimepacket.h:
16108 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16110 * docs/faq/using.xml:
16111 * docs/libs/tmpl/gstcontrol.sgml:
16112 * docs/manual/advanced-dparams.xml:
16113 * docs/manual/appendix-checklist.xml:
16114 * docs/manual/basics-elements.xml:
16115 * docs/pwg/other-source.xml:
16116 * docs/random/moving-plugins:
16118 * tools/gst-launch.1.in:
16119 remove mentions of sinesrc
16121 2005-11-23 Michael Smith <msmith@fluendo.com>
16123 * docs/gst/gstreamer-sections.txt:
16124 Update for new API and API changes.
16126 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16128 Documentation typo fix.
16129 * gst/net/gstnettimepacket.c:
16130 Documentation fixes for arguments.
16132 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
16134 * gst/gststructure.c: (gst_structure_get_fraction),
16135 (gst_structure_parse_value),
16136 (gst_structure_fixate_field_nearest_fraction):
16137 * gst/gststructure.h:
16138 * gst/gstutils.c: (gst_util_uint64_scale_int):
16140 * scripts/update-funcnames:
16142 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16143 Make gst_structure_fixate_field_nearest_fraction take a numerator
16144 and denominator argument instead of a GValue
16145 add gst_structure_get_fraction helper function.
16147 2005-11-23 Wim Taymans <wim@fluendo.com>
16149 * docs/design/part-TODO.txt:
16152 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16153 * gst/net/gstnetclientclock.h:
16154 Use parent fields for timeout and window_size.
16156 2005-11-23 Andy Wingo <wingo@pobox.com>
16158 * check/net/gstnetclientclock.c (test_functioning): Adjust to
16159 rate_num/rate_denom change.
16161 * gst/net/gstnetclientclock.c
16162 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16163 OBJECT_LOCK. Don't call add_observation with the lock.
16165 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16167 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16169 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16170 deal with rate as a fraction whose numerator and denominator are
16171 GstClockTime values.
16172 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16173 master; the other fields are protected by the SLAVE_LOCK.
16174 (do_linear_regression): Note that this must be called with the
16176 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16177 OBJECT_LOCK. Call set_calibration instead of touching the
16178 variables directly.
16179 (gst_clock_set_property, gst_clock_get_property): Protect
16180 master/slave parameters with the SLAVE_LOCK.
16182 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16183 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16184 note that all of the instance variables that add_observation and
16185 the set_master functions use are protected by that lock and not
16187 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16189 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16190 the caller to take the object lock.
16192 2005-11-23 Wim Taymans <wim@fluendo.com>
16194 * gst/gsterror.c: (_gst_core_errors_init):
16196 Add error for clock stuff.
16198 * gst/gstpipeline.c: (gst_pipeline_change_state),
16199 (gst_pipeline_set_clock):
16200 Post clock error when clock cannot be used in a pipeline.
16202 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16204 * docs/gst/gstreamer-sections.txt:
16205 make two symbols from gstinfo private for the docs
16206 * gst/base/gstcollectpads.h:
16208 fix doc typos, update docs
16210 2005-11-22 Wim Taymans <wim@fluendo.com>
16212 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16213 (gst_base_sink_wait), (gst_base_sink_do_sync),
16214 (gst_base_sink_handle_event):
16215 * gst/base/gstbasesink.h:
16216 No need to store the clock, the parent element class already
16219 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16220 Updates for clock_set returning a gboolean
16222 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16223 (gst_clock_id_wait_async), (gst_clock_class_init),
16224 (gst_clock_init), (gst_clock_finalize),
16225 (gst_clock_get_internal_time), (gst_clock_get_time),
16226 (gst_clock_slave_callback), (gst_clock_set_master),
16227 (gst_clock_get_master), (do_linear_regression),
16228 (gst_clock_add_observation), (gst_clock_set_property),
16229 (gst_clock_get_property):
16231 Implement master/slave. When setting a clock as a slave, a
16232 periodic timeout is scheduled to sample master and slave times.
16233 Then the slave clock is recalibrated to match offset and rate
16234 of the master clock.
16235 Update logging a bit.
16236 Add flag so that a clock can state that is cannot be slaved to
16239 * gst/gstelement.c: (gst_element_set_clock):
16240 * gst/gstelement.h:
16241 The set clock returns a gboolean for when an element cannot
16242 deal with the selected clock in the pipeline.
16244 * gst/gstpipeline.c: (gst_pipeline_change_state),
16245 (gst_pipeline_set_clock):
16246 * gst/gstpipeline.h:
16247 Handle the case where the selected clock cannot be set on
16250 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16251 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16252 (gst_net_client_clock_set_property),
16253 (gst_net_client_clock_get_property),
16254 (gst_net_client_clock_observe_times):
16255 * gst/net/gstnetclientclock.h:
16256 Use regression code in GstClock parent, remove duplicated
16259 2005-11-22 Michael Smith <msmith@fluendo.com>
16261 * gst/gstutils.c: (gst_util_clock_time_scale):
16263 * docs/gst/gstreamer-sections.txt:
16264 Rename method to have extra underscore.
16266 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16268 * gst/elements/Makefile.am:
16269 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16270 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16271 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16272 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16273 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16274 * gst/elements/gstfakesrc.h:
16275 * gst/gstqueue.c: (queue_leaky_get_type):
16276 correctly fix GEnumValues so that nick is the short lowercase
16278 * tools/gst-inspect.c: (print_element_properties_info):
16279 also show the nick, since it's useful to use from parse_launch
16283 2005-11-22 Michael Smith <msmith@fluendo.com>
16285 * gst/gstutils.c: (gst_util_clocktime_scale):
16287 * docs/gst/gstreamer-sections.txt:
16288 Add util method for scaling a clocktime by a fraction. Useful
16289 implementation is left as an exercise for the reader.
16291 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16293 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16294 If needed, allocate storage in the destination value during
16297 2005-11-22 Edward Hervey <edward@fluendo.com>
16299 * docs/gst/gstreamer-sections.txt:
16302 * gst/gsturitype.c:
16303 * gst/gsturitype.h:
16304 * gst/gstutils.c: (gst_util_set_object_arg):
16305 * tools/gst-compprep.c: (main):
16306 * tools/gst-inspect.c: (print_element_properties_info):
16307 Removed GstURI, closes bug #321061
16309 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16311 * check/gst/gststructure.c: (GST_START_TEST):
16312 * gst/gststructure.c: (gst_structure_parse_value):
16313 Oops, broke automatic string type parsing.
16314 Add a test to catch it in future.
16316 2005-11-22 Andy Wingo <wingo@pobox.com>
16318 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16319 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16320 Actually rename the function implementations. Grr.
16322 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16324 * check/gst/capslist.h:
16326 * check/gst/gststructure.c: (GST_START_TEST),
16327 (gst_structure_suite):
16328 Test automatic value type detection in gst_structure_from_string.
16329 * gst/gststructure.c: (gst_structure_parse_value):
16330 Add fraction as a type we try and guess automatically in
16331 caps/structure strings.
16333 2005-11-22 Andy Wingo <wingo@pobox.com>
16335 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16337 * gst/gsttagsetter.h:
16338 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16339 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16340 (gst_tag_setter_add_tag_valist)
16341 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16342 _add_values, _add_valist, and _add_valist_values. Since this is an
16343 interface the function suffixes should be more explicit so
16344 language binding don't end up with element.add_valist ->
16345 gst_tag_setter_add_valist, for example. Fixes #322069.
16347 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16349 * check/gst/gstcaps.c: (GST_START_TEST):
16350 Extend caps string tests to check that a caps to string
16351 conversion is reversible and produces the same caps.
16353 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16354 Output "fraction" as the generic type fraction range, so caps
16355 serialisation and deserialisation works.
16356 * check/gst/capslist.h:
16357 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16358 Support 'MIN' and 'MAX' for deserialising fractions.
16360 2005-11-22 Andy Wingo <wingo@pobox.com>
16362 * gst/gstevent.h (gst_event_new_new_segment)
16363 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16364 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16365 Renamed from *_newsegment, *_buffersize, *_notarget.
16367 * scripts/update-funcnames: New script, performs the changes
16370 2005-11-22 Wim Taymans <wim@fluendo.com>
16372 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16373 Make sure the GstFlowReturn is returned.
16375 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16376 (gst_bus_add_signal_watch):
16378 add gst_bus_add_signal_watch_full.
16380 * gst/gstplugin.c: (gst_plugin_load_file):
16381 Small style cleanup.
16383 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16385 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16386 Block the fakesrc srcpad when we send an event, to avoid
16387 contention on the stream_lock causing random test failures.
16389 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16391 * check/gst/gstvalue.c: (GST_START_TEST):
16392 * gst/gstvalue.c: (gst_value_fraction_subtract):
16395 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16398 include "gstchildproxy.h"
16399 * gst/gstchildproxy.h:
16400 * libs/gst/controller/gstcontroller.h:
16401 use G_GNUC_NULL_TERMINATED
16403 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16405 * check/gst/capslist.h:
16406 * check/gst/gstcaps.c: (GST_START_TEST):
16407 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16408 * gst/gststructure.c: (gst_structure_parse_range),
16409 (gst_structure_fixate_field_nearest_fraction):
16410 * gst/gststructure.h:
16411 * gst/gstvalue.c: (gst_value_init_fraction_range),
16412 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16413 (gst_value_collect_fraction_range),
16414 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16415 (gst_value_set_fraction_range_full),
16416 (gst_value_get_fraction_range_min),
16417 (gst_value_get_fraction_range_max),
16418 (gst_value_serialize_fraction_range),
16419 (gst_value_transform_fraction_range_string),
16420 (gst_value_compare_fraction_range),
16421 (gst_value_deserialize_fraction_range),
16422 (gst_value_intersect_fraction_fraction_range),
16423 (gst_value_intersect_fraction_range_fraction_range),
16424 (gst_value_subtract_fraction_fraction_range),
16425 (gst_value_subtract_fraction_range_fraction),
16426 (gst_value_subtract_fraction_range_fraction_range),
16427 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16428 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16429 (gst_value_transform_string_fraction), (_gst_value_initialize):
16431 Implement fraction ranges and extend GstFraction to support
16432 arithmetic subtraction, as well as deserialization from integer
16433 strings such as "100"
16434 Add a testsuite as for int and double range set operations
16436 2005-11-21 Andy Wingo <wingo@pobox.com>
16438 * gst/gsttaglist.h:
16440 * gst/gststructure.h: Add glib-compat.h.
16442 2005-11-21 Wim Taymans <wim@fluendo.com>
16444 * gst/gstbin.c: (gst_bin_change_state_func):
16447 2005-11-21 Wim Taymans <wim@fluendo.com>
16449 * gst/gstsegment.h:
16450 And add a nice define too.
16452 2005-11-21 Wim Taymans <wim@fluendo.com>
16454 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16455 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16456 (gst_segment_set_duration), (gst_segment_set_last_stop),
16457 (gst_segment_set_seek), (gst_segment_set_newsegment),
16458 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16459 (gst_segment_clip):
16460 * gst/gstsegment.h:
16461 Make binding friendly.
16463 2005-11-21 Andy Wingo <wingo@pobox.com>
16465 * gst/gsttagsetter.h:
16466 * gst/gsttaglist.h:
16467 * gst/gststructure.h:
16469 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16472 * gst/gsterror.c (_gst_core_errors_init):
16473 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16476 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16477 (noinst_HEADERS): noinst the -private.
16479 2005-11-21 Michael Smith <msmith@fluendo.com>
16482 * gst/gstregistry.h:
16483 Remove unimplemented declarations for which we can see no sensible
16486 2005-11-21 Andy Wingo <wingo@pobox.com>
16488 * gst/gst.h: Include glib-compat.h.
16490 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16492 * gst/glib-compat.c: Include the public and the private header.
16494 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16498 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16500 * check/gst/gstevent.c (create_custom_events): Check that
16501 FLUSH_STOP is serialized.
16503 * check/elements/identity.c (event_func):
16504 * check/elements/fakesrc.c (event_func): No stream lock, the core
16507 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16508 stream lock taking, yay.
16510 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16511 ensure that core takes the stream lock.
16513 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16516 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16517 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16518 it already. For the flush start we do take it though so we get the
16519 right preroll state change messages.
16521 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16522 the stream lock here, the core does it for us.
16524 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16525 GST_STREAM_GET_LOCK.
16526 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16527 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16528 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16529 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16530 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16531 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16533 * gst/gstpad.c: Update for stream lock name change.
16535 * gst/base/gstbasesink.c: Update for preroll lock name change.
16537 2005-11-21 Wim Taymans <wim@fluendo.com>
16539 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16540 (gst_clock_get_master):
16542 * gst/gstsystemclock.c: (gst_system_clock_init):
16543 Convert Clock flags to object flags.
16544 Added methods to manage master/slave clocks.
16546 2005-11-21 Wim Taymans <wim@fluendo.com>
16548 * check/gst/gstsegment.c: (GST_START_TEST):
16549 * docs/design/part-TODO.txt:
16550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16551 (gst_base_sink_event), (gst_base_sink_do_sync),
16552 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16553 (gst_base_sink_query), (gst_base_sink_change_state):
16554 * gst/base/gstbasesink.h:
16555 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16556 (gst_base_src_default_newsegment),
16557 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16558 (gst_base_src_get_range), (gst_base_src_loop),
16559 (gst_base_src_change_state):
16560 * gst/base/gstbasesrc.h:
16561 * gst/base/gstbasetransform.c:
16562 (gst_base_transform_prepare_output_buf),
16563 (gst_base_transform_event), (gst_base_transform_change_state):
16564 * gst/base/gstbasetransform.h:
16565 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16566 (gst_collect_pads_event):
16567 * gst/base/gstcollectpads.h:
16568 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16569 (gst_fake_src_create):
16570 * gst/elements/gstfakesrc.h:
16571 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16572 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16573 (gst_segment_set_last_stop), (gst_segment_set_seek),
16574 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16575 (gst_segment_to_running_time), (gst_segment_clip):
16576 * gst/gstsegment.h:
16577 More segment updates, replace code in plugins with segment
16580 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16582 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16583 Don't ignore sscanf results
16585 2005-11-21 Andy Wingo <wingo@pobox.com>
16587 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16590 * *.c: Ran scripts/update-macros. Oh yes.
16592 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16593 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16596 * scripts/update-macros: New script. Run it on your files to
16597 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16600 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16602 * docs/gst/Makefile.am:
16603 * docs/gst/gstreamer-docs.sgml:
16604 * docs/gst/gstreamer-sections.txt:
16605 * docs/gst/gstreamer.types:
16607 more docs fixes, add new api to the docs
16609 2005-11-21 Andy Wingo <wingo@pobox.com>
16611 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16612 state_broadcast call.
16614 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16616 2005-11-21 Julien MOUTTE <julien@moutte.net>
16618 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16619 function calls for arrays.
16621 2005-11-21 Stefan Kost <ensonic@users.sf.net>
16623 * docs/random/ensonic/media-device-daemon.txt:
16624 wild idea, can this be done?
16625 * docs/gst/gstreamer-sections.txt:
16630 * gst/gstpluginfeature.c:
16634 doc fixes and additions
16636 2005-11-21 Andy Wingo <wingo@pobox.com>
16638 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
16639 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
16640 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
16641 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16642 private to the basesrc implementation.
16644 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16645 behalf of event function if necessary. It should no longer be
16646 necessary to take the stream lock in pad's event functions. Fixes
16649 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16650 * docs/gst/gstreamer-sections.txt:
16651 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16652 (gst_structure_fixate_field_nearest_double),
16653 (gst_structure_fixate_field_boolean):
16654 * gst/gststructure.h:
16655 * win32/common/libgstreamer.def:
16656 * win32/gstreamer.def:
16658 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16661 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
16663 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16664 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16665 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16666 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16667 (gst_fdsrc_uri_handler_init):
16668 * gst/elements/gstfdsrc.h:
16669 Port fd:// URI handler from 0.8 to fdsrc
16671 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16673 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16674 (gst_value_serialize_fourcc):
16676 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16677 consistent with our other format defines (#320324).
16679 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16681 * gst/gstvalue.c: (gst_value_is_fixed):
16682 Revert previous commit. Value lists are by definition
16683 not fixed, as they are a list of possible values.
16685 2005-11-21 Andy Wingo <wingo@pobox.com>
16687 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16688 during the stable series if we need it. Fixes #319178.
16690 * gst/gstevent.c (gst_event_new_filler): Removed.
16692 * check/gst/gstevent.c: Update comment about filler events.
16694 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16696 * gst/gstvalue.c: (gst_value_is_fixed):
16697 Should handle both value arrays and value lists.
16699 2005-11-21 Andy Wingo <wingo@pobox.com>
16701 patch by: Alessandro Dessina <alessandro nnva org>
16703 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16704 functions to access arrays. Fixes #321962.
16706 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16708 * docs/gst/gstreamer.types:
16709 gst_collectpads_get_type => gst_collect_pads_get_type.
16711 * gst/base/gstbasetransform.c:
16712 Remove unused SIGNAL_HANDOFF enum.
16714 2005-11-21 Andy Wingo <wingo@pobox.com>
16716 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16717 the event type (upstream, downstream, serialized). Renamed
16718 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16719 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16720 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16722 * gst/gstevent.c: Update for new CUSTOM event names.
16724 * check/gst/gstevent.c: Update check for new CUSTOM event names.
16727 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16730 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16732 * docs/gst/gstreamer-sections.txt:
16733 * win32/common/libgstbase.def:
16734 * win32/libgstbase.def:
16735 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16736 (gst_collect_pads_class_init), (gst_collect_pads_init),
16737 (gst_collect_pads_finalize), (gst_collect_pads_new),
16738 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16739 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16740 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16741 (gst_collect_pads_start), (gst_collect_pads_stop),
16742 (gst_collect_pads_peek), (gst_collect_pads_pop),
16743 (gst_collect_pads_available), (gst_collect_pads_read),
16744 (gst_collect_pads_flush), (gst_collect_pads_event),
16745 (gst_collect_pads_chain):
16746 * gst/base/gstcollectpads.h:
16747 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16748 unimplemented functions as unimplemented. Add padding to
16749 GstCollectData. (#320766, #320423)
16751 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
16753 * gst/gstmessage.c:
16754 Improve docs for DURATION message (usage of duration parameter)
16757 2005-11-20 Wim Taymans <wim@fluendo.com>
16759 * check/Makefile.am:
16760 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16764 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16765 (gst_segment_set_seek), (gst_segment_set_newsegment),
16766 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16767 (gst_segment_clip):
16768 * gst/gstsegment.h:
16769 Added segment helper structure and methods. Not fully implemented
16771 Added segment check.
16773 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
16775 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16776 Add a deserialisation test for fractions
16777 * examples/metadata/read-metadata.c: (message_loop),
16778 (make_pipeline), (main):
16779 Fix up metadata reading sample.
16780 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16782 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16783 Don't try and fixate empty caps
16784 * gst/gst_private.h:
16785 Wrap in G_BEGIN_DECLS/G_END_DECLS
16786 * gst/gstvalue.c: (gst_value_collect_fraction),
16787 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16788 (gst_value_transform_string_fraction),
16789 (gst_value_compare_fraction):
16790 Add some extra guards to ensure that we don't end up
16791 with an invalid denominator of 0 in a gstfraction and
16792 that fractions always get reduced.
16794 2005-11-20 Wim Taymans <wim@fluendo.com>
16796 * docs/gst/gstreamer-sections.txt:
16798 * gst/gstelement.c:
16807 2005-11-20 Wim Taymans <wim@fluendo.com>
16809 * docs/design/part-TODO.txt:
16811 Make a proper enum of the flag.
16813 2005-11-19 Wim Taymans <wim@fluendo.com>
16815 * docs/design/part-TODO.txt:
16816 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16817 (gst_format_to_quark), (gst_format_register):
16819 * gst/gstquery.c: (_gst_query_initialize),
16820 (gst_query_type_get_name), (gst_query_type_to_quark),
16821 (gst_query_type_register):
16823 Add type to quark and type to string conversions.
16825 2005-11-19 Andy Wingo <wingo@pobox.com>
16827 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16830 2005-11-19 Wim Taymans <wim@fluendo.com>
16832 * docs/design/part-TODO.txt:
16833 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16834 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16835 (gst_bin_handle_message_func):
16837 Make message handling overridable.
16839 2005-11-19 Andy Wingo <wingo@pobox.com>
16841 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16844 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16846 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16847 is a GstClockTime. Fixes #321710.
16849 * gst/gstclock.h (GstClock): Remove offset property. Add
16850 internal_calibration and external_calibration. Fix padding. Pad
16851 also by GstClockTime so we don't run into problems.
16853 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16854 (gst_clock_get_rate_offset): Remove.
16855 (gst_clock_set_time_adjust): Remove. Fixes #321712.
16858 * gst/gstutils.c (g_static_rec_cond_wait)
16859 (g_static_rec_cond_timed_wait): Removed, no longer needed.
16861 * gst/gstbin.c: Remove terrible continue_state prototype.
16863 * gst/gstelement.h (gst_element_continue_state): Make public.
16865 * gst/gstelement.h:
16866 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16867 by continue_state. Fixes #319389.
16869 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16870 Really fixes #168438. However I don't see anywhere where the
16871 filter function is called... stupid GStreamer...
16873 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16874 don't have a dispose function, so it won't get called when the
16875 object is unreffed, but oh well!
16877 * gst/gstindex.c (gst_index_set_filter_full): New API function,
16878 allows a destroy function to be set so user_data can be freed.
16880 (gst_index_set_filter): Call gst_index_set_filter_full.
16882 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16884 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16885 string should produce an error, given the lack of a way to
16886 represent NULL strings. Fixes #165650.
16889 * gst/gstvalue.c (gst_value_array_append_value)
16890 (gst_value_array_prepend_value, gst_value_array_get_size)
16891 (gst_value_array_get_value): New API, copied from
16892 gst_value_list_*, only operates on arrays.
16893 (gst_value_list_append_value, gst_value_list_prepend_value)
16894 (gst_value_list_concat, gst_value_list_get_size)
16895 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16897 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16898 init_list, because it works on both.
16899 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16900 (gst_value_copy_list_or_array): Renamed from copy_list.
16901 (gst_value_free_list_or_array): Renamed from free_list.
16902 (gst_value_collect_list_or_array): Renamed from collect_list.
16903 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16904 (gst_value_list_or_array_peek_pointer): Renamed from
16906 (_gst_value_array_value_table, _gst_value_list_value_table):
16907 Update value table functions.
16908 (gst_value_compare_list_or_array): Renamed from compare_list.
16910 * gsttaglist.h: Whoops, foreach function returns void. Also fix
16913 * gst/gsttaglist.c:
16914 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16915 GstTagList*. Fixes #143472.
16917 * gst/gststructure.h: Clarify what the foreach/map functions can
16918 or can't do to their arguments.
16920 2005-11-18 Wim Taymans <wim@fluendo.com>
16922 * gst/gstclock.c: (gst_clock_set_calibration),
16923 (gst_clock_get_calibration):
16925 Calibration can be set with internal time equal to current
16928 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
16934 2005-11-18 Andy Wingo <wingo@pobox.com>
16937 * pkgconfig/gstreamer-net.pc.in:
16938 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16939 * pkgconfig/Makefile.am: Add net pkgconfig files.
16941 2005-11-18 Stefan Kost <ensonic@users.sf.net>
16944 * gst/gstghostpad.c:
16950 2005-11-18 Andy Wingo <wingo@pobox.com>
16952 * gst/net/gstnetclientclock.c: Turn off debugging.
16954 * check/net/gstnetclientclock.c (test_functioning): Assert that the
16955 times connverge somewhat. Can't make a real test.
16957 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16958 integer arithmetic. Return the minimum of the domain, which can be
16959 set as "internal" for gst_clock_set_calibration.
16960 (gst_net_client_clock_observe_times): Call _set_calibration.
16961 (gst_net_client_clock_new): Call _set_calibration instead of
16964 * check/net/gstnetclientclock.c (test_functioning): Use the right
16968 * gst/gstclock.c (gst_clock_get_calibration)
16969 (gst_clock_set_calibration): New functions, obsolete the ones I
16970 added yesterday. Doh. Precision issues mean we have to extrapolate
16971 from a point in the more recent past than 1970.
16972 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16974 (gst_clock_adjust_unlocked): Use the right calibration data.
16976 2005-11-18 Edward Hervey <edward@fluendo.com>
16978 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16979 Also reset the ->current_* values in READY->PAUSED
16981 2005-11-18 Andy Wingo <wingo@pobox.com>
16983 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16984 Whoops, check the right fd. Also add some debugging.
16985 (gst_net_client_clock_observe_times): Adjust for int64 offset.
16986 (do_linear_regression): Add a crapload of debugging. Subtract off
16987 the minimum values from the input series to discard unneeded bits.
16988 Use only int arithmetic. There is still double arithmetic when
16989 calculating the intercept that needs fixing. Return boolean to
16990 indicate success; FALSE would mean the domain or range is too
16991 great. Still needs fixes.
16993 2005-11-18 Wim Taymans <wim@fluendo.com>
16995 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16996 For the current position in stream time, we need to subtract
16999 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17000 Release lock before calling the callback function of async
17003 2005-11-18 Andy Wingo <wingo@pobox.com>
17005 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17006 Port goes all the way to MAXUINT16.
17008 * gst/net/gstnettimeprovider.c: Make the port range the same as
17009 for the kernel: 0 assigns, otherwise ports are less than
17012 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17015 * check/net/gstnetclientclock.c (test_functioning): Add the start
17018 2005-11-18 Wim Taymans <wim@fluendo.com>
17020 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17021 (gst_bin_remove_func), (bin_bus_handler):
17023 Removing a clock provider from a bin, triggers a clock lost message
17024 so that a new clock will be selected.
17025 Adding a clock to a bin triggers a clock provider message.
17026 Make sure we reselect a clock when we received a clock lost message.
17027 Keep a reference to the element that provided the clock.
17029 2005-11-18 Andy Wingo <wingo@pobox.com>
17031 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17032 the clock initially so it produces values around the base time.
17033 (gst_net_client_clock_class_init): Typo fix.
17034 (gst_net_client_clock_thread): Add note on when the socket gets
17037 2005-11-17 Wim Taymans <wim@fluendo.com>
17039 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17040 Free remote and local time arrays.
17042 2005-11-17 Wim Taymans <wim@fluendo.com>
17044 * gst/net/gstnetclientclock.c: (do_linear_regression),
17045 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17046 Fix compilation, uninitialized vars and a forgotten continue.
17048 2005-11-17 Andy Wingo <wingo@pobox.com>
17050 * check/Makefile.am (check_PROGRAMS):
17051 * check/net/gstnetclientclock.c: Add a most minimal test for the
17052 net client clock. More to come later.
17054 * gst/net/gstnet.h:
17055 * gst/net/Makefile.am: Add netclientclock.
17057 * gst/net/gstnetclientclock.h:
17058 * gst/net/gstnetclientclock.c: New files, implement an untested
17059 GstClock that takes its time from a network time provider.
17060 Implements the algorithm in network-clock.scm.
17062 * tests/network-clock.scm (*window-size*): Rename from
17064 * tests/network-clock.scm (network-time):
17065 * tests/network-clock-utils.scm (q-push): Update callers.
17067 2005-11-17 Wim Taymans <wim@fluendo.com>
17069 * gst/gstbin.c: (gst_bin_provide_clock_func),
17070 (gst_bin_sort_iterator_new):
17071 And unref the child too..
17073 2005-11-17 Wim Taymans <wim@fluendo.com>
17075 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17076 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17077 Refactor the sort iterator so it can be used while holding the
17079 Make clock selection select a clock closest to the source.
17081 2005-11-17 Michael Smith <msmith@fluendo.com>
17083 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17084 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17086 Anonymous structs are a gcc (and some other compilers) extension, so
17087 don't use them. Since this is only for ABI-compatibility, and our
17088 API/ABI freeze is over in a few days, this whole thing will only
17089 last a few days, so don't bother trying to think up a meaningful
17090 name for the struct.
17092 2005-11-17 Andy Wingo <wingo@pobox.com>
17094 * gst/gstclock.h (GstClock): Add rate and offset properties,
17095 preserving ABI stability. Add rate/offset accessors. Will file bug
17096 for the freeze break.
17098 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17099 and offset, trying to keep precision and avoiding
17100 underflow/overflow.
17101 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17102 functions. Make gst_clock_set_time_adjust obsolete.
17103 (gst_clock_set_time_adjust): Note that this function is obsolete.
17104 Will file bug soon.
17106 * gst/base/gstbasetransform.h: Make the ABI-stability hack
17107 greppable by using GST_PADDING-1+1.
17109 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
17111 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17113 * gst/gstmessage.c: (gst_message_parse_clock_lost):
17114 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17116 * gst/gstpadtemplate.h:
17117 * gst/gstpluginfeature.h:
17118 Don't use c++ style comments in headers (#321638).
17120 2005-11-16 Andy Wingo <wingo@pobox.com>
17122 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17125 * check/net/gstnettimeprovider.c: Check to see that the time
17126 provider actually provides times. Works, yo!
17128 2005-11-16 Wim Taymans <wim@fluendo.com>
17130 * check/Makefile.am:
17133 * check/elements/fakesrc.c: (GST_START_TEST):
17134 Set element to NULL before disposing it.
17136 2005-11-16 Andy Wingo <wingo@pobox.com>
17138 * gst/net/Makefile.am:
17139 * gst/net/gstnet.h:
17140 * gst/net/gstnettimeprovider.c:
17141 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17142 provider, include it from gstnet.h, and add it to the build.
17144 * gst/net/gstnettimepacket.h:
17145 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17146 sending and receiving.
17148 2005-11-16 Wim Taymans <wim@fluendo.com>
17150 * check/Makefile.am:
17151 Enable valgrind check.
17153 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17154 (gst_fake_src_alloc_buffer):
17157 2005-11-16 Wim Taymans <wim@fluendo.com>
17159 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17160 Call parent finalize too.
17162 2005-11-16 Wim Taymans <wim@fluendo.com>
17164 * check/Makefile.am:
17165 Enable valgrind check that should work fine now.
17167 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17168 * gst/gstqueue.c: (gst_queue_init):
17169 Fix memleaks in pad allocation.
17171 2005-11-16 Andy Wingo <wingo@pobox.com>
17173 * gst/net/Makefile.am:
17174 * gst/net/gstnet.h: New part of core to hold network elements and
17175 objects. Put in core because it exposes API that applications want
17176 to use. The library is named libgstnet-tempname right now because
17177 of the existing libgstnet in gst-plugins-base. Solution is
17178 probably to rename the one in plugins-base; will file a bug for
17181 * gst/net/gstnettimeprovider.c:
17182 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17183 get_time call over the network.
17186 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17188 * check/Makefile.am:
17189 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17190 get additions shortly.
17192 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17194 * gst/gstpad.c: (gst_pad_new_from_static_template):
17196 add gst_pad_new_from_static_template functions
17197 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17198 (gst_check_setup_sink_pad):
17199 * gst/elements/gsttee.c: (gst_tee_init):
17202 2005-11-16 Wim Taymans <wim@fluendo.com>
17204 * gst/gstpad.c: (gst_pad_pause_task):
17205 Removed warning, it's not really an error either.
17207 2005-11-16 Wim Taymans <wim@fluendo.com>
17209 * gst/base/gstbasetransform.c:
17210 (gst_base_transform_prepare_output_buf),
17211 (gst_base_transform_event):
17212 Check if the caps are NULL, this can happen if the element
17213 is shutting down and the pad caps are set to NULL.
17215 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17217 * gst/elements/gsttee.c: (gst_tee_init):
17218 fix pad template leak in tee
17220 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17222 * gst/glib-compat.c: (g_value_dup_gst_object):
17223 * gst/glib-compat.h:
17224 * gst/gstpad.c: (gst_pad_set_property):
17225 use gst_object_ref when setting the pad template; this will
17226 trigger the pad template leaks on GLib 2.6 and the slaves
17228 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17230 * gst/glib-compat.c: (gst_flags_get_first_value):
17231 * gst/glib-compat.h:
17232 * gst/gstregistryxml.c:
17233 remove functions copied from GLib 2.6
17235 2005-11-16 Michael Smith <msmith@fluendo.com>
17238 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17239 do, but only breaks with newer valgrind versions. We're not a
17240 valgrind tool, we have no link-time dependencies on libcoregrind.
17242 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17244 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17246 * gst/gstmessage.h:
17249 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17251 * gst/base/gstbasesrc.c: (gst_base_src_init):
17252 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17253 * gst/gstqueue.c: (gst_queue_init):
17254 * gst/gstregistryxml.c: (load_feature):
17255 Revert all these unrefs, they don't even pass make check !
17257 2005-11-15 Johan Dahlin <johan@gnome.org>
17259 * gst/base/gstbasesrc.c: (gst_base_src_init):
17260 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17261 * gst/gstqueue.c: (gst_queue_init):
17262 Free pad templates, fixes a couple of leaks.
17264 2005-11-15 Daniel Fischer <dan at f3c dot com>
17266 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17268 * gst/gstpad.c: (gst_pad_get_property):
17269 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17270 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17273 2005-11-15 Wim Taymans <wim@fluendo.com>
17278 2005-11-15 Andy Wingo <wingo@pobox.com>
17280 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17282 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17283 using GST_CLOCK_TIME_NONE to disable base time management.
17284 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17285 time if it was NONE before.
17286 (gst_pipeline_change_state): Only munge the base time if
17287 stream_time != GST_CLOCK_TIME_NONE.
17289 * check/gst/gstpipeline.c (test_base_time): Punt around the
17290 problem of the probe not being called, because that's not the
17291 issue I'm looking at. Add a check that setting stream_time to NONE
17292 disables base time management.
17294 2005-11-15 Wim Taymans <wim@fluendo.com>
17296 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17297 segment_stop == -1 at startup.
17299 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17300 (gst_base_transform_change_state):
17301 Init segment values at start.
17303 2005-11-15 Wim Taymans <wim@fluendo.com>
17305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17306 0 segment values are 0 in any format.
17308 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17309 * gst/base/gstbasetransform.h:
17310 Parse newsegment correctly in basetransform
17312 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17313 Sync to clock using updated segment values.
17315 2005-11-15 Andy Wingo <wingo@pobox.com>
17317 * check/gst/gstpipeline.c (test_base_time): Add check that the
17318 base time and stream time are reset correctly.
17320 2005-11-15 Wim Taymans <wim@fluendo.com>
17322 * docs/design/part-TODO.txt:
17323 Some more TODO items.
17325 2005-11-15 Andy Wingo <wingo@pobox.com>
17327 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17328 error if the user selected "no clock" as the clocking method.
17330 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17331 timestamps with live capture.
17333 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17334 is 0 but we are a live source, timestamp the buffers using the
17337 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17339 * docs/gst/gstreamer-sections.txt:
17341 * gst/gstghostpad.c:
17346 2005-11-14 Wim Taymans <wim@fluendo.com>
17349 add suppressions from Wim's Debian machine
17351 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17354 add suppressions from Andy's AMD64 Ubuntu machine
17356 2005-11-14 Andy Wingo <wingo@pobox.com>
17358 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17359 STATE_LOCK not necessary. Fixes #311489.
17361 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17364 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17365 this function is not implemented.
17367 2005-11-14 Julien MOUTTE <julien@moutte.net>
17369 * gst/base/gstbasetransform.c:
17370 (gst_base_transform_prepare_output_buf):
17371 Ref the source pad caps while we need them.
17374 2005-11-11 Wim Taymans <wim@fluendo.com>
17376 * docs/gst/gstreamer-sections.txt:
17377 Added some docs for GstCollectData.
17379 * gst/base/gstadapter.c:
17380 Some small code example fix.
17382 * gst/base/gstcollectpads.c:
17383 * gst/base/gstcollectpads.h:
17384 Document some more.
17386 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17388 * configure.ac: back to HEAD
17390 === release 0.9.5 ===
17392 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17395 releasing 0.9.5, "Bike Lunch Day"
17397 2005-11-11 Wim Taymans <wim@fluendo.com>
17399 * gst/gstbuffer.c: (_gst_buffer_copy):
17402 * gst/gstcaps.c: (gst_caps_is_equal):
17404 Make _is_equal fast in the trivial cases.
17406 * gst/gstminiobject.c:
17407 * gst/gstminiobject.h:
17408 More docs. Spifify .h file.
17413 2005-11-11 Wim Taymans <wim@fluendo.com>
17415 * gst/base/gstbasetransform.c:
17416 (gst_base_transform_prepare_output_buf),
17417 (gst_base_transform_handle_buffer):
17419 If we're processing a buffer and need to allocate an output
17420 buffer, we cannot accept a format change. If we did get a
17421 format change, we have to alloc a buffer ourselves of the
17424 2005-11-11 Wim Taymans <wim@fluendo.com>
17426 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17427 While checking the flag for reentrancy in the gstcaps function
17428 is nice to detect recursive invocations, it also makes it
17429 impossible to call getcaps from multiple threads, which must be
17430 possible. So, checking for recursive calls has to go.
17432 2005-11-11 Michael Smith <msmith@fluendo.com>
17434 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17435 Don't sync on buffers that fall partially outside our current
17436 segment. Prevents an assertion failure/abort playing some files.
17438 2005-11-10 Andy Wingo <wingo@pobox.com>
17440 * check/gst/gstbin.c (test_message_state_changed_children): Style
17443 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17444 gst_bus_poll with the signal watch. Ensures that poll and a signal
17445 watch see the same messages.
17447 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17448 a poll and a watch at the same time get the same messages.
17450 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17452 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17453 * gst/gstcaps.c: (gst_caps_intersect):
17454 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17455 and it's not needed.
17457 2005-11-10 Wim Taymans <wim@fluendo.com>
17459 * docs/design/part-TODO.txt:
17462 2005-11-10 Wim Taymans <wim@fluendo.com>
17464 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17465 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17466 (gst_base_src_do_sync), (gst_base_src_get_range):
17467 Implement clock sync in base class.
17469 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17471 patch by: Tim-Philipp Müller <tim at centricular dot net>
17473 * gst/gststructure.c: (gst_structure_parse_field),
17474 (gst_structure_from_string):
17475 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17476 so that gst_parse_launch() can deal with spaces in filtered link
17477 caps (fixes #164479)
17478 * check/gst/capslist.h:
17479 * check/gst/gststructure.c: (GST_START_TEST):
17480 add unit tests for this change
17482 2005-11-10 Wim Taymans <wim@fluendo.com>
17484 * docs/gst/gstreamer-sections.txt:
17485 * gst/gstelement.c:
17486 * gst/gstelement.h:
17487 Fix docs, move some STATE macros to private.
17489 2005-11-10 Wim Taymans <wim@fluendo.com>
17491 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17492 Added check for bug #317341
17496 Some more spiffifying.
17498 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17499 Call peer linkfunction if we are a source pad. Totally fixes
17503 Update docs, source pads should call the peer linkfunction
17504 so they can atomically perform the pad link.
17506 2005-11-09 Wim Taymans <wim@fluendo.com>
17510 Uber-spiffy-spiffify some more.
17512 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17514 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17515 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17516 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17517 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17518 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17519 * gst/gstpad.c: (gst_pad_init):
17520 Use GST_DEBUG_FUNCPTR() more extensively.
17522 2005-11-09 Wim Taymans <wim@fluendo.com>
17524 * gst/gstobject.c: (gst_object_class_init):
17526 Documentation fixes.
17528 2005-11-09 Edward Hervey <edward@fluendo.com>
17530 * gst/gsttypefindfactory.c:
17533 2005-11-09 Edward Hervey <edward@fluendo.com>
17535 * gst/base/gsttypefindhelper.c:
17536 * gst/gsttypefind.c:
17537 * gst/gsttypefind.h:
17540 2005-11-09 Wim Taymans <wim@fluendo.com>
17542 * gst/gstiterator.c:
17549 2005-11-09 Wim Taymans <wim@fluendo.com>
17555 2005-11-09 Wim Taymans <wim@fluendo.com>
17557 * docs/gst/gstreamer-sections.txt:
17558 Moved the message async delivery private lock and cond
17559 to the private section.
17561 * gst/gstmessage.c:
17562 * gst/gstmessage.h:
17565 2005-11-09 Edward Hervey <edward@fluendo.com>
17567 * docs/gst/gstreamer-sections.txt:
17570 Document GstURIHandler
17572 2005-11-09 Wim Taymans <wim@fluendo.com>
17574 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17575 (gst_iterator_find_custom):
17576 * gst/gstiterator.h:
17579 2005-11-09 Wim Taymans <wim@fluendo.com>
17582 Document another field.
17584 * gst/gststructure.c:
17585 * gst/gststructure.h:
17588 2005-11-09 Wim Taymans <wim@fluendo.com>
17591 Documented structs.
17593 2005-11-09 Wim Taymans <wim@fluendo.com>
17595 * docs/gst/gstreamer-sections.txt:
17596 Added some new macros.
17603 2005-11-09 Wim Taymans <wim@fluendo.com>
17605 * docs/design/part-TODO.txt:
17606 Some more items for the TODO
17612 2005-11-09 Andy Wingo <wingo@pobox.com>
17614 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17615 to work on something else now tho...
17617 * gst/base/gstadapter.c: More adapter docs.
17619 * gst/elements/gstfilesink.c (gst_file_sink_start)
17620 (gst_file_sink_stop): New functions, replace the state change
17622 (gst_file_sink_class_init): Hook up the start and stop functions.
17623 (gst_file_sink_base_init): Don't set the state change handler any
17624 more. It was a bit ugly too, being set from here...
17625 (gst_file_sink_get_property, gst_file_sink_set_property):
17627 (gst_file_sink_set_location): More robust check that doesn't call
17628 GST_STATE. Ugggggg.
17630 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
17632 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17633 Hold STREAM_LOCK while pushing newsegment or tag events as well.
17635 2005-11-08 Wim Taymans <wim@fluendo.com>
17637 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17638 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17639 (gst_base_sink_chain), (gst_base_sink_change_state):
17640 * gst/base/gstbasesink.h:
17641 * gst/base/gstbasesrc.h:
17642 * gst/gstelement.h:
17644 Avoid excessive typechecking in macros.
17646 * gst/gstminiobject.c: (gst_mini_object_get_type),
17647 (gst_mini_object_init), (gst_mini_object_new),
17648 (gst_mini_object_free):
17649 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17650 (gst_object_finalize):
17651 Remove cruft code, optimize alloc_trace.
17653 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
17655 * docs/faq/gst-uninstalled:
17656 fix up PS1 for systems that try to reset it
17658 2005-11-07 Wim Taymans <wim@fluendo.com>
17660 * gst/base/gstbasesrc.c: (gst_base_src_init),
17661 (gst_base_src_get_range):
17662 Set the segment_end to -1 initially. Fixed typefind.
17664 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
17666 * gst/base/gstadapter.c:
17667 Debug category should be 'adapter', not 'GstAdapter'.
17669 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17670 (gst_collectpads_class_init), (gst_collectpads_init),
17671 (gst_collectpads_peek), (gst_collectpads_pop),
17672 (gst_collectpads_event), (gst_collectpads_chain):
17673 Add debug category and some debugging output. Use boilerplate
17674 macros. Remove some extraneous words from docs.
17676 2005-11-05 Andy Wingo <wingo@pobox.com>
17678 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17681 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17683 * docs/gst/gstreamer-sections.txt:
17686 * gst/gstminiobject.h:
17691 2005-11-04 Wim Taymans <wim@fluendo.com>
17693 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17694 Small update to stop at the configured segment_end
17697 2005-11-04 Stefan Kost <ensonic@users.sf.net>
17699 * gst/gstregistry.c:
17700 * gst/gstregistry.h:
17703 2005-11-04 Edward Hervey <edward@fluendo.com>
17705 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17706 Check if we are doing a segment seek and have arrived at the
17707 end of that segment.
17709 2005-11-04 Wim Taymans <wim@fluendo.com>
17711 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17712 Don't leak a mutex unlock in case of an error.
17717 2005-11-04 Wim Taymans <wim@fluendo.com>
17719 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17721 Get the context to wake up only once.
17723 2005-11-03 Wim Taymans <wim@fluendo.com>
17725 * check/states/sinks.c: (GST_START_TEST):
17726 Uncomment fixed check.
17728 * docs/design/part-TODO.txt:
17731 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17732 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17733 (gst_base_sink_get_position):
17734 If we are going to PLAYING, post the right pending state
17735 when we post the intermediate paused message.
17737 * gst/gstelement.c: (gst_element_continue_state),
17738 (gst_element_set_state_func), (gst_element_change_state):
17739 Don't post state changes that were between the same state
17740 and were not ASYNC.
17742 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17744 * docs/gst/gstreamer-sections.txt:
17747 * gst/gstminiobject.h:
17750 more docs and doc style fixes
17752 2005-11-03 Stefan Kost <ensonic@users.sf.net>
17754 * docs/gst/gstreamer-sections.txt:
17755 * gst/gstelement.c:
17756 * gst/gstminiobject.c:
17759 2005-11-03 Andy Wingo <wingo@pobox.com>
17761 * check/states/sinks.c (test_livesrc_sink): Add checks that the
17762 state-changed messages actually have the right order and the right
17765 2005-11-03 Wim Taymans <wim@fluendo.com>
17767 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17768 Added some more checks. Specifically the case where NO_PREROLL
17769 elements are in the pipeline.
17771 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17772 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17773 (gst_base_sink_get_position):
17774 Post READY->PAUSED state change messages too.
17775 Fix bug where VOID was posted as pending state...
17777 * gst/gstbin.c: (gst_bin_recalc_state):
17778 use _element_continue_state() to continue the state change.
17780 * gst/gstelement.c: (gst_element_continue_state),
17781 (gst_element_commit_state), (gst_element_set_state_func),
17782 (gst_element_change_state), (gst_element_change_state_func):
17783 Lots of state change cleanups, assign the STATE_RETURN in
17784 a new continue_state() function that also propagates the
17785 last return value from a state change to the app.
17786 Update some debug statements with proper category.
17788 2005-11-03 Wim Taymans <wim@fluendo.com>
17790 * docs/design/part-events.txt:
17791 * docs/design/part-gstpipeline.txt:
17792 * docs/design/part-messages.txt:
17793 * docs/design/part-overview.txt:
17794 * docs/design/part-seeking.txt:
17795 * docs/design/part-states.txt:
17796 * docs/design/part-trickmodes.txt:
17797 * docs/manual/advanced-position.xml:
17798 Small docs updates.
17801 People think !! is ugly, this looks better.
17803 * gst/gstpad.c: (gst_pad_set_blocked_async):
17804 Remove !! since it's fixed elsewhere now.
17806 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17808 * gst/gstminiobject.h:
17810 Add !! to _FLAG_IS_SET macros to make the result boolean.
17812 2005-11-03 Edward Hervey <edward@fluendo.com>
17814 * gst/gstpad.c: (gst_pad_set_blocked_async):
17815 comparing a flag and a gboolean rarely returns coherent results...
17816 Added two characters (!!) to make that work correctly.
17818 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17820 * gst/gstbus.c: (gst_bus_class_init):
17823 * gst/gstqueue.c: (gst_queue_loop):
17824 Don't assume a miniobject that isn't a buffer is an
17825 event (it could be that there is a refcounting
17826 problem somewhere and the pointer is stale and
17827 refers to an already destroyed miniobject).
17829 2005-11-03 Julien MOUTTE <julien@moutte.net>
17831 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17833 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17835 * docs/manual/advanced-position.xml:
17836 Update seek example and explanations to current 0.9 API.
17838 * gst/elements/gsttypefindelement.c:
17839 (gst_type_find_element_activate):
17840 Remove FIXME comment now that the found caps
17843 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17845 * gst/gstregistryxml.c: (load_feature):
17846 Add another GST_STR_NULL instance
17848 2005-11-02 Edward Hervey <edward@fluendo.com>
17850 * gst/gstpad.c: (handle_pad_block):
17851 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17853 2005-11-02 Wim Taymans <wim@fluendo.com>
17858 * gst/gstelement.c: (gst_element_commit_state):
17859 Remove unused value.
17861 * gst/gstiterator.c:
17862 Mention that the returned element is reffed in the docs.
17864 2005-11-02 Wim Taymans <wim@fluendo.com>
17866 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17867 (gst_pad_push), (gst_pad_push_event):
17868 Unlock blocked pads when they are flushed.
17870 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17873 * docs/gst/gstreamer-sections.txt:
17876 * gst/gstregistry.c: (gst_registry_scan_path_level):
17877 fix for a nasty little missed situation where an installed plug-in
17878 which was in the cache did not get overridden by an uninstalled one
17879 which was earlier in the plugin path because the newly created plugin
17880 for the uninstalled one (not in the registry) didn't get its
17881 ->registered set to TRUE
17883 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17885 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17886 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17887 (gst_collectpads_is_active), (gst_collectpads_collect),
17888 (gst_collectpads_collect_range), (gst_collectpads_start),
17889 (gst_collectpads_stop), (gst_collectpads_peek),
17890 (gst_collectpads_pop), (gst_collectpads_available),
17891 (gst_collectpads_read), (gst_collectpads_flush):
17892 Guard public API with assertions.
17895 Fix docs for gst_pad_set_link_function().
17897 2005-11-02 Johan Dahlin <johan@gnome.org>
17899 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
17900 Unref found_caps after we used it.
17902 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17904 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17905 Don't try to ref NULL.
17907 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17909 * win32/common/config.h.in:
17910 provide a GST_FUNCTION that just gives a string for now
17912 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17914 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17915 (gst_object_flags_get_type), (register_gst_bin_flags),
17916 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17917 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17918 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17919 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17920 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17921 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17922 (gst_clock_flags_get_type), (register_gst_state),
17923 (gst_state_get_type), (register_gst_state_change_return),
17924 (gst_state_change_return_get_type), (register_gst_state_change),
17925 (gst_state_change_get_type), (register_gst_element_flags),
17926 (gst_element_flags_get_type), (register_gst_core_error),
17927 (gst_core_error_get_type), (register_gst_library_error),
17928 (gst_library_error_get_type), (register_gst_resource_error),
17929 (gst_resource_error_get_type), (register_gst_stream_error),
17930 (gst_stream_error_get_type), (register_gst_event_type),
17931 (gst_event_type_get_type), (register_gst_seek_type),
17932 (gst_seek_type_get_type), (register_gst_seek_flags),
17933 (gst_seek_flags_get_type), (register_gst_format),
17934 (gst_format_get_type), (register_gst_index_certainty),
17935 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17936 (gst_index_entry_type_get_type),
17937 (register_gst_index_lookup_method),
17938 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17939 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17940 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17941 (gst_index_flags_get_type), (register_gst_debug_level),
17942 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17943 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17944 (gst_iterator_result_get_type), (register_gst_iterator_item),
17945 (gst_iterator_item_get_type), (register_gst_message_type),
17946 (gst_message_type_get_type), (register_gst_mini_object_flags),
17947 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17948 (gst_pad_link_return_get_type), (register_gst_flow_return),
17949 (gst_flow_return_get_type), (register_gst_activate_mode),
17950 (gst_activate_mode_get_type), (register_gst_pad_direction),
17951 (gst_pad_direction_get_type), (register_gst_pad_flags),
17952 (gst_pad_flags_get_type), (register_gst_pad_presence),
17953 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17954 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17955 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17956 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17957 (gst_plugin_flags_get_type), (register_gst_rank),
17958 (gst_rank_get_type), (register_gst_query_type),
17959 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17960 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17961 (gst_tag_flag_get_type), (register_gst_task_state),
17962 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17963 (gst_alloc_trace_flags_get_type),
17964 (register_gst_type_find_probability),
17965 (gst_type_find_probability_get_type), (register_gst_uri_type),
17966 (gst_uri_type_get_type), (register_gst_parse_error),
17967 (gst_parse_error_get_type):
17968 * win32/common/gstversion.h:
17969 update win32 copies
17971 2005-11-01 Luca Ognibene <luogni@tin.it>
17974 fix docs. popt is dead, long live GOption.
17976 2005-10-31 Wim Taymans <wim@fluendo.com>
17981 2005-10-31 Andy Wingo <wingo@pobox.com>
17985 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17987 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17988 need to serialize property notifications on GLib 2.8. GLib 2.6 has
17989 the possibility of deadlocks here if code calling notify() or
17990 set() has a lock that can be taken in another notify handler (ABBA
17991 with class lock and e.g. python GIL state lock).
17993 2005-10-28 Julien MOUTTE <julien@moutte.net>
17995 * gst/gstbus.c: Doc updates.
17997 2005-10-28 Wim Taymans <wim@fluendo.com>
17999 * docs/design/part-TODO.txt:
18000 * gst/gstiterator.c:
18001 * gst/gstsystemclock.c:
18002 * gst/gstsystemclock.h:
18005 2005-10-28 Edward Hervey <edward@fluendo.com>
18007 * docs/gst/gstreamer-docs.sgml:
18008 * docs/gst/gstreamer-sections.txt:
18009 the GstURIType documentation page is private, it only defines GstURIType
18010 which should be defined in the GstURIHandler page
18012 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
18014 * gst/gstbin.c: (gst_bin_class_init):
18017 Documentation updates.
18019 2005-10-28 Wim Taymans <wim@fluendo.com>
18021 * docs/gst/gstreamer-sections.txt:
18024 Documented the clocks.
18026 2005-10-28 Stefan Kost <ensonic@users.sf.net>
18028 * docs/gst/gstreamer-sections.txt:
18029 move some macros to private sections
18030 * gst/gstminiobject.c:
18031 * gst/gstminiobject.h:
18032 add descriptions provided by ds and some more
18034 mark macro as to be removed
18036 2005-10-28 Wim Taymans <wim@fluendo.com>
18038 * docs/design/part-TODO.txt:
18039 Add an item to TODO.
18041 * gst/gstiterator.c: (gst_iterator_fold),
18042 (gst_iterator_find_custom):
18043 * gst/gstiterator.h:
18046 2005-10-28 Wim Taymans <wim@fluendo.com>
18048 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18049 (gst_base_transform_init):
18052 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18053 An EOS event marks the queue as completely filled.
18055 2005-10-27 Wim Taymans <wim@fluendo.com>
18057 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18058 (gst_base_sink_do_sync), (gst_base_sink_get_position):
18059 Some more debugging.
18061 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18062 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18063 (gst_base_transform_event), (gst_base_transform_getrange),
18064 (gst_base_transform_chain):
18065 * gst/base/gstbasetransform.h:
18067 Protect transform and concurrent buffer alloc with a new lock.
18068 Try not to break ABI/API.
18070 2005-10-27 Wim Taymans <wim@fluendo.com>
18072 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18073 (gst_base_src_init), (gst_base_src_query),
18074 (gst_base_src_default_newsegment),
18075 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18076 (gst_base_src_send_event), (gst_base_src_event_handler),
18077 (gst_base_src_pad_get_range), (gst_base_src_loop),
18078 (gst_base_src_unlock), (gst_base_src_default_negotiate),
18079 (gst_base_src_start), (gst_base_src_deactivate),
18080 (gst_base_src_activate_push), (gst_base_src_change_state):
18081 Move some stuff around and cleanup things.
18083 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
18085 * gst/base/gstbasesrc.c: (gst_base_src_query):
18086 Add missing break statements.
18088 2005-10-27 Wim Taymans <wim@fluendo.com>
18090 * check/gst/gstbin.c: (GST_START_TEST):
18091 An extra refcount is taken in basesrc.
18093 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18094 (gst_base_src_get_range), (gst_base_src_pad_get_range),
18095 (gst_base_src_loop):
18096 Small cleanups, check for flushing after being unlocked from the
18097 LIVE_LOCK. take refcounts correctly (not yet everywhere).
18098 Don't send out EOS when going to READY.
18100 2005-10-27 Wim Taymans <wim@fluendo.com>
18102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18103 (gst_base_sink_get_position):
18106 * gst/gstbin.c: (message_check), (bin_replace_message),
18107 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18108 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18109 (bin_query_duration_init), (bin_query_duration_fold),
18110 (bin_query_duration_done), (bin_query_generic_fold),
18112 * tools/gst-launch.c: (main):
18115 2005-10-26 Stefan Kost <ensonic@users.sf.net>
18117 * examples/controller/audio-example.c: (main):
18118 * examples/queue/queue.c: (event_loop):
18119 * gst/base/gstbasetransform.h:
18120 * gst/gstelement.c: (gst_element_send_event):
18122 * gst/gstpad.c: (gst_pad_send_event):
18125 changing log priority in error situations
18127 2005-10-25 Wim Taymans <wim@fluendo.com>
18129 * gst/gstbin.c: (message_check), (bin_replace_message),
18130 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18131 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18132 (bin_query_duration_init), (bin_query_duration_fold),
18133 (bin_query_duration_done), (bin_query_generic_fold),
18135 Some doc and debug updates.
18136 Cache previously requested query DURATION for speed. invalidate
18137 cached duration if element posts a DURATION message.
18139 2005-10-25 Wim Taymans <wim@fluendo.com>
18141 * docs/design/part-TODO.txt:
18144 * gst/gstbin.c: (message_check), (bin_replace_message),
18145 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18146 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18147 (bin_query_duration_init), (bin_query_duration_fold),
18148 (bin_query_duration_done), (bin_query_generic_fold),
18150 Handle SEGMENT_START/DONE messages correctly.
18151 More evolved query algorithm that handles duration queries
18154 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18155 (gst_element_get_state_func), (gst_element_abort_state),
18156 (gst_element_commit_state), (gst_element_lost_state):
18157 Some more debugging.
18159 * gst/gstmessage.h:
18162 2005-10-25 Wim Taymans <wim@fluendo.com>
18164 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18165 Don't use invalid stream_time.
18167 * gst/gstevent.c: (gst_event_new_newsegment):
18168 stream_time in newsegment cannot be undefined.
18170 2005-10-24 Wim Taymans <wim@fluendo.com>
18175 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18177 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18179 2005-10-24 Stefan Kost <ensonic@users.sf.net>
18181 * docs/libs/tmpl/gstdparam.sgml:
18182 * docs/libs/tmpl/gstdplinint.sgml:
18183 * docs/libs/tmpl/gstdpman.sgml:
18184 * docs/libs/tmpl/gstdpsmooth.sgml:
18185 * docs/libs/tmpl/gstunitconvert.sgml:
18188 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18193 === release 0.9.4 ===
18195 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18198 releasing 0.9.4, "Tyrannosaurus Rex"
18200 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18202 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18203 (gst_file_sink_get_current_offset):
18204 Use fseeko() and ftello() if available. When falling back on
18205 lseek() to get the current offset, fflush() first to make sure
18206 everything is up-to-date and we get the right offset.
18208 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18211 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18212 * gst/gsterror.c: (_gst_stream_errors_init):
18214 * gst/gstqueue.c: (gst_queue_loop):
18216 remove prematurely added error category and clean up the instances
18218 2005-10-21 Wim Taymans <wim@fluendo.com>
18220 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18221 (gst_base_sink_get_position), (gst_base_sink_query),
18222 (gst_base_sink_change_state):
18223 Simply set the right flag when going to playing, that's all
18224 we need to do instead of calling a function inside the object
18225 lock (that could take the lock as well and deadlock)
18227 2005-10-21 Wim Taymans <wim@fluendo.com>
18229 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18230 (gst_base_src_loop):
18231 Don't warn, the peer element knows what to do best when
18232 the seek failed, it might try something else.
18234 2005-10-21 Wim Taymans <wim@fluendo.com>
18236 * gst/base/gstbasesrc.c: (gst_base_src_init),
18237 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18240 2005-10-21 Wim Taymans <wim@fluendo.com>
18242 * docs/design/part-segments.txt:
18245 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18246 Correctly set caps, even on the subbufer.
18248 2005-10-21 Wim Taymans <wim@fluendo.com>
18250 * docs/gst/gstreamer-docs.sgml:
18251 * docs/gst/gstreamer-sections.txt:
18252 * gst/gstelement.h:
18255 * gst/gstmessage.h:
18258 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18262 And 2% more doc coverage.
18264 2005-10-21 Andy Wingo <wingo@pobox.com>
18266 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18267 position reporting.
18269 2005-10-20 Wim Taymans <wim@fluendo.com>
18271 * gst/gsterror.c: (gst_error_get_message):
18274 * gst/gststructure.c:
18279 2005-10-20 Wim Taymans <wim@fluendo.com>
18284 Another 1% more coverage.
18286 2005-10-20 Wim Taymans <wim@fluendo.com>
18288 * docs/gst/gstreamer-sections.txt:
18289 * gst/gstelement.c: (gst_element_get_state_func),
18290 (gst_element_abort_state), (gst_element_commit_state),
18291 (gst_element_lost_state):
18293 * gst/gstquery.c: (gst_query_set_position),
18294 (gst_query_parse_position), (gst_query_set_duration),
18295 (gst_query_parse_duration), (gst_query_new_convert):
18297 Yay! 1% more docs coverage.
18299 2005-10-20 Wim Taymans <wim@fluendo.com>
18302 * gst/gstquery.c: (gst_query_set_position),
18303 (gst_query_parse_position), (gst_query_set_duration),
18304 (gst_query_parse_duration), (gst_query_new_convert):
18306 * gst/gstutils.c: (gst_element_query_convert):
18308 Docs and consistency fixes.
18310 2005-10-20 Wim Taymans <wim@fluendo.com>
18316 2005-10-20 Wim Taymans <wim@fluendo.com>
18318 * gst/gstbin.c: (message_check), (bin_replace_message),
18319 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18320 (update_degree), (gst_bin_sort_iterator_next),
18321 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18322 Reworked the message handling a bit, cache the messages instead of
18323 only the senders. alows us to do more in the future.
18325 2005-10-20 Wim Taymans <wim@fluendo.com>
18327 * docs/design/part-TODO.txt:
18330 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18331 (gst_base_sink_query):
18332 Don't use clock time to report position when in EOS.
18334 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18336 * tools/gst-inspect.c: (print_interfaces),
18337 (print_element_properties_info), (print_element_info):
18338 Fix interface output with gst-inspect -a; don't print
18339 newlines after double/float properties.
18341 2005-10-20 Wim Taymans <wim@fluendo.com>
18343 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18344 (gst_base_sink_query):
18345 Speed up current position calculation.
18347 * gst/base/gstbasesrc.c: (gst_base_src_query),
18348 (gst_base_src_default_newsegment):
18349 Correctly set stream position in newsegment.
18351 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18352 (update_degree), (gst_bin_sort_iterator_next),
18353 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18354 * gst/gstmessage.c: (gst_message_new_custom):
18355 Clean up debugging info
18357 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18358 (gst_queue_loop), (gst_queue_handle_src_query):
18361 2005-10-19 Wim Taymans <wim@fluendo.com>
18363 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18364 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18365 Fix query handling again.
18367 2005-10-19 Wim Taymans <wim@fluendo.com>
18369 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18370 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18371 * gst/base/gstbasesrc.c: (gst_base_src_query):
18372 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18373 * gst/elements/gsttypefindelement.c:
18374 (gst_type_find_handle_src_query), (find_element_get_length),
18375 (gst_type_find_element_activate):
18378 * gst/gstquery.c: (gst_query_new_position),
18379 (gst_query_set_position), (gst_query_parse_position),
18380 (gst_query_new_duration), (gst_query_set_duration),
18381 (gst_query_parse_duration), (gst_query_set_segment),
18382 (gst_query_parse_segment):
18384 Bundling query position/duration is not a good idea since duration
18385 does not change much and we don't want to recalculate it for every
18386 position query, so they are separated again..
18387 Base value in segment query is not needed.
18389 * gst/gstqueue.c: (gst_queue_handle_src_query):
18390 * gst/gstutils.c: (gst_element_query_position),
18391 (gst_element_query_duration), (gst_pad_query_position),
18392 (gst_pad_query_duration):
18394 Updates for query API change.
18395 Added some docs here and there.
18397 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18399 * check/gst/gstbin.c: (GST_START_TEST):
18400 * check/gst/gstghostpad.c: (GST_START_TEST):
18401 * check/pipelines/cleanup.c: (GST_START_TEST):
18402 wait on thread to die so we can check refcount correctly
18404 2005-10-18 Wim Taymans <wim@fluendo.com>
18406 * check/pipelines/stress.c: (GST_START_TEST):
18407 Make check a little more time consuming.
18409 2005-10-18 Wim Taymans <wim@fluendo.com>
18411 * check/Makefile.am:
18412 * check/pipelines/stress.c: (GST_START_TEST),
18413 (simple_launch_lines_suite), (main):
18414 Small state change torture test.
18416 * docs/design/part-states.txt:
18417 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18418 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18419 (gst_base_sink_change_state):
18420 Never take state lock from streaming thread, clean up ugly
18421 hacks. Unfortunatly core does not yet support nice ways to
18422 async commit state.
18424 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18426 Start state recalc if a STATE_DIRTY message is posted, but only
18427 on the toplevel bin.
18429 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18430 (gst_element_get_state_func), (gst_element_abort_state),
18431 (gst_element_commit_state), (gst_element_lost_state),
18432 (gst_element_set_state_func), (gst_element_change_state):
18433 * gst/gstelement.h:
18434 State variables are now protected with the LOCK, the state
18435 lock is only used to serialize _set_state().
18437 2005-10-18 Wim Taymans <wim@fluendo.com>
18439 * check/gst/gstbin.c: (GST_START_TEST):
18440 * check/gst/gstmessage.c: (GST_START_TEST):
18441 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18442 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18444 * gst/gstelement.c: (gst_element_abort_state),
18445 (gst_element_commit_state), (gst_element_lost_state):
18446 * gst/gstmessage.c: (gst_message_new_state_changed),
18447 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18448 (gst_message_new_segment_done), (gst_message_new_duration),
18449 (gst_message_parse_state_changed),
18450 (gst_message_parse_segment_start),
18451 (gst_message_parse_segment_done), (gst_message_parse_duration):
18452 * gst/gstmessage.h:
18453 * tools/gst-launch.c: (event_loop):
18454 Seriously, this is better than a previous commit as we only need
18455 to notify the fact that an element changed state in a streaming
18456 thread, marking the state of the parents dirty, hence the
18457 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18460 2005-10-18 Wim Taymans <wim@fluendo.com>
18462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18463 (gst_bin_recalc_func):
18464 * gst/gstelement.c: (gst_element_set_clock),
18465 (gst_element_abort_state), (gst_element_lost_state):
18466 Cleanups, prepare for state change fixes.
18468 2005-10-18 Wim Taymans <wim@fluendo.com>
18471 * gst/gstelement.c: (gst_element_class_init),
18472 (gst_element_set_state), (gst_element_set_state_func):
18473 * gst/gstelement.h:
18474 Pending ABI changes.
18475 GThreadPool in GstBinClass to monitor async state changes.
18476 state_cookie in GstElement to detect concurrent gst/set state.
18477 set_state is now virtual too in case a very complicated element
18478 has to be constructed.
18480 2005-10-18 Wim Taymans <wim@fluendo.com>
18482 * check/gst/gstbin.c: (GST_START_TEST):
18483 * check/gst/gstmessage.c: (GST_START_TEST):
18484 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18485 * gst/gstbin.c: (bin_bus_handler):
18486 * gst/gstelement.c: (gst_element_commit_state),
18487 (gst_element_lost_state):
18488 * gst/gstmessage.c: (gst_message_new_state_changed),
18489 (gst_message_new_segment_start), (gst_message_new_segment_done),
18490 (gst_message_new_duration), (gst_message_parse_state_changed),
18491 (gst_message_parse_segment_start),
18492 (gst_message_parse_segment_done), (gst_message_parse_duration):
18493 * gst/gstmessage.h:
18494 * tools/gst-launch.c: (event_loop):
18495 Make messages future proof.
18496 state-change gets a flag if it was a message comming from the
18498 segment-start/stop can also be specified in other formats.
18499 A message to notify an app that a pipeline changed playback
18501 Also fix a GstMessage leak in -launch
18503 2005-10-18 Andy Wingo <wingo@pobox.com>
18505 * gst/gstelement.c (gst_element_dispose): More helpful message.
18507 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18509 reviewed by: <delete if not using a buddy>
18511 * common/gtk-doc.mak:
18513 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18515 * gst/gstregistry.c: (gst_registry_scan_path_level):
18516 unref a plug-in we get that was already initialized
18518 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18520 * docs/gst/gstreamer-sections.txt:
18521 * docs/libs/gstreamer-libs-sections.txt:
18522 * gst/gstelement.h:
18523 add new api entries
18524 hide internal macro
18526 2005-10-17 Andy Wingo <wingo@pobox.com>
18528 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18531 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18533 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18535 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18536 (gst_element_get_state_func): Better debug message.
18537 (gst_element_commit_state): s/INFO/DEBUG/.
18538 (gst_element_lost_state, gst_element_change_state):
18540 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18541 (gst_message_new_custom): s/INFO/LOG/.
18543 2005-10-17 Michael Smith <msmith@fluendo.com>
18545 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18546 Check if end time is valid using end time, not start time.
18548 2005-10-17 Stefan Kost <ensonic@users.sf.net>
18550 * check/gst-libs/controller.c: (GST_START_TEST),
18551 (gst_controller_suite):
18552 * libs/gst/controller/gstcontroller.c:
18553 (gst_controlled_property_set_interpolation_mode):
18554 * libs/gst/controller/gstcontroller.h:
18555 * libs/gst/controller/gstinterpolation.c:
18556 * testsuite/controller/.cvsignore:
18557 * testsuite/controller/Makefile.am:
18558 * testsuite/controller/interpolator.c:
18559 merge controller testsuites
18561 remove mem-chunk from docs
18563 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18565 * gst/gstmemchunk.c:
18566 * gst/gstmemchunk.h:
18567 * gst/gsttrashstack.c:
18568 * gst/gsttrashstack.h:
18569 out. get out. you're fired. to the Attic !
18571 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18573 * gst/gstcaps.c: (gst_caps_intersect):
18574 fix signedness issues in a (hopefully) correct way
18575 * gst/gstelement.c: (gst_element_pads_activate):
18577 * gst/gstobject.c: (gst_object_set_parent):
18580 2005-10-17 Julien MOUTTE <julien@moutte.net>
18582 * gst/gstvalue.h: Fix prototypes.
18584 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18586 * docs/gst/gstreamer-sections.txt:
18587 * gst/gst.c: (gst_version_string):
18589 * gst/gstversion.h.in:
18590 * win32/common/libgstreamer.def:
18591 add gst_version_string ()
18593 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18597 * gst/gst.c: (init_post):
18598 * win32/common/config.h.in:
18600 * gst/gstcaps.c: (gst_caps_intersect):
18601 use gint64, the range could be bigger than a guint
18603 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18606 document potential problem in 2038
18608 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18610 * gst/gstcaps.c: (gst_caps_intersect):
18611 Fix guint j diving under 0
18613 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18616 * win32/common/config.h:
18617 * win32/common/config.h.in:
18618 check for process.h, declares getpid() on Windows
18620 include process.h if we have it
18621 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18622 * gst/gstmemchunk.h:
18623 fix signedness issues
18624 * win32/common/libgstreamer.def:
18627 2005-10-16 Julien MOUTTE <julien@moutte.net>
18629 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18630 fix. Because of unsigned ints, caps intersection was going nuts and
18631 trying to access structures with G_MAXUINT index. That fixes
18632 videotestsrc ! ffmpegcolorspace ! fakesink
18633 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18636 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18639 use the gettext macro
18640 * gst/elements/gstelements.c:
18642 * gst/indexers/gstindexers.c:
18643 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18644 * win32/common/config.h:
18646 * win32/common/config.h.in:
18647 add the template to generate config.h
18648 * win32/common/gstenumtypes.c:
18649 * win32/common/gstversion.h:
18652 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
18654 * gst/gst.c: (gst_version):
18655 * gst/gstversion.h.in:
18658 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18661 Oops, add missing closing bracket.
18663 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18666 use common m4's for argument checking
18668 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
18670 * docs/gst/gstreamer-sections.txt:
18672 Add GST_EVENT_TYPE_NAME() macro.
18674 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18677 * gst/gstpluginfeature.c:
18679 privatize more symbols
18681 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18684 add srcdir, builddir includes to GST_ALL_CFLAGS, since
18685 everything that uses GStreamer API should have the includes
18687 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18689 * docs/gst/gstreamer-sections.txt:
18690 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18692 give each value a _get_type, removes the DATA exports
18694 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18698 remove _gst_registry_auto_load, not used anymore
18699 * gst/gstbin.c: (gst_bin_get_type):
18701 * gst/gstelement.c: (gst_element_get_type):
18702 * gst/gstelement.h:
18703 * gst/gstobject.c: (gst_object_get_type):
18705 * gst/gstpad.c: (gst_pad_get_type):
18707 make _get_type functions similar, fixes data export from library
18709 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18712 correctly make conditionals
18713 * gst/elements/Makefile.am:
18714 * gst/elements/gstelements.c:
18715 fix typo causing fdsrc not to build
18717 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18719 * testsuite/Makefile.am:
18720 * testsuite/bytestream/.cvsignore:
18721 * testsuite/bytestream/Makefile.am:
18722 * testsuite/bytestream/filepadsink.c:
18723 * testsuite/bytestream/gstbstest.c:
18724 * testsuite/bytestream/test1.c:
18725 * testsuite/bytestream/testfile1:
18726 * testsuite/caps/normalisation.c:
18727 * testsuite/caps/random.c: (main):
18728 * testsuite/cleanup/.cvsignore:
18729 * testsuite/cleanup/Makefile.am:
18730 * testsuite/cleanup/cleanup1.c:
18731 * testsuite/cleanup/cleanup2.c:
18732 * testsuite/cleanup/cleanup3.c:
18733 * testsuite/cleanup/cleanup4.c:
18734 * testsuite/cleanup/cleanup5.c:
18735 * testsuite/controller/interpolator.c:
18736 * testsuite/debug/printf_extension.c: (main):
18737 * testsuite/elements/tee.c:
18738 * testsuite/negotiation/.cvsignore:
18739 * testsuite/negotiation/Makefile.am:
18740 * testsuite/negotiation/pad_link.c:
18741 * testsuite/pad/Makefile.am:
18742 * testsuite/pad/chainnopull.c:
18743 * testsuite/pad/getnopush.c:
18744 * testsuite/pad/link.c:
18745 * testsuite/refcounting/sched.c: (create_pipeline):
18746 * testsuite/registry/Makefile.am:
18747 * testsuite/registry/gst-print-formats.c:
18748 * testsuite/schedulers/.cvsignore:
18749 * testsuite/schedulers/142183-2.c:
18750 * testsuite/schedulers/142183.c:
18751 * testsuite/schedulers/143777-2.c:
18752 * testsuite/schedulers/143777.c:
18753 * testsuite/schedulers/147713.c:
18754 * testsuite/schedulers/147819.c:
18755 * testsuite/schedulers/147894-2.c:
18756 * testsuite/schedulers/147894.c:
18757 * testsuite/schedulers/Makefile.am:
18758 * testsuite/schedulers/group_link.c:
18759 * testsuite/schedulers/queue_link.c:
18760 * testsuite/schedulers/relink.c:
18761 * testsuite/schedulers/unlink.c:
18762 * testsuite/schedulers/unref.c:
18763 * testsuite/schedulers/useless_iteration.c:
18764 * testsuite/states/bin.c:
18765 clean out/remove some stuff from the testsuite directories
18767 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18770 check for some headers
18771 * gst/elements/Makefile.am:
18772 * gst/elements/gstelements.c:
18773 don't compile fdsrc without sys/socket.h
18774 * gst/indexers/Makefile.am:
18775 * gst/indexers/gstindexers.c: (plugin_init):
18776 don't compile fileindex without mmap
18778 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
18785 * check/Makefile.am:
18786 * docs/gst/Makefile.am:
18787 * examples/helloworld/Makefile.am:
18789 * gst/base/Makefile.am:
18790 * gst/check/Makefile.am:
18791 * gst/elements/Makefile.am:
18792 * gst/indexers/Makefile.am:
18793 * gst/parse/Makefile.am:
18794 * libs/gst/controller/Makefile.am:
18795 * libs/gst/dataprotocol/Makefile.am:
18796 * examples/helloworld/helloworld.c: (event_loop):
18797 compile fixes, though it's not being compiled currently
18799 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18801 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18802 Add some simple tests for the new taglist date API.
18804 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18806 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18807 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18808 Beautify 'last-message' output: print 'none' for buffer timestamps
18809 and durations if none is set; improve alignment with next messages.
18811 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
18813 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18814 * gst/gstpluginfeature.h:
18815 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18816 * gst/gstregistry.h:
18817 * docs/gst/gstreamer-sections.txt:
18818 Add new API to check plugin feature version requirements.
18820 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18821 Some basic tests for the above.
18823 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18825 * gst/gststructure.c: (gst_structure_to_string):
18826 guard against NULL printf - happens when for example
18827 a message structure with GstClock gets serialized
18829 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18831 * gst/base/gstcollectpads.c: (gst_collectpads_event):
18832 Fix presumable copy'n'pasto.
18834 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18836 * gst/elements/gstfakesrc.h:
18837 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18838 * gst/elements/gsttypefindelement.c:
18839 fix some signedness
18840 * gst/elements/gstfilesink.c: (gst_file_sink_render):
18841 I wonder if this could actually write +2GB files before
18843 2005-10-13 Andy Wingo <wingo@pobox.com>
18845 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18846 Fix Timmeke Waymans bug.
18847 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18848 string of the proper length to gst_caps_from_string. There's a
18849 potential for, before this fix, that this could cause someone
18850 connecting over the network to cause a segfault if the payload is
18851 not NUL-terminated.
18853 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18855 * docs/design/draft-push-pull.txt:
18856 * docs/design/part-overview.txt:
18857 * docs/random/TODO-pre-0.9:
18858 * docs/random/old/ChangeLog.gstreamer:
18859 * gst/base/gstpushsrc.c:
18863 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18865 * gst/glib-compat.c: (gst_flags_get_first_value):
18866 * gst/glib-compat.h:
18867 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18868 (gst_value_compare_double), (gst_value_serialize_flags):
18869 GLib 2.6 g_flags_get_first_value has a bug that triggers an
18872 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18875 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18877 * tools/gst-launch.c: (event_loop):
18878 print out clock nicely
18880 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18882 * docs/gst/gstreamer-sections.txt:
18883 * gst/gsttaglist.h:
18884 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18885 (gst_tag_list_get_date_index):
18886 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18887 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18889 2005-10-13 Julien MOUTTE <julien@moutte.net>
18891 * gst/base/gstcollectpads.c: (gst_collectpads_event),
18892 (gst_collectpads_chain):
18893 * gst/base/gstcollectpads.h: Handle newsegment and store informations
18896 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18898 * docs/gst/gstreamer-sections.txt:
18901 * tools/gst-inspect.c: (main):
18902 * tools/gst-launch.c: (main):
18903 * tools/gst-run.c: (main):
18904 * tools/gst-xmlinspect.c: (main):
18905 fix GOption context leaks
18908 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18912 * win32/common/config.h:
18914 * win32/vs6/grammar.dsp:
18915 * win32/vs6/libgstelements.dsp:
18916 * win32/vs6/libgstreamer.dsp:
18919 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18921 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18922 * gst/base/gstbasesrc.c: (gst_base_src_query):
18923 fix more guint64<->gdouble conversions
18925 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18928 add win32-update target
18929 * win32/common/gstconfig.h:
18930 * win32/common/gstenumtypes.c:
18931 * win32/common/gstenumtypes.h:
18932 * win32/common/gstversion.h:
18933 add files that visual studio can't generate
18935 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18938 add a win32-update target
18941 2005-10-12 Wim Taymans <wim@fluendo.com>
18943 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18944 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18945 * gst/gstelement.c: (gst_element_commit_state),
18946 (gst_element_set_state):
18947 Protect flags with proper lock.
18948 unref provided cached clock in dispose.
18950 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18953 * gst/gstminiobject.h:
18955 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18956 removed unused flags from miniobject
18959 2005-10-12 Wim Taymans <wim@fluendo.com>
18961 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18962 (gst_file_sink_event), (gst_file_sink_render):
18963 Flush before seeking.
18965 2005-10-12 Andy Wingo <wingo@pobox.com>
18967 * gst/gst.c (gst_init_check): Ignore unknown options, as has
18968 always been the case.
18970 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18972 * check/gst/gstbin.c: (GST_START_TEST):
18973 * docs/gst/gstreamer-sections.txt:
18974 * gst/base/gstbasesink.c: (gst_base_sink_init):
18975 * gst/base/gstbasesrc.c: (gst_base_src_init),
18976 (gst_base_src_get_range), (gst_base_src_check_get_range),
18977 (gst_base_src_start), (gst_base_src_stop):
18978 * gst/base/gstbasesrc.h:
18979 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18980 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18981 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18985 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18987 * gst/gstelement.c: (gst_element_is_locked_state),
18988 (gst_element_set_locked_state), (gst_element_commit_state),
18989 (gst_element_set_state):
18990 * gst/gstelement.h:
18991 * gst/gstindex.c: (gst_index_init):
18993 * gst/gstminiobject.h:
18994 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18995 (gst_object_set_parent):
18997 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18998 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19000 * gst/gstpadtemplate.h:
19001 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19002 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19003 * gst/gstpipeline.h:
19004 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19005 (gst_file_index_commit):
19006 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19007 * testsuite/pad/link.c: (gst_test_src_init),
19008 (gst_test_filter_init), (gst_test_sink_init):
19009 * testsuite/states/locked.c: (main):
19010 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19011 moved bitshift from macro to enum definition
19013 2005-10-12 Wim Taymans <wim@fluendo.com>
19015 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19016 * gst/elements/gstfilesink.c: (gst_file_sink_event),
19017 (gst_file_sink_render):
19018 Some more debugging info.
19020 2005-10-12 Wim Taymans <wim@fluendo.com>
19022 * docs/design/part-states.txt:
19023 * tools/gst-launch.c: (main):
19025 Revert non-intentional change.
19027 2005-10-12 Wim Taymans <wim@fluendo.com>
19029 * check/gst/gstbin.c: (GST_START_TEST):
19030 * check/gst/gstelement.c: (GST_START_TEST):
19031 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19032 * check/gst/gstghostpad.c: (GST_START_TEST):
19033 * check/gst/gstpipeline.c: (GST_START_TEST):
19034 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19035 * check/states/sinks.c: (GST_START_TEST):
19036 * gst/elements/gsttypefindelement.c: (stop_typefinding):
19037 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19038 (gst_bin_remove_func), (gst_bin_get_state_func),
19039 (gst_bin_recalc_state), (gst_bin_change_state_func),
19041 * gst/gstelement.c: (gst_element_get_state_func),
19042 (gst_element_get_state), (gst_element_abort_state),
19043 (gst_element_commit_state), (gst_element_set_state),
19044 (gst_element_change_state), (gst_element_change_state_func):
19045 * gst/gstelement.h:
19046 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19047 (gst_pipeline_provide_clock_func):
19048 * gst/gstutils.c: (gst_element_link_pads_filtered):
19049 * tools/gst-launch.c: (main):
19050 * tools/gst-typefind.c: (main):
19051 Use GstClockTime in _get_state() instead of GTimeVal.
19052 Remove old code in gstutils.c
19054 2005-10-12 Andy Wingo <wingo@pobox.com>
19056 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19059 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19060 there is no task. Shouldn't affect any code, as nothing in our
19061 plugins checks this return value.
19062 (gst_pad_stop_task): Also take the stream lock if the pad has no
19063 task. Docs updated.
19065 2005-10-12 Wim Taymans <wim@fluendo.com>
19067 * gst/gstpad.c: (pre_activate), (post_activate),
19068 (gst_pad_activate_pull), (gst_pad_activate_push):
19069 Cleanup activation code. Reset old state if
19072 2005-10-12 Wim Taymans <wim@fluendo.com>
19074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19075 (gst_base_sink_change_state):
19076 No need to prerol after receiving EOS.
19078 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19079 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19080 * gst/elements/gstidentity.c: (gst_identity_event):
19081 Print events more verbosely.
19083 2005-10-12 Wim Taymans <wim@fluendo.com>
19085 * check/Makefile.am:
19086 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19087 * check/states/sinks2.c:
19088 Moved sinks2 testcode in sinks check.
19090 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19091 (gst_bin_remove_func), (gst_bin_recalc_state),
19092 (gst_bin_change_state_func), (bin_bus_handler):
19093 Fix potential race condition when _get_state() iterated over an
19094 ASYNC element right before it posted a state completion.
19097 Do proper cast here.
19099 * gst/gstevent.c: (gst_event_new_newsegment),
19100 (gst_event_parse_newsegment):
19101 A playback rate of 0.0 is not allowed.
19103 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19105 * win32/common/config.h:
19106 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19107 (_trewinddir), (_ttelldir), (_tseekdir):
19108 * win32/common/dirent.h:
19109 * win32/common/gtchar.h:
19110 * win32/common/libgstbase.def:
19111 * win32/common/libgstreamer.def:
19112 * win32/vs6/grammar.dsp:
19113 * win32/vs6/gst_inspect.dsp:
19114 * win32/vs6/gst_launch.dsp:
19115 * win32/vs6/gstreamer.dsw:
19116 * win32/vs6/libgstbase.dsp:
19117 * win32/vs6/libgstelements.dsp:
19118 * win32/vs6/libgstreamer.dsp:
19119 Visual Studio 6 project files, and a new common directory.
19122 2005-10-11 Wim Taymans <wim@fluendo.com>
19124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19125 (gst_base_sink_do_sync), (gst_base_sink_query),
19126 (gst_base_sink_change_state):
19127 * gst/base/gstbasesink.h:
19128 Correctly parse newsegment info.
19130 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19132 * gst/gst.c: (init_post):
19133 split plugin paths correctly
19135 2005-10-11 Wim Taymans <wim@fluendo.com>
19137 * check/gst/gstevent.c: (GST_START_TEST):
19138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19139 (gst_base_sink_change_state):
19140 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19141 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19142 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19143 * gst/gstevent.c: (gst_event_new_newsegment),
19144 (gst_event_parse_newsegment):
19146 Added extra flag to newsegment for future API freeze.
19147 Updated check and base elements.
19149 2005-10-11 Julien MOUTTE <julien@moutte.net>
19151 * gst/base/gstcollectpads.c: (gst_collectpads_init),
19152 (gst_collectpads_add_pad), (gst_collectpads_pop),
19153 (gst_collectpads_event), (gst_collectpads_chain):
19154 * gst/base/gstcollectpads.h: Handle EOS correctly.
19156 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19158 * tools/gst-launch.c: (main):
19159 more null protecting
19161 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19163 * gst/gst-i18n-lib.h:
19164 check for ENABLE_NLS, not GETTEXT_PACKAGE
19165 * gst/gstregistry.c: (gst_registry_add_plugin),
19166 (gst_registry_scan_path_level),
19167 (_gst_registry_remove_cache_plugins):
19168 protect possibly NULL strings
19169 * gst/parse/types.h:
19170 config.h already included before
19171 * tools/gst-inspect.c: (main):
19172 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19173 check for ENABLE_NLS, not GETTEXT_PACKAGE
19174 * tools/gst-launch.c: (main):
19175 check for ENABLE_NLS, not GETTEXT_PACKAGE
19177 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19180 if we don't have glib, fail before testing 2.8
19181 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19182 fix a leak, should fix plugins-base testsuite
19184 2005-10-11 Andy Wingo <wingo@pobox.com>
19186 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19187 take the mode we're going to as an arg. Go head and set the mode
19188 and flushing flags now, so that if the activate function starts a
19189 thread all the flags will be in the right state.
19190 (post_activate): Renamed also. Just handle making sure streaming
19191 finishes for the deactivation case, and setting the deactivated
19193 (gst_pad_set_active): Complain loudly if deactivation fails.
19194 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19195 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19196 remove the terrible hack.
19198 2005-10-11 Wim Taymans <wim@fluendo.com>
19200 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19201 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19202 (gst_bin_recalc_state), (gst_bin_change_state_func),
19203 (gst_bin_dispose), (bin_bus_handler):
19205 Prepare to make current EOS message queue more generic.
19208 * gst/gstevent.c: (gst_event_new_newsegment),
19209 (gst_event_parse_newsegment):
19211 Rename base to stream_time.
19213 * gst/gstmessage.h:
19216 2005-10-11 Wim Taymans <wim@fluendo.com>
19218 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19219 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19220 (gst_bin_change_state_func), (bin_bus_handler):
19222 Work on proper clock selection.
19224 2005-10-11 Edward Hervey <edward@fluendo.com>
19226 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19227 * libs/gst/controller/gstcontroller.h:
19228 Added GList* version of _remove_properties() in order to be able to wrap
19231 2005-10-11 Wim Taymans <wim@fluendo.com>
19233 * docs/design/part-states.txt:
19236 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19237 (gst_bin_change_state_func), (bin_bus_handler):
19238 Doc updates. Don't distribute the same clock over and over again.
19244 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19245 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19246 (gst_pad_send_event):
19248 Make probe emission threadsafe again.
19249 Register quarks and move _get_name() from utils.
19252 * gst/gstpipeline.c: (gst_pipeline_class_init),
19253 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19254 Only redistribute the clock of it changed.
19256 * gst/gstsystemclock.h:
19261 Moved the _flow_get_name() to GstPad.
19263 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19265 * check/gst-libs/gdp.c: (GST_START_TEST):
19266 * check/gst/gstcaps.c: (GST_START_TEST):
19267 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19268 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19269 (gst_dp_packet_from_caps):
19270 fix more valgrind warnings before turning up the heat
19272 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19274 * gst/parse/grammar.y:
19275 some cleanup before the hacking
19277 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19279 * gst/base/gstbasesrc.c: (gst_base_src_query):
19281 * gst/gstutils.c: (gst_guint64_to_gdouble),
19282 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19284 externalize, basesrc uses it
19285 obviously the implementation needs testing
19287 2005-10-10 Wim Taymans <wim@fluendo.com>
19289 * tests/sched/Makefile.am:
19290 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19291 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19293 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19295 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19296 apparently converting from guint64 to double is not implemented
19299 2005-10-10 Wim Taymans <wim@fluendo.com>
19301 * check/Makefile.am:
19302 * check/generic/states.c: (GST_START_TEST):
19303 * check/gst/gstbin.c: (GST_START_TEST):
19304 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19305 * check/states/sinks.c: (GST_START_TEST):
19306 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19308 Check fixes, use API as stated in design docs, remove hacks.
19310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19311 (gst_base_sink_change_state):
19312 Catch stopping our task while we're shutting down.
19314 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19315 (gst_bin_remove_func), (gst_bin_get_state_func),
19316 (gst_bin_recalc_state), (gst_bin_change_state_func),
19319 * gst/gstelement.c: (gst_element_init),
19320 (gst_element_get_state_func), (gst_element_abort_state),
19321 (gst_element_commit_state), (gst_element_lost_state),
19322 (gst_element_set_state), (gst_element_change_state),
19323 (gst_element_change_state_func):
19324 * gst/gstelement.h:
19325 New state change algorithm (see #318116)
19327 * gst/gstpipeline.c: (gst_pipeline_class_init),
19328 (gst_pipeline_init), (gst_pipeline_set_property),
19329 (gst_pipeline_get_property), (do_pipeline_seek),
19330 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19331 * gst/gstpipeline.h:
19332 Remove crude state change hacks.
19335 Remove crude hacks.
19337 * tools/gst-launch.c: (main):
19338 Fixes for state change. Needs some more work to fully use the
19341 2005-10-10 Andy Wingo <wingo@pobox.com>
19343 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19345 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19346 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19349 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19351 * gst/gstiterator.c: (gst_iterator_new):
19352 Fix my previous commit: GTypes passed to gst_iterator_new()
19353 can be fundamental types.
19355 2005-10-10 Wim Taymans <wim@fluendo.com>
19357 * gst/gstelement.c: (gst_element_iterate_pad_list),
19358 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19359 (gst_element_iterate_sink_pads):
19360 Use src/sink pads lists for the respective iterators instead
19363 2005-10-10 Andy Wingo <wingo@pobox.com>
19365 Merged in popt removal + GOption addition patch from Ronald, bug
19368 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19369 GstElement macros around, remove popt-related symbols, add goption
19372 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19374 * docs/gst/Makefile.am:
19375 * docs/libs/Makefile.am: No POPT_CFLAGS.
19377 * examples/manual/Makefile.am:
19378 * docs/manual/basics-init.xml: Doc updates with an example.
19380 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19381 (gst_init), (parse_one_option), (parse_goption_arg):
19382 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19383 bit of hand merging and debugging to get the GOption stuff working
19386 * tests/Makefile.am:
19387 * tools/Makefile.am:
19388 * tools/gst-inspect.c: (main):
19389 * tools/gst-launch.c: (main):
19390 * tools/gst-run.c: (main):
19391 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19393 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19395 * gst/gstiterator.c: (gst_iterator_new):
19396 Add assertions to make sure passed GType is likely to really
19397 be a GType (as the compiler won't catch it if the size and
19398 GType arguments get mixed up, see #318447).
19400 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19402 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19404 * gst/gstbin.c: (gst_bin_iterate_sorted):
19405 Pass GType and size arguments to gst_iterator_new() in the right
19406 order (maybe we should make _new() take the GType as first argument
19407 just like _new_list()?) (#318447).
19410 2005-10-10 Wim Taymans <wim@fluendo.com>
19412 * gst/gstelement.c: (gst_element_finalize):
19413 And free the GStaticRecMutex too
19415 2005-10-10 Andy Wingo <wingo@pobox.com>
19417 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19418 Allocate and free the mutex properly.
19420 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19422 (GstElement): The state_lock is now recursive. Rebuild your
19423 plugins, suckers. Old macros adapted.
19425 * docs/gst/gstreamer-sections.txt: Doc updates.
19428 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19429 (g_static_rec_cond_wait): Ported from state changes patch, while
19430 we wait on bug #317802 to be solved in a well-distributed GLib.
19432 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19433 gst_element_change_state, variable name changes.
19434 (gst_element_change_state): Split out of gst_element_set_state in
19435 preparation for the state change merge. Doesn't pay attention to
19436 the 'transition' argument.
19437 (gst_element_set_state): Updates, hopefully purely cosmetic.
19438 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19439 state change patch.
19440 (gst_element_get_state_func): Renamed from get_state, cosmetic
19443 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19445 * gst/elements/gstelements.c:
19446 * win32/GStreamer.vcproj:
19448 * win32/dirent.c: (_tseekdir):
19449 * win32/gst-inspect.vcproj:
19450 * win32/gst-launch.vcproj:
19451 * win32/gstconfig.h:
19452 * win32/gstelements.vcproj:
19453 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19454 * win32/gstreamer.def:
19455 * win32/msvc71.sln:
19456 updates for the win32 build (patch from Sebastien Moutte)
19458 2005-10-10 Andy Wingo <wingo@pobox.com>
19460 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19461 gst_bin_get_state, cleaned up (but no logic changes).
19462 (bin_element_is_sink): Comment updates.
19463 (sink_iterator_filter): Remove needless cast.
19464 (gst_bin_iterate_sinks): Doc update.
19465 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19466 cleaned up (but no logic changes).
19468 * check/states/sinks.c (test_src_sink): Cleanups from the state
19470 (test_livesrc_sink): Sync on the state.
19472 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19473 the state change patch.
19475 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19478 * check/gst/gstbin.c: Merge in some style fixes and additional
19479 checks from Wim's state change patch.
19481 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19483 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19484 (gst_type_find_helper):
19485 Check whether we have the requested data already in our list of
19486 cached buffers before pulling a new buffer; also make the buffer
19487 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19489 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19494 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19495 don't use long long, it's not portable. Replacing with
19496 gint64 seems to work; let's hope no skeletons fall out of the closet.
19498 2005-10-10 Andy Wingo <wingo@pobox.com>
19500 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19502 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19504 * docs/gst/gstreamer-sections.txt:
19509 * gst/gstmessage.c: (gst_message_parse_state_changed):
19512 more docs, fix compilation
19514 2005-10-09 Philippe Khalaf <burger@speedy.org>
19515 * gst/gstmessage.c:
19516 Fixed a few forgotten variables on previous commit
19518 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19520 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19521 Fix evil typefind crasher: getrange() might return a short
19522 buffer at the end of a file, but gst_type_find_peek() must
19523 either return the full data as requested or NULL, but
19524 never a short buffer.
19526 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19528 * gst/gstmessage.c: (gst_message_new_state_changed),
19529 (gst_message_parse_state_changed):
19530 * gst/gstmessage.h:
19531 don't use "new", it's a C++ keyword
19533 2005-10-08 Wim Taymans <wim@fluendo.com>
19535 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19536 * gst/gstelement.c: (gst_element_post_message):
19537 * gst/gstpipeline.c: (gst_pipeline_change_state):
19538 Small docs and debug updates.
19540 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19542 * docs/gst/gstreamer-sections.txt:
19543 * gst/gstelementfactory.c:
19545 * gst/gsttaglist.c:
19548 2005-10-08 Wim Taymans <wim@fluendo.com>
19550 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19551 (gst_bin_dispose), (bin_bus_handler):
19552 Fix typos, add comments.
19553 Clear EOS list when going to PAUSED from any direction and do it
19554 in a threadsafe way.
19555 Get base time in a threadsafe way too.
19556 Fix confusing debug in the change_state function.
19557 Various other small cleanups.
19559 * gst/gstelement.c: (gst_element_post_message):
19560 Fix very verbose bus posting code.
19562 * gst/gstpipeline.c: (gst_pipeline_class_init),
19563 (gst_pipeline_set_property), (gst_pipeline_get_property),
19564 (gst_pipeline_change_state):
19565 Small ARG_ -> PROP_ cleanup
19567 2005-10-08 Wim Taymans <wim@fluendo.com>
19569 * gst/gstbin.c: (is_eos), (bin_bus_handler):
19570 Do a less CPU demanding EOS check because we can.
19572 2005-10-08 Wim Taymans <wim@fluendo.com>
19574 * libs/gst/dataprotocol/dataprotocol.c:
19575 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19576 (gst_dp_packet_from_event):
19577 * libs/gst/dataprotocol/dataprotocol.h:
19578 * libs/gst/dataprotocol/dp-private.h:
19579 It's about time we bump the version number.
19580 Since event types don't fit in the guint8 anymore describing
19581 the payload type, make payload type 16 bits wide.
19583 2005-10-08 Wim Taymans <wim@fluendo.com>
19585 * docs/design/part-TODO.txt:
19586 * docs/design/part-clocks.txt:
19587 * docs/design/part-events.txt:
19588 * docs/design/part-gstbin.txt:
19589 * docs/design/part-gstelement.txt:
19590 * docs/design/part-gstpipeline.txt:
19591 * docs/design/part-live-source.txt:
19592 * docs/design/part-messages.txt:
19593 * docs/design/part-overview.txt:
19594 * docs/design/part-states.txt:
19597 2005-10-08 Wim Taymans <wim@fluendo.com>
19601 Fix event quark registration.
19602 Add some space between events so we can insert them in the
19605 2005-10-08 Wim Taymans <wim@fluendo.com>
19607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19608 (gst_base_sink_handle_buffer):
19609 Better log message.
19612 * gst/gstelement.h:
19615 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19616 (gst_queue_set_property), (gst_queue_get_property):
19618 Remove old unused properties.
19620 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19621 * docs/gst/gstreamer-sections.txt:
19622 * gst/gstmessage.c:
19623 * gst/gstmessage.h:
19624 * gst/gstminiobject.c:
19625 * gst/gstminiobject.h:
19629 lots of new docs and doc fixes
19631 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19633 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19635 * gst/gstregistry.c: (gst_registry_lookup_locked),
19636 (gst_registry_scan_path_level):
19637 * gst/gstregistryxml.c: (load_plugin):
19638 Only ever load one plugin for a given plugin basename.
19639 This ensures correct overriding of GST_PLUGIN_PATH over
19640 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19641 system installed plugins.
19643 2005-10-08 Wim Taymans <wim@fluendo.com>
19645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19646 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19647 Prepare for doing QOS.
19649 2005-10-08 Wim Taymans <wim@fluendo.com>
19651 * check/gst/gstbin.c: (GST_START_TEST):
19652 * check/pipelines/cleanup.c: (GST_START_TEST):
19653 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19654 Allow new clock message too.
19656 2005-10-08 Wim Taymans <wim@fluendo.com>
19658 * gst/gstmessage.c: (gst_message_new_error),
19659 (gst_message_new_warning), (gst_message_new_tag),
19660 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19661 (gst_message_new_clock_lost), (gst_message_new_new_clock),
19662 (gst_message_new_segment_start), (gst_message_new_segment_done),
19663 (gst_message_parse_state_changed),
19664 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19665 (gst_message_parse_new_clock):
19666 * gst/gstmessage.h:
19667 Also carry the clock in question.
19669 2005-10-08 Wim Taymans <wim@fluendo.com>
19671 * gst/gstmessage.c: (gst_message_new_custom),
19672 (gst_message_new_eos), (gst_message_new_error),
19673 (gst_message_new_warning), (gst_message_new_tag),
19674 (gst_message_new_state_changed), (gst_message_new_clock_provide),
19675 (gst_message_new_new_clock), (gst_message_new_segment_start),
19676 (gst_message_new_segment_done), (gst_message_parse_state_changed),
19677 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19678 * gst/gstmessage.h:
19680 Added clock related messages.
19682 * gst/gstpipeline.c: (gst_pipeline_change_state):
19683 Post message when the clock changed.
19685 * tools/gst-launch.c: (event_loop):
19688 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
19690 * tools/gst-inspect.c: (print_element_properties_info):
19691 Can't pass NULL strings to g_print() on windows.
19693 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * docs/Makefile.am:
19696 * docs/gst/Makefile.am:
19697 * docs/gst/gstreamer-docs.sgml:
19698 * docs/gst/running.xml:
19699 * docs/version.entities.in:
19700 add a chapter on running GStreamer.
19701 document GST_DEBUG and GST_PLUGIN* env vars
19703 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19708 remove PLUGINS_BUILDDIR stuff
19709 * gst/gst.c: (init_post):
19710 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19712 remove, it was condescending and not needed
19714 2005-10-08 Wim Taymans <wim@fluendo.com>
19716 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19717 (gst_base_sink_handle_object), (gst_base_sink_event),
19718 (gst_base_sink_wait), (gst_base_sink_handle_event),
19719 (gst_base_sink_change_state):
19720 * gst/base/gstbasesink.h:
19721 Repost EOS message while going to PLAYING if still EOS.
19722 Make sure that when receiving a FLUSH_START we don't attempt
19723 to sync on the clock anymore.
19725 2005-10-08 Wim Taymans <wim@fluendo.com>
19727 * tools/gst-launch.c: (event_loop):
19728 Better message printout.
19730 2005-10-08 Wim Taymans <wim@fluendo.com>
19732 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19733 (gst_bin_child_proxy_get_children_count):
19734 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19735 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19736 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19737 (gst_child_proxy_set_valist):
19738 * gst/parse/grammar.y:
19739 Make ChildProxy threadsafe and fix mem leaks.
19741 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19743 * gst/gst.c: (init_post):
19744 debug the GST_PLUGIN_ env vars
19746 2005-10-08 Wim Taymans <wim@fluendo.com>
19748 * check/gst/gstbin.c: (GST_START_TEST):
19749 * check/gst/gstmessage.c: (GST_START_TEST):
19750 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19751 * gst/gstelement.c: (gst_element_commit_state),
19752 (gst_element_lost_state):
19753 * gst/gstmessage.c: (gst_message_new_state_changed),
19754 (gst_message_parse_state_changed):
19755 * gst/gstmessage.h:
19756 * tools/gst-launch.c: (event_loop):
19757 Added extra field to STATE_CHANGE message with the pending
19758 state, which will be different from the new state soon.
19760 2005-10-08 Wim Taymans <wim@fluendo.com>
19762 * gst/gstbus.c: (gst_bus_pop):
19764 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19765 Small cleanups and doc updates.
19767 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
19769 * gst/gst.c: (init_pre):
19770 * gst/gstbin.c: (gst_bin_add_func):
19771 log distributing clocks and base time
19772 * gst/gstregistry.c: (gst_registry_add_plugin),
19773 (gst_registry_scan_path_level), (gst_registry_scan_path):
19774 clean up the debugging output a little
19775 * gst/gstutils.c: (gst_element_state_get_name):
19776 warn about a memleak (I've actually seen this be used, though
19777 it was probably a bug)
19779 2005-10-07 Wim Taymans <wim@fluendo.com>
19781 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19782 (gst_base_src_init), (gst_base_src_default_newsegment),
19783 (gst_base_src_newsegment), (gst_base_src_do_seek),
19784 (gst_base_src_loop), (gst_base_src_start):
19785 * gst/base/gstbasesrc.h:
19786 Make the newsegment event customizable by subclasses.
19788 2005-10-07 Wim Taymans <wim@fluendo.com>
19790 * gst/gstevent.c: (gst_event_new_buffersize),
19791 (gst_event_parse_buffersize):
19793 New event for future idea.
19795 2005-10-07 Andy Wingo <wingo@pobox.com>
19797 * gst/gstelement.c (gst_element_post_message): Doc update.
19799 * docs/gst/gstreamer-sections.txt: Update.
19801 * gst/gstmessage.c (gst_message_new_application): Made into a
19802 function like honest API calls.
19803 (gst_message_new_element): New message type.
19805 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19807 * check/elements/fakesrc.c (test_no_preroll): New check, checks
19808 that setting a live fakesrc to PAUSED returns NO_PREROLL both
19811 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19812 NO_PREROLL from gst_element_change_state to fall through.
19814 2005-10-07 Wim Taymans <wim@fluendo.com>
19816 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19817 (gst_ghost_pad_do_activate_push):
19818 Activating a ghostpad with no internal pad in push mode
19821 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
19824 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19825 Fixes compilation on Windows.
19827 2005-10-07 Michael Smith <msmith@fluendo.com>
19829 * tools/gst-inspect.c:
19830 Print out feature and plugin count at the end when printing out
19833 2005-10-04 Michael Smith <msmith@fluendo.com>
19835 * gst/gsterror.c: (_gst_stream_errors_init):
19836 Add another error string used in a few existing plugins.
19839 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19840 * tools/gst-inspect.c: (print_element_info):
19841 When a feature disappears from a plugin (and the feature exists in
19842 the cached registry file), things went horribly wrong. This isn't a
19843 complete fix, we should actually be removing the 'missing' features
19844 from the features list when we load the actual plugin. That's not
19847 2005-10-04 Johan Dahlin <johan@gnome.org>
19849 * check/gst/gstiterator.c: (GST_START_TEST):
19850 * gst/gstbin.c: (gst_bin_iterate_elements),
19851 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19852 * gst/gstelement.c: (gst_element_iterate_pads):
19853 * gst/gstformat.c: (gst_format_iterate_definitions):
19854 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19855 (gst_iterator_new_list), (gst_iterator_filter):
19856 * gst/gstiterator.h:
19857 * gst/gstquery.c: (gst_query_type_iterate_definitions):
19858 Add a GType to GstIterator, update callsites and tests.
19860 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19862 * gst/gstpad.c: (gst_pad_event_default_dispatch):
19863 give events a chance to be handled by event probes when the pad
19866 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19868 * gst/gstevent.c: (gst_event_type_get_name),
19869 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19871 add string representations for event types
19873 2005-10-06 Wim Taymans <wim@fluendo.com>
19875 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19876 Don't use NULL pointers.
19878 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19880 * gst/gst_private.h:
19882 * gst/gstelement.c:
19884 * gst/gstpluginfeature.c:
19885 widen the debug category in output to fit the biggest one we have
19886 add a bus category and use it
19887 play with the colors
19888 fix up some categories
19890 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19892 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19893 add push activation of sink ghost pads.
19894 Andye, please verify
19896 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19898 * gst/gstutils.c: (gst_element_link_pads):
19899 fix a bug in the case where neither element has a pad
19900 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19901 add a test for that case
19903 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19905 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19906 emit have-data before checking for peers. This allows
19907 for probe handlers to connect elements. This helps autopluggers.
19908 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19910 add six checks, linked/unlinked with no/true/false probe
19912 2005-10-04 Wim Taymans <wim@fluendo.com>
19914 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19915 (gst_fake_sink_event), (gst_fake_sink_preroll),
19916 (gst_fake_sink_render), (gst_fake_sink_change_state):
19917 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19918 (gst_fake_src_get_property), (gst_fake_src_create),
19919 (gst_fake_src_stop):
19920 * gst/elements/gstidentity.c: (gst_identity_stop):
19921 Protect last_message with lock.
19923 2005-10-04 Edward Hervey <edward@fluendo.com>
19926 Added precision in the comments for GST_FORMAT_DEFAULT
19928 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
19930 * tools/gst-launch.c: (main):
19931 Don't try to run erroneous pipelines.
19933 2005-10-04 Julien MOUTTE <julien@moutte.net>
19935 * gst/gstbus.c: We don't need this header.
19937 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19940 back to development
19942 === release 0.9.3 ===
19944 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19948 Releasing 0.9.3, "Unregistered"
19950 2005-10-03 Andy Wingo <wingo@pobox.com>
19952 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19953 whereby calling a pad's activatepush() function can start a thread
19954 that starts to push or pull before the pad gets the FLUSHING flag
19955 unset. Hack around it by holding the stream lock until the flag is
19956 set. Need to replace this with a proper solution. Together with
19957 the ghost pad fixes, this fixes mp3 playing/tagreading.
19959 * docs/design/part-gstghostpad.txt: Add a note about activation of
19960 proxy pads outside of ghost pads.
19962 * gst/gstghostpad.c: Implement the ghost pad activation design.
19964 2005-10-02 Andy Wingo <wingo@pobox.com>
19966 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19967 It is volatile, after all.
19969 * docs/design/part-gstghostpad.txt: Flesh out activation with
19972 * gst/base/gstbasesrc.c (gst_base_src_init): Use
19975 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
19978 Fix (unused) AM_CONDITIONAL tests.
19980 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
19982 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19984 * gst/gstutils.c: (gst_pad_query_convert):
19985 Add assertion that makes sure src_val is >=0, just like
19986 gst_query_new_convert() has. (#315895)
19988 2005-09-30 Edward Hervey <edward@fluendo.com>
19990 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19991 Let's not iterate pads we're not interested in, it avoids getting
19992 sky-high refcounts on sinkpad.
19994 2005-09-30 Wim Taymans <wim@fluendo.com>
19996 * gst/gstelement.c: (gst_element_set_state),
19997 (gst_element_change_state):
19998 Small tweak, element in ASYNC remains ASYNC.
20000 2005-09-30 Wim Taymans <wim@fluendo.com>
20002 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20003 Only error is an error.
20005 * gst/gstbin.c: (gst_bin_change_state):
20008 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20009 Also call pad_block in pad alloc.
20011 * gst/gstutils.c: (gst_flow_get_name):
20014 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20016 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20017 (gst_base_src_get_range):
20018 Fix documentation typos. Add some more debug info.
20020 2005-09-29 David Schleef <ds@schleef.org>
20022 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20023 more end-user friendly.
20024 * tools/gst-inspect.c: (main): Check if command-line argument is
20025 a file and attempt to load that file as a plugin.
20027 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20029 * check/gst/gstbin.c:
20030 * check/states/sinks.c:
20031 fix tests for the new warning
20032 * check/gst/gstpipeline.c:
20033 add a test for pipeline and bus interaction
20034 * gst/gstelement.c:
20035 elements should be NULL if they get disposed; add a warning if not
20037 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20040 for 2.6 refcounting, make debug log more correct by printing
20041 the actual refcounts at the time of swap (Wim)
20043 2005-09-29 Andy Wingo <wingo@pobox.com>
20045 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20046 removes signal watches previously added via
20047 gst_bus_add_signal_watch.
20048 (gst_bus_add_signal_watch): Don't return the source id, just store
20049 it on the bus if there wasn't an id already.
20051 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20052 add_signal_watch and remove_signal_watch.
20054 2005-09-29 Edward Hervey <edward@fluendo.com>
20056 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
20057 Better if we actually iterate the list :)
20059 2005-09-29 Wim Taymans <wim@fluendo.com>
20061 * check/gst/gstbin.c: (GST_START_TEST):
20062 Change for new bus API.
20064 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20065 (send_messages), (GST_START_TEST), (gstbus_suite):
20066 Change for new bus signal API.
20068 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20069 (gst_bus_source_prepare), (gst_bus_source_check),
20070 (gst_bus_create_watch), (gst_bus_add_watch_full),
20071 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20072 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20074 Remove support for multiple GSources operating on different
20075 message types as it is too complex and unneeded when using
20077 Added support for receiving signals from the bus.
20079 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20081 * docs/libs/tmpl/gstdataprotocol.sgml:
20082 * docs/manual/advanced-dataaccess.xml:
20083 * gst/elements/gstcapsfilter.c:
20085 rename filter-caps to caps property
20087 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20089 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20090 More robust fraction string parsing.
20092 * docs/pwg/appendix-porting.xml:
20093 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20095 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20097 * gst/gstcaps.c: (gst_caps_do_simplify):
20098 Thou shalt not free a structure and then continue using it
20099 in the next loop iteration.
20101 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20103 Add test case for caps simplification.
20105 2005-09-29 Wim Taymans <wim@fluendo.com>
20107 * check/gst/gstbin.c: (GST_START_TEST):
20110 2005-09-29 Wim Taymans <wim@fluendo.com>
20112 * check/gst/gstbin.c: (GST_START_TEST):
20115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20116 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20117 (find_element), (gst_bin_sort_iterator_next),
20118 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20119 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20120 (gst_bin_change_state), (gst_bin_dispose):
20121 A bin does not have a bus, it gets the bus from the parent.
20123 * gst/gstelement.c: (gst_element_requires_clock),
20124 (gst_element_provides_clock), (gst_element_is_indexable),
20125 (gst_element_is_locked_state), (gst_element_change_state),
20126 (gst_element_set_bus_func):
20129 * gst/gstpipeline.c: (gst_pipeline_class_init),
20130 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20131 The pipeline provides a bus.
20133 2005-09-28 Johan Dahlin <johan@gnome.org>
20135 * gst/gstmessage.c (gst_message_parse_state_changed): Use
20136 gst_structure_get_enum instead of gst_structure_get_int
20138 * gst/gststructure.c (gst_structure_get_enum): Impl.
20140 * gst/gststructure.h (gst_structure_get_enum): Add
20142 * docs/gst/gstreamer-sections.txt: Ditto
20144 * gst/gstmessage.c (gst_message_new_state_changed): Use
20145 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20146 which does introspection.
20147 Reviewed by Christian Schaller
20149 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20151 * gst/gstinfo.c: (gst_debug_log_default):
20152 don't do dummy g_strdup()s
20153 * libs/gst/controller/gstcontroller.c:
20154 (on_object_controlled_property_changed),
20155 (gst_controlled_property_new), (gst_controller_new_valist),
20156 (gst_controller_new_list),
20157 (gst_controller_remove_properties_valist), (gst_controller_set),
20158 (gst_controller_get), (gst_controller_sync_values),
20159 (gst_controller_get_value_array), (_gst_controller_class_init),
20160 (gst_controller_get_type):
20161 * libs/gst/controller/gstcontroller.h:
20162 * libs/gst/controller/gstinterpolation.c:
20163 (gst_controlled_property_find_timed_value_node):
20164 convert // to /**/ comments
20166 2005-09-28 Wim Taymans <wim@fluendo.com>
20168 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20169 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20170 (gst_bus_sync_signal_handler):
20172 Added async-message and sync-message signals to the bus.
20173 Added helper BusFunc to emit signals for all posted messages.
20175 * gst/gstmessage.c: (gst_message_type_get_name),
20176 (gst_message_type_to_quark), (gst_message_get_type):
20177 * gst/gstmessage.h:
20178 Register quarks for message names.
20180 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20182 * docs/libs/gstreamer-libs-sections.txt:
20183 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20184 (gst_controller_new_list):
20185 * libs/gst/controller/gstcontroller.h:
20186 added another constructor for language bindings
20188 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20190 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20194 * gst/gstinfo.c: (_gst_debug_init):
20195 slightly more readable color for refcount debugging
20197 2005-09-28 Wim Taymans <wim@fluendo.com>
20199 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20200 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20201 (find_element), (gst_bin_sort_iterator_next),
20202 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20203 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20204 (gst_bin_change_state), (gst_bin_dispose):
20205 Small doc fixes. get_clock -> provide_clock.
20207 * gst/gstelement.c: (gst_element_class_init),
20208 (gst_element_provides_clock), (gst_element_provide_clock),
20209 (gst_element_get_clock), (gst_element_commit_state),
20210 (gst_element_lost_state):
20211 * gst/gstelement.h:
20212 Make get/set_clock() symetric. Add provide_clock vmethod since
20213 that is actually what this function does.
20215 * gst/gstpipeline.c: (gst_pipeline_class_init),
20216 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20217 (gst_pipeline_get_clock):
20218 get_clock -> provide_clock.
20220 2005-09-28 Andy Wingo <wingo@pobox.com>
20222 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20223 lieu of real docs...
20225 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20227 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20229 * gst/elements/gstcapsfilter.c:
20230 * gst/elements/gstfakesink.c:
20231 * gst/elements/gstfakesrc.c:
20232 * gst/elements/gstfdsink.c:
20233 * gst/elements/gstfdsrc.c:
20234 * gst/elements/gstfilesink.c:
20235 * gst/elements/gstfilesrc.c:
20236 * gst/elements/gstidentity.c:
20237 * gst/elements/gsttee.c:
20238 * gst/elements/gsttypefindelement.c:
20239 Make element details static.
20241 2005-09-28 Wim Taymans <wim@fluendo.com>
20243 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20244 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20245 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20246 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20247 (gst_bin_change_state), (gst_bin_dispose):
20248 Some documentation updates.
20249 Clean up dispose handlers.
20251 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20252 * gst/gstpad.c: (gst_pad_dispose):
20253 Clean up dispose handler.
20255 * gst/gstpipeline.c: (gst_pipeline_change_state):
20256 Removed spurious UNLOCK.
20258 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20260 * docs/gst/gstreamer-sections.txt:
20261 * gst/base/gstbasesrc.h:
20262 * gst/gstelement.h:
20266 * gst/gstpipeline.c:
20267 * gst/gstpipeline.h:
20270 added two new functions to the docs
20271 documents all undocumented GstXXXFlags
20272 completed some incomplete docs
20274 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20276 * gst/gstbin.c: (gst_bin_dispose):
20277 * gst/gstelement.c: (gst_element_dispose):
20278 remove now useless and leaky resurrection code in dispose
20279 * gst/base/gstbasesrc.c: (gst_base_src_init):
20280 * gst/gstelementfactory.c: (gst_element_factory_create):
20281 * gst/gstobject.c: (gst_object_set_parent):
20284 2005-09-27 Wim Taymans <wim@fluendo.com>
20286 * docs/design/part-TODO.txt:
20289 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20290 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20291 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20292 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20293 (gst_bin_change_state):
20294 * gst/gstelement.h:
20295 Remove element variable, we keep element info in the iterator now.
20297 2005-09-27 Andy Wingo <wingo@pobox.com>
20299 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20302 2005-09-27 Wim Taymans <wim@fluendo.com>
20304 * check/gst/gstbin.c: (GST_START_TEST):
20305 Enable check that works now.
20307 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20308 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20309 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20310 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20311 (gst_bin_change_state):
20313 Redid the state change algorithm using a topological sort algo.
20314 Handles all cases correctly.
20315 Exposed iterator for state change order.
20317 * gst/gstelement.h:
20318 Temp storage for state changes. Need to get rid of this soon.
20320 2005-09-27 Wim Taymans <wim@fluendo.com>
20322 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20323 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20324 (link_fold_func), (gst_pad_proxy_setcaps):
20325 Leak fixes, the fold functions need to unref the passed object and
20326 _get_parent_*() returns ref to parent.
20328 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20330 * check/gst/gstbuffer.c: (test_make_writable):
20331 Plug leak in test case and fix 'make check-valgrind'
20333 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20335 * gst/gstbuffer.c: (gst_subbuffer_init):
20336 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20337 works correctly in all circumstances (we could have just copied
20338 the parent buffer's readonly flag, but conceptually it seems
20339 cleaner to mark all subbuffers as read-only). (based on patch
20340 by Alessandro Decina, #314710).
20342 * check/gst/gstbuffer.c: (create_read_only_buffer),
20343 (test_make_writable), (test_subbuffer_make_writable),
20345 Add some tests for gst_buffer_make_writable().
20347 2005-09-27 Wim Taymans <wim@fluendo.com>
20349 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20350 use gst_object_has_ancestor().
20352 * gst/gstobject.c: (gst_object_has_ancestor):
20354 gst_object_has_ancestor() copied from gstbin.c as it is a
20357 * tests/instantiate/create.c: (create_all_elements):
20358 * tests/lat.c: (handoff_src), (handoff_sink):
20359 * tests/sched/runxml.c: (main):
20360 * tests/seeking/seeking1.c: (main):
20361 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20363 Fix compilation of some tests.
20365 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20368 Remove comment. GST_TYPE_G_ERROR is here to stay,
20369 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20370 (#316961, #300610).
20372 2005-09-26 Wim Taymans <wim@fluendo.com>
20374 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20375 Added check that shows error in state change order.
20377 2005-09-26 Wim Taymans <wim@fluendo.com>
20379 * gst/gstbin.c: (gst_bin_change_state):
20380 Make state change function use 3 queues again, we were
20381 adding elements in the wrong order.
20383 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20386 * gst/gstpad.c: (gst_pad_dispose):
20387 Added some debug info first.
20389 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20391 * docs/design/draft-push-pull.txt:
20392 * docs/design/part-events.txt:
20393 * docs/design/part-overview.txt:
20394 * docs/design/part-scheduling.txt:
20395 Replace all _pull_region() with _pull_range()
20397 2005-09-26 Andy Wingo <wingo@pobox.com>
20399 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20401 * check/gst-libs/controller.c: Update for controller api change.
20404 * tests/Makefile.am:
20405 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20406 over by GLib bug 118439.
20408 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20409 routines to a function.
20411 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20413 * libs/gst/controller/gsthelper.c:
20414 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20415 (gst_object_sync_values): Renamed from sink_values. Ugh.
20417 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20419 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20420 Renamed from controller_key, as it is exported.
20422 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20424 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20429 * gst/gstpadtemplate.h:
20432 * gst/gstqueryutils.c:
20433 * gst/gstqueryutils.h:
20434 remove queryutils headers after moving the two used functions
20435 to gstquery. also fixes build problem for gstsiddec
20437 2005-09-26 Michael Smith <msmith@fluendo.com>
20439 * tools/gst-launch.1.in:
20440 Correct documentation in manpage of debug syntax
20442 2005-09-26 Wim Taymans <wim@fluendo.com>
20444 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20445 (gst_base_src_is_seekable), (gst_base_src_change_state):
20446 Some more debugging info.
20448 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20450 * docs/gst/gstreamer-sections.txt:
20451 * gst/base/gstbasetransform.h:
20455 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20457 * docs/gst/.cvsignore:
20458 * docs/gst/tmpl/.cvsignore:
20459 * docs/gst/tmpl/gstpipeline.sgml:
20460 * docs/gst/tmpl/gstplugin.sgml:
20461 * gst/gstpipeline.c:
20464 inlined the last two docs files
20465 removed the tmpl directory from cvs (no more conflicts here!)
20467 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20469 * docs/gst/gstreamer-sections.txt:
20470 * docs/gst/tmpl/.cvsignore:
20471 * docs/gst/tmpl/gstpad.sgml:
20472 * docs/gst/tmpl/gstpadtemplate.sgml:
20474 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20475 (gst_pad_finalize), (gst_pad_set_pad_template):
20477 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20478 (gst_pad_template_class_init), (gst_pad_template_init),
20479 (gst_pad_template_dispose), (name_is_valid),
20480 (gst_static_pad_template_get), (gst_pad_template_new),
20481 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20482 (gst_pad_template_pad_created):
20483 * gst/gstpadtemplate.h:
20484 inlined two more docs
20485 factored gstpadtemplate out of gstpad
20487 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20489 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20490 (test_children_state_change_order_semi_sink):
20491 Fix test case: we can't rely on a fixed state change order when
20492 going from READY => PAUSED because the sink might commit its
20493 new state first when the first buffer created by the source
20494 reaches the sink before the source has finished its change state.
20495 (Test case still fails at times, see #316856, comment 5 onwards)
20497 2005-09-24 Wim Taymans <wim@fluendo.com>
20499 * docs/design/part-events.txt:
20500 * docs/design/part-gstbus.txt:
20501 * docs/design/part-gstpipeline.txt:
20502 * docs/design/part-messages.txt:
20503 * docs/design/part-overview.txt:
20504 * docs/design/part-segments.txt:
20508 * gst/gstelement.c:
20511 * gst/gstiterator.c:
20512 Various documentation updates.
20514 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20517 Well, that's embarassing. Luckily we weren't using
20518 GST_CLOCK_DIFF anywhere.
20520 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20522 * common/gtk-doc.mak:
20523 don't fail on building XML, FC4 slave shows a bunch of doc
20524 missing bits that I don't get
20526 * gst/gstpipeline.c:
20527 * gst/gststructure.c:
20530 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20532 * docs/design/part-gstbin.txt:
20533 * docs/design/part-gstbus.txt:
20535 Add blurb about how the bus goes into flushing mode and
20536 drops all messages when its bin goes from READY into NULL
20539 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20541 * docs/gst/gstreamer-sections.txt:
20542 * gst/gststructure.c: (gst_structure_get_clock_time):
20543 * gst/gststructure.h:
20544 add a method to get a GstClockTime out of a structure
20546 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20548 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20549 (test_children_state_change_order_semi_sink), (gst_bin_suite):
20550 Added test to check state change order in bins (can still be made
20551 to fail here under heavy disk load; bails out with 'Push on pad
20552 fakesink:sink0, but it was not activated in push mode').
20554 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20555 Fix state change order when there is only a semi sink (#316856)
20557 * gst/gstbus.c: (gst_bus_class_init):
20558 Use _class_peek_parent(), not _class_ref(); fix docs to say
20559 'default main context' instead of 'mainloop' where that is
20562 * gst/gstelement.c: (gst_element_commit_state),
20563 (gst_element_set_state):
20564 Fix typos in debug messages
20566 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20569 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20570 * gst/gstpluginfeature.c:
20572 various doc updates
20573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20574 change an assert into an error until it gets fixed properly
20576 2005-09-23 Stefan Kost <ensonic@users.sf.net>
20578 * docs/gst/gstreamer-sections.txt:
20579 * docs/gst/tmpl/.cvsignore:
20580 * docs/gst/tmpl/gstelement.sgml:
20581 * docs/gst/tmpl/gstinfo.sgml:
20582 * docs/gst/tmpl/gstobject.sgml:
20583 * gst/gstelement.c:
20584 * gst/gstelement.h:
20587 * gst/gstobject.c: (gst_object_class_init):
20589 inlined 3 more biiiig doc files and added some missing docs on the fly
20591 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20593 * check/gst/.cvsignore:
20594 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20595 * gst/gstregistryxml.c: (load_plugin),
20596 (gst_registry_xml_save_plugin):
20597 put back source in registry. add checks for find_plugin.
20598 * testsuite/states/bin.c: (assert_state), (empty_bin),
20599 (test_adding_one_element), (main):
20600 * testsuite/states/locked.c: (main):
20601 some compile/run fixes
20603 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
20605 * check/gst/gstvalue.c: (GST_START_TEST):
20606 fix leaks in the test itself
20608 2005-09-22 Wim Taymans <wim@fluendo.com>
20610 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20611 (gst_base_sink_send_event), (gst_base_sink_peer_query),
20612 (gst_base_sink_query):
20613 Prepare for more accurate position reporting and query
20616 * gst/gstelement.c: (gst_element_send_event),
20617 (gst_element_set_state):
20620 2005-09-22 Wim Taymans <wim@fluendo.com>
20622 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20623 (gst_query_parse_segment):
20625 More documentation.
20626 Add segment query for future use.
20628 2005-09-22 Wim Taymans <wim@fluendo.com>
20630 * gst/gstbin.c: (gst_bin_add_func):
20631 Some more debug info.
20633 * gst/gstelement.c: (gst_element_send_event):
20634 Simplify send_event
20636 * gst/gstelement.h:
20637 Don't know how flags got broken.
20642 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20644 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20645 Add simplistic test suite for GST_TYPE_DATE serialisation and
20648 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
20650 * docs/gst/gstreamer-sections.txt:
20651 * gst/gststructure.c: (gst_structure_set_valist),
20652 (gst_structure_get_date):
20653 * gst/gststructure.h:
20654 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20655 (gst_date_copy), (gst_value_compare_date),
20656 (gst_value_serialize_date), (gst_value_deserialize_date),
20657 (gst_value_transform_date_string),
20658 (gst_value_transform_string_date), (_gst_value_initialize):
20660 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20661 bunch of utility functions along with a hack that checks that
20662 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20663 is required. Part of the grand scheme in #170777.
20665 2005-09-22 Andy Wingo <wingo@pobox.com>
20667 * gst/gstconfig.h.in: Psych out gtk-doc.
20669 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20671 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20673 * tools/gst-inspect.c (print_element_list): Plug some
20674 inconsequential leaks.
20676 * gst/gstregistry.c (gst_registry_get_default): Doc.
20678 * check/gst/gstplugin.c:
20679 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20680 * gst/gstelementfactory.c (gst_element_factory_create):
20681 * gst/gstindexfactory.c (gst_index_factory_create): Update for
20684 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20685 (gst_plugin_feature_load): Doc, don't eat refs.
20687 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20688 (gst_plugin_list_free): Doc.
20689 (gst_plugin_load_file): Doc updates.
20691 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20692 accessors returning refcounted objects, return a ref.
20694 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20695 accessor for caps. IDEMPOTENCE. Oh yes.
20697 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
20699 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20701 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20702 (_gst_debug_register_funcptr):
20703 Add mutex to serialise access to the hash table with
20704 the function pointer => function name string mapping;
20705 make that hash table static scope (#316809).
20707 * gst/registries/.cvsignore:
20708 Remove left-over file.
20710 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20712 * docs/pwg/appendix-porting.xml:
20713 And something about newsegment events and caps-on-buffers to
20714 the porting guide (feel free to improve).
20716 2005-09-21 Andy Wingo <wingo@pobox.com>
20718 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20719 data and event probes on the same pad.
20720 (test_buffer_probe_once): Test that removing probes from within
20721 the probe functions works.
20723 2005-09-21 Andy Wingo <wingo@pobox.com>
20725 * check/gst/gstutils.c: New file.
20726 (test_buffer_probe_n_times): A simple buffer probe test. More to
20729 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20730 have-data::buffer, not have-data.
20731 (gst_pad_add_event_probe): Likewise for have-data::event.
20732 (gst_pad_add_data_probe): More docs. The part about 'resolving the
20733 peer' isn't quite right yet though.
20734 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
20735 (gst_pad_remove_data_probe): Change to take the guint handler_id
20736 as their arg, not the function+data, which is more glib-like.
20738 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20739 the signal emission to indicate if the data is a buffer or an
20741 (gst_pad_get_type): Initialize buffer and event quarks.
20742 (gst_pad_class_init): have-data is now a detailed signal, yes it
20745 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
20747 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20748 * gst/gstutils.c: (gst_util_set_value_from_string),
20749 (gst_util_set_object_arg):
20750 Don't put functional code in g_return_if_fail() or
20751 g_return_val_if_fail() statements, otherwise things will
20752 break when G_DISABLE_CHECKS is defined during compilation.
20754 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20756 * docs/gst/tmpl/.cvsignore:
20757 * docs/gst/tmpl/gstvalue.sgml:
20760 inlied another one and added some obvious docs
20762 2005-09-21 Wim Taymans <wim@fluendo.com>
20764 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20765 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20766 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20767 (gst_fdsrc_get_property), (gst_fdsrc_create):
20768 * gst/elements/gstfdsrc.h:
20769 Properly implement fdsrc. Removed signal and timeout,
20770 better implemented somewhere else.
20772 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20774 * docs/gst/tmpl/.cvsignore:
20775 * docs/gst/tmpl/gstimplementsinterface.sgml:
20776 * gst/gstinterface.c:
20779 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20781 * docs/gst/gstreamer-sections.txt:
20782 * docs/gst/tmpl/.cvsignore:
20783 * docs/gst/tmpl/gstenumtypes.sgml:
20784 remove obsolete doc file
20786 2005-09-21 David Schleef <ds@schleef.org>
20788 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20789 little beer, fix a little leak.
20791 2005-09-21 Stefan Kost <ensonic@users.sf.net>
20793 * docs/gst/gstreamer-docs.sgml:
20794 * docs/gst/gstreamer-sections.txt:
20795 * docs/gst/tmpl/.cvsignore:
20799 * gst/gstelement.h:
20800 * gst/gstindex.c: (gst_index_class_init):
20802 * gst/gstindexfactory.c: (gst_index_factory_get_type),
20803 (gst_index_factory_class_init), (gst_index_factory_init),
20804 (gst_index_factory_finalize), (gst_index_factory_new),
20805 (gst_index_factory_destroy), (gst_index_factory_find),
20806 (gst_index_factory_create), (gst_index_factory_make):
20807 * gst/gstindexfactory.h:
20808 * gst/gstpluginfeature.c:
20809 * gst/gstpluginfeature.h:
20810 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20811 more docs inlined, splitted gstindex.{c,h}
20813 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20815 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20818 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20820 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20821 Set sync to FALSE by default.
20823 2005-09-20 Wim Taymans <wim@fluendo.com>
20825 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20826 (gst_base_sink_init):
20827 Make sync property settable from subclass.
20829 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20830 (gst_fake_sink_change_state):
20831 Set sync to FALSE by default.
20833 2005-09-20 Wim Taymans <wim@fluendo.com>
20835 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20836 * tools/gst-launch.c: (main):
20837 The timeout handler should have lower priority than the source
20838 so we don't timeout before popping a message with 0 timeout.
20839 Dump error messages after failed state change.
20841 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20843 * tools/gst-inspect.c: (print_element_properties_info):
20846 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20848 * check/gst/gstevent.c:
20849 * gst/elements/gstfakesink.c:
20850 * gst/elements/gstfakesink.h:
20851 remove the sync property from fakesink.
20852 has the side effect of setting sync TRUE
20853 for fakesink, which is a change. Anyone who knows how
20854 to fix this nicely in a GObject-y way, feel free.
20856 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20858 * docs/gst/gstreamer-docs.sgml:
20859 remove probe refsection
20861 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20863 * check/Makefile.am:
20864 disable valgrinding the controller test again
20865 * docs/gst/gstreamer-sections.txt:
20866 update for api-changes
20868 2005-09-20 Wim Taymans <wim@fluendo.com>
20870 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20871 (gst_base_sink_set_property), (gst_base_sink_get_property),
20872 (gst_base_sink_do_sync):
20873 * gst/base/gstbasesink.h:
20874 Added sync property to basesink to disable clock sync.
20876 2005-09-20 Andy Wingo <wingo@pobox.com>
20878 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20879 eating the caller's refcount.
20881 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
20882 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20885 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20886 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20887 of GLib 2.8 public, so we can know which refcount to check in
20890 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20891 (gst_object_init): Only set the gst refcount if we're going ahead
20892 with the refcount hack.
20894 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20896 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20897 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20898 more leaks plumbed, added more debug-logging
20902 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20904 * gst/gstmessage.c:
20905 remove include of gstmemchunk.h
20907 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20909 * gst/gstclock.c: (_gst_clock_id_free):
20910 Commit from the Political Party For More Atomic CVS Commits,
20911 so that people don't waste too much of their day fishing
20912 out obvious leaks out of massive commits.
20913 Oh, and fix a pretty damn obvious leak in the memchunk
20916 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20918 * check/Makefile.am:
20919 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20920 plug mem-leak, re-add to valgrindable tests
20922 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20925 unbreak the build for those who have chronic arthritis
20926 and typing "make check" is just too taxing on the hands
20928 2005-09-20 Andy Wingo <wingo@pobox.com>
20930 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20931 really want it out, you should fix plugins at the same time.
20933 2005-09-19 Stefan Kost <ensonic@users.sf.net>
20936 * docs/gst/gstreamer-sections.txt:
20938 added missing symbols to api docs
20939 disable ref-count hack if we have glib >= 2.8
20941 2005-09-19 David Schleef <ds@schleef.org>
20943 * docs/gst/Makefile.am: Ignore a few more internal headers
20944 * docs/gst/gstreamer-docs.sgml: Remove old sections
20945 * docs/gst/gstreamer-sections.txt: Remove old sections
20946 * docs/gst/tmpl/gstobject.sgml: update
20947 * docs/gst/tmpl/gstplugin.sgml: update
20948 * docs/gst/tmpl/gstpluginfeature.sgml: update
20949 * docs/random/ds/0.9-suggested-changes: update.
20950 * gst/Makefile.am: remove memchunk and trashstack, since they're
20952 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20953 * gst/gst.h: don't include some headers
20954 * gst/gstchildproxy.c: add gstmarshal.h
20955 * gst/gstclock.c: Don't use memchunks
20956 * gst/gstminiobject.c: Add some docs
20957 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20958 * gst/gstobject.h: same
20959 * gst/gstplugin.c: include gstmacros.h
20960 * gst/gstplugin.h: don't include gstmacros.h, since it's private
20961 * gst/gstquery.c: don't use memchunks
20962 * gst/gstregistry.c: rename gst_registry_deinit()
20963 * gst/gstregistry.h: same
20965 2005-09-19 David Schleef <ds@schleef.org>
20967 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20968 * docs/libs/gstreamer-libs-sections.txt:
20969 * docs/libs/tmpl/gstgetbits.sgml:
20970 * docs/libs/tmpl/gstputbits.sgml:
20972 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
20974 * win32/gstenumtypes.c:
20975 * win32/gstenumtypes.h:
20978 2005-09-19 Wim Taymans <wim@fluendo.com>
20980 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20981 Automatically PAUSE and RESUME a pipeline when a flushing seek
20984 2005-09-19 Andy Wingo <wingo@pobox.com>
20986 * gst/gstregistry.h: Spacing fixen.
20988 2005-09-19 Wim Taymans <wim@fluendo.com>
20990 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20991 Handle state change failure more correctly.
20993 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20995 * check/Makefile.am:
20996 * check/pipelines/cleanup.c: (run_pipeline):
20997 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20999 enable cleanup again after fixing the leak
21001 some more info on docs
21003 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21005 * check/Makefile.am:
21006 re-enable tests now that leaks are plugged
21008 * check/gst/gstbin.c:
21009 * check/gst/gstpipeline.c:
21010 add some more tests while fixing leaks
21011 * common/check.mak:
21012 make sure binaries are uptodate when valgrinding/gdbing
21014 * gst/gstelementfactory.c:
21015 remove a ref too many, and add a FIXME for when we get
21016 round to disposing of classes
21018 fix the refcounting when loading a plugin from a file and
21019 the code pretends that the pointer is the same even though
21020 of course it can change
21021 * gst/gstpluginfeature.c:
21022 unref plugins marked cached (a bit confusing as a name)
21023 as the docs state should be done
21024 various doc additions to explain refcounting
21025 * gst/gstregistry.c:
21026 * gst/gstregistryxml.c:
21029 2005-09-19 Wim Taymans <wim@fluendo.com>
21031 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21032 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21033 (send_messages), (GST_START_TEST), (gstbus_suite):
21034 * check/gst/gstpipeline.c: (GST_START_TEST):
21035 * check/pipelines/cleanup.c: (run_pipeline):
21036 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21038 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21039 (gst_bus_source_check), (gst_bus_source_dispatch),
21040 (gst_bus_create_watch), (gst_bus_add_watch_full),
21041 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21043 * tools/gst-launch.c: (event_loop):
21044 * tools/gst-md5sum.c: (event_loop):
21045 GstBusHandler -> GstBusFunc, return value has the same meaning as
21046 any other GSource (FALSE == remove source).
21047 _add_watch() and _add_watch_full() now take a MessageType mask to
21048 only handle specific types of messages.
21049 _poll() returns the GstMessage instead of the message type to avoid
21051 _have_pending() takes a MessageType mask now too.
21052 Added testsuite for multiple bus watches.
21053 Fix testsuites and applications for new bus API.
21055 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21057 * check/Makefile.am:
21058 mark a bunch of the tests as to fix until we fix them
21060 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21062 * common/check.mak:
21063 use GST_PLUGIN settings for valgrind tests as well, so we're
21064 valgrinding the correct thing
21065 * gst/gst.c: (init_post):
21068 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21070 * gst/gst.c: (init_post), (gst_deinit):
21071 * gst/gstelementfactory.c: (gst_element_factory_class_init),
21072 (gst_element_factory_finalize), (gst_element_factory_cleanup):
21073 * gst/gstindex.c: (gst_index_factory_class_init),
21074 (gst_index_factory_finalize):
21075 * gst/gstobject.c: (gst_object_dispose):
21076 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21077 (gst_plugin_load_file), (gst_plugin_desc_free):
21078 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21079 (gst_plugin_feature_finalize):
21080 * gst/gstregistry.c: (gst_registry_class_init),
21081 (gst_registry_init), (gst_registry_finalize),
21082 (gst_registry_get_default), (gst_registry_deinit):
21083 * gst/gstregistry.h:
21084 * gst/gstregistryxml.c: (load_feature), (load_plugin):
21085 various cleanups and memleak plugging. make valgrind is happy now.
21087 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21089 * common/check.mak:
21090 add a check-valgrind target
21092 2005-09-18 David Schleef <ds@schleef.org>
21094 * tools/gst-inspect.c: Revert the GOption code.
21096 2005-09-17 David Schleef <ds@schleef.org>
21098 * check/Makefile.am: Fix environment variables.
21099 * check/gst/gstplugin.c: Fix for API changes.
21100 * tools/gst-inspect.c: Fix for API changes.
21101 * tools/gst-xmlinspect.c: Fix for API changes.
21102 * gst/gstelementfactory.c:
21105 * gst/gstpluginfeature.c:
21106 * gst/gstpluginfeature.h:
21107 * gst/gstregistry.c:
21108 * gst/gstregistry.h:
21109 * gst/gstregistryxml.c:
21110 * gst/gsttypefind.c:
21111 * gst/gsttypefindfactory.c:
21112 * gst/indexers/gstfileindex.c:
21113 * gst/indexers/gstmemindex.c:
21114 * gst/schedulers/Makefile.am:
21115 Change registry to keep track of both plugins and features,
21116 removing the feature tracking from plugins themselves.
21118 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
21120 * check/Makefile.am:
21121 * tools/gst-register.1.in:
21122 remove gst-register
21124 2005-09-15 David Schleef <ds@schleef.org>
21126 * check/gst/gstplugin.c:
21127 * gst/gstelementfactory.c:
21129 * gst/gstpluginfeature.c:
21130 * gst/gstregistry.c:
21131 Getting tired of debugging. Disabled all the unreffing of
21132 plugins and features, which fixes the segfaults, but of
21133 course leaks like crazy. At least playbin works.
21135 2005-09-15 David Schleef <ds@schleef.org>
21137 * check/gst/gstplugin.c: (register_check_elements),
21138 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21140 * gst/elements/gsttypefindelement.c: Fix refcounting.
21141 * gst/gsttypefind.c:
21142 * gst/gsttypefindfactory.c:
21143 * gst/gsttypefindfactory.h:
21145 2005-09-15 David Schleef <ds@schleef.org>
21147 * gst/gstindex.c: get refcounting correct.
21148 * gst/gstregistry.c: Handle the case where a feature/plugin is
21151 2005-09-15 David Schleef <ds@schleef.org>
21153 * check/Makefile.am:
21154 * check/gst/gstplugin.c: Add test
21155 * gst/gstplugin.c: Fix problems noticed by testsuite
21157 * gst/gstregistry.c:
21158 * gst/gstregistry.h:
21160 2005-09-15 David Schleef <ds@schleef.org>
21162 * gst/gstplugin.c: Implement semi-decent recounting and locking
21163 in plugins and plugin features.
21165 * gst/gstpluginfeature.c:
21166 * gst/gstpluginfeature.h:
21167 * gst/gstregistry.c:
21169 2005-09-15 Michael Smith <msmith@fluendo.com>
21171 * gst/gstregistry.c: (gst_registry_get_feature_list):
21172 Implement this. Makes oggdemux work; decodebin still broken.
21174 2005-09-14 David Schleef <ds@schleef.org>
21176 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21178 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21179 * gst/check/Makefile.am:
21180 * libs/gst/controller/Makefile.am:
21181 * libs/gst/dataprotocol/Makefile.am:
21183 2005-09-14 David Schleef <ds@schleef.org>
21185 * configure.ac: Remove getbits library. Nothing uses it, and
21186 it should be in something like liboil if someone did want
21188 * libs/gst/Makefile.am:
21189 * libs/gst/getbits/Makefile.am:
21190 * libs/gst/getbits/gbtest.c:
21191 * libs/gst/getbits/getbits.c:
21192 * libs/gst/getbits/getbits.h:
21193 * libs/gst/getbits/gstgetbits_generic.c:
21194 * libs/gst/getbits/gstgetbits_i386.s:
21195 * libs/gst/getbits/gstgetbits_inl.h:
21197 2005-09-14 David Schleef <ds@schleef.org>
21199 * gst/Makefile.am: Dist glib-compat.h
21201 2005-09-14 David Schleef <ds@schleef.org>
21203 * configure.ac: Remove gst/registries, since it's no longer used.
21204 * gst/registries/Makefile.am:
21205 * gst/registries/gstlibxmlregistry.c:
21206 * gst/registries/gstlibxmlregistry.h:
21207 * gst/registries/gstxmlregistry.c:
21208 * gst/registries/gstxmlregistry.h:
21209 * gst/registries/registrytest.c:
21211 2005-09-14 David Schleef <ds@schleef.org>
21213 * gst/glib-compat.h:
21214 * gst/gstregistryxml.c:
21215 Convergence is near. Seriously.
21217 2005-09-14 David Schleef <ds@schleef.org>
21219 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21220 * gst/glib-compat.h:
21221 Attempt #4 to appease the buildbots.
21223 2005-09-14 David Schleef <ds@schleef.org>
21225 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21228 2005-09-14 David Schleef <ds@schleef.org>
21230 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21233 2005-09-14 David Schleef <ds@schleef.org>
21235 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21238 2005-09-14 David Schleef <ds@schleef.org>
21240 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21241 * gst/glib-compat.h: Add some functions that are in newer versions
21242 of glib than we care to require.
21243 * gst/gstregistryxml.c: Use them.
21245 2005-09-14 David Schleef <ds@schleef.org>
21247 * po/POTFILES.in: remove gst-register.c
21249 2005-09-14 David Schleef <ds@schleef.org>
21251 * docs/gst/gstreamer-docs.sgml:
21252 * docs/gst/gstreamer-sections.txt:
21253 * docs/gst/gstreamer.types:
21254 * docs/gst/tmpl/gstelement.sgml:
21255 * docs/gst/tmpl/gstplugin.sgml:
21256 * docs/gst/tmpl/gstpluginfeature.sgml:
21257 Documentation updates for registry changes.
21259 2005-09-14 David Schleef <ds@schleef.org>
21261 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21262 because we don't require glib-2.8.
21264 2005-09-14 David Schleef <ds@schleef.org>
21266 * gst/gstregistryxml.c: Added. Essentially moved out of the
21267 registries directory.
21269 2005-09-14 David Schleef <ds@schleef.org>
21271 * check/Makefile.am:
21272 * check/generic/states.c:
21276 * gst/gst_private.h:
21277 * gst/gstelementfactory.c:
21282 * gst/gstpluginfeature.c:
21283 * gst/gstpluginfeature.h:
21284 * gst/gstregistry.c:
21285 * gst/gstregistry.h:
21286 * gst/gstregistrypool.c: remove
21287 * gst/gstregistrypool.h: remove
21288 * gst/gsttypefind.c:
21289 * gst/gsttypefindfactory.c:
21291 * tools/Makefile.am:
21292 * tools/gst-compprep.c:
21293 * tools/gst-inspect.c:
21294 * tools/gst-register.c: remove
21295 * tools/gst-xmlinspect.c:
21296 Registry rewrite. Changes registry from being a file created
21297 by a tool into a simple cache file created automatically by
21298 libgstreamer. Removed gst-register (because it's no longer
21299 needed). Remove registry pools, because we only have one
21300 registry implementation (XML). Fix up other subsystems as
21303 2005-09-13 Michael Smith <msmith@fluendo.com>
21305 * gst/gstconfig.h.in:
21306 Don't Use windows linking attributes for MinGW. Fixes #316157
21308 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21310 * gst/gstutils.c: (set_state_async_thread_func),
21311 (gst_element_set_state_async):
21312 Apparently people think it's better if this function doesn't
21313 try to set the state to whatever state was asked for on the first
21314 call to this function for any object. Seriously.
21316 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21318 * check/gst/gstpipeline.c: (GST_START_TEST):
21319 * docs/gst/gstreamer-sections.txt:
21320 * gst/gstutils.c: (set_state_async_thread_func),
21321 (gst_element_set_state_async):
21323 add a "gst_element_set_state_async" method that
21324 sets the state and starts a thread to make sure the state
21325 change completes as best as it can
21327 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21329 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21330 codify design+behaviour in testsuite after discussion
21332 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21334 * docs/gst/tmpl/gstelement.sgml:
21335 * docs/manual/appendix-quotes.xml:
21337 * gst/gstelement.c: (gst_element_set_state):
21340 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21342 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21343 (gst_base_transform_prepare_output_buf),
21344 (gst_base_transform_handle_buffer):
21345 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21346 (gst_capsfilter_prepare_buf):
21347 Remove the requirement for sub-classes to call the parent
21348 implementation of prepare_output_buffer with a wrapper function.
21350 * gst/gsttaglist.h:
21351 * gst/gsttagsetter.h:
21352 Fix #define wrapper
21354 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21356 * docs/gst/gstreamer-sections.txt:
21359 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21361 * docs/gst/gstreamer-sections.txt:
21362 * docs/gst/tmpl/gstelement.sgml:
21363 * docs/gst/tmpl/gstplugin.sgml:
21364 * gst/gstminiobject.c:
21366 docs now stop throwing warnings
21368 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21370 * docs/gst/gstreamer-sections.txt:
21371 * docs/gst/gstreamer.types:
21372 * docs/gst/tmpl/gstpad.sgml:
21373 * docs/gst/tmpl/gsttypes.sgml:
21374 * gst/base/gstadapter.h:
21375 * gst/base/gstbasesink.h:
21376 * gst/base/gstbasesrc.h:
21382 * gst/gstelement.h:
21384 * gst/gstmessage.h:
21386 * gst/gststructure.c:
21387 * gst/registries/gstlibxmlregistry.h:
21388 various documentation fixes
21390 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21392 * docs/gst/gstreamer-sections.txt:
21393 * docs/gst/tmpl/gstvalue.sgml:
21394 rearrange gstvalue section
21395 * gst/gstutils.c: (gst_element_state_get_name):
21397 * gst/gstvalue.c: (_gst_value_initialize):
21401 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21403 * check/gst-libs/controller.c:
21404 Header include fix.
21405 * gst/base/gstbasetransform.c:
21406 (gst_base_transform_default_prepare_buf),
21407 (gst_base_transform_handle_buffer):
21408 * gst/base/gstbasetransform.h:
21409 Some more basetransform changes and fixes to enable sub-classes
21410 that modify buffer metadata only.
21411 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21412 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21413 (gst_capsfilter_prepare_buf):
21414 If the output pad has fixed allowed caps and input buffers
21415 don't have any, set the fixed caps on outgoing buffers.
21417 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21418 * check/elements/identity.c: (GST_START_TEST):
21419 Make the error a little clearer when the test fails because
21420 identity made a copy of the buffer.
21421 * docs/gst/gstreamer-sections.txt:
21422 New symbols in gstbasetransform.h
21423 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21424 (gst_base_transform_init), (gst_base_transform_transform_size),
21425 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21426 (gst_base_transform_default_prepare_buf),
21427 (gst_base_transform_get_unit_size),
21428 (gst_base_transform_buffer_alloc),
21429 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21430 (gst_base_transform_change_state),
21431 (gst_base_transform_set_passthrough),
21432 (gst_base_transform_set_in_place),
21433 (gst_base_transform_is_in_place):
21434 * gst/base/gstbasetransform.h:
21435 Change BaseTransform to separate in_place operate from same_caps
21436 output. in_place implies that the element can perform the transform
21437 on incoming buffers in-place, even if the caps on the output are
21439 Sub-class elements can now implement special buffer allocation
21440 methods for outgoing buffers if they wish to.
21441 Big documentation addition.
21442 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21443 * gst/elements/gstelements.c:
21444 Changes for basetransform modifications.
21445 * gst/elements/Makefile.am:
21446 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21447 Compile fix. Extra debug output.
21449 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21451 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21453 add tests for valid pad naming
21454 * gst/check/gstcheck.c: (gst_check_log_message_func),
21455 (gst_check_log_critical_func):
21457 remove printing of code, it is fragile when the code contains
21458 % and the line number is enough info
21459 * gst/check/gstcheck.h:
21460 * gst/gstpad.c: (gst_pad_template_new):
21463 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21466 say what CHECK flags we use
21467 * docs/libs/gstreamer-libs.types:
21468 * libs/gst/controller/Makefile.am:
21469 * libs/gst/controller/gst-controller.c:
21470 * libs/gst/controller/gst-controller.h:
21471 * libs/gst/controller/gst-helper.c:
21472 * libs/gst/controller/gst-interpolation.c:
21473 * libs/gst/controller/gstcontroller.c:
21474 * libs/gst/controller/gsthelper.c:
21475 * libs/gst/controller/gstinterpolation.c:
21476 * tools/gst-inspect.c: (print_plugin_info):
21477 we don't use dashes in header names
21479 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21481 * check/Makefile.am:
21482 * check/gst/.cvsignore:
21483 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21484 (gst_pipeline_suite), (main):
21485 adding a test for pipelines and state changes
21486 * gst/gstutils.c: (get_state_func):
21488 * gstreamer.spec.in:
21491 2005-09-08 Michael Smith <msmith@fluendo.com>
21493 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21494 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21495 (gst_file_src_is_seekable), (gst_file_src_get_size),
21496 (gst_file_src_start):
21497 * gst/elements/gstfilesrc.h:
21498 Various fixes for unseekable, unmmapable, and non-normal files, so
21499 that fallback to read() rather than mmap() works.
21500 * gst/gstevent.c: (gst_event_new_newsegment):
21501 Allow newsegment events with segment_start == segment_end, as will
21502 correctly happen if you use filesrc on a zero-size file, for
21505 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21507 * gst/gstplugin.c: (gst_plugin_load_file):
21508 Call g_module_close when we don't load the module
21510 * gst/registries/gstlibxmlregistry.c:
21511 (gst_xml_registry_get_property):
21512 Port leak fix from 0.8
21514 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21516 * docs/gst/gstreamer-docs.sgml:
21517 * docs/gst/tmpl/.cvsignore:
21518 * docs/gst/tmpl/gsttrace.sgml:
21519 * docs/gst/tmpl/gsttrashstack.sgml:
21522 * gst/gstelement.h:
21524 * gst/gstmessage.c:
21525 * gst/gstmessage.h:
21528 * gst/gsttaginterface.c:
21529 * gst/gsttaginterface.h:
21530 * gst/gsttaglist.c:
21531 * gst/gsttaglist.h:
21532 * gst/gsttagsetter.c:
21533 * gst/gsttagsetter.h:
21536 * gst/gsttrashstack.c:
21537 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21538 inlined docs for gsttrace, gsttrashstack
21540 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21543 * gst/elements/gstbufferstore.h:
21544 * gst/elements/gsttypefindelement.c:
21545 * gst/elements/gsttypefindelement.h:
21547 * gst/gsttypefind.c:
21548 * gst/gsttypefind.h:
21549 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21550 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21551 (gst_type_find_factory_dispose),
21552 (gst_type_find_factory_unload_thyself),
21553 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21554 (gst_type_find_factory_get_caps),
21555 (gst_type_find_factory_get_extensions),
21556 (gst_type_find_factory_call_function):
21557 * gst/gsttypefindfactory.h:
21558 * gst/registries/gstlibxmlregistry.c:
21559 * gst/registries/gstxmlregistry.c:
21560 splitted gsttypefind into gsttypefind, gsttypefindfactory
21562 2005-09-07 Andy Wingo <wingo@pobox.com>
21564 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21565 condition whereby the pad's task function is entered before the
21566 pad_mode variable was set.
21568 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21570 * gst/gstpad.c: (gst_pad_alloc_buffer):
21571 Catch misbehaving pad_alloc functions that don't
21572 set up caps and do it for them.
21574 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21576 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21577 test for pipe!=NULL
21578 * docs/gst/tmpl/.cvsignore:
21579 * docs/gst/tmpl/gstmemchunk.sgml:
21580 * docs/gst/tmpl/gstparse.sgml:
21581 * docs/gst/tmpl/gsttaglist.sgml:
21582 * docs/gst/tmpl/gsttagsetter.sgml:
21583 * docs/gst/tmpl/gsttypefind.sgml:
21584 * docs/gst/tmpl/gsttypefindfactory.sgml:
21585 * gst/gstmemchunk.c:
21588 * gst/gsttaginterface.c:
21589 * gst/gsttypefind.c:
21590 * gst/gsttypefind.h:
21593 === release 0.9.2 ===
21595 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
21600 releasing 0.9.2, "South"
21602 2005-09-05 Andy Wingo <wingo@pobox.com>
21604 * gst/registries/gstxmlregistry.h:
21605 * gst/registries/gstxmlregistry.c: Um... resurrect...
21607 * gst/registries/gstxmlregistry.h:
21608 * gst/registries/gstxmlregistry.c: and update to newer API.
21609 Incidentally they should be a bit faster now that they don't have
21612 2005-09-05 Andy Wingo <wingo@pobox.com>
21614 * gst/registries/gstxmlregistry.h:
21615 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21616 replaced by the libxml registry a while back
21618 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21620 * docs/gst/tmpl/gstplugin.sgml:
21621 * gst/elements/gstelements.c:
21623 * gst/gstplugin.c: (gst_plugin_register_func),
21624 (gst_plugin_desc_copy), (gst_plugin_desc_free),
21625 (gst_plugin_get_source):
21627 * gst/registries/gstlibxmlregistry.c: (load_plugin),
21628 (gst_xml_registry_save_plugin):
21629 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21630 (gst_xml_registry_save_plugin):
21631 * tools/gst-inspect.c: (print_plugin_info):
21632 add a "source" plugin description field, to represent the source
21633 module this plugin is a part of. By default GST_PLUGIN_DEFINE
21634 will set it to PACKAGE, which is automake's idea of the name of
21635 the source project.
21637 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
21642 * docs/Makefile.am:
21643 * docs/faq/Makefile.am:
21644 * docs/gst/tmpl/gstelement.sgml:
21645 * docs/gst/tmpl/gsttypes.sgml:
21646 * docs/htmlinstall.mak:
21647 * docs/manual/Makefile.am:
21648 * docs/pwg/Makefile.am:
21649 reorganize doc build a little
21650 split out docbook and gtk-doc stuff
21651 have two separate --enable's and enable them through autogen
21652 but disable by default in configure (to be similar to other
21654 * gstreamer.spec.in:
21655 clean up docs install
21673 translation updates
21675 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
21677 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21680 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21681 (gst_fake_sink_change_state):
21682 Make state change function thread-safe.
21684 * gst/gstpad.c: (gst_pad_alloc_buffer):
21685 Set offset on generic buffer allocated by fallback.
21687 2005-09-03 Stefan Kost <ensonic@users.sf.net>
21689 * docs/gst/gstreamer-sections.txt:
21690 * docs/gst/tmpl/gstelement.sgml:
21692 * libs/gst/controller/gst-controller.c:
21693 (gst_controlled_property_set_interpolation_mode),
21694 (gst_controlled_property_new),
21695 (gst_controller_find_controlled_property):
21696 run the wingo-magic script against the docs
21698 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21700 * docs/gst/gstreamer-docs.sgml:
21701 * docs/gst/gstreamer-sections.txt:
21702 * docs/gst/tmpl/.cvsignore:
21703 * docs/gst/tmpl/gstelementdetails.sgml:
21704 * docs/gst/tmpl/gstelementfactory.sgml:
21707 * gst/gstelementfactory.c:
21708 * gst/gstelementfactory.h:
21709 merged elementdetails docs into elementfactory docs
21712 2005-09-02 Andy Wingo <wingo@pobox.com>
21714 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21715 consider this enum an enum and not a flags.
21717 2005-09-02 Stefan Kost <ensonic@users.sf.net>
21719 * docs/gst/gstreamer-docs.sgml:
21720 * docs/gst/tmpl/.cvsignore:
21721 * docs/gst/tmpl/gstghostpad.sgml:
21722 * docs/gst/tmpl/gstiterator.sgml:
21723 * docs/gst/tmpl/gstmacros.sgml:
21724 * docs/gst/tmpl/gstrealpad.sgml:
21725 * docs/gst/tmpl/gstregistry.sgml:
21726 * docs/gst/tmpl/gstregistrypool.sgml:
21727 * docs/gst/tmpl/gststructure.sgml:
21728 * docs/gst/tmpl/gstsystemclock.sgml:
21729 * docs/gst/tmpl/gsttrace.sgml:
21730 * gst/gstghostpad.c:
21732 * gst/gstmemchunk.c:
21733 * gst/gstmemchunk.h:
21735 * gst/gstregistry.c:
21736 * gst/gstregistrypool.c:
21737 * gst/gststructure.c:
21738 * gst/gstsystemclock.c:
21741 2005-09-02 Andy Wingo <wingo@pobox.com>
21743 * gst/gstelement.h (GstState): Renamed from GstElementState,
21744 changed to be a normal enum instead of flags.
21745 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21746 munged to be GST_STATE_CHANGE_*.
21747 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21748 work with the new state representation.
21749 (GstStateChange): New enumeration of possible state transitions.
21750 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21751 (GstElementClass::change_state): Pass the GstStateChange along as
21752 an argument. Helps language bindings, so they don't have to use
21753 tricky lock-needing macros like GST_STATE_CHANGE ().
21755 * scripts/update-states (file): New script. Run it on a file to
21756 update it for state naming and API changes. Updates files in
21759 * All files updated for the new API.
21761 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
21763 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21764 * gst/gstutils.c: (gst_util_set_value_from_string),
21765 (gst_util_set_object_arg):
21766 fix a bunch of unchecked return values
21767 * tools/gst-complete.c: (main):
21768 * gstreamer.spec.in:
21771 2005-09-01 Wim Taymans <wim@fluendo.com>
21773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21774 (gst_base_sink_event), (gst_base_sink_do_sync),
21775 (gst_base_sink_handle_event):
21776 * gst/base/gstbasesink.h:
21777 Handle newsegments more correctly.
21782 * gst/gstevent.c: (gst_event_new_newsegment):
21783 A newsegment cannot have a start_time of -1
21785 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
21787 * win32/gstenumtypes.c:
21788 * win32/gstenumtypes.h:
21791 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21793 * libs/gst/controller/gst-controller.c:
21794 (gst_controlled_property_set_interpolation_mode),
21795 (gst_controlled_property_new):
21796 fixed boolean again
21798 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
21800 * docs/faq/gst-uninstalled:
21805 * gst/gstutils.c: (gst_element_link_filtered):
21807 add gst_element_link_filtered
21809 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21811 * docs/gst/gstreamer-docs.sgml:
21812 * docs/gst/gstreamer-sections.txt:
21813 * docs/gst/tmpl/.cvsignore:
21814 * docs/gst/tmpl/gsterror.sgml:
21815 * docs/gst/tmpl/gstfilter.sgml:
21816 * docs/gst/tmpl/gsturihandler.sgml:
21817 * docs/gst/tmpl/gsturitype.sgml:
21818 * docs/gst/tmpl/gstutils.sgml:
21819 * docs/gst/tmpl/gstxml.sgml:
21824 * gst/gsturitype.c:
21827 inlined more docs, fixed double id-ref
21829 2005-08-31 Wim Taymans <wim@fluendo.com>
21831 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21832 (gst_base_transform_handle_buffer):
21833 Passthrough elements don't need the caps as they don't care.
21835 2005-08-31 Wim Taymans <wim@fluendo.com>
21837 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21838 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21839 Don't leak refcounts on buffers.
21841 2005-08-31 Wim Taymans <wim@fluendo.com>
21843 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21844 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21845 (gst_base_transform_chain), (gst_base_transform_change_state):
21846 * gst/base/gstbasetransform.h:
21847 Handle the case where we are not negotiated more gracefully.
21849 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
21851 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21852 (gst_file_src_map_region):
21853 Set READONLY flag on mmap'ed buffers, otherwise
21854 gst_buffer_make_writable() won't work properly (#314708).
21856 2005-08-31 Wim Taymans <wim@fluendo.com>
21858 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21859 passthrough elements can even do inplace on non writable
21860 buffers (as they don't touch them).
21862 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21864 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21865 (gst_test_mono_source_set_property),
21866 (gst_test_mono_source_class_init), (GST_START_TEST),
21867 (gst_controller_suite):
21868 more tests (hehe I have the most)
21870 describe popping messages whenusing mulltiple sources
21871 * libs/gst/controller/gst-controller.c:
21872 (gst_controlled_property_set_interpolation_mode),
21873 (gst_controlled_property_new):
21874 * libs/gst/controller/gst-controller.h:
21875 * libs/gst/controller/gst-interpolation.c:
21876 implement boolean properties
21878 2005-08-31 Wim Taymans <wim@fluendo.com>
21880 * gst/gstminiobject.c: (gst_mini_object_ref):
21881 Cannot assert that the refcount has to be positive
21882 since a disposed object can be resurrected.
21884 2005-08-31 Wim Taymans <wim@fluendo.com>
21886 * gst/gstpad.c: (gst_pad_init):
21887 Revert change, need to first fix badly behaving
21890 2005-08-30 Wim Taymans <wim@fluendo.com>
21892 * check/elements/fakesrc.c: (setup_fakesrc):
21893 * check/elements/identity.c: (setup_identity):
21894 Activate pads before using them.
21896 2005-08-30 Wim Taymans <wim@fluendo.com>
21898 * gst/base/gstadapter.c: (gst_adapter_flush):
21899 Flushing out 0 bytes is ok for this function.
21901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21902 no newsegment gives a warning and sets the start/stop to
21905 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21906 (gst_base_transform_set_passthrough):
21909 * gst/gstminiobject.c: (gst_mini_object_ref):
21910 Check refcount here too.
21912 * gst/gstpad.c: (gst_pad_init):
21913 Pads are initially flushing and refusing data.
21915 * gst/gstutils.c: (gst_element_link_pads_filtered):
21916 When adding a capsfilter element make sure it has the
21917 same state as the parent bin.
21919 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21921 * docs/gst/tmpl/.cvsignore:
21922 * docs/gst/tmpl/gstformat.sgml:
21923 * docs/gst/tmpl/gstversion.sgml:
21927 * gst/gstversion.h.in:
21928 more docs and two more inlined
21930 2005-08-30 Wim Taymans <wim@fluendo.com>
21932 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21933 Don't sync to clock.
21935 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21937 * docs/gst/gstreamer-sections.txt:
21938 ultral33t func10ns deserve to appear in the docs actually
21939 * docs/gst/tmpl/.cvsignore:
21940 * docs/gst/tmpl/gstcompat.sgml:
21941 * docs/gst/tmpl/gstconfig.sgml:
21942 * gst/check/gstcheck.c:
21944 * gst/gstconfig.h.in:
21947 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21949 * docs/gst/tmpl/.cvsignore:
21950 * docs/gst/tmpl/gstquery.sgml:
21951 * docs/gst/tmpl/gstutils.sgml:
21954 inlined and extended docs
21956 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21958 * check/gst-libs/controller.c: (GST_START_TEST),
21959 (gst_controller_suite):
21961 * docs/gst/tmpl/gstutils.sgml:
21962 * docs/libs/gstreamer-libs-sections.txt:
21963 * docs/libs/tmpl/gstdataprotocol.sgml:
21965 * examples/controller/audio-example.c: (main):
21966 controller example works now
21969 * tools/gst-inspect.c: (print_element_properties_info):
21970 show param spec flags
21972 2005-08-29 Andy Wingo <wingo@pobox.com>
21974 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21976 2005-08-28 Andy Wingo <wingo@pobox.com>
21978 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21979 as having two arguments instead of just one. Allows superclasses
21980 to access information on subclasses -- see the terrible for() loop
21981 in gtype.c:g_type_create_instance for the reason why. All callers
21984 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21986 * docs/design/part-messages.txt:
21988 * docs/gst/tmpl/.cvsignore:
21989 * docs/gst/tmpl/gstcaps.sgml:
21990 * docs/gst/tmpl/gstclock.sgml:
21996 * gst/gstmessage.c:
21997 added descriptions for bus and message
21998 inline caps and clock docs
22000 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22002 * gst/gstmessage.c:
22003 * gst/gstmessage.h:
22006 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22008 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22011 2005-08-26 Andy Wingo <wingo@pobox.com>
22013 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22014 element_set_state's return val.
22015 (test_2_elements): Add test that's been disabled for months.
22017 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22018 can-activate-pull properties.
22020 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22021 can-activate-pull properties. Implement is_seekable so fakesrc can
22022 operate in pull mode.
22024 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22026 (gst_base_sink_activate, gst_base_sink_activate_pull)
22027 (gst_base_sink_activate_push): Make activation mode choosing work.
22029 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22030 is right. Make pull mode work. Post an eos before pausing in pull
22032 (gst_base_sink_change_state): Pay attention to the core's
22033 change_state() return val.
22035 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22036 has-getrange properties. Cleanups.
22038 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22039 has_getrange and replace with can_activate_pull and
22042 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22043 locking comments. Remove has_loop, has_chain and replace with
22044 can_activate_pull and can_activate_push.
22046 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
22049 * examples/Makefile.am:
22050 * examples/metadata/Makefile.am:
22051 * examples/metadata/read-metadata.c: (message_loop),
22052 (have_pad_handler), (make_pipeline), (print_tag), (main):
22053 Add metadata reading example that loops over a list of filenames,
22054 dumping any tags found.
22056 * gst/gstbus.c: (gst_bus_dispose):
22057 * gst/gstelement.c: (gst_element_dispose):
22058 Release a few potentially-held references in dispose.
22060 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22062 * docs/gst/tmpl/gstminiobject.sgml:
22063 do *not* add tmpl/*.sgml files to CVS!
22065 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22067 * libs/gst/bytestream/.cvsignore:
22068 * libs/gst/bytestream/Makefile.am:
22069 * libs/gst/bytestream/adapter.c:
22070 * libs/gst/bytestream/adapter.h:
22071 * libs/gst/bytestream/bytestream.c:
22072 * libs/gst/bytestream/bytestream.h:
22073 * libs/gst/bytestream/filepad.c:
22074 * libs/gst/bytestream/filepad.h:
22075 removing obsolete files
22077 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22079 * docs/gst/gstreamer-docs.sgml:
22080 * docs/libs/gstreamer-libs-docs.sgml:
22081 disabed additional index entries again, as this makes docs-gen just
22082 slow and they aren't useful yet
22083 * docs/libs/gstreamer-libs-sections.txt:
22084 little -section.txt cleanup for libs
22086 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
22088 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22089 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22090 fix up some debugging
22091 (gst_base_transform_get_unit_size),
22092 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22093 (gst_base_transform_handle_buffer):
22094 * gst/base/gstbasetransform.h:
22095 handle and store timed NEWSEGMENT events so that subclasses that
22096 calculate time by counting samples have a segment_start time they
22097 need to add to their timestamps - see audioresample
22099 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22102 removed ';' from the end of macro defs
22103 * docs/gst/gstreamer-docs.sgml:
22104 * docs/gst/gstreamer-sections.txt:
22105 * docs/gst/tmpl/.cvsignore:
22107 * gst/gstelement.c: (gst_element_class_init),
22108 (gst_element_set_state), (activate_pads),
22109 (gst_element_save_thyself):
22110 * gst/gstevent.c: (gst_event_new_newsegment):
22112 * gst/gstiterator.c:
22113 * gst/gstiterator.h:
22116 * gst/gstutils.c: (gst_pad_query_convert):
22118 fixed parameter name mismatches between source, header and docs
22119 added some more docs, resolved the last batch of unused elements in
22120 docs (now someone needs to doc them)
22122 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22124 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22125 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22126 don't walk through the plugins backwards. Where is all this
22127 reversed logic coming from ?
22129 2005-08-25 Wim Taymans <wim@fluendo.com>
22131 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22132 (gst_base_transform_transform_size),
22133 (gst_base_transform_configure_caps),
22134 (gst_base_transform_get_unit_size),
22135 (gst_base_transform_buffer_alloc),
22136 (gst_base_transform_change_state):
22137 * gst/base/gstbasetransform.h:
22138 Cache caps unit_size.
22139 Make sure we cannot negotiate up and downstream at the
22142 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22144 * gst/gst.c: (init_pre), (init_post):
22145 register the installed plugin path after the env var
22146 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22147 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22148 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22149 directories, so the tests can prefer uninstalled over installed
22151 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22153 * gst/base/gstbasetransform.h:
22158 2005-08-25 Wim Taymans <wim@fluendo.com>
22160 * gst/gstbin.c: (bin_bus_handler):
22161 Be a bit more conservative about the posted message.
22163 * gst/gstbus.c: (gst_bus_post):
22164 Some cleanups, warn wrong return values.
22166 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
22168 * check/gst/gstbin.c: (GST_START_TEST):
22169 * gst/gstbin.c: (bin_bus_handler):
22170 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22171 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22172 (gst_message_new_warning), (gst_message_new_tag),
22173 (gst_message_new_state_changed), (gst_message_new_segment_start),
22174 (gst_message_new_segment_done), (gst_message_new_custom):
22175 * gst/gstmessage.h:
22176 * tools/gst-launch.c: (event_loop):
22177 * tools/gst-md5sum.c: (event_loop):
22178 Revert unpopular change for GST_MESSAGE_SRC to GObject.
22180 2005-08-25 Wim Taymans <wim@fluendo.com>
22182 * check/generic/states.c: (GST_START_TEST):
22183 Cleanup can be done at the end.
22185 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22186 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22187 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22188 Oh boy.. Thanks for finding this, Thomas.
22190 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22192 * docs/gst/gstreamer.types:
22193 added missing types
22195 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22197 * docs/gst/gstreamer-docs.sgml:
22198 * docs/gst/gstreamer-sections.txt:
22199 * docs/gst/tmpl/.cvsignore:
22201 * gst/gstiterator.c:
22203 * gst/registries/gstxmlregistry.h:
22204 added missing classes and symbols (123 more to go)
22205 removed removed symbols from section file
22206 fixed many doc-comments
22208 2005-08-24 Wim Taymans <wim@fluendo.com>
22210 * check/generic/states.c: (GST_START_TEST):
22211 Make sure all tasks are stopped.
22213 * check/gst/gstbin.c: (GST_START_TEST):
22214 Unref after usage for proper valgrinding.
22216 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22217 Really wait for the task to stop before destroying the
22220 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22221 (gst_queue_src_activate_push):
22222 Small cleanups. Don't stop the task when we did not start
22225 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22226 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22227 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22230 Protect the stream lock with the object lock.
22231 Disallow setting the stream lock when running.
22232 Add cleanup_all to wait for the threadpool to finish.
22233 Remove code to autoallocate a mutex if none was provided.
22234 Add _join() to wait for a task to stop.
22235 Protect the thread pool with a global lock.
22237 2005-08-24 Wim Taymans <wim@fluendo.com>
22239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22240 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22241 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22242 * gst/base/gstbasesink.h:
22243 Handle newsegment events correctly.
22244 Drop buffers out of the segment range.
22246 2005-08-22 Andy Wingo <wingo@pobox.com>
22248 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22249 macro, implements an interface and gstimplementsinterface for a
22252 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22254 * check/Makefile.am:
22255 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22256 add a test that does a bunch of state changes on elements
22257 needs some fixing for valgrind
22258 * check/states/sinks.c: (gst_object_suite):
22261 add prototype for gst_caps_is_equal_fixed
22263 * gst/gstregistrypool.c:
22266 2005-08-24 Andy Wingo <wingo@pobox.com>
22268 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22269 convert a negative value. Doesn't make much sense. Mostly this is
22270 here to force callers to ensure -1 maps to -1.
22272 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22274 * docs/pwg/advanced-types.xml:
22275 Well done to Michael for catching my deliberate introduction
22276 of this spelling mistake.
22277 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22278 * gst/gstelement.h:
22279 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22280 unlink pads before removing the element from the bin.
22282 2005-08-24 Andy Wingo <wingo@pobox.com>
22284 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22285 the same thing as GST_DEBUG=*:4.
22286 (parse_debug_level, parse_debug_category): New helper parsers.
22288 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22291 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22292 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22293 (gst_base_transform_buffer_alloc),
22294 (gst_base_transform_handle_buffer):
22295 use gboolean return values and pointers to size so we can use the
22296 full GST_BUFFER_SIZE range (guint) for buffer sizes
22297 use GstPadDirection for transform_caps
22298 * gst/base/gstbasetransform.h:
22299 rename get_size to get_unit_size since that's what it is
22300 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22301 use GstPadDirection for transform_caps
22302 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22304 cleanup and debugging
22306 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22308 * gst/gstelement.c: (gst_element_class_init),
22309 (gst_element_set_state), (activate_pads),
22310 (gst_element_save_thyself):
22311 * tools/gst-compprep.c: (main):
22312 * tools/gst-inspect.c: (print_element_properties_info):
22313 * tools/gst-xmlinspect.c: (print_element_properties):
22314 Fixed long standing mem-leak
22316 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22318 * check/gst/gstbin.c: (GST_START_TEST):
22319 * gst/gstbin.c: (bin_bus_handler):
22320 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22321 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22322 (gst_message_new_warning), (gst_message_new_tag),
22323 (gst_message_new_state_changed), (gst_message_new_segment_start),
22324 (gst_message_new_segment_done), (gst_message_new_custom):
22325 * gst/gstmessage.h:
22326 * tools/gst-launch.c: (event_loop):
22327 * tools/gst-md5sum.c: (event_loop):
22328 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22329 that applications can sensibly post custom messages with references
22330 to their own objects.
22332 2005-08-24 Andy Wingo <wingo@pobox.com>
22334 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22337 2005-08-24 Wim Taymans <wim@fluendo.com>
22339 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22340 (gst_base_transform_transform_caps),
22341 (gst_base_transform_transform_size),
22342 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22343 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22344 (gst_base_transform_handle_buffer):
22345 * gst/base/gstbasetransform.h:
22346 Many fixes and new features added by Thomas. Can now also do
22347 transforms with variable sizes and a custom fixate_caps function.
22349 2005-08-24 Wim Taymans <wim@fluendo.com>
22351 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22355 Cast to ClockTime before formatting to time.
22360 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22362 * check/gst-libs/controller.c: (GST_START_TEST),
22363 (gst_controller_suite):
22364 * docs/gst/tmpl/gstcaps.sgml:
22365 * docs/gst/tmpl/gstghostpad.sgml:
22366 * docs/gst/tmpl/gstquery.sgml:
22367 * docs/gst/tmpl/gstutils.sgml:
22368 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22369 (gst_object_sink_values), (gst_object_get_value_arrays),
22370 (gst_object_get_value_array):
22371 gracefully handle helper method calls to objects that are not beeing
22372 controlled, added test case for that
22374 2005-08-23 Wim Taymans <wim@fluendo.com>
22376 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22377 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22378 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22379 (gst_event_parse_qos), (gst_event_new_seek),
22380 (gst_event_parse_seek):
22382 Some more debugging output and doc cleanups.
22384 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22385 Fix possible deadlock.
22387 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22389 * docs/gst/gstreamer-docs.sgml:
22390 * docs/gst/gstreamer-sections.txt:
22391 * docs/gst/gstreamer.types:
22392 * docs/gst/tmpl/.cvsignore:
22395 * gst/gstelement.c:
22397 added 100 symbols from gstreamer-unused.txt to the right sections
22398 fixed more broken comments
22399 added GstBus to docs
22401 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22403 * docs/gst/gstreamer-sections.txt:
22404 * docs/gst/tmpl/.cvsignore:
22405 * docs/gst/tmpl/gstbin.sgml:
22406 * docs/gst/tmpl/gstbuffer.sgml:
22407 * gst/base/gstbasesrc.c:
22408 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22411 * tools/gst-launch.1.in:
22412 inlined more doc comments, added missing comments and fixed comments
22415 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22417 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22421 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22423 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22424 * gst/gststructure.h:
22425 add a fixate function for booleans; add a FIXME that these func
22426 names should probably be gst_structure_fixate_*
22428 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22430 * docs/gst/gstreamer-docs.sgml:
22431 * docs/gst/gstreamer-sections.txt:
22433 * gst/gstbin.c: (gst_bin_get_type),
22434 (gst_bin_child_proxy_get_child_by_index),
22435 (gst_bin_child_proxy_get_children_count),
22436 (gst_bin_child_proxy_init):
22437 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22438 (gst_child_proxy_get_child_by_index),
22439 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22440 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22441 (gst_child_proxy_get), (gst_child_proxy_set_property),
22442 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22443 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22444 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22445 * gst/gstchildproxy.h:
22446 * gst/parse/grammar.y:
22447 * tools/gst-inspect.c: (print_interfaces),
22448 (print_element_properties_info), (print_element_info):
22449 ported gstchildproxy over from 0.8
22450 ported gst-inspect fixes and enhancements over from 0.8
22452 2005-08-22 Wim Taymans <wim@fluendo.com>
22454 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22455 (gst_base_transform_handle_buffer):
22456 Also call the transform function if we have ANY caps.
22458 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22461 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22463 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22464 Don't pretend to handle seek events if the source is not seekable
22466 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22469 Remove extra parameter to debug output
22471 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22472 (gst_base_src_do_seek), (gst_base_src_activate_push):
22473 Fix seek event handling.
22475 * gst/gstpipeline.c: (gst_pipeline_change_state):
22476 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22477 (gst_queue_src_activate_push):
22478 Don't start the src pad task on FLUSH_STOP if the pad
22482 2005-08-22 Wim Taymans <wim@fluendo.com>
22484 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22485 Added check for gst_static_caps_get() refcounting.
22487 2005-08-22 Wim Taymans <wim@fluendo.com>
22489 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22490 Make _static_caps_get() refcounting sane.
22492 * gst/gstelement.c: (gst_element_set_state):
22493 Add g_return_val_if_fail() to protect against segfaults.
22495 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22497 * docs/gst/tmpl/gstevent.sgml:
22500 inlined remaining docs, added missing doc comments
22502 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22504 * check/gst/gstbin.c: (GST_START_TEST):
22505 since we don't know when preroll is done, use refcount range
22507 * gst/check/gstcheck.h:
22508 add macro for checking refcount range
22510 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22512 * check/Makefile.am:
22513 clean up environment for when registry gets built versus
22514 when actual tests are run; valgrind seems to not report
22515 leaks if GST_PLUGIN_PATH is set to some specific values
22516 * check/gst/gstbin.c: (GST_START_TEST):
22517 add more refcounting checks; maybe this exposes a
22519 * common/check.mak:
22520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22521 * gst/check/gstcheck.h:
22522 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22523 (gst_bin_change_state):
22524 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22525 add/fix debugging/whitespace
22527 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22529 * check/gst/gstevent.c: (event_probe), (test_event),
22531 Er, don't call gst_bin_watch_for_state_change you idiot.
22533 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22535 * check/Makefile.am:
22536 Use CHECK_CFLAGS and CHECK_LIBS
22537 * check/gst/gstevent.c: (event_probe), (test_event),
22540 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22541 (gst_base_src_start), (gst_base_src_stop),
22542 (gst_base_src_activate_push), (gst_base_src_activate_pull),
22543 (gst_base_src_change_state):
22544 Sprinkle gst_base_src_stop liberally around error paths to fix
22545 problems reusing a source after failed state changes.
22546 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22547 (helper_find_suggest), (gst_type_find_helper):
22548 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22550 * docs/gst/tmpl/gstevent.sgml:
22551 Migrate part of the docs from the SGML file. Wait for ensonic to
22552 tell me how I did it wrong ;)
22553 * tools/gst-typefind.c: (main):
22554 Extra robustness to state changes between files.
22556 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22558 * check/Makefile.am:
22559 don't valgrind the controller test - it's leaking - Stefan, HELP
22560 * gst/check/gstcheck.c: (gst_check_message_error),
22561 (gst_check_chain_func), (gst_check_setup_element),
22562 (gst_check_teardown_element), (gst_check_setup_src_pad),
22563 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22564 (gst_check_teardown_sink_pad):
22565 * gst/check/gstcheck.h:
22566 add a bunch of methods to set up elements, and src and sink pads
22567 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22568 * check/elements/identity.c: (setup_identity), (cleanup_identity),
22571 * gst/gstmessage.c:
22573 whitespace/doc fixes
22575 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22577 * gst/gstelement.h:
22578 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22579 be handled by the application and not always printed as well
22581 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22583 * check/Makefile.am:
22585 * gst/check/gstcheck.c: (gst_check_message_error):
22586 * gst/check/gstcheck.h:
22587 add a fail_unless_equals_int
22588 add fail_unless for error messages
22590 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22592 * check/Makefile.am:
22594 * common/Makefile.am:
22595 * common/check.mak:
22597 factor out some of the common stuff so we can use it
22599 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22601 * check/Makefile.am:
22602 * check/gst/gstiterator.c: (GST_START_TEST):
22603 * check/gst/gstsystemclock.c: (GST_START_TEST),
22604 (gst_systemclock_suite):
22605 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22607 valgrind more tests
22609 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
22611 * check/elements/.cvsignore:
22612 * check/elements/gstfakesrc.c:
22613 rename to name of element
22614 * check/elements/identity.c: (chain_func), (event_func),
22615 (setup_identity), (cleanup_identity), (GST_START_TEST),
22616 (identity_suite), (main):
22617 add a test for identity
22618 * check/Makefile.am:
22619 * pkgconfig/Makefile.am:
22620 * pkgconfig/gstreamer-check.pc.in:
22621 * pkgconfig/gstreamer-check-uninstalled.pc.in:
22625 move the check stuff to a library that gets installed
22626 * check/gst-libs/controller.c: (GST_START_TEST):
22627 * check/gst-libs/gdp.c:
22628 * check/gst/gst.c: (GST_START_TEST):
22629 * check/gst/gstbin.c:
22630 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22631 * check/gst/gstbus.c:
22632 * check/gst/gstcaps.c: (GST_START_TEST):
22633 * check/gst/gstelement.c:
22634 * check/gst/gstghostpad.c:
22635 * check/gst/gstiterator.c:
22636 * check/gst/gstmessage.c:
22637 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22638 * check/gst/gstobject.c:
22639 * check/gst/gstpad.c: (GST_START_TEST):
22640 * check/gst/gststructure.c: (GST_START_TEST):
22641 * check/gst/gstsystemclock.c: (GST_START_TEST),
22642 (gst_systemclock_suite):
22643 * check/gst/gsttag.c: (gst_tag_suite):
22644 * check/gst/gstvalue.c:
22645 * check/pipelines/cleanup.c:
22646 * check/pipelines/simple_launch_lines.c:
22647 * check/states/sinks.c:
22648 change include statement
22650 * docs/gst/gstreamer-sections.txt:
22651 * docs/gst/tmpl/gstpad.sgml:
22652 document more pad stuff
22653 * gst/gstminiobject.c: (gst_mini_object_ref),
22654 (gst_mini_object_unref):
22657 2005-08-19 Stefan Kost <ensonic@users.sf.net>
22659 * docs/gst/tmpl/gst.sgml:
22661 eliminate another tmpl file, fix spelling in the long-description
22663 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22665 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22666 (test_event), (timediff), (gstevents_suite):
22667 Should fix build on 64-bit arch's
22669 2005-08-18 Andy Wingo <wingo@pobox.com>
22671 Make sure that when a pipeline goes to PLAYING, that data has
22672 actually hit the sink.
22674 * check/states/sinks.c (test_sink): A sink that doesn't get any
22675 data shouldn't return SUCCESS for going to either PLAYING or
22676 PAUSED. Test also the return values on the way back down.
22678 * gst/gstelement.c (gst_element_set_state): When changing the
22679 state of an element currently changing state asynchronously, go to
22680 lost-state after commiting the pending state. Makes future calls
22681 to get_state continue to return ASYNC.
22683 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22684 ASYNC when going to PLAYING if we still don't have preroll, as can
22685 happen with live sources.
22687 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22689 * docs/pwg/advanced-types.xml:
22690 Hack long paragraph into 2 chunks as a workaround for buggy
22691 jadetex version in sid and breezy that loops infinitely and
22694 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22696 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22697 (test_event), (timediff), (gstevents_suite):
22698 Provide more error margin in clock measurements to allow for
22699 g_get_current_time inaccuracies.
22701 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22703 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22704 (test_event), (timediff), (gstevents_suite):
22705 Fix error message output so I might be able to tell why the
22706 test works here but fails on the build farm.
22708 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
22710 * check/Makefile.am:
22711 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22712 (test_event), (timediff), (gstevents_suite), (main):
22715 * docs/design/part-seeking.txt:
22716 Spelling correction
22718 * docs/gst/tmpl/gstevent.sgml:
22719 * docs/gst/tmpl/gstfakesrc.sgml:
22722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22723 Treat a buffer-without-newsegment the same as a receiving
22724 a newsegment not in time format, and disable syncing to the clock
22727 * gst/gstbus.c: (gst_bus_set_sync_handler):
22728 Assert if anyone tries to replace the existing sync_handler for bus,
22729 as only the owner should be setting it.
22732 Have a fixed set of custom event enums with events identified by
22733 their structure name (as in 0.8), rather than a free-for-all
22734 allowing collisions between enum values from different plugins.
22736 * gst/gstpad.c: (gst_pad_class_init):
22739 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22740 Handle out-of-band downstream events from the sending thread.
22742 2005-08-17 Andy Wingo <wingo@pobox.com>
22744 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22745 play-timeout==0 to mean no timeout at all. In that case, don't
22746 bother with a get_state or a warning, just return directly, even
22749 * gst/base/gstbasetransform.c: Debug changes.
22752 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22753 ensure bins post state change messages. A bit of a hack but I can't
22754 think of a way to avoid it.
22756 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22758 2005-08-16 Andy Wingo <wingo@pobox.com>
22760 * gst/base/gstadapter.h:
22761 * gst/base/gstadapter.c (gst_adapter_take): New function, like
22762 peek() but you own the data. Not terribly efficient atm.
22764 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22766 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22767 (gst_element_found_tags):
22769 Add two utility functions for tag handling.
22771 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22773 * docs/manual/advanced-dataaccess.xml:
22774 * docs/manual/basics-helloworld.xml:
22775 Fix docs to use _bin_add() before _link(), which fixes the examples
22776 with recent core versions (reported by Madhan Raj M
22777 <raj_madan@rediffmail.com>, #313199).
22779 2005-08-16 Wim Taymans <wim@fluendo.com>
22781 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22782 Added subtract checks.
22784 * docs/design/part-events.txt:
22785 Some more docs about newsegment
22787 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22790 * gst/gstcaps.c: (gst_caps_to_string):
22791 Add comments, cleanups.
22793 * gst/gstelement.c: (gst_element_save_thyself):
22796 * gst/gstvalue.c: (gst_value_collect_int_range),
22797 (gst_string_unwrap), (gst_value_union_int_int_range),
22798 (gst_value_union_int_range_int_range),
22799 (gst_value_intersect_int_int_range),
22800 (gst_value_intersect_int_range_int_range),
22801 (gst_value_intersect_double_double_range),
22802 (gst_value_intersect_double_range_double_range),
22803 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22804 (gst_value_subtract_int_range_int),
22805 (gst_value_subtract_double_range_double),
22806 (gst_value_subtract_double_range_double_range),
22807 (gst_value_subtract_from_list), (gst_value_subtract_list),
22808 (gst_value_can_compare), (gst_value_compare_fraction):
22809 Cleanups, add comments, remove unneeded asserts.
22811 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22813 * tools/gst-launch.c: (event_loop):
22814 don't convert NULL structures to strings
22816 2005-08-15 Stefan Kost <ensonic@users.sf.net>
22818 * docs/gst/gstreamer-sections.txt:
22819 made some defines private
22820 * docs/gst/tmpl/gstconfig.sgml:
22821 * docs/gst/tmpl/gstqueue.sgml:
22822 * docs/gst/tmpl/gsttaglist.sgml:
22823 * docs/gst/tmpl/gsttypes.sgml:
22824 * docs/gst/tmpl/gstutils.sgml:
22825 * docs/pwg/appendix-porting.xml:
22826 * gst/base/gstbasesink.h:
22827 * gst/base/gstbasesrc.c:
22828 * gst/base/gstbasesrc.h:
22829 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22830 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22831 * gst/gstelement.c: (gst_element_class_init):
22832 * gst/gstpad.c: (gst_pad_class_init):
22833 * gst/gstqueue.c: (gst_queue_class_init):
22834 * gst/gstxml.c: (gst_xml_class_init):
22835 documented all undocumented signal inline
22836 * libs/gst/controller/gst-controller.h:
22839 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22841 * docs/pwg/appendix-porting.xml:
22842 Document _set_link_function -> _set_setcaps_function.
22844 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22846 * check/Makefile.am:
22847 add a .check target for running the check
22848 * check/gst-libs/controller.c: (GST_START_TEST):
22850 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22851 complete checks for gstbuffer; would be nice if I could get the
22852 gcov stuff to work so I can see if I actually completed gstbuffer.c
22853 * check/gstcheck.h:
22854 add ASSERT_BUFFER_REFCOUNT
22856 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
22858 * docs/gst/gstreamer-sections.txt:
22859 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22861 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22862 spew out a warning if a tag that is already registered
22863 is re-registered, unless it is re-registered with a
22864 different type (#308438).
22866 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
22868 * docs/pwg/appendix-porting.xml:
22869 * docs/pwg/building-state.xml:
22870 Add some paragraphs about state changes in 0.9 to the PWG
22871 and the porting guide, in particular about the new meaning
22872 of GST_STATE_PAUSED and how to write state change functions
22873 with concurrent access by multiple threads in mind.
22875 2005-08-11 Stefan Kost <ensonic@users.sf.net>
22877 * docs/gst/gstreamer-docs.sgml:
22878 * docs/libs/gstreamer-libs-docs.sgml:
22879 added deprecation and since indexes
22880 * libs/gst/controller/gst-controller.c:
22881 * libs/gst/controller/gst-helper.c:
22885 2005-08-11 Wim Taymans <wim@fluendo.com>
22887 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22888 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22889 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22890 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22891 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22892 (gst_ghost_pad_set_target):
22893 Actually implement (re)setting the target on a ghostpad
22894 as described in the docs.
22896 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22898 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22899 Check whether GST_DEBUG_NO_COLOR environment variable is
22900 set and disable coloured debug output if that is the case.
22902 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22904 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22905 (gst_type_find_helper):
22906 The memory returned by gst_type_find_peek() needs to
22907 stay valid until the end of a typefind function, and
22908 typefind functions may keep results from different
22909 offsets around, so we can't just unref the buffer from
22910 the previous _peek(), but have to save all buffers
22911 returned by _peek() until typefinding is done and only
22914 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
22916 * docs/gst/gstreamer-sections.txt:
22918 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22920 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22922 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22923 Fix a pretty good memleak.
22925 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22927 * gst/gstiterator.h:
22928 Fix wrong include and 'make distcheck'.
22930 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22932 * gst/gstbin.c: (bin_bus_handler):
22933 Use gst_element_post_message() instead.
22935 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22937 * gst/base/gstadapter.h:
22938 * gst/base/gstbasesink.h:
22939 * gst/base/gstbasesrc.h:
22940 * gst/base/gstbasetransform.h:
22941 * gst/base/gstcollectpads.h:
22942 * gst/base/gstpushsrc.h:
22943 * gst/gstiterator.h:
22944 Add padding to our base elements' class and instance structs and
22945 to GstIterator (you will need to rebuild all plugins and apps!)
22947 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22949 * gst/gstbin.c: (bin_bus_handler):
22950 Make default message forwarding from child->bus to bin->bus
22951 threadsafe and make it not emit warnings if the parent has no bus.
22953 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22955 * gst/gstelement.c: (activate_pads):
22956 On paused->ready, set pad->caps to NULL, as is the documented
22957 behaviour in this state change. Fixes playback of series of
22958 media files when visualization is enabled in Totem.
22960 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22962 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22963 Allow NULL as filter-caps (which means "any").
22965 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22967 * docs/libs/gstreamer-libs-sections.txt:
22968 * libs/gst/controller/gst-controller.c:
22969 * libs/gst/controller/gst-controller.h:
22970 * libs/gst/controller/gst-helper.c:
22971 adding more entries to the docs and fix small doc-bugs
22973 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22975 * docs/gst/gstreamer-docs.sgml:
22976 * docs/gst/gstreamer-sections.txt:
22977 * docs/gst/gstreamer.types:
22978 * docs/gst/tmpl/gstbasesink.sgml:
22979 * docs/gst/tmpl/gstbasesrc.sgml:
22980 * docs/gst/tmpl/gstbasetransform.sgml:
22981 * docs/gst/tmpl/gstfakesrc.sgml:
22982 * gst/base/gstcollectpads.c:
22983 * gst/base/gstcollectpads.h:
22984 * libs/gst/controller/gst-controller.c:
22985 * libs/gst/controller/gst-controller.h:
22986 * libs/gst/controller/gst-helper.c:
22987 * libs/gst/controller/gst-interpolation.c:
22988 * libs/gst/controller/lib.c:
22989 added long/short desc for controller docs
22990 added collectpads base class docs
22991 added correct includes to base-class docs
22993 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22995 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22996 (gst_test_mono_source_set_property),
22997 (gst_test_mono_source_class_init), (GST_START_TEST),
22998 (gst_controller_suite):
22999 * docs/gst/gstreamer-docs.sgml:
23000 * docs/gst/gstreamer-sections.txt:
23001 * docs/gst/gstreamer.types:
23002 * docs/libs/gstreamer-libs-docs.sgml:
23003 * docs/libs/gstreamer-libs-sections.txt:
23004 * gst/base/gstadapter.c:
23005 * libs/gst/controller/gst-controller.c:
23006 (gst_controlled_property_new), (gst_controlled_property_free),
23007 (gst_controller_new_valist),
23008 (gst_controller_remove_properties_valist),
23009 (gst_controller_sink_values), (_gst_controller_finalize):
23010 * libs/gst/controller/gst-controller.h:
23011 * libs/gst/controller/gst-helper.c:
23012 (gst_object_control_properties), (gst_object_uncontrol_properties),
23013 (gst_object_get_controller), (gst_object_set_controller),
23014 (gst_object_sink_values), (gst_object_get_value_arrays),
23015 (gst_object_get_value_array):
23016 more tests (and fixes) for the controller
23017 more docs for the controller
23018 integrated companies docs for the adapter
23020 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23023 (GST_START_TEST), (fakesrc_suite):
23024 add tests for sizetype
23026 2005-08-04 Andy Wingo <wingo@pobox.com>
23028 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23029 fixes buffer_alloc proxying among other things.
23031 * gst/base/gstbasetransform.c:
23032 * gst/base/gstbasetransform.h:
23033 Revert patch to gstbasetransform from 7-28 removing
23036 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23037 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23038 Semantics changed, should return not the size of the output buffer
23039 but the byte size of a buffer with a given caps.
23041 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23043 (gst_base_transform_configure_caps): Don't set out_size here: (in,
23044 out) are not the pad caps until setcaps finishes.
23045 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23046 not-in-place case as well. Deal with changing from in-place to
23047 not-in-place within calling pad_alloc_buffer. Still a bit
23048 concerned about the overhead here...
23050 2005-08-03 Andy Wingo <wingo@pobox.com>
23052 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23053 fixating is an error.
23055 2005-08-04 Edward Hervey <edward@fluendo.com>
23057 * gst/base/gstadapter.h:
23058 Added gst_adapter_get_type() to the header
23060 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23062 * check/Makefile.am:
23063 * check/gst-libs/controller.c:
23064 * libs/gst/controller/gst-controller.c:
23065 (gst_controller_new_valist):
23066 added check test suite for the controller
23067 * gst/base/gstpushsrc.c:
23070 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23072 * docs/gst/Makefile.am:
23073 * docs/gst/gstreamer-docs.sgml:
23074 * docs/gst/gstreamer-sections.txt:
23075 * docs/gst/gstreamer.types:
23076 * docs/gst/tmpl/gstfakesrc.sgml:
23078 * gst/base/gstbasesink.c:
23079 * gst/base/gstbasesink.h:
23080 * gst/base/gstbasesrc.c:
23081 * gst/base/gstbasesrc.h:
23082 * gst/base/gstbasetransform.c:
23083 * gst/base/gstpushsrc.c:
23084 * gst/base/gstpushsrc.h:
23085 add short/long description docs to base classes
23086 add pushsrc to the docs
23087 remove consolidated doc fragments
23089 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23092 * docs/libs/Makefile.am:
23093 * docs/libs/gstreamer-libs-docs.sgml:
23094 * docs/libs/gstreamer-libs-sections.txt:
23095 * docs/libs/gstreamer-libs.types:
23096 * examples/Makefile.am:
23097 * examples/controller/.cvsignore:
23098 * examples/controller/Makefile.am:
23099 * examples/controller/audio-example.c: (main):
23100 * libs/gst/Makefile.am:
23101 * libs/gst/controller/.cvsignore:
23102 * libs/gst/controller/Makefile.am:
23103 * libs/gst/controller/gst-controller.c:
23104 (on_object_controlled_property_changed), (gst_timed_value_compare),
23105 (gst_timed_value_find),
23106 (gst_controlled_property_set_interpolation_mode),
23107 (gst_controlled_property_new), (gst_controlled_property_free),
23108 (gst_controller_find_controlled_property),
23109 (gst_controller_new_valist), (gst_controller_new),
23110 (gst_controller_remove_properties_valist),
23111 (gst_controller_remove_properties), (gst_controller_set),
23112 (gst_controller_set_from_list), (gst_controller_unset),
23113 (gst_controller_get), (gst_controller_get_all),
23114 (gst_controller_sink_values), (gst_controller_get_value_arrays),
23115 (gst_controller_get_value_array),
23116 (gst_controller_set_interpolation_mode),
23117 (_gst_controller_finalize), (_gst_controller_init),
23118 (_gst_controller_class_init), (gst_controller_get_type):
23119 * libs/gst/controller/gst-controller.h:
23120 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23121 (g_object_uncontrol_properties), (g_object_get_controller),
23122 (g_object_set_controller), (g_object_sink_values),
23123 (g_object_get_value_arrays), (g_object_get_value_array):
23124 * libs/gst/controller/gst-interpolation.c:
23125 (gst_controlled_property_find_timed_value_node),
23126 (interpolate_none_get), (interpolate_trigger_get),
23127 (interpolate_trigger_get_value_array):
23128 * libs/gst/controller/lib.c: (gst_controller_init):
23129 * pkgconfig/Makefile.am:
23130 * pkgconfig/gstreamer-control-uninstalled.pc.in:
23131 * pkgconfig/gstreamer-control.pc.in:
23132 * testsuite/Makefile.am:
23133 * testsuite/controller/.cvsignore:
23134 * testsuite/controller/Makefile.am:
23135 * testsuite/controller/interpolator.c: (main):
23136 added controller code
23137 removed dparam pc files
23139 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23140 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23141 (gst_collectpads_stop):
23142 Broadcast the condition when shutting down, to make sure we wake all
23143 threads up. Shut down pads on finalize, for safety.
23145 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23146 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23147 (gst_base_transform_handle_buffer),
23148 (gst_base_transform_change_state):
23149 Handle PAUSED->READY->PAUSED transition after negotiation
23151 * gst/gstmessage.c: (gst_message_init):
23152 Extra piece of debug for new messages.
23154 2005-08-01 Stefan Kost <ensonic@users.sf.net>
23157 * docs/gst/tmpl/gstbasesrc.sgml:
23158 * docs/gst/tmpl/gstelement.sgml:
23159 * docs/gst/tmpl/gstevent.sgml:
23160 * docs/gst/tmpl/gstfakesrc.sgml:
23161 * docs/gst/tmpl/gstformat.sgml:
23162 * docs/gst/tmpl/gstghostpad.sgml:
23163 * docs/gst/tmpl/gstpad.sgml:
23164 * docs/gst/tmpl/gstquery.sgml:
23165 * docs/gst/tmpl/gststructure.sgml:
23166 * docs/gst/tmpl/gsttaglist.sgml:
23167 * docs/gst/tmpl/gstvalue.sgml:
23168 * docs/libs/gstreamer-libs-docs.sgml:
23169 * docs/libs/gstreamer-libs-sections.txt:
23170 * docs/libs/gstreamer-libs.types:
23171 * libs/gst/Makefile.am:
23172 * libs/gst/control/.cvsignore:
23173 * libs/gst/control/Makefile.am:
23174 * libs/gst/control/control.c:
23175 * libs/gst/control/control.h:
23176 * libs/gst/control/dparam.c:
23177 * libs/gst/control/dparam.h:
23178 * libs/gst/control/dparam_smooth.c:
23179 * libs/gst/control/dparam_smooth.h:
23180 * libs/gst/control/dparamcommon.h:
23181 * libs/gst/control/dparammanager.c:
23182 * libs/gst/control/dparammanager.h:
23183 * libs/gst/control/dplinearinterp.c:
23184 * libs/gst/control/dplinearinterp.h:
23185 * libs/gst/control/unitconvert.c:
23186 * libs/gst/control/unitconvert.h:
23187 * testsuite/Makefile.am:
23188 * testsuite/dynparams/.cvsignore:
23189 * testsuite/dynparams/Makefile.am:
23190 * testsuite/dynparams/dparamstest.c:
23191 * tools/Makefile.am:
23192 * tools/gst-inspect.c: (print_element_info), (main):
23193 * tools/gst-xmlinspect.c: (print_element_info), (main):
23194 deactivate and remove dparams (libgstcontrol)
23196 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23198 * gst/elements/gsttypefindelement.c:
23199 (gst_type_find_element_have_type), (gst_type_find_element_init),
23200 (stop_typefinding), (gst_type_find_element_handle_event),
23201 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23202 * gst/elements/gsttypefindelement.h:
23203 Set caps on all outgoing buffers, not just the first one.
23205 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23207 * gst/elements/gsttypefindelement.c:
23208 (gst_type_find_element_have_type),
23209 (gst_type_find_element_check_set_buffer_caps),
23210 (gst_type_find_element_init), (stop_typefinding),
23211 (gst_type_find_element_handle_event),
23212 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23213 * gst/elements/gsttypefindelement.h:
23214 Set caps on first outgoing buffer when we've found the type.
23216 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23218 * docs/gst/gstreamer-docs.sgml:
23219 * docs/gst/gstreamer-sections.txt:
23220 * docs/gst/tmpl/gstscheduler.sgml:
23221 * docs/gst/tmpl/gstschedulerfactory.sgml:
23222 Remove some old cruft from docs.
23224 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23227 Fix inline docs for GstPadLinkReturn.
23229 * gst/gststructure.c: (gst_structure_has_name):
23230 * gst/gststructure.h:
23231 * docs/gst/gstreamer-sections.txt:
23232 New API: gst_structure_has_name().
23234 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23237 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23238 and _LARGEFILE_SOURCE in config.h as required. Do not
23239 export those flags in our .pc files any longer (#142209).
23241 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23243 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23244 (gst_file_sink_do_seek), (gst_file_sink_event),
23245 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23246 Redo seek/tell calls with large file support in mind; add some
23247 debugging messages; add log message that tells us when large
23248 file support is unavailable or not enabled for some reason.
23250 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23251 Add log message that tells us when large file support
23252 is unavailable or not enabled for some reason.
23254 2005-07-29 Wim Taymans <wim@fluendo.com>
23256 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23257 Added test for removing an element with ghostpad from a bin.
23258 Fixed test as current implementation does the right thing.
23260 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23261 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23262 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23263 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23264 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23265 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23266 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23267 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23268 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23269 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23270 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23271 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23272 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23273 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23274 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23275 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23276 * gst/gstghostpad.h:
23277 Clean up ghostpads, remove properties for internal stuff.
23280 Prepare for switching targets, not all use cases work yet.
23282 2005-07-29 Wim Taymans <wim@fluendo.com>
23284 * docs/design/part-gstghostpad.txt:
23287 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23288 (gst_bin_remove_func):
23289 Unlinking pads while holding the bin LOCK is not a good
23292 * gst/gstpad.c: (gst_pad_class_init),
23293 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23294 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23295 No prob setting template after creating the pad.
23297 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23299 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23300 (gst_bus_peek), (gst_bus_source_dispatch),
23301 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23302 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23303 gst_bus_poll may be called from other threads. Handle
23304 this nicely by not making poll_data disappear off the
23305 stack once gst_bus_poll returns.
23306 gst_bus_peek now increments the refcount on the returned
23309 2005-07-29 Wim Taymans <wim@fluendo.com>
23311 * docs/design/part-gstghostpad.txt:
23312 Overview of current GhostPad datastructures and use
23313 cases for changing the target.
23315 2005-07-28 Wim Taymans <wim@fluendo.com>
23317 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23318 Added checks for hierarchy consistency whan adding linked
23321 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23322 Added check to test element scheduling without bin/pipeline.
23324 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23325 First add elements to bin, then link.
23327 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23328 (gst_bin_remove_func):
23329 Unlink pads from elements added/removed from bin to maintain
23330 hierarchy consistency.
23332 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23334 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23335 (gst_base_transform_handle_buffer):
23336 * gst/base/gstbasetransform.h:
23337 Remove broken delay_configure (fixes renegotiation of software
23338 scaling pipelines); remove some leftover printf()s.
23340 2005-07-28 Wim Taymans <wim@fluendo.com>
23342 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23343 Added some more tests for wrong hierarchy
23345 * docs/design/part-overview.txt:
23348 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23351 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23352 (gst_element_dispose):
23353 Some more cleanups.
23355 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23356 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23357 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23358 (gst_pad_set_caps), (gst_pad_send_event):
23359 Check for correct hierarchy when linking pads. Moving to
23360 strict requirement for ghostpads when linking elements in
23364 Clean ups. Added WRONG_HIERARCHY return value.
23366 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23368 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23369 Better debug if no transform is possible.
23371 2005-07-27 Wim Taymans <wim@fluendo.com>
23373 * docs/random/wtay/network-transp:
23374 Some old doc I had.
23376 2005-07-27 Wim Taymans <wim@fluendo.com>
23378 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23379 (gst_dp_event_from_packet):
23380 Fix serialization of seek events.
23382 2005-07-27 Wim Taymans <wim@fluendo.com>
23384 * check/gst-libs/gdp.c: (GST_START_TEST):
23385 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23386 Fix compilation and fix event serialization.
23388 2005-07-27 Wim Taymans <wim@fluendo.com>
23391 * docs/design/part-TODO.txt:
23392 * docs/design/part-events.txt:
23395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23396 (gst_base_sink_event), (gst_base_sink_do_sync),
23397 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23398 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23399 (gst_base_src_do_seek), (gst_base_src_event_handler),
23400 (gst_base_src_loop):
23401 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23402 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23403 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23404 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23405 (gst_base_transform_set_passthrough),
23406 (gst_base_transform_is_passthrough):
23407 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23408 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23414 * gst/gstelement.c: (gst_element_seek):
23415 * gst/gstelement.h:
23416 Update gst_element_seek.
23418 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23419 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23420 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23421 (gst_event_new_eos), (gst_event_new_newsegment),
23422 (gst_event_parse_newsegment), (gst_event_new_tag),
23423 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23424 (gst_event_parse_qos), (gst_event_new_seek),
23425 (gst_event_parse_seek), (gst_event_new_navigation):
23427 Make GstEvent use GstStructure. Add parsing code, make sure the
23428 API is sufficiently generic.
23429 Mark possible directions of events and serialization.
23431 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23432 (_gst_message_copy), (gst_message_new_segment_start),
23433 (gst_message_new_segment_done), (gst_message_new_custom),
23434 (gst_message_parse_segment_start),
23435 (gst_message_parse_segment_done):
23438 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23439 (gst_pad_set_caps), (gst_pad_send_event):
23440 Update for new events.
23441 Catch events sent in wrong directions.
23443 * gst/gstqueue.c: (gst_queue_link_src),
23444 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23445 (gst_queue_handle_src_query):
23450 Remove event code from this file.
23452 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23453 (gst_dp_event_from_packet):
23456 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23458 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23459 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23460 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23461 Make debugging actually useful.
23463 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23465 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23466 (gst_pad_fixate_caps):
23467 Implement default fixation once again, so that gst_pad_fixate()
23468 actually does anything at all. This probably needs to be some
23469 sort of a last resort, and use profile-based fixation first, but
23470 since that doesn't exist yet, this is the best we have. Fixes
23471 visualization in Totem.
23473 2005-07-22 Wim Taymans <wim@fluendo.com>
23475 * docs/design/part-events.txt:
23478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23479 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23480 (gst_base_sink_activate_pull):
23481 Some more comments.
23483 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23484 (gst_fake_src_create):
23485 Fix handoff marshall.
23487 * gst/elements/gstidentity.c: (gst_identity_class_init),
23488 (gst_identity_transform_ip):
23489 We're a real inplace element.
23491 * gst/gstbus.c: (gst_bus_post):
23492 Added some comments.
23494 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23495 * tests/muxing/case1.c: (main):
23496 * tests/sched/dynamic-pipeline.c: (main):
23497 * tests/sched/interrupt1.c: (main):
23498 * tests/sched/interrupt2.c: (main):
23499 * tests/sched/interrupt3.c: (main):
23500 * tests/sched/runxml.c: (main):
23501 * tests/sched/sched-stress.c: (main):
23502 * tests/seeking/seeking1.c: (event_received), (main):
23503 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23505 * tests/threadstate/threadstate3.c: (main):
23506 * tests/threadstate/threadstate4.c: (main):
23507 * tests/threadstate/threadstate5.c: (main):
23510 2005-07-21 Wim Taymans <wim@fluendo.com>
23512 * docs/design/part-seeking.txt:
23513 Some small additions.
23515 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23516 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23517 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23518 * gst/base/gstbasesink.h:
23519 discont values are gint64, handle the math correctly.
23521 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23522 Make the basesrc report error if the source pad is not linked.
23524 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23525 (gst_queue_loop), (gst_queue_handle_src_query),
23526 (gst_queue_src_activate_push):
23527 Make queue collect data even if the srcpad is not linked.
23528 Start pushing out data as soon as it is linked.
23530 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23532 Added gst_flow_get_name() to ease error reporting.
23534 2005-07-20 Wim Taymans <wim@fluendo.com>
23536 * gst/gstmessage.c: (gst_message_new_segment_start),
23537 (gst_message_new_segment_done), (gst_message_parse_segment_start),
23538 (gst_message_parse_segment_done):
23539 * gst/gstmessage.h:
23540 Added a bunch of messages for advanced seeking.
23542 * gst/parse/grammar.y:
23543 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23544 (gst_dpman_state_changed):
23545 Fix some new-pad -> pad-added signals
23547 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23549 * docs/manual/appendix-porting.xml:
23550 * docs/pwg/appendix-porting.xml:
23551 Document new-pad/state-change signal renames and the FixedList
23554 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23556 * docs/manual/advanced-autoplugging.xml:
23557 * docs/manual/basics-helloworld.xml:
23558 * docs/manual/basics-pads.xml:
23559 * docs/random/ds/0.9-suggested-changes:
23560 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23561 * gst/gstelement.h:
23565 * gst/gststructure.c: (gst_structure_value_get_generic_type),
23566 (gst_structure_parse_array), (gst_structure_parse_value):
23567 * gst/gstvalue.c: (gst_type_is_fixed),
23568 (gst_value_list_prepend_value), (gst_value_list_append_value),
23569 (gst_value_list_get_size), (gst_value_list_get_value),
23570 (gst_value_transform_array_string), (gst_value_serialize_array),
23571 (gst_value_deserialize_array), (gst_value_intersect_array),
23572 (gst_value_is_fixed), (_gst_value_initialize):
23574 GstElement::new-pad -> pad-added, GstElement::state-change ->
23575 state-changed, GstValueFixedList -> GstValueArray, add format and
23576 flags as their own arguments in gst_element_seek() (should improve
23577 "bindeability"), remove function generators since they don't work
23578 under a whole bunch of compilers (they were deprecated already
23581 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23583 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23584 (_gst_debug_register_funcptr):
23586 Fix illegal cast on some platforms (#309253).
23588 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23590 * gst/gstmessage.c: (gst_message_new_custom):
23591 * gst/gstmessage.h:
23592 Add _new_custom, make _new_application a macro to _new_custom.
23594 2005-07-20 Wim Taymans <wim@fluendo.com>
23596 * gst/base/gstbasesrc.c: (gst_base_src_init),
23597 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23598 * gst/base/gstbasesrc.h:
23599 Add a gboolean to decide when to push out a discont.
23601 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23602 (gst_queue_loop), (gst_queue_handle_src_query),
23603 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23604 (gst_queue_set_property), (gst_queue_get_property):
23607 * tests/threadstate/threadstate1.c: (main):
23608 Make a thread test compile and run... very silly..
23611 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23613 * docs/manual/appendix-porting.xml:
23614 Mention removal of libgstgconf-0.9.la and existence of gconf
23617 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23619 * docs/pwg/advanced-clock.xml:
23620 * docs/pwg/appendix-porting.xml:
23621 * docs/pwg/intro-preface.xml:
23622 * docs/pwg/other-base.xml:
23623 * docs/pwg/other-manager.xml:
23624 * docs/pwg/other-nton.xml:
23625 * docs/pwg/other-ntoone.xml:
23626 * docs/pwg/other-oneton.xml:
23627 * docs/pwg/pwg.xml:
23628 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23629 demuxer), remove n-to-n (was never written), fix some code examples
23630 and links and update the porting section to include all this.
23632 2005-07-19 Wim Taymans <wim@fluendo.com>
23634 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23635 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23636 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23637 (gst_queue_src_activate_push), (gst_queue_change_state),
23638 (gst_queue_get_property):
23640 Propagate GstFlowReturn more intelligently upstream and output
23641 an ERROR/EOS when streaming stopped due to fatal error.
23643 2005-07-19 Wim Taymans <wim@fluendo.com>
23645 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23646 Don't block forever for the state change to complete, the
23647 pipeline already did with a sensible timeout.
23649 2005-07-19 Wim Taymans <wim@fluendo.com>
23651 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23652 Make sure we never call the create function is we
23655 2005-07-19 Andy Wingo <wingo@pobox.com>
23657 * gst/parse/parse.l: Attempt to solve bug #172815.
23659 2005-07-19 Wim Taymans <wim@fluendo.com>
23661 * docs/design/part-clocks.txt:
23662 * docs/design/part-events.txt:
23663 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23664 Small docs updates.
23665 Only update the seeking values when we are not
23668 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23670 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23671 Oops, ignore the result of gst_pad_push_event here.
23673 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
23675 * gst/base/gstbasesrc.c: (gst_base_src_loop),
23676 (gst_base_src_activate_push):
23677 Send discont event from the loop function, as pads
23678 aren't activated yet in the activate_push handler.
23680 * gst/gstbin.c: (bin_bus_handler):
23681 Don't leak element name.
23683 2005-07-18 Andy Wingo <wingo@pobox.com>
23685 * configure.ac: Use AS_LIBTOOL_TAGS.
23687 2005-07-18 Wim Taymans <wim@fluendo.com>
23689 * docs/gst/gstreamer.types:
23690 Remove deleted types.
23692 2005-07-18 Wim Taymans <wim@fluendo.com>
23694 * check/elements/gstfakesrc.c: (GST_START_TEST):
23697 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23698 (init_popt_callback):
23700 * gst/gst_private.h:
23701 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23702 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23705 * gst/gstconfig.h.in:
23706 * gst/gstelement.c: (gst_element_class_init),
23707 (gst_element_set_base_time), (gst_element_get_base_time),
23708 (iterator_fold_with_resync), (gst_element_change_state),
23709 (gst_element_dispose), (gst_element_get_bus):
23710 * gst/gstelement.h:
23711 * gst/gstelementfactory.h:
23712 * gst/gsterror.c: (_gst_core_errors_init):
23715 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23717 * gst/gstinfo.c: (_gst_debug_init):
23718 * gst/gstmessage.c: (_gst_message_copy):
23719 * gst/gstmessage.h:
23720 * gst/gstminiobject.h:
23723 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23724 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23727 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23728 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23729 (gst_pipeline_get_last_stream_time):
23730 * gst/gstpipeline.h:
23731 * gst/gstpluginfeature.h:
23733 * gst/gstscheduler.c:
23734 * gst/gstscheduler.h:
23735 * gst/gststructure.h:
23736 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23737 (gst_task_finalize), (gst_task_func), (gst_task_create),
23738 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23739 (gst_task_stop), (gst_task_pause):
23741 * gst/gsttypefind.h:
23743 * gst/registries/gstlibxmlregistry.c: (load_feature),
23744 (gst_xml_registry_load), (gst_xml_registry_save_feature):
23745 * gst/registries/gstxmlregistry.c:
23746 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23747 * gst/schedulers/threadscheduler.c:
23748 * libs/gst/control/dparammanager.h:
23749 * tools/gst-inspect.c: (print_element_list),
23750 (print_plugin_features), (print_element_features):
23751 * tools/gst-xmlinspect.c: (print_element_list),
23752 (print_plugin_info), (main):
23753 Removed plugable schedulers.
23754 Removed Scheduler/Manager from elements.
23755 Removed gsttypes.h, rearranged includes.
23756 Removed dependency pad<->element, element<>pipeline, and
23757 various others, fix includes.
23758 implement gst_pad_get_parent() with gst_object_get_parent()
23759 Make GstTask sefcontained.
23760 Fix _get_state() on GstBin, it did not return ASYNC with a 0
23762 Fix endless loop in iterator_fold_with_resync.
23765 2005-07-18 Wim Taymans <wim@fluendo.com>
23771 2005-07-18 Wim Taymans <wim@fluendo.com>
23774 No more cothreads.h
23776 2005-07-18 Wim Taymans <wim@fluendo.com>
23780 Let's remove these.
23782 2005-07-18 Wim Taymans <wim@fluendo.com>
23784 * docs/design/part-dynamic.txt:
23785 * docs/design/part-events.txt:
23786 * docs/design/part-seeking.txt:
23787 Some more docs in the works.
23789 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23790 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23791 (gst_base_transform_setcaps), (gst_base_transform_get_size),
23792 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23793 (gst_base_transform_handle_buffer),
23794 (gst_base_transform_sink_activate_push),
23795 (gst_base_transform_src_activate_pull),
23796 (gst_base_transform_set_passthrough),
23797 (gst_base_transform_is_passthrough):
23800 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23803 * gst/gstevent.c: (gst_event_finalize):
23806 * gst/gstutils.c: (gst_element_unlink),
23807 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23808 (gst_pad_proxy_setcaps):
23810 Add _get_parent_element() to get a pads parent as an element.
23812 2005-07-18 Wim Taymans <wim@fluendo.com>
23814 * check/gst/gstbin.c: (GST_START_TEST):
23817 2005-07-18 Wim Taymans <wim@fluendo.com>
23819 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23820 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23821 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23822 (gst_base_sink_event), (gst_base_sink_do_sync),
23823 (gst_base_sink_chain), (gst_base_sink_loop),
23824 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23825 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23827 Fix logic for returning ASYNC when not prerolled.
23829 2005-07-18 Wim Taymans <wim@fluendo.com>
23831 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23832 Fix nasty refcount bug.
23834 2005-07-16 Philippe Khalaf <burger@speedy.org>
23836 * gst/elements/gstfdsrc.c:
23837 * gst/elements/gstfdsrc.h:
23838 * gst/elements/gstelements.c:
23839 * gst/elements/Makefile.am:
23840 Ported fdsrc to 0.9.
23842 2005-07-16 Wim Taymans <wim@fluendo.com>
23844 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23845 (gst_base_sink_do_sync):
23848 2005-07-16 Wim Taymans <wim@fluendo.com>
23850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23851 (gst_base_sink_event), (gst_base_sink_get_times),
23852 (gst_base_sink_do_sync), (gst_base_sink_change_state):
23853 * gst/base/gstbasesink.h:
23854 Store and use discont values when syncing buffers as described
23857 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23858 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23859 (gst_base_src_activate_push):
23860 Push discont event when starting.
23862 * gst/elements/gstidentity.c: (gst_identity_transform):
23865 * gst/gstbin.c: (gst_bin_change_state):
23866 Small cleanups in base_time distribution.
23868 * gst/gstelement.c: (gst_element_set_base_time),
23869 (gst_element_get_base_time), (gst_element_change_state):
23870 * gst/gstelement.h:
23871 Added methods for the base_time of the element.
23874 * gst/gstpipeline.c: (gst_pipeline_send_event),
23875 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23876 (gst_pipeline_get_last_stream_time):
23877 * gst/gstpipeline.h:
23879 Handle seeking as described in design doc, remove stream_time
23881 Cleanups clock and stream_time selection code. Added accessors
23882 for the stream_time.
23885 2005-07-16 Andy Wingo <wingo@pobox.com>
23887 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23890 2005-07-16 Wim Taymans <wim@fluendo.com>
23892 * check/gst/gstbin.c: (GST_START_TEST):
23893 Make elements silent as the deep_notify refs the
23894 parent, which might make the test fail.
23896 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23897 Don't hold the lock for too long.
23899 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
23901 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23902 Don't unref the caps we passed to gst_caps_make_writable() after
23903 passing them. gst_caps_make_writable() will do that for us.
23905 2005-07-15 Andy Wingo <wingo@pobox.com>
23907 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23910 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23911 own marshalling function for the handoff signal. Properly type the
23912 buffer as a buffer. Fixes some warnings. Should do a more general
23914 (gst_identity_class_init): Plug into the right marshaller.
23916 2005-07-15 Wim Taymans <wim@fluendo.com>
23918 * docs/design/part-TODO.txt:
23919 * docs/design/part-clocks.txt:
23920 * docs/design/part-element-sink.txt:
23921 * docs/design/part-events.txt:
23922 * docs/design/part-gstpipeline.txt:
23923 Updated docs, mostly DISCONT related.
23925 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
23927 * docs/pwg/building-pads.xml:
23928 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23930 2005-07-15 Andy Wingo <wingo@pobox.com>
23932 * tools/gst-typefind.c: Update, add copyright block.
23934 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23935 Normalize and truncate caps before fixation.
23938 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23939 discards all but the first structure from its argument.
23941 2005-07-15 Wim Taymans <wim@fluendo.com>
23943 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23944 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23945 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23946 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23947 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23948 (gst_base_transform_chain), (gst_base_transform_change_state),
23949 (gst_base_transform_set_passthrough),
23950 (gst_base_transform_is_passthrough):
23951 * gst/base/gstbasetransform.h:
23952 Make passthrough work using the bufferpools.
23953 Changed API a bit, subclasses have to write into a buffer
23954 provided by the base class.
23955 More debug info in nego functions.
23957 * gst/elements/gstidentity.c: (gst_identity_init),
23958 (gst_identity_transform):
23959 Port to new base class.
23961 2005-07-15 Wim Taymans <wim@fluendo.com>
23963 * gst/gstmessage.c: (gst_message_new_state_changed):
23964 * tools/gst-launch.c: (event_loop), (main):
23965 Totally dump messages in -launch with the -m option.
23966 Fix message name for State messages,
23968 2005-07-14 Wim Taymans <wim@fluendo.com>
23970 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23971 Post error messages on errors.
23973 2005-07-14 Wim Taymans <wim@fluendo.com>
23975 * gst/gstcaps.c: (gst_caps_do_simplify):
23979 Define error for stream stopped.
23981 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23982 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23983 Do proper return values.
23985 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23986 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23987 (gst_pad_get_range):
23988 Better return values.
23991 Reorganise return values, add macro to check for fatal errors.
23993 * gst/gstqueue.c: (gst_queue_chain):
23994 Return proper GstFlowReturn values,
23996 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
23998 * docs/gst/gstreamer-sections.txt:
23999 * docs/gst/gstreamer.types:
24000 * docs/gst/tmpl/gst.sgml:
24001 * docs/gst/tmpl/gstbasesink.sgml:
24002 * docs/gst/tmpl/gstbasesrc.sgml:
24003 * docs/gst/tmpl/gstbasetransform.sgml:
24004 * docs/gst/tmpl/gstbin.sgml:
24005 * docs/gst/tmpl/gstbuffer.sgml:
24006 * docs/gst/tmpl/gstcaps.sgml:
24007 * docs/gst/tmpl/gstclock.sgml:
24008 * docs/gst/tmpl/gstcompat.sgml:
24009 * docs/gst/tmpl/gstconfig.sgml:
24010 * docs/gst/tmpl/gstelement.sgml:
24011 * docs/gst/tmpl/gstelementdetails.sgml:
24012 * docs/gst/tmpl/gstelementfactory.sgml:
24013 * docs/gst/tmpl/gstenumtypes.sgml:
24014 * docs/gst/tmpl/gsterror.sgml:
24015 * docs/gst/tmpl/gstevent.sgml:
24016 * docs/gst/tmpl/gstfakesink.sgml:
24017 * docs/gst/tmpl/gstfakesrc.sgml:
24018 * docs/gst/tmpl/gstfilesink.sgml:
24019 * docs/gst/tmpl/gstfilesrc.sgml:
24020 * docs/gst/tmpl/gstfilter.sgml:
24021 * docs/gst/tmpl/gstformat.sgml:
24022 * docs/gst/tmpl/gstghostpad.sgml:
24023 * docs/gst/tmpl/gstimplementsinterface.sgml:
24024 * docs/gst/tmpl/gstindex.sgml:
24025 * docs/gst/tmpl/gstindexfactory.sgml:
24026 * docs/gst/tmpl/gstinfo.sgml:
24027 * docs/gst/tmpl/gstiterator.sgml:
24028 * docs/gst/tmpl/gstmacros.sgml:
24029 * docs/gst/tmpl/gstmemchunk.sgml:
24030 * docs/gst/tmpl/gstminiobject.sgml:
24031 * docs/gst/tmpl/gstobject.sgml:
24032 * docs/gst/tmpl/gstpad.sgml:
24033 * docs/gst/tmpl/gstpadtemplate.sgml:
24034 * docs/gst/tmpl/gstparse.sgml:
24035 * docs/gst/tmpl/gstpipeline.sgml:
24036 * docs/gst/tmpl/gstplugin.sgml:
24037 * docs/gst/tmpl/gstpluginfeature.sgml:
24038 * docs/gst/tmpl/gstquery.sgml:
24039 * docs/gst/tmpl/gstqueue.sgml:
24040 * docs/gst/tmpl/gstregistry.sgml:
24041 * docs/gst/tmpl/gstregistrypool.sgml:
24042 * docs/gst/tmpl/gstscheduler.sgml:
24043 * docs/gst/tmpl/gstschedulerfactory.sgml:
24044 * docs/gst/tmpl/gststructure.sgml:
24045 * docs/gst/tmpl/gstsystemclock.sgml:
24046 * docs/gst/tmpl/gsttaglist.sgml:
24047 * docs/gst/tmpl/gsttagsetter.sgml:
24048 * docs/gst/tmpl/gsttrace.sgml:
24049 * docs/gst/tmpl/gsttrashstack.sgml:
24050 * docs/gst/tmpl/gsttypefind.sgml:
24051 * docs/gst/tmpl/gsttypefindfactory.sgml:
24052 * docs/gst/tmpl/gsttypes.sgml:
24053 * docs/gst/tmpl/gsturihandler.sgml:
24054 * docs/gst/tmpl/gsturitype.sgml:
24055 * docs/gst/tmpl/gstutils.sgml:
24056 * docs/gst/tmpl/gstvalue.sgml:
24057 * docs/gst/tmpl/gstversion.sgml:
24058 * docs/gst/tmpl/gstxml.sgml:
24059 * docs/libs/tmpl/gstcontrol.sgml:
24060 * docs/libs/tmpl/gstdataprotocol.sgml:
24061 * docs/libs/tmpl/gstdparam.sgml:
24062 * docs/libs/tmpl/gstdplinint.sgml:
24063 * docs/libs/tmpl/gstdpman.sgml:
24064 * docs/libs/tmpl/gstdpsmooth.sgml:
24065 * docs/libs/tmpl/gstgetbits.sgml:
24066 * docs/libs/tmpl/gstunitconvert.sgml:
24067 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24068 (gst_push_src_base_init), (gst_push_src_class_init),
24069 (gst_push_src_init), (gst_push_src_create):
24070 * gst/base/gstpushsrc.h:
24071 * gst/elements/gstelements.c:
24072 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24073 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24074 (gst_fake_sink_init), (gst_fake_sink_set_property),
24075 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24076 (gst_fake_sink_event), (gst_fake_sink_preroll),
24077 (gst_fake_sink_render), (gst_fake_sink_change_state):
24078 * gst/elements/gstfakesink.h:
24079 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24080 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24081 (gst_fake_src_base_init), (gst_fake_src_class_init),
24082 (gst_fake_src_init), (gst_fake_src_event_handler),
24083 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24084 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24085 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24086 (gst_fake_src_create_buffer), (gst_fake_src_create),
24087 (gst_fake_src_start), (gst_fake_src_stop):
24088 * gst/elements/gstfakesrc.h:
24089 * gst/elements/gstfilesink.c: (_do_init),
24090 (gst_file_sink_base_init), (gst_file_sink_class_init),
24091 (gst_file_sink_init), (gst_file_sink_dispose),
24092 (gst_file_sink_set_location), (gst_file_sink_set_property),
24093 (gst_file_sink_get_property), (gst_file_sink_open_file),
24094 (gst_file_sink_close_file), (gst_file_sink_query),
24095 (gst_file_sink_event), (gst_file_sink_render),
24096 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24097 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24098 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24099 * gst/elements/gstfilesink.h:
24100 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24101 (gst_file_src_class_init), (gst_file_src_init),
24102 (gst_file_src_finalize), (gst_file_src_set_location),
24103 (gst_file_src_set_property), (gst_file_src_get_property),
24104 (gst_file_src_map_region), (gst_file_src_map_small_region),
24105 (gst_file_src_create_mmap), (gst_file_src_create_read),
24106 (gst_file_src_create), (gst_file_src_is_seekable),
24107 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24108 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24109 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24110 (gst_file_src_uri_handler_init):
24111 * gst/elements/gstfilesrc.h:
24112 more autistic cleanliness in functions/names/defines
24114 2005-07-13 Andy Wingo <wingo@pobox.com>
24116 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24117 source couldn't negotiate.
24119 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24123 * gst/gstutils.c (gst_element_link_pads_filtered): New old
24124 function. I am channeling Hades. Put your boots on suckers!!!
24126 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
24128 * testsuite/caps/Makefile.am:
24129 * testsuite/caps/value_compare.c:
24130 * testsuite/caps/value_intersect.c:
24131 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24132 move two testsuite apps over to the check dir
24134 2005-07-12 Wim Taymans <wim@fluendo.com>
24136 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24137 Added more debug info in the negotiate process.
24139 * gst/gstmessage.h:
24140 Prepare for segment playback.
24142 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24148 * tools/gst-launch.c: (main):
24149 NULL pipeline on errors.
24151 2005-07-12 Andy Wingo <wingo@pobox.com>
24153 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24154 not it comes from a malloc region. Make sure our copy gets freed.
24156 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24158 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24159 * check/gst/gstmessage.c: (GST_START_TEST):
24160 * check/gst/gststructure.c: (GST_START_TEST),
24161 (gst_structure_suite), (main):
24163 * gst/gstelement.c: (gst_element_message_full):
24164 clean up GError and debug string now that they get copied
24165 * gst/gstmessage.c: (gst_message_new_error),
24166 (gst_message_new_warning), (gst_message_parse_error),
24167 (gst_message_parse_warning):
24168 use GST_TYPE_G_ERROR for structure_new, and take copies of
24169 arguments, so that we don't mess up refcounting
24171 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24173 * check/Makefile.am:
24174 add per-test valgrind targets
24175 * check/gst-libs/gdp.c: (GST_START_TEST),
24176 (gst_data_protocol_suite), (main):
24179 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24181 * check/Makefile.am:
24182 instate more valgrindable tests
24183 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24184 (GST_START_TEST), (fakesrc_suite):
24185 * check/gst/gstpad.c: (GST_START_TEST):
24186 * check/gst/gststructure.c: (GST_START_TEST):
24188 * docs/gst/tmpl/gstminiobject.sgml:
24189 * gst/gstpad.c: (gst_pad_finalize):
24190 fix the static mutex leak
24192 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24194 * check/Makefile.am:
24195 add two more tests for valgrinding
24196 * check/gst/gstvalue.c: (GST_START_TEST):
24197 test refcount of deserialized buffer, found a leak
24198 * docs/gst/gstreamer-docs.sgml:
24199 * docs/gst/gstreamer-sections.txt:
24200 * docs/gst/gstreamer.types:
24201 * docs/gst/tmpl/gstminiobject.sgml:
24202 add miniobject to docs
24203 * gst/gstminiobject.c:
24205 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24206 (gst_string_unwrap):
24207 fix a hard-to-find invalid write for one of the tests
24208 fix a leak for deserialized buffers
24210 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24212 * docs/pwg/advanced-events.xml:
24213 * docs/pwg/advanced-request.xml:
24214 * docs/pwg/advanced-scheduling.xml:
24215 * docs/pwg/appendix-porting.xml:
24216 * docs/pwg/building-boiler.xml:
24217 * docs/pwg/intro-preface.xml:
24218 * docs/pwg/other-ntoone.xml:
24219 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24220 of example code and explanation for pad activation, loop() and
24221 getrange() functions and a bit more. Remove old comments pointing
24223 * examples/pwg/Makefile.am:
24224 Add loop/getrange examples.
24226 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24229 check for valgrind binary + some fixes
24231 valgrind suppressions for the tests
24232 * check/Makefile.am:
24233 add a valgrind: target that valgrinds the unit tests
24234 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24235 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24236 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24237 * check/gst/gstghostpad.c:
24239 * check/gst/gstdata.c:
24241 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24242 (thread_unref), (gst_mini_object_suite), (main):
24244 * gst/gst.c: (gst_deinit):
24246 add a method to clean up.
24247 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24248 (gst_system_clock_obtain):
24249 allow for disposing the system clock.
24250 * tools/gst-launch.c: (main):
24253 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24255 * docs/gst/tmpl/gstbasesrc.sgml:
24256 * docs/gst/tmpl/gstfakesrc.sgml:
24257 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24258 (gst_base_src_init), (gst_base_src_set_property),
24259 (gst_base_src_get_property), (gst_base_src_get_range),
24260 (gst_base_src_start):
24261 * gst/base/gstbasesrc.h:
24262 add num-buffers property
24263 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24264 (gst_fakesrc_init), (gst_fakesrc_set_property),
24265 (gst_fakesrc_get_property), (gst_fakesrc_create),
24266 (gst_fakesrc_start):
24267 remove num-buffers property
24269 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24271 * docs/gst/gstreamer-sections.txt:
24272 * docs/gst/tmpl/gstbasesink.sgml:
24273 * docs/gst/tmpl/gstbasesrc.sgml:
24274 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24275 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24276 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24277 (gst_base_sink_set_property), (gst_base_sink_get_property),
24278 (gst_base_sink_handle_object), (gst_base_sink_event),
24279 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24280 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24281 (gst_base_sink_loop), (gst_base_sink_deactivate),
24282 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24283 (gst_base_sink_change_state):
24284 * gst/base/gstbasesink.h:
24285 * gst/base/gstbasesrc.h:
24286 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24287 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24288 (gst_filesink_init):
24289 more macro splitting
24291 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24293 * gst/gstelement.c: (gst_element_get_bus):
24295 * tools/gst-launch.c: (check_intr), (event_loop):
24298 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24300 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24303 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24305 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24306 (gst_base_src_finalize):
24307 add finalize method and clean up properly
24308 * gst/gstpipeline.c: (gst_pipeline_dispose):
24311 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24313 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24315 add more things to check
24316 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24317 * gst/gstelement.c:
24320 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24322 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24323 (GST_START_TEST), (fakesrc_suite):
24324 * check/gst-libs/gdp.c: (GST_START_TEST):
24325 * check/gst/gst.c: (GST_START_TEST):
24326 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24327 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24328 * check/gst/gstbus.c: (GST_START_TEST):
24329 * check/gst/gstcaps.c: (GST_START_TEST):
24330 * check/gst/gstdata.c: (GST_START_TEST):
24331 * check/gst/gstelement.c: (GST_START_TEST):
24332 * check/gst/gstghostpad.c: (GST_START_TEST):
24333 * check/gst/gstiterator.c: (GST_START_TEST):
24334 * check/gst/gstmessage.c: (GST_START_TEST):
24335 * check/gst/gstobject.c: (GST_START_TEST):
24336 * check/gst/gstpad.c: (GST_START_TEST):
24337 * check/gst/gststructure.c: (GST_START_TEST):
24338 * check/gst/gstsystemclock.c: (GST_START_TEST),
24339 (gst_systemclock_suite):
24340 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24341 * check/gst/gstvalue.c: (GST_START_TEST):
24342 * check/pipelines/cleanup.c: (GST_START_TEST):
24343 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24344 * check/states/sinks.c: (GST_START_TEST):
24345 * check/gstcheck.c: (gst_check_init):
24346 * check/gstcheck.h:
24347 add debugging category
24348 use GST_START_TEST now, so we add a debug line
24350 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24352 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24353 add test for state change message on a bin
24354 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24356 * gst/gstbin.c: (gst_bin_init):
24357 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24358 * gst/gstelement.c: (gst_element_post_message),
24359 (gst_element_set_state):
24360 * gst/gstelementfactory.c: (gst_element_factory_create):
24361 * gst/gstmessage.c: (gst_message_new):
24362 * gst/gstscheduler.c:
24363 various debugging additions and cleanups
24365 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24367 * check/Makefile.am:
24368 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24370 adding tests for elements
24371 * gst/gstelement.c: (gst_element_dispose):
24373 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24375 * gst/registries/gstlibxmlregistry.c: (load_feature):
24376 plug more leaks. A simple gst_init() now is leakfree, yay.
24378 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24380 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24381 (gst_xml_registry_load):
24382 plug another memleak
24384 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24387 use GST_SET_ERROR_CFLAGS
24388 * docs/faq/cvs.xml:
24389 change to ERROR_CFLAGS
24391 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24394 make GST_ERROR_CFLAGS overridable and re-enable Werror
24395 * docs/faq/cvs.xml:
24396 add a note about error CFLAGS
24397 * docs/gst/tmpl/gstfakesrc.sgml:
24398 * gst/elements/gstfakesrc.c:
24399 comment out some unused code
24400 * gst/gst.c: (split_and_iterate):
24401 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24405 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24407 * common/Makefile.am:
24408 * common/gtk-doc.mak:
24409 * docs/gst/Makefile.am:
24410 factor out gtk-doc.mak
24412 2005-07-07 Wim Taymans <wim@fluendo.com>
24414 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24415 (gst_thread_scheduler_dispose):
24416 Unlock the STREAM_LOCK completely.
24418 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24420 * check/Makefile.am:
24421 * check/elements/.cvsignore:
24422 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24423 (START_TEST), (fakesrc_suite), (main):
24424 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24425 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24426 (gst_fakesrc_create), (gst_fakesrc_start):
24427 * gst/elements/gstfakesrc.h:
24428 adding a first element test
24430 2005-07-07 Andy Wingo <wingo@pobox.com>
24432 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24435 2005-07-07 Wim Taymans <wim@fluendo.com>
24441 2005-07-07 Wim Taymans <wim@fluendo.com>
24443 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24444 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24445 Allow subclasses to implement their own negotiation.
24447 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24449 * docs/design/part-gstbin.txt:
24450 * docs/design/part-gstpipeline.txt:
24451 Update design notes to reflect the movement of
24452 responsibility for bus handling from GstPipeline to
24455 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24458 Remove unnecessary queue2/3/4 examples.
24460 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24462 * examples/Makefile.am:
24463 * examples/helloworld/helloworld.c: (event_loop), (main):
24464 * examples/queue/queue.c: (event_loop), (main):
24465 * examples/queue2/queue2.c: (main):
24466 Update a couple of the examples to work again.
24468 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24469 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24470 Spelling corrections and extra debug.
24472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24473 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24474 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24476 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24477 (gst_pipeline_change_state):
24478 * gst/gstpipeline.h:
24479 Move the bus handler for children to the GstBin, and create a
24480 separate bus for receiving messages from children to the one the
24481 bus sends 'upwards' on.
24483 2005-07-06 Wim Taymans <wim@fluendo.com>
24486 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24487 (gst_base_sink_handle_object), (gst_base_sink_loop),
24488 (gst_base_sink_change_state):
24489 * gst/base/gstbasesink.h:
24490 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24491 (gst_base_src_init), (gst_base_src_setcaps),
24492 (gst_base_src_getcaps), (gst_base_src_loop),
24493 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24494 (gst_base_src_start), (gst_base_src_change_state):
24495 * gst/base/gstbasesrc.h:
24496 Make basesrc negotiate.
24497 Handle the case where preroll fails in basesink.
24500 2005-07-06 Wim Taymans <wim@fluendo.com>
24502 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24503 Implement the fixate function.
24504 Clean up acceptcaps.
24506 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24508 * docs/pwg/building-filterfactory.xml:
24509 * docs/pwg/pwg.xml:
24510 Remove never-written filter-factory chapter; I'll add the various
24511 base classes to part 4 ("other element types") later on.
24513 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24515 * docs/pwg/advanced-negotiation.xml:
24516 * docs/pwg/building-boiler.xml:
24517 * docs/pwg/building-pads.xml:
24518 * docs/pwg/pwg.xml:
24519 * examples/pwg/Makefile.am:
24520 Add a chapter on caps negotiation, simplify the original code
24521 samples a bit w.r.t. caps negotiation, add link to the advanced
24522 section. Add a bunch of examples showing different use cases of
24523 different types of caps negotiation. Upstream renegotiation isn't
24524 fully documented yet since nobody knows how that works.
24526 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24528 * check/gst/gstpad.c:
24529 * check/gstcheck.c:
24530 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24531 if pad has no parent, return NULL as list of internal links
24533 2005-07-05 Andy Wingo <wingo@pobox.com>
24535 * gst/elements/gstfilesrc.c:
24536 * gst/elements/gstfakesrc.c:
24537 * gst/base/gstpushsrc.c:
24538 * gst/base/gstbasesrc.h:
24539 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24541 2005-07-05 Stefan Kost <ensonic@users.sf.net>
24544 better report generation target (lcov needs a patch)
24546 2005-07-05 Andy Wingo <wingo@pobox.com>
24548 * gst/elements, testsuite: Null if we got it...
24550 2005-07-05 Wim Taymans <wim@fluendo.com>
24553 * libs/gst/dataprotocol/Makefile.am:
24554 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24555 * libs/gst/dataprotocol/dataprotocol.h:
24556 * pkgconfig/Makefile.am:
24557 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24558 * pkgconfig/gstreamer-dataprotocol.pc.in:
24559 Ported dataprotol to 0.9.
24560 Added pkgconfig files.
24562 2005-07-05 Andy Wingo <wingo@pobox.com>
24564 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24565 Default to returning TRUE for the case when tranform_caps returns
24566 a fixed caps, like for identity or volume.
24568 * check/gst/gstbus.c (pound_bus_with_messages):
24569 * check/gst/gstmessage.c (START_TEST):
24570 * check/pipelines/simple_launch_lines.c (got_handoff): Application
24571 message API change.
24573 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24574 logic weaks here: always run transform_caps, trying passthrough
24575 operation only if the original caps intersects with the transform.
24577 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24578 source and sink caps.
24580 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24581 Intersect the peer caps with the pad template before going into
24583 (gst_base_transform_transform_caps): More debugging.
24585 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24588 2005-07-04 Edward Hervey <edward@fluendo.com>
24592 (gst_pad_add_*_probe): now returns the signal id for better wrapping
24595 2005-07-04 Andy Wingo <wingo@pobox.com>
24597 * check/gst/gstpad.c: Only set explicit caps on pads.
24599 2005-07-01 Andy Wingo <wingo@pobox.com>
24601 * tests/network-clock.scm: Commentary update.
24603 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24604 Didn't really make sense, not implementable with basetransform,
24606 (gst_identity_transform): Unref inbuf via make_writable. Feeble
24607 attempt at implementing the sync property, needs an unlock method.
24609 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24610 New func, by default returns the same caps (the identity
24612 (gst_base_transform_getcaps): Uses transform_caps to return
24613 something sensible.
24614 (gst_base_transform_setcaps): Complicated logic to get caps on
24615 both pads, even if they are different, and to call set_caps once
24616 for every time both pads get their caps set.
24617 (gst_base_transform_handle_buffer): Give the ref to the transform
24618 function. Allows in-place modification of the buffer.
24620 * gst/base/gstbasetransform.h (transform_caps): New class method.
24621 Given caps on one side, what can I do on the other.
24622 (set_caps): Take two caps, one for each side of the element.
24625 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24626 caps in place. This is safe because we can check the mutability of
24627 the caps, and a good idea because fixate functions are just called
24628 as a matter of last resort. (Not actually implemented.)
24629 (gst_pad_set_caps): If the caps we're setting is actually the same
24630 as the existing pad caps, just update the pointer without calling
24631 setcaps. Assert that caps is either NULL or fixed, as per the
24634 * gst/gstghostpad.c: Update for fixate changes.
24636 2005-07-02 Andy Wingo <wingo@pobox.com>
24639 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24640 two refcounts makes it immutable, which is enough. Doc more.
24642 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
24644 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24645 Put the mini_object into GValue as a mini_object,
24646 not a gpointer, since that's how we declared
24649 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24651 * examples/pwg/Makefile.am:
24652 Fix buildbot again.
24654 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24656 * docs/pwg/building-testapp.xml:
24658 * examples/pwg/Makefile.am:
24661 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24664 * examples/Makefile.am:
24665 * examples/pwg/Makefile.am:
24666 * examples/pwg/extract.pl:
24667 Enable building the PWG examples.
24668 * docs/pwg/advanced-interfaces.xml:
24669 Add URI interface stub.
24670 * docs/pwg/advanced-types.xml:
24671 * docs/pwg/other-autoplugger.xml:
24672 * docs/pwg/appendix-porting.xml:
24673 * docs/pwg/pwg.xml:
24674 Add porting guide (mostly stubs), remove autoplugging (see ADM).
24675 * docs/pwg/building-boiler.xml:
24676 * docs/pwg/building-chainfn.xml:
24677 * docs/pwg/building-pads.xml:
24678 * docs/pwg/building-props.xml:
24679 * docs/pwg/building-state.xml:
24680 * docs/pwg/building-testapp.xml:
24681 Update the building-*.xml parts for 0.9 changes. All examples
24682 code blocks compile in examples/pwg/*.
24684 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24686 * docs/manual/advanced-autoplugging.xml:
24687 * docs/manual/appendix-checklist.xml:
24688 * docs/manual/appendix-integration.xml:
24689 * docs/manual/highlevel-components.xml:
24690 Fix playbin/decodebin examples, update docs a bit, mention bus
24691 instead of signals in various places, mention kmplayer and
24692 kaffeine since they have a working GStreamer backend in the KDE
24695 2005-06-30 Wim Taymans <wim@fluendo.com>
24698 * docs/design/draft-ghostpads.txt:
24699 * docs/design/draft-push-pull.txt:
24700 * docs/design/draft-query.txt:
24701 * docs/design/part-TODO.txt:
24702 * docs/design/part-query.txt:
24703 Added CHANGES-0.9 doc, updated status of other docs.
24708 2005-06-30 Wim Taymans <wim@fluendo.com>
24710 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24711 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24712 (gst_base_sink_change_state):
24713 * gst/base/gstbasesink.h:
24714 Some tweaks, only EOS and a buffer complete a preroll.
24716 2005-06-30 Andy Wingo <wingo@pobox.com>
24718 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24719 activate_push down to the internal pad as well.
24721 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
24723 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24725 * gst/gsttaginterface.c:
24726 Some documentation fixes (#307394 and #307397).
24728 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
24730 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24732 * gst/gstvalue.c: (gst_value_intersect_list):
24733 Fix memleak (#309125).
24735 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24737 * docs/manual/advanced-dataaccess.xml:
24738 Fix fakesrc example to compile; doesn't work, bug somewhere...?
24739 * docs/manual/basics-pads.xml:
24740 Add reference for filtered caps to above chapter.
24742 2005-06-30 Wim Taymans <wim@fluendo.com>
24744 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24745 (gst_bin_change_state):
24747 Lame attempt at making the state change function a bit
24750 2005-06-30 Wim Taymans <wim@fluendo.com>
24752 * docs/design/part-clocks.txt:
24753 * docs/design/part-element-sink.txt:
24754 * docs/design/part-events.txt:
24755 * docs/design/part-preroll.txt:
24756 * docs/design/part-states.txt:
24757 Some more tweeks and additions to the docs.
24759 2005-06-30 Wim Taymans <wim@fluendo.com>
24761 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24762 (default_have_data), (gst_pad_class_init), (gst_pad_init),
24763 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24764 (gst_pad_check_pull_range), (gst_pad_get_range),
24765 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24767 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24768 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24769 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24770 (gst_pad_remove_buffer_probe):
24771 Removed atomic operations, use existing LOCK.
24772 Move exception handling out of main code path.
24774 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24776 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24777 (silly_return_true_function), (gst_pad_class_init),
24778 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24779 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24780 (gst_pad_send_event):
24781 Fix accumulator, add default value by using _emitv() instead
24782 of _emit() for signal emission.
24784 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24786 * docs/manual/advanced-dataaccess.xml:
24787 * examples/manual/Makefile.am:
24789 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24792 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
24794 * gst/elements/gstfilesink.c: (gst_filesink_render):
24795 Simplify code so that we don't have to handle short
24796 writes and return GST_FLOW_ERROR if an error occured.
24798 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24800 * docs/gst/gstreamer-docs.sgml:
24801 Remove probes more.
24803 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24805 * docs/gst/gstreamer-sections.txt:
24806 * docs/gst/tmpl/gstpad.sgml:
24807 * docs/gst/tmpl/gstprobe.sgml:
24809 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24810 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24811 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24812 (gst_pad_push_event), (gst_pad_send_event):
24814 * gst/gstutils.c: (gst_pad_add_data_probe),
24815 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24816 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24817 (gst_pad_remove_buffer_probe):
24819 Remove old probes, add new g-signal-based probes and some utility
24822 2005-06-29 Edward Hervey <edward@fluendo.com>
24824 * gst/gstelementfactory.c:
24827 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24828 the definition to the header file.
24830 2005-06-29 Andy Wingo <wingo@pobox.com>
24832 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24833 plugins from the source directory.
24835 2005-06-29 Wim Taymans <wim@fluendo.com>
24837 * docs/gst/tmpl/gstbuffer.sgml:
24838 * docs/gst/tmpl/gstclock.sgml:
24839 Some fixings for blantently wrong text.
24841 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24843 * check/Makefile.am:
24844 * gst/gst.c: (add_path_func), (init_pre):
24845 * gst/gstregistry.c: (gst_registry_add_path):
24846 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24847 only scan the GST_PLUGIN_PATH locations, and not add
24850 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24852 * docs/gst/gstreamer-sections.txt:
24853 * docs/gst/tmpl/gstbasesrc.sgml:
24854 * gst/gstelement.c:
24855 * gst/gstelement.h:
24860 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24862 * docs/manual/advanced-autoplugging.xml:
24863 Fix autoplugging example.
24865 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24867 * docs/manual/advanced-autoplugging.xml:
24868 * docs/manual/mime-world.fig:
24869 Try to get autoplugging working, fix type detection. Fix text
24870 in hello-world image.
24872 2005-06-29 Wim Taymans <wim@fluendo.com>
24874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24875 (gst_base_sink_change_state):
24879 map SIGNAL and BROADCAST to the right function.
24882 Remove redundant braces.
24884 * gst/gstpad.c: (gst_pad_set_caps):
24885 Don't call setcaps function when reseting caps to NULL.
24887 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24888 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24889 (gst_system_clock_id_unschedule):
24890 Use BROADCAST as this is what we do.
24892 2005-06-29 Wim Taymans <wim@fluendo.com>
24894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24895 We are actually prerolling before commiting the state
24898 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24900 * docs/manual/advanced-clocks.xml:
24901 * docs/manual/advanced-interfaces.xml:
24902 * docs/manual/advanced-metadata.xml:
24903 * docs/manual/advanced-position.xml:
24904 * docs/manual/advanced-schedulers.xml:
24905 * docs/manual/advanced-threads.xml:
24906 * docs/manual/appendix-porting.xml:
24907 * docs/manual/basics-bins.xml:
24908 * docs/manual/basics-bus.xml:
24909 * docs/manual/basics-elements.xml:
24910 * docs/manual/basics-helloworld.xml:
24911 * docs/manual/basics-pads.xml:
24912 * docs/manual/highlevel-components.xml:
24913 * docs/manual/manual.xml:
24914 * docs/manual/thread.fig:
24915 Update (until threads/scheduling) Application Development Manual;
24916 remove GstThread, add GstBus, add simple porting checklist, add
24917 documentation for tag writing, clocks, make all examples until this
24918 part compile and run.
24919 * examples/manual/Makefile.am:
24920 Update from changes to Application Development Manual; add bus
24921 example, remove thread example.
24923 2005-06-28 Wim Taymans <wim@fluendo.com>
24925 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24926 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24927 (gst_bus_source_dispatch):
24928 Add debugging messages.
24929 Make internal methods static.
24930 Handle the case where the bus is flushed in the handler.
24932 * gst/gstelement.c: (gst_element_get_bus):
24933 Fix refcount in _get_bus();
24935 * gst/gstpipeline.c: (gst_pipeline_change_state),
24936 (gst_pipeline_get_clock_func):
24937 Clock refcounting fixes.
24938 Handle the case where preroll timed out more gracefully.
24940 * gst/gstsystemclock.c: (gst_system_clock_dispose):
24941 Clean up the internal thread in dispose. This is needed
24942 for subclasses that actually get disposed.
24944 * gst/schedulers/threadscheduler.c:
24945 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24946 (gst_thread_scheduler_dispose):
24947 Free thread pool in dispose.
24949 2005-06-28 Andy Wingo <wingo@pobox.com>
24951 * tests/network-clock-utils.scm (debug, print-event): New utils.
24953 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24954 (*packet-loss*): Unified loss probability.
24955 (network-time): Report out-of-band events.
24957 * tests/plot-data: Add support for out-of-band events. Hack it
24958 into this script instead of passing it down the pipe; should fix
24961 2005-06-28 Wim Taymans <wim@fluendo.com>
24963 * docs/gst/gstreamer.types:
24964 * docs/gst/tmpl/gstbasesrc.sgml:
24965 * docs/gst/tmpl/gstpad.sgml:
24968 2005-06-28 Wim Taymans <wim@fluendo.com>
24970 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24971 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24972 (gst_proxy_pad_do_fixatecaps):
24973 Correctly proxy the check_pull_range function.
24975 2005-06-28 Andy Wingo <wingo@pobox.com>
24977 * tests/network-clock.scm: Removed need for slib.
24979 2005-06-28 Wim Taymans <wim@fluendo.com>
24981 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24982 (gst_basesink_preroll_queue_flush):
24983 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24984 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24985 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24986 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24987 (gst_proxy_pad_set_property):
24990 * gst/gstqueue.c: (gst_queue_init):
24991 The deprecated pad loop function is removed now.
24993 2005-06-28 Andy Wingo <wingo@pobox.com>
24995 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24996 New parameters, simulate network packet loss.
24998 * tests/network-clock-utils.scm: Initialize the RNG.
25000 2005-06-28 Wim Taymans <wim@fluendo.com>
25002 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25003 (gst_basesink_event), (gst_basesink_deactivate):
25004 Flushing the preroll queue always needs to unlock the waiters.
25006 2005-06-28 Edward Hervey <edward@fluendo.com>
25008 * gst/gstpipeline.c: (gst_pipeline_send_event):
25009 Wheen a seek was successful on a pipeline, set the stream_time to the
25010 seek offset in order to have a synchronized stream_time.
25012 2005-06-28 Wim Taymans <wim@fluendo.com>
25014 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25015 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25016 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25017 (gst_proxy_pad_do_fixatecaps):
25018 Call wrapper function instead of just calling the function
25019 pointers. This takes care of any locking and whatmore.
25021 2005-06-28 Wim Taymans <wim@fluendo.com>
25023 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25024 (gst_pad_pull_range):
25026 CONNECTED -> LINKED.
25028 2005-06-28 Andy Wingo <wingo@pobox.com>
25030 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25031 source-munging commit!!!
25033 * gst/gstobject.c (gst_object_unref, gst_object_ref)
25034 (gst_object_sink): Take gpointer arguments, not GstObject --
25035 avoids casts. Like GLib.
25037 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25040 2005-06-27 Andy Wingo <wingo@pobox.com>
25042 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25045 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25046 returns a sorted copy of the trace list.
25047 (gst_alloc_trace_print_live): New API, only prints traces with
25048 live objects. Sort the list.
25049 (gst_alloc_trace_print_all): Sort the list.
25050 (gst_alloc_trace_print): Align columns.
25052 * gst/elements/gstttypefindelement.c:
25053 * gst/elements/gsttee.c:
25054 * gst/base/gstbasesrc.c:
25055 * gst/base/gstbasesink.c:
25056 * gst/base/gstbasetransform.c:
25057 * gst/gstqueue.c: Adapt for pad activation changes.
25059 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25061 (gst_pipeline_dispose): Drop ref on sched.
25063 * gst/gstpad.c (gst_pad_init): Set the default activate func.
25064 (gst_pad_activate_default): Push mode by default.
25065 (pre_activate_switch, post_activate_switch): New stubs, things to
25066 do before and after switching activation modes on pads.
25067 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25068 the pad's activate function to choose which mode to activate.
25069 Shortcut on deactivation and call the right function directly.
25070 (gst_pad_activate_pull): New API, (de)activates a pad in pull
25072 (gst_pad_activate_push): New API, same for push mode.
25073 (gst_pad_set_activate_function)
25074 (gst_pad_set_activatepull_function)
25075 (gst_pad_set_activatepush_function): Setters for new API.
25077 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25078 Trace all miniobjects.
25079 (gst_mini_object_make_writable): Unref the arg if we copy, like
25080 gst_caps_make_writable.
25082 * gst/gstmessage.c (_gst_message_initialize): No trace init.
25084 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
25085 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25086 Adapt for new pad API.
25088 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25090 * gst/gstelement.h:
25091 * gst/gstelement.c (gst_element_iterate_src_pads)
25092 (gst_element_iterate_sink_pads): New API functions.
25094 * gst/gstelement.c (iterator_fold_with_resync): New utility,
25095 should fold into gstiterator.c in some form.
25096 (gst_element_pads_activate): Simplified via use of fold and
25097 delegation of decisions to gstpad->activate.
25099 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25102 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25103 class once in init, like gstmessage. Didn't run into this issue
25104 but it seems correct. Don't initialize a trace, gstminiobject does
25107 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25108 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25110 (assert_live_count): New util function, uses alloc traces to check
25113 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25114 To be modified when unlink drops the internal pad.
25116 2005-06-27 Wim Taymans <wim@fluendo.com>
25118 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25119 (gst_bin_change_state):
25120 Cleanup the get_state() function a little, make sure it
25121 iterates the same set of elements.
25122 Added stub iterate_state_order().
25124 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
25126 * docs/gst/gstreamer-docs.sgml:
25127 * docs/gst/gstreamer-sections.txt:
25128 * docs/gst/gstreamer.types:
25129 * docs/gst/tmpl/gstbasesink.sgml:
25130 * docs/gst/tmpl/gstbasesrc.sgml:
25131 * docs/gst/tmpl/gstbasetransform.sgml:
25132 * docs/gst/tmpl/gstelement.sgml:
25133 * docs/gst/tmpl/gstiterator.sgml:
25134 * gst/base/gstbasesrc.c:
25135 * gst/base/gstbasesrc.h:
25136 * gst/base/gstbasetransform.h:
25137 * gst/gstelement.c:
25138 * gst/gstiterator.h:
25139 adding basetransform and iterator docs
25141 2005-06-27 Andy Wingo <wingo@pobox.com>
25143 * docs/design/part-activation.txt: Notes on how activation should
25144 work -- not quite implemented yet.
25146 2005-06-25 Wim Taymans <wim@fluendo.com>
25148 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25149 At least get the chain function correct, needs more
25152 2005-06-25 Wim Taymans <wim@fluendo.com>
25154 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25155 (gst_basesink_handle_object), (gst_basesink_event),
25156 (gst_basesink_do_sync), (gst_basesink_handle_event),
25157 (gst_basesink_change_state):
25159 Right, two problems here: ghostpads don't take locks and
25160 glib _rec_mutex_lock_full() with depth==0 still locks.
25161 Catch illegal locking and g_warn them.
25163 2005-06-25 Wim Taymans <wim@fluendo.com>
25165 * check/states/sinks.c: (START_TEST), (gst_object_suite):
25166 Have to check for completion now...
25168 2005-06-25 Wim Taymans <wim@fluendo.com>
25170 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25171 (gst_basesink_handle_object), (gst_basesink_event),
25172 (gst_basesink_do_sync), (gst_basesink_handle_event),
25173 (gst_basesink_change_state):
25175 Unlock STREAM_LOCK whatever the recursion was.
25177 2005-06-25 Wim Taymans <wim@fluendo.com>
25179 * gst/base/gstbasesink.c: (gst_basesink_set_property),
25180 (gst_basesink_preroll_queue_empty),
25181 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25182 (gst_basesink_event), (gst_basesink_do_sync),
25183 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25184 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25185 (gst_basesink_change_state):
25186 Reworked the base sink, handle event and buffer serialisation
25187 correctly and removed possible deadlock.
25188 Handle EOS correctly.
25190 2005-06-25 Wim Taymans <wim@fluendo.com>
25192 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25193 (gst_pipeline_change_state):
25194 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25195 Allow elements to post EOS in the state change function.
25196 Fix up -launch, make it exit the poll loop when the
25197 pipeline actually changed state.
25198 Fix up warning parsing in -launch.
25200 2005-06-25 Wim Taymans <wim@fluendo.com>
25202 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25203 (gst_tee_sink_activate):
25204 Core takes STREAM_LOCK for us now.
25206 2005-06-25 Wim Taymans <wim@fluendo.com>
25208 * gst/gstelement.c: (gst_element_get_state_func),
25209 (gst_element_set_state):
25210 * gst/gstelement.h:
25211 * gst/gstmessage.c: (gst_message_parse_error),
25212 (gst_message_parse_warning):
25213 Keep track of current target state while performing a state
25214 change so that subclasses can do something interesting.
25215 Fix parsing of warning/error messages when GError is NULL.
25217 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25219 * docs/gst/Makefile.am:
25220 * docs/gst/gstreamer-docs.sgml:
25221 * docs/gst/gstreamer-sections.txt:
25222 * docs/gst/gstreamer.types:
25223 * docs/gst/tmpl/gstbasesink.sgml:
25224 * docs/gst/tmpl/gstbasesrc.sgml:
25225 * docs/gst/tmpl/gstbin.sgml:
25226 * docs/gst/tmpl/gstcompat.sgml:
25227 * docs/gst/tmpl/gstfakesink.sgml:
25228 * docs/gst/tmpl/gstfakesrc.sgml:
25229 * docs/gst/tmpl/gstfilesink.sgml:
25230 * docs/gst/tmpl/gstfilesrc.sgml:
25231 * docs/gst/tmpl/gstindex.sgml:
25232 * docs/manual/appendix-quotes.xml:
25233 * gst/base/gstbasesrc.h:
25234 * gst/elements/gstfakesrc.h:
25235 * gst/gstmessage.h:
25236 start pulling in base classes and elements in our docs
25238 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25240 * docs/gst/Makefile.am:
25241 * docs/libs/Makefile.am:
25242 fixed make distcheck with gtk-doc 1.3
25244 2005-06-23 Wim Taymans <wim@fluendo.com>
25246 * gst/gstelement.c: (gst_element_get_state_func),
25247 (gst_element_set_state), (gst_element_change_state):
25248 When the state did not change, also report NO_PREROLL
25251 2005-06-23 Wim Taymans <wim@fluendo.com>
25253 * gst/gstpad.c: (gst_pad_event_default):
25254 * gst/gstqueue.c: (gst_queue_loop):
25255 No unsafe task pausing please.
25257 2005-06-23 Wim Taymans <wim@fluendo.com>
25259 * gst/schedulers/threadscheduler.c:
25260 (gst_thread_scheduler_task_start),
25261 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25262 Ref the task before pushing it on the threadpool. This
25263 makes sure that we have a ref when the threadfunction is
25266 2005-06-23 Andy Wingo <wingo@pobox.com>
25268 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25269 offset is greater than the file's size.
25271 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25272 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25273 * gst/gstobject.c (gst_object_class_init): Make the class lock
25274 recursive. Wim won't let me drop deep_notify. Decodebin works
25275 again, whoopdy doo.
25277 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25278 internal pad, and hacks accordingly. Doesn't do it on the target
25279 pad because we change its caps. Probably catches all cases of
25281 (gst_ghost_pad_set_property): Connect to notify::caps as
25284 * tests/network-clock.scm (plot-simulation): Pipe data to the
25285 elite python skript.
25287 * tests/network-clock-utils.scm (define-parameter): New macro,
25288 defines a parameter that can be set via the command line.
25289 (set-parameter!, parse-parameter-arguments): Command line args
25292 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25295 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25297 * gst/elements/gsttypefindelement.c:
25298 (gst_type_find_element_handle_event):
25299 Don't restart typefinding on a discont.
25300 * gst/gstelement.c: (gst_element_set_state):
25301 Debug spelling fix.
25302 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25303 Allow changing mode of an active pad.
25304 Debug output fixes.
25305 * gst/registries/gstlibxmlregistry.c: (load_feature):
25306 Don't cast a static pad template to a normal pad template.
25308 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25310 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25311 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25312 remove gst_strtoll completely, since it didn't actually do
25313 anything more than what g_ascii_strtoull already does.
25314 check for range errors when deserializing
25315 do a cast for the unsigned cases; but further fixing needs
25316 a decision on what the interpretation of "(int)" and
25317 deserialization should be for values that fall outside the
25318 type's boundaries (ie, refuse, or interpret as casting)
25320 2005-06-23 Wim Taymans <wim@fluendo.com>
25322 * check/Makefile.am:
25323 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25324 * docs/design/part-live-source.txt:
25325 * docs/design/part-states.txt:
25326 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25327 (gst_basesrc_set_live), (gst_basesrc_is_live),
25328 (gst_basesrc_get_range), (gst_basesrc_activate),
25329 (gst_basesrc_change_state):
25330 * gst/base/gstbasesrc.h:
25331 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25332 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25333 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25334 * gst/gstelement.c: (gst_element_get_state_func),
25335 (gst_element_set_state):
25336 * gst/gstelement.h:
25338 * tools/gst-launch.c: (event_loop), (main):
25339 Added support for live sources and other elements that
25341 Updated design docs, added live-source design doc.
25342 Implemented live source functionality in basesrc
25343 Fix error condition in _bin_get_state()
25344 Implement live source handling in -launch.
25345 Added check for live sources.
25346 Fixed case in GstBin where elements were changed state
25350 2005-06-23 Andy Wingo <wingo@pobox.com>
25352 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25353 borken refcounting.
25355 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25356 gst_caps_replace takes care of this for us.
25358 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25359 gst_pad_set_caps on the target, not just its setcaps() function.
25361 * tests/network-clock.scm:
25362 * tests/network-clock-utils.scm: A network clock simulator.
25363 Something of an algorithmic testbed before doing something in C.
25365 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25367 * check/Makefile.am:
25368 * check/gst/capslist.h:
25369 copy over from 0.8, and add two with bitmasks specified with
25371 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25372 add test to parse everything from capslist.h
25373 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25375 add test for structure deserialization
25376 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25377 add tests for deserialization of strings to int types
25378 * gst/gststructure.c: (gst_structure_nth_field_name):
25379 * gst/gststructure.h:
25380 add a way to get the name of a field referenced by index
25381 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25382 instead of checking if the resulting long long lies between
25383 min and max, we check if the long long would fit into
25384 a number of bytes for the final type.
25385 This fixes cases where a string represents 2^32 - 1, which
25386 when cast to int would be the (valid) -1, but is bigger than
25389 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25391 * gst/parse/grammar.y:
25392 add a log line for type deserialization
25394 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25396 * check/gst/gstvalue.c: (START_TEST):
25397 * gst/gstvalue.c: (gst_value_deserialize):
25398 return long long, not int, so gint64 deserialization actually
25399 works. Is there any flag that makes the compiler check this ?
25402 2005-06-22 Wim Taymans <wim@fluendo.com>
25405 Added convenience macros for setting buffers in GValue.
25407 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25409 * check/gst/.cvsignore:
25410 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25411 add a test deserializing int64, and comment part out because
25414 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25416 * check/Makefile.am:
25417 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25418 * testsuite/Makefile.am:
25419 * testsuite/caps/Makefile.am:
25420 * testsuite/caps/value_serialize.c:
25421 * testsuite/test_gst_init.c:
25422 move a value_serialize test over
25424 2005-06-20 Wim Taymans <wim@fluendo.com>
25429 * gst/gstvalue.c: (gst_value_compare_buffer),
25430 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25431 (gst_value_compare_flags), (gst_value_serialize_flags),
25432 (gst_value_deserialize_flags), (_gst_value_initialize):
25433 Fix serialisation of buffers, they are not boxed types anymore
25435 2005-06-20 Wim Taymans <wim@fluendo.com>
25437 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25438 Testcase to show error in buffer-on-caps serialisation.
25440 2005-06-20 Andy Wingo <wingo@pobox.com>
25442 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25443 will be adding to later.
25445 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25446 if its socks fill with rocks.
25447 (gst_system_clock_obtain): Set the name on object construction.
25448 Avoid double-checked locking.
25450 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25452 * gst/gsturi.c: (gst_element_make_from_uri):
25453 Fix potential endless loop.
25455 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25457 * check/Makefile.am:
25459 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25461 move over from testsuite dir and clean up
25464 * testsuite/Makefile.am:
25465 * testsuite/tags/.cvsignore:
25466 * testsuite/tags/Makefile.am:
25467 * testsuite/tags/merge.c:
25468 remove testsuite/tags
25470 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25472 * docs/gst/gstreamer-sections.txt:
25473 * docs/gst/tmpl/gstenumtypes.sgml:
25474 * win32/gstenumtypes.c:
25475 clean up documentation build a little
25477 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25479 * check/gstcheck.h:
25480 add macros for checking refcounts on objects and caps
25481 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25482 add some more unit tests
25483 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25484 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25485 fix leaked refcounts (I hope :)) so unittest works
25489 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25491 * configure.ac: back to HEAD
25493 === release 0.9.1 ===
25495 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25501 2005-06-17 Andy Wingo <wingo@pobox.com>
25503 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25504 assert; it's always possible that the pad gets deactivated in
25505 between the checks in gstpad.c and the implementation. Rely on
25506 finish_preroll() to return a FLUSHING or similar instead of on the
25509 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25510 clock and post an EOS message if we come out of finish_preroll in
25513 2005-06-16 David Schleef <ds@schleef.org>
25515 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25516 (gst_capsfilter_set_property): Allow NULL as possible value
25517 for filter_caps property, indicating GST_CAPS_ANY.
25519 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25521 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25523 * gst/schedulers/Makefile.am:
25525 * gstreamer.spec.in:
25528 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25530 * gstreamer.spec.in:
25533 2005-06-08 Andy Wingo <wingo@pobox.com>
25535 * gst/gstutils.c: RPAD fixes all around.
25536 (gst_element_link_pads): Refcounting fixes.
25538 * tools/gst-inspect.c:
25539 * tools/gst-xmlinspect.c:
25541 * gst/base/gsttypefindhelper.c:
25542 * gst/base/gstbasesink.c:
25543 * gst/gstqueue.c: RPAD fixes.
25545 * gst/gstghostpad.h:
25546 * gst/gstghostpad.c: New ghost pad implementation as full proxy
25547 pads. The tricky thing is they provide both source and sink
25548 interfaces, since they proxy the internal pad for the external
25549 pad, and vice versa. Implement with lower-level ProxyPad objects,
25550 with the interior proxy pad as a child of the exterior ghost pad.
25551 Should write a doc on this.
25553 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25554 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25557 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25558 pads are real pads. No ghost pads in this file. Not documenting
25559 the myriad s/RPAD/PAD/ and REALIZE fixes.
25560 (gst_pad_class_init): Add properties for "direction" and
25561 "template". Both are construct-only, so they can't change during
25562 the life of the pad. Fixes properly deriving from GstPad.
25563 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25564 derived objects, just set properties when creating the objects via
25566 (gst_pad_get_parent): Implement as a function, return NULL if the
25567 parent is not an element.
25568 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25569 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25571 * gst/gstobject.c (gst_object_class_init): Make name a construct
25572 property. Don't set it in the object init.
25574 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25575 with UNKNOWN direction.
25576 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25577 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25578 (gst_element_remove_pad): Remove ghost-pad special cases.
25579 (gst_element_pads_activate): Remove rpad cruft.
25581 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25582 catch the pad's-parent-not-an-element case.
25584 * gst/gst.h: Include gstghostpad.h.
25586 * gst/gst.c (init_post): No more real, ghost pads.
25588 * gst/Makefile.am: Add gstghostpad.[ch].
25590 * check/Makefile.am:
25591 * check/gst/gstbin.c:
25592 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25593 into a bin creates ghost pads, and that the refcounts are right.
25594 Partly moved from gstbin.c.
25596 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25598 * check/gst-libs/.cvsignore:
25599 * check/gst/.cvsignore:
25600 * check/pipelines/.cvsignore:
25602 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25603 (START_TEST), (cleanup_suite), (main):
25604 add some tests related to cleanup after running pipelines
25606 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25608 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25609 add a testsuite for GstBuffer
25611 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
25613 * gst/gstminiobject.h:
25614 add defines for accessing the refcount
25616 2005-06-03 Stefan Kost <ensonic@users.sf.net>
25618 * Makefile.am: added support for html unit test coverage reports
25620 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
25622 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25623 Free existing caps if the capsfilter changes. Add a FIXME about
25624 setting those caps on the pads.
25626 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25627 Before adding a ghost pad to a parent bin, check that there isn't
25628 already one for the element on the bin. Prevents infinite recursion
25629 when using decodebin in parse pipelines. Andy says he'll rewrite the
25630 way this works anyway, so ignore the hack.
25632 2005-06-02 Andy Wingo <wingo@pobox.com>
25634 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25635 file size, pass it on to the type find helper.
25637 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25638 segment_start and segment_end properly according to the seek
25639 method. Segment_end is still a bit flaky because offset can be
25640 negative for CUR and END cases, but it takes -1 as an "unset"
25643 2005-06-02 Wim Taymans <wim@fluendo.com>
25645 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25646 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25647 (gst_basesink_activate):
25648 * gst/base/gstbasesink.h:
25649 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25650 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25651 (gst_pad_query), (gst_pad_start_task):
25653 * gst/gstqueue.c: (gst_queue_bufferalloc),
25654 (gst_queue_handle_sink_event), (gst_queue_chain):
25655 Bufferalloc: return GstFlowReturn to more accuratly report
25656 why allocation failed.
25658 2005-06-02 Wim Taymans <wim@fluendo.com>
25660 * gst/gstpipeline.c: (gst_pipeline_send_event):
25661 Take snapshot of state without blocking.
25663 2005-06-02 Wim Taymans <wim@fluendo.com>
25665 * docs/design/part-TODO.txt:
25666 * docs/design/part-caps.txt:
25667 * docs/design/part-clocks.txt:
25668 * docs/design/part-negotiation.txt:
25669 * docs/design/part-preroll.txt:
25672 2005-05-30 Wim Taymans <wim@fluendo.com>
25674 * gst/elements/gstidentity.c: (gst_identity_event),
25675 (gst_identity_transform), (gst_identity_get_property):
25676 Protect last_message property as it is accessed from
25679 2005-05-30 Wim Taymans <wim@fluendo.com>
25681 * gst/gstelement.c: (gst_element_init),
25682 (gst_element_pads_activate), (gst_element_change_state):
25683 Slicker pad activation code.
25685 2005-05-30 Wim Taymans <wim@fluendo.com>
25688 * gst/gstelement.h:
25689 * gst/gstelementfactory.h:
25691 Move elementfactory methods to separate .h file.
25693 2005-05-30 Wim Taymans <wim@fluendo.com>
25695 * docs/design/part-overview.txt:
25696 * gst/gstsystemclock.h:
25697 Small typo fixes, doc updates.
25699 2005-05-30 Wim Taymans <wim@fluendo.com>
25701 * gst/gst.c: (gst_init_get_popt_table), (init_post),
25702 (init_popt_callback):
25703 Remove cpu-opt flag.
25705 2005-05-30 Wim Taymans <wim@fluendo.com>
25707 * gst/gstbuffer.c: (gst_subbuffer_finalize),
25708 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25710 Avoid typechecking in places where not needed.
25711 Added accessor for malloc_data.
25713 2005-05-30 Wim Taymans <wim@fluendo.com>
25715 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25716 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25717 (gst_pad_configure_sink), (gst_pad_configure_src),
25718 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25719 (gst_pad_start_task):
25720 Propagate errors from _set_caps() in configure_src/sink
25721 functions instead of returning TRUE.
25722 FLUSH events can travel up and downstream
25725 2005-05-30 Wim Taymans <wim@fluendo.com>
25727 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25728 (gst_basesink_activate):
25729 Handle EOS in preroll.
25731 2005-05-30 Wim Taymans <wim@fluendo.com>
25733 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25734 (gst_queue_loop), (gst_queue_handle_src_event):
25735 Remove old pieces of code
25736 Flushing the queue in an upstream event is a very bad idea.
25738 2005-05-26 Andy Wingo <wingo@pobox.com>
25740 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25741 gst_value_set_mini_object so as to add a ref on the object (which
25742 will be removed when the value is unset).
25744 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25745 arg type in ::handoff.
25747 * gst/gstelement.c (gst_element_change_state): Also deactivate
25748 pads in READY->NULL, just in case the element didn't make it to
25749 PAUSED. Wingo tested, Wim approved.
25751 2005-05-26 Wim Taymans <wim@fluendo.com>
25753 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25754 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25755 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25756 A flushing pad cannot be used to alloc_buffer from.
25758 2005-05-26 Wim Taymans <wim@fluendo.com>
25760 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25761 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25762 (gst_bus_source_dispatch), (gst_bus_source_finalize),
25763 (gst_bus_create_watch), (gst_bus_add_watch_full):
25765 Implement a real GSource and use g_main_context_wakeup() to
25766 signal new messages instead of the socketpair.
25768 2005-05-25 Wim Taymans <wim@fluendo.com>
25770 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25771 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25772 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25773 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25774 (gst_pad_send_event), (gst_pad_start_task):
25775 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25776 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25777 (gst_queue_sink_activate), (gst_queue_src_activate),
25778 (gst_queue_change_state):
25780 Fix state changes for non sinks. We now change sinks, then elements
25781 with unconnected srcpads, then the rest.
25782 More efficient queue unlocking in flush and state changes.
25783 Set the pad activate mode even if it does not have an activate
25786 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25788 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25789 Don't go in pull mode for non-seekable sources.
25790 * gst/elements/gsttypefindelement.h:
25791 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25792 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25793 (free_entry), (stop_typefinding),
25794 (gst_type_find_element_handle_event), (find_peek),
25795 (gst_type_find_element_chain), (do_pull_typefind),
25796 (gst_type_find_element_change_state):
25797 Allow typefinding (w/o seeking) in push-mode, simplified version
25798 of what was in 0.8.
25799 * gst/gstutils.c: (gst_buffer_join):
25801 gst_buffer_join() from 0.8.
25803 2005-05-25 Wim Taymans <wim@fluendo.com>
25805 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25806 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25807 (gst_pad_send_event), (gst_pad_start_task):
25808 Disable attempt at mode switching until it is figured out.
25810 2005-05-25 Wim Taymans <wim@fluendo.com>
25812 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25813 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25814 (gst_basesink_finish_preroll), (gst_basesink_chain),
25815 (gst_basesink_loop), (gst_basesink_activate),
25816 (gst_basesink_change_state):
25817 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25818 (gst_basesrc_get_range), (gst_basesrc_loop),
25819 (gst_basesrc_activate):
25820 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25821 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25822 (gst_real_pad_init), (gst_real_pad_set_property),
25823 (gst_real_pad_get_property), (gst_pad_set_active),
25824 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25825 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25826 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25827 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25828 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25829 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25830 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25831 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25832 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25833 (gst_pad_stop_task):
25835 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25836 (gst_queue_loop), (gst_queue_src_activate):
25837 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25838 (gst_task_get_state):
25840 * gst/schedulers/threadscheduler.c:
25841 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25842 Implement gst_pad_pause/start/stop_task(), take STREAM lock
25844 Remove ACTIVE pad flag, use FLUSHING everywhere
25845 Added _pad_chain(), _pad_get_range() to call chain/getrange
25847 Add locks around IS_FLUSHING when reading.
25848 Take STREAM lock in chain(), get_range() functions so plugins
25849 don't need to take it anymore.
25853 2005-05-25 Wim Taymans <wim@fluendo.com>
25855 * tools/gst-launch.c: (event_loop):
25856 Unref message after using its contents instead of
25859 2005-05-24 Wim Taymans <wim@fluendo.com>
25861 * docs/design/draft-ghostpads.txt:
25862 * docs/design/draft-push-pull.txt:
25863 * docs/design/draft-query.txt:
25864 * docs/design/part-overview.txt:
25865 Docs updates, added general overview doc.
25867 2005-05-21 David Schleef <ds@schleef.org>
25869 * docs/gst/tmpl/old/GstBin.sgml:
25870 * docs/gst/tmpl/old/GstBuffer.sgml:
25871 * docs/gst/tmpl/old/GstCaps.sgml:
25872 * docs/gst/tmpl/old/GstClock.sgml:
25873 * docs/gst/tmpl/old/GstCompat.sgml:
25874 * docs/gst/tmpl/old/GstData.sgml:
25875 * docs/gst/tmpl/old/GstElement.sgml:
25876 * docs/gst/tmpl/old/GstEvent.sgml:
25877 * docs/gst/tmpl/old/GstIndex.sgml:
25878 * docs/gst/tmpl/old/GstStructure.sgml:
25879 * docs/gst/tmpl/old/GstTag.sgml:
25880 * docs/gst/tmpl/old/cothreads.sgml:
25881 * docs/gst/tmpl/old/cothreads_compat.sgml:
25882 * docs/gst/tmpl/old/gettext.sgml:
25883 * docs/gst/tmpl/old/gobject2gtk.sgml:
25884 * docs/gst/tmpl/old/grammar.tab.sgml:
25885 * docs/gst/tmpl/old/gst-i18n-app.sgml:
25886 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25887 * docs/gst/tmpl/old/gst_private.sgml:
25888 * docs/gst/tmpl/old/gstaggregator.sgml:
25889 * docs/gst/tmpl/old/gstarch.sgml:
25890 * docs/gst/tmpl/old/gstatomic_impl.sgml:
25891 * docs/gst/tmpl/old/gstbufferstore.sgml:
25892 * docs/gst/tmpl/old/gstdata_private.sgml:
25893 * docs/gst/tmpl/old/gstdisksink.sgml:
25894 * docs/gst/tmpl/old/gstdisksrc.sgml:
25895 * docs/gst/tmpl/old/gstelementfactory.sgml:
25896 * docs/gst/tmpl/old/gstextratypes.sgml:
25897 * docs/gst/tmpl/old/gstfakesink.sgml:
25898 * docs/gst/tmpl/old/gstfakesrc.sgml:
25899 * docs/gst/tmpl/old/gstfdsink.sgml:
25900 * docs/gst/tmpl/old/gstfdsrc.sgml:
25901 * docs/gst/tmpl/old/gstfilesink.sgml:
25902 * docs/gst/tmpl/old/gstfilesrc.sgml:
25903 * docs/gst/tmpl/old/gsthttpsrc.sgml:
25904 * docs/gst/tmpl/old/gstidentity.sgml:
25905 * docs/gst/tmpl/old/gstindexfactory.sgml:
25906 * docs/gst/tmpl/old/gstmarshal.sgml:
25907 * docs/gst/tmpl/old/gstmd5sink.sgml:
25908 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25909 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25910 * docs/gst/tmpl/old/gstpadtemplate.sgml:
25911 * docs/gst/tmpl/old/gstpipefilter.sgml:
25912 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25913 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25914 * docs/gst/tmpl/old/gstshaper.sgml:
25915 * docs/gst/tmpl/old/gstspider.sgml:
25916 * docs/gst/tmpl/old/gstspideridentity.sgml:
25917 * docs/gst/tmpl/old/gststatistics.sgml:
25918 * docs/gst/tmpl/old/gsttee.sgml:
25919 * docs/gst/tmpl/old/gsttimecache.sgml:
25920 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25921 * docs/gst/tmpl/old/gstxmlregistry.sgml:
25922 * docs/gst/tmpl/old/gthread-cothreads.sgml:
25923 * docs/gst/tmpl/old/types.sgml:
25924 I didn't intend to add these or check them in.
25926 2005-05-19 David Schleef <ds@schleef.org>
25928 * configure.ac: Use -no-common everywhere. In a sane world, it
25929 would be the default in libtool, because without it, you can't
25930 build DLLs on Windows.
25931 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25932 * docs/gst/gstreamer-sections.txt:
25933 * docs/gst/tmpl/gstcpu.sgml:
25934 * docs/gst/tmpl/gstdata.sgml:
25935 * docs/gst/tmpl/gstthread.sgml:
25937 2005-05-19 David Schleef <ds@schleef.org>
25939 * gst/gstminiobject.c: (gst_value_set_mini_object),
25940 (gst_value_take_mini_object), (gst_value_get_mini_object):
25941 * gst/gstminiobject.h: Add GValue set/get functions.
25943 2005-05-19 Wim Taymans <wim@fluendo.com>
25945 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25946 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25947 (gst_subbuffer_init), (gst_buffer_is_span_fast):
25949 * gst/gstbus.c: (gst_bus_post):
25950 * gst/gstelement.c: (gst_element_get_random_pad):
25951 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25952 Make subbufer unref the parent in finalize.
25953 some more debugging info.
25956 2005-05-19 Wim Taymans <wim@fluendo.com>
25958 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25959 (gst_basesink_init), (gst_basesink_finalize),
25960 (gst_basesink_activate), (gst_basesink_change_state):
25961 Don't free preroll queue too early.
25963 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25967 Hi, I'm outdated. Please shoot me.
25969 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25971 * gst/gstpipeline.c: (gst_pipeline_send_event):
25972 Do not access variables after they have been deleted.
25974 2005-05-19 Wim Taymans <wim@fluendo.com>
25976 * tools/gst-inspect.c: (print_plugin_features):
25977 A plugin feature does unfortunatly not use the
25980 2005-05-18 Wim Taymans <wim@fluendo.com>
25982 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25983 Port _span() functions to new subbuffers.
25985 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25987 * gst/gstbin.c: (gst_bin_add_func):
25988 Fix clock settery in bins when adding kids after the clock has
25991 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25993 * gst/elements/gstidentity.c: (gst_identity_class_init):
25994 Workaround until signals support GstMiniObject.
25996 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
25999 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26001 2005-05-18 Wim Taymans <wim@fluendo.com>
26003 * gst/base/Makefile.am:
26004 * gst/base/gstadapter.c: (gst_adapter_base_init),
26005 (gst_adapter_class_init), (gst_adapter_init),
26006 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26007 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26008 (gst_adapter_flush), (gst_adapter_available),
26009 (gst_adapter_available_fast):
26010 * gst/base/gstadapter.h:
26011 Ported and added adapter to the base classes.
26013 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26016 * gst/gstmessage.c:
26017 Make sure the class is reffed/unreffed once before threads can be
26018 used. Fixes #304551.
26020 2005-05-17 Wim Taymans <wim@fluendo.com>
26022 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26023 (gst_basesink_chain_unlocked), (gst_basesink_activate):
26024 * gst/gstminiobject.c: (gst_mini_object_get_type),
26025 (gst_mini_object_free):
26026 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26027 (gst_pad_push), (gst_pad_push_event):
26028 * gst/gstqueue.c: (gst_queue_change_state):
26029 Don't queue buffers in basesink when we are flushing.
26030 Unref buffer when flushing in basesink.
26031 Flush queue when going to READY
26032 Unref buffer when _push() returns an error.
26033 Don't free MiniObject instance when refcount is incremented
26034 in _finalize() so that we can recover objects.
26036 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
26038 * docs/manual/advanced-schedulers.xml:
26039 * docs/manual/appendix-checklist.xml:
26040 * docs/pwg/advanced-clock.xml:
26041 * docs/pwg/advanced-interfaces.xml:
26042 * docs/pwg/advanced-request.xml:
26043 * docs/pwg/advanced-types.xml:
26044 * docs/pwg/intro-preface.xml:
26045 * examples/plugins/example.c: (gst_example_get_type),
26046 (gst_example_class_init), (gst_example_chain),
26047 (gst_example_set_property), (gst_example_get_property),
26048 (gst_example_change_state), (plugin_init):
26049 * examples/plugins/example.h:
26052 2005-05-17 Wim Taymans <wim@fluendo.com>
26054 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26055 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26056 * gst/gstqueue.c: (gst_queue_change_state):
26057 Clear queue when going to READY.
26058 Remove IN_SETCAPS flag too.
26060 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
26062 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26063 Remove implicit cast from gboolean to GstElementStateReturn;
26064 make sure we still return failure in paused => ready case if
26065 the parent class fails to change state and our own stop
26068 2005-05-17 Wim Taymans <wim@fluendo.com>
26070 * tools/gst-launch.c: (event_loop):
26071 Message was unreffed too soon.
26073 2005-05-16 Andy Wingo <wingo@pobox.com>
26075 * gst/gstbin.c (sink_iterator_filter): Err... um...
26077 * check/gst/gstbin.c (test_ghost_pads): New test for the
26078 ghosting-if-elements-not-in-same-bin behavior.
26080 2005-05-16 David Schleef <ds@schleef.org>
26082 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26083 accessing refcount directly.
26085 2005-05-15 David Schleef <ds@schleef.org>
26087 * check/Makefile.am: remove GstData checks
26088 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26089 * gst/Makefile.am: add miniobject, remove data
26090 * gst/gst.h: add miniobject, remove data
26091 * gst/gstdata.c: remove
26092 * gst/gstdata.h: remove
26093 * gst/gstdata_private.h: remove
26094 * gst/gsttypes.h: remove GstEvent and GstMessage
26095 * gst/gstelement.c: (gst_element_post_message): fix for API changes
26096 * gst/gstmarshal.list: change BOXED -> OBJECT
26098 Implement GstMiniObject.
26099 * gst/gstminiobject.c:
26100 * gst/gstminiobject.h:
26102 Modify to be subclasses of GstMiniObject.
26103 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26104 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26105 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26106 (gst_subbuffer_get_type), (gst_subbuffer_init),
26107 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26110 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26111 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26112 (_gst_event_copy), (gst_event_new):
26114 * gst/gstmessage.c: (_gst_message_initialize),
26115 (gst_message_get_type), (gst_message_class_init),
26116 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26117 (gst_message_new), (gst_message_new_error),
26118 (gst_message_new_warning), (gst_message_new_tag),
26119 (gst_message_new_state_changed), (gst_message_new_application):
26120 * gst/gstmessage.h:
26121 * gst/gstprobe.c: (gst_probe_perform),
26122 (gst_probe_dispatcher_dispatch):
26124 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26125 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26126 (_gst_query_copy), (gst_query_new):
26128 Update elements for GstData -> GstMiniObject changes
26130 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26131 (gst_queue_chain), (gst_queue_loop):
26132 * gst/elements/gstbufferstore.c:
26133 (gst_buffer_store_add_buffer_func),
26134 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26135 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26136 (gst_fakesink_render):
26137 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26138 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26139 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26140 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26141 (gst_filesrc_create_read):
26142 * gst/elements/gstidentity.c: (gst_identity_class_init):
26143 * gst/elements/gsttypefindelement.c:
26144 (gst_type_find_element_src_event), (free_entry_buffers),
26145 (gst_type_find_element_handle_event):
26146 * libs/gst/dataprotocol/dataprotocol.c:
26147 (gst_dp_header_from_buffer):
26148 * libs/gst/dataprotocol/dataprotocol.h:
26149 * libs/gst/dataprotocol/dp-private.h:
26151 2005-05-15 David Schleef <ds@schleef.org>
26153 * gst/elements/gstelements.c: Don't include headers that were
26156 2005-05-15 David Schleef <ds@schleef.org>
26158 * gst/elements/Makefile.am: Remove some elements that don't
26159 need to be in the core (or even exist at all).
26160 * gst/elements/gstaggregator.c:
26161 * gst/elements/gstaggregator.h:
26162 * gst/elements/gstmd5sink.c:
26163 * gst/elements/gstmd5sink.h:
26164 * gst/elements/gstmultifilesrc.c:
26165 * gst/elements/gstmultifilesrc.h:
26166 * gst/elements/gstpipefilter.c:
26167 * gst/elements/gstpipefilter.h:
26168 * gst/elements/gstshaper.c:
26169 * gst/elements/gstshaper.h:
26170 * gst/elements/gststatistics.c:
26171 * gst/elements/gststatistics.h:
26172 * po/POTFILES.in: Remove above files.
26174 2005-05-14 Andy Wingo <wingo@pobox.com>
26176 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26177 so as to get the refs right.
26178 (sink_iterator_filter): New function, wraps bin_element_is_sink,
26179 unreffing objects that don't pass the filter.
26181 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26182 gst_element_set_bus.
26183 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26184 normal cases, this will destroy the bus.
26186 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26189 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26192 2005-05-13 Andy Wingo <wingo@pobox.com>
26194 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26195 gst_pad_link, call pad_link_maybe_ghosting,
26196 (pad_link_maybe_ghosting): Links pads, making sure that the
26197 elements being linked are in the same bin.
26198 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26199 Helpers for pad_link_maybe_ghosting.
26201 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26204 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26206 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26208 * docs/design/part-element-source.txt:
26211 2005-05-12 Wim Taymans <wim@fluendo.com>
26213 * gst/base/gstbasesink.c: (gst_basesink_init),
26214 (gst_basesink_activate):
26215 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26216 (gst_basesrc_is_seekable):
26217 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26218 (bin_element_is_sink), (gst_bin_change_state):
26219 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26220 * gst/gstelement.h:
26221 Identify sinks by their flag to avoid overly complicated
26223 Do state changes even for elements not reachable from the
26225 BaseSink is a sink now :)
26226 Some more debugging info in the basesrc.
26229 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26231 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26232 Implement _query on a bin, similar to _send_event.
26234 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26236 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26237 Discont event offset format should be GST_FORMAT_BYTES,
26238 not GST_FORMAT_TIME.
26240 2005-05-12 Wim Taymans <wim@fluendo.com>
26242 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26243 Same fix as Ronald's but without the signal.
26245 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26247 * gst/gstutils.c: (gst_element_query_position):
26248 No, an element is not a pad.
26250 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26252 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26253 (gst_bin_get_state):
26254 If a child is removed from a bin while we remove the child from
26255 the bin and while we're retrieving its state, signal this to the
26256 get_state function so we abort the wait (instead of waiting for
26257 a timeout) and can immediately re-iterate over all other elements.
26259 2005-05-12 Wim Taymans <wim@fluendo.com>
26261 * gst/base/Makefile.am:
26262 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26263 (gst_basesrc_start):
26264 * gst/base/gstbasesrc.h:
26265 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26266 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26267 (gst_pushsrc_init), (gst_pushsrc_create):
26268 * gst/base/gstpushsrc.h:
26269 Added is_seekable to BaseSrc
26270 Added simple PushSrc.
26272 2005-05-11 Wim Taymans <wim@fluendo.com>
26274 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26275 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26276 (gst_element_link_pads), (gst_element_query_position),
26277 (gst_element_query_convert), (intersect_caps_func),
26278 (gst_pad_query_position), (gst_pad_query_convert):
26279 Fix refcounting in utils function.
26280 No point in trying to activate a pad when it's added, it could
26281 be added from the state change function and then we deadlock, the
26282 element has to decide what to do.
26284 2005-05-10 Andy Wingo <wingo@pobox.com>
26286 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26287 *all* the arguments.
26289 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26290 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26291 lock (according to the docs -- if this is wrong change the docs).
26293 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26294 flush messages in the NULL state.
26296 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26297 message immediately and return.
26298 (gst_bus_set_flushing): New function. If a bus is flushing, it
26299 flushes out any queued messages and immediately unrefs new
26300 messages. This is so when an element goes to NULL, all of the
26301 unhandled messages coming from it can be freed, and their
26302 references to the element dropped. In other words: message source
26303 ref considered harmful :P
26305 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26306 we're finished with it.
26308 * gst/gstmessage.c (gst_message_new_state_changed):
26310 2005-05-10 Wim Taymans <wim@fluendo.com>
26312 * gst/gstvalue.c: (gst_value_compare_flags),
26313 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26314 (_gst_value_initialize):
26315 Added flags serialize/deserialize/compare code.
26317 2005-05-09 Andy Wingo <wingo@pobox.com>
26319 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26320 Intersect the peer's caps with our caps.
26322 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26324 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26325 * gst/elements/gsttypefindelement.c: (find_peek):
26326 Handle negative offsets better. Fixes decodebin.
26328 2005-05-09 Wim Taymans <wim@fluendo.com>
26330 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26331 (gst_base_transform_event):
26332 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26333 Implement accept_caps.
26334 Fix silly lock/unlock mismatch in base class.
26336 2005-05-09 Wim Taymans <wim@fluendo.com>
26338 * docs/design/draft-push-pull.txt:
26339 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26340 * gst/elements/gstfilesink.c: (gst_filesink_init),
26341 (gst_filesink_query):
26342 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26343 (gst_type_find_handle_src_query), (find_element_get_length):
26344 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26345 * gst/gstelement.h:
26346 * gst/gstmessage.c:
26347 * gst/gstmessage.h:
26348 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26349 (gst_real_pad_get_caps_unlocked),
26350 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26351 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26352 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26353 (gst_real_pad_dispose), (gst_real_pad_finalize),
26354 (gst_pad_load_and_link), (gst_pad_save_thyself),
26355 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26356 (gst_pad_check_pull_range), (gst_pad_pull_range),
26357 (gst_pad_template_get_type), (gst_pad_template_class_init),
26358 (gst_pad_template_init), (gst_pad_template_dispose),
26359 (name_is_valid), (gst_static_pad_template_get),
26360 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26361 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26362 (gst_pad_get_element_private), (gst_pad_start_task),
26363 (gst_pad_pause_task), (gst_pad_stop_task),
26364 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26365 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26366 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26367 (gst_ghost_pad_new):
26369 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26370 (gst_query_new_position), (gst_query_set_position),
26371 (gst_query_parse_position), (gst_query_new_convert),
26372 (gst_query_set_convert), (gst_query_parse_convert):
26374 * gst/gstqueryutils.c:
26375 * gst/gstqueryutils.h:
26376 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26377 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26378 (gst_queue_handle_src_query):
26379 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26380 (gst_element_query_position), (gst_element_query_convert),
26381 (intersect_caps_func), (gst_pad_query_position),
26382 (gst_pad_query_convert):
26384 * tools/gst-inspect.c: (print_pad_info):
26385 * tools/gst-xmlinspect.c: (print_element_info):
26386 Remove old query functions. Ported old code.
26387 Added position/convert helper functions to gstutils.
26388 Reordered gstpad.c code, grouping relevant things.
26389 Remove gst_message_new(), always need to speficy a specific
26393 2005-05-09 Andy Wingo <wingo@pobox.com>
26395 * gst/gstiterator.h: Add some includes.
26397 * gst/gstqueryutils.h: Include more headers.
26400 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26401 some uses of gst_pad_query.
26403 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26404 NULL out parameters.
26405 (gst_query_new_position): New proc, allocates a new position
26408 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26409 gstqueryutils.c to the build.
26411 * gst/gststructure.c (gst_structure_set_valist): Implement with
26412 the generic G_VALUE_COLLECT.
26414 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26416 * gst/Makefile.am: (gst_headers):
26417 Added gstqueryutils.h to the list of headers to install, that was
26418 a 'nachty' move wingo :)
26420 2005-05-06 Andy Wingo <wingo@pobox.com>
26423 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26424 GstData, init a memchunk.
26425 (standard_definitions): Add a few query types, deprecate a few.
26426 (gst_query_get_type): New proc.
26427 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26429 (gst_query_new_application, gst_query_get_structure): New public
26432 * docs/design/draft-query.txt: Removed LINKS from the query types,
26433 because all the rest can be dispatched to other pads -- seemed
26434 ugly to have a query that couldn't be dispatched. internal_links
26435 is fine as a pad method.
26437 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26438 in gstpad.c, but maintain binary compatibility for the moment.
26439 Will fix before 0.9 is out.
26441 * gst/gstqueryutils.c:
26442 * gst/gstqueryutils.h: New files, implement 3 methods for each
26443 query type: parse_query, parse_response, and set. Probably need an
26446 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26448 * gst/elements/gstfilesink.c (gst_filesink_query2):
26449 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26450 query_types, and formats methods.
26452 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26453 (gst_pad_set_query2_function): New functions.
26454 (gst_real_pad_init): Set query2_default as the default query2
26455 function. Basically just dispatches to internally linked pads.
26459 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26460 without using the atomic operations. Only one thread can possibly
26461 be accessing the data at this point. Changed so as to avoid
26462 gst_atomic operations.
26464 2005-05-06 Wim Taymans <wim@fluendo.com>
26466 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26467 Also set caps if we use the fallback buffer alloc.
26469 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26471 * docs/gst/Makefile.am:
26472 * docs/gst/gstreamer-docs.sgml:
26473 * docs/gst/gstreamer-sections.txt:
26474 * docs/gst/tmpl/gstatomic.sgml:
26475 * docs/gst/tmpl/gstmemchunk.sgml:
26476 * testsuite/elements/struct_i386.h:
26477 * win32/GStreamer.vcproj:
26479 Purge GstAtomic stuff from docs and win32 makefiles as well
26481 2005-05-06 Wim Taymans <wim@fluendo.com>
26483 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26484 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26485 * gst/gstpad.c: (gst_pad_peer_get_caps):
26486 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26487 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26488 (gst_queue_src_activate), (gst_queue_change_state):
26490 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26491 (intersect_caps_func):
26492 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26493 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26494 Some fixes for the peer_get_caps() change.
26496 2005-05-06 Wim Taymans <wim@fluendo.com>
26498 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26499 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26500 (gst_basesink_activate):
26501 Actually do something with error codes returned from the push
26504 2005-05-06 Wim Taymans <wim@fluendo.com>
26506 * docs/design/part-element-sink.txt:
26507 * docs/design/part-element-source.txt:
26508 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26509 (gst_basesink_event), (gst_basesink_activate):
26510 * gst/base/gstbasesink.h:
26511 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26512 (gst_basesrc_activate):
26513 * gst/base/gstbasesrc.h:
26514 * gst/gstelement.c: (gst_element_pads_activate):
26515 Some more documentation.
26516 Fixed scheduling decision in _pads_activate().
26518 2005-05-05 Andy Wingo <wingo@pobox.com>
26520 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26523 2005-05-05 Wim Taymans <wim@fluendo.com>
26525 * gst/base/Makefile.am:
26526 * gst/base/gstbasesink.h:
26527 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26528 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26529 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26530 (gst_collectpads_class_init), (gst_collectpads_init),
26531 (gst_collectpads_finalize), (gst_collectpads_new),
26532 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26533 (find_pad), (gst_collectpads_remove_pad),
26534 (gst_collectpads_is_active), (gst_collectpads_collect),
26535 (gst_collectpads_collect_range), (gst_collectpads_start),
26536 (gst_collectpads_stop), (gst_collectpads_peek),
26537 (gst_collectpads_pop), (gst_collectpads_available),
26538 (gst_collectpads_read), (gst_collectpads_flush),
26539 (gst_collectpads_chain):
26540 * gst/base/gstcollectpads.h:
26541 * gst/elements/Makefile.am:
26542 * gst/elements/gstelements.c:
26543 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26544 (gst_fakesink_get_times), (gst_fakesink_event),
26545 (gst_fakesink_preroll), (gst_fakesink_render):
26546 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26547 (gst_filesink_init), (gst_filesink_set_location),
26548 (gst_filesink_open_file), (gst_filesink_close_file),
26549 (gst_filesink_pad_query), (gst_filesink_event),
26550 (gst_filesink_render), (gst_filesink_change_state):
26551 * gst/elements/gstfilesink.h:
26552 Added object to help in making collect pad based elements.
26554 Make event function in sink baseclass return gboolean.
26556 2005-05-05 Wim Taymans <wim@fluendo.com>
26558 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26559 (gst_bin_get_by_name):
26561 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26562 (gst_clock_finalize):
26563 * gst/gstdata.c: (gst_data_replace):
26565 * gst/gstelement.c: (gst_element_request_pad),
26566 (gst_element_pads_activate):
26567 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26568 (gst_object_unref):
26569 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26570 (gst_pad_set_checkgetrange_function),
26571 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26572 (gst_pad_check_pull_range), (gst_pad_pull_range),
26573 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26574 (gst_pad_pause_task), (gst_pad_stop_task):
26575 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26576 (gst_element_request_pad), (gst_pad_proxy_getcaps):
26577 Fix name lookup in GstBin.
26578 Added _data_replace() function and _buffer_replace()
26579 Use finalize method to clean up clock.
26580 Fix refcounting on request pads.
26581 Fix pad schedule mode error.
26582 Some more object refcounting debug info,
26585 2005-05-04 Andy Wingo <wingo@pobox.com>
26587 * check/Makefile.am:
26588 * docs/gst/tmpl/gstatomic.sgml:
26589 * docs/gst/tmpl/gstplugin.sgml:
26590 * gst/base/gstbasesink.c: (gst_basesink_activate):
26591 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26592 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26593 (gst_basesrc_query), (gst_basesrc_set_property),
26594 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26595 (gst_basesrc_activate):
26596 * gst/base/gstbasesrc.h:
26597 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26598 (gst_base_transform_src_activate):
26599 * gst/elements/gstelements.c:
26600 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26601 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26602 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26603 * gst/elements/gsttypefindelement.c: (find_element_get_length),
26604 (gst_type_find_element_checkgetrange),
26605 (gst_type_find_element_activate):
26606 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26607 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26608 (gst_caps_load_thyself):
26609 * gst/gstelement.c: (gst_element_pads_activate),
26610 (gst_element_save_thyself), (gst_element_restore_thyself):
26611 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26612 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26614 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26615 (gst_xml_parse_file), (gst_xml_parse_memory),
26616 (gst_xml_get_element), (gst_xml_make_element):
26617 * gst/indexers/gstfileindex.c: (gst_file_index_load),
26618 (_file_index_id_save_xml), (gst_file_index_commit):
26619 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26620 (read_enum), (load_pad_template), (load_feature), (load_plugin),
26622 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26623 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26624 * tools/gst-complete.c: (main):
26625 * tools/gst-compprep.c: (main):
26626 * tools/gst-inspect.c: (print_element_properties_info):
26627 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26628 * tools/gst-xmlinspect.c: (print_element_properties):
26631 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
26633 * gst/gstplugin.c: (gst_plugin_check_module),
26634 (gst_plugin_check_file), (gst_plugin_load_file):
26635 apply patch from #172526 to make register work on MacOSX
26637 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26639 * docs/gst/tmpl/gstconfig.sgml:
26640 * gst/gstconfig.h.in:
26641 move documentation for some symbols. Add doc for GST_PTR_FORMAT
26642 * testsuite/debug/printf_extension.c: (main):
26643 Do not use GST_PTR_FORMAT on pointers to types with
26644 sizeof < sizeof(gpointer). Fixes test on 64-bit
26645 * testsuite/elements/property.h:
26646 use correct printf format
26648 2005-05-02 Wim Taymans <wim@fluendo.com>
26650 * docs/design/draft-push-pull.txt:
26651 * docs/design/draft-query.txt:
26652 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26653 (gst_basesrc_start):
26654 Added draft for new query API.
26655 Added draft for better selecting scheduling methods.
26656 Make basesrc ignore length if the subclass does not support
26659 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26662 possible fixes for automake-1.5 - _LIBADD is reserved
26664 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
26666 * docs/faq/Makefile.am:
26667 * docs/manual/Makefile.am:
26668 * docs/manuals.mak:
26669 * docs/pwg/Makefile.am:
26671 possible fixes for automake-1.5
26673 2005-04-28 Wim Taymans <wim@fluendo.com>
26675 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26676 (gst_basesink_pad_getcaps), (gst_basesink_init),
26677 (gst_basesink_do_sync):
26678 * gst/gstclock.c: (gst_clock_entry_new):
26679 * gst/gstevent.c: (gst_event_discont_get_value):
26680 * gst/gstpipeline.c: (pipeline_bus_handler),
26681 (gst_pipeline_change_state):
26682 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26683 Better debugging of clocking info.
26684 Allow NULL values when getting discont values.
26686 2005-04-27 Wim Taymans <wim@fluendo.com>
26688 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26689 * check/gst/gstpad.c: (gst_pad_suite):
26690 Increase timeout for checks.
26692 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26694 * check/Makefile.am:
26695 fix the broken rule for cleanup. Apparently this rule is
26696 only needed on FC2, so maybe this warrants further autotool
26699 2005-04-26 Wim Taymans <wim@fluendo.com>
26701 * gst/gsttrashstack.h:
26702 Ooohh. a nasty one! After having a failed pop() from the stack,
26703 it's possible that the stack is empty. In that case, don't
26704 follow the NULL pointer.
26706 2005-04-25 Wim Taymans <wim@fluendo.com>
26708 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26709 (gst_pad_set_checkgetrange_function),
26710 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26711 (gst_pad_check_pull_range), (gst_pad_pull_range),
26712 (gst_static_pad_template_get_caps), (gst_pad_start_task),
26713 (gst_pad_pause_task), (gst_pad_stop_task):
26714 * gst/gstplugin.c: (gst_plugin_load):
26716 Remove gst_library_load as it does more harm than good with
26717 the new g_module flags.
26718 Revert bogus caps template check in pad linking, pad caps
26719 are important when linking not the template, which is more
26720 general than the current caps.
26722 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26724 * gst/autoplug/.cvsignore:
26725 * gst/autoplug/Makefile.am:
26726 * gst/autoplug/gstsearchfuncs.c:
26727 * gst/autoplug/gstsearchfuncs.h:
26728 * gst/autoplug/gstspider.c:
26729 * gst/autoplug/gstspider.h:
26730 * gst/autoplug/gstspideridentity.c:
26731 * gst/autoplug/gstspideridentity.h:
26732 * gst/autoplug/spidertest.c:
26735 2005-04-25 Wim Taymans <wim@fluendo.com>
26737 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26738 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26739 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26740 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26742 Added stubs for unimplemented functions.
26744 2005-04-24 David Schleef <ds@schleef.org>
26746 * gst/gstpad.h: Disable some unimplemented functions. Wim,
26749 2005-04-24 David Schleef <ds@schleef.org>
26751 Convert everything from GstAtomicInt to g_atomic_int_*, and
26756 * gst/gstatomic_impl.h:
26764 * gst/gstdata_private.h:
26768 * gst/gstmessage.c:
26771 * gst/gststructure.c:
26772 * gst/gststructure.h:
26773 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26776 2005-04-24 David Schleef <ds@schleef.org>
26778 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26779 make the regressions tests work. Remove some code that is no
26781 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26782 Disable warning for pads without templates.
26784 2005-04-24 David Schleef <ds@schleef.org>
26786 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
26787 functions that handle filtered links.
26788 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26790 * gst/gstutils.c: Fix/remove utility functions that handle
26793 * gst/gstvalue.c: Add serialization/deserialization of caps
26794 * gst/parse/grammar.y: Ignore filtered caps when linking. This
26795 requires fixing so that the filter caps notation creates
26796 a capsfilter element and sets the filter_caps property. I
26797 think everyone probably wants to keep the shorthand notation.
26798 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26799 * docs/gst/tmpl/gstpad.sgml:
26801 * gst/elements/gstelements.c: Register capsfilter element.
26802 * gst/Makefile.am: fix spacing
26803 * docs/random/ds/0.9-suggested-changes: random
26805 2005-04-23 David Schleef <ds@schleef.org>
26807 * gst/elements/Makefile.am:
26808 * gst/elements/gstcapsfilter.c: New element that acts like an
26809 identity, but filters caps. Will eventually replace filtered
26810 caps in pad linking.
26811 * gst/gstutils.c: (gst_element_create_all_pads): New function
26812 to create all the ALWAYS pads that are registered with an
26813 element class. This functionality should eventually be
26814 merged in with GstElement initialization.
26816 * testsuite/trigger/README: part of trigger test code that should
26817 have been checked in a long time ago.
26819 2005-04-23 David Schleef <ds@schleef.org>
26821 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
26822 needed with new versions of libtool (nobody will confirm this),
26823 and hard to carry around.
26824 * gst/autoplug/Makefile.am:
26825 * gst/base/Makefile.am:
26826 * gst/elements/Makefile.am:
26827 * gst/indexers/Makefile.am:
26828 * gst/schedulers/Makefile.am:
26829 * libs/gst/bytestream/Makefile.am:
26830 * libs/gst/control/Makefile.am:
26831 * libs/gst/dataprotocol/Makefile.am:
26832 * libs/gst/getbits/Makefile.am:
26834 2005-04-21 Wim Taymans <wim@fluendo.com>
26836 * docs/design/draft-push-pull.txt:
26837 * docs/design/part-MT-refcounting.txt:
26838 * docs/design/part-TODO.txt:
26839 * docs/design/part-caps.txt:
26840 * docs/design/part-events.txt:
26841 * docs/design/part-gstbus.txt:
26842 * docs/design/part-gstpipeline.txt:
26843 * docs/design/part-messages.txt:
26844 * docs/design/part-push-pull.txt:
26845 * docs/design/part-query.txt:
26848 2005-04-21 Wim Taymans <wim@fluendo.com>
26850 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26851 (gst_message_new), (gst_message_new_error),
26852 (gst_message_new_warning), (gst_message_new_tag),
26853 (gst_message_new_state_changed), (gst_message_new_application),
26854 (gst_message_get_structure):
26855 * gst/gstmessage.h:
26856 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26857 (gst_structure_copy_conditional):
26858 Use parent refcount in GstMessage to ensure GstStructure
26860 Cleaned up headers a bit.
26863 2005-04-20 Wim Taymans <wim@fluendo.com>
26865 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26866 (gst_basesink_pad_getcaps), (gst_basesink_init),
26867 (gst_basesink_chain_unlocked):
26868 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26869 (gst_type_find_helper):
26870 * gst/elements/gsttypefindelement.c:
26871 (gst_type_find_element_have_type), (gst_type_find_element_init),
26872 (stop_typefinding), (gst_type_find_element_handle_event),
26873 (find_suggest), (gst_type_find_element_chain),
26874 (gst_type_find_element_checkgetrange),
26875 (gst_type_find_element_getrange), (do_typefind),
26876 (gst_type_find_element_activate):
26877 * gst/gstbuffer.c: (_gst_buffer_sub_free),
26878 (gst_buffer_default_free), (gst_buffer_default_copy),
26879 (gst_buffer_set_caps):
26880 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26881 (gst_caps_replace):
26882 * gst/gstmessage.c: (gst_message_new),
26883 (gst_message_new_state_changed):
26884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26885 (gst_pad_set_checkgetrange_function),
26886 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26887 (gst_pad_set_caps), (gst_pad_check_pull_range),
26888 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26890 * gst/gsttypefind.c: (gst_type_find_register):
26891 Make gst_caps_replace() work like other _replace() functions.
26892 Use _caps_replace() where possible.
26893 Make sure _message_new() initialises its field.
26894 Add gst_static_pad_template_get_caps()
26897 2005-04-18 Andy Wingo <wingo@pobox.com>
26899 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26900 on the peer, not the pad. I think that was a typo. Pass an extra
26901 arg to see if random access is possible. Activate the pads as
26902 PULL_RANGE if possible.
26904 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26906 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
26907 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26910 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26912 * docs/faq/using.xml:
26913 Add note on gstreamer-properties (#154996).
26915 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26917 * docs/random/bbb/optional-properties:
26918 Some analysis on optional properties.
26920 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26922 * docs/gst/tmpl/gstelementfactory.sgml:
26923 * gst/gstelement.h:
26924 * gst/gstelementfactory.c: (gst_element_factory_init),
26925 (gst_element_factory_cleanup), (gst_element_register),
26926 (__gst_element_factory_add_static_pad_template),
26927 (gst_element_factory_get_static_pad_templates),
26928 (gst_element_factory_can_src_caps),
26929 (gst_element_factory_can_sink_caps):
26930 * gst/registries/Makefile.am:
26931 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26932 (gst_xml_registry_class_init), (gst_xml_registry_init),
26933 (gst_xml_registry_new), (gst_xml_registry_set_property),
26934 (gst_xml_registry_get_property), (get_time), (make_dir),
26935 (gst_xml_registry_get_perms_func),
26936 (plugin_times_older_than_recurse), (plugin_times_older_than),
26937 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26938 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26939 (add_to_char_array), (read_string), (read_uint), (read_enum),
26940 (load_pad_template), (load_feature), (load_plugin), (load_paths),
26941 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26942 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26943 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26944 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26945 (gst_xml_registry_rebuild):
26946 * gst/registries/gstlibxmlregistry.h:
26947 * tools/gst-compprep.c: (main):
26948 * tools/gst-inspect.c: (print_pad_templates_info):
26949 * tools/gst-xmlinspect.c: (print_element_info):
26950 Use libxml2 for registry parsing, use staticpadtemplates in
26951 elementfactories. Makes gst_init() +/- 10x faster.
26953 2005-04-12 Wim Taymans <wim@fluendo.com>
26955 * gst/base/Makefile.am:
26956 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26957 (gst_basesink_pad_getcaps), (gst_basesink_init),
26958 (gst_basesink_event), (gst_basesink_change_state):
26959 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26960 (gst_basesrc_init), (gst_basesrc_query),
26961 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26962 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26963 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26964 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26965 (gst_basesrc_stop), (gst_basesrc_activate),
26966 (gst_basesrc_change_state):
26967 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26968 (helper_find_suggest), (gst_type_find_helper):
26969 * gst/base/gsttypefindhelper.h:
26970 * gst/elements/Makefile.am:
26971 * gst/elements/gstelements.c:
26972 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26973 (gst_fakesink_get_times), (gst_fakesink_event),
26974 (gst_fakesink_preroll), (gst_fakesink_render):
26975 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26976 (gst_fakesrc_init), (gst_fakesrc_event_handler),
26977 (gst_fakesrc_get_property), (gst_fakesrc_create),
26978 (gst_fakesrc_start), (gst_fakesrc_stop):
26979 * gst/elements/gstfakesrc.h:
26980 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26981 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26982 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26983 (gst_filesrc_create_read), (gst_filesrc_create),
26984 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26985 (gst_filesrc_start):
26986 * gst/elements/gsttypefindelement.c:
26987 (gst_type_find_element_have_type), (gst_type_find_element_init),
26988 (start_typefinding), (stop_typefinding), (push_buffer_store),
26989 (gst_type_find_element_handle_event),
26990 (gst_type_find_element_chain),
26991 (gst_type_find_element_checkgetrange),
26992 (gst_type_find_element_getrange), (do_typefind),
26993 (gst_type_find_element_activate),
26994 (gst_type_find_element_change_state):
26995 * gst/elements/gsttypefindelement.h:
26996 * gst/gstpipeline.c: (pipeline_bus_handler):
26997 Added typefind helper.
26998 Small preroll fix in the base sink.
26999 Disable typefind code in basesrc.
27000 Crude port of typefindelement.
27004 2005-04-11 Wim Taymans <wim@fluendo.com>
27006 * check/gst/gstbus.c: (gstbus_suite):
27007 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27008 * check/gstcheck.h:
27009 Fix up the timeout so that the test does not fail.
27011 2005-04-06 Wim Taymans <wim@fluendo.com>
27014 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27015 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27016 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27017 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27018 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27019 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27020 (gst_basesrc_stop), (gst_basesrc_activate),
27021 (gst_basesrc_change_state), (basesrc_find_peek),
27022 (basesrc_find_suggest), (gst_basesrc_type_find):
27023 * gst/base/gstbasesrc.h:
27024 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27025 (gst_filesrc_class_init), (gst_filesrc_init),
27026 (gst_filesrc_finalize), (gst_filesrc_set_location),
27027 (gst_filesrc_set_property), (gst_filesrc_get_property),
27028 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27029 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27030 (gst_filesrc_create_read), (gst_filesrc_create),
27031 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27032 * gst/elements/gstfilesrc.h:
27033 * gst/gstelement.c: (gst_element_get_state_func),
27034 (gst_element_lost_state), (gst_element_pads_activate):
27035 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27036 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27037 (gst_pad_pull_range):
27039 More work on the generic source base class, implement seeking,
27041 Make filesrc extend the base source class.
27042 Added gst_pad_set_checkgetrange_function to GstPad.
27044 2005-04-06 Andy Wingo <wingo@pobox.com>
27046 * pkgconfig/gstreamer-base.pc.in:
27047 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27049 * pkgconfig/Makefile.am:
27050 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27052 2005-04-04 Wim Taymans <wim@fluendo.com>
27054 * gst/base/Makefile.am:
27056 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27057 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27058 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27059 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27060 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27061 (gst_basesrc_base_init), (gst_basesrc_class_init),
27062 (gst_basesrc_init), (gst_basesrc_get_formats),
27063 (gst_basesrc_get_query_types), (gst_basesrc_query),
27064 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27065 (gst_basesrc_set_property), (gst_basesrc_get_property),
27066 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27067 (gst_basesrc_loop), (gst_basesrc_activate),
27068 (gst_basesrc_change_state):
27069 * gst/base/gstbasesrc.h:
27070 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27071 (gst_fakesrc_class_init), (gst_fakesrc_init),
27072 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27073 (gst_fakesrc_get_property), (gst_fakesrc_create):
27074 * gst/elements/gstfakesrc.h:
27075 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27076 (gst_filesrc_open_file), (gst_filesrc_loop),
27077 (gst_filesrc_activate), (filesrc_find_peek),
27078 (gst_filesrc_type_find):
27079 Made base source class, make fakesrc extend it.
27080 Add comments to basesink class.
27081 Some filesrc cleanup.
27083 2005-03-31 David Schleef <ds@schleef.org>
27085 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27086 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27087 expected to link against libgstreamer.
27088 * gst/base/Makefile.am: link against libgstreamer
27089 * gst/elements/Makefile.am: same
27091 2005-03-31 Andy Wingo <wingo@pobox.com>
27093 * tests/instantiate/Makefile.am:
27094 * tests/instantiate/caps.c: Add test to test speed of caps copy
27097 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27098 GMemChunk to be fair.
27100 * gst/gsttrashstack.h: Remove warning about using the fallback
27101 trash stack implementation, it's still faster than malloc.
27103 2005-03-30 Andy Wingo <wingo@pobox.com>
27105 * tests/complexity.c: Add a copyright.
27107 2005-03-31 Wim Taymans <wim@fluendo.com>
27109 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27110 (gst_base_transform_class_init), (gst_base_transform_init),
27111 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27112 (gst_base_transform_get_property),
27113 (gst_base_transform_sink_activate),
27114 (gst_base_transform_src_activate),
27115 (gst_base_transform_change_state):
27116 * gst/base/gstbasetransform.h:
27117 * gst/elements/gstidentity.c: (gst_identity_class_init),
27118 (gst_identity_event), (gst_identity_check_perfect),
27119 (gst_identity_transform), (gst_identity_start),
27120 (gst_identity_stop):
27121 Added start/stop methods to transform base class so subclasses
27122 don't need to deal with state changes even.
27124 2005-03-31 Wim Taymans <wim@fluendo.com>
27126 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27127 (gst_event_new_discontinuous), (gst_event_discont_get_value):
27129 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27130 (gst_pad_pull_range):
27131 Added rate to the discont event to prepare for variable speed
27132 and reverse playback.
27134 2005-03-29 David Schleef <ds@schleef.org>
27137 * testsuite/trigger/Makefile.am:
27138 * testsuite/trigger/trigger.c: A little example program to show
27139 how trigger-based elements can work.
27141 2005-03-29 Wim Taymans <wim@fluendo.com>
27143 * gst/base/Makefile.am:
27145 * gst/base/gstbasesink.c: (gst_basesink_get_type),
27146 (gst_basesink_base_init), (gst_basesink_class_init),
27147 (gst_basesink_pad_getcaps), (gst_basesink_init),
27148 (gst_basesink_activate), (gst_basesink_change_state):
27149 * gst/base/gstbasesink.h:
27150 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27151 (gst_base_transform_base_init), (gst_base_transform_finalize),
27152 (gst_base_transform_class_init), (gst_base_transform_init),
27153 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27154 (gst_base_transform_event), (gst_base_transform_getrange),
27155 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27156 (gst_base_transform_set_property),
27157 (gst_base_transform_get_property),
27158 (gst_base_transform_sink_activate),
27159 (gst_base_transform_src_activate),
27160 (gst_base_transform_change_state):
27161 * gst/base/gstbasetransform.h:
27162 * gst/elements/gstidentity.c: (gst_identity_finalize),
27163 (gst_identity_class_init), (gst_identity_init),
27164 (gst_identity_event), (gst_identity_check_perfect),
27165 (gst_identity_transform), (gst_identity_set_property),
27166 (gst_identity_get_property), (gst_identity_change_state):
27167 * gst/elements/gstidentity.h:
27168 * gst/gstelement.c: (gst_element_get_state_func),
27169 (gst_element_lost_state), (gst_element_pads_activate):
27170 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27171 (gst_pad_check_pull_range), (gst_pad_pull_range):
27173 Simplify pad activation.
27174 Added function to check if pull_range can be performed.
27175 Error out when pulling inactive or flushing pads.
27176 Removed const from refcounted types as it does not make sense.
27177 Simplify pad templates in basesink
27178 Added base class for simple 1-to-1 transforms.
27179 Make identity subclass the base transform.
27181 2005-03-29 Andy Wingo <wingo@pobox.com>
27183 * docs/libs/gstreamer-libs-overrides.txt:
27184 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27185 really don't understand what's going on, but like whatever. I want
27188 * docs/gst/Makefile.am:
27189 * docs/libs/Makefile.am: Dist the overrides files.
27191 * check/Makefile.am (clean-local): Remove .libs directories.
27193 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27194 elements to EXTRA_DIST, so po/ files are happy.
27196 * po/POTFILES.in: Er, remove it here.
27198 * po/POTFILES: Remove gstspider.c.
27200 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27202 * docs/libs/gstreamer-libs-docs.sgml:
27203 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27206 * tests/complexity.c (main): Set the length of the preroll queue
27207 on the sinks to prevent a lockup.
27209 * libs/gst/dataprotocol/Makefile.am:
27210 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27211 the same as the one in check/gst-libs/gdp.c.
27213 * po/, docs/gst/: Commit automatic changes to docs and po files.
27215 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27216 the versioned libgstbase.
27218 * check/Makefile.am: Depend on an unversioned gst-register, seems
27219 to make autoconf happier.
27221 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27223 2005-03-28 Wim Taymans <wim@fluendo.com>
27226 * docs/design/part-gstelement.txt:
27227 * docs/design/part-negotiation.txt:
27228 * docs/design/part-preroll.txt:
27229 * docs/design/part-scheduling.txt:
27230 * docs/design/part-states.txt:
27232 * gst/base/Makefile.am:
27234 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27235 (gst_basesink_base_init), (gst_basesink_class_init),
27236 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27237 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27238 (gst_basesink_set_pad_functions),
27239 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27240 (gst_basesink_set_property), (gst_basesink_get_property),
27241 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27242 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27243 (gst_basesink_preroll_queue_push),
27244 (gst_basesink_preroll_queue_empty),
27245 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27246 (gst_basesink_event), (gst_basesink_get_times),
27247 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27248 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27249 (gst_basesink_loop), (gst_basesink_activate),
27250 (gst_basesink_change_state):
27251 * gst/base/gstbasesink.h:
27252 * gst/elements/Makefile.am:
27253 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27254 (gst_fakesink_class_init), (gst_fakesink_init),
27255 (gst_fakesink_set_property), (gst_fakesink_get_property),
27256 (gst_fakesink_get_times), (gst_fakesink_event),
27257 (gst_fakesink_preroll), (gst_fakesink_render),
27258 (gst_fakesink_change_state):
27259 * gst/elements/gstfakesink.h:
27260 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27261 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27262 * gst/gstelement.c: (gst_element_add_pad),
27263 (gst_element_get_state_func), (gst_element_abort_state),
27264 (gst_element_commit_state), (gst_element_lost_state),
27265 (gst_element_set_state), (gst_element_pads_activate):
27266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27267 * gst/gstpipeline.c: (gst_pipeline_send_event),
27268 (gst_pipeline_change_state):
27269 Added state change code.
27270 Added/updated docs.
27271 Added sink base class, make fakesink extend the base class.
27272 Small cleanups in GstPipeline.
27274 2005-03-26 David Schleef <ds@schleef.org>
27276 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27277 is broken and should be implemented in a different library.
27278 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27279 * gst/gst.h: remove gstcpu.h
27280 * gst/gstcpu.c: remove
27281 * gst/gstcpu.h: remove
27282 * gst/Makefile.am.future: Remove this file. It's ancient.
27284 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27286 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27287 (gst_bin_send_event):
27288 Add default event/set_manager handlers. The set_manager handler
27289 takes care that the manager is distributed over kids that were
27290 already in the bin before the manager was set. The event handler
27291 is a utility virtual function that sends the event over all sinks,
27292 so that gst_element_send_event (bin, event); has the expected
27294 * gst/gstpad.c: (gst_pad_event_default):
27295 Re-install default event handling for discontinuities, so that
27296 seeking works without requiring hacks in applications or extra
27298 * gst/gstpipeline.c: (gst_pipeline_class_init),
27299 (gst_pipeline_send_event):
27300 Half hack, half utility: set a pipeline to PAUSED for seek events,
27301 since that is the only way we can guarantee a/v sync. Means that
27302 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27303 and it "just works".
27305 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27307 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27308 Lock/unlock mismatch.
27310 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27312 * docs/faq/gst-uninstalled:
27313 add gst-plugins-base
27314 * docs/gst/Makefile.am:
27315 don't error out until docs are fixed
27316 * docs/gst/gstreamer.types:
27319 2005-03-22 Wim Taymans <wim@fluendo.com>
27321 * check/Makefile.am:
27322 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27323 * gst/gststructure.c: (gst_structure_set_valist),
27324 (gst_structure_copy_conditional):
27325 Activated more tests.
27326 Added message test.
27327 Added G_TYPE_POINTER to GstStructure.
27330 2005-03-22 Wim Taymans <wim@fluendo.com>
27332 * docs/design/part-TODO.txt:
27333 * docs/design/part-events.txt:
27334 * docs/design/part-gstbin.txt:
27335 * docs/design/part-gstbus.txt:
27336 * docs/design/part-gstpipeline.txt:
27337 * docs/design/part-messages.txt:
27339 * gst/gstmessage.c:
27342 2005-03-21 Wim Taymans <wim@fluendo.com>
27344 * gst/gstbus.c: (gst_bus_post):
27345 Fix copy-and-paste error.
27347 2005-03-21 Wim Taymans <wim@fluendo.com>
27349 * check/Makefile.am:
27351 * gst/elements/Makefile.am:
27352 * gst/elements/gstelements.c:
27353 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27354 (gst_fakesink_event), (gst_fakesink_chain):
27355 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27356 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27357 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27358 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27359 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27360 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27361 (gst_fakesrc_loop), (gst_fakesrc_activate),
27362 (gst_fakesrc_change_state):
27363 * gst/elements/gstfakesrc.h:
27364 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27365 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27366 (gst_filesrc_open_file), (gst_filesrc_loop),
27367 (gst_filesrc_activate), (gst_filesrc_change_state),
27368 (filesrc_find_peek), (filesrc_find_suggest),
27369 (gst_filesrc_type_find):
27370 * gst/elements/gstidentity.c: (gst_identity_finalize),
27371 (gst_identity_class_init), (gst_identity_init),
27372 (gst_identity_proxy_getcaps), (identity_queue_push),
27373 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27374 (gst_identity_getrange), (gst_identity_chain),
27375 (gst_identity_sink_loop), (gst_identity_src_loop),
27376 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27377 (gst_identity_set_property), (gst_identity_get_property),
27378 (gst_identity_change_state):
27379 * gst/elements/gstidentity.h:
27380 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27381 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27382 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27383 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27384 (gst_tee_sink_activate):
27385 * gst/elements/gsttee.h:
27386 * gst/gst.c: (gst_register_core_elements), (init_post):
27388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27389 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27390 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27391 (gst_bin_change_state):
27393 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27394 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27395 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27396 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27397 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27398 (bus_watch_callback), (bus_watch_destroy),
27399 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27400 (poll_timeout), (gst_bus_poll):
27404 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27405 (gst_element_post_message), (gst_element_message_full),
27406 (gst_element_get_state_func), (gst_element_get_state),
27407 (gst_element_abort_state), (gst_element_commit_state),
27408 (gst_element_lost_state), (gst_element_set_state),
27409 (gst_element_pads_activate), (gst_element_change_state),
27410 (gst_element_dispose), (gst_element_set_manager_func),
27411 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27412 (gst_element_set_manager), (gst_element_get_manager),
27413 (gst_element_set_bus), (gst_element_get_bus),
27414 (gst_element_set_scheduler), (gst_element_get_scheduler):
27415 * gst/gstelement.h:
27416 * gst/gstevent.c: (gst_event_new_segment_seek),
27417 (gst_event_new_flush):
27419 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27420 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27421 (gst_message_new_eos), (gst_message_new_error),
27422 (gst_message_new_warning), (gst_message_new_tag),
27423 (gst_message_new_state_changed), (gst_message_new_application),
27424 (gst_message_get_structure), (gst_message_parse_tag),
27425 (gst_message_parse_state_changed), (gst_message_parse_error),
27426 (gst_message_parse_warning):
27427 * gst/gstmessage.h:
27428 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27429 (gst_real_pad_set_property), (gst_pad_set_active),
27430 (gst_pad_is_active), (gst_pad_set_blocked_async),
27431 (gst_pad_set_blocked), (gst_pad_is_blocked),
27432 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27433 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27434 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27435 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27436 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27437 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27438 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27439 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27440 (gst_pad_set_caps), (gst_pad_configure_sink),
27441 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27442 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27443 (gst_real_pad_dispose), (gst_real_pad_finalize),
27444 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27445 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27446 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27448 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27449 (pipeline_bus_handler), (gst_pipeline_change_state),
27450 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27451 * gst/gstpipeline.h:
27453 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27454 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27455 (gst_queue_link_src), (gst_queue_bufferalloc),
27456 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27457 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27458 (gst_queue_loop), (gst_queue_handle_src_event),
27459 (gst_queue_handle_src_query), (gst_queue_src_activate),
27460 (gst_queue_change_state):
27462 * gst/gstscheduler.c: (gst_scheduler_init),
27463 (gst_scheduler_dispose), (gst_scheduler_create_task),
27464 (gst_scheduler_factory_create):
27465 * gst/gstscheduler.h:
27466 * gst/gststructure.c: (gst_structure_get_type),
27467 (gst_structure_copy_conditional):
27468 * gst/gststructure.h:
27469 * gst/gsttaginterface.h:
27470 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27471 (gst_task_init), (gst_task_dispose), (gst_task_create),
27472 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27478 * gst/schedulers/Makefile.am:
27479 * gst/schedulers/cothreads_compat.h:
27480 * gst/schedulers/entryscheduler.c:
27481 * gst/schedulers/faircothreads.c:
27482 * gst/schedulers/faircothreads.h:
27483 * gst/schedulers/fairscheduler.c:
27484 * gst/schedulers/gstbasicscheduler.c:
27485 * gst/schedulers/gstoptimalscheduler.c:
27486 * gst/schedulers/gthread-cothreads.h:
27487 * gst/schedulers/threadscheduler.c:
27488 (gst_thread_scheduler_task_get_type),
27489 (gst_thread_scheduler_task_class_init),
27490 (gst_thread_scheduler_task_init),
27491 (gst_thread_scheduler_task_start),
27492 (gst_thread_scheduler_task_stop),
27493 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27494 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27495 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27496 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27498 * libs/gst/Makefile.am:
27499 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27500 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27501 (gst_file_pad_parent_set):
27502 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27503 (gst_dp_event_from_packet):
27504 * tests/complexity.c: (main):
27505 * tests/mass_elements.c: (main):
27506 * testsuite/states/locked.c: (message_received), (main):
27507 * testsuite/states/parent.c: (main):
27508 * tools/gst-inspect.c: (print_element_flag_info),
27509 (print_implementation_info), (print_pad_info):
27510 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27512 * tools/gst-md5sum.c: (event_loop), (main):
27513 * tools/gst-typefind.c: (main):
27514 * tools/gst-xmlinspect.c: (print_element_info):
27516 Added GstBus for mainloop integration.
27517 Added GstMessage for sending notifications on the bus.
27518 Added GstTask as an abstraction for pipeline entry points.
27520 Removed Schedulers.
27521 Simplified GstQueue for multithreaded core.
27522 Made _link threadsafe, removed old capsnego.
27523 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27524 Added pad blocking functions.
27525 Reworked scheduling functions in GstPad to prepare for
27526 scheduling updates soon.
27527 Moved events out of data stream.
27528 Simplified GstEvent types.
27529 Added return values to push/pull.
27530 Removed clocking from GstElement.
27531 Added prototypes for state change function for next merge.
27532 Removed iterate from bins and state change management.
27533 Fixed some elements, disabled others for now.
27534 Fixed -inspect and -launch.
27535 Added check for GstBus.
27537 2005-03-10 Wim Taymans <wim@fluendo.com>
27539 * docs/design/part-MT-refcounting.txt:
27540 * docs/design/part-clocks.txt:
27541 * docs/design/part-gstelement.txt:
27542 * docs/design/part-gstobject.txt:
27543 * docs/design/part-standards.txt:
27544 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27545 (gst_bin_remove_func), (gst_bin_remove):
27549 * testsuite/clock/clock1.c: (main):
27550 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27552 * testsuite/dlopen/loadgst.c: (do_test):
27553 * testsuite/refcounting/bin.c: (add_remove_test1),
27554 (add_remove_test2), (main):
27555 * testsuite/refcounting/element.c: (main):
27556 * testsuite/refcounting/element_pad.c: (main):
27557 * testsuite/refcounting/pad.c: (main):
27558 * tools/gst-launch.c: (sigint_handler_sighandler):
27559 * tools/gst-typefind.c: (main):
27561 Added doc about clock.
27562 removed gst_bin_iterate_recurse_up(), marked methods
27564 Fix more testsuites.
27566 2005-03-09 Wim Taymans <wim@fluendo.com>
27568 * gst/gstpad.c: (gst_pad_get_direction),
27569 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27570 (gst_pad_collect_valist):
27571 * testsuite/bins/interface.c: (main):
27572 * testsuite/caps/audioscale.c: (test_caps):
27573 * testsuite/caps/caps.c: (test1), (test2), (test3):
27574 * testsuite/caps/deserialize.c: (main):
27575 * testsuite/caps/enumcaps.c: (main):
27576 * testsuite/caps/filtercaps.c: (main):
27577 * testsuite/caps/intersect2.c: (main):
27578 * testsuite/caps/random.c: (main):
27579 * testsuite/caps/renegotiate.c: (my_fixate), (main):
27580 * testsuite/caps/sets.c: (check_caps):
27581 * testsuite/caps/simplify.c: (check_caps), (main):
27582 * testsuite/caps/subtract.c: (check_caps):
27583 Fix _pad_get_direction wrt ghostpads.
27584 Fix caps testsuite.
27586 2005-03-09 Wim Taymans <wim@fluendo.com>
27588 * check/Makefile.am:
27589 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27590 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27591 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27592 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27593 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27594 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27595 (gst_bin_remove), (gst_bin_iterate_recurse_up),
27596 (bin_element_is_sink), (gst_bin_iterate_sinks),
27597 (gst_bin_iterate_all_by_interface):
27599 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27600 (gst_element_change_state), (gst_element_dispose),
27601 (gst_element_finalize), (gst_element_set_loop_function):
27602 * gst/gstelement.h:
27603 * gst/gstiterator.c: (find_custom_fold_func):
27604 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27605 (gst_pad_collectv), (gst_pad_collect_valist),
27606 (gst_pad_template_new):
27607 * gst/gstpipeline.c: (gst_pipeline_class_init),
27608 (gst_pipeline_dispose), (gst_pipeline_set_property),
27609 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27610 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27611 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27613 * gst/schedulers/entryscheduler.c:
27614 * gst/schedulers/gstbasicscheduler.c:
27615 (gst_basic_scheduler_cothreaded_chain),
27616 (gst_basic_scheduler_chain_add_element):
27617 * testsuite/bins/interface.c: (main):
27619 Added GstSystemClock test.
27620 Implemented clock distribution code in GstBin.
27621 Implemented iterate sinks method for future use.
27622 Rearranged gstelement.h
27623 Fix GstIterator comparison bug.
27624 Moved some code to GstPipeline, mostly clocking related.
27626 2005-03-09 Wim Taymans <wim@fluendo.com>
27629 * gst/gst_private.h:
27630 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27631 (gst_bin_remove_func), (gst_bin_remove),
27632 (gst_bin_get_by_name_recurse_up):
27633 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27634 (gst_clock_id_compare_func), (gst_clock_id_wait),
27635 (gst_clock_id_wait_async), (gst_clock_init),
27636 (gst_clock_adjust_unlocked), (gst_clock_get_time):
27637 * gst/gstelement.h:
27638 * gst/gstinfo.c: (_gst_debug_init):
27640 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27641 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27643 Bump version number, we're now 0.9.0
27644 Add future debugging category.
27645 Fix NULL _unref() in _get_by_name_recurse_up
27646 Rearrange gstpad.h.
27649 2005-03-08 Wim Taymans <wim@fluendo.com>
27651 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27652 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27653 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27654 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27655 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27656 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27657 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27658 * gst/elements/gstidentity.c: (gst_identity_class_init):
27659 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27660 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27661 * gst/elements/gstshaper.c: (gst_shaper_class_init):
27662 * gst/elements/gststatistics.c: (gst_statistics_class_init):
27663 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27665 * gst/gstelement.c: (gst_element_class_init),
27666 (gst_element_base_class_init), (gst_element_init),
27667 (gst_element_get_random_pad), (gst_element_wait_state_change),
27668 (gst_element_change_state), (gst_element_dispose),
27669 (gst_element_finalize), (gst_element_set_loop_function):
27670 * gst/gstelement.h:
27671 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27672 * gst/gstthread.c: (gst_thread_class_init),
27673 (gst_thread_release_children_locks), (gst_thread_change_state):
27674 * gst/schedulers/gstbasicscheduler.c:
27675 (gst_basic_scheduler_loopfunc_wrapper),
27676 (gst_basic_scheduler_chain_wrapper),
27677 (gst_basic_scheduler_src_wrapper),
27678 (gst_basic_scheduler_remove_element):
27679 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27680 Remove threadsafe properties. Fix elements because GObject
27681 complains when installing a property before declaring a
27682 set/get_property handler.
27683 Rearrange gstelement.h file, use STATE macros for state locks.
27684 Free mutexes in the finalize method instead of dispose.
27686 2005-03-08 Wim Taymans <wim@fluendo.com>
27688 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27689 * gst/gstthread.c: (gst_thread_release_children_locks):
27690 Added parentage check.
27691 Fix build og GstThread again.
27693 2005-03-08 Wim Taymans <wim@fluendo.com>
27695 * docs/design/part-MT-refcounting.txt:
27696 * docs/design/part-conventions.txt:
27697 * docs/design/part-gstobject.txt:
27698 * docs/design/part-relations.txt:
27699 * docs/design/part-standards.txt:
27700 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27701 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27702 (gst_bin_get_by_name), (gst_bin_get_by_interface),
27703 (gst_bin_iterate_all_by_interface):
27706 * gst/gstelement.c: (gst_element_class_init),
27707 (gst_element_change_state), (gst_element_set_loop_function):
27708 * gst/gstelement.h:
27709 * gst/gstiterator.c:
27710 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27711 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27712 (gst_object_dispatch_properties_changed), (gst_object_set_name),
27713 (gst_object_set_parent), (gst_object_unparent),
27714 (gst_object_check_uniqueness):
27716 Docs updates, clean up some headers.
27718 2005-03-07 Wim Taymans <wim@fluendo.com>
27720 * check/.cvsignore:
27721 * check/Makefile.am:
27722 * check/gst-libs/.cvsignore:
27723 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27724 * check/gst/.cvsignore:
27725 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27726 (START_TEST), (gstbus_suite), (main):
27727 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27728 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27729 (gst_data_suite), (main):
27730 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27731 (add_fold_func), (gstiterator_suite), (main):
27732 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27733 (thread_name_object), (thread_name_object_default),
27734 (gst_object_name_compare), (gst_object_suite), (main):
27735 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27736 (gst_pad_suite), (main):
27737 * check/gstcheck.c: (gst_check_log_message_func),
27738 (gst_check_log_critical_func), (gst_check_init):
27739 * check/gstcheck.h:
27740 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27741 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27744 2005-03-07 Wim Taymans <wim@fluendo.com>
27746 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27747 (gst_list_iterator_next), (gst_list_iterator_resync),
27748 (gst_list_iterator_free), (gst_iterator_new_list),
27749 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27750 (gst_iterator_free), (gst_iterator_push), (filter_next),
27751 (filter_resync), (filter_uninit), (filter_free),
27752 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27753 (gst_iterator_foreach), (find_custom_fold_func),
27754 (gst_iterator_find_custom):
27755 * gst/gstiterator.h:
27756 Added missing files.
27758 2005-03-07 Wim Taymans <wim@fluendo.com>
27762 * docs/design/part-MT-refcounting.txt:
27763 * docs/design/part-conventions.txt:
27764 * docs/design/part-gstobject.txt:
27765 * docs/design/part-relations.txt:
27766 * examples/mixer/mixer.c: (main):
27767 * examples/thread/thread.c: (eos), (main):
27769 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27770 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27771 (gst_spider_plug_from_srcpad):
27772 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27773 (gst_spider_identity_change_state),
27774 (gst_spider_identity_sink_loop_type_finding):
27775 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27776 * gst/elements/gstidentity.c: (gst_identity_init):
27777 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27778 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27779 * gst/elements/gsttypefindelement.c: (free_entry):
27782 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27783 (gst_bin_set_clock_func), (gst_bin_auto_clock),
27784 (gst_bin_set_index), (gst_bin_set_element_sched),
27785 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27786 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27787 (gst_bin_iterate_elements), (iterate_child_recurse),
27788 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27789 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27790 (compare_interface), (gst_bin_get_by_interface),
27791 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27793 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27794 (gst_buffer_default_free), (gst_buffer_default_copy),
27795 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27796 (gst_buffer_create_sub):
27798 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27799 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27800 (gst_caps_unref), (gst_static_caps_get),
27801 (gst_caps_remove_and_get_structure), (gst_caps_append),
27802 (gst_caps_append_structure), (gst_caps_remove_structure),
27803 (gst_caps_copy_nth), (gst_caps_set_simple),
27804 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27805 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27806 (gst_caps_structure_intersect_field), (gst_caps_intersect),
27807 (gst_caps_structure_subtract_field), (gst_caps_subtract),
27808 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27809 (gst_caps_structure_figure_out_union),
27810 (gst_caps_switch_structures), (gst_caps_do_simplify),
27811 (gst_caps_replace), (gst_caps_from_string),
27812 (gst_caps_copy_conditional):
27814 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27815 (_gst_clock_id_free), (gst_clock_id_unref),
27816 (gst_clock_id_compare_func), (gst_clock_id_wait),
27817 (gst_clock_id_wait_async), (gst_clock_class_init),
27818 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27819 (gst_clock_get_time), (gst_clock_set_time_adjust),
27820 (gst_clock_set_property), (gst_clock_get_property):
27823 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27824 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27826 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27827 (gst_element_requires_clock), (gst_element_provides_clock),
27828 (gst_element_set_clock), (gst_element_clock_wait),
27829 (gst_element_wait), (gst_element_set_time_delay),
27830 (gst_element_is_indexable), (gst_element_add_pad),
27831 (gst_element_add_ghost_pad), (gst_element_remove_pad),
27832 (pad_compare_name), (gst_element_get_static_pad),
27833 (gst_element_request_pad), (gst_element_get_request_pad),
27834 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27835 (gst_element_class_get_pad_template_list),
27836 (gst_element_class_get_pad_template), (gst_element_error_func),
27837 (gst_element_get_random_pad), (gst_element_get_event_masks),
27838 (gst_element_send_event), (gst_element_seek),
27839 (gst_element_get_query_types), (gst_element_query),
27840 (gst_element_get_formats), (gst_element_convert),
27841 (gst_element_is_locked_state), (gst_element_set_locked_state),
27842 (gst_element_sync_state_with_parent), (gst_element_change_state),
27843 (gst_element_finalize), (gst_element_yield),
27844 (gst_element_interrupt), (gst_element_set_scheduler),
27845 (gst_element_get_scheduler), (gst_element_set_loop_function):
27846 * gst/gstelement.h:
27848 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27849 (gst_format_get_by_nick), (gst_format_get_details),
27850 (gst_format_iterate_definitions):
27852 * gst/gstindex.c: (gst_index_gtype_resolver):
27855 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27856 (gst_mem_chunk_free):
27857 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27858 (gst_object_ref), (gst_object_unref), (gst_object_sink),
27859 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27860 (gst_object_dispatch_properties_changed),
27861 (gst_object_set_name_default), (gst_object_set_name),
27862 (gst_object_get_name), (gst_object_set_name_prefix),
27863 (gst_object_get_name_prefix), (gst_object_set_parent),
27864 (gst_object_get_parent), (gst_object_unparent),
27865 (gst_object_check_uniqueness), (gst_object_save_thyself),
27866 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27867 (gst_object_set_property), (gst_object_get_property),
27868 (gst_object_get_path_string):
27870 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27871 (gst_real_pad_init), (gst_real_pad_get_property),
27872 (gst_pad_custom_new), (gst_pad_get_direction),
27873 (gst_pad_set_active), (gst_pad_is_active),
27874 (gst_pad_set_event_function), (gst_pad_is_linked),
27875 (gst_pad_link_free), (gst_pad_link_intersect),
27876 (gst_pad_link_fixate), (gst_pad_set_caps),
27877 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27878 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27879 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27880 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27881 (gst_pad_get_caps), (gst_pad_peer_get_caps),
27882 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27883 (gst_pad_realize), (gst_pad_get_allowed_caps),
27884 (gst_real_pad_dispose), (gst_real_pad_finalize),
27885 (gst_pad_collectv), (gst_pad_collect_valist),
27886 (gst_pad_template_dispose), (gst_pad_template_new),
27887 (gst_pad_get_internal_links):
27889 * gst/gstpipeline.c: (gst_pipeline_dispose),
27890 (gst_pipeline_change_state):
27891 * gst/gstpipeline.h:
27893 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27894 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27895 * gst/gstpluginfeature.h:
27896 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27897 * gst/gstquery.c: (_gst_query_type_initialize),
27898 (gst_query_type_register), (gst_query_type_get_by_nick),
27899 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27901 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27902 * gst/gstscheduler.c: (gst_scheduler_add_element),
27903 (gst_scheduler_factory_create):
27904 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27905 (gst_structure_free), (gst_structure_set_name),
27906 (gst_structure_id_set_value), (gst_structure_set_value),
27907 (gst_structure_set_valist), (gst_structure_remove_field),
27908 (gst_structure_remove_fields),
27909 (gst_structure_remove_fields_valist),
27910 (gst_structure_remove_all_fields), (gst_structure_foreach),
27911 (gst_structure_map_in_place),
27912 (gst_caps_structure_fixate_field_nearest_int),
27913 (gst_caps_structure_fixate_field_nearest_double):
27914 * gst/gststructure.h:
27915 * gst/gstsystemclock.c: (gst_system_clock_class_init),
27916 (gst_system_clock_init), (gst_system_clock_dispose),
27917 (gst_system_clock_async_thread),
27918 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27919 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27920 * gst/gstsystemclock.h:
27921 * gst/gsttag.c: (gst_tag_list_add_value_internal),
27922 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27923 * gst/gsttaginterface.c:
27924 * gst/gstthread.c: (gst_thread_dispose),
27925 (gst_thread_release_children_locks), (gst_thread_change_state),
27926 (gst_thread_main_loop):
27927 * gst/gsttrashstack.h:
27928 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27930 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27931 (gst_element_request_pad), (gst_element_get_pad_from_template),
27932 (gst_element_request_compatible_pad),
27933 (gst_element_get_compatible_pad_filtered),
27934 (gst_element_get_compatible_pad), (gst_element_state_get_name),
27935 (gst_element_link_pads_filtered), (gst_element_link_filtered),
27936 (gst_element_link_many), (gst_element_link),
27937 (gst_element_link_pads), (gst_element_unlink_pads),
27938 (gst_element_unlink_many), (gst_element_unlink),
27939 (gst_pad_can_link_filtered), (gst_pad_can_link),
27940 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27941 (gst_object_default_error), (gst_bin_add_many),
27942 (gst_bin_remove_many), (gst_element_populate_std_props),
27943 (gst_element_class_install_std_props), (gst_buffer_merge),
27944 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27945 (link_fold_func), (gst_pad_proxy_setcaps):
27947 * gst/gstvalue.c: (gst_value_deserialize_string):
27948 * gst/parse/grammar.y:
27949 * gst/schedulers/gstbasicscheduler.c:
27950 (gst_basic_scheduler_cothreaded_chain),
27951 (gst_basic_scheduler_chain_recursive_add),
27952 (gst_basic_scheduler_pad_link):
27953 * gst/schedulers/gstoptimalscheduler.c:
27954 (get_group_schedule_function),
27955 (gst_opt_scheduler_state_transition),
27956 (gst_opt_scheduler_add_element), (element_get_reachables_func):
27957 * libs/gst/bytestream/bytestream.c:
27958 * libs/gst/dataprotocol/dataprotocol.c:
27959 (gst_dp_header_from_buffer):
27962 * tests/threadstate/threadstate2.c: (eos):
27963 * tools/gst-compprep.c: (main):
27964 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27965 (print_pad_info), (print_children_info):
27966 * tools/gst-launch.c: (idle_func), (main):
27967 * tools/gst-md5sum.c: (idle_func), (main):
27968 * tools/gst-xmlinspect.c: (print_element_info):
27969 First THREADED backport attempt, focusing on adding locks and
27970 making sure the API is threadsafe. Needs more work. More docs
27973 2005-02-24 Andy Wingo <wingo@pobox.com>
27975 * tests/bench-complexity.scm:
27976 * tests/complexity.gnuplot: New files, good for running complexity
27979 * tests/Makefile.am:
27980 * tests/complexity.c: New test, sets up N elements, at each level
27981 teeing into M streams per element. Eeeenteresting.
27983 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27984 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27985 running bench-mass_elements.scm.
27987 * tests/bench-mass_elements.scm: New script, runs mass_elements
27988 for various numbers of identities, outputting the results to a
27989 file. Requires guile 1.6. Just for testing.
27991 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
27993 * gst/schedulers/fairscheduler.c:
27994 compile with debug disabled
27996 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
27999 hunting season on 0.9 is now OPEN